/* ==========================================================================
   谈球吧 · 共享外壳 Site Kit  /assets/site.css
   Tokens → Reset → Typography → Layout → Components → Header → Footer
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink-950: #070D0A;
  --ink-900: #0E1813;
  --pitch-800: #163326;
  --paper-050: #F4EFE4;
  --paper-200: #DED4C2;
  --lime-400: #C8F751;
  --orange-500: #FF6B35;
  --ice-300: #9BE8D8;
  --amber-300: #F2B84B;
  --moss-muted: #9DB3A6;

  --line-soft: #1B3629;
  --line-strong: #24463A;

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

  --shell: 1320px;
  --pad-x: clamp(18px, 4vw, 56px);
  --gap: clamp(16px, 2.2vw, 32px);
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-hard: 8px 8px 0 var(--pitch-800);
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(15.5px, 0.42vw + 14.2px, 17.5px);
  line-height: 1.75;
  color: var(--paper-050);
  background-color: var(--ink-950);
  background-image:
    linear-gradient(rgba(200, 247, 81, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 247, 81, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

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

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

/* 滚动进度条（由 JS 写入 --scroll-progress） */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--lime-400), var(--orange-500));
  z-index: 300;
  pointer-events: none;
}

/* ---------- 3. Typography ---------- */
.h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--paper-050);
  text-wrap: balance;
}
.h1 { font-size: clamp(34px, 5.6vw, 68px); }
.h2 { font-size: clamp(24px, 3.2vw, 40px); }
.h3 { font-size: clamp(19px, 1.7vw, 26px); }
.h4 { font-size: clamp(16px, 1.1vw, 19px); }

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

.anno {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss-muted);
}

.anno--vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .26em;
  line-height: 1;
}

/* ---------- 4. Layout Utilities ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.shell--narrow { max-width: 900px; }

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

.divider {
  height: 2px;
  border: 0;
  background: var(--line-soft);
  margin-block: clamp(28px, 4vw, 56px);
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: clamp(10px, 1.6vw, 22px);
  margin-bottom: clamp(20px, 3vw, 40px);
}
.section-head__num {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--lime-400);
  padding: .22rem .5rem;
  border: 1.5px solid var(--pitch-800);
  background: rgba(200, 247, 81, .06);
  line-height: 1.5;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .68rem 1.15rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .02em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              color .16s var(--ease), border-color .16s var(--ease),
              box-shadow .16s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }

.btn--lime {
  background: var(--lime-400);
  border-color: var(--lime-400);
  color: var(--ink-950);
  box-shadow: 4px 4px 0 var(--orange-500);
}
.btn--lime:hover {
  background: var(--paper-050);
  border-color: var(--paper-050);
  box-shadow: 6px 6px 0 var(--orange-500);
}

.btn--orange {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--ink-950);
  box-shadow: 4px 4px 0 var(--pitch-800);
}
.btn--orange:hover { background: var(--amber-300); border-color: var(--amber-300); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper-050);
}
.btn--ghost:hover {
  border-color: var(--lime-400);
  color: var(--lime-400);
  box-shadow: 4px 4px 0 rgba(200, 247, 81, .18);
}

/* ---------- 6. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .5rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.5;
  color: var(--moss-muted);
  white-space: nowrap;
}
.tag--lime { color: var(--lime-400); }
.tag--orange { color: var(--orange-500); }
.tag--ice { color: var(--ice-300); }
.tag--solid {
  background: var(--lime-400);
  border-color: var(--lime-400);
  color: var(--ink-950);
}

/* ---------- 7. Cards ---------- */
.card {
  background: var(--ink-900);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 30px);
}

.card--paper {
  background: var(--paper-050);
  border-color: var(--ink-950);
  color: var(--ink-950);
  box-shadow: var(--shadow-hard);
}

