:root {
  --pine: #123d34;
  --pine-deep: #092820;
  --pine-soft: #dfece4;
  --ink: #17221f;
  --muted: #60706a;
  --line: #d4dfd9;
  --paper: #f7faf7;
  --white: #ffffff;
  --orange: #f47b35;
  --orange-dark: #c85a1f;
  --yellow: #ffc94a;
  --shadow: 0 1.25rem 3rem rgba(9, 40, 32, .11);
  --measure: min(1180px, calc(100% - 3rem));
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
html[data-theme="dark"] {
  --pine: #b9e5cf;
  --pine-deep: #071a15;
  --pine-soft: #163b31;
  --ink: #edf6f0;
  --muted: #aabdb4;
  --line: #315348;
  --paper: #0c201a;
  --white: #102a22;
  --orange: #ff9860;
  --orange-dark: #ffb080;
  --yellow: #ffd86e;
  --shadow: 0 1.25rem 3rem rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: relative;
  z-index: 5;
  background: var(--pine-deep);
  color: #f7fbf8;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.header-inner {
  width: var(--measure);
  margin: 0 auto;
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  min-width: max-content;
}
.brand-mark { width: 2.8rem; height: 2.8rem; flex: 0 0 auto; }
.brand-name { display: grid; line-height: 1; gap: .2rem; }
.brand-name strong { font: 700 1.5rem/1 var(--font-display); letter-spacing: -.04em; }
.brand-name span { color: var(--yellow); font: 500 .64rem/1.1 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: #e7f1eb; text-decoration: none; font-weight: 600; font-size: .92rem; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.08rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  text-decoration: none;
  font: 700 .88rem/1.1 var(--font-display);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #1f160f; }
.button-primary:hover { background: var(--yellow); }
.button-light { background: #f5fbf7; color: var(--pine-deep); }
.button-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.site-header .button-outline { border-color: rgba(255,255,255,.3); color: #f5fbf7; }
.theme-toggle, .ripple-b13b {
  width: 2.65rem; height: 2.65rem; border: 1px solid rgba(255,255,255,.3); border-radius: .35rem; background: transparent; color: #f5fbf7;
}
.theme-toggle { font-size: 1.05rem; }
.ripple-b13b { display: none; font-size: 1.25rem; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 34rem;
  display: grid;
  align-items: end;
  background: var(--pine-deep);
  color: #fff;
}
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .54; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 28, 22, .94) 0%, rgba(5, 28, 22, .68) 46%, rgba(5, 28, 22, .2) 100%); }
.hero-content { width: var(--measure); margin: 0 auto; padding: 6.5rem 0 4.5rem; }
.kicker { display: inline-flex; gap: .6rem; align-items: center; color: var(--yellow); font: 600 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { content: ''; width: 1.7rem; height: 2px; background: var(--orange); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.055em; line-height: 1.02; margin: 0; }
h1 { max-width: 11ch; margin-top: 1.1rem; font-size: clamp(3.4rem, 8vw, 6.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { font-size: 1.35rem; }
.hero p { max-width: 34rem; color: #d9ebe1; font-size: 1.13rem; margin: 1.5rem 0 0; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-note { display: inline-flex; gap: .6rem; align-items: center; margin-top: 2rem; color: #c4dace; font: .75rem var(--font-mono); }
.hero-note strong { color: var(--yellow); }

main { min-width: 0; }
.section { padding: 6.5rem 0; }
.section-compact { padding: 4.2rem 0; }
.measure { width: var(--measure); margin-inline: auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-head p { max-width: 29rem; color: var(--muted); margin: 0; }
.section-label { color: var(--orange-dark); font: 700 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .7rem; }
.soft-band { background: var(--pine-soft); }
.dark-band { background: var(--pine-deep); color: #eff8f2; }
.dark-band .section-label, .dark-band .kicker { color: var(--yellow); }
.dark-band .section-head p { color: #bbd4c8; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.15rem; align-items: start; }
.grove-14dd { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); }
.sage-5de7 { display: block; position: relative; aspect-ratio: 1.45 / 1; overflow: hidden; background: var(--pine-soft); }
.sage-5de7 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grove-14dd > :not(.sage-5de7) { margin-inline: 1.2rem; }
.nickel-8189 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; color: var(--muted); font: .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .04em; margin-top: 1rem; }
.sable-2421 { color: var(--orange-dark); font-weight: 700; }
.grove-14dd h3 { margin-top: .55rem; }
.grove-14dd p { color: var(--muted); margin: .65rem 0 1.35rem; }
.bloom-596d { color: var(--muted); padding: 1.2rem; border: 1px dashed var(--line); background: color-mix(in srgb, var(--white) 50%, transparent); }

.score-layout { display: grid; grid-template-columns: minmax(0, 1fr) .72fr; gap: 2.5rem; align-items: start; }
.score-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.score-tabs { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.tab-button { border: 0; padding: .62rem .85rem; border-radius: .25rem; color: var(--muted); background: transparent; font: 700 .78rem var(--font-mono); }
.tab-button[aria-selected="true"] { color: var(--pine-deep); background: var(--yellow); }
.score-table, .data-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.score-table th, .score-table td, .data-table th, .data-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.score-table th, .data-table th { color: var(--muted); font: 600 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .05em; }
.score-table td:not(:first-child), .score-table th:not(:first-child) { text-align: right; }
.score-table tbody tr:first-child td { color: var(--pine); font-weight: 700; }
.rank { display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; margin-right: .55rem; border-radius: 50%; background: var(--pine-soft); font: 700 .75rem var(--font-mono); }
.score-aside { padding: 2rem 0 0; }
.score-aside p { color: var(--muted); }
.inline-link { color: var(--orange-dark); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: .2em; }

.timeline { display: grid; gap: 0; }
.fixture { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) 7rem; gap: 1.2rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.fixture-date { color: var(--orange-dark); font: 700 .75rem var(--font-mono); text-transform: uppercase; }
.fixture-place { color: var(--muted); font-size: .85rem; }
.fixture-score { justify-self: end; font: 700 1.2rem var(--font-display); }

.split-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.split-intro p { color: var(--muted); font-size: 1.08rem; margin: .4rem 0 1rem; }
.signal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.8rem; }
.signal { padding: 1.2rem; border-top: 2px solid var(--orange); background: var(--white); }
.signal strong { display: block; font: 700 1.05rem var(--font-display); }
.signal span { display: block; color: var(--muted); margin-top: .3rem; font-size: .9rem; }
.photo-band { min-height: 23rem; display: grid; align-items: center; background: var(--pine-deep); color: #fff; position: relative; isolation: isolate; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .44; }
.photo-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 35, 28, .93), rgba(8, 35, 28, .45)); }
.photo-band .measure { padding: 5rem 0; }
.photo-band h2 { max-width: 13ch; }
.photo-band p { max-width: 34rem; color: #d0e2d7; }
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 2rem; }
.logo-tile { min-height: 5.5rem; display: grid; place-items: center; padding: 1rem; border: 1px solid var(--line); color: var(--muted); font: 700 .8rem var(--font-mono); text-align: center; background: var(--white); }

.page-hero { padding: 5rem 0 3.7rem; background: var(--pine-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 14ch; font-size: clamp(3rem, 7vw, 5.6rem); }
.page-hero p { max-width: 41rem; color: var(--muted); font-size: 1.1rem; margin: 1.2rem 0 0; }
.plume-c42c { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; gap: 2.5rem; align-items: start; }
.plume-c42c:has([data-corale0][hidden]) { grid-template-columns: minmax(0, 1fr); }
[data-corale0][hidden] { display: none; }
.ridge-bd98 { position: sticky; top: 1.5rem; padding-top: .35rem; border-top: 2px solid var(--orange); }
.ridge-bd98 h2 { font: 700 .75rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ridge-bd98 ol { padding-left: 1.2rem; margin: .8rem 0; color: var(--muted); }
.ridge-bd98 li { margin: .55rem 0; }
.ridge-bd98 a { font-size: .86rem; text-decoration: none; }
.ridge-bd98 a:hover { color: var(--orange-dark); }
.page-content { min-width: 0; }
.page-content > section + section { margin-top: 4.5rem; }
.page-content h2 { margin-bottom: 1rem; }
.page-content > section > p { max-width: 42rem; color: var(--muted); }
.filter-bar { display: flex; align-items: end; flex-wrap: wrap; gap: .85rem; padding: 1rem; margin-bottom: 1.4rem; background: var(--pine-soft); }
.field { display: grid; gap: .35rem; flex: 1 1 12rem; }
.field label { font: 700 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: .25rem; padding: .8rem .85rem; color: var(--ink); background: var(--paper); }
.field textarea { min-height: 8rem; resize: vertical; }
.harbor-b8f4 { display: grid; gap: .85rem; }
.harbor-b8f4 .grove-14dd { display: grid; grid-template-columns: 11rem minmax(0, 1fr); }
.harbor-b8f4 .sage-5de7 { aspect-ratio: auto; min-height: 8rem; }
.harbor-b8f4 .grove-14dd > :not(.sage-5de7) { margin-inline: 1.1rem; }

.registration { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: start; }
.form-card { padding: 1.5rem; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-grid .field-full { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }
.form-status { color: var(--pine); font-weight: 600; }
.notice { padding: 1.2rem; border-left: 3px solid var(--orange); background: var(--pine-soft); }

.fable-17f4 { padding: 4rem 0 6rem; }
.byline { display: flex; gap: .8rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.byline img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; }
.meadow-9206 h1 { max-width: 18ch; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.prose { max-width: 46rem; font-size: 1.08rem; }
.prose p { margin: 1.2rem 0; }
.prose a { color: var(--orange-dark); font-weight: 700; }
.prose h2, .prose h3 { margin-top: 2.5rem; }
.prose li { margin: .45rem 0; }

.site-footer { padding: 4rem 0 1.3rem; background: var(--pine-deep); color: #e9f4ed; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 3rem; }
.footer-grid h2 { color: #fff; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: .8rem; }
.footer-grid p { color: #b8d1c4; max-width: 22rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .45rem 0; color: #b8d1c4; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.16); color: #9bb6a9; font-size: .78rem; }

@media (max-width: 900px) {
  :root { --measure: min(100% - 2rem, 760px); }
  .header-inner { gap: 1rem; min-height: 4.8rem; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1rem; background: var(--pine-deep); border-top: 1px solid rgba(255,255,255,.15); }
  .primary-nav.onyx-7fd5 { display: block; }
  .primary-nav ul { display: grid; gap: .2rem; }
  .primary-nav a { display: block; padding: .7rem .5rem; }
  .header-actions .header-signup { display: none; }
  .ripple-b13b { display: block; }
  .score-layout, .split-intro, .registration { grid-template-columns: 1fr; gap: 2rem; }
  .score-aside { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .section { padding: 4.6rem 0; }
  .hero { min-height: 35rem; }
  .hero-content { padding: 5rem 0 3rem; }
  h1 { font-size: clamp(3rem, 17vw, 4.8rem); }
  .section-head { display: block; }
  .section-head p { margin-top: .8rem; }
  .signal-list, .logo-row, .form-grid { grid-template-columns: 1fr; }
  .fixture { grid-template-columns: 5.2rem minmax(0, 1fr); gap: .8rem; }
  .fixture-score { grid-column: 2; justify-self: start; }
  .plume-c42c { grid-template-columns: 1fr; }
  .ridge-bd98 { position: static; order: -1; }
  .harbor-b8f4 .grove-14dd { display: block; }
  .harbor-b8f4 .sage-5de7 { min-height: auto; aspect-ratio: 1.7 / 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
