/* ============================================================
   8868皇冠赛场 · 共享样式 /assets/site.css
   深空黑长卷 · 赛事金锚点 · 冠线图形 · 悬浮胶囊导航
   ============================================================ */

/* ---------- 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, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

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

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

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

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

h1, h2, h3, h4 { font-weight: 800; line-height: 1.16; letter-spacing: -0.01em; }

p { text-wrap: pretty; }

/* ---------- tokens ---------- */
:root {
  --ink: #07080C;
  --ink-2: #0D111C;
  --ink-3: #141A29;
  --gold: #F2B84B;
  --gold-light: #FFD98A;
  --gold-deep: #6B4A18;
  --veil: rgba(242, 184, 75, 0.14);
  --neon: #35D6FF;
  --red: #FF3B4E;
  --fog: #F4F6FA;
  --graphite: #8A90A2;
  --paper: #F7F3E8;
  --mint: #5CE1C2;

  --line: rgba(242, 184, 75, 0.22);
  --line-soft: rgba(244, 246, 250, 0.12);

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-float: 0 30px 60px -34px rgba(0, 0, 0, 0.95);

  --page-max: 1280px;
  --gutter: clamp(18px, 4vw, 52px);

  --font-sans: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Han Serif SC", "Songti SC", "Noto Serif SC", serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fog);
  background-color: var(--ink);
  background-image:
    radial-gradient(90% 60% at 88% -10%, rgba(53, 214, 255, 0.10), transparent 62%),
    radial-gradient(70% 50% at 4% 6%, rgba(242, 184, 75, 0.12), transparent 60%),
    linear-gradient(180deg, #08090E 0%, #07080C 42%, #0A0C14 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#main-content {
  display: block;
  padding-top: clamp(92px, 10vw, 128px);
}

::selection {
  background: rgba(242, 184, 75, 0.85);
  color: #07080C;
}

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

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #07080C;
  font-weight: 800;
  letter-spacing: 0.03em;
  transform: translateY(-160%);
  transition: transform 0.22s var(--ease-out);
}

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

/* ---------- shell / bands ---------- */
.shell {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: clamp(56px, 8vw, 120px);
}

.band--ink2 {
  background: linear-gradient(180deg, rgba(13, 17, 28, 0.94), rgba(7, 8, 12, 0.94));
  border-block: 1px solid rgba(242, 184, 75, 0.14);
}

.band--paper {
  background: var(--paper);
  color: #0A0B10;
}

.band--paper .chapter-num {
  color: transparent;
  -webkit-text-stroke: 1px rgba(107, 74, 24, 0.55);
}

.band--paper .chapter-kicker { color: var(--gold-deep); }
.band--paper .lede { color: #3B3427; }

.band--slanted {
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
}

/* ---------- chapter system ---------- */
.chapter {
  position: relative;
  padding-block: clamp(64px, 9vw, 132px);
}

.chapter-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2.4vw, 30px);
  margin-bottom: clamp(28px, 4vw, 56px);
}

.chapter-num {
  flex: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 184, 75, 0.6);
}

.chapter-kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.chapter-kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 12px;
  vertical-align: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.chapter-title {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-deep));
}

.lede {
  max-width: 72ch;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: rgba(244, 246, 250, 0.78);
}

.data {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.data--gold { color: var(--gold); }
.data--neon { color: var(--neon); }

.vnote {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 12.5px;
  letter-spacing: 0.42em;
  color: var(--graphite);
  user-select: none;
}

.vnote--gold { color: rgba(255, 217, 138, 0.82); }

/* ---------- crown mark ---------- */
.crown {
  --crown: 28px;
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--crown);
  height: calc(var(--crown) * 0.86);
}

.crown--lg { --crown: 46px; }

.crown i {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.5px solid transparent;
  border-radius: 50%;
}

.crown i:nth-child(1) {
  width: 100%;
  height: 100%;
  top: 0;
  border-top-color: var(--gold-light);
}

.crown i:nth-child(2) {
  width: 70%;
  height: 70%;
  top: 22%;
  border-top-color: var(--gold);
}

.crown i:nth-child(3) {
  width: 40%;
  height: 40%;
  top: 44%;
  border-top-color: var(--gold-light);
  opacity: 0.85;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.55em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s ease,
    border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(100deg, #FFD98A 0%, #F2B84B 52%, #D89A2B 100%);
  color: #0A0B10;
  box-shadow: 0 14px 30px -18px rgba(242, 184, 75, 0.95);
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(255, 255, 255, 0.6) 50%, transparent 82%);
  transform: translateX(-130%);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}

