/* Home page. The hero is the only glassy surface; every band below runs on the
   same condensed-display, hairline-rule system as the leadership roster. */

:root {
    --home-sand: var(--sand);
    --home-ink: var(--ink-green);
    --home-hairline: rgba(19, 90, 71, 0.18);
    --home-muted: var(--text-muted);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 70px);
    overflow: hidden;
    background: var(--home-ink);
}

.hero-video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.62) 45%,
        rgba(0, 0, 0, 0.86) 100%
    );
    z-index: 2;
}

.mobile-video-section {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
    padding: 4.5rem 0 7rem;
}

.hero-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    text-wrap: balance;
}

.title-highlight {
    color: var(--gold-decorative);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Big Shoulders Display', var(--font-family-primary);
    font-weight: 800;
    font-size: 3.25rem;
    line-height: 0.9;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.6rem;
}

/* Event cards */
.hero-visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 812px;
    margin: 0 auto;
}

.event-card {
    flex: 1 1 320px;
    max-width: 372px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    padding: 1.6rem 1.6rem 1.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.97);
}

.event-card:focus-visible {
    outline: 3px solid var(--gold-decorative);
    outline-offset: 4px;
}

.card-action {
    align-self: flex-start;
    margin-top: 1.35rem;
    padding-bottom: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    border-bottom: 1px solid var(--home-hairline);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.event-card:hover .card-action,
.event-card:focus-visible .card-action {
    color: var(--primary-dark);
    border-color: var(--gold-decorative);
}

.card-date {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 0.55rem;
}

.event-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-dark);
    line-height: 1.25;
}

.card-details {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.45;
}

/* Decorative bullet marker (replaces emoji glyphs so screen readers only
   announce the detail text, not an icon name). aria-hidden in markup. */
.detail-icon {
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--gold-decorative);
}

/* Band headers, shared by every section below the hero */
.band-head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 3rem;
}

.band-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}

.band-rule {
    flex: 1 1 auto;
    height: 1px;
    background: var(--gold-decorative);
    opacity: 0.55;
}

.band-meta {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    white-space: nowrap;
}

/* The weekend */
.weekend {
    padding: 100px 0 108px;
    background: var(--white);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.pillar:nth-child(2) {
    margin-top: 4rem;
}

.pillar-frame {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #ece7de;
}

.pillar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pillar:nth-child(1) .pillar-frame img {
    object-position: 48% 50%;
}

.pillar:nth-child(2) .pillar-frame img {
    object-position: 54% 50%;
}

.pillar:nth-child(3) .pillar-frame img {
    object-position: 50% 45%;
}

.pillar:hover .pillar-frame img {
    transform: scale(1.05);
}

.pillar-frame:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.pillar-name {
    font-family: 'Big Shoulders Display', var(--font-family-primary);
    font-weight: 800;
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    line-height: 0.92;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin: 1.4rem 0 0.5rem;
}

.pillar-note {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--home-muted);
    margin: 0;
}

/* Full-bleed date marquee */
.marquee {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 60vh;
    overflow: hidden;
    background: var(--home-ink);
}

.marquee-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.marquee-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 16, 0.6) 0%,
        rgba(15, 15, 16, 0.25) 40%,
        rgba(15, 15, 16, 0.95) 100%
    );
}

.marquee-body {
    position: relative;
    z-index: 2;
    padding-top: 9rem;
    padding-bottom: 3.5rem;
}

.marquee-eyebrow {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    margin: 0;
}

.marquee-dates {
    font-family: 'Big Shoulders Display', var(--font-family-primary);
    font-weight: 800;
    font-size: clamp(3rem, 10vw, 8.5rem);
    line-height: 0.86;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0.75rem 0 1.5rem;
}

