/* ==========================================================================
   SVAFF Root Site — Homepage Styles (home.css)
   Palette: Ubuntu Circles (Daintree navy + Dull Red + Sundance gold)
   Font: Plus Jakarta Sans
   ========================================================================== */

/* ==========================================================================
   HERO — two-column layout: text left (40%) | portrait strip right (60%)
   Images are inside the hero, clipped by overflow:hidden, above the fold.
   ========================================================================== */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: stretch;   /* both columns fill full hero height */
    overflow: hidden;
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    background-color: var(--svaff-bg-primary);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(191, 168, 84, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(191, 64, 64, 0.05) 0%, transparent 50%);
}

/* Subtle gold pattern overlay matching Ubuntu Circles */
.hero__backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23bfa854' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* ── Left pane: text + CTAs ── */
.hero__content {
    position: relative;
    z-index: 2;
    /* Take 42% of hero width — images fill the rest */
    width: 42%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
    /* Right padding creates breathing room before the image strip */
    padding-right: var(--space-12);
    /* Override u-container constraints — doesn't apply in two-column hero */
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.hero__eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--svaff-gold);
    margin-bottom: var(--space-6);
}

.hero__title {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: var(--leading-tight);
    color: var(--svaff-text-primary);
    margin-bottom: var(--space-6);
    letter-spacing: -0.03em;
}

.hero__title-accent {
    color: var(--svaff-gold);
}

.hero__dates {
    font-size: var(--text-md);
    color: var(--svaff-text-muted);
    margin-bottom: var(--space-8);
    letter-spacing: 0.01em;
}

.hero__ctas {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero__ctas .u-btn {
    font-size: var(--text-base);
    padding: 0 36px;
    min-height: 52px;
}

/* ── Right pane: staggered portrait strip ── */
.hero__images {
    position: absolute;
    top: 0;
    right: 0;
    /* 62% width — 4 narrow portrait columns */
    width: 62%;
    height: 100%;
    display: flex;
    gap: 8px;
    padding: 16px 16px 16px 0;
    z-index: 1;
    /* Columns overflow hero height — hero clips them */
    align-items: flex-start;
    /* Left-side fade — blends image strip into hero backdrop */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%);
}

/* Left-to-right gradient fade overlay (fallback for mask) */
.hero__images-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background: linear-gradient(to right, var(--svaff-bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 3;
}

/* ── Each column: flex column of portrait cards ── */
.hero__img-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Stagger: each column offset downward — creates the mosaic cascade */
.hero__img-col--a { transform: translateY(-20px); }
.hero__img-col--b { transform: translateY(30px); }
.hero__img-col--c { transform: translateY(0px); }
.hero__img-col--d { transform: translateY(50px); }
.hero__img-col--e { transform: translateY(15px); }

/* ── Individual cards — locked portrait aspect ratio ── */
.hero__img-card {
    width: 100%;
    aspect-ratio: 3 / 4;   /* portrait: 3:4 ratio */
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;         /* don't collapse — let hero clip the overflow */
}

.hero__img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;  /* favour faces over feet */
    display: block;
    transition: transform 0.65s ease;
}

.hero__img-card:hover img {
    transform: scale(1.04);
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero__scroll-hint span {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(191, 168, 84, 0.35);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-hint span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--svaff-gold);
    border-radius: 2px;
    animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* ── Responsive ── */

/* Tablet (≤ 900px): narrow the image strip, boost text area */
@media (max-width: 900px) {
    .hero__content {
        width: 50%;
        padding-right: var(--space-8);
    }
    .hero__images {
        width: 52%;
    }
    /* Drop columns C, D and E on tablet — 2 image columns only */
    .hero__img-col--c,
    .hero__img-col--d,
    .hero__img-col--e {
        display: none;
    }
}

/* Phone (≤ 640px): full-width text, images hidden — hero stands alone */
@media (max-width: 640px) {
    .hero {
        align-items: center;
    }
    .hero__content {
        width: 100%;
        padding-right: var(--space-4);
    }
    .hero__images {
        display: none;
    }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
    margin-bottom: var(--space-12);
}

.section-header__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--svaff-text-primary);
    letter-spacing: -0.02em;
    line-height: var(--leading-snug);
    margin-bottom: 12px;
}

.section-header__sub {
    font-size: var(--text-md);
    color: var(--svaff-text-muted);
    font-weight: 400;
}

