:root {
    --green: #004c3f;
    --green-dark: #003a31;
    --aqua: #70c8bb;
    --aqua-light: #dff4ef;
    --gold: #e6bd38;
    --ink: #13362f;
    --muted: #5d6d68;
    --white: #fff;
    --page-width: 1040px;
    --shadow: 0 18px 50px rgba(0, 48, 40, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--page-width)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 9999; padding: 10px 14px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; color: var(--green); line-height: .98; margin: 0 0 18px; }
h1 { font-size: clamp(31px, 4vw, 53px); }
h2 { font-size: clamp(34px, 4vw, 48px); }
h3 { font-size: 20px; line-height: 1.15; }
p { margin: 0 0 17px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header-inner { min-height: 102px; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 26px; }
.site-logo { display: block; width: 128px; }
.site-logo img { width: 100%; }
.primary-navigation { display: flex; align-items: center; justify-content: center; gap: 34px; }
.primary-navigation a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.primary-navigation a:hover, .primary-navigation a:focus-visible { color: var(--aqua); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.social-links { display: flex; gap: 14px; }
.social-links a { display: grid; place-items: center; width: 20px; height: 20px; color: var(--aqua); }
.social-links svg { width: 15px; height: 15px; fill: currentColor; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 7px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: #fff; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 2px; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: 11px; font-weight: 700; line-height: 1; padding: 14px 18px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-small { padding: 11px 15px; font-size: 10px; }
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover, .button-primary:focus-visible { background: var(--green-dark); }
.button-light { background: var(--aqua); color: var(--green-dark); }
.button-light:hover, .button-light:focus-visible { background: #fff; }
.button-dark { background: #001e19; color: #fff; }

.hero { min-height: 630px; display: grid; place-items: start center; padding-top: 140px; background: url('../images/homepage/hero-banner.png') center top / cover no-repeat; }
.hero-panel { width: min(calc(100% - 40px), 760px); text-align: center; padding: 30px 42px; color: var(--green); background: rgba(255,255,255,.76); box-shadow: var(--shadow); backdrop-filter: blur(2px); }
.hero-panel h1 { margin-bottom: 14px; font-size: clamp(32px, 4.4vw, 52px); }
.hero-panel p { margin: 3px 0; font-size: 16px; font-weight: 600; }
.hero-panel .button { margin-top: 18px; }
.hero-kicker { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px !important; font-weight: 700 !important; line-height: 1; }

.section { padding: 78px 0; }
.section-tight { padding: 54px 0; }
.section-bordered { border-top: 1px solid var(--green); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; }
.section-copy a:not(.button) { color: var(--green); font-weight: 600; }
.about-grid { align-items: start; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 38px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.invitation-grid { align-items: center; }
.event-graphic { width: min(100%, 510px); margin-inline: auto; border-radius: 16px; }

.sponsors-section { padding-top: 38px; }
.sponsor-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 30px; }
.sponsor-lists ul { margin: 0; padding-left: 18px; font-size: 13px; }
.presenting-title { margin-top: 58px; text-align: center; }
.sponsor-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; align-items: center; margin-top: 32px; }
.sponsor-logos img { width: 100%; max-height: 80px; object-fit: contain; }

.donation-section { padding-top: 70px; }
.donation-container { width: min(calc(100% - 30px), 650px); }
.donation-wordmark { width: 180px; margin: 0 auto 20px; }
.donation-form-wrap { width: 100%; }
#mc-donation { display: block; width: 100%; height: 1820px; border: 0; background: #fff; }
.donation-form-fallback { margin: 12px 0 0; text-align: center; font-size: 13px; }
.donation-form-fallback a { color: var(--green); font-weight: 700; }

.section-heading-row { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; margin-bottom: 30px; }
.section-heading-row p { max-width: 870px; }
.venue-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 8px; }
.venue-gallery a { display: block; overflow: hidden; background: #eee; }
.venue-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.venue-gallery a:hover img { transform: scale(1.045); }
.venue-gallery a:nth-child(9), .venue-gallery a:nth-child(10), .venue-gallery a:nth-child(11) { grid-column: span 1; }

.faq-section { padding-top: 68px; }
.accordion { display: grid; gap: 17px; }
.accordion-item { overflow: hidden; border-radius: 7px; background: var(--aqua); }
.accordion-item h3 { margin: 0; }
.accordion-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; text-align: left; color: var(--green-dark); background: transparent; border: 0; cursor: pointer; font-family: Montserrat, Arial, sans-serif; font-size: 13px; font-weight: 700; }
.accordion-icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--green); font-size: 18px; }
.accordion-panel { padding: 0 22px 20px; font-size: 13px; }
.accordion-panel p { margin: 0; }

.site-footer { padding: 0 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 42px 42px 38px; color: #fff; background: var(--green); border-radius: 8px; }
.footer-grid h2 { color: #fff; font-size: 38px; }
.footer-grid a { color: #fff; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.contact-list a { text-decoration: none; }
.contact-name { margin-top: 16px; font-weight: 700; }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 50px; background: rgba(0,0,0,.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 88vw); max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; border: 0; color: #fff; background: rgba(0,0,0,.35); cursor: pointer; }
.lightbox-close { top: 18px; right: 25px; width: 48px; height: 48px; font-size: 42px; }
.lightbox-prev, .lightbox-next { top: 50%; width: 54px; height: 76px; margin-top: -38px; font-size: 52px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

@media (max-width: 900px) {
    .header-inner { min-height: 84px; grid-template-columns: 1fr auto; }
    .site-logo { width: 108px; }
    .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
    .primary-navigation, .header-actions { display: none; grid-column: 1 / -1; }
    .site-header.is-open .primary-navigation { display: grid; gap: 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
    .site-header.is-open .primary-navigation a { padding: 13px 4px; }
    .site-header.is-open .header-actions { display: flex; justify-content: space-between; padding: 4px 0 20px; }
    .two-column { grid-template-columns: 1fr; gap: 38px; }
    .video-embed { margin-top: 0; }
    .sponsor-lists { grid-template-columns: 1fr 1fr; }
    .sponsor-logos { grid-template-columns: repeat(2, 1fr); }
    .section-heading-row { grid-template-columns: 1fr; gap: 16px; }
    .section-heading-row .button { justify-self: start; }
    .venue-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    body { font-size: 14px; }
    .container { width: min(calc(100% - 28px), var(--page-width)); }
    .section { padding: 58px 0; }
    .section-tight { padding: 42px 0; }
    .hero { min-height: 555px; padding-top: 75px; background-position: 52% top; }
    .hero-panel { width: calc(100% - 28px); padding: 24px 18px; }
    .hero-panel p { font-size: 13px; }
    .hero-kicker { font-size: 25px !important; }
    .sponsor-lists { grid-template-columns: 1fr; gap: 28px; }
    .sponsor-logos { gap: 28px; }
    #mc-donation { height: 2050px; }
    .venue-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 34px 25px; }
    .site-footer { padding-bottom: 40px; }
    .lightbox { padding: 20px; }
    .lightbox img { max-width: 92vw; max-height: 78vh; }
}

/* ==================================================
   GALLERY PAGES
================================================== */
.gallery-page {
    background: #fff;
}
.gallery-page .site-header {
    position: sticky;
}
.gallery-hero {
    position: relative;
    min-height: 360px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0, 58, 49, .92), rgba(0, 76, 63, .70)),
        url('../images/homepage/hero-banner.png') center 42% / cover no-repeat;
}
.gallery-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 92px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}
.gallery-hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--page-width));
    margin-inline: auto;
    padding: 80px 0 110px;
}
.gallery-hero-eyebrow {
    margin-bottom: 8px;
    color: var(--aqua);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 700;
}
.gallery-hero h1 {
    max-width: 780px;
    margin-bottom: 15px;
    color: #fff;
    font-size: clamp(48px, 7vw, 82px);
}
.gallery-hero p {
    max-width: 680px;
    margin: 0;
    font-size: 16px;
}
.gallery-main {
    padding: 58px 0 100px;
}
.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}
.gallery-toolbar-copy h2 {
    margin-bottom: 8px;
}
.gallery-toolbar-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
}
.gallery-count {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(0, 76, 63, .18);
    border-radius: 999px;
    color: var(--green);
    background: var(--aqua-light);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.gallery-year-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 38px;
}
.gallery-year-nav a,
.gallery-year-nav button {
    min-width: 120px;
    padding: 12px 18px;
    border: 1px solid rgba(0, 76, 63, .28);
    border-radius: 2px;
    color: var(--green);
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: 11px;
    font-weight: 700;
}
.gallery-year-nav a:hover,
.gallery-year-nav a:focus-visible,
.gallery-year-nav button:hover,
.gallery-year-nav button:focus-visible,
.gallery-year-nav .is-active {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #e9efed;
    cursor: zoom-in;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}
