/* ============================================================
   米乐赛场 · 共享样式表 /assets/site.css
   夜间球场指挥室 · 深墨绿底色 + 荧光青数据 + 暖橙行动点
   ============================================================ */

/* ---------- 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, hr {
  margin: 0;
}

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

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

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;

  --ink:        #0B1F1A;   /* 指挥室墨绿 · 主背景 */
  --ink-2:      #122E26;   /* 深绿分层 · 卡片 */
  --ink-3:      #0F2822;   /* 页脚底 */
  --grid-line:  #1E4038;   /* 网格线绿 */

  --cyan:       #2FF3C8;   /* 荧光青 · 数据与状态 */
  --cyan-soft:  #A8FBE4;   /* 浅荧光青 · 悬停与描边 */
  --orange:     #FF8A3D;   /* 暖橙 · 主行动 */
  --orange-soft:#FFD3B0;   /* 暖橙浅 · 标签底 */

  --text:       #D6E4DF;   /* 正文灰白 */
  --muted:      #8FA8A0;   /* 旁注灰绿 */
  --white:      #F6FFFC;   /* 宣告白 */

  --line:       rgba(30, 64, 56, .90);
  --line-soft:  rgba(30, 64, 56, .52);
  --cyan-a12:   rgba(47, 243, 200, .12);
  --cyan-a24:   rgba(47, 243, 200, .26);
  --orange-a14: rgba(255, 138, 61, .14);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --pill: 999px;

  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 40px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .24s;

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

/* ---------- base ---------- */
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 62% at 84% -12%, rgba(47, 243, 200, .10), transparent 58%),
    radial-gradient(88% 52% at 6% 2%, rgba(255, 138, 61, .06), transparent 62%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--white);
}

p { line-height: 1.78; }

::selection {
  background: var(--cyan);
  color: #06231C;
}

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

/* ---------- typography helpers ---------- */
.mono,
.crumbs,
.tag,
.eyebrow,
.card__index,
.figure__caption,
.site-footer__title,
.site-footer__licence,
.site-nav__cta,
.scroll-progress {
  font-family: var(--font-mono);
}

.mono {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--cyan);
  opacity: .8;
}

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

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

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section__title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 250;
  letter-spacing: -.02em;
}

.section__lede {
  max-width: 46ch;
  font-size: 16px;
  color: var(--muted);
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -72px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: #06231C;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: top .22s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ============================================================
   页头 · 居中刊头 → 56px 细导航条
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 31, 26, .97), rgba(11, 31, 26, .84));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(62% 78% at 50% 0%, rgba(47, 243, 200, .14), transparent 72%);
  opacity: 1;
  transition: opacity .4s var(--ease);
}

.site-header[data-stuck]::before { opacity: 0; }

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 243, 200, .55), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}

.site-header[data-stuck]::after { opacity: 1; }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 24px var(--gutter) 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    ". brand tools"
    "nav nav nav";
  align-items: center;
  row-gap: 16px;
  transition: padding .32s var(--ease), row-gap .32s var(--ease), height .32s var(--ease);
}

/* 品牌报头 */
.brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.brand__name {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: .4em;
  text-indent: .4em;
  color: var(--white);
  white-space: nowrap;
  transition: font-size .32s var(--ease), letter-spacing .32s var(--ease), color var(--dur) var(--ease);
}

.brand:hover .brand__name { color: var(--cyan); }

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: opacity .25s var(--ease);
}

/* 右侧工具区 */
.site-header__tools {
  grid-area: tools;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--pill);
  background: var(--orange);
  color: #23140A;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: 0 10px 26px -14px rgba(255, 138, 61, .85);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.pill-cta:hover {
  background: var(--orange-soft);
  transform: translateY(-1px);
}

.icon-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--cyan-soft);
  transition: border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.icon-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-a12);
}

/* 栏目导航 */
.site-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 22px);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 26px);
}

.site-nav__item { display: block; }

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 14.5px;
  letter-spacing: .08em;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .28s var(--ease);
}

.site-nav__link:hover { color: var(--white); }

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

