/* =========================================================
   万博娱乐中心 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ========================================================= */

/* ---------- 01. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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; }

[hidden] { display: none !important; }

/* ---------- 02. Design tokens ---------- */
:root {
  --ink-900: #061426;
  --ink-700: #0B2748;
  --ink-500: #123761;
  --gold-500: #D8A94A;
  --gold-200: #F2D27A;
  --cyan: #57E0D0;
  --cyan-deep: #2FB9AC;
  --orange: #FF8A4C;
  --stone: #6E7B8B;
  --moss: #6F8F6A;
  --clay: #B86B4B;
  --paper: #F4EDE2;
  --paper-ink: #101820;

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

  --shell: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-pill: 999px;
  --radius-card: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hairline-gold: rgba(216, 169, 74, .34);
  --hairline-cool: rgba(110, 123, 139, .34);
}

/* ---------- 03. Base / 中文排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--paper);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(circle at 8% -8%, rgba(87, 224, 208, .10), transparent 46%),
    radial-gradient(circle at 92% -4%, rgba(216, 169, 74, .12), transparent 42%),
    linear-gradient(180deg, rgba(11, 39, 72, .55) 0%, rgba(6, 20, 38, 0) 34%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.24;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
  background: rgba(216, 169, 74, .38);
  color: #fff;
}

#main-content {
  display: block;
  scroll-margin-top: 120px;
}

:where(h1, h2, h3, section, [id]) { scroll-margin-top: 120px; }

/* ---------- 04. Focus ---------- */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- 05. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 8vw, 104px); }
.section--tight { padding-block: clamp(28px, 4.5vw, 56px); }

.section__head {
  display: grid;
  gap: 14px;
  max-width: 62ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.6vw, 28px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--aside { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }

.divider {
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 4vw, 44px);
  background: linear-gradient(90deg, transparent, var(--hairline-gold), transparent);
}

/* ---------- 06. Type utilities ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .09em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.display {
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.06;
  font-size: clamp(32px, 5.4vw, 58px);
  color: var(--paper);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .display {
    background-image: linear-gradient(180deg, #FFF8E8 4%, var(--gold-200) 54%, var(--gold-500) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.lede {
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.8;
  color: rgba(244, 237, 226, .78);
  max-width: 42ch;
}

/* ---------- 07. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
    background-color .18s var(--ease), color .18s var(--ease),
    border-color .18s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange), #E8663A);
  color: #140A04;
  box-shadow: 0 14px 30px -18px rgba(255, 138, 76, .95);
}
.btn--primary:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  color: var(--ink-900);
  box-shadow: 0 12px 26px -18px rgba(216, 169, 74, .9);
}
.btn--gold:hover { transform: translateY(-2px); }

.btn--ghost {
  border-color: rgba(216, 169, 74, .5);
  background: rgba(11, 39, 72, .42);
  color: var(--gold-200);
}
.btn--ghost:hover {
  background: rgba(216, 169, 74, .14);
  color: var(--paper);
  border-color: var(--gold-500);
}

/* ---------- 08. Tags / badge / ribbon ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(87, 224, 208, .35);
  background: rgba(87, 224, 208, .12);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
}
.tag--moss {
  border-color: rgba(111, 143, 106, .5);
  background: rgba(111, 143, 106, .18);
  color: #B7D3B0;
}
.tag--clay {
  border-color: rgba(184, 107, 75, .55);
  background: rgba(184, 107, 75, .2);
  color: #EFBFA6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(216, 169, 74, .46);
  background: rgba(6, 20, 38, .62);
  color: var(--gold-200);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  backdrop-filter: blur(8px);
}

.ribbon {
  height: 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--moss), var(--clay) 52%, var(--stone));
  opacity: .85;
}

/* ---------- 09. Paper / card ---------- */
.paper {
  position: relative;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(16, 24, 32, .14);
  border-radius: 4px;
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow:
    0 34px 64px -52px #000,
    7px 7px 0 -1px rgba(244, 237, 226, .14),
    14px 14px 0 -2px rgba(244, 237, 226, .06);
}

.card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid rgba(216, 169, 74, .2);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(11, 39, 72, .88), rgba(6, 20, 38, .94));
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.card:hover {
  border-color: rgba(216, 169, 74, .45);
  transform: translateY(-2px);
}

