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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd { margin: 0; }

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

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

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

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

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

/* ========== 2. Tokens ========== */
:root {
  /* 色板 */
  --ink-green: #0B2B24;
  --night-blue: #0D1B2A;
  --pitch-green: #164C3A;
  --cream: #F4EBD8;
  --cream-card: #FBF5E7;
  --brown-black: #2A1C14;
  --lime: #C8FF3D;
  --card-red: #C7362E;
  --card-yellow: #F2B705;
  --mist: #9DB7AE;
  --white: #FFFFFF;

  /* 派生 */
  --line-cool: rgba(157, 183, 174, 0.30);
  --line-cool-strong: rgba(157, 183, 174, 0.52);
  --line-paper: rgba(42, 28, 20, 0.16);
  --ink-soft: rgba(42, 28, 20, 0.68);
  --cream-soft: rgba(244, 235, 216, 0.78);
  --lime-deep: #12261C;

  /* 圆角 */
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-float: 0 26px 60px -34px rgba(11, 43, 36, 0.95);
  --shadow-card: 0 18px 38px -30px rgba(42, 28, 20, 0.65);

  /* 字体 */
  --font-display: "Arial Narrow", "Helvetica Neue Condensed", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas",
    "Liberation Mono", monospace;

  /* 尺度 */
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ========== 3. Base & 中文排版 ========== */
body {
  font-family: var(--font-body);
  font-size: clamp(16px, 0.35vw + 15px, 17.5px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--brown-black);
  background-color: var(--cream);
  background-image:
    radial-gradient(120% 80% at 100% 0%, rgba(22, 76, 58, 0.07), transparent 60%),
    radial-gradient(90% 70% at 0% 20%, rgba(242, 183, 5, 0.06), transparent 55%);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.42rem); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.4; }

p { text-wrap: pretty; }

strong { font-weight: 800; }

::selection { background: var(--lime); color: var(--lime-deep); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(13, 27, 42, 0.55);
  border-radius: 6px;
}

/* ========== 4. 布局基础 ========== */
.container {
  width: min(var(--maxw), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: clamp(36px, 6vw, 76px) 0; }
.section--paper { background: var(--cream); }
.section--dark {
  background:
    radial-gradient(100% 70% at 88% -10%, rgba(200, 255, 61, 0.12), transparent 58%),
    linear-gradient(158deg, var(--night-blue) 0%, var(--ink-green) 58%, #08211B 100%);
  color: var(--cream);
}
.section--pitch {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 8%, transparent 8% 16%),
    linear-gradient(150deg, var(--pitch-green), var(--ink-green));
  color: var(--cream);
}

.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }

.page-head { padding: clamp(22px, 4vw, 46px) 0 clamp(16px, 2.6vw, 28px); }
.page-title { font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -0.03em; }
.lede {
  margin-top: 14px;
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 5. 页头：悬浮胶囊浮岛 ========== */
.site-header {
  position: sticky;
  top: 10px;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  width: min(1260px, calc(100% - 20px));
  margin: 10px auto 0;
  padding: 9px 10px 9px 14px;
  color: var(--cream);
  background:
    radial-gradient(120% 180% at 10% -50%, rgba(200, 255, 61, 0.18), transparent 55%),
    linear-gradient(150deg, rgba(13, 27, 42, 0.97) 0%, rgba(11, 43, 36, 0.98) 62%, rgba(22, 76, 58, 0.97) 100%);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  isolation: isolate;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--lime-deep);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  transform: translateY(-200%);
  transition: transform 0.22s ease;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}
.skip-link:focus { transform: translateY(0); }

.masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease;
}
.brand:hover,
.brand:focus-visible { background: rgba(200, 255, 61, 0.12); }

.brand-mark {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(150deg, #E2FF74, var(--lime) 55%, #8FD61C);
  box-shadow:
    inset 0 0 0 1px rgba(11, 43, 36, 0.35),
    0 10px 22px -12px rgba(200, 255, 61, 0.9);
}
.brand-mark::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid var(--ink-green);
  border-right-color: transparent;
  transform: rotate(-28deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-green);
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--cream);
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--mist);
  white-space: nowrap;
}

.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 255, 61, 0.45);
  background: rgba(200, 255, 61, 0.08);
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.season-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(200, 255, 61, 0.95);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

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

.nav-item { display: flex; }

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 11px;
  border-radius: var(--radius-pill);
  font-size: 13.8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: rgba(244, 235, 216, 0.85);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(200, 255, 61, 0.78);
}
.nav-label { white-space: nowrap; }

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(200, 255, 61, 0.14);
  color: var(--white);
}
.nav-link:hover .nav-num,
.nav-link:focus-visible .nav-num { color: var(--lime); }

.nav-link[aria-current="page"] {
  background: var(--lime);
  color: var(--lime-deep);
  box-shadow: 0 12px 24px -16px rgba(200, 255, 61, 0.95);
}
.nav-link[aria-current="page"] .nav-num {
  color: var(--brown-black);
  opacity: 0.68;
}

.nav-aside { display: none; }