/* ==========================================================================
   FEATURED FILMS TEASER
   ========================================================================== */

/* ── Featured Films section ─────────────────────────────────────────────────── */

.featured-films {
    border-top: var(--border-subtle);
    background-color: var(--svaff-bg-surface);
    padding-block: var(--space-16);
    overflow: hidden;
}

/* Eyebrow label */
.featured-films__eyebrow {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--svaff-gold);
    margin-bottom: var(--space-2);
}

/* section-header inside featured-films — consistent with site pattern */
.featured-films .section-header {
    margin-bottom: var(--space-8);
}

/* ── Category tabs ───────────────────────────────────────────────────────────── */
.films-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: var(--space-8);
    border-bottom: 1px solid var(--svaff-bg-border);
}

.films-cat-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px var(--space-4) 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: var(--font-family);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--svaff-text-muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.films-cat-tab:hover {
    color: var(--svaff-text-primary);
    border-bottom-color: rgba(191, 168, 84, 0.35);
}

.films-cat-tab.is-active {
    color: var(--svaff-text-primary);
    border-bottom-color: var(--svaff-gold);
}

/* ── Category panel ──────────────────────────────────────────────────────────── */
.films-cat-panel {
    display: none;
}

.films-cat-panel.is-active {
    display: block;
    animation: fadePanel 0.22s ease;
}

@keyframes fadePanel {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Poster strip wrapper (positions the scroll-hint overlay) ─────────────────── */
.films-poster-strip-wrap {
    position: relative;
}

/* ── Poster strip — uniform card size, edge-to-edge ─────────────────────────── */

/* Shared card size token — generous at desktop, smaller on mobile */
:root {
    --poster-card-w: clamp(110px, 11vw, 155px);
}

/* All strips: centred wrap by default — works for any count ≤ ~13 at desktop */
.films-poster-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    padding: 0 var(--container-px);
}

/* Scroll — only for genuinely large categories, set via data-scroll attr in PHP */
.films-poster-strip[data-scroll="true"] {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.films-poster-strip[data-scroll="true"]::-webkit-scrollbar { display: none; }

/* ── Poster card — UNIFORM size across all categories ───────────────────────── */
.film-poster-card {
    display: block;
    text-decoration: none;
    position: relative;
    width: var(--poster-card-w);
    flex: 0 0 var(--poster-card-w);
    aspect-ratio: 2 / 3;
    background: var(--svaff-bg-card);
    overflow: hidden;
    scroll-snap-align: start;
}

/* Centred strips: cards can wrap and stay uniform */
.films-poster-strip--centred .film-poster-card {
    flex: 0 0 var(--poster-card-w);
}

.film-poster-card__img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.film-poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.film-poster-card:hover img {
    transform: scale(1.05);
}

/* Overlay — revealed on hover */
.film-poster-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(2, 12, 22, 0.97) 0%,
        rgba(2, 12, 22, 0.55) 40%,
        rgba(2, 12, 22, 0) 75%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-3);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.film-poster-card:hover .film-poster-card__overlay {
    opacity: 1;
}

/* Badge */
.film-poster-card__badge {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--svaff-gold);
    background: rgba(2, 12, 22, 0.85);
    border: 1px solid rgba(191, 168, 84, 0.45);
    border-radius: var(--radius-xs);
    padding: 2px 6px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.film-poster-card__info { position: relative; z-index: 1; }

.film-poster-card__title {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--svaff-text-primary);
    line-height: 1.25;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.film-poster-card__director {
    font-size: 10px;
    color: var(--svaff-text-muted);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.film-poster-card__country {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--svaff-gold);
}

/* ── Scroll hint — right-edge animated arrow indicator ───────────────────────── */
/* Only shown on scroll strips (data-scroll="true") */
.films-poster-strip[data-scroll="true"] ~ .films-scroll-hint,
.films-scroll-hint {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    pointer-events: all;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(to right, transparent 0%, var(--svaff-bg-surface) 100%);
    transition: opacity 0.35s ease;
    z-index: 10;
}

.films-scroll-hint.is-hidden {
    opacity: 0;
}

.films-scroll-hint__track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 48px;
    margin-right: 4px;
}

.films-scroll-hint__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(191, 168, 84, 0.15);
    border: 1px solid rgba(191, 168, 84, 0.4);
    color: var(--svaff-gold);
    animation: hintPulse 1.8s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50%       { opacity: 1;   transform: translateX(3px); }
}