.marquee-link {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding-bottom: 4px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.marquee-link:hover {
    color: var(--cream);
    border-color: var(--cream);
}

.marquee-link:focus-visible {
    outline: 2px solid var(--cream);
    outline-offset: 4px;
}

/* Kickoff film */
.kickoff {
    padding: 100px 0;
    background: var(--home-ink);
}

.kickoff .band-title {
    color: var(--white);
}

.kickoff .band-rule {
    opacity: 0.4;
}

.kickoff .band-meta {
    color: var(--gold-decorative);
}

.kickoff-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.kickoff-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kickoff-play {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: rgba(9, 28, 24, 0.3);
    cursor: pointer;
    transition: background 0.25s ease;
}

.kickoff-frame.is-facade .kickoff-play {
    display: flex;
}

.kickoff-play:hover {
    background: rgba(9, 28, 24, 0.14);
}

.kickoff-play-knob {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    padding-left: 5px;
    border-radius: var(--border-radius-full);
    background: rgba(15, 15, 16, 0.72);
    color: var(--white);
    transition: background 0.25s ease, transform 0.25s ease;
}

.kickoff-play:hover .kickoff-play-knob,
.kickoff-play:focus-visible .kickoff-play-knob {
    background: var(--gold-decorative);
    color: var(--home-ink);
    transform: scale(1.06);
}

.kickoff-play-label {
    position: absolute;
    left: 24px;
    bottom: 22px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.kickoff-play:focus-visible {
    outline: 3px solid var(--gold-decorative);
    outline-offset: 3px;
}

/* Scenes mosaic */
.scenes {
    padding: 100px 0;
    background: var(--home-sand);
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 108px;
    gap: 14px;
}

.tile {
    position: relative;
    grid-column: span 4;
    grid-row: span 3;
    margin: 0;
    overflow: hidden;
    background: #e8e3da;
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tile:hover img {
    transform: scale(1.04);
}

.tile-film {
    grid-column: span 8;
    grid-row: span 4;
}

.tile-tall {
    grid-column: span 4;
    grid-row: span 4;
}

.tile-wide {
    grid-column: span 6;
}

/* Click-to-load facade: keeps the heavy, inaccessible YouTube player out of the
   initial DOM. The iframe is injected only when the visitor chooses to play. */
.video-facade {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: var(--home-ink);
    cursor: pointer;
    overflow: hidden;
}

.video-facade-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease;
}

.video-facade:hover .video-facade-thumb,
.video-facade:focus-visible .video-facade-thumb {
    transform: scale(1.04);
    opacity: 0.88;
}

.video-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    padding-left: 4px;
    border-radius: var(--border-radius-full);
    background: rgba(15, 15, 16, 0.72);
    color: var(--white);
    transition: background 0.25s ease, transform 0.25s ease;
}

.video-facade:hover .video-facade-play,
.video-facade:focus-visible .video-facade-play {
    background: var(--gold-decorative);
    color: var(--home-ink);
    transform: translate(-50%, -50%) scale(1.06);
}

.video-facade-label {
    position: absolute;
    left: 22px;
    bottom: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.video-facade:focus-visible {
    outline: 3px solid var(--gold-strong);
    outline-offset: 3px;
}

.tile-film .youtube-video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* SPARK spine */
.spark-section {
    padding: 100px 0;
    background: var(--white);
}

.spine {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spine-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--home-hairline);
}

.spine-row:last-child {
    border-bottom: 0;
}

/* Right-aligned so the letters form one vertical spine against the text column,
   matching the monogram rail on the leadership roster. */
.spine-letter {
    display: block;
    font-family: 'Big Shoulders Display', var(--font-family-primary);
    font-weight: 800;
    font-size: clamp(3.5rem, 6vw, 6rem);
    line-height: 0.76;
    letter-spacing: -0.015em;
    color: var(--gold-decorative);
    text-align: right;
}

.spine-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.3rem;
}

.spine-body p {
    font-size: 0.98rem;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.6;
}

/* Leadership teaser */
.leadership-teaser {
    padding: 100px 0;
    background: var(--home-sand);
}

.leadership-teaser-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 1.5rem;
}

.teaser-person {
    flex: 1 1 140px;
    max-width: 168px;
    text-align: center;
}

.teaser-mark {
    display: block;
    font-family: 'Big Shoulders Display', var(--font-family-primary);
    font-weight: 800;
    font-size: 2.9rem;
    line-height: 0.85;
    letter-spacing: -0.01em;
    color: var(--gold-decorative);
    margin-bottom: 0.75rem;
}

.teaser-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
}