.gallery-card-overlay {
    position: absolute;
    inset: auto 10px 10px;
    padding: 7px 10px;
    color: #fff;
    background: rgba(0, 58, 49, .86);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 10px;
    font-weight: 700;
}
.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.045);
    filter: brightness(.88);
}
.gallery-card:hover .gallery-card-overlay,
.gallery-card:focus-visible .gallery-card-overlay {
    opacity: 1;
    transform: translateY(0);
}
.gallery-card:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}
.gallery-empty {
    grid-column: 1 / -1;
    padding: 54px 32px;
    border: 1px dashed rgba(0, 76, 63, .3);
    text-align: center;
    background: var(--aqua-light);
}
.gallery-empty h2 {
    margin-bottom: 10px;
}
.gallery-empty p {
    max-width: 640px;
    margin: 0 auto;
}
.gallery-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 42px;
}
body.lightbox-open {
    overflow: hidden;
}
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: center;
    padding: 52px 86px 30px;
    color: #fff;
    background: rgba(0, 22, 18, .96);
}
.gallery-lightbox[hidden] {
    display: none;
}
.gallery-lightbox-figure {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    min-height: 0;
}
.gallery-lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    box-shadow: 0 20px 70px rgba(0,0,0,.35);
}
.gallery-lightbox-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    min-height: 50px;
    text-align: center;
    font-size: 13px;
}
.gallery-lightbox-caption {
    margin: 0;
}
.gallery-lightbox-counter {
    flex: 0 0 auto;
    color: var(--aqua);
    font-weight: 700;
}
.gallery-lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: rgba(0, 76, 63, .72);
    cursor: pointer;
}
.gallery-lightbox button:hover,
.gallery-lightbox button:focus-visible {
    background: var(--aqua);
    color: var(--green-dark);
}
.gallery-lightbox-close {
    top: 16px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 36px;
}
.gallery-lightbox-prev,
.gallery-lightbox-next {
    top: 50%;
    width: 54px;
    height: 76px;
    margin-top: -38px;
    font-size: 48px;
}
.gallery-lightbox-prev { left: 18px; }
.gallery-lightbox-next { right: 18px; }
.gallery-page .site-footer {
    padding-top: 0;
}

@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gallery-lightbox { padding-inline: 68px; }
}

@media (max-width: 640px) {
    .gallery-hero { min-height: 300px; }
    .gallery-hero-inner { width: calc(100% - 28px); padding: 58px 0 88px; }
    .gallery-hero p { font-size: 14px; }
    .gallery-main { padding: 42px 0 64px; }
    .gallery-toolbar { align-items: flex-start; flex-direction: column; gap: 14px; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .gallery-year-nav a,
    .gallery-year-nav button { flex: 1 1 120px; }
    .gallery-card-overlay { display: none; }
    .gallery-lightbox { padding: 64px 14px 20px; }
    .gallery-lightbox-image { max-height: calc(100vh - 160px); }
    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        top: auto;
        bottom: 16px;
        width: 48px;
        height: 48px;
        margin: 0;
        border-radius: 50%;
        font-size: 38px;
    }
    .gallery-lightbox-prev { left: 14px; }
    .gallery-lightbox-next { right: 14px; }
    .gallery-lightbox-meta { padding-inline: 54px; font-size: 11px; }
}
