/* ============================================================
   体育方赛事 · 共享样式表 /assets/site.css
   夜航观赛：深青夜色 + 暖纸画册 + 珊瑚橙入口 + 草线荧光绿数据
   ============================================================ */

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

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

body { margin: 0; }

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

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

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

button { font: inherit; color: inherit; }

a { color: inherit; }

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

/* ---------- 2. Tokens ---------- */
:root {
  --deep: #062B33;
  --ink: #021A1E;
  --harbor: #0B4A52;
  --tide: #12717A;
  --paper: #F2E9D8;
  --coral: #FF6B4A;
  --ember: #D94A30;
  --lime: #B7F34A;
  --mist: #A8C3C0;
  --salt: #F7FBF7;

  --line: rgba(168, 195, 192, 0.20);
  --line-strong: rgba(168, 195, 192, 0.42);
  --line-ink: rgba(2, 26, 30, 0.16);
  --line-ink-strong: rgba(2, 26, 30, 0.34);

  --rail: 56px;
  --header-h: 64px;
  --wrap: 1280px;
  --gutter: 20px;

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --header-h: 72px; --gutter: 32px; }
}
@media (min-width: 1180px) {
  :root { --gutter: 48px; }
}
@media (min-width: 1480px) {
  :root { --gutter: 72px; }
}

/* ---------- 3. Base typography ---------- */
body {
  background: var(--deep);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--salt);
}

strong { color: var(--salt); font-weight: 700; }

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

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

.band {
  position: relative;
  padding-block: clamp(40px, 7vw, 96px);
}
.band--night { background: var(--deep); color: var(--mist); }
.band--harbor { background: var(--harbor); color: var(--mist); }
.band--ink { background: var(--ink); color: var(--mist); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--paper h1,
.band--paper h2,
.band--paper h3,
.band--paper h4 { color: var(--ink); }
.band--paper strong { color: var(--ink); }
.band--paper .section-title { color: var(--ink); }
.band--paper .lede { color: rgba(2, 26, 30, 0.78); }
.band--paper .eyebrow { color: var(--tide); }
.band--paper a:not(.btn) { color: var(--tide); }
.band--paper a:not(.btn):hover { color: var(--ember); }

.section { padding-block: clamp(32px, 5vw, 72px); }
.section-head {
  display: grid;
  gap: 14px;
  max-width: 68ch;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.split {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; }
  .split--wide { grid-template-columns: 9fr 3fr; }
}

.grid-2,
.grid-3 {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- 5. Type components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tide);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  background: var(--coral);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--salt);
}

.lede {
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--mist);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--tide);
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:active { transform: translateY(1px); }

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

.btn--ghost {
  background: transparent;
  color: var(--salt);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--coral); color: var(--coral); }

.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #a5e02f; color: var(--ink); }

.btn--block { display: flex; width: 100%; }

.btn__k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.68;
}

/* ---------- 7. Breadcrumbs ---------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.crumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.crumbs-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.crumbs-item + .crumbs-item::before {
  content: "/";
  color: var(--tide);
}
.crumbs-link {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.crumbs-link:hover { color: var(--coral); }
.crumbs-current { color: var(--paper); }

/* ---------- 8. Panels / tags / stats ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.6vw, 30px);
  background: var(--harbor);
  border: 1px solid var(--line);
}
.panel--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-ink);
}
.panel--paper h3,
.panel--paper h4 { color: var(--ink); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.tag--lime { border-color: rgba(183, 243, 74, 0.5); color: var(--lime); }
.tag--coral { border-color: rgba(255, 107, 74, 0.55); color: var(--coral); }

.stat { display: grid; gap: 4px; }
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.meter { display: grid; gap: 8px; }
.meter-track {
  position: relative;
  height: 6px;
  background: rgba(168, 195, 192, 0.18);
  overflow: hidden;
}
.meter-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
  transition: width 0.9s var(--ease);
}
.meter-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.ring {
  --value: 0;
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(88px, 12vw, 120px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: conic-gradient(var(--lime) calc(var(--value) * 1%), rgba(168, 195, 192, 0.16) 0);
}
.ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--deep);
}
.ring-num {
  position: relative;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--salt);
  font-variant-numeric: tabular-nums;
}

/* ---------- 9. Expandable groups ---------- */
.expand { border-top: 1px solid var(--line); }
.expand-item { border-bottom: 1px solid var(--line); }

.expand-btn {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}
.expand-btn:hover { color: var(--coral); }

.expand-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--tide);
}
.expand-title { flex: 1 1 auto; }

.expand-icon {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
  width: 14px;
  height: 14px;
}
.expand-icon::before,
.expand-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.28s var(--ease);
}
.expand-icon::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.expand-icon::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.expand-btn[aria-expanded="true"] .expand-icon::after { transform: scaleY(0); }

.expand-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease);
}
.expand-btn[aria-expanded="true"] + .expand-panel { grid-template-rows: 1fr; }
.expand-inner { overflow: hidden; }
.expand-body {
  max-width: 70ch;
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 10. Image containers ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--harbor);
  border: 1px solid var(--line);
}
.figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06) brightness(0.88);
}
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(6, 43, 51, 0) 38%, rgba(6, 43, 51, 0.72) 100%);
}
.figure__ph {
  display: block;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(168, 195, 192, 0.10) 0 1px, transparent 1px 18px),
    linear-gradient(160deg, var(--harbor), var(--deep));
}
.figure__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.figure--diagonal { clip-path: polygon(0 0, 100% 2.4%, 100% 100%, 0 97.6%); }

