:root {
  --ink: #0B1F18;
  --charcoal: #111512;
  --paper: #F4EFE2;
  --sheet: #E7DFCF;
  --stone: #6E7A72;
  --moss: #3F5B4B;
  --lemon: #C8FF3D;
  --amber: #FFA64D;
  --ice: #8AD8FF;
  --clay: #B76E4F;
  --line: rgba(244, 239, 226, 0.15);
  --line-strong: rgba(231, 223, 207, 0.3);
  --font-display: "Arial Narrow", "Helvetica Neue", "Noto Sans SC", sans-serif;
  --font-editorial: "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --scroll-progress: 0;
}

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

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

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--lemon);
  outline-offset: 3px;
}

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

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 520px at 82% -8%, rgba(200, 255, 61, 0.09), transparent 62%),
    radial-gradient(700px 420px at 8% 18%, rgba(138, 216, 255, 0.05), transparent 60%),
    repeating-linear-gradient(0deg, rgba(244, 239, 226, 0.028) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(244, 239, 226, 0.028) 0 1px, transparent 1px 64px);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 2px;
  background: var(--lemon);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

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

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

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--clay);
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.editorial-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.lede {
  max-width: 62ch;
  color: rgba(244, 239, 226, 0.82);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.85;
}

.prose {
  max-width: 72ch;
  color: rgba(244, 239, 226, 0.84);
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--paper);
  line-height: 1.25;
}

.prose h2 {
  margin-top: 1.6em;
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.prose h3 {
  margin-top: 1.4em;
  font-size: 1.2rem;
}

.prose a {
  color: var(--lemon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px);
}

.section--paper {
  background: var(--paper);
  color: var(--charcoal);
}

.section--paper .kicker {
  color: var(--moss);
}

.section--paper .display-title,
.section--paper .editorial-title {
  color: var(--charcoal);
}

.section--paper .lede,
.section--paper .prose {
  color: #2c3a31;
}

.section--charcoal {
  background: var(--charcoal);
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

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

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

.btn--lemon:hover {
  background: #d6ff70;
  border-color: #d6ff70;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(244, 239, 226, 0.32);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--lemon);
  color: var(--lemon);
}

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

.btn--small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  vertical-align: middle;
}

.tag--lemon {
  background: rgba(200, 255, 61, 0.12);
  color: var(--lemon);
}

.tag--amber {
  background: rgba(255, 166, 77, 0.12);
  color: var(--amber);
}

.tag--ice {
  background: rgba(138, 216, 255, 0.12);
  color: var(--ice);
}

.tag--clay {
  background: rgba(183, 110, 79, 0.16);
  color: #e7a88c;
}

.breadcrumbs {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs-link {
  border-bottom: 1px solid transparent;
  color: rgba(244, 239, 226, 0.7);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.breadcrumbs-link:hover {
  border-color: var(--lemon);
  color: var(--lemon);
}

.breadcrumbs-sep {
  color: var(--clay);
}

.breadcrumbs-current {
  color: var(--paper);
}

.index-list {
  border-top: 1px solid var(--line);
}

.index-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.index-row__no {
  color: var(--clay);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.index-row__title {
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
}

.index-row__meta {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
}

.section--paper .index-list,
.section--paper .index-row {
  border-color: rgba(17, 21, 18, 0.16);
}

.section--paper .index-row__title {
  color: var(--charcoal);
}

.section--paper .index-row__meta {
  color: #5b675f;
}

.data-card {
  position: relative;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(231, 223, 207, 0.18);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%), var(--charcoal);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.data-card::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(244, 239, 226, 0.05);
  pointer-events: none;
}

.data-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.data-value {
  display: block;
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.data-label {
  color: rgba(244, 239, 226, 0.7);
  font-size: 12px;
  line-height: 1.5;
}

.meter {
  position: relative;
  height: 8px;
  overflow: hidden;
  background: rgba(244, 239, 226, 0.12);
}

.meter__bar {
  display: block;
  width: var(--meter-value, 0%);
  height: 100%;
  background: var(--lemon);
  transition: width 420ms var(--ease);
}

.meter--amber .meter__bar {
  background: var(--amber);
}

.meter--ice .meter__bar {
  background: var(--ice);
}

.tabs {
  border: 1px solid var(--line);
  background: rgba(17, 21, 18, 0.62);
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
}

.tab {
  appearance: none;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: rgba(244, 239, 226, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.tab:hover {
  border-color: rgba(200, 255, 61, 0.35);
  color: var(--paper);
}

.tab[aria-selected="true"] {
  background: var(--lemon);
  border-color: var(--lemon);
  color: var(--ink);
}

.tabpanel {
  padding: clamp(16px, 3vw, 28px);
}

.media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(231, 223, 207, 0.2);
  background: #0d1a15;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(244, 239, 226, 0.06) 32px 33px),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(244, 239, 226, 0.06) 32px 33px);
  mix-blend-mode: screen;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) brightness(0.9);
}

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

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

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

.media-caption {
  margin-top: 8px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  position: relative;
  padding: 0 0 20px 28px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--lemon);
  border-radius: 50%;
  background: var(--ink);
}

.timeline__time {
  display: block;
  margin-bottom: 4px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 2px;
  overflow: hidden;
  background: rgba(244, 239, 226, 0.06);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lemon), var(--amber));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
}

.header-utility {
  background-color: #0a1410;
  background-image: repeating-linear-gradient(90deg, transparent 0 23px, rgba(244, 239, 226, 0.045) 23px 24px);
  border-bottom: 1px solid rgba(183, 110, 79, 0.32);
  color: rgba(244, 239, 226, 0.82);
}

.header-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--lemon);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.13);
}

