/* ============================================================
   星空体育赛场 · 共享样式表 /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, ul, ol, li, figure, blockquote, dl, dd, hr {
  margin: 0;
}

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

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

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

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

table { border-collapse: collapse; width: 100%; }

hr { border: 0; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #071427;
  --ink-800: #0B1E3A;
  --silver: #C9D6E3;
  --frost: #F3F7FA;
  --cyan: #2DE1C2;
  --cyan-deep: #1A8F82;
  --orange: #FF8A3D;
  --amber: #FFC48A;
  --plateau: #4167A8;
  --green: #5DD39E;

  --surface: #0F2647;
  --line: rgba(201, 214, 227, 0.14);
  --line-strong: rgba(201, 214, 227, 0.28);

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

  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-48: 3rem;
  --fs-72: 4.5rem;
  --fs-96: 6rem;

  --maxw: 1320px;
  --gutter: 24px;
  --radius-pill: 999px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --section-gap: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-800);
  background-image:
    radial-gradient(1200px 620px at 82% -12%, rgba(65, 103, 168, 0.22), transparent 68%),
    radial-gradient(900px 520px at 8% 4%, rgba(45, 225, 194, 0.08), transparent 70%);
  background-repeat: no-repeat;
  color: var(--silver);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.08em;
  color: var(--frost);
}

p { max-width: 70ch; }

::selection {
  background: rgba(45, 225, 194, 0.28);
  color: var(--frost);
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- 4. 布局与通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

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

#main-content {
  display: block;
  padding-top: clamp(88px, 11vw, 124px);
}

.grid { display: grid; gap: var(--gutter); }

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

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  transform: translateY(-180%);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: var(--ink-900);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.24s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.display-1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-72);
  line-height: 1.04;
  letter-spacing: 0.1em;
  color: var(--frost);
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-48);
  line-height: 1.1;
  letter-spacing: 0.09em;
  color: var(--frost);
}

.section-title {
  font-size: var(--fs-32);
  letter-spacing: 0.08em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 22px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.lede {
  font-size: var(--fs-18);
  line-height: 1.85;
  color: var(--silver);
  max-width: 62ch;
}

.note {
  font-size: var(--fs-13);
  line-height: 1.75;
  color: rgba(201, 214, 227, 0.6);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-12);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.7;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

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

.btn--primary:hover { background: #5eefd8; transform: translateY(-1px); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--silver);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--quiet {
  padding-inline: 4px;
  color: var(--cyan);
}

.btn--quiet:hover { color: var(--frost); }

/* 面包屑 */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: rgba(201, 214, 227, 0.55);
}

.breadcrumbs__link {
  color: rgba(201, 214, 227, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumbs__link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.breadcrumbs__sep { color: rgba(201, 214, 227, 0.32); }

.breadcrumbs__current { color: var(--frost); }

/* 面板与折角 */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(15, 38, 71, 0.94), rgba(7, 20, 39, 0.94));
}

.panel--notch {
  border-top-right-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.panel--notch::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 30px;
  height: 30px;
  border-top-right-radius: var(--radius-sm);
  border-bottom-left-radius: 8px;
  background: linear-gradient(225deg, rgba(45, 225, 194, 0.42) 0 46%, transparent 47%);
  pointer-events: none;
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.panel__title {
  font-size: var(--fs-24);
  letter-spacing: 0.07em;
}

.panel__body { font-size: var(--fs-16); line-height: 1.85; }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(201, 214, 227, 0.05);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--silver);
  white-space: nowrap;
}

.tag--version {
  color: var(--cyan);
  border-color: rgba(45, 225, 194, 0.45);
  background: rgba(45, 225, 194, 0.1);
}

.tag--change {
  color: var(--amber);
  border-color: rgba(255, 138, 61, 0.48);
  background: rgba(255, 138, 61, 0.12);
}

.tag--state {
  color: var(--green);
  border-color: rgba(93, 211, 158, 0.42);
  background: rgba(93, 211, 158, 0.1);
}

/* 对照表 */
.table-compare {
  font-size: var(--fs-13);
  line-height: 1.45;
  border-collapse: separate;
  border-spacing: 0;
}

.table-compare th,
.table-compare td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table-compare thead th {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  color: var(--cyan);
  border-bottom-color: var(--line-strong);
}

.table-compare tbody th {
  font-weight: 600;
  color: var(--frost);
}