.aspect-16x9 { aspect-ratio: 16 / 9; }
.aspect-4x5 { aspect-ratio: 4 / 5; }
.aspect-1x1 { aspect-ratio: 1 / 1; }

/* ---------- 11. Reveal protocol ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 12. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.frame-rail { display: none; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--wrap);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  order: 1;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--salt);
}
.brand-index {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  transition: background-color 0.22s var(--ease);
}
.brand:hover .brand-index { background: var(--lime); }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--salt);
}
.brand-descriptor {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--mist);
  text-transform: uppercase;
}
@media (max-width: 479px) {
  .brand-descriptor { display: none; }
}

/* header cta */
.header-cta {
  display: none;
  order: 2;
  margin-left: auto;
  padding: 11px 16px;
  font-size: 13px;
  white-space: nowrap;
}

/* toggle */
.nav-toggle {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--salt);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.nav-toggle:hover { border-color: var(--coral); color: var(--coral); }
.nav-toggle-box {
  display: grid;
  gap: 4px;
  width: 16px;
}
.nav-toggle-bar {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.26s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(-2.75px) rotate(-45deg); }
.nav-toggle-label { line-height: 1; }

/* nav — mobile drawer */
.site-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: clamp(24px, 6vw, 44px) var(--gutter) 40px;
  background: var(--ink);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.28s var(--ease), transform 0.34s var(--ease), visibility 0.28s;
}
.site-nav[data-open] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-head {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tide);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(22px, 5.6vw, 30px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: color 0.2s var(--ease);
}
.nav-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--tide);
}
.nav-text { display: inline-block; }

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

.nav-cta {
  margin-top: 26px;
  align-self: flex-start;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px) 28px;
  background: var(--ink);
  color: var(--mist);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    94deg,
    rgba(18, 113, 122, 0.16) 0 1px,
    transparent 1px 104px
  );
}
.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-head {
  display: grid;
  gap: 12px;
  padding-bottom: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}
.footer-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tide);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(38px, 8.4vw, 104px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: rgba(168, 195, 192, 0.20);
}
.footer-tag {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
  padding-block: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 1.35fr; }
}

.footer-col { min-width: 0; }
.footer-col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer-list { display: grid; gap: 10px; }
.footer-link {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-link::before {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background: var(--tide);
  transform: translateY(-4px);
  transition: background-color 0.2s var(--ease), width 0.2s var(--ease);
}
.footer-link:hover { color: var(--coral); }
.footer-link:hover::before { background: var(--coral); width: 16px; }

.footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
}
@media (max-width: 859px) {
  .footer-contact { grid-column: 1 / -1; }
}
.footer-contact-item {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  overflow-wrap: anywhere;
}
.footer-contact-item strong {
  display: inline-block;
  min-width: 44px;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--tide);
}
.footer-note {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--coral);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(168, 195, 192, 0.74);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding-top: 22px;
}
.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(168, 195, 192, 0.66);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-legal-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(168, 195, 192, 0.66);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-legal-link:hover { color: var(--coral); }

/* ---------- 14. Desktop frame ---------- */
@media (min-width: 1180px) {
  body { padding-left: var(--rail); }

  .frame-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: var(--rail);
    padding: 18px 0 22px;
    background: var(--ink);
    border-right: 1px solid var(--line);
  }
  .rail-mark {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1;
    color: var(--coral);
  }
  .rail-label {
    margin-top: 6px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--mist);
  }
  .rail-track {
    position: relative;
    margin-top: auto;
    width: 1px;
    height: 132px;
    background: var(--line-strong);
  }
  .rail-track-bar {
    position: absolute;
    top: 0;
    left: -0.5px;
    display: block;
    width: 2px;
    height: 100%;
    background: var(--lime);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.1s linear;
  }
  .rail-index {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--tide);
  }

  /* desktop navigation bar */
  .site-nav {
    position: static;
    order: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-head { display: none; }
  .nav-cta { display: none; }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: clamp(12px, 1.7vw, 28px);
  }
  .nav-link {
    position: relative;
    gap: 6px;
    padding: 6px 0;
    border-bottom: 0;
    color: var(--mist);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.4;
    white-space: nowrap;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s var(--ease);
  }
  .nav-link:hover { color: var(--salt); }
  .nav-link:hover::after { transform: scaleX(1); }
  .nav-link[aria-current="page"] { color: var(--salt); }
  .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .nav-link[aria-current="page"] .nav-num { color: var(--coral); }

  .header-cta { order: 3; margin-left: clamp(10px, 1.5vw, 26px); }
  .nav-toggle { display: none; }
}

@media (min-width: 600px) {
  .header-cta { display: inline-flex; }
  .nav-toggle { margin-left: 10px; }
}

/* ---------- 15. 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-behavior: auto !important;
  }
  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .rail-track-bar { transition: none; }
}
