/* ==========================================================================
   赢德赛场 · 共享 Site Kit  /assets/site.css
   坐标轴框架导航 + 海报式深空蓝 + 起跑线荧光绿
   ========================================================================== */

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

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

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

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

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

button {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #081A2E;
  --ink-850: #0B2137;
  --ink-800: #0F2A47;
  --ink-700: #1F3A57;
  --lime: #B8FF4A;
  --lime-soft: #E2FFB0;
  --orange: #FF8A2A;
  --teal: #38E0C8;
  --paper: #F4F8F5;
  --mist: #EAF0F2;
  --ink-text: #0B1F3A;
  --muted: #AFC0D2;
  --muted-dark: #566F88;
  --line-soft: rgba(175, 192, 210, 0.18);
  --line-mid: rgba(175, 192, 210, 0.34);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "IBM Plex Mono", "SF Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --wrap: 1480px;
  --gutter: clamp(18px, 4vw, 56px);
  --head-h: 84px;
  --cut: 18px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background: var(--ink-900);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 视口左右刻度导轨：让导航成为页面画框 */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 10px;
  z-index: 40;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, transparent 44%, var(--line-soft) 44%, var(--line-soft) 56%, transparent 56%),
    repeating-linear-gradient(to bottom, var(--line-mid) 0 1px, transparent 1px 16px);
  background-size: 10px 100%, 10px 16px;
}

body::before { left: 0; }
body::after { right: 0; }

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

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

.surface-light :focus-visible {
  outline-color: var(--ink-text);
}

#main-content {
  display: block;
  scroll-margin-top: calc(var(--head-h) + 24px);
}

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

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

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(24px, 3.4vw, 46px);
}

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

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.surface-light {
  background: var(--mist);
  color: var(--ink-text);
}

.surface-light .lede,
.surface-light .idx,
.surface-light .media-caption {
  color: var(--muted-dark);
}

.surface-light .eyebrow { color: var(--ink-700); }
.surface-light .panel { background: var(--paper); border-color: rgba(11, 31, 58, 0.12); }
.surface-light .stat-num { color: var(--ink-700); }
.surface-light .tag { border-color: rgba(11, 31, 58, 0.28); color: var(--ink-700); }
.surface-light .filter-btn { border-color: rgba(11, 31, 58, 0.26); color: var(--ink-700); }
.surface-light .filter-btn[aria-pressed="true"] { background: var(--ink-800); border-color: var(--ink-800); color: var(--paper); }

