/* 爱体育在线 · 全站共享样式 /assets/site.css */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

a { color: inherit; }

button { font: inherit; color: inherit; }

table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  --pitch: #0E2A22;
  --pitch-2: #123A2E;
  --pitch-3: #0A211B;
  --ink: #08120F;
  --orange: #FF6B1A;
  --orange-soft: #FF9A5C;
  --yellow: #F2C230;
  --teal: #6FD3C0;
  --silver: #C9D2D0;
  --silver-mid: #8A9794;
  --head: #EFF4F2;
  --paper: #F4EFE2;
  --paper-ink: #17241F;
  --paper-line: #D8CEB8;
  --line: rgba(201, 210, 208, 0.14);
  --line-strong: rgba(201, 210, 208, 0.30);
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --shell: 1280px;
  --gut: 28px;
  --header-h: 72px;
  --header-h-sm: 56px;
  --r: 2px;
  --shadow: 0 18px 42px -28px rgba(0, 0, 0, 0.95);
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
  --dur: 180ms;
}

/* ---------- 3. Base typography ---------- */
body {
  background: var(--pitch);
  color: var(--silver);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--head); font-weight: 900; line-height: 1.1; letter-spacing: -0.01em; }

h1 { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; }
h2 { font-size: clamp(24px, 2.8vw, 40px); }
h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 800; }
h4 { font-size: 17px; font-weight: 800; }

p { line-height: 1.55; }

strong { font-weight: 800; color: var(--head); }

em { font-style: italic; }

.t-display {
  font-family: var(--font-mono);
  font-size: clamp(52px, 15vw, 200px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.t-h1 { font-size: clamp(30px, 4.4vw, 60px); font-weight: 900; line-height: 1.04; color: var(--head); }
.t-h2 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 900; line-height: 1.08; color: var(--head); }
.t-h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 800; color: var(--head); }

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

.muted { color: var(--silver-mid); }

.action-word { font-style: italic; color: var(--orange-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
}

.annotation {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver-mid);
  writing-mode: vertical-rl;
}

.annotation--rotated {
  writing-mode: horizontal-tb;
  transform: rotate(90deg);
  transform-origin: left center;
}

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--silver);
  max-width: 64ch;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
}

