:root {
    color-scheme: dark;
    --ink: #f8f3e8;
    --muted: #c8c0ae;
    --faint: #968d7c;
    --page: #0b120e;
    --panel: rgba(255, 250, 242, 0.08);
    --panel-strong: rgba(255, 250, 242, 0.13);
    --line: rgba(255, 250, 242, 0.16);
    --green: #49d287;
    --green-deep: #0d5a39;
    --orange: #ff8b3d;
    --gold: #f4c25b;
    --cream: #fff6df;
    --shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--page);
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% -8%, rgba(73, 210, 135, 0.18), transparent 34rem),
        linear-gradient(180deg, #101811 0%, var(--page) 34rem);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

img,
iframe {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    z-index: 50;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 0.7rem 1rem;
    clip: auto;
    background: var(--cream);
    color: #0a120d;
    border-radius: 8px;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
    background: rgba(11, 18, 14, 0.72);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(22px) saturate(1.25);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.brand img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--cream);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
    object-fit: cover;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1;
}

.brand small {
    margin-top: 0.25rem;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 242, 0.06);
}

.site-nav a {
    padding: 0.55rem 0.88rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--cream);
    color: #102019;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.section {
    padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 4vw, 3rem);
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: grid;
    align-items: end;
    overflow: hidden;
    padding-top: 8rem;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(5, 12, 8, 0.94), rgba(5, 12, 8, 0.58) 50%, rgba(5, 12, 8, 0.12)),
        linear-gradient(0deg, rgba(11, 18, 14, 0.98), rgba(11, 18, 14, 0.08) 48%);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    width: min(820px, 100%);
    padding-bottom: min(12vh, 7rem);
}

.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 11ch;
    margin-bottom: 1rem;
    font-size: clamp(4rem, 13vw, 9.4rem);
    font-weight: 900;
    line-height: 0.86;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.1rem, 5vw, 4.85rem);
    font-weight: 890;
    line-height: 0.98;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.18;
}

.hero-lede {
    max-width: 650px;
    color: #f2eadb;
    font-size: clamp(1.12rem, 2.3vw, 1.55rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.78rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--green);
    color: #07110b;
}

.button.secondary {
    border-color: rgba(255, 250, 242, 0.38);
    background: rgba(255, 250, 242, 0.1);
    color: var(--cream);
}

.intro-band {
    background: var(--cream);
    color: #0b120e;
}

.intro-band .eyebrow {
    color: var(--green-deep);
}

.intro-band .prose {
    color: #39443d;
}

.content-grid,
.story-layout,
.feature-row,
.section-heading,
.video-grid,
.event-list,
.gallery-grid,
.contact-panel,
.site-footer,
.bento-grid,
.latest-strip,
.event-gallery {
    width: min(var(--max), 100%);
    margin-inline: auto;
}

