:root {
  --night: #041b17;
  --night-2: #092a23;
  --forest: #104535;
  --ink: #17231f;
  --cream: #f3efe5;
  --paper: #faf7ef;
  --gold: #c89b4c;
  --gold-light: #eed49a;
  --muted: #6f7772;
  --line: rgba(23, 35, 31, .16);
  --light-line: rgba(238, 212, 154, .18);
  --serif: "Marcellus", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.58; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 8px 12px; background: #fff; color: #111; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0; color: var(--gold); font-size: .58rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.ink { color: #89682d; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.2vw, 3rem); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; min-height: 64px; padding: 0 max(20px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid var(--light-line); background: rgba(4, 27, 23, .94); color: var(--cream); backdrop-filter: blur(12px); }
.brand { display: flex; gap: 10px; align-items: center; }
.brand img { border-radius: 50%; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: .86rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; }
.brand small { margin-top: 4px; color: rgba(243, 239, 229, .46); font-size: .48rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.site-nav { display: flex; gap: 24px; justify-content: flex-end; align-items: center; }
.site-nav a { color: rgba(243, 239, 229, .64); font-size: .56rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: color .2s; }
.site-nav a:hover, .site-nav a:focus { color: var(--gold-light); }
.site-nav .nav-cta { padding: 7px 11px; border: 1px solid rgba(200, 155, 76, .5); color: var(--gold-light); }
.menu-button { display: none; border: 1px solid var(--light-line); background: transparent; color: var(--cream); font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.hero { padding-top: 64px; overflow: hidden; background: var(--night); color: var(--cream); }
.hero-grid { display: grid; grid-template-columns: minmax(340px, .76fr) minmax(0, 1.24fr); min-height: 490px; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 34px 38px 34px 0; }
.hero-number { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; color: rgba(243, 239, 229, .34); font-size: .5rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-number span { color: var(--gold); font-family: var(--serif); font-size: .8rem; }
.hero-number i { width: 34px; height: 1px; background: var(--light-line); }
.hero-number small { font-size: inherit; }
.hero-copy h1 { margin: 13px 0 16px; font-size: clamp(2.8rem, 4.4vw, 4.25rem); letter-spacing: -.04em; }
.hero-copy h1 em { color: var(--gold-light); font-style: normal; }
.hero-lead { max-width: 520px; margin: 0; color: rgba(243, 239, 229, .64); font-size: .86rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 20px; align-items: center; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--gold); font-size: .55rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.button.gold { background: var(--gold); color: #12251f; }
.button:hover { background: var(--gold-light); }
.text-link { color: rgba(243, 239, 229, .7); font-size: .58rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.text-link span { margin-left: 7px; color: var(--gold); }
.hero-photo { position: relative; min-width: 0; margin: 0; }
.hero-photo:after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0, transparent 22%), linear-gradient(0deg, rgba(4, 27, 23, .36), transparent 45%); content: ""; }
.hero-photo > img { width: 100%; height: 490px; object-fit: cover; }
.hero-photo figcaption { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid rgba(238, 212, 154, .28); background: rgba(4, 27, 23, .75); backdrop-filter: blur(8px); }
.hero-photo figcaption img { width: 34px; height: 34px; }
.hero-photo figcaption span { color: rgba(243, 239, 229, .72); font-size: .5rem; font-weight: 700; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.hero-rule { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--light-line); border-left: 1px solid var(--light-line); }
.hero-rule span { padding: 11px 13px; border-right: 1px solid var(--light-line); color: rgba(243, 239, 229, .4); font-size: .5rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }

.club-intro { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(38px, 7vw, 90px); align-items: center; padding-top: 56px; padding-bottom: 56px; }
.paddock-photo { position: relative; margin: 0; }
.paddock-photo img { width: 100%; height: 430px; object-fit: cover; object-position: center 30%; }
.paddock-photo figcaption { position: absolute; right: -16px; bottom: 16px; padding: 9px 12px; background: var(--gold); color: var(--ink); font-size: .52rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-kicker { display: flex; gap: 11px; align-items: baseline; margin-bottom: 18px; }
.section-kicker > span { color: var(--gold); font-family: var(--serif); font-size: .8rem; }
.club-copy h2 { max-width: 700px; margin: 0 0 24px; }
.copy-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 760px; }
.copy-columns p { margin: 0; color: var(--muted); font-size: .78rem; }
.copy-columns p:first-child { color: var(--ink); font-family: var(--serif); font-size: 1rem; }

.divisions { padding: 52px 0; background: var(--night); color: var(--cream); }
.section-head { display: flex; gap: 42px; justify-content: space-between; align-items: end; margin-bottom: 26px; }
.section-head > div { max-width: 620px; }
.section-head h2 { margin: 10px 0 0; }
.section-head > p { max-width: 350px; margin: 0; color: rgba(243, 239, 229, .48); font-size: .75rem; }
.section-head.dark > p { color: var(--muted); }
.division-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--light-line); border-left: 1px solid var(--light-line); }
.division-card { display: grid; grid-template-columns: 54px 1fr; grid-template-rows: 1fr auto; gap: 14px; min-height: 205px; padding: 18px; border-right: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); }
.division-card > span { grid-row: 1 / 3; color: var(--gold); font-family: var(--serif); font-size: 1.45rem; }
.division-card small, .desk-card small { color: rgba(243, 239, 229, .4); font-size: .48rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.division-card h3 { margin: 7px 0 9px; font-size: 1.35rem; }
.division-card p { margin: 0; color: rgba(243, 239, 229, .52); font-size: .7rem; }
.division-card > strong { align-self: end; padding-top: 10px; border-top: 1px solid var(--light-line); color: var(--gold-light); font-size: .52rem; letter-spacing: .11em; text-transform: uppercase; }

.pathway { padding-top: 56px; padding-bottom: 56px; }
.path-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.path-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.path-table th { padding: 9px 12px; background: rgba(16, 69, 53, .07); color: var(--muted); font-size: .49rem; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.path-table td { padding: 11px 12px; border-top: 1px solid var(--line); font-size: .68rem; }
.path-table td:first-child { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; }
.path-table td:first-child span { color: var(--gold); font-family: var(--serif); }
.path-table td:first-child strong { font-family: var(--serif); font-size: .9rem; font-weight: 400; }
.path-table em { padding: 3px 5px; background: var(--night); color: var(--gold-light); font-size: .42rem; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 10px; border: 1px solid var(--line); }
.stat-strip span { padding: 10px; border-right: 1px solid var(--line); color: #755a2b; font-family: var(--serif); font-size: .82rem; text-align: center; }
.stat-strip span:last-child { border-right: 0; }

.race-panorama { position: relative; height: 390px; margin: 0; overflow: hidden; background: var(--night); }
.race-panorama:after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 27, 23, .68), transparent 60%); content: ""; }
.race-panorama > img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.race-panorama figcaption { position: absolute; z-index: 2; right: 0; bottom: 24px; left: 0; display: flex; justify-content: space-between; align-items: end; color: var(--cream); }
.race-panorama figcaption span { color: var(--gold-light); font-size: .55rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.race-panorama figcaption strong { max-width: 420px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; text-align: right; }

.race-desk { padding: 52px 0; background: #e9e2d4; }
.race-desk .section-head > p { color: var(--muted); }
.desk-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.desk-card { display: grid; grid-template-rows: auto 1fr auto; min-height: 215px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.desk-card:hover { background: rgba(255, 255, 255, .4); }
.desk-card.primary { background: var(--night); color: var(--cream); }
.desk-card > span { color: var(--gold); font-family: var(--serif); }
.desk-card > div { align-self: center; }
.desk-card:not(.primary) small { color: var(--muted); }
.desk-card h3 { margin: 7px 0 9px; font-size: 1.2rem; }
.desk-card p { margin: 0; color: var(--muted); font-size: .68rem; }
.desk-card.primary p { color: rgba(243, 239, 229, .48); }
.desk-card b { color: var(--gold); font-size: 1rem; font-weight: 400; }

.principles { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: 70px; padding-top: 56px; padding-bottom: 56px; }
.principles-title h2 { margin: 10px 0 0; }
.principle-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principle-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.principle-list li > span { color: var(--gold); font-family: var(--serif); }
.principle-list strong { font-family: var(--serif); font-size: .98rem; font-weight: 400; }
.principle-list p { margin: 4px 0 0; color: var(--muted); font-size: .69rem; }

.final-cta { padding: 30px 0; background: var(--forest); color: var(--cream); }
.final-cta .shell { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; }
.final-cta img { width: 64px; border-radius: 50%; }
.final-cta h2 { margin: 6px 0 0; font-size: clamp(1.45rem, 2.8vw, 2.3rem); }
.site-footer { padding-top: 38px; background: #02110e; color: var(--cream); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 34px; }
.footer-brand { align-self: start; }
.footer-main > div { display: grid; align-content: start; gap: 6px; }
.footer-main > div > span { margin-bottom: 6px; color: var(--gold); font-size: .49rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.footer-main > div > a { color: rgba(243, 239, 229, .5); font-size: .66rem; }
.footer-main > div > a:hover { color: var(--gold-light); }
.disclaimer { display: flex; gap: 38px; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; border-top: 1px solid var(--light-line); color: rgba(243, 239, 229, .4); font-size: .55rem; }
.disclaimer p { max-width: 720px; margin: 0; }
.disclaimer strong { color: rgba(243, 239, 229, .72); }
.disclaimer > div { display: grid; gap: 3px; text-align: right; }
.disclaimer a { color: var(--gold-light); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-button { display: block; justify-self: end; min-height: 32px; padding: 0 11px; }
  .site-nav { position: absolute; top: 64px; right: 0; left: 0; display: none; padding: 14px 20px; border-bottom: 1px solid var(--light-line); background: var(--night); flex-direction: column; align-items: flex-start; }
  .site-nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 0 28px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 7vw, 4rem); }
  .hero-photo:after { background: linear-gradient(0deg, var(--night) 0, transparent 42%); }
  .hero-photo > img { height: 360px; }
  .club-intro { grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: 36px; }
  .paddock-photo img { height: 390px; }
  .copy-columns { grid-template-columns: 1fr; gap: 14px; }
  .division-grid, .desk-grid { grid-template-columns: 1fr; }
  .division-card, .desk-card { min-height: 170px; }
  .principles { grid-template-columns: 1fr; gap: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .hero-copy { padding-top: 30px; }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-actions, .section-head, .disclaimer { align-items: flex-start; flex-direction: column; }
  .hero-photo > img { height: 300px; }
  .hero-photo figcaption { right: 10px; bottom: 10px; }
  .hero-rule { grid-template-columns: 1fr; }
  .hero-rule span { padding: 8px 10px; }
  .club-intro { grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 42px; }
  .paddock-photo { width: 82%; }
  .paddock-photo img { height: 390px; }
  .divisions, .race-desk { padding: 42px 0; }
  .pathway, .principles { padding-top: 42px; padding-bottom: 42px; }
  .section-head { gap: 14px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip span { border-bottom: 1px solid var(--line); }
  .stat-strip span:last-child { grid-column: 1 / -1; }
  .race-panorama { height: 300px; }
  .race-panorama figcaption { align-items: flex-start; flex-direction: column; }
  .race-panorama figcaption strong { font-size: 1.3rem; text-align: left; }
  .final-cta .shell { grid-template-columns: 1fr; }
  .final-cta .button { width: fit-content; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; }
  .footer-brand { grid-column: auto; }
  .disclaimer > div { text-align: left; }
  .path-table td, .path-table th { padding: 9px; }
}
