/* =========================================================
   天天娱乐汇 · 共享站级样式 / assets/site.css
   坐标图语言：雾凇冷底 + 霓虹暖闪 + 纸张叠层
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: inherit; }

input, textarea, select { font: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  /* 品牌色板 */
  --frost: #F4F8FA;   /* 雾凇银白 */
  --ice:   #E3EFF2;   /* 冰晶浅青 */
  --river: #0E3B43;   /* 松花江深青 */
  --night: #071A24;   /* 夜航墨蓝 */
  --coral: #FF6B4A;   /* 霓虹珊瑚橙 */
  --violet:#7B5CFF;   /* 电光紫 */
  --amber: #FFB020;   /* 高对比琥珀 */
  --slate: #4A6572;   /* 理性蓝灰 */
  --mint:  #1F8A70;   /* 成功青绿 */
  --line:  #B9CBD1;   /* 描边灰 */

  /* 语义色 */
  --ink: var(--river);
  --paper: var(--frost);

  /* 字体 */
  --font-display: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;

  /* 纸张叠层阴影 */
  --shadow-1: 3px 3px 0 rgba(14, 59, 67, .10);
  --shadow-2: 5px 5px 0 rgba(14, 59, 67, .10);
  --shadow-3: 9px 9px 0 rgba(14, 59, 67, .07);

  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: .18s;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--river);
  background-color: var(--frost);
  background-image:
    radial-gradient(900px 480px at 6% -8%, rgba(123, 92, 255, .10), transparent 62%),
    radial-gradient(760px 420px at 96% 2%, rgba(255, 107, 74, .09), transparent 58%),
    linear-gradient(to right, rgba(14, 59, 67, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 59, 67, .035) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  background-attachment: fixed, fixed, scroll, scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--river);
}

h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; }

p { line-height: 1.75; }

strong { font-weight: 700; }

::selection {
  background: var(--amber);
  color: var(--night);
}

:focus-visible {
  outline: 2.5px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}

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

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

.site-main { display: block; }

/* 刻度分隔线 */
.coord-rule {
  height: 11px;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
  background-size: 100% 6px;
  background-repeat: no-repeat;
  background-position: left top;
}

/* ---------- 5. 标题与文字工具 ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--slate);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -.028em;
}

.lead {
  max-width: 60ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.72;
  color: var(--slate);
}

.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.85;
}

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

.prose h2 {
  margin-top: 2em;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
}

.prose h3 { margin-top: 1.7em; }

.prose ul, .prose ol {
  padding-left: 1.25em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: .38em; }

.prose a {
  color: var(--river);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
}

.prose a:hover { border-bottom-color: var(--river); }

.prose blockquote {
  padding-left: 18px;
  border-left: 3px solid var(--amber);
  color: var(--slate);
}

.prose code {
  font-family: var(--font-mono);
  font-size: .875em;
  padding: 2px 5px;
  border-radius: 2px;
  background: var(--ice);
}

/* ---------- 6. 栅格 ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

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

/* ---------- 7. 纸张叠层面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3.2vw, 36px);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.panel--paper { background: var(--frost); }
.panel--ice { background: var(--ice); }

.panel--deep {
  background: var(--river);
  border-color: var(--river);
  color: var(--ice);
}

.panel--deep h2,
.panel--deep h3,
.panel--deep .section-title { color: var(--frost); }

.panel--frost-edge {
  box-shadow: var(--shadow-2), var(--shadow-3);
}

/* ---------- 8. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  white-space: nowrap;
  color: var(--river);
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.tag--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--night);
  box-shadow: 2px 2px 0 var(--river);
}

.tag--coral {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--night);
}

.tag--violet {
  background: var(--violet);
  border-color: var(--violet);
  color: #FFFFFF;
}

.tag--slate {
  background: var(--slate);
  border-color: var(--slate);
  color: #FFFFFF;
}

.tag--mint {
  background: var(--mint);
  border-color: var(--mint);
  color: #FFFFFF;
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: var(--frost);
  background: var(--river);
  border: 1.5px solid var(--river);
  border-radius: 2px;
  box-shadow: 4px 4px 0 var(--coral);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

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

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

.btn--ghost {
  color: var(--river);
  background: transparent;
  box-shadow: 4px 4px 0 var(--ice);
}

.btn--ghost:hover {
  background: var(--ice);
  box-shadow: 6px 6px 0 var(--ice);
}

.btn--coral {
  color: var(--night);
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 4px 4px 0 var(--river);
}

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

.btn--sm {
  padding: 8px 14px;
  font-size: .8125rem;
  box-shadow: 3px 3px 0 var(--coral);
}

/* ---------- 10. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--slate);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--line);
}

.breadcrumb a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--river);
  border-bottom-color: var(--coral);
}

.breadcrumb [aria-current="page"] {
  font-weight: 700;
  color: var(--river);
}

/* ---------- 11. 图片容器基础（页面阶段填充） ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

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

.media-frame > picture > img { display: block; }

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(244, 248, 250, .55);
}

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

/* =========================================================
   12. 页头
   ========================================================= */
