/* ============================================================
   Pelican Bicycle Benchmark — race programme
   ============================================================ */

:root {
  --paper: #f5f0e6;
  --paper-2: #ece3d2;
  --paper-3: #e3d8c4;
  --white: #fffdf7;
  --ink: #102a32;
  --ink-soft: #1d3d45;
  --teal: #0d4f4f;
  --teal-deep: #082f2f;
  --coral: #e4572e;
  --coral-deep: #bf3f1b;
  --mustard: #e9b949;
  --muted: rgba(16, 42, 50, 0.68);
  --line: rgba(16, 42, 50, 0.16);
  --line-strong: rgba(16, 42, 50, 0.42);
  --maxw: 1260px;
  --pad: clamp(20px, 4vw, 56px);
  --font-display: "Anton", "Arial Narrow", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-cjk-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Instrument Serif", "Songti SC", "Noto Serif SC", Georgia, serif;
  --font-body: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-hard-lg: 12px 12px 0 var(--ink);
  --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%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% 2%, rgba(228, 87, 46, 0.07), transparent 32%),
    radial-gradient(circle at 94% 14%, rgba(13, 79, 79, 0.06), transparent 30%),
    repeating-linear-gradient(0deg, rgba(16, 42, 50, 0.022) 0 1px, transparent 1px 6px);
  overflow-x: hidden;
}

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

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

::selection {
  background: var(--coral);
  color: var(--white);
}

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

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
}

h1 {
  font-size: clamp(50px, 7vw, 108px);
}

h2 {
  font-size: clamp(34px, 4.6vw, 68px);
}

h3 {
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 em,
h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.025em;
  color: var(--coral);
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2 {
  font-family: var(--font-cjk-display);
  font-weight: 900;
  text-transform: none;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

html[lang="zh-CN"] h1 em,
html[lang="zh-CN"] h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

.wrap {
  width: min(var(--maxw), 100% - (var(--pad) * 2));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 8.5vw, 120px);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--coral);
  transform: rotate(45deg);
}

.section-label--light {
  color: rgba(245, 240, 230, 0.68);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(228, 87, 46, 0.16);
}

.lede {
  max-width: 56ch;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  padding-bottom: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 2px solid var(--ink);
}

.section-head h2 {
  max-width: 14ch;
}

.section-aside {
  max-width: 42ch;
  font-size: 15px;
  color: var(--muted);
}

.section-head--light {
  border-color: rgba(245, 240, 230, 0.55);
}

.section-head--light .section-aside {
  color: rgba(245, 240, 230, 0.7);
}

.section-head--light h2 {
  color: var(--paper);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.link-arrow span {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary {
  background: var(--coral);
  color: var(--ink);
}

.btn-primary:focus-visible {
  outline-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--coral);
}

.btn-dark:hover {
  box-shadow: 6px 6px 0 var(--coral);
}

.btn-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.btn-light:hover {
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 10px;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-sm:hover {
  box-shadow: 5px 5px 0 var(--ink);
}

.arrow {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

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

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  z-index: 60;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 240, 230, 0.18);
  background: var(--teal-deep);
  color: rgba(245, 240, 230, 0.82);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  padding: 7px 0;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: ticker 48s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 230, 0.9);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  color: var(--ink);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-text span {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--coral);
  transition: right 0.25s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  right: 0;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
}

.nav-toggle-bars span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6.5vw, 92px) clamp(40px, 5vw, 72px);
}

.hero::before {
  content: "PB";
  position: absolute;
  top: -0.12em;
  right: -0.06em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(280px, 42vw, 620px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 42, 50, 0.1);
  pointer-events: none;
  user-select: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 8%;
  left: -14%;
  z-index: 0;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 185, 73, 0.22), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.hero-copy h1 {
  margin: 18px 0 24px;
}

