/* ==========================================================================
   人生就是搏赛事 — /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================================== */

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

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

:root {
  /* 品牌色 */
  --ink: #0B1F1A;
  --ink-2: #123B30;
  --cyan: #38F2D0;
  --amber: #FFB454;
  --amber-deep: #FF8A3D;
  --paper: #F4F1E8;
  --paper-2: #E8E2D2;
  --charcoal: #2B3330;
  --muted: #8FA39B;
  --cyan-text: #9FFFF0;
  --edge: #1E4A3E;
  --glow: #1C6B5A;

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", system-ui, sans-serif;
  --font-serif: "Songti SC", "STSong", "Source Han Serif SC",
    "Noto Serif CJK SC", Georgia, serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono",
    "Roboto Mono", Menlo, Consolas, "Courier New", monospace;

  /* 度量 */
  --maxw: 1280px;
  --narrow: 860px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(30, 74, 62, 0.42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 74, 62, 0.28) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--cyan-text); }
img, svg { max-width: 100%; }
button { font: inherit; }
address { font-style: normal; }

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

:focus-visible {
  outline: 2px solid var(--cyan-text);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(11, 31, 26, 0.85);
  border-radius: 1px;
}

#main-content { scroll-margin-top: calc(var(--header-h) + 14px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--cyan);
  color: #06231D;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { top: 12px; }

/* ---------------------------------------------------------------- 头部 --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background-image: linear-gradient(
    180deg,
    rgba(18, 59, 48, 0.97) 0%,
    rgba(11, 31, 26, 0.99) 100%
  );
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(8px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 242, 208, 0.45) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark__glyph {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background-image: linear-gradient(155deg, var(--glow) 0%, var(--ink-2) 72%);
  box-shadow: inset 0 0 0 1px rgba(56, 242, 208, 0.16);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}

.brand-mark__glyph::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 4px;
  height: 4px;
  background: var(--amber);
  opacity: 0.85;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-mark__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-mark__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--muted);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.record-line {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 20px;
  padding-left: 12px;
  border-left: 1px solid var(--edge);
  overflow: hidden;
  flex: none;
}

.record-line i {
  display: block;
  width: 2px;
  height: 6px;
  background: var(--edge);
}
.record-line i:nth-child(3n) { height: 13px; background: rgba(56, 242, 208, 0.65); }
.record-line i:nth-child(4n) { height: 9px; }
.record-line i:nth-child(7n) { height: 16px; background: rgba(255, 180, 84, 0.55); }

.site-nav {
  flex: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__item { display: block; }

.site-nav__link {
  position: relative;
  display: block;
  padding: 9px 2px;
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.site-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}

.site-nav__link:hover { color: var(--cyan-text); }
.site-nav__link:hover::before { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  font-weight: 700;
}
.site-nav__link[aria-current="page"]::before { transform: scaleX(1); }

.site-nav__cta { display: none; }

.header-utility { flex: none; }

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: rgba(11, 31, 26, 0.55);
  color: var(--cyan-text);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease),
    border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.utility-link::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(56, 242, 208, 0.8);
}

.utility-link:hover {
  background: rgba(56, 242, 208, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: rgba(11, 31, 26, 0.6);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  flex: none;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-toggle:hover { border-color: var(--glow); color: var(--cyan-text); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] { color: var(--cyan); border-color: var(--cyan); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-toggle__label { line-height: 1; }

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--glow) 0%, var(--cyan) 100%);
  box-shadow: 0 0 10px rgba(56, 242, 208, 0.65);
  transition: width 0.1s linear;
}

/* ---------------------------------------------------------------- 页脚 --- */

.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--edge);
  background-color: var(--ink-2);
  background-image: radial-gradient(
    130% 90% at 88% 0%,
    rgba(28, 107, 90, 0.42) 0%,
    rgba(18, 59, 48, 0) 62%
  );
  color: var(--paper);
}

.footer-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) var(--gutter) 26px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 2.3fr;
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(30, 74, 62, 0.95);
}

.footer-brand__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.footer-brand__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-brand__rule {
  display: block;
  width: 68px;
  height: 2px;
  margin: 18px 0;
  background: linear-gradient(90deg, var(--cyan) 0%, transparent 100%);
}