/* ---------- 8. Prose ---------- */
.prose {
  max-width: 72ch;
  font-size: 1.01rem;
  line-height: 1.8;
  color: var(--paper-050);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-top: 1.9em;
}
.prose h2 { font-size: clamp(22px, 2.2vw, 30px); }
.prose h3 { font-size: clamp(18px, 1.5vw, 22px); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose a {
  color: var(--lime-400);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.prose strong { font-weight: 800; color: var(--lime-400); }
.prose blockquote {
  border-left: 4px solid var(--orange-500);
  padding: .2rem 0 .2rem 1.1rem;
  color: var(--paper-200);
}

.prose--paper { color: var(--ink-950); }
.prose--paper strong { color: var(--pitch-800); }
.prose--paper a { color: var(--pitch-800); }
.prose--paper blockquote { color: var(--pitch-800); }

/* ---------- 9. Media Containers ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--pitch-800) 0%, var(--ink-900) 62%, var(--pitch-800) 100%);
}
.media > img,
.media > picture,
.media > picture > img,
.media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 13, 10, .62));
  pointer-events: none;
}
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--tall { aspect-ratio: 4 / 5; }

.media__badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 2;
  padding: .18rem .45rem;
  background: var(--ink-950);
  border: 1px solid var(--lime-400);
  color: var(--lime-400);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  line-height: 1.5;
}
.media__caption {
  margin-top: .55rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  color: var(--moss-muted);
}

/* ---------- 10. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--moss-muted);
}
.breadcrumb a {
  color: var(--moss-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.breadcrumb a:hover {
  color: var(--lime-400);
  border-bottom-color: var(--lime-400);
}
.breadcrumb__sep { color: var(--line-strong); }
.breadcrumb [aria-current="page"] { color: var(--paper-050); }

/* ---------- 11. Skip Link ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 400;
  padding: .7rem 1.3rem;
  background: var(--lime-400);
  color: var(--ink-950);
  font-weight: 800;
  font-size: .88rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 4px 4px 0 var(--orange-500);
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 12. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--ink-900);
  border-bottom: 2px solid var(--pitch-800);
}

.command-bar {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: 68px;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 auto;
  padding-block: .4rem;
  color: var(--paper-050);
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--lime-400);
  color: var(--ink-950);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1;
  transform: skewX(-8deg);
  box-shadow: 3px 3px 0 var(--orange-500);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.brand:hover .brand__mark {
  transform: skewX(-8deg) translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--orange-500);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: .06em;
  line-height: 1.15;
}
.brand__descriptor {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .16em;
  line-height: 1.3;
  color: var(--moss-muted);
}

/* 状态 */
.command-bar__status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .05em;
  color: var(--moss-muted);
  white-space: nowrap;
}
.command-bar__num {
  color: var(--lime-400);
  font-weight: 600;
}
.pulse-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-400);
  animation: dotPulse 2.6s var(--ease) infinite;
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 247, 81, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(200, 247, 81, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 247, 81, 0); }
}

.command-bar__cta { flex: 0 0 auto; }

/* 移动开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  padding: .58rem .8rem;
  background: transparent;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--paper-050);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}
.nav-toggle:hover {
  border-color: var(--lime-400);
  color: var(--lime-400);
  background: rgba(200, 247, 81, .06);
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* 导航 */
.site-nav {
  background: var(--ink-900);
  border-top: 1px solid var(--line-soft);
}
.site-nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__list::-webkit-scrollbar { display: none; }
.site-nav__list > li { display: flex; }

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: .42rem;
  padding: .76rem .72rem;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  color: var(--moss-muted);
  border-bottom: 3px solid transparent;
  transition: color .16s var(--ease), background-color .16s var(--ease),
              border-color .16s var(--ease);
}
.site-nav__link::before {
  content: attr(data-index);
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(157, 179, 166, .55);
  transform: translateY(-.3em);
  transition: color .16s var(--ease);
}
.site-nav__link:hover {
  color: var(--paper-050);
  background: rgba(200, 247, 81, .07);
  border-bottom-color: var(--line-strong);
}
.site-nav__link:hover::before { color: var(--lime-400); }

.site-nav__link[aria-current="page"] {
  color: var(--ink-950);
  background: var(--lime-400);
  border-bottom-color: var(--orange-500);
}
.site-nav__link[aria-current="page"]::before { color: rgba(7, 13, 10, .62); }

.site-nav__note {
  font-family: var(--font-mono);
  font-size: .66rem;
  line-height: 1.65;
  letter-spacing: .05em;
  color: var(--moss-muted);
}
.site-nav__footer { display: none; }

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 128px);
  background: var(--ink-900);
  border-top: 3px solid var(--lime-400);
  color: var(--paper-050);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: clamp(90px, 22%, 260px);
  height: 3px;
  background: var(--orange-500);
}
.site-footer__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(32px, 4.5vw, 64px) var(--pad-x) clamp(20px, 2.5vw, 34px);
}