/* 图片容器基础规则 */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(65, 103, 168, 0.35), transparent 62%),
    linear-gradient(160deg, #0F2647, #071427 74%);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 18% 24%, rgba(243, 247, 250, 0.55), transparent),
    radial-gradient(1px 1px at 62% 12%, rgba(201, 214, 227, 0.4), transparent),
    radial-gradient(1.4px 1.4px at 78% 68%, rgba(45, 225, 194, 0.45), transparent),
    radial-gradient(1px 1px at 34% 82%, rgba(243, 247, 250, 0.35), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

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

.media-frame__caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: rgba(201, 214, 227, 0.6);
}

/* 显现协议 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal[data-delay="2"] { transition-delay: 0.1s; }
.reveal[data-delay="3"] { transition-delay: 0.2s; }
.reveal[data-delay="4"] { transition-delay: 0.3s; }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 5. 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px clamp(16px, 3vw, 32px) 0;
  pointer-events: none;
  transition: padding 0.35s var(--ease);
}

.site-header.is-condensed { padding-top: 10px; }

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 140;
  background: rgba(201, 214, 227, 0.08);
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--plateau));
  transition: transform 0.12s linear;
}

.header-shell {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 9px 10px 9px 16px;
  border: 1px solid rgba(201, 214, 227, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(7, 20, 39, 0.78);
  box-shadow:
    0 22px 48px -32px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(201, 214, 227, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: padding 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.site-header.is-condensed .header-shell {
  padding-block: 5px;
  background: rgba(7, 20, 39, 0.93);
  border-color: rgba(45, 225, 194, 0.22);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  padding: 4px 6px 4px 0;
  border-radius: var(--radius-pill);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(45, 225, 194, 0.45);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), transform 0.6s var(--ease);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(201, 214, 227, 0.3);
  border-radius: 50%;
  transform: rotate(-24deg) scaleY(0.62);
}

.brand-mark__core {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(45, 225, 194, 0.9);
}

.brand:hover .brand-mark {
  border-color: var(--cyan);
  transform: rotate(26deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.12;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-18);
  letter-spacing: 0.14em;
  color: var(--frost);
  white-space: nowrap;
}

.brand-sub {
  max-height: 18px;
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(201, 214, 227, 0.55);
  white-space: nowrap;
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-header.is-condensed .brand-sub {
  max-height: 0;
  opacity: 0;
}

/* 版本徽标 */
.version-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--cyan), #7ff2de);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  box-shadow: 0 0 0 1px rgba(45, 225, 194, 0.35), 0 10px 22px -16px var(--cyan);
}

.version-chip__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-900);
  opacity: 0.72;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item { display: block; flex: 0 0 auto; }

.nav-link {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(201, 214, 227, 0.82);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.nav-link:hover {
  color: var(--frost);
  background: rgba(201, 214, 227, 0.08);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(45, 225, 194, 0.1);
  box-shadow: inset 0 0 0 1px rgba(45, 225, 194, 0.32);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: var(--ink-900);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.24s var(--ease), transform 0.24s var(--ease);
}

.nav-cta::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.nav-cta:hover {
  background: #5eefd8;
  transform: translateY(-1px);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--frost);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease);
}

.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); }

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 12px;
}

.nav-toggle__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease);
}

.nav-toggle__label { line-height: 1; }

.site-header[data-open="true"] .nav-toggle__bar:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bar:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ---------- 6. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 48%, #050f1e 100%);
  color: var(--silver);
}

.footer-orbit {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.footer-orbit::before {
  content: "";
  position: absolute;
  top: -190px;
  right: -130px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(65, 103, 168, 0.3);
  border-radius: 50%;
}

.footer-orbit::after {
  content: "";
  position: absolute;
  top: -190px;
  right: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(45, 225, 194, 0.12), transparent 62%);
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px) 0;
}

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

.brand--footer { padding: 0; }

.brand--footer .brand-mark {
  width: 38px;
  height: 38px;
}

.brand--footer .brand-name { font-size: var(--fs-18); }

.footer-brandline {
  margin-top: 16px;
  max-width: 32ch;
  font-size: var(--fs-14);
  line-height: 1.9;
  color: rgba(201, 214, 227, 0.62);
}

.footer-contact {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
  font-size: var(--fs-13);
}

.footer-contact li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-contact__key {
  flex: 0 0 auto;
  min-width: 44px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 214, 227, 0.45);
}

.footer-contact__value {
  color: var(--silver);
  word-break: break-word;
}

.footer-contact__note {
  margin-top: 14px;
  max-width: 36ch;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(201, 214, 227, 0.42);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

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

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-12);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  font-size: var(--fs-14);
  color: rgba(201, 214, 227, 0.74);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--frost);
  transform: translateX(3px);
}

.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  max-width: var(--maxw);
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 22px clamp(20px, 4vw, 40px) 34px;
  border-top: 1px solid rgba(201, 214, 227, 0.1);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: rgba(201, 214, 227, 0.42);
}

.footer-copy { color: rgba(201, 214, 227, 0.52); }

.footer-icp { color: rgba(201, 214, 227, 0.42); }

.footer-meta {
  margin-left: auto;
  color: rgba(45, 225, 194, 0.62);
}

/* ---------- 7. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 8px 10px; font-size: var(--fs-13); }
  .nav-cta { padding: 9px 14px; font-size: var(--fs-13); }
  .brand-sub { display: none; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
    padding: 16px;
    border: 1px solid rgba(201, 214, 227, 0.16);
    border-radius: 28px;
    background: linear-gradient(180deg, #0B1E3A, #071427);
    box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0.28s var(--ease);
  }

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

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

  .nav-item { display: block; }

  .nav-link {
    display: block;
    padding: 12px 14px;
    font-size: var(--fs-16);
  }

  .nav-cta {
    align-self: flex-start;
    margin: 12px 0 2px 4px;
    padding: 10px 20px;
    font-size: var(--fs-14);
  }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-meta { margin-left: 0; }
}

@media (max-width: 640px) {
  :root {
    --fs-96: 3rem;
    --fs-72: 2.5rem;
    --fs-48: 2rem;
    --fs-32: 1.5rem;
    --fs-24: 1.25rem;
    --gutter: 16px;
  }

  .site-header { padding-top: 12px; }
  .site-header.is-condensed { padding-top: 8px; }
  .header-shell { padding: 7px 8px 7px 12px; gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: var(--fs-16); letter-spacing: 0.1em; }
  .nav-toggle { padding: 8px 12px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-nav { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- 8. 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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .brand:hover .brand-mark { transform: none; }
  .footer-link:hover { transform: none; }
  .btn:hover,
  .nav-cta:hover { transform: none; }
}