.hero-copy h1 em {
  display: inline-block;
  font-size: 1.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-figure {
  position: relative;
  margin: 0;
}

.poster-card {
  position: relative;
  display: block;
  padding: 12px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard-lg);
  transform: rotate(-1.6deg);
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.poster-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 14px 16px 0 var(--ink);
}

.poster-card::before,
.poster-card::after {
  content: "";
  position: absolute;
  top: -13px;
  z-index: 2;
  width: 86px;
  height: 26px;
  background: rgba(233, 185, 73, 0.82);
  border: 1px solid rgba(16, 42, 50, 0.18);
}

.poster-card::before {
  left: 24px;
  transform: rotate(-5deg);
}

.poster-card::after {
  right: 24px;
  transform: rotate(4deg);
}

.poster-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.poster-bib {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--ink);
}

.poster-stamp {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  text-align: center;
  line-height: 1;
  transform: rotate(8deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.poster-stamp span {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.poster-stamp strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.poster-stamp small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.poster-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 6px 2px;
}

.poster-caption strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.poster-caption span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.hero-figure figcaption {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* ---------- Stats ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.stat-strip li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 22px;
  border-left: 1px solid var(--line);
  list-style: none;
}

.stat-strip li:first-child {
  border-left: 0;
}

.stat-strip strong {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 0.9;
}

.stat-strip span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Prompt band ---------- */
.prompt-band {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--paper);
}

.prompt-band::before {
  content: "“";
  position: absolute;
  top: -0.28em;
  left: 0.02em;
  font-family: var(--font-serif);
  font-size: clamp(220px, 30vw, 460px);
  line-height: 1;
  color: rgba(233, 185, 73, 0.12);
  pointer-events: none;
}

.prompt-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(52px, 7vw, 96px);
}

.prompt-quote {
  max-width: 24ch;
  font-size: clamp(25px, 3.3vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.025em;
  font-weight: 600;
}

html[lang="zh-CN"] .prompt-quote {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: 0;
  max-width: 22ch;
}

.prompt-note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.6);
}

.prompt-band-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.prompt-band-actions .link-arrow {
  color: rgba(245, 240, 230, 0.8);
}

/* ---------- Race grid ---------- */
.race-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.race-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.race-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--accent, var(--ink));
}

.race-card--winner {
  box-shadow: 6px 6px 0 var(--coral);
}

.race-card-media {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}

.race-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.race-card:hover .race-card-media img {
  transform: scale(1.025);
}

.race-bib {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
}

.race-score {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.race-score small {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.ribbon {
  position: absolute;
  top: 14px;
  right: -38px;
  width: 150px;
  padding: 5px 0;
  background: var(--mustard);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(38deg);
}

.race-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.race-vendor {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.race-card-body h3 {
  margin-top: 7px;
  font-size: 22px;
}

.race-tagline {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.race-meters {
  display: flex;
  gap: 16px;
  margin: auto 0 14px;
  padding-top: 16px;
}

.race-meters span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.race-meters b {
  font-size: 13px;
  color: var(--ink);
}

.race-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.race-cta span {
  font-family: var(--font-body);
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}

.race-card:hover .race-cta span {
  transform: translateX(4px);
}

/* ---------- Scoreboard ---------- */
.scoreboard-section {
  position: relative;
  background: var(--ink);
  color: var(--paper);
}

.scoreboard-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 10px, var(--ink) 10px 20px);
  opacity: 0.55;
}

.scoreboard-section .wrap {
  padding-block: clamp(64px, 8vw, 110px);
}

.table-scroll {
  overflow-x: auto;
  border-bottom: 1px solid rgba(245, 240, 230, 0.28);
  -webkit-overflow-scrolling: touch;
}

.table-swipe {
  display: none;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
  color: var(--muted);
}

.scoreboard-section .table-swipe {
  color: rgba(245, 240, 230, 0.55);
}

.score-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.score-table th {
  padding: 0 10px 12px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.52);
  text-align: right;
  white-space: nowrap;
}

.score-table th:first-child,
.score-table th:nth-child(2),
.score-table th:nth-child(3) {
  text-align: left;
}

.score-table td {
  padding: 15px 10px;
  border-top: 1px solid rgba(245, 240, 230, 0.14);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 240, 230, 0.82);
}