.btn--gold:hover::after { transform: translateX(130%); }

.btn--ghost {
  border-color: rgba(242, 184, 75, 0.45);
  background: rgba(242, 184, 75, 0.07);
  color: var(--gold-light);
}

.btn--ghost:hover {
  border-color: rgba(255, 217, 138, 0.85);
  background: rgba(242, 184, 75, 0.14);
}

.btn--quiet {
  border-color: var(--line-soft);
  color: var(--fog);
}

.btn--quiet:hover { border-color: rgba(242, 184, 75, 0.5); color: var(--gold-light); }

.btn--sm {
  padding: 0.6em 1.1em;
  font-size: 13.5px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  padding: clamp(10px, 1.6vw, 18px) clamp(12px, 3vw, 28px);
  transition: padding 0.3s var(--ease-out);
}

.site-header.is-compact {
  padding-top: 6px;
  padding-bottom: 6px;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(244, 246, 250, 0.07);
  overflow: hidden;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 45%, var(--gold-light));
  box-shadow: 0 0 14px rgba(242, 184, 75, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
}

.capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: 9px 12px 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(13, 17, 28, 0.94), rgba(7, 8, 12, 0.82));
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 217, 138, 0.16);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  transition: padding 0.3s var(--ease-out), background 0.3s ease,
    border-color 0.3s ease;
}

.site-header.is-compact .capsule {
  padding: 5px 10px 5px 14px;
  border-color: rgba(242, 184, 75, 0.34);
}

.site-header.is-nav-open .capsule { border-color: rgba(242, 184, 75, 0.5); }

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  padding-block: 4px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: clamp(15px, 1.5vw, 17.5px);
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(96deg, #FFFFFF 8%, #FFD98A 58%, #F2B84B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--graphite);
}

/* nav */
.site-nav {
  display: flex;
  align-items: center;
  margin-inline: auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.9vw, 10px);
}

.site-nav__list a {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(244, 246, 250, 0.76);
  white-space: nowrap;
  transition: color 0.24s ease, background-color 0.24s ease;
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease-out);
}

.site-nav__list a:hover { color: var(--fog); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.site-nav__list a[aria-current="page"] {
  color: var(--gold-light);
  background: rgba(242, 184, 75, 0.1);
}

.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__extra { display: none; }

/* quota */
.quota {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(92, 225, 194, 0.34);
  border-radius: 999px;
  background: rgba(92, 225, 194, 0.08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #A8F3E1;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.quota:hover {
  border-color: rgba(92, 225, 194, 0.75);
  background: rgba(92, 225, 194, 0.16);
  color: #D6FFF5;
}

.quota__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  animation: quota-pulse 2.6s ease-in-out infinite;
}

.quota__label { white-space: nowrap; }

@keyframes quota-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92, 225, 194, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(92, 225, 194, 0); }
}

.capsule__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--fog);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.nav-toggle:hover { border-color: rgba(242, 184, 75, 0.6); color: var(--gold-light); }

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

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-toggle[aria-expanded="true"] { border-color: rgba(242, 184, 75, 0.65); color: var(--gold-light); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 110px);
  padding-block: clamp(46px, 6vw, 86px) 0;
  background: linear-gradient(180deg, #08090E 0%, #0D111C 58%, #07080C 100%);
  border-top: 1px solid rgba(242, 184, 75, 0.3);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(52%, 560px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), transparent);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.95fr 0.8fr 1.3fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(34px, 4vw, 56px);
}

.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }

.site-footer__line {
  max-width: 26ch;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--fog);
}

.site-footer__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--graphite);
}

.footer-col__title {
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }

.footer-col a {
  display: inline-block;
  font-size: 15px;
  color: rgba(244, 246, 250, 0.74);
  transition: color 0.22s ease, transform 0.22s var(--ease-out);
}

.footer-col a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

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

.footer-contact { display: flex; flex-direction: column; gap: 12px; }

.footer-contact li { display: flex; flex-direction: column; gap: 2px; }

.footer-contact__k {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}

.footer-contact__v {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(244, 246, 250, 0.9);
  word-break: break-word;
}

.footer-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--graphite);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--graphite);
}