.stat { display: grid; gap: 6px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--gold-200);
  letter-spacing: .02em;
}
.stat__label { font-size: 13px; color: var(--stone); }

/* ---------- 10. Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--stone);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li:not(:first-child)::before {
  content: "/";
  margin-right: 8px;
  color: rgba(110, 123, 139, .7);
}
.breadcrumb a {
  color: rgba(244, 237, 226, .72);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.breadcrumb a:hover { color: var(--gold-200); }
.breadcrumb [aria-current="page"] { color: var(--gold-200); }

/* ---------- 11. Prose ---------- */
.prose {
  max-width: 40em;
  font-size: 17px;
  line-height: 1.9;
  color: var(--paper-ink);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  letter-spacing: -.01em;
  margin-top: 1.9em;
}
.prose h3 { font-size: 19px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.35em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose a {
  color: #8A5A12;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong { font-weight: 700; }
.prose .mono { color: #4B5560; }
.prose blockquote {
  padding-left: 1.1em;
  border-left: 2px solid rgba(184, 107, 75, .6);
  color: #3C4855;
}

/* ---------- 12. Figure（页面阶段放图） ---------- */
.figure { margin: 0; display: grid; gap: 10px; }
.figure__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--hairline-gold);
  background:
    radial-gradient(circle at 22% 12%, rgba(87, 224, 208, .18), transparent 55%),
    linear-gradient(140deg, rgba(11, 39, 72, .95), rgba(6, 20, 38, .98));
  aspect-ratio: 16 / 10;
}
.figure__media > img,
.figure__media > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(244, 237, 226, .045) 0 1px,
    transparent 1px 3px
  );
}
.figure__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--stone);
}
.figure--wide .figure__media { aspect-ratio: 21 / 9; }
.figure--tall .figure__media { aspect-ratio: 3 / 4; }

/* ---------- 13. Tabs ---------- */
.tabs { display: grid; gap: clamp(18px, 3vw, 28px); }

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--hairline-cool);
  border-radius: var(--radius-pill);
  background: rgba(11, 39, 72, .55);
}

.tab {
  appearance: none;
  border: 0;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(244, 237, 226, .74);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.tab:hover { color: var(--gold-200); }
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: #032018;
  font-weight: 800;
}

.tabpanel { outline: none; }
.tabpanel:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* ---------- 14. Accordion ---------- */
.accordion {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline-cool);
}
.accordion__item { border-bottom: 1px solid var(--hairline-cool); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  border: 0;
  background: none;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color .18s var(--ease);
}
.accordion__trigger:hover { color: var(--gold-200); }
.accordion__trigger::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 19px;
  line-height: 1;
  color: var(--gold-500);
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.accordion__trigger[aria-expanded="true"]::after {
  content: "−";
  color: var(--cyan);
}
.accordion__panel {
  max-width: 44em;
  padding: 0 4px 20px;
  color: rgba(244, 237, 226, .76);
  font-size: 15.5px;
  line-height: 1.85;
}

/* ---------- 15. Progress / to-top / reveal ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 90;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--gold-500) 55%, var(--orange));
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(216, 169, 74, .45);
  border-radius: var(--radius-pill);
  background: rgba(6, 20, 38, .9);
  color: var(--gold-200);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.to-top:hover { background: rgba(216, 169, 74, .18); color: var(--paper); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js [data-reveal="shown"] { opacity: 1; transform: none; }

[data-spy-link][data-active="true"] {
  color: var(--gold-200);
  border-color: rgba(216, 169, 74, .6);
}

/* ---------- 16. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--gold-500);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translate(-50%, -180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline-offset: 4px;
}

/* ---------- 17. Header / 悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px var(--gutter) 0;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(11, 39, 72, .94), rgba(6, 20, 38, .96));
  box-shadow:
    0 20px 44px -30px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(242, 210, 122, .12);
  backdrop-filter: blur(14px);
}

/* 品牌浮岛 */
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  transition: color .18s var(--ease);
}
.brand:hover { color: var(--gold-200); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(216, 169, 74, .62);
  background: radial-gradient(circle at 30% 24%, rgba(242, 210, 122, .38), rgba(11, 39, 72, .94));
  color: var(--gold-200);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand__edition {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--cyan);
  text-transform: uppercase;
  white-space: nowrap;
}