.footer-brand__note {
  margin: 0;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(244, 241, 232, 0.68);
}

.footer-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-col__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--cyan-text);
  opacity: 0.85;
}

.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-col__link {
  display: inline-block;
  color: rgba(244, 241, 232, 0.88);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.footer-col__link:hover,
.footer-col__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer-legal {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  font-size: 12.5px;
  line-height: 1.8;
}

.footer-legal__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.footer-legal__seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px dashed var(--edge);
  border-radius: var(--radius);
  background: rgba(11, 31, 26, 0.55);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--paper-2);
}

.footer-legal__seal::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(56, 242, 208, 0.85);
  flex: none;
}

.footer-legal__copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(143, 163, 155, 0.9);
}

.footer-legal__text {
  margin: 0;
  max-width: 82ch;
  color: rgba(244, 241, 232, 0.66);
}

/* ------------------------------------------------------------ 通用容器 --- */

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

.container--narrow { max-width: var(--narrow); }

.section { padding-block: clamp(38px, 6vw, 78px); }

.section + .section {
  border-top: 1px solid rgba(30, 74, 62, 0.62);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--glow);
  -webkit-text-stroke: 1px rgba(56, 242, 208, 0.35);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: 0.02em;
  color: var(--paper);
}

.section-kicker {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

/* ---------------------------------------------------------------- 按钮 --- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--edge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 20px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease),
    color 0.16s var(--ease), border-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

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

.btn--primary {
  --btn-bg: var(--cyan);
  --btn-fg: #06231D;
  --btn-bd: var(--cyan);
}
.btn--primary:hover { box-shadow: 0 8px 22px -8px rgba(56, 242, 208, 0.7); }

.btn--ghost {
  --btn-bg: rgba(11, 31, 26, 0.55);
  --btn-fg: var(--cyan-text);
  --btn-bd: var(--edge);
}
.btn--ghost:hover {
  --btn-bd: var(--cyan);
  --btn-fg: var(--cyan);
  --btn-bg: rgba(56, 242, 208, 0.08);
}

.btn--amber {
  --btn-fg: var(--amber);
  --btn-bd: rgba(255, 180, 84, 0.55);
}
.btn--amber:hover {
  --btn-bg: rgba(255, 180, 84, 0.12);
  --btn-bd: var(--amber);
}

.btn--small {
  min-height: 34px;
  padding: 7px 14px;
  font-size: 13px;
}

.btn--block { width: 100%; }

/* -------------------------------------------------------- 标签与数据元 --- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--edge);
  border-radius: 1px;
  background: rgba(11, 31, 26, 0.65);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.tag--cyan {
  color: var(--cyan-text);
  border-color: rgba(56, 242, 208, 0.45);
  background: rgba(56, 242, 208, 0.1);
}

.tag--amber {
  color: var(--amber);
  border-color: rgba(255, 180, 84, 0.4);
  background: rgba(255, 180, 84, 0.1);
}

.tag--paper {
  color: var(--charcoal);
  background: var(--paper-2);
  border-color: #CFC7B2;
}

.delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.delta--up {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(56, 242, 208, 0.38);
}

.delta--down {
  color: var(--amber-deep);
  text-shadow: 0 0 14px rgba(255, 138, 61, 0.32);
}

/* ------------------------------------------------------------ 纸张叠层 --- */

.paper-card {
  position: relative;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid #D5CEBD;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--charcoal);
  box-shadow:
    6px 6px 0 0 rgba(232, 226, 210, 0.14),
    12px 12px 0 0 rgba(232, 226, 210, 0.06);
}

.paper-card--flat { box-shadow: none; }

.paper-card a { color: #10614F; }
.paper-card a:hover { color: #0B1F1A; }

/* ------------------------------------------------------------ 控制台条 --- */

.panel-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: rgba(11, 31, 26, 0.6);
  font-size: 13px;
  color: var(--muted);
}

.panel-status__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 242, 208, 0.8);
  animation: rb-pulse 2.4s ease-in-out infinite;
}

