/* ============================================================
   博澳体育 · 共享样式 /assets/site.css
   暖纸 · 深墨蓝 · 夜赛场绿 / 荧光橙 · 电光青
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.02vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
strong { font-weight: 600; }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- tokens ---------- */
:root {
  --paper: #F4EFE6;
  --paper-2: #E7DFD1;
  --ink: #0D1A2B;
  --ink-2: #24384F;
  --green: #12402F;
  --green-2: #1F6B4F;
  --orange: #FF6B2C;
  --cyan: #2ED3E2;
  --index: #8C8578;
  --glass: rgba(255, 255, 255, 0.55);

  --line: rgba(13, 26, 43, 0.14);
  --line-strong: rgba(13, 26, 43, 0.3);
  --line-paper: rgba(244, 239, 230, 0.32);

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 26px;
  --radius-pill: 999px;

  --shadow-glass: 0 18px 44px -30px rgba(13, 26, 43, 0.55);
  --shadow-lift: 0 26px 60px -38px rgba(13, 26, 43, 0.6);

  --maxw: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 72px;

  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "PingFang SC", "Hiragino Sans GB", "Helvetica Neue",
    system-ui, "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "IBM Plex Mono",
    Menlo, Consolas, "Courier New", monospace;
}

/* ---------- base type ---------- */
.display-xl {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: 0.08em;
}

.display-l {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: 0.06em;
}

.display-m {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.eyebrow,
.index-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--index);
}

.eyebrow { display: inline-block; }

.num,
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 36em;
}

.prose { max-width: 36em; line-height: 1.9; color: var(--ink-2); }
.prose p + p { margin-top: 1.1em; }
.prose h3 { margin-top: 2em; margin-bottom: 0.6em; color: var(--ink); }
.prose ul { margin: 1em 0; padding-left: 1.1em; list-style: none; }
.prose li { position: relative; padding-left: 1em; margin-top: 0.5em; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 1px;
  background: var(--orange);
}
.measure { max-width: 36em; }

.section--ink .lede,
.section--green .lede,
.section--ink .prose,
.section--green .prose { color: rgba(244, 239, 230, 0.82); }
.section--ink .eyebrow,
.section--ink .index-label,
.section--green .eyebrow,
.section--green .index-label { color: var(--cyan); }

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

.site-main { display: block; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2.2rem);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

.stack > * + * { margin-top: clamp(1.1rem, 2.4vw, 2rem); }
.stack--tight > * + * { margin-top: 0.85rem; }

.section { padding-block: clamp(3.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 4rem); }
.section--flush { padding-block: 0; }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--green { background: var(--green); color: var(--paper); }

/* ---------- surfaces ---------- */
.panel-glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-glass);
  padding: clamp(1.2rem, 2.6vw, 2.2rem);
}

.panel-solid {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(1.2rem, 2.6vw, 2.2rem);
}

.panel-ink {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-m);
  padding: clamp(1.2rem, 2.6vw, 2.2rem);
}

.panel-ink .eyebrow,
.panel-ink .index-label { color: var(--cyan); }

.rule-ticks {
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--line-strong) 0 1px,
    transparent 1px 18px
  );
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 100% 100%;
  opacity: 0.6;
}

/* ---------- image frame ---------- */
.figure-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, var(--green) 100%);
  isolation: isolate;
}

.figure-frame__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(13, 26, 43, 0.9), rgba(18, 64, 47, 0.9));
}

.figure-frame__media img,
.figure-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.figure-frame:hover .figure-frame__media img,
.figure-frame:hover > img { transform: scale(1.03); }

.figure-frame--wide .figure-frame__media { aspect-ratio: 21 / 9; }
.figure-frame--tall .figure-frame__media { aspect-ratio: 3 / 4; }
.figure-frame--square .figure-frame__media { aspect-ratio: 1 / 1; }

.figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 26, 43, 0) 42%, rgba(13, 26, 43, 0.76) 100%);
  pointer-events: none;
  z-index: 1;
}

.figure-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.15rem;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

/* ---------- data bits ---------- */
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat__value {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  color: var(--orange);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--index);
}
.section--ink .stat__label,
.section--green .stat__label,
.panel-ink .stat__label { color: rgba(244, 239, 230, 0.66); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink-2);
}
.section--ink .tag,
.section--green .tag,
.panel-ink .tag { border-color: var(--line-paper); color: rgba(244, 239, 230, 0.82); }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(46, 211, 226, 0.18);
  vertical-align: middle;
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--index);
}
.breadcrumbs__sep { color: var(--line-strong); }
.breadcrumbs__link:hover { color: var(--ink); }
.section--ink .breadcrumbs,
.section--green .breadcrumbs { color: rgba(244, 239, 230, 0.62); }
.section--ink .breadcrumbs__link:hover,
.section--green .breadcrumbs__link:hover { color: var(--cyan); }

