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

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

body, 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 { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* ============ 2. tokens ============ */
:root {
  --pitch-900: #071E18;
  --pitch-800: #0C2A22;
  --pitch-700: #123A2F;
  --pitch-line: #2A4A3E;
  --flare: #C6FF4A;
  --flare-soft: #E4FFA8;
  --score: #FF8A34;
  --paper: #F4F1EA;
  --mist: #A9B8AE;
  --alert: #FF5C5C;

  --pitch-900-rgb: 7 30 24;
  --pitch-800-rgb: 12 42 34;
  --pitch-700-rgb: 18 58 47;
  --pitch-line-rgb: 42 74 62;
  --flare-rgb: 198 255 74;
  --score-rgb: 255 138 52;
  --alert-rgb: 255 92 92;

  --text: var(--paper);
  --text-soft: var(--mist);
  --text-dim: #7E948A;

  --font-head: "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto 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-body: clamp(15px, 1vw, 17px);
  --fs-small: clamp(12px, 0.72vw, 13.5px);
  --fs-h1: clamp(34px, 5.6vw, 76px);
  --fs-h2: clamp(26px, 3.4vw, 42px);
  --fs-h3: clamp(19px, 1.8vw, 24px);
  --fs-display: clamp(56px, 12vw, 148px);

  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-pill: 999px;

  --shell-max: 1288px;
  --gutter: clamp(16px, 4vw, 40px);
  --sp-section: clamp(48px, 7vw, 104px);
}

/* ============ 3. base ============ */
body {
  min-height: 100vh;
  background-color: var(--pitch-900);
  background-image:
    radial-gradient(120% 70% at 88% -10%, rgb(var(--pitch-700-rgb) / 0.85) 0%, rgb(var(--pitch-900-rgb) / 0) 62%),
    radial-gradient(90% 60% at 0% 8%, rgb(var(--flare-rgb) / 0.07) 0%, rgb(var(--pitch-900-rgb) / 0) 55%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { scrollbar-color: var(--pitch-line) var(--pitch-900); scrollbar-width: thin; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { text-wrap: pretty; }

strong { font-weight: 700; color: var(--flare-soft); }

::selection { background: var(--flare); color: var(--pitch-900); }

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--flare);
  color: var(--pitch-900);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ============ 4. layout ============ */
.container {
  width: 100%;
  max-width: calc(var(--shell-max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-section); }

.section--paper {
  --text: var(--pitch-900);
  --text-soft: #44604F;
  --text-dim: #6C8577;
  background: var(--paper);
  color: var(--text);
  border-radius: var(--r-lg);
  margin-inline: clamp(8px, 1.6vw, 20px);
}

.section--paper h1,
.section--paper h2,
.section--paper h3 { color: var(--text); }
.section--paper strong { color: var(--pitch-700); }
.section--paper .eyebrow { color: var(--pitch-700); }
.section--paper .btn--ghost { border-color: rgb(var(--pitch-900-rgb) / 0.28); color: var(--pitch-900); }
.section--paper .btn--ghost:hover { border-color: var(--pitch-700); color: var(--pitch-700); }
.section--paper :focus-visible { outline-color: var(--pitch-900); }

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
}
.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flare);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.prose {
  max-width: 46rem;
  font-size: var(--fs-body);
  line-height: 1.78;
  color: var(--text-soft);
}
.prose h2 {
  margin-block: 1.7em 0.6em;
  font-size: var(--fs-h2);
  color: var(--text);
}
.prose h3 {
  margin-block: 1.6em 0.5em;
  font-size: var(--fs-h3);
  color: var(--text);
}
.prose p + p { margin-top: 1em; }
.prose ul { list-style: disc; padding-left: 1.25em; margin-block: 1em; }
.prose ol { list-style: decimal; padding-left: 1.5em; margin-block: 1em; }
.prose li + li { margin-top: 0.45em; }

/* ============ 5. buttons / tags ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.2s ease, border-color 0.18s ease;
}
.btn--flare {
  background: var(--flare);
  color: var(--pitch-900);
}
.btn--flare:hover { box-shadow: 0 0 0 5px rgb(var(--flare-rgb) / 0.18); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--pitch-line);
}
.btn--ghost:hover { border-color: var(--flare); color: var(--flare); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgb(var(--flare-rgb) / 0.14);
  color: var(--flare-soft);
}
.tag--score { background: rgb(var(--score-rgb) / 0.16); color: var(--score); }
.tag--live { background: rgb(var(--alert-rgb) / 0.16); color: var(--alert); }

/* ============ 6. breadcrumbs ============ */
.breadcrumbs { padding-block: 16px; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--pitch-line); }
.breadcrumbs a { color: var(--text-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--flare); }
.breadcrumbs [aria-current="page"] { color: var(--flare-soft); }

/* ============ 7. media frames ============ */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  background: linear-gradient(142deg, var(--pitch-700) 0%, var(--pitch-800) 72%);
  isolation: isolate;
}
.media-frame > img,
.media-frame > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgb(var(--flare-rgb) / 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--flare-rgb) / 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
}
.media-frame:has(img)::after,
.media-frame:has(video)::after { opacity: 0.16; }
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--pitch { aspect-ratio: 4 / 3; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--paper { background: linear-gradient(142deg, #DCE5D6 0%, #C7D4C3 100%); }
.media-frame--paper::after {
  background-image:
    linear-gradient(rgb(var(--pitch-900-rgb) / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--pitch-900-rgb) / 0.12) 1px, transparent 1px);
}
.media-frame__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgb(var(--pitch-900-rgb) / 0.72);
  color: var(--flare-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ============ 8. data figures ============ */
.stat-figure {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(46px, 7.5vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
}
.stat-figure--score { color: var(--score); }
.stat-figure--flare { color: var(--flare); }
.stat-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ============ 9. header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px var(--gutter) 0;
  isolation: isolate;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.25s ease;
  background: linear-gradient(
    180deg,
    rgb(var(--pitch-900-rgb) / 0.96) 0%,
    rgb(var(--pitch-900-rgb) / 0.7) 58%,
    rgb(var(--pitch-900-rgb) / 0) 100%
  );
}
.site-header[data-condensed="true"]::before { opacity: 1; }

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgb(var(--pitch-line-rgb) / 0.9);
  border-radius: var(--r-pill);
  background: rgb(var(--pitch-800-rgb) / 0.8);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    0 22px 44px -30px rgb(0 0 0 / 0.95),
    inset 0 1px 0 rgb(var(--flare-rgb) / 0.09);
  transition: padding 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.site-header[data-condensed="true"] .header-shell {
  padding-block: 4px;
  background: rgb(var(--pitch-800-rgb) / 0.94);
  border-color: rgb(var(--pitch-line-rgb) / 1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
  border-radius: var(--r-sm);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(148deg, var(--flare) 0%, var(--flare-soft) 62%, var(--score) 160%);
  box-shadow: 0 0 20px -6px rgb(var(--flare-rgb) / 0.7);
}
.brand-mark-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pitch-900);
  box-shadow: 0 0 0 3px rgb(var(--pitch-900-rgb) / 0.18);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.14;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.brand-line {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mist);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 15px;
  border: 1px solid var(--pitch-line);
  border-radius: var(--r-pill);
  background: rgb(var(--pitch-700-rgb) / 0.62);
  color: var(--paper);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.nav-toggle:hover { border-color: var(--flare); }
.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  flex: none;
}
.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--flare);
  transition: transform 0.2s ease, opacity 0.16s ease, width 0.2s ease;
}
.nav-toggle-bars span:nth-child(2) { width: 68%; }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; width: 0; }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle-label { letter-spacing: 0.02em; }

