:root {
  --ink: #06120D;
  --panel: #0B1F17;
  --line: #1E3A2E;
  --lime: #C8FF4D;
  --gold: #E0A73C;
  --paper: #EFE7D6;
  --fog: #F3F7F4;
  --muted: #8FA79B;
  --away: #6EA8C7;
  --red: #C2494B;
  --yellow: #C9A227;
  --page-max: 1180px;
  --page-pad: clamp(18px, 4vw, 56px);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --font-body: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Roboto Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fog);
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 78% -8%, rgba(200, 255, 77, 0.12), transparent 38rem),
    radial-gradient(circle at 8% 38%, rgba(110, 168, 199, 0.08), transparent 30rem),
    linear-gradient(rgba(30, 58, 46, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 46, 0.2) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

main {
  display: block;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: var(--lime);
  text-underline-offset: 0.2em;
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.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;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--fog);
  background: rgba(6, 18, 13, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
}

.header-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 2px;
  overflow: hidden;
  background: rgba(200, 255, 77, 0.1);
}

.header-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.12s linear;
}

.header-micro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 10px var(--page-pad) 8px;
  border-bottom: 1px solid rgba(30, 58, 46, 0.55);
}

.header-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(243, 247, 244, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signal-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.12);
}

.league-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.league-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 3px 8px;
  color: rgba(243, 247, 244, 0.7);
  background: rgba(11, 31, 23, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.collection-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--lime);
  background: rgba(200, 255, 77, 0.06);
  border: 1px solid rgba(200, 255, 77, 0.42);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.collection-chip:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.collection-chip__icon {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.collection-chip__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.collection-chip__text {
  display: inline-block;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(12px, 1.8vw, 22px) var(--page-pad) clamp(10px, 1.5vw, 18px);
  transition: padding 0.28s var(--ease);
}

.masthead-side {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.masthead-side--start {
  justify-content: flex-start;
}

.masthead-side--end {
  justify-content: flex-end;
}

.masthead-note {
  padding-left: 10px;
  color: rgba(243, 247, 244, 0.68);
  border-left: 1px solid var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 14px;
  color: var(--fog);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--lime);
  border-radius: 16px 16px 26px 16px;
  box-shadow: 6px 6px 0 rgba(224, 167, 60, 0.24);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  transition: width 0.28s var(--ease), height 0.28s var(--ease), border-radius 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-word {
  color: var(--fog);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 7px;
  color: rgba(243, 247, 244, 0.58);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.header-search {
  padding: 8px 10px;
  color: var(--fog);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.header-search:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px 8px 10px;
  color: var(--lime);
  background: rgba(200, 255, 77, 0.06);
  border: 1px solid rgba(200, 255, 77, 0.45);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.nav-toggle__bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle__label {
  margin-left: 7px;
}

.site-nav {
  background: rgba(6, 18, 13, 0.55);
  border-top: 1px solid var(--line);
}

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(2px, 0.9vw, 14px);
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav-list li {
  flex: 0 0 auto;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 11px 10px 13px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link::before {
  content: attr(data-index);
  color: var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--fog);
  background: linear-gradient(180deg, transparent, rgba(200, 255, 77, 0.06));
}

.nav-link[aria-current="page"] {
  color: var(--lime);
}

.nav-link[aria-current="page"]::before {
  color: var(--gold);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 2px;
  background: var(--lime);
  border-radius: 999px;
}

.nav-scrim {
  display: none;
}

.site-header[data-scrolled] .header-micro {
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-header[data-scrolled] .masthead {
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header[data-scrolled] .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px 12px 20px 12px;
  box-shadow: 4px 4px 0 rgba(224, 167, 60, 0.24);
  font-size: 16px;
}

.site-header[data-scrolled] .brand-sub {
  display: none;
}

.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  color: var(--fog);
  background:
    radial-gradient(circle at 86% 12%, rgba(200, 255, 77, 0.08), transparent 26rem),
    linear-gradient(180deg, #07170F 0%, var(--ink) 72%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--lime) 0 16%, var(--gold) 16% 22%, var(--line) 22% 100%);
}

.footer-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-right: var(--page-pad);
  padding-left: var(--page-pad);
}

.footer-lead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fog);
  text-decoration: none;
}

.footer-brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--lime);
  background: transparent;
  border: 1px solid rgba(200, 255, 77, 0.62);
  border-radius: 14px 14px 22px 14px;
  box-shadow: inset 0 0 0 4px rgba(200, 255, 77, 0.04);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
}

.footer-tagline {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
  gap: clamp(24px, 4vw, 56px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.footer-col {
  min-width: 0;
}

.footer-col--contact {
  padding-left: clamp(0px, 2vw, 24px);
  border-left: 1px solid rgba(30, 58, 46, 0.72);
}

.footer-col-title {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--lime);
  border-color: rgba(200, 255, 77, 0.5);
}

.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  color: rgba(243, 247, 244, 0.72);
  font-size: 12px;
  line-height: 1.65;
}