.site-nav__link[aria-current="page"] { color: var(--cyan-soft); }

.site-nav__cta { display: none; }

/* 汉堡按钮 */
.nav-toggle {
  grid-area: toggle;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: .1em;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-toggle:hover {
  border-color: var(--cyan);
  background: var(--cyan-a12);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: var(--cyan);
  transition: background var(--dur) var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--cyan);
  transition: transform var(--dur) var(--ease);
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after  { top: 5px; }

.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after  { transform: translateY(-5px) rotate(-45deg); }

/* 压缩态 */
.site-header[data-stuck] .site-header__inner {
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav tools";
  row-gap: 0;
  padding: 0 var(--gutter);
  height: 56px;
}

.site-header[data-stuck] .brand {
  flex-direction: row;
  align-items: baseline;
  gap: 9px;
  text-align: left;
}

.site-header[data-stuck] .brand__name {
  font-size: 17px;
  letter-spacing: .2em;
  text-indent: .2em;
}

.site-header[data-stuck] .brand__sub { display: none; }

.site-header[data-stuck] .site-nav {
  justify-self: end;
  justify-content: flex-end;
}

.site-header[data-stuck] .site-nav__list { flex-wrap: nowrap; }

.site-header[data-stuck] .site-nav__link {
  padding-block: 4px;
  font-size: 14px;
}

.site-header[data-stuck] .icon-link {
  width: 34px;
  height: 34px;
}

.site-header[data-stuck] .pill-cta {
  padding: 7px 15px;
  font-size: 13px;
}

/* ============================================================
   通用组件
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  transition: transform var(--dur) var(--ease),
              background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

.btn--solid {
  background: var(--orange);
  color: #23140A;
  font-weight: 600;
  box-shadow: 0 14px 30px -18px rgba(255, 138, 61, .9);
}

.btn--solid:hover {
  background: var(--orange-soft);
  transform: translateY(-2px);
}

.btn--cyan {
  background: var(--cyan);
  color: #06231C;
  font-weight: 600;
}

.btn--cyan:hover {
  background: var(--cyan-soft);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-a12);
}

.btn--link {
  min-height: 0;
  padding: 0 0 2px;
  border-radius: 0;
  border-bottom: 1px solid var(--cyan-a24);
  color: var(--cyan);
}

.btn--link:hover { border-bottom-color: var(--cyan); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--pill);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--orange-a14);
  border: 1px solid rgba(255, 138, 61, .3);
  color: var(--orange-soft);
  line-height: 1.6;
}

.tag--cyan {
  background: var(--cyan-a12);
  border-color: var(--cyan-a24);
  color: var(--cyan-soft);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}

.crumbs a:hover { color: var(--cyan); }

.crumbs__sep {
  color: rgba(143, 168, 160, .55);
}

.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 46, 38, .94), rgba(15, 40, 34, .86));
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(160deg, rgba(0, 0, 0, .8), transparent 68%);
  mask-image: linear-gradient(160deg, rgba(0, 0, 0, .8), transparent 68%);
}

.card:hover {
  border-color: var(--cyan-a24);
  transform: translateY(-2px);
}

.card__index {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.card__title {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--white);
}

.card__text {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--muted);
}

/* ---------- 图片容器 ---------- */
.figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
}

.figure__media {
  position: relative;
  aspect-ratio: var(--ratio, 16 / 9);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(47, 243, 200, .18), transparent 60%),
    linear-gradient(140deg, #163C31, #0B1F1A 62%, #103028);
}

.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(30, 64, 56, .9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 56, .9) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 100% at 0% 0%, #000, transparent 72%);
  mask-image: radial-gradient(120% 100% at 0% 0%, #000, transparent 72%);
}

.figure__media img,
.figure__media video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.86) saturate(.92) contrast(1.06);
}

.figure__caption {
  position: relative;
  z-index: 2;
  padding: 13px 20px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  background: rgba(11, 31, 26, .72);
  border-top: 1px solid var(--line);
}

/* ---------- 长文 ---------- */
.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.82;
  color: var(--text);
}