.score-table tr {
  transition: background 0.2s var(--ease);
}

.score-table tbody tr:hover {
  background: rgba(245, 240, 230, 0.055);
}

.score-table td:first-child,
.score-table td:nth-child(2),
.score-table td:nth-child(3) {
  text-align: left;
}

.rank-cell {
  width: 54px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--paper);
}

.rank-cell.is-first {
  color: var(--coral);
}

.bib-cell {
  width: 52px;
  color: rgba(245, 240, 230, 0.42);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.model-cell {
  min-width: 220px;
}

.model-cell a {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.model-cell strong {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.model-cell span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.45);
}

.model-cell a:hover strong {
  color: var(--coral);
}

.total-cell {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--coral);
}

.total-cell small {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(245, 240, 230, 0.45);
}

.score-board-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

body.page-leaderboard .table-scroll {
  border-bottom-color: var(--line-strong);
}

body.page-leaderboard .score-table th {
  color: var(--muted);
}

body.page-leaderboard .score-table td {
  border-top-color: var(--line);
  color: var(--ink);
}

body.page-leaderboard .score-table tbody tr:hover {
  background: rgba(16, 42, 50, 0.045);
}

body.page-leaderboard .rank-cell {
  color: var(--ink);
}

body.page-leaderboard .bib-cell,
body.page-leaderboard .model-cell span,
body.page-leaderboard .total-cell small {
  color: var(--muted);
}

body.page-leaderboard .model-cell strong {
  color: var(--ink);
}

.score-board-foot p {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 230, 0.5);
}

.score-board-foot .link-arrow {
  color: var(--paper);
}

/* ---------- Rubric ---------- */
.rubric-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.rubric-total {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rubric-total strong {
  font-family: var(--font-display);
  font-size: clamp(68px, 8vw, 118px);
  font-weight: 400;
  line-height: 0.75;
  color: var(--coral);
}

.rubric-total span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.rubric-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 20px 30px;
  border-left: 1px solid var(--line);
}

.rubric-card:first-child {
  border-left: 0;
}

.rubric-num {
  display: block;
  margin-bottom: 34px;
  font-family: var(--font-display);
  font-size: 62px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  opacity: 0.65;
}

.rubric-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.rubric-card p {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.rubric-points {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Why / contact points ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.why-body h2 {
  max-width: 12ch;
  margin-bottom: 26px;
}

.why-body p {
  max-width: 58ch;
  font-size: 17px;
  color: var(--ink-soft);
}

.why-note {
  margin-top: 34px;
  padding: 22px 0 0 24px;
  border-left: 4px solid var(--coral);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.25;
  color: var(--ink);
}

.contact-card {
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  transform: rotate(0.8deg);
}

.contact-head {
  padding: 20px 22px;
  border-bottom: 2px solid var(--ink);
  background: var(--mustard);
}

.contact-head h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
}

.contact-head p {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(16, 42, 50, 0.7);
}

.contact-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
}