.footer-contact-label {
  color: rgba(243, 247, 244, 0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.85;
  letter-spacing: 0.1em;
}

.footer-contact-value {
  color: var(--fog);
  overflow-wrap: anywhere;
}

.footer-note {
  margin: 0;
  padding: 18px 0;
  color: rgba(243, 247, 244, 0.64);
  border-bottom: 1px solid rgba(30, 58, 46, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 34px;
  color: rgba(243, 247, 244, 0.58);
  font-size: 12px;
  line-height: 1.7;
}

.footer-copy,
.footer-legal,
.footer-closing {
  display: inline-block;
}

.footer-legal {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-closing {
  color: var(--lime);
}

.page-shell {
  width: 100%;
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--page-pad);
  padding-left: var(--page-pad);
}

.page-shell--wide {
  max-width: 1440px;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

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

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

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

.col-span-4 {
  grid-column: span 4;
}

.col-span-5 {
  grid-column: span 5;
}

.col-span-6 {
  grid-column: span 6;
}

.col-span-7 {
  grid-column: span 7;
}

.col-span-8 {
  grid-column: span 8;
}

.breadcrumb {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--lime);
}

.breadcrumb [aria-current="page"] {
  color: var(--fog);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  color: var(--fog);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

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

.btn--lime {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 1px rgba(200, 255, 77, 0.16);
}

.btn--lime:hover {
  background: #D7FF7A;
  border-color: #D7FF7A;
  box-shadow: 0 0 0 5px rgba(200, 255, 77, 0.1);
}

.btn--ghost {
  color: var(--fog);
  background: transparent;
  border-color: var(--line);
}

.btn--ghost:hover {
  color: var(--lime);
  border-color: rgba(200, 255, 77, 0.6);
  background: rgba(200, 255, 77, 0.05);
}

.btn--paper {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.btn--paper:hover {
  background: #FFF8E9;
  border-color: #FFF8E9;
}

.prose {
  max-width: 72ch;
  color: var(--fog);
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 1.85;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  margin-bottom: 1.2em;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  color: var(--fog);
}

.prose h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.prose h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.prose a {
  color: var(--lime);
  text-decoration-thickness: 1px;
}

.prose strong {
  color: var(--lime);
  font-weight: 600;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose blockquote {
  padding: 18px 22px;
  margin-left: 0;
  color: var(--ink);
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose--paper {
  color: var(--ink);
}

.prose--paper h2,
.prose--paper h3,
.prose--paper strong {
  color: var(--ink);
}

.prose--paper a {
  color: #2F5A43;
}

.chapter {
  position: relative;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(40px, 7vw, 96px);
}

.chapter + .chapter {
  border-top: 1px solid rgba(30, 58, 46, 0.42);
}

.chapter-head {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.chapter-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

.chapter-index::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--lime);
}

.chapter-title {
  max-width: 15ch;
  margin: 0;
  color: var(--fog);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.chapter-lead {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--lime);
  border-radius: 999px;
}

.display-title {
  margin: 0;
  color: var(--fog);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.data-num {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.data-band {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(90deg, rgba(200, 255, 77, 0.06), transparent 45%),
    var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-stat {
  display: grid;
  gap: 4px;
  min-width: 120px;
}

.data-stat__label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.data-value {
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.paper-band {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(6, 18, 13, 0.04), transparent 35%),
    var(--paper);
  border-top: 1px solid rgba(6, 18, 13, 0.12);
  border-bottom: 1px solid rgba(6, 18, 13, 0.12);
  padding-top: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(36px, 6vw, 80px);
}

.paper-band .display-title,
.paper-band .chapter-title {
  color: var(--ink);
}

.paper-band .chapter-lead {
  color: #31463A;
}

.paper-band .section-kicker {
  color: #7B5C18;
}

.paper-band .section-kicker::before {
  background: var(--ink);
}

.paper-band .data-num {
  color: var(--ink);
}

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 30px);
  background: linear-gradient(145deg, rgba(11, 31, 23, 0.96), rgba(11, 31, 23, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(30, 58, 46, 0.82);
}

.panel__body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 9px;
  color: rgba(243, 247, 244, 0.78);
  background: rgba(6, 18, 13, 0.36);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tag--lime {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.tag--gold {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.tag--away {
  color: var(--ink);
  background: var(--away);
  border-color: var(--away);
}

.tag--red {
  color: var(--fog);
  border-color: rgba(194, 73, 75, 0.86);
  background: rgba(194, 73, 75, 0.22);
}

.tag--yellow {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.rule {
  height: 1px;
  margin: clamp(24px, 4vw, 48px) 0;
  background: var(--line);
  border: 0;
}

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 255, 77, 0.14), transparent 32%),
    linear-gradient(135deg, #10291E, #06120D 72%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.media-frame > img,
.media-frame > video,
.media-frame > picture,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 255, 77, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 77, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(6, 18, 13, 0.45);
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--tall {
  aspect-ratio: 4 / 5;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame__caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 7px 10px;
  color: var(--fog);
  background: rgba(6, 18, 13, 0.8);
  border-left: 2px solid var(--lime);
  border-radius: 0 10px 10px 0;
  font-size: 12px;
  line-height: 1.5;
}

.accordion {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.accordion + .accordion {
  margin-top: 10px;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--fog);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.accordion[open] {
  border-left: 3px solid var(--lime);
}

.accordion[open] summary::after {
  content: "−";
}

.accordion__body {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.chapter-rail {
  position: fixed;
  top: 50%;
  left: max(10px, calc((100vw - 1440px) / 2 + 8px));
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  background: rgba(6, 18, 13, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: translateY(-50%);
}

.chapter-rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  color: var(--muted);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.chapter-rail__num {
  color: rgba(243, 247, 244, 0.48);
}

.chapter-rail__link:hover {
  color: var(--fog);
  background: rgba(200, 255, 77, 0.06);
}

.chapter-rail__link.is-active {
  color: var(--ink);
  background: var(--lime);
}

.chapter-rail__link.is-active .chapter-rail__num {
  color: var(--ink);
}

html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}

html.has-js [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .chapter-rail {
    display: none;
  }
}

@media (max-width: 1080px) {
  .masthead {
    grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr);
  }

  .masthead-note {
    display: none;
  }

  .brand-sub {
    max-width: 34ch;
    white-space: normal;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid rgba(30, 58, 46, 0.72);
    border-left: 0;
  }
}

@media (max-width: 920px) {
  body.nav-open {
    overflow: hidden;
  }

  .header-micro {
    gap: 8px;
    padding: 8px 16px;
  }

  .header-signal {
    color: rgba(243, 247, 244, 0.72);
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .league-strip {
    display: none;
  }

  .collection-chip {
    padding: 6px 9px;
  }

  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 16px 12px;
  }

  .masthead-side--start {
    display: none;
  }

  .masthead-side--end {
    gap: 8px;
    justify-self: end;
  }

  .brand {
    justify-self: start;
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px 12px 20px 12px;
    box-shadow: 4px 4px 0 rgba(224, 167, 60, 0.24);
    font-size: 16px;
  }

  .brand-word {
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .brand-sub {
    display: none;
  }

  .header-search {
    display: none;
  }

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

  .site-header[data-nav-open] .nav-toggle {
    color: var(--ink);
    background: var(--lime);
    border-color: var(--lime);
  }

  .site-header[data-nav-open] .nav-toggle__bars span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header[data-nav-open] .nav-toggle__bars span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 120;
    max-height: calc(100dvh - 120px);
    padding: 12px;
    overflow: auto;
    background: var(--panel);
    border: 1px solid rgba(200, 255, 77, 0.55);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-width: none;
    padding: 0;
  }

  .nav-link {
    padding: 14px 12px;
    color: var(--fog);
    background: rgba(6, 18, 13, 0.66);
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 13px;
  }

  .nav-link::before {
    color: var(--gold);
  }

  .nav-link:hover {
    background: rgba(200, 255, 77, 0.08);
  }

  .nav-link[aria-current="page"] {
    background: rgba(200, 255, 77, 0.1);
    border-color: rgba(200, 255, 77, 0.42);
  }

  .nav-link[aria-current="page"]::after {
    display: none;
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    background: rgba(2, 7, 4, 0.72);
  }

  .site-header[data-nav-open] .nav-scrim {
    display: block;
  }

  .footer-lead {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 34px;
  }

  .footer-tagline {
    text-align: left;
  }

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

  .footer-col--contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .col-span-4,
  .col-span-5,
  .col-span-6,
  .col-span-7,
  .col-span-8 {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .header-signal {
    max-width: 18ch;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-word {
    font-size: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .nav-toggle__label {
    display: none;
  }

  .footer-grid,
  .grid--2,
  .grid--3,
  .grid--12 {
    grid-template-columns: 1fr;
  }

  .col-span-4,
  .col-span-5,
  .col-span-6,
  .col-span-7,
  .col-span-8 {
    grid-column: 1 / -1;
  }

  .data-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-stat {
    min-width: 0;
  }

  .panel__head {
    flex-direction: column;
    gap: 10px;
  }

  .chapter-rail {
    display: none;
  }
}

@media (max-width: 420px) {
  .collection-chip__text {
    max-width: 7ch;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-list {
    grid-template-columns: 1fr;
  }

  .footer-contact-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html.has-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .header-progress__bar {
    transition: none !important;
  }

  .btn:hover {
    transform: none;
  }
}