.brand-lockup__text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  white-space: nowrap;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.v4-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(138, 216, 255, 0.38);
  border-radius: 999px;
  background: rgba(138, 216, 255, 0.06);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  white-space: nowrap;
}

.v4-badge__dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 7px rgba(138, 216, 255, 0.8);
}

.utility-link {
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(244, 239, 226, 0.32);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.utility-link:hover {
  border-color: var(--lemon);
  color: var(--lemon);
}

.header-bar {
  position: relative;
  background-color: var(--charcoal);
  background-image: radial-gradient(120% 180% at 92% -30%, rgba(200, 255, 61, 0.08), transparent 55%);
  border-bottom: 1px solid rgba(200, 255, 61, 0.22);
}

.header-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 36px);
  min-height: 74px;
}

.header-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 4px;
  align-items: center;
  flex: 0 0 auto;
}

.header-brand::before {
  content: "";
  grid-row: 1 / span 2;
  width: 5px;
  height: 36px;
  align-self: center;
  background: var(--lemon);
  transform: skewX(-9deg);
  box-shadow: 0 0 18px rgba(200, 255, 61, 0.35);
}

.header-brand__word {
  grid-column: 2;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-brand__sub {
  grid-column: 2;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.3em;
  line-height: 1;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(244, 239, 226, 0.28);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle__label {
  line-height: 1;
}

.primary-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
}

.nav-item {
  min-width: 0;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 2px;
  color: rgba(244, 239, 226, 0.76);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.nav-index {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: color 180ms var(--ease);
}

.nav-link:hover {
  background: rgba(244, 239, 226, 0.06);
  color: var(--paper);
}

.nav-link[aria-current="page"] {
  background: rgba(200, 255, 61, 0.08);
  color: var(--lemon);
  box-shadow: inset 0 -2px 0 var(--lemon);
}

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

.header-cta {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 14px;
  font-size: 13px;
}

.header-league {
  background-color: #08130f;
  border-bottom: 1px solid rgba(244, 239, 226, 0.12);
}

.header-league__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 40px;
  overflow: hidden;
}

.league-label {
  position: relative;
  flex: 0 0 auto;
  padding-left: 9px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  white-space: nowrap;
}

.league-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 13px;
  background: var(--amber);
  transform: translateY(-50%);
}

.league-rail {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
  padding: 6px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 239, 226, 0.24) transparent;
}

.league-rail::-webkit-scrollbar {
  height: 3px;
}

.league-rail::-webkit-scrollbar-thumb {
  background: rgba(244, 239, 226, 0.24);
}