.content-grid,
.story-layout,
.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.section-heading {
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading.compact {
    margin-bottom: 1.4rem;
}

.section-heading h2 {
    max-width: 900px;
}

.prose {
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.prose p {
    margin-bottom: 1rem;
}

.bento-section {
    background:
        linear-gradient(180deg, rgba(255, 246, 223, 0.04), rgba(255, 246, 223, 0)),
        var(--page);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr;
    grid-auto-rows: minmax(220px, auto);
    gap: 1rem;
}

.bento-tile {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: clamp(1.2rem, 2.4vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.bento-tile.large {
    grid-row: span 2;
    display: grid;
    align-content: end;
    min-height: 460px;
}

.bento-tile.large::after,
.bento-tile.photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(5, 12, 8, 0.88), rgba(5, 12, 8, 0.02));
}

.bento-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-tile div {
    position: relative;
    z-index: 1;
}

.bento-tile span {
    display: inline-flex;
    margin-bottom: 0.7rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.bento-tile p {
    color: var(--muted);
}

.bento-tile.large p {
    color: #eee3cf;
}

.bento-tile.accent {
    background: var(--green);
    color: #07110b;
}

.bento-tile.accent span,
.bento-tile.accent p {
    color: #12351f;
}

.bento-tile.photo {
    padding: 0;
}

.latest-media {
    background: rgba(255, 246, 223, 0.05);
}

.latest-strip {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr;
    gap: 1rem;
}

.latest-strip article {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.latest-strip article:first-child {
    min-height: 520px;
}

.latest-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-strip article::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(5, 12, 8, 0.86), rgba(5, 12, 8, 0.02) 58%);
}

.latest-strip article div {
    position: absolute;
    z-index: 1;
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
}

.latest-strip span,
.gallery-title span {
    display: inline-flex;
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.image-stack {
    display: grid;
    gap: 1rem;
}

.image-stack img,
.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.image-stack img:nth-child(2) {
    width: 72%;
    margin-left: auto;
    margin-top: -4rem;
    border: 8px solid var(--page);
}

.feature-row,
.video-grid,
.event-list,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-row article,
.video-card,
.event-list article,
.committee,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.feature-row article,
.video-card,
.event-list article,
.committee {
    padding: clamp(1.25rem, 2.5vw, 2rem);
}

.feature-row p,
.video-card p,
.event-list p {
    color: var(--muted);
}

.media-section,
.updates-section {
    background: rgba(255, 246, 223, 0.05);
}

.video-frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: #050805;
    margin-bottom: 1.25rem;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-grid.single {
    grid-template-columns: minmax(0, 0.75fr);
}

.event-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.events-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: clamp(1.2rem, 3vw, 2rem);
    align-items: end;
    width: min(var(--max), 100%);
    margin: 0 auto 1.25rem;
    padding: clamp(1rem, 2vw, 1.4rem);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 242, 0.06);
    box-shadow: var(--shadow);
}

.events-feature img {
    width: 100%;
    max-height: 760px;
    border-radius: 18px;
    object-fit: contain;
    background: #111;
}

.events-feature div {
    padding: clamp(0.25rem, 2vw, 1rem);
}

.events-feature p:last-child {
    max-width: 34rem;
    color: var(--muted);
}

.event-list article {
    min-height: 260px;
}

.event-list span {
    display: inline-flex;
    margin-bottom: 2rem;
    color: var(--gold);
    font-weight: 950;
}

.committee {
    display: block;
}

.committee li span {
    color: var(--faint);
}

.committee h3 {
    margin-bottom: 1rem;
}

.committee ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.committee li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid img {
    aspect-ratio: 3 / 4;
    min-height: auto;
}

.event-gallery {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
}

.event-gallery > article {
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 242, 0.06);
    box-shadow: var(--shadow);
}

.gallery-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-title h3 {
    margin: 0;
}

.contact-section {
    background:
        linear-gradient(180deg, rgba(73, 210, 135, 0.08), rgba(255, 139, 61, 0.08)),
        #07110b;
}

.contact-panel {
    padding: clamp(1.25rem, 4vw, 3rem);
    background: var(--cream);
    color: #0b120e;
}

.contact-panel p {
    color: #475048;
}

.email-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--green-deep);
    font-weight: 900;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 850;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(11, 18, 14, 0.16);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    background: white;
    color: #0b120e;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    min-height: 1.4rem;
    margin: 0;
    color: #5c655d;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem clamp(1rem, 4vw, 3rem);
    color: var(--muted);
}

.site-footer p {
    margin: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .content-grid,
    .story-layout,
    .contact-panel,
    .events-feature {
        grid-template-columns: 1fr;
    }

    .committee ul {
        grid-template-columns: 1fr;
    }

    .bento-grid,
    .latest-strip,
    .event-list,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .latest-strip article:first-child {
        grid-column: span 2;
    }

    .bento-tile.large {
        grid-column: span 2;
    }

    .video-grid.single {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .brand img {
        width: 54px;
        height: 54px;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: fixed;
        inset: 74px 0 auto;
        display: none;
        grid-template-columns: 1fr;
        padding: 1rem;
        border-radius: 0;
        background: rgba(11, 18, 14, 0.98);
        border-inline: 0;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        padding: 0.95rem 1rem;
    }

    .hero {
        min-height: 86vh;
    }

    .hero-media::after {
        background:
            linear-gradient(0deg, rgba(5, 12, 8, 0.94), rgba(5, 12, 8, 0.32)),
            linear-gradient(90deg, rgba(5, 12, 8, 0.7), rgba(5, 12, 8, 0.14));
    }

    .feature-row,
    .video-grid,
    .event-list,
    .gallery-grid,
    .latest-strip,
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .latest-strip article,
    .latest-strip article:first-child {
        grid-column: auto;
        min-height: 340px;
    }

    .bento-tile.large {
        grid-column: auto;
        min-height: 380px;
    }

    .image-stack img:nth-child(2) {
        width: 88%;
    }

    .site-footer {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .reveal {
        transition: none;
    }
}