.prose > * + * { margin-top: 1.15em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid var(--cyan-a24);
  transition: border-color var(--dur) var(--ease);
}

.prose a:hover { border-bottom-color: var(--cyan); }

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose li + li { margin-top: .5em; }

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

/* ============================================================
   页脚 · 四段式封底
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(72px, 10vw, 140px);
  background:
    radial-gradient(84% 120% at 50% 0%, rgba(47, 243, 200, .10), transparent 62%),
    var(--ink-3);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 72%);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 76px) var(--gutter) clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(28px, 3.4vw, 48px);
}

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

.site-footer__wordmark {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--white);
}

.site-footer__tagline {
  max-width: 24em;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.site-footer__stamp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-footer__col { min-width: 0; }

.site-footer__title {
  margin-bottom: 18px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.site-footer__link {
  position: relative;
  display: inline-block;
  font-size: 15px;
  color: var(--text);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.site-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .26s var(--ease);
}

.site-footer__link:hover {
  color: var(--cyan);
  transform: translateX(2px);
}

.site-footer__link:hover::after { transform: scaleX(1); }

.site-footer__list--meta { gap: 14px; }

.site-footer__list--meta li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: baseline;
}

.site-footer__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__text {
  font-size: 14.5px;
  color: var(--text);
  word-break: break-word;
}

.site-footer__text--mono {
  font-family: var(--font-mono);
  letter-spacing: .08em;
  color: var(--cyan-soft);
}

.site-footer__licence {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--cyan-soft);
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 20px var(--gutter) clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
}

.site-footer__note,
.site-footer__legal {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer__legal {
  font-family: var(--font-mono);
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ---------- 返回刊头 ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(15, 40, 34, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cyan);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .28s var(--ease),
              transform .28s var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

.to-top[data-visible] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  border-color: var(--cyan);
  color: var(--white);
}

/* ---------- 进场显现 ---------- */
.reveal {
  transition: opacity .52s var(--ease), transform .52s var(--ease);
}

html[data-js="on"] .reveal {
  opacity: 0;
  transform: translateY(12px);
}

html[data-js="on"] .reveal[data-shown] {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .site-nav__list { gap: 10px; }
  .site-nav__link { font-size: 13.5px; letter-spacing: .04em; }
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-header__inner,
  .site-header[data-stuck] .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    row-gap: 0;
    height: auto;
    padding: 14px var(--gutter);
  }

  .site-header[data-stuck] .site-header__inner {
    padding: 12px var(--gutter);
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
  }

  .site-header[data-stuck] .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
  }

  .brand__name,
  .site-header[data-stuck] .brand__name {
    font-size: 19px;
    letter-spacing: .24em;
    text-indent: .24em;
  }

  .brand__sub { font-size: 10px; letter-spacing: .18em; }

  .site-header[data-stuck] .brand__sub { display: block; }

  .site-header__tools { display: none; }

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

  .site-nav,
  .site-header[data-stuck] .site-nav {
    display: none;
    grid-area: nav;
    width: 100%;
    justify-self: stretch;
    justify-content: flex-start;
    margin-top: 14px;
    padding: 14px 16px 18px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: rgba(18, 46, 38, .97);
  }

  .site-header[data-open] .site-nav {
    display: block;
  }

  .site-nav__list,
  .site-header[data-stuck] .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    flex-wrap: nowrap;
  }

  .site-nav__link,
  .site-header[data-stuck] .site-nav__link {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
    letter-spacing: .06em;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav__link::after { display: none; }

  .site-nav__link[aria-current="page"] {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
  }

  .site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    padding: 0 22px;
    border-radius: var(--pill);
    background: var(--orange);
    color: #23140A;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .08em;
    transition: background var(--dur) var(--ease);
  }

  .site-nav__cta:hover { background: var(--orange-soft); }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand { grid-column: 1 / -1; }

  .site-footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .section__head { align-items: flex-start; }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer__brand,
  .site-footer__col:last-child { grid-column: auto; }

  .site-footer__list--meta li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__legal { white-space: normal; }

  .btn { width: 100%; }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

  html[data-js="on"] .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .to-top { transform: none; }
}