.site-footer__copy { font-family: var(--font-mono); letter-spacing: 0.02em; }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.site-footer__legal a { color: rgba(244, 246, 250, 0.66); transition: color 0.22s ease; }
.site-footer__legal a:hover { color: var(--gold-light); }

.site-footer__icp {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(138, 144, 162, 0.92);
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--graphite);
}

.breadcrumb a { color: var(--graphite); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold-light); }

.breadcrumb__sep { color: rgba(138, 144, 162, 0.45); }

.breadcrumb [aria-current="page"] { color: var(--fog); }

/* ---------- grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
}

.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-12 { grid-column: span 12; }

/* ---------- cards / panels ---------- */
.card,
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(20, 26, 41, 0.94), rgba(11, 14, 22, 0.94));
  box-shadow: var(--shadow-float);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.panel {
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 40px);
}

.card:hover,
.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 217, 138, 0.55);
  box-shadow: 0 36px 70px -36px rgba(0, 0, 0, 1), 0 0 0 1px rgba(242, 184, 75, 0.16);
}

.band--paper .card,
.band--paper .panel {
  background: #FFFDF6;
  border-color: rgba(107, 74, 24, 0.28);
  color: #0A0B10;
}

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(242, 184, 75, 0.08);
}

.tag--red {
  border-color: rgba(255, 59, 78, 0.45);
  background: rgba(255, 59, 78, 0.12);
  color: #FF9AA4;
}

.tag--mint {
  border-color: rgba(92, 225, 194, 0.42);
  background: rgba(92, 225, 194, 0.1);
  color: #A8F3E1;
}

/* ---------- filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.chip {
  padding: 0.55em 1.15em;
  border: 1px solid rgba(244, 246, 250, 0.2);
  border-radius: 999px;
  background: rgba(13, 17, 28, 0.6);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(244, 246, 250, 0.72);
  transition: border-color 0.24s ease, color 0.24s ease, background 0.24s ease,
    transform 0.24s var(--ease-out);
}

.chip:hover {
  border-color: rgba(242, 184, 75, 0.6);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.chip[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(100deg, var(--gold-light), var(--gold));
  color: #0A0B10;
  box-shadow: 0 12px 26px -16px rgba(242, 184, 75, 0.95);
}

.filter-empty {
  padding: 22px 24px;
  border: 1px dashed rgba(242, 184, 75, 0.35);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--graphite);
  background: rgba(242, 184, 75, 0.05);
}

/* ---------- media frame ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-image:
    radial-gradient(120% 100% at 82% 0%, rgba(53, 214, 255, 0.18), transparent 62%),
    radial-gradient(90% 90% at 8% 100%, rgba(242, 184, 75, 0.24), transparent 62%),
    linear-gradient(160deg, #141A29 0%, #07080C 100%);
  background-size: cover;
  background-position: center;
}

.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--3x4 { aspect-ratio: 3 / 4; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame img,
.media-frame svg,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 217, 138, 0.14);
  pointer-events: none;
}

/* ---------- reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .site-nav__list a { padding: 8px 8px; font-size: 13.5px; }
  .capsule { gap: 10px; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .site-footer__brand { grid-column: span 1; }
}

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

  .capsule__actions { display: none; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: block;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(242, 184, 75, 0.26);
    border-radius: 24px;
    background: linear-gradient(165deg, #0D111C 0%, #07080C 100%);
    box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.26s var(--ease-out), transform 0.26s var(--ease-out),
      visibility 0.26s linear;
  }

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

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }

  .site-nav__list a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 16px;
  }

  .site-nav__list a::after { left: 14px; right: auto; width: 22px; bottom: 8px; }

  .site-nav__extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
  }

  .grid > [class*="col-"] { grid-column: span 12; }
  .col-3 { grid-column: span 6; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .site-footer__brand { grid-column: span 2; }
  .footer-col--contact { grid-column: span 2; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .chapter-num { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .site-footer__base { justify-content: flex-start; }
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

@media (max-width: 640px) {
  .col-3 { grid-column: span 12; }
  .capsule { padding: 8px 10px 8px 14px; }
  .brand__sub { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand,
  .footer-col--contact { grid-column: span 1; }
  .site-footer__line { font-size: 16px; max-width: none; }
  .scroll-progress { height: 2px; }
}

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

  html.js [data-reveal],
  html.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .card:hover,
  .panel:hover,
  .chip:hover,
  .footer-col a:hover { transform: none; }
}
