/* ==========================================================================
   捕鱼吧牌局 · 共享样式表 /assets/site.css
   深海蓝牌桌 + 珊瑚橙行动色 + 档案纸层语言
   ========================================================================== */

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

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

body {
  margin: 0;
  min-height: 100vh;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a { color: inherit; }

p { margin: 0 0 20px; }

p:last-child { margin-bottom: 0; }

/* ---------- 变量 ---------- */
:root {
  --ink: #0A1620;
  --paper: #FBF8F2;
  --mist: #EAF3F8;
  --deep: #0B2A4A;
  --tide: #123B63;
  --water: #1E6F7A;
  --felt: #1F6B4F;
  --coral: #FF6B4A;
  --coral-soft: #FF7F62;
  --gold: #F2B84B;
  --slate: #6B7C8C;
  --ok: #2E9E6B;
  --warn: #D64545;

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

  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-pill: 999px;
  --radius-card: 14px;
  --radius-tag: 6px;

  --edge: 1px solid rgba(11, 42, 74, 0.16);
  --edge-light: 1px solid rgba(11, 42, 74, 0.10);
  --shadow-paper: 4px 4px 0 rgba(11, 42, 74, 0.10);
  --shadow-stack: 0 1px 0 rgba(11, 42, 74, 0.06), 6px 8px 0 rgba(11, 42, 74, 0.07);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: #E7F1F5;
  background-image:
    radial-gradient(1100px 520px at 8% -8%, rgba(30, 111, 122, 0.20), transparent 62%),
    radial-gradient(880px 460px at 102% 2%, rgba(255, 107, 74, 0.12), transparent 58%),
    linear-gradient(180deg, #EFF7FA 0%, #E3EFF4 46%, #EAF3F8 100%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--deep);
}

h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: clamp(17px, 1.6vw, 19px); }

p, li { max-width: 68ch; }

a { color: var(--water); }

strong { font-weight: 700; color: var(--deep); }

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

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

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(48px, 7vw, 88px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.rule {
  height: 2px;
  border: 0;
  margin: clamp(32px, 5vw, 64px) 0;
  background: linear-gradient(90deg, var(--deep), rgba(11, 42, 74, 0.06));
}

/* ---------- 文字装饰 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--water);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  flex: none;
  background: var(--coral);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--slate);
  text-transform: uppercase;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--deep);
}

.stat__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--slate);
}

.link-print {
  color: var(--tide);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--coral), var(--coral));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 3px;
  transition: background-size 0.18s var(--ease), color 0.16s var(--ease);
}

.link-print:hover,
.link-print:focus-visible {
  color: var(--deep);
  background-size: 100% 3px;
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-tag);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tag--coral { background: var(--coral); color: var(--deep); border-color: rgba(11, 42, 74, 0.14); }
.tag--gold { background: var(--gold); color: var(--deep); border-color: rgba(11, 42, 74, 0.14); }
.tag--felt { background: var(--felt); color: var(--paper); }
.tag--water { background: var(--water); color: var(--paper); }
.tag--mist { background: var(--mist); color: var(--tide); border-color: rgba(11, 42, 74, 0.14); }

/* ---------- 档案卡 ---------- */
.card {
  position: relative;
  background: var(--paper);
  border: var(--edge);
  border-radius: var(--radius-card);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--shadow-stack);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  border-color: var(--coral);
  box-shadow: 0 1px 0 rgba(11, 42, 74, 0.06), 8px 12px 0 rgba(11, 42, 74, 0.09);
}

.card--stack::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  z-index: -1;
  border: var(--edge-light);
  border-radius: var(--radius-card);
  background: rgba(234, 243, 248, 0.75);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
              transform 0.12s var(--ease), box-shadow 0.16s var(--ease),
              border-color 0.16s var(--ease);
}

.btn--primary {
  background: var(--coral);
  color: var(--deep);
  border-color: rgba(11, 42, 74, 0.16);
  box-shadow: 0 2px 0 rgba(11, 42, 74, 0.22);
}

.btn--primary:hover { background: var(--coral-soft); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(11, 42, 74, 0.22); }
.btn--primary:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(11, 42, 74, 0.22); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251, 248, 242, 0.42);
}

.btn--ghost:hover { background: rgba(251, 248, 242, 0.14); border-color: var(--paper); }

.btn--outline {
  background: var(--paper);
  color: var(--deep);
  border-color: rgba(11, 42, 74, 0.22);
  box-shadow: var(--shadow-paper);
}

.btn--outline:hover { border-color: var(--coral); color: var(--deep); transform: translateY(-1px); }

.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 400;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--deep);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(11, 42, 74, 0.4);
  transform: translate(-50%, -180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* ---------- 阅读进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--coral), var(--gold) 62%, var(--water));
  transition: transform 0.1s linear;
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 16px var(--gutter) 0;
  transition: padding 0.22s var(--ease);
}

.site-header.is-condensed { padding-top: 8px; }

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
}