/* ---------- chapter index ---------- */
.chapter-index { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.chapter-index__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chapter-index__link:hover { border-color: var(--ink); color: var(--ink); }
.chapter-index__link.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
    transform 0.22s ease;
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.btn--primary:hover { background: #FF5A12; transform: translateY(-1px); }

.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); border-color: var(--ink-2); }

.btn--cyan { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.btn--cyan:hover { transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.4);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.72); }

.section--ink .btn--ghost,
.section--green .btn--ghost,
.panel-ink .btn--ghost {
  background: transparent;
  border-color: var(--line-paper);
  color: var(--paper);
}
.section--ink .btn--ghost:hover,
.section--green .btn--ghost:hover,
.panel-ink .btn--ghost:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.78rem; }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1.15rem;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 239, 230, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header[data-scrolled="true"] {
  background: rgba(244, 239, 230, 0.96);
  box-shadow: 0 1px 0 rgba(13, 26, 43, 0.14);
}
.site-header[data-open="true"] { background: rgba(244, 239, 230, 0.99); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.4rem);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(13, 26, 43, 0.08);
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green-2), var(--cyan) 48%, var(--orange));
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.18);
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-name { font-size: 1.02rem; font-weight: 600; letter-spacing: 0.14em; }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--index);
}

.coord-rule {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--line-strong);
}
.coord-rule__ticks {
  flex: 1 1 auto;
  min-width: 60px;
  height: 10px;
  opacity: 0.75;
  background-image:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, transparent 0 6px, currentColor 6px 7px, transparent 7px 70px);
  background-repeat: repeat-x, repeat-x;
  background-size: 100% 6px, 100% 10px;
  background-position: left top, left bottom;
}
.coord-rule__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--index);
  white-space: nowrap;
}

.nav-capsule {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0.3rem;
  border: 1px solid rgba(13, 26, 43, 0.12);
  border-radius: var(--radius-pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glass);
}

.nav-list { display: flex; align-items: center; gap: 0.1rem; }
.nav-list__item { display: block; }

.nav-list__link {
  display: inline-block;
  padding: 0.5rem 0.82rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-list__link:hover { background: rgba(13, 26, 43, 0.07); color: var(--ink); }
.nav-list__link[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

.header-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-toggle:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.55); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 11px;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(4.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-4.75px) rotate(-45deg);
}

body.nav-open { overflow: hidden; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 320px at 88% 0%, rgba(46, 211, 226, 0.16), transparent 70%),
    radial-gradient(520px 280px at 4% 100%, rgba(255, 107, 44, 0.14), transparent 70%);
}
.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(1.6rem, 3vw, 2.6rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.35fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}

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

.footer-brand { font-size: 1.35rem; letter-spacing: 0.16em; }
.footer-wordmark {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: rgba(244, 239, 230, 0.5);
}
.footer-note {
  display: block;
  margin-top: 0.85rem;
  max-width: 26em;
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.72);
}
.footer-icp {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(244, 239, 230, 0.6);
}

.footer-block__title {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.footer-list { display: block; }
.footer-list li + li { margin-top: 0.6rem; }
.footer-list a {
  display: inline-block;
  font-size: 0.88rem;
  color: rgba(244, 239, 230, 0.78);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-list a:hover { color: var(--orange); transform: translateX(2px); }
.footer-list--contact li + li { margin-top: 0.7rem; }

.contact-chip {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px dashed rgba(244, 239, 230, 0.28);
  border-radius: var(--radius-s);
  background: rgba(244, 239, 230, 0.04);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-chip:hover {
  border-color: var(--cyan);
  background: rgba(244, 239, 230, 0.09);
}
.contact-chip__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.contact-chip__value {
  font-size: 0.84rem;
  color: var(--paper);
  word-break: break-all;
}
.contact-chip.is-copied .contact-chip__label { color: var(--orange); }

.footer-rule {
  height: 12px;
  margin: clamp(2rem, 4vw, 3rem) 0 1.2rem;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(244, 239, 230, 0.45) 0 1px,
    transparent 1px 16px
  );
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 100% 8px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 230, 0.6);
}
.footer-meta__note { margin: 0; }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(244, 239, 230, 0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--paper);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.to-top:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .coord-rule { display: none; }

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

  .nav-capsule {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(var(--header-h) + 0.6rem);
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: var(--radius-m);
    background: rgba(244, 239, 230, 0.97);
    box-shadow: var(--shadow-lift);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

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

  .nav-list { flex-direction: column; align-items: stretch; gap: 0.15rem; }

  .nav-list__link {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    font-size: 1rem;
  }

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

@media (max-width: 860px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: span 12; }
}

@media (max-width: 620px) {
  .brand-sub { display: none; }
  .header-cta { padding: 0.6rem 1rem; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { justify-content: flex-start; }
  .figure-frame--wide .figure-frame__media { aspect-ratio: 16 / 9; }
}

@media (max-width: 400px) {
  .nav-toggle__text { display: none; }
  .brand-name { font-size: 0.95rem; letter-spacing: 0.1em; }
}