.contact-join {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.contact-join i {
  font-style: normal;
  color: var(--coral);
}

.contact-row p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.contact-arrow {
  font-size: 18px;
  color: var(--coral);
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}

.timeline-item {
  position: relative;
  padding: 28px 24px 0 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.timeline-item:first-child::before {
  background: var(--coral);
}

.timeline-date {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.timeline-item p {
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- Run band ---------- */
.run-band {
  position: relative;
  overflow: hidden;
  background: var(--mustard);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.run-band::before {
  content: "GO";
  position: absolute;
  right: -0.04em;
  bottom: -0.24em;
  font-family: var(--font-display);
  font-size: clamp(260px, 34vw, 520px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(16, 42, 50, 0.14);
  pointer-events: none;
}

.run-band .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 8vw, 110px);
}

.run-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.74fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 40px;
}

.run-head h2 {
  max-width: 13ch;
}

.run-head p {
  max-width: 44ch;
  font-size: 15px;
  color: rgba(16, 42, 50, 0.76);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.step-n {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.8;
  color: var(--coral);
}

.step-card p {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  line-height: 1.45;
}

.run-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq-plus {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-width: 68ch;
  padding: 0 40px 24px 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
}

.note-card {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: var(--shadow-hard);
  transform: rotate(-1deg);
}

.note-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
}

.note-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.note-card .link-arrow {
  margin-top: 16px;
}

/* ---------- Closing ---------- */
.closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 10vw, 140px);
  background: var(--teal-deep);
  color: var(--paper);
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 12px, transparent 12px 24px);
  opacity: 0.35;
}

.closing::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 230, 0.12);
  box-shadow: 0 0 0 80px rgba(245, 240, 230, 0.025), 0 0 0 160px rgba(245, 240, 230, 0.02);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.closing h2 {
  max-width: 16ch;
  margin: 0 auto 26px;
  color: var(--paper);
  font-size: clamp(36px, 6vw, 88px);
}

.closing h2 em {
  color: var(--mustard);
}

.closing p {
  max-width: 54ch;
  margin: 0 auto 32px;
  font-size: 16px;
  color: rgba(245, 240, 230, 0.7);
}

.closing .hero-actions {
  justify-content: center;
  margin-top: 0;
}

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

.closing .btn-primary {
  border-color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  display: block;
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 12px, var(--paper) 12px 24px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.55fr) minmax(0, 0.7fr);
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(48px, 6vw, 80px) 40px;
}

.footer-display {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--paper);
}

.footer-display em {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  color: var(--mustard);
}

.footer-brand .brand {
  color: var(--paper);
}

.footer-brand .brand-mark {
  color: var(--paper);
}

.footer-brand .brand-text span {
  color: rgba(245, 240, 230, 0.5);
}

.footer-kicker {
  max-width: 30ch;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.52);
}

.footer-col h3 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.45);
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  font-size: 13px;
  text-decoration: none;
  color: rgba(245, 240, 230, 0.82);
}

.footer-col a:hover {
  color: var(--coral);
}

.footer-note {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.5);
}

.footer-note p + p {
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 18px 24px;
  border-top: 1px solid rgba(245, 240, 230, 0.14);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.38);
}

/* ============================================================
   Inner pages
   ============================================================ */

.page-hero {
  padding-block: clamp(44px, 6vw, 82px) clamp(30px, 4vw, 56px);
}

.page-hero h1 {
  max-width: 15ch;
  margin: 18px 0 22px;
}

.page-hero .lede {
  max-width: 62ch;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.breadcrumb:hover {
  color: var(--coral-deep);
}

/* ---------- Podium ---------- */
.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.podium-card:hover {
  transform: translate(-2px, -4px);
  box-shadow: 8px 10px 0 var(--ink);
}

.podium-card--first {
  border-width: 3px;
}

.podium-card--first .podium-media {
  aspect-ratio: 16 / 9;
}

.podium-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}

.podium-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.podium-card--first .podium-rank {
  background: var(--coral);
}

.podium-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 18px;
}

.podium-body small {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.podium-body h3 {
  margin-top: 4px;
  font-size: 22px;
}

.podium-total {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.9;
  color: var(--coral);
  white-space: nowrap;
}

.podium-total small {
  display: inline;
  font-size: 9px;
}

.board-section {
  padding-bottom: clamp(64px, 8vw, 110px);
}

.board-note {
  max-width: 70ch;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- Model page ---------- */
.model-hero {
  padding-block: clamp(34px, 5vw, 64px) clamp(28px, 4vw, 48px);
}

.model-title-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 36px);
  margin-top: 22px;
}