/* 品牌浮岛 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 9px 20px 9px 10px;
  border: 1px solid rgba(251, 248, 242, 0.18);
  border-radius: var(--radius-pill);
  background: var(--deep);
  color: var(--paper);
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(11, 42, 74, 0.22), 0 16px 30px -22px rgba(11, 42, 74, 0.95);
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.brand:hover { background: var(--tide); transform: translateY(-1px); }

.brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--deep);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  transition: width 0.22s var(--ease), height 0.22s var(--ease), font-size 0.22s var(--ease);
}

.site-header.is-condensed .brand__mark {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

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

.brand__name {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.brand__desc {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(251, 248, 242, 0.66);
}

/* 导航胶囊 */
.nav-pill {
  display: flex;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(11, 42, 74, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(251, 248, 242, 0.95);
  box-shadow: 0 2px 0 rgba(11, 42, 74, 0.08), 0 18px 34px -26px rgba(11, 42, 74, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

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

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--tide);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.nav-link:hover {
  background: var(--mist);
  color: var(--deep);
}

.nav-link[aria-current="page"] {
  background: var(--coral);
  color: var(--deep);
  box-shadow: inset 0 0 0 1px rgba(11, 42, 74, 0.18);
}

/* 页头右侧 */
.header-aside {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.season-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(242, 184, 75, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(11, 42, 74, 0.88);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.season-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.18);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(251, 248, 242, 0.22);
  border-radius: var(--radius-pill);
  background: var(--deep);
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(11, 42, 74, 0.24);
  transition: background-color 0.16s var(--ease);
}

.nav-toggle:hover { background: var(--tide); }

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.2s var(--ease), opacity 0.16s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) 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(-7px) rotate(-45deg); }

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  padding-top: clamp(92px, 13vw, 124px);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.breadcrumbs__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: none;
}

.breadcrumbs__list li::after {
  content: "/";
  color: rgba(11, 42, 74, 0.28);
}

.breadcrumbs__list li:last-child::after { content: ""; }

.breadcrumbs a {
  color: var(--tide);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.breadcrumbs a:hover { color: var(--deep); border-bottom-color: var(--coral); }

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

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

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 42, 74, 0.18);
  border-radius: var(--radius-card);
  aspect-ratio: 16 / 10;
  background-color: var(--deep);
  background-image:
    radial-gradient(420px 220px at 12% 8%, rgba(30, 111, 122, 0.75), transparent 68%),
    radial-gradient(360px 200px at 92% 96%, rgba(255, 107, 74, 0.34), transparent 70%),
    repeating-linear-gradient(45deg, rgba(251, 248, 242, 0.05) 0 2px, transparent 2px 10px),
    linear-gradient(150deg, #0B2A4A 0%, #123B63 58%, #1E6F7A 100%);
  box-shadow: var(--shadow-stack);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 4 / 5; }

.media-frame__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: var(--radius-tag);
  background: rgba(11, 42, 74, 0.82);
  border: 1px solid rgba(242, 184, 75, 0.42);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  color: rgba(251, 248, 242, 0.84);
  background-color: var(--deep);
  background-image:
    radial-gradient(760px 320px at 6% -20%, rgba(30, 111, 122, 0.58), transparent 70%),
    radial-gradient(620px 280px at 96% -12%, rgba(255, 107, 74, 0.18), transparent 66%),
    linear-gradient(180deg, #0E3157 0%, #0B2A4A 52%, #081F38 100%);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold) 50%, var(--water));
  opacity: 0.92;
}

.footer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 64px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter) clamp(32px, 4vw, 48px);
}

.footer-brand__name {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paper);
  max-width: none;
}

.footer-brand__tag {
  margin: 0 0 24px;
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(251, 248, 242, 0.74);
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: none;
  font-size: 13px;
  line-height: 1.6;
}

.footer-contact__key {
  flex: none;
  min-width: 40px;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(251, 248, 242, 0.82);
  word-break: break-word;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.footer-col__title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  max-width: none;
  border-bottom: 1px solid rgba(251, 248, 242, 0.14);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  max-width: none;
  font-size: 14px;
  color: rgba(251, 248, 242, 0.82);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--coral);
}

.footer-base {
  position: relative;
  border-top: 1px solid rgba(251, 248, 242, 0.14);
  background: rgba(10, 22, 32, 0.6);
}

.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(251, 248, 242, 0.56);
}

.footer-base__legal {
  color: rgba(251, 248, 242, 0.88);
  font-weight: 700;
}

.footer-base__copy { color: rgba(251, 248, 242, 0.62); }

.footer-base__note {
  flex: 1 1 100%;
  max-width: none;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(251, 248, 242, 0.5);
}

/* ---------- 动效 ---------- */
body.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
}

body.motion-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

/* ---------- 响应式：平板 ---------- */
@media (max-width: 1080px) {
  .footer-shell { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand__tag { max-width: 46ch; }
}

/* ---------- 响应式：移动导航断点 ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .nav-pill {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 12px;
    border-radius: 22px;
    background: rgba(251, 248, 242, 0.99);
    box-shadow: 0 4px 0 rgba(11, 42, 74, 0.10), 0 30px 60px -30px rgba(11, 42, 74, 0.9);
  }

  .nav-pill[data-open="true"] { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .season-tag { display: none; }

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

/* ---------- 响应式：手机 ---------- */
@media (max-width: 720px) {
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

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

  .footer-base__note { flex: 1 1 100%; }

  .breadcrumbs { padding-top: clamp(88px, 20vw, 104px); }
}

@media (max-width: 520px) {
  .brand { padding: 8px 15px 8px 8px; gap: 10px; }
  .brand__desc { display: none; }
  .brand__name { font-size: 15px; }
  .brand__mark { width: 30px; height: 30px; font-size: 14px; }
  .header-aside { gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

/* ---------- 减少动效 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  body.motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .btn--primary:hover,
  .brand:hover { transform: none; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .skip-link { display: none !important; }

  body {
    background: #FFFFFF;
    color: #000000;
  }

  .card { box-shadow: none; border: 1px solid #999999; }
}
