/* =========================================================
   万博娱乐中心 · 共享样式层 /assets/site.css
   夜间导航仪气质：深墨蓝底 + 电光青信息路径 + 暖琥珀规则标记
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: clamp(84px, 11vh, 128px); }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture, video { max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #071A2F;
  --ink-800: #0B2440;
  --ink-700: #123354;
  --cyan: #35E0D0;
  --cyan-deep: #1FAFA4;
  --cyan-soft: #7DF3E8;
  --amber: #FFB547;
  --amber-deep: #D98A1F;
  --slate: #8FA6BC;
  --paper: #E8F0F7;
  --danger: #FF6B6B;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(143, 166, 188, 0.26);
  --line-soft: rgba(143, 166, 188, 0.14);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;

  --font-head: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1200px 620px at 10% -10%, rgba(53, 224, 208, 0.13), transparent 62%),
    radial-gradient(880px 520px at 98% 2%, rgba(255, 181, 71, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(11, 36, 64, 0.62), rgba(7, 26, 47, 0) 46%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-wrap: balance;
}

strong { color: var(--paper); font-weight: 700; }
code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

#main-content { display: block; scroll-margin-top: clamp(84px, 11vh, 128px); }

/* ---------- 4. Focus ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-footer :focus-visible { outline-color: var(--amber); }

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: absolute;
  left: clamp(12px, 3vw, 28px);
  top: -72px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.97) 0%, rgba(11, 36, 64, 0.9) 100%);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 22px 44px -30px rgba(0, 0, 0, 0.95);
}

.header-strip {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 26, 47, 0.55);
}
.header-strip__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 7px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.header-strip__item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.header-strip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 181, 71, 0.16);
  flex: none;
}
.header-strip__note { color: var(--cyan); letter-spacing: 0.18em; white-space: nowrap; }

.header-bar {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 13px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2.4vw, 40px);
}

/* 品牌 */
.brand { display: inline-flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.04rem, 1.6vw, 1.3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--paper);
  transition: color 0.18s ease;
}
.brand-name::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(53, 224, 208, 0.65);
  flex: none;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  padding-left: 19px;
}
.brand:hover .brand-name { color: var(--cyan); }

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.nav-toggle:hover { background: rgba(53, 224, 208, 0.14); border-color: rgba(53, 224, 208, 0.5); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: background-color 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.22s ease, background-color 0.22s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); background: var(--amber); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--amber); }
.nav-toggle-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}

/* 导航 */
.site-nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 24px); }
.nav-list { display: flex; align-items: center; gap: clamp(4px, 0.9vw, 14px); }
.nav-link {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--slate);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--cyan-deep);
  transition: color 0.18s ease;
}
.nav-text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-link:hover { color: var(--paper); background: rgba(255, 255, 255, 0.07); }
.nav-link:hover .nav-num { color: var(--cyan); }
.nav-link[aria-current="page"] { color: var(--ink-900); background: var(--cyan); }
.nav-link[aria-current="page"] .nav-num { color: rgba(7, 26, 47, 0.62); }
.nav-link[aria-current="page"]:hover { background: var(--cyan-soft); color: var(--ink-900); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 181, 71, 0.5);
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.nav-cta::after { content: "→"; font-family: var(--font-mono); font-size: 0.92em; transition: transform 0.2s ease; }
.nav-cta:hover { background: var(--amber); border-color: var(--amber); color: var(--ink-900); }
.nav-cta:hover::after { transform: translateX(3px); }

/* 阅读进度 */
.scroll-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(143, 166, 188, 0.12);
  overflow: hidden;
}
.scroll-rail-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft) 55%, var(--amber));
  box-shadow: 0 0 12px rgba(53, 224, 208, 0.7);
}

