/* ==========================================================================
   大江赛场 · Site Kit
   /assets/site.css
   夜航江面 · 赛道橙斜切 · 记分牌暖白
   ========================================================================== */

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

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

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

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

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

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

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

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

/* ---------- 2. Variables ---------- */
:root {
  /* 色彩 */
  --ink-900: #071A1D;   /* 深水黑 */
  --ink-800: #0B2E33;   /* 江潮深青 */
  --ink-700: #123F44;   /* 夜场蓝绿 */
  --ink-600: #1E5056;   /* 线框青 */
  --paper:   #F6F1E7;   /* 记分牌暖白 */
  --paper-2: #E8DCC8;   /* 纸标签米 */
  --orange:  #F26A2E;   /* 赛道橙 */
  --orange-2:#FFB38A;   /* 暖橙浅 */
  --mint:    #35F2B3;   /* 荧光青绿 */
  --mist:    #6F8A8A;   /* 雾灰青 */
  --mist-hi: #A9C0BE;   /* 深底次级说明 */

  /* 排版 */
  --font-display: "Helvetica Neue", Helvetica, "Arial Black",
                  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC",
               "SimSun", Georgia, "Times New Roman", serif;
  --font-data: ui-monospace, "SF Mono", "JetBrains Mono", Menlo,
               Consolas, "Courier New", monospace;

  /* 度量 */
  --shell-max: 1480px;
  --gutter: clamp(20px, 5vw, 96px);
  --gap: clamp(16px, 2vw, 32px);

  /* 动效 */
  --ease: cubic-bezier(.22, .7, .28, 1);
  --dur: 200ms;
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--paper);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.06;
  color: var(--ink-800);
}

h1 { font-size: clamp(40px, 9vw, 148px); font-weight: 900; }
h2 { font-size: clamp(30px, 4vw, 64px); }
h3 { font-size: clamp(21px, 2.2vw, 32px); }
h4 { font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.02em; }

p { text-wrap: pretty; }

strong, b { font-weight: 700; color: var(--ink-900); }

::selection {
  background: var(--mint);
  color: var(--ink-900);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- 4. 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.prose {
  max-width: 38em;
  font-size: 17.5px;
  line-height: 1.92;
  color: var(--ink-800);
}

.prose p { margin-bottom: 1.15em; }
.prose p:last-child { margin-bottom: 0; }

.prose h2,
.prose h3 {
  margin: 1.7em 0 .55em;
  letter-spacing: -.035em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
  list-style: disc;
}

.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45em; }

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--orange);
  font-size: 1.05em;
  color: var(--ink-600);
}

/* ---------- 5. 通用文本组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: 0 0 auto;
}

.vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--mist);
  line-height: 1;
}

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

.data--mint { color: var(--mint); }

/* ---------- 6. 通用标签与按钮 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  background: var(--paper-2);
  color: var(--ink-800);
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.tag--accent { background: var(--orange); color: var(--ink-900); }
.tag--mint   { background: var(--mint);   color: var(--ink-900); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  border: 1px solid transparent;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--mint);
}

.btn--accent {
  background: var(--orange);
  color: var(--ink-900);
}

.btn--accent:hover { background: var(--orange-2); }
.btn--accent:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--ink-600);
}

.btn--ghost:hover {
  color: var(--orange-2);
  border-color: var(--orange);
}

.btn--tiny {
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: .12em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}

/* ---------- 7. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--ink-600);
  line-height: 1.6;
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }

.breadcrumb li + li::before {
  content: "/";
  color: var(--ink-600);
  opacity: .55;
}

.breadcrumb a {
  color: var(--ink-600);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.breadcrumb a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.breadcrumb [aria-current="page"] { color: var(--ink-800); font-weight: 600; }

/* ---------- 8. 展签 / 卡片 / 图片容器 ---------- */
.exhibit {
  position: relative;
  isolation: isolate;
  background: var(--paper);
  border: 1px solid var(--ink-600);
  padding: clamp(18px, 2.4vw, 30px);
  box-shadow: 7px 7px 0 rgba(11, 46, 51, .07);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

@media (hover: hover) {
  .exhibit:hover {
    transform: translateY(-4px);
    border-color: var(--orange);
    box-shadow: 9px 11px 0 rgba(242, 106, 46, .16);
  }
}

.paper-stack {
  position: relative;
  isolation: isolate;
}

.paper-stack::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: var(--paper-2);
  border: 1px solid var(--ink-600);
  z-index: -1;
  pointer-events: none;
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-700);
  border: 1px solid var(--ink-600);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(7, 26, 29, .48) 0%, rgba(7, 26, 29, 0) 46%),
    linear-gradient(0deg, rgba(7, 26, 29, .34) 0%, rgba(7, 26, 29, 0) 38%);
}

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