.model-bib {
  flex: none;
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 150px);
  line-height: 0.72;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.model-title {
  flex: 1;
  min-width: 0;
}

.model-title h1 {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 96px);
}

html[lang="zh-CN"] .model-title h1 {
  font-size: clamp(40px, 6vw, 84px);
}

.model-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.model-stamp {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex: none;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(2deg);
}

.model-stamp strong {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 400;
  line-height: 0.8;
}

.model-stamp small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.model-tagline {
  max-width: 24ch;
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.2;
  color: var(--ink-soft);
}

.model-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
  padding-bottom: clamp(64px, 8vw, 110px);
}

.run-panel {
  position: sticky;
  top: 96px;
}

.run-frame {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-hard-lg);
}

.run-frame::before {
  content: "";
  display: block;
  padding-top: 62.5%;
}

.run-frame img,
.run-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.run-frame iframe {
  z-index: 2;
  background: var(--paper);
}

.run-frame .poster {
  z-index: 1;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--mustard);
}

.play-btn span:first-child {
  font-family: var(--font-body);
  font-size: 28px;
  line-height: 1;
  margin-left: 4px;
}

.play-btn span:last-child {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.run-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(16, 42, 50, 0.78);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.run-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.run-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.score-panel {
  border-top: 2px solid var(--ink);
}

.panel-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-title span {
  color: var(--muted);
  font-weight: 500;
}

.bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 38px;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}

.bar-row dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.bar-track {
  position: relative;
  height: 10px;
  background: var(--paper-3);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: var(--v, 0%);
  background: var(--accent, var(--teal));
  transform-origin: left center;
  animation: bar-grow 1s var(--ease) both;
}

@keyframes bar-grow {
  from {
    transform: scaleX(0);
  }
}

.bar-row dd {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.total-row span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.total-row strong {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 400;
  line-height: 0.8;
  color: var(--accent, var(--coral));
}

.total-row small {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

.motion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.motion-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.motion-cell dt {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.motion-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}

.motion-status.is-yes .status-dot {
  background: var(--teal);
}

.motion-status.is-partial .status-dot {
  background: var(--mustard);
}

.motion-status.is-no .status-dot {
  background: var(--coral);
}

.verdict-text {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.verdict-text::first-letter {
  font-family: var(--font-serif);
  font-size: 3.1em;
  line-height: 0.78;
  float: left;
  padding: 4px 8px 0 0;
  color: var(--coral);
}

html[lang="zh-CN"] .verdict-text::first-letter {
  font-family: var(--font-cjk-display);
  font-weight: 900;
}

.works-list,
.breaks-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-list li,
.breaks-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.works-list li::before,
.breaks-list li::before {
  position: absolute;
  left: 0;
  top: -1px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}

.works-list li::before {
  content: "+";
  color: var(--teal);
}

.breaks-list li::before {
  content: "−";
  color: var(--coral);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.spec-list dt {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-list dd {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.4;
}

.editorial-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.model-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 2px solid var(--ink);
}

.nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--white);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.nav-card--next {
  text-align: right;
  justify-content: flex-end;
}

.nav-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-card strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

.nav-card .nav-bib {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--coral);
}

/* ---------- Compare ---------- */
.compare-hero {
  padding-block: clamp(44px, 6vw, 82px) clamp(24px, 3vw, 40px);
}

.compare-shell {
  padding-bottom: clamp(56px, 7vw, 96px);
}

.picker {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.picker legend {
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  text-transform: uppercase;
}

.picker-hint {
  margin: 6px 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.lane-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.lane-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}

.lane-chip:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.lane-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-box {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}

.chip-box::after {
  content: "✓";
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.lane-chip input:checked + .chip-box {
  background: var(--coral);
}

.lane-chip input:checked + .chip-box::after {
  opacity: 1;
  transform: scale(1);
}

.lane-chip:has(input:checked) {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.lane-chip input:focus-visible + .chip-box {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.chip-text {
  min-width: 0;
  flex: 1;
}

.chip-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.chip-score {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  color: var(--accent, var(--ink));
}

.compare-stage-wrap {
  position: relative;
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-hard);
}

.compare-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.16);
  margin-bottom: 18px;
}

.compare-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(245, 240, 230, 0.24);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.8);
}

.status-pill .status-dot {
  background: var(--mustard);
}

.status-pill.is-racing .status-dot {
  background: var(--coral);
  animation: pulse 1s infinite;
}

.status-pill.is-paused .status-dot {
  background: var(--mustard);
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.clock {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
}

.clock output {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.clock span {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.45);
}

.compare-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compare-controls .btn {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
  box-shadow: 3px 3px 0 rgba(245, 240, 230, 0.3);
}

.compare-controls .btn:hover {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(245, 240, 230, 0.3);
}

.compare-controls .btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--paper);
}