.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { display: block; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-link:hover {
  color: var(--paper);
  background: rgb(var(--flare-rgb) / 0.12);
}
.nav-link[aria-current="page"] {
  color: var(--pitch-900);
  background: var(--flare);
  font-weight: 700;
}
.nav-link--main::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--flare);
  flex: none;
  transition: background 0.18s ease;
}
.nav-link--main[aria-current="page"]::before { background: var(--pitch-900); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--flare);
  color: var(--pitch-900);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.2s ease, background 0.18s ease;
}
.nav-cta:hover {
  background: var(--flare-soft);
  box-shadow: 0 0 0 5px rgb(var(--flare-rgb) / 0.16);
}

.scroll-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgb(var(--pitch-line-rgb) / 0.4);
  pointer-events: none;
}
.scroll-line-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--flare) 0%, var(--score) 100%);
}

/* ============ 10. footer ============ */
.site-footer {
  margin-top: clamp(32px, 6vw, 80px);
  padding: clamp(40px, 6vw, 76px) var(--gutter) 0;
  border-top: 1px solid rgb(var(--flare-rgb) / 0.16);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(180deg, var(--pitch-800) 0%, var(--pitch-900) 68%);
  color: var(--text);
}
.footer-inner {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 64px);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  align-self: flex-start;
}
.footer-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--flare);
  color: var(--pitch-900);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 0 26px -10px rgb(var(--flare-rgb) / 0.85);
}
.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.footer-motto {
  font-size: var(--fs-body);
  color: var(--flare-soft);
  max-width: 22ch;
}
.footer-hours {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
}
.footer-col { min-width: 0; }
.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flare);
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-link {
  display: inline-block;
  padding-block: 6px;
  font-size: 14px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}