/* ---------- 4. Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1000px) {
  .page-shell { grid-template-columns: 264px minmax(0, 1fr); }
}

.rail {
  padding: 8px 0 40px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1000px) {
  .rail {
    position: sticky;
    top: calc(var(--header-h-sm) + 22px);
    align-self: start;
    max-height: calc(100vh - 96px);
    overflow: auto;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 8px 26px 40px 0;
  }
}

.rail-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver-mid);
  margin-bottom: 14px;
}

.rail-group { padding: 14px 0; border-top: 1px solid var(--line); }
.rail-group:first-of-type { border-top: 0; }

.rail-link {
  display: block;
  padding: 8px 0 8px 12px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: var(--silver-mid);
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.rail-link:hover { color: var(--silver); border-left-color: var(--line-strong); }

.rail-link[aria-current="page"] { color: var(--orange); border-left-color: var(--orange); font-weight: 700; }

.section {
  padding: clamp(46px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.section:first-child { border-top: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-bottom: 22px;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 32px 0; }
.accent-rule { height: 2px; width: 64px; background: var(--orange); border: 0; margin: 18px 0; }

/* ---------- 5. Header ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 120;
  background: var(--orange);
  color: #0B1F19;
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 42, 34, 0.88);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.site-header.is-compact {
  background: rgba(10, 33, 27, 0.97);
  border-bottom-color: var(--line-strong);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  z-index: 80;
  transition: width 90ms linear;
}

.header-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
  transition: min-height var(--dur) var(--ease);
}

.site-header.is-compact .header-inner { min-height: var(--header-h-sm); }

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 16px;
  font-weight: 900;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.brand:hover .brand-mark { background: var(--orange); color: #0B1F19; }

.brand-text { display: flex; flex-direction: column; line-height: 1.14; }

.brand-name { font-size: 17px; font-weight: 800; letter-spacing: 0.06em; color: var(--head); }

.brand-since {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-mid);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--orange); color: var(--orange); }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav { margin-left: auto; }

.nav-list { display: flex; align-items: center; gap: 26px; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--silver-mid);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.nav-link:hover { color: var(--silver); }
.nav-link:hover::after { transform: scaleX(0.5); }

.nav-link[aria-current="page"] { color: var(--head); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.season-dock { position: relative; flex: 0 0 auto; margin-left: 4px; }

.season-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--silver);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.season-trigger:hover { border-color: var(--orange); color: var(--orange); }

.season-trigger-value {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.season-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(300px, calc(100vw - 40px));
  padding: 16px;
  background: var(--pitch-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  z-index: 70;
}

.season-panel[hidden] { display: none; }

.season-panel-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-mid);
}

.season-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }

.season-chip {
  display: block;
  padding: 7px 4px;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--silver);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.season-chip:hover { border-color: var(--orange); color: var(--orange); }

.season-chip[aria-current="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #0B1F19;
  font-weight: 700;
}

.season-all {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--orange-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.season-all:hover { border-bottom-color: currentColor; }

/* ---------- 6. Footer ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 110px);
  background: var(--ink);
  color: var(--silver);
  border-top: 1px solid var(--line-strong);
}

.footer-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 72px) var(--gut) 26px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
}

.footer-block {
  padding: 4px 26px 10px;
  border-left: 1px solid var(--line);
}

.footer-block:first-child { border-left: 0; padding-left: 0; }

.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver-mid);
}

.footer-wordmark {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--head);
}

.footer-wordmark-accent { color: var(--orange); }

.footer-since {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--silver-mid);
}

.footer-desc {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--silver-mid);
  max-width: 34ch;
}

.footer-entries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.footer-entry {
  display: inline-block;
  padding: 6px 10px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--silver);
  text-decoration: none;
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.footer-entry:hover { border-color: var(--orange); color: var(--orange); }

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 14px;
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-links a:hover { color: var(--orange); border-bottom-color: rgba(255, 107, 26, 0.5); }

.contact-list { display: flex; flex-direction: column; gap: 14px; }

.contact-item { display: flex; flex-direction: column; gap: 4px; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-mid);
}

.contact-value { font-size: 14px; line-height: 1.5; color: var(--silver); }

.contact-item:nth-child(1) .contact-value,
.contact-item:nth-child(2) .contact-value {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.footer-note {
  margin-top: 18px;
  padding-left: 10px;
  border-left: 2px solid var(--yellow);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--silver-mid);
}

.footer-meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--silver-mid);
}

.footer-base {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 16px var(--gut) 30px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--silver-mid);
}

/* ---------- 7. Buttons & tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: transparent;
  color: var(--silver);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn:hover { border-color: var(--orange); color: var(--orange); }
.btn:active { transform: translateY(1px); }

.btn--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #0B1F19;
}

.btn--accent:hover { background: var(--orange-soft); border-color: var(--orange-soft); color: #0B1F19; }

.btn--ghost:hover { background: rgba(255, 107, 26, 0.08); }

.btn--sm { padding: 8px 14px; font-size: 12.5px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-mid);
}

.tag--accent { color: var(--orange); border-color: rgba(255, 107, 26, 0.5); }
.tag--warn { color: var(--yellow); border-color: rgba(242, 194, 48, 0.5); }
.tag--data { color: var(--teal); border-color: rgba(111, 211, 192, 0.45); }

/* ---------- 8. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--silver-mid);
  padding: 18px 0 0;
}

.breadcrumb a { color: var(--silver-mid); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }

/* ---------- 9. Panels, cards, stats, tables ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 40px);
  background: var(--pitch-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel--flat { background: transparent; box-shadow: none; }
.panel--stack { margin-top: 18px; }

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

.panel--paper h2,
.panel--paper h3,
.panel--paper h4 { color: var(--paper-ink); }

.panel[data-section] {
  transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.panel[data-section].is-active {
  border-color: rgba(255, 107, 26, 0.5);
  box-shadow: inset 3px 0 0 var(--orange), var(--shadow);
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--pitch-2);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.card:hover { border-color: var(--line-strong); background: #144034; }

.card-title { font-size: 17px; font-weight: 800; color: var(--head); }

.card-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-mid);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat { padding: 18px 16px; background: var(--pitch-2); }

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-mid);
}

.stat-note { font-size: 12px; color: var(--silver-mid); }

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--pitch-2);
}

.data-table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.data-table th:first-child,
.data-table td:first-child {
  text-align: left;
  white-space: normal;
  font-family: var(--font-sans);
}

.data-table thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-mid);
  border-bottom-color: var(--line-strong);
}

.data-table tbody tr:hover { background: rgba(201, 210, 208, 0.04); }

.data-table td.is-up { color: var(--teal); }
.data-table td.is-warn { color: var(--yellow); }

/* ---------- 10. Disclosure & copy ---------- */
.disclosure { border-top: 1px solid var(--line); }