.compare-controls .btn-primary:hover {
  background: var(--mustard);
  color: var(--ink);
}

.compare-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
  min-height: 300px;
}

.lane {
  overflow: hidden;
  border: 1px solid rgba(245, 240, 230, 0.2);
  background: var(--paper);
  color: var(--ink);
}

.lane-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.lane-bib {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
}

.lane-head h3 {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lane-head small {
  display: block;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.lane-total {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  color: var(--accent, var(--ink));
}

.lane-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}

.lane-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.lane-frame iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--paper);
}

.lane-idle {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  text-align: center;
}

.lane-idle strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
}

.lane-idle span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lane-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(245, 240, 230, 0.86);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: rgba(8, 47, 47, 0.38);
  color: var(--paper);
  pointer-events: none;
}

.countdown span {
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 260px);
  line-height: 0.8;
  color: var(--coral);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 8px 8px 0 var(--ink);
}

.countdown span.pop {
  animation: count-pop 0.5s var(--ease);
}

@keyframes count-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.compare-note {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 240, 230, 0.16);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.62);
}

.compare-note strong {
  color: var(--mustard);
  font-weight: 600;
}

.compare-error {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--coral);
  color: var(--paper);
  font-size: 13px;
}

.look-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.look-card {
  padding: 20px;
  border: 1px solid var(--line-strong);
  background: var(--white);
}

.look-card span {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--coral);
}

.look-card h3 {
  margin: 12px 0 6px;
  font-size: 16px;
}

.look-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Prompt ---------- */
.prompt-hero {
  padding-block: clamp(44px, 6vw, 82px) clamp(24px, 3vw, 40px);
}

.prompt-cards {
  display: grid;
  gap: 20px;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.prompt-card {
  position: relative;
  padding: clamp(24px, 3.6vw, 44px);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
}

.prompt-card--original {
  background: var(--teal-deep);
  color: var(--paper);
}

.prompt-card--translation {
  background: var(--white);
}

.prompt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.18);
}

.prompt-card--translation .prompt-card-head {
  border-color: var(--line);
}

.prompt-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prompt-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--coral);
  transform: rotate(45deg);
}

.prompt-text {
  max-width: 34ch;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.35;
  letter-spacing: 0;
}

html[lang="en"] .prompt-card--original .prompt-text {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.45;
}

.prompt-card--translation .prompt-text {
  max-width: 60ch;
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
}

.prompt-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 240, 230, 0.18);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.5);
}

.prompt-card--translation .prompt-card-foot {
  border-color: var(--line);
  color: var(--muted);
}

.copy-btn {
  border-width: 1px;
  min-height: 38px;
  padding: 8px 14px;
  box-shadow: none;
  font-size: 9px;
}

.copy-btn:hover {
  transform: none;
  box-shadow: 2px 2px 0 var(--ink);
}