.footer-link:hover { color: var(--flare-soft); transform: translateX(3px); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: clamp(32px, 4.5vw, 56px);
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--r-md);
  background: rgb(var(--pitch-700-rgb) / 0.55);
  border: 1px solid rgb(var(--pitch-line-rgb) / 0.6);
}
.footer-contact-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-contact-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
}
.footer-contact-item:nth-child(2) .footer-contact-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--score);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-block: 22px 32px;
  border-top: 1px solid rgb(var(--pitch-line-rgb) / 0.8);
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--mist);
}
.footer-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: auto;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgb(var(--flare-rgb) / 0.5);
  border-radius: 50%;
  background: rgb(var(--pitch-800-rgb) / 0.92);
  color: var(--flare);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px -20px #000;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background 0.18s ease;
}
.back-to-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover { background: var(--flare); color: var(--pitch-900); }
.back-to-top-icon { font-family: var(--font-mono); font-size: 18px; line-height: 1; }

/* ============ 11. motion ============ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.52s ease, transform 0.52s cubic-bezier(0.22, 0.8, 0.28, 1);
  will-change: opacity, transform;
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-spy] a[aria-current="true"] { color: var(--flare); }

/* ============ 12. focus ============ */
:focus-visible {
  outline: 3px solid var(--flare);
  outline-offset: 3px;
  border-radius: 6px;
}
a:focus-visible,
button:focus-visible { outline-offset: 3px; }

/* ============ 13. responsive ============ */
@media (max-width: 1080px) {
  .nav-link { padding-inline: 11px; font-size: 13.5px; }
  .nav-cta { padding-inline: 16px; font-size: 13px; }
  .brand-line { display: none; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 92px; }
  .site-header { padding-top: 10px; }
  .header-shell { padding: 7px 9px 7px 12px; }
  .nav-toggle { display: inline-flex; }
  .brand-line { display: block; }
  .nav-pill {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--pitch-line);
    border-radius: 26px;
    background: rgb(var(--pitch-800-rgb) / 0.98);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 34px 60px -34px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.99);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .site-header[data-open="true"] .nav-pill {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-item { width: 100%; }
  .nav-link {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    border-radius: 16px;
    color: var(--paper);
  }
  .nav-link:hover { background: rgb(var(--flare-rgb) / 0.1); }
  .nav-cta { width: 100%; padding: 14px 20px; font-size: 15px; }

  .grid--split,
  .grid--thirds { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-note { margin-left: 0; }
}

@media (max-width: 620px) {
  .brand-line { display: none; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .footer-contact { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section--paper { border-radius: var(--r-md); }
  .media-frame { border-radius: var(--r-sm); }
}

@media (max-width: 400px) {
  .brand-name { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
  .nav-toggle-label { display: none; }
}

/* ============ 14. 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 [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .footer-link:hover { transform: none; }
  .back-to-top { transform: none; }
}