.disclosure-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 15px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--silver);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.disclosure-head:hover { color: var(--orange); }

.disclosure-icon {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--orange);
  transition: transform var(--dur) var(--ease);
}

.disclosure-head[aria-expanded="true"] .disclosure-icon { transform: rotate(45deg); }

.disclosure-body { padding: 16px 0 6px; }
.disclosure-body[hidden] { display: none; }

.copy-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--silver-mid);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.copy-btn:hover { border-color: var(--orange); color: var(--orange); }

.copy-status {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--teal);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.copy-status.is-visible { opacity: 1; }

/* ---------- 11. Media frames ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--pitch-3);
  border: 1px solid var(--line);
}

.img-frame > img,
.img-frame > svg,
.img-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.06), transparent 42%);
}

.img-frame--wide { aspect-ratio: 16 / 9; }
.img-frame--archive { aspect-ratio: 4 / 3; }
.img-frame--square { aspect-ratio: 1 / 1; }
.img-frame--tall { aspect-ratio: 3 / 4; }

.img-frame__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(8, 18, 15, 0.94), transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--silver);
}

.img-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 140px;
  background:
    repeating-linear-gradient(45deg, rgba(201, 210, 208, 0.05) 0 10px, transparent 10px 20px),
    var(--pitch-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-mid);
}

/* ---------- 12. Long-form prose ---------- */
.prose {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.78;
}

.prose p + p { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { margin-top: 1em; }

.prose li {
  position: relative;
  padding-left: 22px;
  margin-top: 0.5em;
}

.prose li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.panel--paper .prose { color: var(--paper-ink); }
.panel--paper .prose li::before { color: #C24E0A; }

/* ---------- 13. Reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

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

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 14. Focus ---------- */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1100px) {
  .nav-list { gap: 18px; }
  .nav-link { font-size: 13.5px; }
}

@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-block:nth-child(odd) { border-left: 0; padding-left: 0; }
  .footer-block:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 26px;
    padding-top: 26px;
  }
}

@media (max-width: 960px) {
  :root { --gut: 20px; }

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

  .brand-since { display: none; }

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 6px var(--gut) 18px;
    background: var(--pitch-3);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    max-height: calc(100vh - 64px);
    overflow: auto;
  }

  .site-nav[data-open="true"] {
    display: block;
    animation: nav-in var(--dur) var(--ease);
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }

  .nav-list li { border-bottom: 1px solid var(--line); }

  .nav-link { display: block; padding: 14px 2px; font-size: 15px; }

  .site-nav .nav-link::after {
    left: 2px;
    right: auto;
    width: 22px;
    bottom: 8px;
  }

  .season-dock { margin-left: 0; }
}

@media (max-width: 640px) {
  .season-trigger-label { display: none; }
  .season-panel { right: -8px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding-top: 44px; }

  .footer-block {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 0;
    padding: 22px 0;
  }

  .footer-block:first-child { border-top: 0; padding-top: 0; }
  .footer-block:nth-child(n + 3) { margin-top: 0; padding-top: 22px; }
}

/* ---------- 16. Reduced motion ---------- */
@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;
  }

  .scroll-progress { transition: none; }

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