.prompt-card--original .copy-btn {
  border-color: rgba(245, 240, 230, 0.5);
  background: transparent;
  color: var(--paper);
}

.prompt-card--original .copy-btn:hover {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.checklist {
  border-top: 2px solid var(--ink);
  counter-reset: check;
}

.check-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.check-item:hover {
  background: rgba(255, 253, 247, 0.65);
}

.check-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.check-body {
  font-size: 15px;
  line-height: 1.5;
}

.check-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: 2px;
}

.check-box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ink);
  background: var(--white);
}

.check-box::after {
  content: "✓";
  font-size: 14px;
  font-weight: 700;
  color: var(--coral);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.check-item:has(input:checked) .check-box::after {
  opacity: 1;
  transform: scale(1);
}

.check-item:has(input:checked) .check-body {
  color: var(--muted);
}

.check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.steps-section {
  padding-block: clamp(56px, 7vw, 96px);
}

.prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}

.dumb-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 50px);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-hard);
}

.dumb-card::before {
  content: "?";
  position: absolute;
  right: 0.02em;
  top: -0.2em;
  font-family: var(--font-display);
  font-size: 260px;
  line-height: 1;
  color: rgba(245, 240, 230, 0.06);
}

.dumb-card h2 {
  max-width: 14ch;
  margin-bottom: 18px;
  color: var(--paper);
}

.dumb-card p {
  position: relative;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(245, 240, 230, 0.72);
}

/* ---------- Methodology ---------- */
.method-hero {
  padding-block: clamp(44px, 6vw, 82px) clamp(28px, 4vw, 48px);
}

.method-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(64px, 8vw, 110px);
}

.method-toc {
  position: sticky;
  top: 104px;
}

.method-toc p {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.method-toc ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.method-toc a {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-soft);
}

.method-toc a::before {
  counter-increment: toc;
  content: "0" counter(toc);
  color: var(--coral);
}

.method-toc a:hover {
  color: var(--coral-deep);
}

.method-section {
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-strong);
  scroll-margin-top: 100px;
}

.method-section:last-child {
  border-bottom: 0;
}

.method-section h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 44px);
}

.method-section p {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.68;
  color: var(--ink-soft);
}

.method-section p + p {
  margin-top: 14px;
}

.method-section a {
  color: var(--coral-deep);
}

.protocol-list,
.limits-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  counter-reset: proto;
}

.protocol-list li {
  position: relative;
  padding: 14px 0 14px 42px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  counter-increment: proto;
}

.protocol-list li::before {
  content: "0" counter(proto);
  position: absolute;
  left: 0;
  top: 13px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--coral-deep);
}

.limits-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.limits-list li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: var(--coral);
}

.rubric-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rubric-table th {
  padding: 10px 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}

.rubric-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}

.rubric-table td:first-child {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.rubric-table td:last-child {
  font-family: var(--font-mono);
  text-align: right;
}

.attribution-card {
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  background: var(--white);
}

.changelog-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding-block: 80px;
  text-align: center;
}

