/* WGCMVC typography: shared by public pages, sign-in and member/admin screens. */
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree/Figtree.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree/Figtree-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
}

:root {
    --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --type-page-title: clamp(2.2rem, 4.5vw, 4rem);
    --type-section-title: clamp(1.75rem, 3vw, 2.75rem);
    --type-card-title: 1.25rem;
}

body,
.font-sans,
button,
input,
select,
textarea {
    font-family: var(--font-sans);
}

/* Keep form defaults below Tailwind 4 utilities in the cascade. */
@layer base {
    button,
    input,
    select,
    textarea {
        font-size: inherit;
        line-height: inherit;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: normal;
}

/* Keep legacy utility classes and inline screen headings on the same weight. */
.font-extrabold,
.font-black {
    font-weight: 700;
}

.site-app :is(h1, h2, h3, h4, h5, h6),
.site-auth :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700 !important;
}

.site-public :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 700;
    letter-spacing: normal;
    text-shadow: none;
    overflow-wrap: break-word;
}

.site-public .hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    line-height: 1.1;
    text-wrap: balance;
}

.site-public :is(.page-hero, .spotlight-page-hero, .recording-collection-hero) h1 {
    font-size: var(--type-page-title);
    line-height: 1.15;
    text-wrap: balance;
}

.site-public .hero p {
    text-shadow: none;
}

.site-public .eyebrow,
.site-public .hero .eyebrow,
.site-public .page-hero .eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
}

.site-public .breadcrumb,
.site-public .page-hero .breadcrumb {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
}

.site-public .section h2 {
    font-size: var(--type-section-title);
    line-height: 1.2;
}

.site-public .card h2,
.site-public .card .event-content h2 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.25;
}

.site-public .card h3,
.site-public .gallery-card-body h3,
.site-public .recording-collection-card__body h3,
.site-public .gallery-album-card__body h3,
.site-public .recording-playlist__title,
.site-public .gallery-lightbox-text h3 {
    font-size: var(--type-card-title);
    line-height: 1.3;
}

.site-public .btn {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
}