.media-frame__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 7px 16px;
  background: var(--paper-2);
  color: var(--ink-800);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.rule-diagonal {
  height: 1px;
  background: var(--ink-600);
  opacity: .45;
  transform: rotate(-2.6deg);
  transform-origin: left center;
}

/* ---------- 9. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink-900);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 200;
  display: inline-block;
  padding: 12px 22px;
  background: var(--orange);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

/* --- 上层：品牌桅杆 --- */
.masthead {
  overflow: hidden;
  max-height: 140px;
  background: var(--ink-900);
  color: var(--paper);
  border-bottom: 1px solid var(--ink-600);
  transition: max-height 220ms var(--ease), opacity 160ms var(--ease);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 40px);
  min-height: 66px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--paper);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  background: var(--orange);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.brand:hover .brand__mark {
  background: var(--mint);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--paper);
}

.brand__descriptor {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--mist-hi);
  line-height: 1.4;
}

.masthead__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid var(--ink-600);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  color: var(--paper-2);
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
  white-space: nowrap;
}

.tag-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(53, 242, 179, .16);
}

.masthead__cta {
  margin-left: auto;
  flex: 0 0 auto;
}

/* --- 下层：主航道 --- */
.navbar {
  position: relative;
  background-color: var(--ink-800);
  background-image: linear-gradient(
    100deg,
    transparent 0 56%,
    rgba(53, 242, 179, .07) 56% 74%,
    transparent 74%
  );
  border-bottom: 1px solid var(--ink-600);
}

.navbar::before {
  content: "";
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    115deg,
    var(--orange) 0 18px,
    transparent 18px 38px
  );
  opacity: .92;
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  min-height: 58px;
}

.nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav__link {
  position: relative;
  isolation: isolate;
  display: block;
  padding: 11px 17px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.3;
  color: var(--paper);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.nav__link::before {
  content: "";
  position: absolute;
  inset: 3px 0;
  z-index: -1;
  background: var(--orange);
  transform: skewX(-14deg) scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--ink-900);
}

.nav__link:hover::before,
.nav__link:focus-visible::before {
  transform: skewX(-14deg) scaleX(1);
}

.nav__link:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.nav__link[aria-current="page"] {
  color: var(--ink-900);
}

.nav__link[aria-current="page"]::before {
  transform: skewX(-14deg) scaleX(1);
  background: var(--orange);
}

.navbar__aside {
  margin-left: auto;
  flex: 0 0 auto;
  padding-bottom: 3px;
  font-family: var(--font-data);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--mint);
  border-bottom: 1px solid var(--ink-600);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.navbar__aside:hover {
  color: var(--orange-2);
  border-bottom-color: var(--orange);
}

/* --- 移动抽屉按钮 --- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--ink-600);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--orange); color: var(--orange-2); }

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}

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

.nav-toggle__bars i:last-child { width: 62%; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child {
  transform: translateY(6px) 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:last-child {
  width: 100%;
  transform: translateY(-6px) rotate(-45deg);
}

/* --- 页头收拢态 --- */
.site-header[data-condensed] .masthead {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  background-color: var(--ink-900);
  background-image: radial-gradient(
    120% 90% at 82% -10%,
    rgba(18, 63, 68, .95) 0%,
    rgba(7, 26, 29, 0) 62%
  );
  color: var(--paper-2);
  border-top: 1px solid var(--ink-600);
}