.teaser-role {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    line-height: 1.5;
    margin: 0;
}

.leadership-teaser-action {
    text-align: center;
    margin-top: 3rem;
}

/* Closing */
.closing {
    padding: 110px 0 120px;
    background: var(--primary-color);
    color: var(--white);
}

.closing-body {
    text-align: center;
}

.closing-eyebrow {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f8f1e4;
    margin: 0;
}

.closing-title {
    font-family: 'Big Shoulders Display', var(--font-family-primary);
    font-weight: 800;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--white);
    margin: 0.75rem 0 2.5rem;
}

.closing-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-quiet {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-quiet:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--cream);
    border-color: var(--cream);
    transform: translateY(-2px);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
}

.btn:focus-visible {
    outline: 3px solid var(--gold-decorative);
    outline-offset: 3px;
}

/* Scroll reveal. Only applied once the script has flagged the document, so the
   page stays fully visible if the script never runs. */
.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pillar-frame img,
    .tile img,
    .video-facade-thumb,
    .event-card {
        transition: none;
    }

    .pillar:hover .pillar-frame img,
    .tile:hover img,
    .video-facade:hover .video-facade-thumb,
    .event-card:hover {
        transform: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .event-card {
        flex-basis: 280px;
    }

    .mosaic {
        grid-auto-rows: 92px;
    }
}

@media (max-width: 900px) {
    .pillars {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pillar:nth-child(2) {
        margin-top: 0;
    }

    .pillar-frame {
        aspect-ratio: 3 / 2;
    }

    .mosaic {
        grid-template-columns: repeat(6, 1fr);
    }

    .tile,
    .tile-tall,
    .tile-wide {
        grid-column: span 3;
    }

    .tile-film {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 0;
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    }

    .hero-video-background,
    .hero-overlay {
        display: none;
    }

    /* The video moves to its own band on mobile so the hero text stays legible. */
    .mobile-video-section {
        display: block;
        padding: 0;
        background: var(--home-ink);
    }

    .mobile-video-section .container {
        max-width: none;
        padding: 0;
    }

    .mobile-video-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
    }

    .mobile-video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content {
        padding: 3rem 0 3.5rem;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.1rem;
        color: var(--text-dark);
        text-shadow: none;
    }

    .title-highlight {
        color: var(--primary-color);
    }

    .hero-description {
        font-size: 1rem;
        color: #4b5563;
        text-shadow: none;
    }

    .hero-stats {
        gap: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
        color: var(--text-dark);
    }

    .stat-label {
        color: var(--home-muted);
    }

    .hero-visual {
        max-width: 420px;
    }

    .event-card {
        flex: 1 1 100%;
        max-width: 100%;
        background: var(--white);
        border-color: rgba(19, 90, 71, 0.18);
        box-shadow: 0 8px 24px rgba(15, 15, 16, 0.08);
    }

    .band-head {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        margin-bottom: 2.25rem;
    }

    .band-title {
        white-space: normal;
    }

    .band-rule {
        order: 3;
        flex-basis: 100%;
    }

    .weekend,
    .scenes,
    .kickoff,
    .spark-section,
    .leadership-teaser {
        padding: 64px 0;
    }

    .kickoff-play-knob {
        width: 62px;
        height: 62px;
    }

    .kickoff-play-label {
        left: 16px;
        bottom: 14px;
        font-size: 0.66rem;
    }

    .marquee {
        min-height: 52vh;
    }

    .marquee-body {
        padding-top: 6rem;
    }

    .spine-row {
        grid-template-columns: 68px 1fr;
        gap: 1.25rem;
    }

    .closing {
        padding: 72px 0 80px;
    }

    .closing-actions {
        flex-direction: column;
        align-items: center;
    }

    .closing-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 10px;
    }

    .tile,
    .tile-film,
    .tile-tall,
    .tile-wide {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 1 / 1;
    }

    .tile-film {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-stats {
        gap: 1.75rem;
    }

    .stat-number {
        font-size: 2.1rem;
    }
}

.pillar-frame-plain {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    text-decoration: none;
}

.pillar-badge {
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(230, 207, 177, 0.5);
    border-radius: var(--border-radius-full);
    color: var(--cream);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