/* 右侧动作 */
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.search-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--line-cool);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244, 235, 216, 0.62);
  white-space: nowrap;
}
.search-hint::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 255, 61, 0.55);
  background: rgba(200, 255, 61, 0.08);
  color: var(--lime);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle-bars > span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars > span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars > span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: rgba(157, 183, 174, 0.22);
  overflow: hidden;
  pointer-events: none;
}
.scroll-meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), #7BE0A8);
  transition: transform 0.15s linear;
}

/* ========== 6. 页脚 ========== */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(34px, 5.4vw, 68px) 0 28px;
  color: var(--cream);
  background:
    radial-gradient(90% 60% at 84% -12%, rgba(200, 255, 61, 0.14), transparent 60%),
    linear-gradient(180deg, var(--night-blue) 0%, var(--ink-green) 42%, #08211B 100%);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--lime) 0%, rgba(200, 255, 61, 0.16) 52%, rgba(157, 183, 174, 0.42) 100%);
}
.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background:
    repeating-linear-gradient(90deg, rgba(157, 183, 174, 0.06) 0 6%, transparent 6% 12%);
  pointer-events: none;
}

.footer-inner { position: relative; z-index: 1; }

.footer-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 1px solid rgba(157, 183, 174, 0.24);
}
.footer-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--lime);
}
.footer-tagline {
  margin-top: 10px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}
.footer-headline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 3.4vw, 42px) 0;
}
.footer-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.footer-col-title::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.footer-link-list { display: grid; gap: 2px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 14.5px;
  color: rgba(244, 235, 216, 0.85);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-link::before {
  content: "";
  width: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  transition: width 0.18s ease, opacity 0.18s ease;
}
.footer-link:hover,
.footer-link:focus-visible { color: var(--lime); }
.footer-link:hover::before,
.footer-link:focus-visible::before { width: 20px; opacity: 1; }

.footer-contact {
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(157, 183, 174, 0.26);
  background: linear-gradient(150deg, rgba(22, 76, 58, 0.85), rgba(13, 27, 42, 0.92));
}
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.footer-contact-label {
  margin-bottom: 4px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--mist);
}
.footer-contact-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cream);
  word-break: break-word;
}
.footer-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(157, 183, 174, 0.32);
  max-width: 72ch;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(244, 235, 216, 0.72);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: clamp(20px, 3vw, 32px);
  padding-top: 22px;
  border-top: 1px solid rgba(157, 183, 174, 0.22);
  font-size: 12.5px;
  color: rgba(244, 235, 216, 0.66);
}
.footer-copy { letter-spacing: 0.04em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal-link {
  padding-bottom: 2px;
  color: rgba(244, 235, 216, 0.8);
  border-bottom: 1px solid rgba(157, 183, 174, 0.42);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.footer-legal-link:hover,
.footer-legal-link:focus-visible { color: var(--lime); border-color: var(--lime); }
.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(157, 183, 174, 0.92);
}

/* ========== 7. 通用组件 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--block { width: 100%; }

.btn--lime {
  background: var(--lime);
  color: var(--lime-deep);
  box-shadow: 0 14px 28px -18px rgba(200, 255, 61, 0.95);
}
.btn--lime:hover,
.btn--lime:focus-visible { background: #D8FF6B; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 235, 216, 0.42);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(200, 255, 61, 0.1);
  border-color: var(--lime);
  color: var(--lime);
}

.btn--outline {
  background: transparent;
  color: var(--ink-green);
  border-color: rgba(42, 28, 20, 0.34);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(11, 43, 36, 0.07);
  border-color: var(--ink-green);
}

.btn--paper {
  background: var(--ink-green);
  color: var(--cream);
  box-shadow: 0 16px 30px -22px rgba(11, 43, 36, 0.9);
}
.btn--paper:hover,
.btn--paper:focus-visible { background: #123A30; transform: translateY(-1px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
  white-space: nowrap;
}
.pill--lime { background: var(--lime); color: var(--lime-deep); }
.pill--red { background: var(--card-red); color: var(--white); }
.pill--yellow { background: var(--card-yellow); color: var(--brown-black); }
.pill--quiet {
  background: rgba(157, 183, 174, 0.18);
  border-color: var(--line-cool);
  color: inherit;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pitch-green);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--light { color: var(--lime); }

.breadcrumb { padding-top: 18px; }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(42, 28, 20, 0.62);
}
.breadcrumb-item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(42, 28, 20, 0.32);
}
.breadcrumb-link { border-bottom: 1px solid transparent; }
.breadcrumb-link:hover,
.breadcrumb-link:focus-visible {
  color: var(--ink-green);
  border-color: rgba(11, 43, 36, 0.5);
}

.card {
  position: relative;
  padding: clamp(16px, 2.4vw, 26px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-paper);
  background: var(--cream-card);
  box-shadow: var(--shadow-card);
}
.card--dark {
  border-color: var(--line-cool);
  background: linear-gradient(158deg, #123A30, var(--night-blue));
  color: var(--cream);
  box-shadow: 0 26px 50px -32px rgba(0, 0, 0, 0.85);
}
.card--lime {
  border-color: rgba(11, 43, 36, 0.22);
  background: linear-gradient(150deg, #DAFF74, #B6F02A);
  color: var(--lime-deep);
}
.card-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card-text {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.card--dark .card-text { color: rgba(244, 235, 216, 0.78); }
.card--lime .card-text { color: rgba(18, 38, 28, 0.78); }

.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-cool);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(200, 255, 61, 0.2), transparent 58%),
    repeating-linear-gradient(90deg, rgba(22, 76, 58, 0.62) 0 8%, rgba(11, 43, 36, 0.72) 8% 16%),
    linear-gradient(180deg, #14332A, #0A1E29);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: radial-gradient(70% 120% at 50% 132%, rgba(8, 33, 27, 0.95), transparent 72%);
  pointer-events: none;
}
.media-frame > img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame-caption {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(42, 28, 20, 0.64);
}
.media-frame-caption--light { color: rgba(244, 235, 216, 0.7); }

.tab-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-paper);
  background: rgba(11, 43, 36, 0.06);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: inherit;
  opacity: 0.72;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.tab:hover { opacity: 1; background: rgba(11, 43, 36, 0.07); }
.tab[aria-selected="true"] {
  background: var(--lime);
  color: var(--lime-deep);
  opacity: 1;
  box-shadow: 0 12px 22px -16px rgba(11, 43, 36, 0.9);
}
.tab-panel { margin-top: 18px; }
.tab-panel[hidden] { display: none; }
.section--dark .tab-list,
.card--dark .tab-list {
  border-color: var(--line-cool);
  background: rgba(244, 235, 216, 0.08);
}
.section--dark .tab:hover,
.card--dark .tab:hover { background: rgba(244, 235, 216, 0.12); }

.index-list {
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line-paper);
}
.index-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-paper);
}
.index-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(42, 28, 20, 0.48);
}
.index-link {
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.index-link:hover,
.index-link:focus-visible { color: var(--pitch-green); border-color: currentColor; }
.index-meta {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(42, 28, 20, 0.52);
}
.section--dark .index-list,
.card--dark .index-list { border-top-color: rgba(157, 183, 174, 0.28); }
.section--dark .index-item,
.card--dark .index-item { border-bottom-color: rgba(157, 183, 174, 0.22); }
.section--dark .index-num,
.section--dark .index-meta,
.card--dark .index-num,
.card--dark .index-meta { color: rgba(157, 183, 174, 0.9); }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-green);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(42, 28, 20, 0.6);
}
.section--dark .stat-num,
.card--dark .stat-num,
.section--pitch .stat-num { color: var(--lime); }
.section--dark .stat-label,
.card--dark .stat-label,
.section--pitch .stat-label { color: rgba(244, 235, 216, 0.72); }

/* 显现 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* 返回顶部（由脚本注入） */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-deep);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgba(11, 43, 36, 0.35);
  box-shadow: 0 18px 34px -18px rgba(11, 43, 36, 0.95);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ========== 8. 响应式 ========== */