.skip-link {
  position: absolute;
  top: -72px;
  left: 14px;
  z-index: 200;
  padding: 10px 16px;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--frost);
  background: var(--river);
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--coral);
  transition: top var(--dur) var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(244, 248, 250, .97), rgba(227, 239, 242, .95));
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg,
    var(--coral) 0 72px,
    var(--amber) 72px 104px,
    var(--violet) 104px 148px,
    rgba(185, 203, 209, .35) 148px 100%);
}

.site-header[data-condensed] {
  box-shadow: 0 12px 26px -24px rgba(7, 26, 36, .95);
}

.header-rail {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px var(--gutter);
  transition: padding var(--dur) var(--ease);
}

.site-header[data-condensed] .header-rail {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* --- 品牌 --- */
.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--river);
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background: var(--ice);
  border: 1.5px solid var(--river);
  border-radius: 3px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  bottom: 5px;
  width: 1.5px;
  background: var(--river);
  transform: translateX(-50%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  right: 5px;
  height: 1.5px;
  background: var(--coral);
  transform: translateY(-50%);
}

.brand:hover .brand-mark {
  border-color: var(--coral);
  background: var(--amber);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -.02em;
  transition: font-size var(--dur) var(--ease);
}

.site-header[data-condensed] .brand-name { font-size: 1.1rem; }

.brand-tag {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .22em;
  color: var(--slate);
}

/* --- 中间刻度线 --- */
.header-rule {
  flex: 1 1 40px;
  min-width: 24px;
  height: 10px;
  align-self: center;
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px);
  background-size: 100% 5px;
  background-repeat: no-repeat;
  background-position: left top;
}

/* --- 移动开关 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--river);
  background: var(--frost);
  border: 1.5px solid var(--river);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav-toggle:hover { background: var(--ice); }

[data-open] > .header-rail .nav-toggle,
.site-header[data-open] .nav-toggle {
  background: var(--amber);
  box-shadow: 2px 2px 0 var(--river);
}

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

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

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

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

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

/* --- 主栏目 --- */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 7px 2px;
  font-size: .9375rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--river);
  transition: color var(--dur) var(--ease);
}

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

.nav-link:hover { color: var(--night); }

.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  padding: 6px 10px;
  font-weight: 700;
  color: var(--night);
  background: var(--amber);
  border-radius: 2px;
  box-shadow: 2px 2px 0 var(--river);
}

.nav-link[aria-current="page"]::after { display: none; }

.nav-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: var(--frost);
  background: var(--river);
  border: 1.5px solid var(--river);
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--coral);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--coral);
}

.nav-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--coral);
}

