/* =========================================================
   华体CN手机版 — 共享站台样式 /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,
ol, ul, dl, dd, figure, blockquote, pre { margin: 0; }

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

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

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

a { color: inherit; text-decoration: none; }

/* ---------- 2. tokens ---------- */
:root {
  --ink: #071A2B;
  --ink-2: #0D2740;
  --ink-3: #05131F;
  --deep: #16343B;
  --teal: #38F2C3;
  --mint: #A6FFE8;
  --amber: #FFB24A;
  --clay: #C97B5A;
  --moss: #6E8B6B;
  --stone: #8A98A6;
  --paper: #F2EFE6;

  --line: rgba(56, 242, 195, 0.18);
  --line-soft: rgba(242, 239, 230, 0.12);
  --line-faint: rgba(242, 239, 230, 0.06);

  --font-display: "Arial Narrow", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius: 2px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 46px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. base typography ---------- */
body {
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

p { max-width: 38em; }

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

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

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.container--narrow { max-width: 860px; }

.rule {
  height: 1px;
  border: 0;
  background: var(--line-soft);
  margin: clamp(20px, 3vw, 34px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--teal);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.lede {
  max-width: 34em;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: rgba(242, 239, 230, 0.78);
}

.note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--stone);
  max-width: 40em;
}

/* ---------- 5. tags & buttons ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 178, 74, 0.45);
  background: rgba(255, 178, 74, 0.09);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}

.tag--teal {
  border-color: rgba(56, 242, 195, 0.45);
  background: rgba(56, 242, 195, 0.09);
  color: var(--mint);
}

.tag--mute {
  border-color: var(--line-soft);
  background: rgba(242, 239, 230, 0.04);
  color: var(--stone);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.button:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--ink);
}

.button:active { transform: translateY(1px); }

.button--solid {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
}

.button--solid:hover {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 178, 74, 0.5);
  color: var(--amber);
}

.button--ghost:hover {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

/* ---------- 6. skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--teal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

/* ---------- 7. header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 22, 36, 0.95);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 3px 0 0 var(--teal), 0 12px 30px -24px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.frame-utility {
  background: var(--ink-3);
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.frame-utility__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 7px var(--gutter);
}

.frame-utility__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 178, 74, 0.16);
  animation: node-pulse 2.6s var(--ease) infinite;
}

@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 178, 74, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(255, 178, 74, 0.04); }
}

.frame-utility__text {
  color: var(--amber);
  font-weight: 600;
  white-space: nowrap;
}

.frame-utility__meta {
  margin-left: auto;
  color: var(--stone);
  white-space: nowrap;
}

.frame-bar { position: relative; }

.frame-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--paper);
}

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(56, 242, 195, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(56, 242, 195, 0.14), rgba(56, 242, 195, 0) 68%);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.brand__mark::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 6px;
  height: 6px;
  background: var(--amber);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.brand__descriptor {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

/* toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(56, 242, 195, 0.3);
  border-radius: var(--radius);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--teal);
  background: rgba(56, 242, 195, 0.08);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--teal);
  transition: transform 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

/* nav */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item { display: block; }

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 11px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(242, 239, 230, 0.78);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.site-nav__no {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--stone);
  transition: color 0.18s var(--ease);
}

.site-nav__label { white-space: nowrap; }

.site-nav__link:hover {
  color: var(--mint);
  border-bottom-color: rgba(56, 242, 195, 0.55);
}

.site-nav__link:hover .site-nav__no { color: var(--teal); }

.site-nav__link[aria-current="page"] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.site-nav__link[aria-current="page"] .site-nav__no { color: var(--amber); }

.site-nav__link:focus-visible { outline-offset: -2px; }

.site-nav__foot { display: none; }

/* scroll progress */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal), var(--mint) 55%, var(--amber));
  transition: transform 0.08s linear;
  pointer-events: none;
}