@media (max-width: 1180px) {
  .search-hint { display: none; }
}

@media (max-width: 980px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    gap: 8px;
    border-radius: 0 0 24px 24px;
    border-left: 0;
    border-right: 0;
    border-top: 0;
  }
  .masthead { flex: 1 1 auto; }
  .masthead-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .scroll-meter { left: 16px; right: 16px; bottom: 3px; }

  .site-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    max-height: 76vh;
    overflow-y: auto;
    padding: 16px;
    border-radius: 26px;
    border: 1px solid var(--line-cool-strong);
    background:
      radial-gradient(120% 70% at 100% 0%, rgba(200, 255, 61, 0.16), transparent 60%),
      linear-gradient(160deg, var(--night-blue), var(--ink-green) 58%, var(--pitch-green));
    box-shadow: 0 34px 80px -30px rgba(0, 0, 0, 0.85);
    transform: translateY(calc(100% + 34px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.24s ease,
      visibility 0.32s;
  }
  .site-nav[data-open] {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    width: 100%;
  }
  .nav-item { width: 100%; }
  .nav-link {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border-bottom: 1px solid rgba(157, 183, 174, 0.16);
    font-size: 16.5px;
  }
  .nav-num { font-size: 11px; }

  .nav-aside {
    display: block;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(200, 255, 61, 0.35);
    background: rgba(200, 255, 61, 0.08);
  }
  .nav-aside-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--lime);
  }
  .nav-aside-text {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(244, 235, 216, 0.8);
  }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

@media (max-width: 720px) {
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .footer-headline { align-items: flex-start; }
  .footer-headline-actions { width: 100%; }
  .footer-headline-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 600px) {
  .brand-sub { display: none; }
  .season-badge { display: none; }
  .brand-name { font-size: 15.5px; }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { gap: 6px 14px; }
  .to-top { right: 12px; bottom: 84px; }
}

@media (max-width: 420px) {
  .masthead-actions .btn--sm { padding: 8px 12px; font-size: 12.5px; }
  .nav-toggle { padding: 8px 11px; font-size: 12px; }
}

/* ========== 9. 动效降级 ========== */
@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;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .skip-link { transition: none; }
  .scroll-meter-fill { transition: none; }
}