/* 主导航 */
.pill-nav { margin-inline: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list__item { display: block; }

.nav-list__link {
  display: block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  color: rgba(244, 237, 226, .74);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-list__link:hover {
  color: var(--gold-200);
  background: rgba(87, 224, 208, .1);
}
.nav-list__link[aria-current="page"] {
  background: linear-gradient(180deg, var(--gold-200), var(--gold-500));
  color: var(--ink-900);
  font-weight: 700;
}

/* 头部主行动 */
.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500) 58%, var(--clay));
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px -16px rgba(216, 169, 74, .95);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -14px rgba(216, 169, 74, .9);
}

/* 移动端展开按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid rgba(216, 169, 74, .45);
  border-radius: var(--radius-pill);
  background: rgba(11, 39, 72, .7);
  color: var(--paper);
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.nav-toggle:hover { border-color: var(--gold-500); background: rgba(216, 169, 74, .14); }

.nav-toggle__stack {
  display: grid;
  gap: 4px;
  width: 16px;
  flex: 0 0 auto;
}
.nav-toggle__bar {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold-200);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold-200);
}

.site-header__inner:has(.pill-nav[data-open="true"]) .nav-toggle__bar:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.site-header__inner:has(.pill-nav[data-open="true"]) .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.site-header__inner:has(.pill-nav[data-open="true"]) .nav-toggle__bar:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- 18. Footer / 驿站底座 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(40px, 6vw, 76px) 0 26px;
  border-top: 1px solid rgba(216, 169, 74, .3);
  background: linear-gradient(180deg, #071729 0%, #040E1B 100%);
  color: rgba(244, 237, 226, .8);
  font-size: 14.5px;
}

.site-footer__glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 240px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(87, 224, 208, .16), transparent 68%),
    linear-gradient(90deg, transparent, rgba(216, 169, 74, .55), transparent) top / 100% 1px no-repeat;
}

.site-footer__inner { position: relative; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(22px, 3.4vw, 46px);
  align-items: start;
}

.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col--brand { gap: 10px; }

.footer__brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--paper);
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(216, 169, 74, .22);
}

.footer__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__link {
  color: rgba(244, 237, 226, .76);
  text-decoration: none;
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.footer__link:hover {
  color: var(--gold-200);
  padding-left: 4px;
}

.footer__line {
  display: block;
  line-height: 1.7;
  color: rgba(244, 237, 226, .72);
  word-break: break-word;
}
.footer__line.mono {
  font-size: 12.5px;
  letter-spacing: .05em;
  color: rgba(87, 224, 208, .88);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: 20px;
  border-top: 1px solid rgba(110, 123, 139, .32);
}

.footer__icp { color: rgba(244, 237, 226, .62); }
.footer__copy { color: rgba(244, 237, 226, .48); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-list__link { padding: 8px 10px; font-size: 14px; }
  .header-cta { padding: 9px 15px; font-size: 13.5px; }
}

@media (max-width: 980px) {
  .brand { margin-right: auto; }

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

  .pill-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--hairline-gold);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(11, 39, 72, .985), rgba(6, 20, 38, .995));
    box-shadow: 0 30px 56px -30px rgba(0, 0, 0, .95);
    backdrop-filter: blur(16px);
  }
  .pill-nav[data-open="true"] { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-list__link {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
  }

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

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { padding-top: 10px; }
  .site-header__inner { padding: 8px 10px 8px 12px; gap: 10px; }
  .brand__mark { width: 32px; height: 32px; font-size: 13.5px; }
  .brand__name { font-size: 15px; }
  .header-cta { padding: 8px 13px; font-size: 12.5px; }
  .nav-toggle { padding: 8px 12px; }
  .nav-toggle__text { display: none; }
  .figure__media { border-radius: 14px; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .brand__edition { letter-spacing: .1em; font-size: 9.5px; }
  .breadcrumb { font-size: 11px; }
  .paper { padding: 22px 18px; }
  .btn { padding: 12px 20px; font-size: 14.5px; }
}

@media (max-width: 400px) {
  .brand__edition { display: none; }
  .header-cta { padding: 8px 10px; font-size: 12px; }
}

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

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

  .card:hover,
  .btn:hover,
  .header-cta:hover { transform: none; }
}