/* ---------- 7. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, rgba(11, 36, 64, 0.74), rgba(7, 26, 47, 0.98));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 208, 0.6), rgba(255, 181, 71, 0.42), transparent);
}
.footer-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.footer-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-brand {
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  max-width: 26ch;
  color: var(--paper);
}
.footer-domain {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(16px, 2.4vw, 24px); }
.footer-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(143, 166, 188, 0.32);
  color: rgba(232, 240, 247, 0.84);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.footer-chip:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink-900); }

.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.footer-col-title::before { content: ""; width: 14px; height: 1px; background: var(--amber); flex: none; }

.contact-list { display: grid; gap: 12px; justify-items: start; }
.contact-row { display: grid; gap: 2px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact-value {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px dashed rgba(53, 224, 208, 0.45);
  background: rgba(53, 224, 208, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.copy-btn:hover { background: rgba(53, 224, 208, 0.2); border-style: solid; }
.copy-btn[data-copied="true"] { background: var(--cyan); border-color: var(--cyan); border-style: solid; color: var(--ink-900); }
.copy-btn[data-copied="false"] { border-color: rgba(255, 107, 107, 0.6); color: var(--danger); background: rgba(255, 107, 107, 0.1); }
.copy-state { font: inherit; letter-spacing: inherit; }

.footer-list { display: grid; gap: 10px; font-size: 0.92rem; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(232, 240, 247, 0.86);
  transition: color 0.18s ease;
}
.footer-link::before {
  content: "›";
  font-family: var(--font-mono);
  color: var(--cyan-deep);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.footer-link:hover { color: var(--cyan); }
.footer-link:hover::before { opacity: 1; transform: translateX(0); }

.footer-note {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 16px 18px;
  border: 1px dashed rgba(143, 166, 188, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(232, 240, 247, 0.74);
  font-size: 0.85rem;
  line-height: 1.7;
}
.footer-bar {
  margin-top: clamp(18px, 3vw, 26px);
  padding: 16px 0 26px;
  border-top: 1px solid rgba(143, 166, 188, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.footer-bar-text { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 8. Layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid-auto {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.divider {
  height: 1px;
  border: 0;
  margin: clamp(24px, 4vw, 44px) 0;
  background: linear-gradient(90deg, rgba(143, 166, 188, 0.42), rgba(143, 166, 188, 0.04));
}

/* ---------- 9. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--cyan { background: var(--cyan); color: var(--ink-900); }
.btn--cyan:hover { background: var(--cyan-soft); }
.btn--amber { background: var(--amber); color: var(--ink-900); }
.btn--amber:hover { background: var(--amber-deep); color: #1A1206; }
.btn--ghost { background: transparent; border-color: rgba(143, 166, 188, 0.45); color: var(--paper); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(53, 224, 208, 0.08); }
.btn--sm { padding: 9px 16px; font-size: 0.8rem; }

/* ---------- 10. Breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: clamp(14px, 2vw, 22px) 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: rgba(143, 166, 188, 0.55); }
.crumbs a { color: var(--slate); transition: color 0.18s ease; }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 11. Section heads ---------- */
.section-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 22px);
  padding-top: 18px;
  margin-bottom: clamp(18px, 3vw, 30px);
  border-top: 1px solid var(--line);
}
.section-no {
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  color: rgba(53, 224, 208, 0.28);
  -webkit-text-stroke: 1px rgba(53, 224, 208, 0.5);
}
.section-title {
  font-size: clamp(1.42rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.16;
}
.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.72;
  color: rgba(232, 240, 247, 0.86);
}

/* ---------- 12. Panels ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(143, 166, 188, 0.22);
  border-radius: var(--radius-m);
  background: var(--ink-700);
}
.panel--glass {
  background: var(--glass);
  border-color: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.panel--quiet {
  background: var(--ink-800);
  border-color: rgba(143, 166, 188, 0.16);
}

.rule-note {
  position: relative;
  padding: 14px 18px;
  border: 1px solid rgba(255, 181, 71, 0.42);
  border-left-width: 4px;
  border-radius: 10px;
  background: rgba(255, 181, 71, 0.1);
  color: #FFE3B8;
  font-size: 0.94rem;
  line-height: 1.68;
}
.rule-note strong { color: var(--amber); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(53, 224, 208, 0.3);
  border-radius: 999px;
  background: rgba(53, 224, 208, 0.12);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag--amber {
  border-color: rgba(255, 181, 71, 0.32);
  background: rgba(255, 181, 71, 0.12);
  color: var(--amber);
}

/* ---------- 13. Media frames ---------- */
.media-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(143, 166, 188, 0.22);
  border-radius: var(--radius-m);
  background:
    radial-gradient(120% 120% at 16% 10%, rgba(53, 224, 208, 0.18), transparent 58%),
    radial-gradient(100% 100% at 88% 92%, rgba(255, 181, 71, 0.14), transparent 60%),
    linear-gradient(160deg, var(--ink-700), var(--ink-800) 58%, var(--ink-900));
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(143, 166, 188, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 166, 188, 0.14) 1px, transparent 1px);
  background-size: clamp(22px, 4vw, 42px) clamp(22px, 4vw, 42px);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame > img,
.media-frame > picture > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame__caption {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.82;
}

/* ---------- 14. Prose ---------- */
.prose {
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(232, 240, 247, 0.88);
}
.prose > * + * { margin-top: 1.05em; }
.prose h3 { font-size: 1.2rem; font-weight: 800; color: var(--paper); }
.prose ul, .prose ol { display: grid; gap: 0.55em; }
.prose ul li { position: relative; padding-left: 1.15em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--cyan);
  transform: rotate(45deg);
}
.prose ol { counter-reset: prose-step; }
.prose ol li { position: relative; padding-left: 1.5em; counter-increment: prose-step; }
.prose ol li::before {
  content: counter(prose-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-mono);
  font-size: 0.74em;
  color: var(--amber);
}
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--cyan-soft); }

/* ---------- 15. Reveal (data-reveal) ---------- */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1);
  will-change: opacity, transform;
}
.js-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-height: 72vh;
    overflow-y: auto;
    padding: 16px var(--gutter) 22px;
    background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.9);
    animation: nav-drop 0.22s ease both;
  }
  .site-nav[data-open] { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 8px;
  }
  .nav-link:hover { background: rgba(53, 224, 208, 0.1); }
  .nav-num { font-size: 0.64rem; }
  .nav-text { font-size: 0.98rem; }
  .nav-cta { justify-content: center; padding: 12px 16px; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-lead { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-strip__note { display: none; }
  .header-strip__inner { justify-content: flex-start; }
  .brand-sub { font-size: 0.6rem; letter-spacing: 0.14em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar { justify-content: flex-start; }
  .section-head { flex-direction: column; gap: 10px; }
}

@media (max-width: 420px) {
  .header-strip__item { font-size: 0.6rem; letter-spacing: 0.1em; }
  .nav-toggle { padding: 8px 11px; }
  .nav-toggle-label { display: none; }
}

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

/* ---------- 17. 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;
  }
  .js-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn:hover { transform: none; }
}