.panel-status--amber .panel-status__dot {
  background: var(--amber-deep);
  box-shadow: 0 0 10px rgba(255, 138, 61, 0.75);
}

.panel-status__text { margin: 0; }

@keyframes rb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

/* -------------------------------------------------------------- 标签页 --- */

.tabs { display: block; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--edge);
}

.tabs__tab {
  position: relative;
  top: 1px;
  appearance: none;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.tabs__tab:hover {
  color: var(--paper);
  background: rgba(56, 242, 208, 0.08);
}

.tabs__tab[aria-selected="true"] {
  color: #06231D;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 18px -6px rgba(56, 242, 208, 0.8);
}

.tabs__panel { padding-top: 4px; }
.tabs__panel[hidden] { display: none; }

/* -------------------------------------------------------------- 筛选片 --- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.chip {
  appearance: none;
  padding: 6px 14px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(11, 31, 26, 0.6);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.chip:hover { color: var(--paper); border-color: var(--glow); }

.chip[aria-pressed="true"] {
  color: var(--cyan-text);
  background: rgba(56, 242, 208, 0.14);
  border-color: rgba(56, 242, 208, 0.55);
}

/* -------------------------------------------------------------- 面包屑 --- */

.breadcrumb { margin: 0 0 clamp(16px, 2.5vw, 26px); }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--glow);
}

.breadcrumb__link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb__link:hover,
.breadcrumb__link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.breadcrumb__item[aria-current="page"] { color: var(--paper-2); }

/* ---------------------------------------------------------- 图片容器 --- */

.figure {
  display: grid;
  gap: 10px;
  margin: 0;
}

.figure__media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background-image: linear-gradient(140deg, var(--ink-2) 0%, #081713 78%);
}

.figure__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__media--wide { aspect-ratio: 16 / 9; }
.figure__media--tall { aspect-ratio: 3 / 4; }
.figure__media--square { aspect-ratio: 1 / 1; }

.figure__caption {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ------------------------------------------------------------ Bento --- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.bento > * { grid-column: span 12; min-width: 0; }

@media (min-width: 760px) {
  .bento > .bento-4 { grid-column: span 6; }
  .bento > .bento-6 { grid-column: span 6; }
  .bento > .bento-8 { grid-column: span 12; }
  .bento > .bento-12 { grid-column: span 12; }
}

@media (min-width: 1080px) {
  .bento > .bento-4 { grid-column: span 4; }
  .bento > .bento-8 { grid-column: span 8; }
}

/* ------------------------------------------------------------ 响应式 --- */

@media (max-width: 1180px) {
  .record-line { display: none; }
}

@media (max-width: 1040px) {
  .brand-mark__sub { display: none; }
  .site-nav__list { gap: 8px; }
  .site-nav__link { font-size: 12.5px; }
  .utility-link { font-size: 12.5px; padding: 6px 11px; }
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .header-utility { display: none; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    background-image: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
    border-bottom: 1px solid var(--edge);
    box-shadow: 0 28px 46px rgba(0, 0, 0, 0.5);
    transition: max-height 0.28s var(--ease);
  }

  .site-nav[data-open="true"] {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 22px;
  }

  .site-nav__item { border-bottom: 1px dashed rgba(30, 74, 62, 0.9); }

  .site-nav__link {
    padding: 14px 2px;
    font-size: 16px;
  }

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

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

  .site-nav__link[aria-current="page"] {
    color: var(--cyan);
    box-shadow: inset 3px 0 0 0 var(--cyan);
    padding-left: 12px;
  }

  .site-nav__cta {
    display: block;
    margin-top: 18px;
    border-bottom: 0;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand-mark__glyph { width: 36px; height: 36px; font-size: 18px; }
  .brand-mark__name { font-size: 15.5px; letter-spacing: 0.06em; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 10px 12px; }
  .footer-brand__name { font-size: 19px; }
  .paper-card { box-shadow: 4px 4px 0 0 rgba(232, 226, 210, 0.12); }
}

/* -------------------------------------------------------- 降低动效 --- */

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

  .panel-status__dot { animation: none; }
  .btn:hover { transform: none; }
  .site-nav { transition: none; }
}