/* ── Section footer ──────────────────────────────────────────────────────────── */
.featured-films__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-top: var(--space-8);
    border-top: var(--border-subtle);
    margin-top: var(--space-8);
}

.featured-films__footer-text {
    font-size: var(--text-sm);
    color: var(--svaff-text-muted);
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    :root { --poster-card-w: clamp(90px, 18vw, 120px); }
}

@media (max-width: 640px) {
    :root { --poster-card-w: clamp(85px, 26vw, 110px); }
    .films-cat-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .films-cat-tabs::-webkit-scrollbar { display: none; }
    .films-cat-tab { padding: 10px var(--space-3) 12px; font-size: var(--text-xs); }
    .featured-films__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   ABOUT STRIP
   ========================================================================== */

.about-strip {
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
    background-color: var(--svaff-bg-primary);
}

.about-strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-strip__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--svaff-text-primary);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.about-strip__body {
    color: var(--svaff-text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
    font-weight: 400;
}

.about-strip__stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.stat-card {
    padding: var(--space-6) var(--space-6);
    background-color: var(--svaff-bg-card);
    border: var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.stat-card:first-child { border-radius: var(--radius-md) 0 0 0; }
.stat-card:nth-child(2) { border-radius: 0 var(--radius-md) 0 0; }
.stat-card:nth-child(3) { border-radius: 0 0 0 var(--radius-md); }
.stat-card:last-child { border-radius: 0 0 var(--radius-md) 0; }

.stat-card__number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--svaff-gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-card__label {
    font-size: var(--text-sm);
    color: var(--svaff-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   GET INVOLVED GRID
   ========================================================================== */

.get-involved {
    background-color: var(--svaff-bg-surface);
    border-top: var(--border-subtle);
}

.involve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.involve-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-8);
    text-decoration: none;
    border-radius: var(--radius-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color var(--transition-base);
}

.involve-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-4);
}

.involve-card__icon {
    color: var(--svaff-gold);
    width: 32px;
    height: 32px;
}

.involve-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--svaff-text-primary);
}

.involve-card__body {
    font-size: var(--text-sm);
    color: var(--svaff-text-muted);
    line-height: var(--leading-normal);
    flex: 1;
    font-weight: 400;
}

.involve-card__cta {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--svaff-accent);
    transition: color var(--transition-fast);
    letter-spacing: 0.02em;
}

.involve-card:hover .involve-card__cta {
    color: var(--svaff-accent-light);
}

/* ==========================================================================
   COMMUNITY PROGRAMS — card grid matching Get Involved aesthetic
   ========================================================================== */

.community-programs {
    background-color: var(--svaff-bg-primary);
    border-top: var(--border-subtle);
    overflow: hidden;
}

/* ── Section header ── */
.community-programs__header {
    padding-top: var(--space-16);
    padding-bottom: var(--space-12);
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.community-programs__eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--svaff-gold);
    margin-bottom: var(--space-3);
}

.community-programs__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--svaff-text-primary);
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.community-programs__sub {
    font-size: var(--text-md);
    color: var(--svaff-text-muted);
    line-height: var(--leading-relaxed);
}

/* ── Cards grid ── */
.community-programs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: var(--space-16);
}

.prog-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-8);
    border-radius: var(--radius-card);
    background-color: var(--svaff-bg-card);
    border: var(--border-subtle);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color var(--transition-base);
}

.prog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-4);
}

.prog-card__icon {
    color: var(--svaff-gold);
    width: 32px;
    height: 32px;
}

.prog-card__label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--svaff-gold);
}

.prog-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--svaff-text-primary);
}

.prog-card__body {
    font-size: var(--text-sm);
    color: var(--svaff-text-muted);
    line-height: var(--leading-relaxed);
    flex: 1;
    font-weight: 400;
}

.prog-card__body strong {
    color: var(--svaff-text-primary);
    font-weight: 600;
}

.prog-card__cta {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--svaff-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
    letter-spacing: 0.02em;
}

.prog-card:hover .prog-card__cta {
    color: var(--svaff-accent-light);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .community-programs__grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 480px) {
    .community-programs__header {
        padding-top: var(--space-12);
        padding-bottom: var(--space-8);
    }
    .community-programs__title {
        font-size: var(--text-2xl);
    }
    .prog-card {
        padding: var(--space-6);
    }
}