/* ---------- 8. footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 100px);
  background: var(--ink-3);
  border-top: 1px solid var(--line);
  box-shadow: inset 3px 0 0 rgba(201, 123, 90, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(26px, 4vw, 56px);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(26px, 3vw, 40px);
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.footer-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-faint);
}

.footer-brand__line {
  margin: 16px 0 14px;
  max-width: 26ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(242, 239, 230, 0.72);
}

.footer-brand__domain {
  margin-bottom: 20px;
  padding-left: 10px;
  border-left: 2px solid var(--teal);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mint);
}

.footer-index__list { display: grid; gap: 1px; }

.footer-index__item { display: block; }

.footer-index__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-faint);
  font-size: 14.5px;
  color: rgba(242, 239, 230, 0.8);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-index__no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--stone);
  transition: color 0.18s var(--ease);
}

.footer-index__link:hover {
  color: var(--teal);
  transform: translateX(2px);
}

.footer-index__link:hover .footer-index__no { color: var(--amber); }

.footer-meta { display: grid; gap: 10px; }

.footer-meta__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-faint);
}

.footer-meta__row dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.footer-meta__row dd {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}

.footer-note {
  margin-top: 14px;
  max-width: 30em;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--stone);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px var(--gutter) 28px;
  border-top: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.footer-legal__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal__item { display: block; }

.footer-legal__link {
  color: rgba(242, 239, 230, 0.75);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal__link:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.footer-legal__icp { color: var(--stone); white-space: nowrap; }

.footer-legal__copy {
  margin-left: auto;
  color: var(--stone);
  white-space: nowrap;
}

.footer-legal__return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 178, 74, 0.4);
  border-radius: var(--radius);
  color: var(--amber);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer-legal__return:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

/* ---------- 9. breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stone);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__link {
  color: rgba(242, 239, 230, 0.7);
  transition: color 0.18s var(--ease);
}

.breadcrumb__link:hover { color: var(--teal); }

.breadcrumb__sep { color: rgba(242, 239, 230, 0.24); }

.breadcrumb__current { color: var(--teal); }

/* ---------- 10. scaffold (side anchor index) ---------- */
.scaffold {
  position: sticky;
  top: calc(var(--header-h) + 26px);
}

.scaffold__list {
  display: grid;
  gap: 1px;
  border-left: 1px solid var(--line-soft);
}

.scaffold__item { display: block; }

.scaffold__link {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-left: -1px;
  padding: 8px 0 8px 12px;
  border-left: 1px solid transparent;
  font-size: 13px;
  line-height: 1.5;
  color: var(--stone);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.scaffold__no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(138, 152, 166, 0.8);
}

.scaffold__link:hover {
  color: var(--mint);
  border-left-color: rgba(56, 242, 195, 0.5);
}

.scaffold__link[data-active="true"] {
  color: var(--teal);
  border-left-color: var(--teal);
  background: rgba(56, 242, 195, 0.06);
}

.scaffold__link[data-active="true"] .scaffold__no { color: var(--amber); }

/* ---------- 11. media frames ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--ink-2), var(--ink) 70%);
  box-shadow: 0 1px 0 rgba(242, 239, 230, 0.05), 0 22px 44px -34px #000;
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, rgba(56, 242, 195, 0.35) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(56, 242, 195, 0.28) 0 1px, transparent 1px 34px);
  mix-blend-mode: screen;
}

.media-frame--wide { aspect-ratio: 16 / 9; }

.media-frame--tall { aspect-ratio: 3 / 4; }

.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 7px 11px;
  background: rgba(5, 19, 31, 0.86);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mint);
}

/* ---------- 12. reveal & to-top ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(56, 242, 195, 0.42);
  border-radius: var(--radius);
  background: rgba(7, 26, 43, 0.94);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--ink);
}

/* ---------- 13. responsive ---------- */
@media (max-width: 1180px) {
  .site-nav__link { padding: 10px 8px; font-size: 13.5px; }
  .site-nav__no { font-size: 9.5px; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .footer-contact { grid-column: 1 / -1; }
  .footer-legal__copy { margin-left: 0; }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }

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

  .frame-utility__meta { display: none; }

  .brand__mark { width: 38px; height: 38px; font-size: 12px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 10px var(--gutter) 22px;
    background: var(--ink-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 44px -30px #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    padding: 14px 6px;
    border-bottom: 1px solid var(--line-faint);
    font-size: 16px;
    color: rgba(242, 239, 230, 0.86);
  }

  .site-nav__link:hover { border-bottom-color: var(--line-faint); }

  .site-nav__link[aria-current="page"] {
    padding-left: 12px;
    background: rgba(56, 242, 195, 0.07);
    border-bottom-color: rgba(56, 242, 195, 0.34);
  }

  .site-nav__foot {
    display: block;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-faint);
  }

  .site-nav__note {
    margin-bottom: 14px;
    max-width: 32em;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.75;
    letter-spacing: 0.1em;
    color: var(--stone);
  }

  .site-nav__cta { width: 100%; }

  .scaffold { position: static; }

  .scaffold__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-left: 0;
  }

  .scaffold__link {
    margin-left: 0;
    padding: 6px 10px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    font-size: 12.5px;
  }

  .scaffold__link[data-active="true"] { border-color: var(--teal); }
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-contact { grid-column: auto; }

  .frame-utility__inner { font-size: 10px; letter-spacing: 0.1em; }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-legal__return { align-self: flex-start; }
}

@media (max-width: 420px) {
  .brand__descriptor { display: none; }
  .brand__name { font-size: 15.5px; }
  .frame-utility__text { font-size: 9.5px; }
}

/* ---------- 14. motion preferences ---------- */
@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;
  }

  .frame-utility__dot { animation: none; }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