/* =========================================================
   13. 页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  color: var(--ice);
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(123, 92, 255, .22), transparent 62%),
    radial-gradient(520px 280px at 6% 100%, rgba(255, 107, 74, .16), transparent 64%),
    var(--river);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    var(--coral) 0 26px,
    var(--amber) 26px 38px,
    var(--violet) 38px 64px,
    rgba(244, 248, 250, .18) 64px 96px);
}

.footer-rail {
  display: grid;
  grid-template-columns: minmax(200px, 1.15fr) minmax(190px, 1fr) minmax(230px, 1.25fr);
  gap: clamp(26px, 4vw, 64px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(38px, 6vw, 68px) var(--gutter) clamp(24px, 4vw, 36px);
}

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

.footer-mark {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--coral);
  border-radius: 3px;
}

.footer-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  bottom: 5px;
  width: 1.5px;
  background: var(--coral);
  transform: translateX(-50%);
}

.footer-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  right: 5px;
  height: 1.5px;
  background: var(--frost);
  transform: translateY(-50%);
}

.footer-brand-line {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--frost);
}

.footer-heading {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .24em;
  color: #8FB0B8;
}

.footer-note {
  max-width: 38ch;
  margin-top: 16px;
  font-size: .8125rem;
  line-height: 1.72;
  color: #9FBAC1;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.footer-nav a {
  display: inline-block;
  padding-bottom: 1px;
  font-size: .9375rem;
  text-decoration: none;
  color: var(--ice);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #FFFFFF;
  border-bottom-color: var(--coral);
}

.footer-contact-list {
  display: grid;
  gap: 12px;
  font-size: .9375rem;
  line-height: 1.6;
  color: #C9DCE1;
}

.footer-contact-list li { overflow-wrap: anywhere; }

.footer-contact-label {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .18em;
  color: #8FB0B8;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--gutter) 30px;
  border-top: 1px solid rgba(185, 203, 209, .22);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: #9FBAC1;
}

/* =========================================================
   14. 阅读进度坐标尺（JS 注入）
   ========================================================= */
.scroll-gauge {
  position: fixed;
  top: 50%;
  right: clamp(8px, 1.6vw, 20px);
  z-index: 70;
  width: 6px;
  height: clamp(120px, 26vh, 240px);
  pointer-events: none;
  opacity: 0;
  background: rgba(227, 239, 242, .9);
  border: 1px solid var(--line);
  border-radius: 3px;
  transform: translateY(-50%);
  transition: opacity .3s var(--ease);
}

.scroll-gauge[data-visible] { opacity: 1; }

.scroll-gauge__bar {
  --p: 0;
  position: absolute;
  inset: 0 0 auto 0;
  display: block;
  height: 100%;
  background: linear-gradient(180deg, var(--coral), var(--violet));
  transform: scaleY(var(--p));
  transform-origin: top center;
}

/* =========================================================
   15. 响应式
   ========================================================= */
@media (max-width: 1080px) {
  .grid--split,
  .grid--offset { grid-template-columns: minmax(0, 1fr); }
}

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

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-rule { display: none; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px var(--gutter) 22px;
    background: linear-gradient(180deg, rgba(244, 248, 250, .99), var(--ice));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 26px -22px rgba(7, 26, 36, .8);
  }

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

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

  .nav-item {
    border-bottom: 1px solid rgba(185, 203, 209, .55);
  }

  .nav-item:last-child { border-bottom: 0; }

  .nav-link {
    display: block;
    padding: 14px 6px;
    font-size: 1rem;
  }

  .nav-link[aria-current="page"] {
    margin: 6px 0;
    padding: 12px 12px;
    box-shadow: 3px 3px 0 var(--river);
  }

  .nav-cta {
    margin-top: 16px;
    padding: 13px 18px;
    font-size: .9375rem;
    box-shadow: 4px 4px 0 var(--coral);
  }

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

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

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

  .footer-base { justify-content: flex-start; }

  .scroll-gauge { display: none; }
}

@media (max-width: 620px) {
  .brand-name { font-size: 1.1rem; }
  .brand-tag { letter-spacing: .16em; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 9px 11px; }
  .footer-nav ul { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .header-rail { gap: 10px; }
}

/* =========================================================
   16. 动效偏好
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-gauge { transition: none; }
  .scroll-gauge__bar { transition: none; }
}