.league-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(244, 239, 226, 0.18);
  border-radius: 999px;
  color: rgba(244, 239, 226, 0.72);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.league-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.league-chip:hover {
  border-color: rgba(138, 216, 255, 0.5);
  color: var(--paper);
}

.league-chip[aria-pressed="true"] {
  border-color: var(--ice);
  background: rgba(138, 216, 255, 0.1);
  color: var(--paper);
}

.league-chip[aria-pressed="true"]::before {
  border-color: var(--ice);
  background: var(--ice);
  box-shadow: 0 0 8px rgba(138, 216, 255, 0.7);
}

.league-status {
  flex: 0 0 auto;
  min-width: 78px;
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.site-footer {
  position: relative;
  border-top: 1px solid rgba(200, 255, 61, 0.22);
  background-color: var(--charcoal);
  background-image:
    radial-gradient(700px 320px at 8% 0%, rgba(63, 91, 75, 0.3), transparent 65%),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(244, 239, 226, 0.035) 47px 48px);
  color: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr 0.72fr 0.72fr 1.4fr;
  gap: clamp(24px, 4vw, 52px);
  padding-block: clamp(48px, 7vw, 84px);
}

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

.footer-brandline {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.footer-tagline {
  max-width: 34ch;
  margin-top: 12px;
  color: rgba(244, 239, 226, 0.7);
  font-size: 14px;
  line-height: 1.75;
}

.footer-icp {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 8px;
  border: 1px dashed rgba(244, 239, 226, 0.24);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.footer-cert {
  margin-top: 10px;
}

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

.footer-heading {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.footer-links {
  display: grid;
  gap: 2px;
}

.footer-links a {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  color: rgba(244, 239, 226, 0.76);
  font-size: 14px;
  line-height: 1.5;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.footer-links a::before {
  content: "·";
  margin-right: 8px;
  color: var(--clay);
}

.footer-links a:hover {
  border-color: var(--lemon);
  color: var(--lemon);
}

.footer-contact-list {
  display: grid;
  gap: 0;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(244, 239, 226, 0.14);
}

.footer-contact-key {
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.footer-contact-value {
  color: rgba(244, 239, 226, 0.88);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer-note {
  margin-top: 14px;
  padding-left: 10px;
  border-left: 2px solid var(--amber);
  color: rgba(244, 239, 226, 0.62);
  font-size: 12px;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--stone);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.footer-copy,
.footer-legal {
  margin: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }

  .nav-link {
    padding-inline: 9px;
    font-size: 13px;
  }
}

@media (max-width: 1040px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-utility {
    display: none;
  }

  .header-bar__inner {
    gap: 12px;
    min-height: 64px;
  }

  .header-brand::before {
    height: 31px;
  }

  .header-brand__word {
    font-size: 24px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100dvh - 120px);
    padding: 12px var(--gutter) 18px;
    overflow-y: auto;
    border-top: 1px solid rgba(200, 255, 61, 0.2);
    border-bottom: 1px solid rgba(244, 239, 226, 0.16);
    background: #0d1713;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }

  .site-header[data-open] .primary-nav,
  .primary-nav[data-open] {
    display: flex;
  }

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

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

  .site-header[data-open] .nav-toggle__bars span:nth-child(2) {
    opacity: 0;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(244, 239, 226, 0.12);
    border-radius: 0;
    font-size: 16px;
  }

  .nav-index {
    width: 26px;
    flex: 0 0 auto;
  }

  .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--lemon);
  }

  .header-league__inner {
    min-height: 38px;
  }

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

@media (max-width: 760px) {
  .league-label,
  .league-status {
    display: none;
  }

  .league-rail {
    width: 100%;
    padding-block: 7px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-legal {
    margin-top: 6px;
  }
}

@media (max-width: 620px) {
  .header-brand__sub {
    display: none;
  }

  .header-brand {
    grid-template-rows: auto;
  }

  .header-brand::before {
    height: 28px;
  }

  .header-brand__word {
    font-size: 21px;
  }

  .nav-toggle__label {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    justify-content: center;
    padding: 0;
  }

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

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

  .index-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .index-row__meta {
    grid-column: 2;
  }

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

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

  .btn:hover {
    transform: none;
  }
}