/* ==========================================================================
   NEWSLETTER STRIP
   ========================================================================== */

.newsletter-strip {
    border-top: var(--border-subtle);
    background-color: var(--svaff-bg-primary);
}

.newsletter-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.newsletter-strip__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--svaff-text-primary);
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.newsletter-strip__sub {
    font-size: var(--text-sm);
    color: var(--svaff-text-muted);
    font-weight: 400;
}

.newsletter-strip__form {
    flex-shrink: 0;
    min-width: 380px;
}

.newsletter-strip__fields {
    display: flex;
    gap: 0;
}

.newsletter-strip__input {
    flex: 1;
    min-height: 56px;
    padding: 0.875rem 1rem;
    background-color: var(--svaff-bg-surface);
    border: 1px solid rgba(191, 168, 84, 0.3);
    border-right: none;
    color: var(--svaff-text-primary);
    font-family: var(--font-family);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
    border-radius: 0;
    line-height: var(--leading-normal);
}

.newsletter-strip__input::placeholder {
    color: var(--svaff-text-muted);
}

.newsletter-strip__input:focus {
    outline: none;
    border-color: var(--svaff-gold);
}

.newsletter-strip__fields .u-btn {
    min-height: 56px;
    border-radius: 0;
    flex-shrink: 0;
}

.newsletter-strip__privacy {
    margin-top: 8px;
    font-size: var(--text-xs);
    color: var(--svaff-text-muted);
}

.newsletter-strip__success {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 380px;
    padding: 1rem 1.25rem;
    background-color: rgba(191, 168, 84, 0.08);
    border: 1px solid rgba(191, 168, 84, 0.4);
    color: var(--svaff-gold);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.newsletter-strip__error {
    margin-bottom: 8px;
    font-size: var(--text-xs);
    color: #fd6c69;
    font-weight: 500;
}

.newsletter-strip__input--error {
    border-color: #fd6c69;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
    .about-strip__inner {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .involve-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .newsletter-strip__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-8);
    }

    .newsletter-strip__form {
        min-width: 0;
        width: 100%;
    }
}

/* Newsletter: stack input + button vertically from 768px so input is never squeezed */
@media (max-width: 768px) {
    .newsletter-strip__fields {
        flex-direction: column;
        gap: var(--space-3);
    }

    .newsletter-strip__input {
        width: 100%;
        border-right: 1px solid rgba(191, 168, 84, 0.3); /* restore right border when stacked */
        min-height: 56px;
        padding: 0.875rem 1rem;
    }

    .newsletter-strip__fields .u-btn {
        width: 100%;
        justify-content: center;
        border-radius: 0;
        min-height: 56px;
    }
}

@media (max-width: 600px) {
    .hero__ctas {
        flex-direction: column;
    }

    .hero__ctas .u-btn {
        width: 100%;
        justify-content: center;
    }

    .about-strip__stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-strip__fields {
        flex-direction: column;
    }

    .newsletter-strip__fields .u-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Hero: tighten vertical padding on small phones */
    .hero__content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .hero__eyebrow {
        margin-bottom: var(--space-3);
    }
    /* Hero title: reduce from --text-4xl (44px) to ~32px so heading fits 3 lines */
    .hero__title {
        font-size: clamp(1.75rem, 8vw, 2.125rem);
        margin-bottom: var(--space-4);
    }
    .hero__dates {
        margin-bottom: var(--space-6);
    }

    .hero__ctas {
        flex-direction: column;
    }

    .hero__ctas .u-btn {
        width: 100%;
        justify-content: center;
    }

    /* Section header */
    .section-header {
        margin-bottom: var(--space-6);
    }
    .section-header__title {
        font-size: var(--text-2xl);
    }

    /* About strip */
    .about-strip__inner {
        gap: var(--space-8);
    }
    .about-strip__body {
        margin-bottom: var(--space-6);
    }
    .about-strip__stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
    }

    /* Get involved */
    .involve-grid {
        gap: var(--space-4);
    }
    .involve-card {
        padding: var(--space-6);
    }

    /* Newsletter */
    .newsletter-strip__title {
        font-size: var(--text-xl);
    }
    .newsletter-strip__fields {
        flex-direction: column;
    }
    .newsletter-strip__fields .u-btn {
        width: 100%;
        justify-content: center;
    }
}