.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(120px, 24vw, 280px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.notfound h1 {
  margin: 18px 0 12px;
  font-size: clamp(32px, 4vw, 54px);
}

.notfound p {
  max-width: 48ch;
  margin: 0 auto 26px;
  color: var(--muted);
}

.notfound .hero-actions {
  justify-content: center;
}

/* ---------- Reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .race-card {
    grid-column: span 4;
  }

  .race-grid {
    gap: 20px;
  }

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

  .rubric-card:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .rubric-card:nth-child(5) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 960px) {
  .hero-grid,
  .why-grid,
  .run-head,
  .faq-grid,
  .model-layout,
  .method-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-figure {
    max-width: 640px;
  }

  .hero::before {
    font-size: 64vw;
    opacity: 0.6;
  }

  .prompt-band-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .prompt-band-actions {
    flex-direction: row;
    align-items: center;
  }

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

  .timeline {
    grid-template-columns: 1fr 1fr;
    border-top: 0;
    gap: 0 24px;
  }

  .timeline-item {
    padding-top: 22px;
    border-top: 1px solid var(--line-strong);
    margin-top: 22px;
  }

  .timeline-item::before {
    top: -7px;
  }

  .run-panel {
    position: static;
  }

  .method-toc {
    position: static;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .method-toc ol {
    grid-template-columns: 1fr 1fr;
  }

  .note-card {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .podium-card--first {
    grid-column: 1 / -1;
  }

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

@media (max-width: 780px) {
  body {
    font-size: 16px;
  }

  .table-swipe {
    display: block;
  }

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

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad) 20px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 18px 30px rgba(16, 42, 50, 0.12);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .lang-switch {
    align-self: flex-start;
    margin-top: 14px;
  }

  .brand-text span {
    display: none;
  }

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

  .race-card,
  .race-card--winner {
    grid-column: 1 / -1;
  }

  .race-card-media img {
    aspect-ratio: 16 / 9;
  }

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

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-strip li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-strip li:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .rubric-card,
  .rubric-card:nth-child(4),
  .rubric-card:nth-child(5) {
    border-top: 1px solid var(--line);
  }

  .rubric-card:nth-child(odd) {
    border-left: 0;
  }

  .rubric-num {
    margin-bottom: 20px;
    font-size: 46px;
  }

  .rubric-card h3 {
    font-size: 17px;
  }

  .rubric-card p {
    font-size: 13px;
  }

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

  .step-card {
    min-height: 0;
  }

  .step-card p {
    margin-top: 14px;
  }

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

  .timeline-item {
    padding-right: 0;
  }

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

  .model-title-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .model-bib {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-size: 72px;
  }

  .model-title {
    grid-column: 2;
    grid-row: 1;
  }

  .model-stamp {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin: 16px 0 0;
  }

  .model-navigation {
    grid-template-columns: 1fr;
  }

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

  .compare-stage {
    grid-template-columns: 1fr;
  }

  .compare-bar {
    align-items: flex-start;
  }

  .compare-bar-left {
    width: 100%;
    justify-content: space-between;
  }

  .compare-controls {
    width: 100%;
  }

  .compare-controls .btn {
    flex: 1;
  }

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

  .podium-card--first {
    grid-column: auto;
  }

  .lane-chips {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

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

  .nav-card--next {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .poster-card {
    padding: 8px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .poster-bib {
    top: 18px;
    left: 18px;
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .poster-stamp {
    top: 16px;
    right: 16px;
    width: 78px;
    height: 78px;
  }

  .poster-stamp strong {
    font-size: 26px;
  }

  .poster-caption {
    display: block;
    padding-top: 10px;
  }

  .poster-caption span {
    display: block;
    margin-top: 3px;
    text-align: left;
  }

  .prompt-band-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-row {
    grid-template-columns: 36px 1fr;
  }

  .contact-row p {
    grid-column: 2;
  }

  .contact-arrow {
    display: none;
  }

  .bar-row {
    grid-template-columns: 76px 1fr 34px;
    gap: 8px;
  }

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

  .check-item {
    grid-template-columns: 26px 1fr auto;
    gap: 10px;
  }

  .check-body {
    font-size: 14px;
  }

  .check-tag {
    display: block;
    width: max-content;
    margin: 6px 0 0;
  }

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

  .notfound-code {
    font-size: 160px;
  }
}

/* ---------- Utilities ---------- */
.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;
}

.closing .btn-ghost {
  border-color: var(--paper);
  color: var(--paper);
}

.closing .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.check-item:focus-within {
  background: rgba(255, 253, 247, 0.65);
}

.check-item input:focus-visible + .check-box {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

@media (max-width: 780px) {
  .model-navigation {
    grid-template-columns: 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;
    scroll-behavior: auto !important;
  }

  .ticker-track {
    animation: none;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