.site-footer__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gap);
  padding-bottom: clamp(24px, 3.4vw, 44px);
  border-bottom: 2px solid var(--line-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.footer-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  background: var(--lime-400);
  color: var(--ink-950);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
  transform: skewX(-8deg);
  box-shadow: 3px 3px 0 var(--orange-500);
}
.footer-brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: .06em;
  line-height: 1.2;
}
.footer-brand__domain {
  display: block;
  font-size: .66rem;
  letter-spacing: .12em;
  color: var(--moss-muted);
}

.site-footer__summary {
  max-width: 46ch;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--moss-muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
  padding-block: clamp(24px, 3.4vw, 44px);
}

.footer-col__title {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: .02em;
  line-height: 1.4;
}
.footer-col__idx {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--lime-400);
}
.footer-col__text {
  font-size: .86rem;
  line-height: 1.7;
  color: var(--moss-muted);
}
.footer-col__links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  margin-top: .75rem;
}
.footer-col__links a {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--paper-050);
  text-decoration: none;
  border-bottom: 1.5px solid var(--pitch-800);
  padding-bottom: 1px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-col__links a:hover {
  color: var(--lime-400);
  border-bottom-color: var(--lime-400);
}

.site-footer__contact {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
  gap: var(--gap);
  padding: clamp(18px, 2.4vw, 30px);
  background: rgba(22, 51, 38, .45);
  border: 2px solid var(--line-strong);
  border-left: 6px solid var(--orange-500);
  border-radius: var(--radius);
}
.footer-contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .04em;
  line-height: 1.4;
  margin-bottom: .45rem;
}
.footer-contact__note {
  font-family: var(--font-mono);
  font-size: .68rem;
  line-height: 1.8;
  letter-spacing: .02em;
  color: var(--moss-muted);
}
.footer-contact__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
.footer-contact__k {
  display: block;
  margin-bottom: .18rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  color: var(--lime-400);
}
.footer-contact__v {
  display: block;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--paper-050);
  word-break: break-word;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem var(--gap);
  margin-top: clamp(20px, 2.6vw, 34px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 2px solid var(--line-soft);
}
.site-footer__legal {
  max-width: 72ch;
  font-family: var(--font-mono);
  font-size: .68rem;
  line-height: 1.8;
  letter-spacing: .02em;
  color: var(--moss-muted);
}
.site-footer__legalnav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
}
.site-footer__legalnav a {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--paper-050);
  text-decoration: none;
  border-bottom: 1.5px solid var(--pitch-800);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.site-footer__legalnav a:hover {
  color: var(--lime-400);
  border-bottom-color: var(--lime-400);
}

/* ---------- 14. Reveal ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    will-change: opacity, transform;
  }
  [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__contact { grid-template-columns: 1fr; }
  .footer-contact__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  html { scroll-padding-top: 84px; }

  .command-bar { min-height: 60px; }
  .command-bar__status { display: none; }
  .command-bar__cta { display: none; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 130;
    max-height: 82vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 3px solid var(--lime-400);
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    transform: translateY(105%);
    visibility: hidden;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, .65);
    transition: transform .3s var(--ease), visibility .3s var(--ease);
  }
  .site-nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    max-width: none;
    padding: .5rem 1rem 0;
    overflow: visible;
  }
  .site-nav__list > li { display: block; }

  .site-nav__link {
    display: flex;
    width: 100%;
    padding: .95rem .7rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--line-soft);
    border-left: 3px solid transparent;
  }
  .site-nav__link:hover { border-bottom-color: var(--line-soft); }
  .site-nav__link[aria-current="page"] {
    border-bottom-color: transparent;
    border-left-color: var(--orange-500);
  }

  .site-nav__footer {
    display: grid;
    gap: .7rem;
    padding: 1.1rem 1.7rem 0;
  }

  body.is-nav-open { overflow: hidden; }

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

@media (max-width: 600px) {
  .brand__descriptor { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-contact__list { grid-template-columns: 1fr; }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- 16. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .pulse-dot { animation: none; box-shadow: 0 0 0 3px rgba(200, 247, 81, .22); }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .skip-link { transition: none; }
}