.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: repeating-linear-gradient(
    115deg,
    var(--orange) 0 26px,
    transparent 26px 52px
  );
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .72fr));
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(44px, 6vw, 84px) clamp(30px, 4vw, 52px);
}

.footer__brand { min-width: 0; }

.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.02;
  color: var(--paper);
}

.footer__tagline {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.7;
  color: var(--mist-hi);
}

.footer__contact {
  margin-top: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 30em;
}

.footer__contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(30, 80, 86, .72);
  font-size: 14px;
  line-height: 1.7;
}

.footer__contact-key {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--orange-2);
}

.footer__contact-val {
  min-width: 0;
  font-family: var(--font-data);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--paper);
  word-break: break-word;
}

.footer__col { min-width: 0; }

.footer__heading {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1.5;
  color: var(--orange-2);
}

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

.footer__link {
  position: relative;
  display: inline-block;
  padding: 2px 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-2);
  transition: color var(--dur) var(--ease);
}

.footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.footer__link:hover { color: var(--paper); }
.footer__link:hover::after { transform: scaleX(1); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 32px;
  padding-block: 20px 30px;
  border-top: 1px solid rgba(30, 80, 86, .72);
}

.footer__note {
  flex: 1 1 320px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist-hi);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-data);
  font-size: 12.5px;
  letter-spacing: .06em;
  line-height: 1.8;
  color: var(--mist-hi);
}

.footer__icp { color: var(--paper-2); }
.footer__copy { color: var(--mist-hi); }

/* ---------- 11. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    visibility var(--dur) var(--ease);
}

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

.to-top:hover { background: var(--mint); }

.to-top:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

/* ---------- 12. 渐入协议 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

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

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 11px 13px; font-size: 14px; }
  .masthead__tag { font-size: 11px; padding: 7px 14px; }
}

@media (max-width: 1020px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3.4vw, 44px);
  }
  .masthead__tag { display: none; }
}

@media (max-width: 900px) {
  :root { --gutter: clamp(20px, 4.5vw, 44px); }

  html { scroll-padding-top: 88px; }

  .masthead__inner { min-height: 58px; padding-block: 9px; gap: 12px; }
  .brand__mark { width: 34px; height: 34px; font-size: 17px; }
  .brand__name { font-size: 17px; }
  .brand__descriptor { display: none; }
  .masthead__cta { padding: 11px 16px; font-size: 12.5px; letter-spacing: .05em; }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background-color: var(--ink-800);
    background-image: none;
    border-top: 1px solid var(--ink-600);
    border-bottom: 1px solid var(--ink-600);
    padding: 6px var(--gutter) 20px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    box-shadow: 0 22px 40px rgba(7, 26, 29, .45);
  }

  .nav[data-open] { display: flex; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list > li { border-bottom: 1px solid rgba(30, 80, 86, .8); }
  .nav__list > li:last-child { border-bottom: 0; }

  .nav__link {
    padding: 15px 16px;
    font-size: 16.5px;
    letter-spacing: .04em;
  }

  .nav__link::before { inset: 5px 0; }

  .navbar__aside { font-size: 12px; }

  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 44px 34px;
  }

  .footer__brand { grid-column: 1 / -1; }
  .footer__wordmark { font-size: clamp(26px, 6vw, 38px); }

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

@media (max-width: 640px) {
  body { font-size: 16.5px; }

  .masthead__cta {
    padding: 10px 13px;
    font-size: 11.5px;
  }

  .brand__name { font-size: 16px; }

  .navbar__aside { display: none; }

  .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer__col { padding-top: 20px; border-top: 1px solid rgba(30, 80, 86, .72); }
  .footer__contact { gap: 10px; }
  .footer__legal { font-size: 11.5px; }

  .to-top { width: 44px; height: 44px; }
}

/* ---------- 14. 动效与打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .exhibit:hover { transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .skip-link { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .shell { max-width: none; padding: 0; }
  .exhibit, .paper-stack::after { box-shadow: none; }
  a { color: #000; }
}