/* ---------- 5. Typography ---------- */
.display {
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.poster-title {
  font-size: clamp(48px, 11vw, 148px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.86;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

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

.prose {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.85;
  color: inherit;
}

.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.24; }
.prose h3 { margin-top: 1.4em; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.prose ul { margin: 1em 0; padding-left: 1.2em; list-style: none; }
.prose ul li { position: relative; padding-left: 1em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--lime); }
.surface-light .prose ul li::before { background: var(--ink-700); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.btn:hover { background: var(--lime-soft); transform: translateY(-1px); }
.btn:hover::after { transform: translate(2px, -2px) rotate(45deg); }
.btn:active { transform: translateY(0); }

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

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

.btn-ghost:hover {
  background: transparent;
  border-color: var(--lime);
  color: var(--lime);
}

/* ---------- 7. Panels / tags / stats ---------- */
.panel {
  background: var(--ink-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}

.cut-panel {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(158deg, rgba(31, 58, 87, 0.92) 0%, rgba(15, 42, 71, 0.96) 100%);
  border: 1px solid rgba(175, 192, 210, 0.16);
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(184, 255, 74, 0.4);
  border-radius: var(--radius);
  color: var(--lime-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 8. Breadcrumb ---------- */
.breadcrumb { margin-bottom: 22px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.breadcrumb-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

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

.breadcrumb-sep { opacity: 0.5; }

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

/* ---------- 9. Media frame ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(175, 192, 210, 0.18);
  border-radius: var(--radius);
  background-color: var(--ink-800);
  background-image:
    linear-gradient(150deg, rgba(31, 58, 87, 0.95), rgba(8, 26, 46, 0.98)),
    repeating-linear-gradient(90deg, rgba(175, 192, 210, 0.16) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(175, 192, 210, 0.16) 0 1px, transparent 1px 64px);
}

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

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

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 10. Filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-btn {
  appearance: none;
  padding: 10px 16px;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.filter-btn:hover {
  border-color: var(--lime);
  color: var(--lime-soft);
}

.filter-btn[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink-900);
  font-weight: 700;
}

.filter-live {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.is-filtered-out { display: none !important; }

/* ---------- 11. Reveal ---------- */
body.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}

body.reveal-ready .reveal.is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ---------- 12. Skip link ---------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 200;
  padding: 12px 22px;
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translate(-50%, -140%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* ---------- 13. Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(8, 26, 46, 0.98) 0%, rgba(8, 26, 46, 0.88) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid var(--line-soft);
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.site-head[data-scrolled="true"] {
  border-bottom-color: rgba(184, 255, 74, 0.34);
  box-shadow: 0 22px 44px -32px rgba(0, 0, 0, 0.95);
}

.head-ruler {
  height: 6px;
  background-image:
    linear-gradient(90deg, var(--lime) 0 96px, transparent 96px),
    repeating-linear-gradient(90deg, var(--line-mid) 0 1px, transparent 1px 40px);
}

.head-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: clamp(14px, 2.4vw, 44px);
  width: 100%;
  max-width: var(--wrap);
  min-height: var(--head-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.head-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 6px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  flex: none;
  width: 26px;
  height: 30px;
  background: linear-gradient(158deg, var(--lime) 0%, #7FDC00 100%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: background 0.2s var(--ease);
}

.brand-lockup:hover .brand-mark { background: linear-gradient(158deg, var(--lime-soft) 0%, var(--lime) 100%); }

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

.brand-name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--lime);
}

.brand-tagline {
  max-width: 196px;
  padding-left: 16px;
  border-left: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.head-nav {
  grid-area: nav;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1.5vw, 26px);
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 2px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.nav-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: color 0.18s var(--ease);
}

.nav-label { display: inline-block; }

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

.nav-link:hover,
.nav-link:focus-visible { color: var(--lime-soft); }
.nav-link:hover .nav-idx,
.nav-link:focus-visible .nav-idx { color: var(--lime); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

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

.nav-foot { display: none; }

.nav-foot-note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.head-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 18px;
}

.head-actions .btn {
  padding: 12px 20px;
  font-size: 13px;
}

.head-note {
  max-width: 130px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  grid-area: toggle;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle-text { letter-spacing: 0.08em; }

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}

.nav-toggle-icon::before { top: 0; }
.nav-toggle-icon::after { top: 10px; }

.site-head[data-open="true"] .nav-toggle {
  border-color: var(--lime);
  color: var(--lime);
}

.site-head[data-open="true"] .nav-toggle-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.site-head[data-open="true"] .nav-toggle-icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

.head-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 2;
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--teal) 100%);
  transition: width 0.12s linear;
}

/* ---------- 14. Footer ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(64px, 10vw, 140px);
  color: var(--paper);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 90% at 6% 0%, rgba(31, 58, 87, 0.92) 0%, rgba(8, 26, 46, 0) 62%),
    linear-gradient(180deg, #0B2137 0%, #081A2E 70%);
}

.foot-ruler {
  height: 8px;
  background-image:
    linear-gradient(90deg, var(--lime) 0 128px, transparent 128px),
    repeating-linear-gradient(90deg, var(--line-mid) 0 1px, transparent 1px 36px);
}

.foot-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 68px) var(--gutter) 28px;
}

.foot-coord {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.coord-chip {
  padding: 7px 12px;
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
}

.coord-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
  color: var(--muted);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.25fr;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(32px, 4vw, 54px);
}

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

.foot-name {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.foot-summary {
  max-width: 38ch;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.foot-brand .btn { margin-top: 24px; }

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

.foot-col-title {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.4;
  color: var(--lime);
  text-transform: uppercase;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.18s var(--ease), gap 0.18s var(--ease);
}

.foot-link::before {
  content: "";
  flex: none;
  width: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
  transition: width 0.18s var(--ease), background 0.18s var(--ease), opacity 0.18s var(--ease);
}

.foot-link:hover,
.foot-link:focus-visible { color: var(--lime); gap: 12px; }
.foot-link:hover::before,
.foot-link:focus-visible::before { width: 16px; background: var(--lime); opacity: 1; }

.foot-contact { min-width: 0; }

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

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-soft);
}

.contact-label {
  min-width: 44px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.6;
  color: var(--muted);
}

.contact-value {
  flex: 1 1 170px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.copy-btn {
  padding: 6px 10px;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}

.copy-btn:hover,
.copy-btn:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

.copy-btn[data-copied="true"] {
  border-color: var(--teal);
  background: rgba(56, 224, 200, 0.14);
  color: var(--teal);
}

.copy-live {
  min-height: 1.2em;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--lime);
}

.foot-note {
  max-width: 76ch;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--muted);
}

.foot-copy { font-variant-numeric: tabular-nums; }

.foot-icp { font-variant-numeric: tabular-nums; }

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

.foot-legal-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.foot-legal-link:hover,
.foot-legal-link:focus-visible { color: var(--lime); }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1280px) {
  .brand-tagline { display: none; }
  .head-note { display: none; }
}

@media (max-width: 1100px) {
  body::before,
  body::after { display: none; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand .btn { margin-top: 20px; }
}

@media (max-width: 960px) {
  :root { --head-h: 68px; }

  .head-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand toggle";
    gap: 12px;
  }

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

  .head-actions { display: none; }

  .head-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: block;
    max-height: calc(100vh - var(--head-h) - 16px);
    overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    background: var(--ink-850);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid rgba(184, 255, 74, 0.28);
    box-shadow: 0 30px 50px -34px rgba(0, 0, 0, 0.95);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
  }

  .site-head[data-open="true"] .head-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

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

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

  .nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 14px 4px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .nav-link::after { display: none; }

  .nav-idx { font-size: 12px; letter-spacing: 0.12em; }

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

  .nav-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed var(--line-soft);
  }

  .nav-foot .btn { width: 100%; }

  .brand-name { font-size: 19px; }

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

@media (max-width: 820px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

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

  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .grid-12 > * { grid-column: 1 / -1 !important; }

  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }

  .foot-bottom { gap: 10px 18px; }

  .foot-legal { margin-left: 0; }

  .coord-num { letter-spacing: 0.1em; }

  .prose { font-size: 17px; }

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

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  body.reveal-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .head-progress { transition: none; }
}
