:root {
  --ink: #142521;
  --forest: #123c32;
  --forest-deep: #092a23;
  --leaf: #367461;
  --cream: #f7f1e4;
  --paper: #fffdf8;
  --saffron: #f5b54c;
  --coral: #eb6c51;
  --line: rgba(20, 37, 33, .14);
  --muted: #65746f;
  --shadow: 0 28px 70px rgba(22, 45, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.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; z-index: 999; top: 12px; left: 12px; transform: translateY(-150%); background: #fff; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--forest-deep); color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .04em; }
.topbar-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; }
.topbar-links { display: flex; gap: 24px; }
.topbar a:hover { color: white; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,253,248,.94); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: .25s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(18,60,50,.06); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 285px; }
.brand img { flex: 0 0 auto; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.12; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; letter-spacing: -.02em; }
.brand-copy small { max-width: 210px; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 700; }
.main-nav > a:not(.button) { position: relative; padding: 12px 0; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: 4px; background: var(--coral); transition: right .2s ease; }
.main-nav > a:not(.button):hover::after { right: 0; }
.nav-admin { color: var(--leaf); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle > span:not(.sr-only) { width: 23px; height: 2px; background: var(--ink); display: block; margin: 5px; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--forest); border-radius: 999px; color: white; background: var(--forest); font-weight: 800; font-size: 13px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--forest-deep); box-shadow: 0 10px 25px rgba(18,60,50,.18); }
.button-small { min-height: 40px; padding: 0 19px; }
.button-light { color: var(--forest); background: var(--cream); border-color: var(--cream); }
.button-light:hover { background: white; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.light { color: white; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 30px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h2 { margin: 22px 0 0; font-size: clamp(44px, 5vw, 72px); line-height: .98; }

.hero { position: relative; min-height: calc(100vh - 118px); height: 760px; max-height: 850px; color: white; display: grid; align-items: center; overflow: hidden; background: var(--forest-deep); }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(5,35,29,.93) 0%, rgba(5,35,29,.74) 33%, rgba(5,35,29,.12) 70%, rgba(5,35,29,.14) 100%), linear-gradient(0deg, rgba(5,24,20,.45) 0%, transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 65px; }
.hero h1 { max-width: 690px; margin: 28px 0 28px; font-size: clamp(68px, 8.6vw, 126px); line-height: .79; }
.hero h1 em { color: var(--saffron); font-weight: 400; }
.hero-content > p { max-width: 560px; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 36px; }
.hero-foot { position: absolute; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; border-top: 1px solid rgba(255,255,255,.25); }
.hero-stat { display: flex; align-items: baseline; gap: 12px; padding: 22px 38px 24px 0; margin-right: 38px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-stat:last-child { border: 0; }
.hero-stat strong { color: var(--saffron); font-family: Georgia, serif; font-size: 23px; }
.hero-stat span { color: rgba(255,255,255,.7); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

.split-intro { display: grid; grid-template-columns: 1fr .82fr; gap: 90px; align-items: start; }
.intro-copy { padding-top: 40px; }
.intro-copy p { color: var(--muted); line-height: 1.85; font-size: 16px; }
.intro-copy .lead { color: var(--ink); font-family: Georgia, serif; font-size: 25px; line-height: 1.5; }
.intro-copy .text-link { margin-top: 16px; color: var(--forest); }
.feature-band { padding: 72px 0; color: white; background: var(--forest); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-grid article { padding: 0 54px; border-right: 1px solid rgba(255,255,255,.15); }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article:last-child { border: 0; padding-right: 0; }
.feature-number { color: var(--saffron); font-size: 11px; letter-spacing: .14em; }
.feature-grid h3 { margin: 28px 0 10px; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.feature-grid p { margin: 0; color: rgba(255,255,255,.64); line-height: 1.65; font-size: 14px; }

.events { background: var(--cream); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.event-list { border-top: 1px solid rgba(20,37,33,.24); }
.event-card { display: grid; grid-template-columns: 180px 1fr 62px; gap: 38px; align-items: center; padding: 38px 0; border-bottom: 1px solid rgba(20,37,33,.2); }
.event-featured { background: rgba(255,255,255,.42); box-shadow: -24px 0 0 rgba(255,255,255,.42), 24px 0 0 rgba(255,255,255,.42); }
.event-date { display: flex; flex-direction: column; text-transform: uppercase; }
.event-date span { color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.event-date strong { margin-top: 8px; font-family: Georgia, serif; font-size: 31px; font-weight: 500; }
.status-pill { display: inline-block; padding: 6px 10px; border-radius: 999px; color: var(--forest); background: rgba(54,116,97,.13); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.status-pill.muted { color: #7a6134; background: rgba(245,181,76,.2); }
.event-main h3 { margin: 14px 0 8px; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 36px); font-weight: 500; }
.event-main p { color: var(--muted); margin-bottom: 18px; }
.meta { display: flex; gap: 24px; color: var(--leaf); font-size: 12px; font-weight: 800; }
.circle-link { width: 52px; height: 52px; display: grid; place-items: center; justify-self: end; border: 1px solid var(--forest); border-radius: 50%; font-size: 21px; transition: .2s ease; }
.circle-link:hover { color: white; background: var(--forest); transform: rotate(12deg); }
.editorial-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; }

.highlights { color: white; background: var(--forest-deep); overflow: hidden; }
.inverse h2 { color: white; }
.section-kicker { max-width: 260px; color: rgba(255,255,255,.55); font-family: Georgia, serif; font-size: 21px; }
.highlight-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, 280px); gap: 18px; }
.highlight-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; background: #1b4e42; overflow: hidden; transition: transform .25s ease; }
.highlight-card:hover { transform: translateY(-5px); }
.highlight-card.large { grid-row: 1 / 3; justify-content: flex-end; padding: 42px; }
.highlight-card.photo-race { background: linear-gradient(145deg, rgba(18,60,50,.1), rgba(9,42,35,.9)), url('assets/official-track-race.jpg') center / cover; }
.highlight-card.photo-award { background: linear-gradient(145deg, rgba(18,60,50,.22), rgba(9,42,35,.91)), url('assets/official-state-award-web.jpg') center / cover; }
.highlight-card.photo-medalists { background: linear-gradient(145deg, rgba(18,60,50,.18), rgba(9,42,35,.9)), url('assets/official-national-medalists.jpeg') center / cover; }
.highlight-card.accent { color: var(--ink); background: var(--saffron); }
.highlight-card::before { content: ""; position: absolute; width: 180px; height: 180px; top: -80px; right: -80px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.card-index, .card-label { position: relative; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.card-label { color: var(--saffron); }
.accent .card-label { color: var(--forest); }
.highlight-card h3 { position: relative; max-width: 570px; margin: 14px 0 10px; font-family: Georgia, serif; font-size: clamp(27px, 3vw, 46px); font-weight: 500; line-height: 1.05; }
.highlight-card p { position: relative; max-width: 540px; margin: 0; color: rgba(255,255,255,.65); line-height: 1.6; font-size: 13px; }
.accent p { color: rgba(20,37,33,.72); }
.official-gallery { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.15fr; gap: 12px; margin-top: 18px; }
.official-gallery figure { position: relative; min-height: 190px; margin: 0; overflow: hidden; background: var(--forest); }
.official-gallery img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; transition: transform .35s ease; }
.official-gallery figure:hover img { transform: scale(1.035); }
.official-gallery figure::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(5,24,20,.88)); }
.official-gallery figcaption { position: absolute; z-index: 1; left: 18px; bottom: 16px; color: white; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.news { background: var(--paper); }
.news-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.news-card { border: 1px solid var(--line); background: white; }
.news-primary { grid-row: 1 / 3; display: grid; grid-template-columns: .85fr 1.15fr; }
.document-preview { position: relative; min-height: 440px; padding: 35px; display: flex; flex-direction: column; justify-content: flex-end; color: white; background: linear-gradient(145deg, var(--forest), var(--leaf)); overflow: hidden; }
.document-preview::before, .document-preview::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.document-preview::before { width: 330px; height: 330px; left: -130px; top: -130px; }
.document-preview::after { width: 220px; height: 220px; right: -90px; bottom: -80px; }
.doc-tag { position: absolute; top: 28px; left: 28px; padding: 8px 10px; color: var(--forest); background: var(--saffron); border-radius: 4px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.document-preview strong { position: relative; font-family: Georgia, serif; font-size: 63px; font-weight: 500; }
.document-preview small { position: relative; margin-top: 8px; font-size: 13px; line-height: 1.45; text-transform: uppercase; letter-spacing: .1em; }
.news-body { padding: 42px; align-self: center; }
.news-date { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.news-card h3 { margin: 18px 0 14px; font-family: Georgia, serif; font-size: 31px; line-height: 1.1; font-weight: 500; }
.news-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.news-body .text-link { margin-top: 16px; }
.news-card.compact { padding: 32px; }
.news-card.compact h3 { font-size: 25px; }

.mission { color: white; background: var(--forest); }
.mission-grid { display: grid; grid-template-columns: .68fr 1.32fr; align-items: center; gap: 80px; }
.mission-number { font-family: Georgia, serif; font-size: clamp(160px, 22vw, 300px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.27); }
.mission-number span { color: var(--saffron); -webkit-text-stroke: 0; font-size: .35em; }
.mission h2 { max-width: 720px; }
.mission p { max-width: 690px; margin: 30px 0 0; color: rgba(255,255,255,.68); line-height: 1.9; font-size: 17px; }

.membership { background: var(--saffron); }
.membership-card { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: center; }
.membership .eyebrow { color: var(--forest); }
.membership-copy p { font-family: Georgia, serif; font-size: 23px; line-height: 1.55; }
.membership-actions { display: flex; align-items: center; gap: 28px; margin-top: 30px; }

.site-footer { padding: 82px 0 24px; color: white; background: #071d18; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr 1fr .6fr; gap: 55px; }
.inverse-brand .brand-copy small { color: rgba(255,255,255,.5); }
.footer-brand > p { max-width: 330px; margin: 28px 0 0; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-grid h3 { margin-bottom: 22px; color: var(--saffron); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a, .footer-grid > div > p { margin: 0 0 13px; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.6; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 65px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); font-size: 11px; }

.reveal-ready { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } .reveal-ready { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .main-nav { gap: 17px; }
  .main-nav > a { font-size: 12px; }
  .nav-admin { display: none; }
  .brand { min-width: 250px; }
  .hero-image { object-position: center; }
  .footer-grid { grid-template-columns: 1.2fr .6fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; flex-direction: row; gap: 22px; align-items: center; }
  .footer-grid > div:last-child h3 { margin: 0 10px 13px 0; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 34px, 680px); }
  .section { padding: 82px 0; }
  .topbar { display: none; }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 48px; height: 48px; }
  .brand-copy strong { font-size: 18px; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .main-nav { position: fixed; inset: 74px 0 auto auto; width: 100%; min-height: calc(100vh - 74px); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 28px 24px; background: var(--paper); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
  .main-nav .nav-admin { display: block; }
  .main-nav .button { margin-top: 22px; }
  .hero { height: 740px; min-height: calc(100vh - 74px); }
  .hero-image { object-position: 54% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,35,29,.93) 0%, rgba(5,35,29,.67) 70%, rgba(5,35,29,.25)), linear-gradient(0deg, rgba(5,24,20,.58), transparent 50%); }
  .hero-content { padding-bottom: 120px; }
  .hero h1 { font-size: clamp(63px, 15vw, 92px); }
  .hero-content > p { max-width: 510px; font-size: 18px; }
  .hero-stat { display: block; padding: 18px 18px 18px 0; margin-right: 18px; }
  .hero-stat span { display: block; margin-top: 4px; font-size: 9px; }
  .split-intro, .membership-card { grid-template-columns: 1fr; gap: 38px; }
  .intro-copy { padding-top: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .feature-grid article:first-child { padding-top: 0; }
  .feature-grid article:last-child { padding-bottom: 0; border: 0; }
  .event-card { grid-template-columns: 120px 1fr 52px; gap: 24px; }
  .highlight-grid { grid-template-columns: 1fr; grid-template-rows: 420px 260px 260px; }
  .highlight-card.large { grid-row: auto; }
  .official-gallery { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-primary { grid-row: auto; }
  .mission-grid { grid-template-columns: 1fr; gap: 52px; }
  .mission-number { font-size: 190px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-grid > div:last-child { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 30px); }
  .section { padding: 68px 0; }
  .brand-copy small { max-width: 176px; font-size: 8px; }
  .brand { min-width: 0; }
  h2 { font-size: 46px; }
  .hero { height: 710px; }
  .hero-image { object-position: 52% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,35,29,.94), rgba(5,35,29,.48)), linear-gradient(0deg, rgba(5,24,20,.72), transparent 55%); }
  .hero-content { padding-bottom: 138px; }
  .hero h1 { font-size: clamp(59px, 18vw, 79px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-foot { overflow: hidden; }
  .hero-stat { min-width: 33.33%; margin-right: 10px; padding-right: 10px; }
  .hero-stat strong { font-size: 18px; }
  .hero-stat span { letter-spacing: .04em; }
  .section-heading-row { align-items: flex-start; margin-bottom: 38px; }
  .desktop-link, .section-kicker { display: none; }
  .event-card { grid-template-columns: 1fr 48px; padding: 30px 0; gap: 15px; }
  .event-date { grid-column: 1 / 3; flex-direction: row; align-items: baseline; gap: 8px; }
  .event-date strong { font-size: 22px; }
  .meta { flex-direction: column; gap: 7px; }
  .highlight-grid { grid-template-rows: 390px 275px 275px; }
  .highlight-card.large, .highlight-card { padding: 25px; }
  .official-gallery { grid-template-columns: 1fr; }
  .official-gallery figure, .official-gallery img { min-height: 230px; }
  .news-primary { grid-template-columns: 1fr; }
  .document-preview { min-height: 290px; }
  .news-body { padding: 30px; }
  .mission-number { font-size: 140px; }
  .membership-actions { align-items: stretch; flex-direction: column; }
  .membership-actions .text-link { align-self: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
