/* ============================================================
   必一体育APP · 品质服务中文专区
   /assets/site.css —— 共享层：reset / 变量 / 排版 / 头部 / 页脚 / 组件
   页面专属布局由各页 CSS 承接，此处只提供骨架与可复用件
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --paper: #F4EAD8;
  --paper-2: #E4D2B4;
  --paper-white: #FFFDF7;
  --ink: #15181D;
  --ink-blue: #102A3A;
  --red: #A8432A;
  --red-light: #D97855;
  --sand: #C99A4B;
  --green: #0B7A5D;
  --mint: #3CF2B0;
  --slate: #6A6F78;

  --line: rgba(21, 24, 29, 0.14);
  --line-soft: rgba(21, 24, 29, 0.07);
  --on-dark: rgba(244, 234, 216, 0.78);
  --on-dark-soft: rgba(244, 234, 216, 0.56);
  --on-dark-line: rgba(244, 234, 216, 0.16);

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

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-28: 28px;
  --fs-40: 40px;
  --fs-64: 64px;
  --fs-96: 96px;

  --shell-max: 1320px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-card: 0 22px 44px -34px rgba(21, 24, 29, 0.55);
  --shadow-panel: 0 26px 44px -26px rgba(16, 42, 58, 0.8);
  --ease-out: cubic-bezier(0.22, 0.7, 0.28, 1);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 86% -8%, rgba(201, 154, 75, 0.22), transparent 44%),
    radial-gradient(circle at 2% 14%, rgba(168, 67, 42, 0.12), transparent 36%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

ul, ol {
  margin: 0 0 1em;
  padding-inline-start: 1.25em;
}

li { margin-block: 0; }

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

figure { margin: 0; }

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

button { cursor: pointer; }

a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s var(--ease-out);
}

a:hover { color: var(--red); }

::selection {
  background: var(--red);
  color: var(--paper-white);
}

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

/* ---------- 3. 布局容器与排版工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 56px);
}

#main-content { display: block; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 56px); }
.section--paper2 { background: var(--paper-2); }
.section--ink {
  background: var(--ink-blue);
  color: var(--on-dark);
}
.section--ink .section-title,
.section--ink h2,
.section--ink h3 { color: var(--paper-white); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 32px);
  margin-block-end: clamp(24px, 3vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--ink .eyebrow { color: var(--mint); }

.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

.section-title {
  margin: 0 0 0.4em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.028em;
}
.section-title--skew {
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

.lede {
  max-width: 34em;
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  color: rgba(21, 24, 29, 0.78);
}
.section--ink .lede { color: var(--on-dark); }

.annotation {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  color: var(--sand);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.section--ink .annotation { color: var(--mint); }

.u-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.75em 1.35em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--red);
  color: var(--paper-white);
}
.btn--primary:hover { background: var(--red-light); color: var(--paper-white); }

.btn--ink {
  background: var(--ink-blue);
  color: var(--mint);
}
.btn--ink:hover { background: var(--ink); color: var(--mint); }

.btn--signal {
  background: var(--mint);
  color: var(--ink-blue);
}
.btn--signal:hover { background: var(--paper-white); color: var(--ink-blue); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--paper-white);
  border-color: var(--red);
  color: var(--red);
}

/* ---------- 5. 胶囊标签与筛选 ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.85em;
  border: 1px solid rgba(21, 24, 29, 0.16);
  border-radius: var(--radius-pill);
  background: var(--paper-white);
  color: var(--ink-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}
.pill--red {
  background: rgba(168, 67, 42, 0.12);
  border-color: rgba(168, 67, 42, 0.4);
  color: var(--red);
}
.pill--sand {
  background: rgba(201, 154, 75, 0.2);
  border-color: rgba(201, 154, 75, 0.48);
  color: #8A6321;
}
.pill--mint {
  background: rgba(60, 242, 176, 0.2);
  border-color: rgba(11, 122, 93, 0.36);
  color: var(--green);
}
.pill--active,
.pill[aria-pressed="true"] {
  background: var(--ink-blue);
  border-color: var(--ink-blue);
  color: var(--mint);
}

/* ---------- 6. 卡片 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--paper-white);
  box-shadow: var(--shadow-card);
}
.card__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.card__body {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: rgba(21, 24, 29, 0.72);
}
.card__foot {
  margin-block-start: auto;
  padding-block-start: 0.6em;
}
.card--ink {
  background: var(--ink-blue);
  border-color: var(--ink-blue);
  color: var(--on-dark);
}
.card--ink .card__title { color: var(--paper-white); }
.card--ink .card__body { color: var(--on-dark); }
.card--ink .card__kicker { color: var(--mint); }

/* ---------- 7. 网格 ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 32px);
}
.u-span-3 { grid-column: span 3; }
.u-span-4 { grid-column: span 4; }
.u-span-5 { grid-column: span 5; }
.u-span-6 { grid-column: span 6; }
.u-span-7 { grid-column: span 7; }
.u-span-8 { grid-column: span 8; }
.u-span-12 { grid-column: span 12; }

/* ---------- 8. 图片容器（页面阶段放置 img.media__img） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-image: linear-gradient(148deg, var(--paper-2) 0%, #EFE0C6 46%, var(--paper-white) 100%);
  isolation: isolate;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(118deg, rgba(168, 67, 42, 0.1) 0 2px, transparent 2px 16px);
}
.media__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--wide { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--banner { aspect-ratio: 21 / 9; }
.media__tag {
  position: absolute;
  z-index: 2;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--ink-blue);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.media__caption {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  inset-block-end: 0;
  margin: 0;
  padding: 1.4rem 1.1rem 0.9rem;
  background-image: linear-gradient(to top, rgba(16, 42, 58, 0.9), transparent);
  color: var(--paper-white);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ---------- 9. 面包屑 ---------- */
.breadcrumb { margin-block: 0 clamp(16px, 2vw, 28px); }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--slate);
}
.breadcrumb__list li + li::before {
  content: "/";
  margin-inline-end: 0.55em;
  color: var(--sand);
}
.breadcrumb__link {
  color: var(--green);
  text-decoration: none;
}
.breadcrumb__link:hover { color: var(--red); }

/* ---------- 10. 长文 ---------- */
.prose {
  max-width: 38em;
  font-size: var(--fs-16);
  line-height: 1.85;
}
.prose h2 {
  margin-block: 2em 0.6em;
  font-size: var(--fs-28);
}
.prose h3 {
  margin-block: 1.6em 0.5em;
  font-size: var(--fs-20);
}
.prose p { margin-block: 0 1.1em; }
.prose ul,
.prose ol { margin-block: 0 1.2em; }
.prose li { margin-block: 0 0.45em; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--green); }

/* ---------- 11. Skip link ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -120px;
  z-index: 2000;
  padding: 0.72em 1.2em;
  border-radius: 0 0 14px 14px;
  background: var(--ink-blue);
  color: var(--mint);
  font-size: var(--fs-14);
  font-weight: 700;
  text-decoration: none;
  transition: inset-block-start 0.18s var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible {
  inset-block-start: 0;
  color: var(--mint);
}

/* ---------- 12. 头部 ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 900;
}

.header-top {
  background: var(--ink);
  color: rgba(244, 234, 216, 0.7);
}
.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  min-height: 32px;
  padding-block: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.header-top__status {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  margin: 0;
  color: rgba(244, 234, 216, 0.82);
}
.header-top__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(60, 242, 176, 0.18);
}
.header-top__meta {
  margin: 0;
  color: rgba(244, 234, 216, 0.56);
}

.header-bar {
  position: relative;
  background: var(--paper);
  border-block-end: 1px solid rgba(201, 154, 75, 0.45);
  box-shadow: 0 12px 26px -24px rgba(21, 24, 29, 0.7);
}
.header-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
  min-height: clamp(62px, 7vw, 80px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 13px;
  transform: skewX(-7deg);
  background-image: linear-gradient(
    118deg,
    var(--red) 0%,
    var(--red) 54%,
    var(--sand) 54%,
    var(--sand) 77%,
    var(--mint) 77%,
    var(--mint) 100%
  );
  box-shadow: 0 10px 20px -14px rgba(168, 67, 42, 0.95);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__descriptor {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--slate);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  margin-inline-start: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__item { margin: 0; }
.site-nav__link {
  display: inline-block;
  padding: 0.55em 1.05em;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.site-nav__link:hover {
  background: rgba(201, 154, 75, 0.26);
  color: var(--ink);
}
.site-nav__link[aria-current="page"],
.site-nav__link[aria-current="page"]:hover {
  background: var(--red);
  color: var(--paper-white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62em 1.25em;
  border-radius: var(--radius-pill);
  background: var(--ink-blue);
  color: var(--mint);
  font-size: var(--fs-14);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}
.header-cta:hover {
  background: var(--green);
  color: var(--paper-white);
  transform: translateY(-2px);
}
.header-cta:focus-visible { outline-color: var(--red); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55em;
  margin-inline-start: auto;
  padding: 0.6em 1em;
  border: 1.5px solid rgba(21, 24, 29, 0.18);
  border-radius: var(--radius-pill);
  background: var(--paper-white);
  color: var(--ink);
  font-size: var(--fs-14);
  font-weight: 700;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.nav-toggle:hover { border-color: var(--red); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s var(--ease-out), top 0.22s var(--ease-out),
    background 0.22s var(--ease-out);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav-toggle__label { line-height: 1; }

/* 头部：移动端展开态 */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-inline-start: 0;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 0.7rem 0.9rem 1.1rem;
    background: var(--ink-blue);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-panel);
  }
  .site-nav[data-open="true"] { display: flex; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .site-nav__link {
    display: block;
    padding: 0.9em 1em;
    border-radius: 14px;
    color: rgba(244, 234, 216, 0.92);
    font-size: var(--fs-16);
  }
  .site-nav__link:hover {
    background: rgba(60, 242, 176, 0.14);
    color: var(--mint);
  }
  .site-nav__link[aria-current="page"],
  .site-nav__link[aria-current="page"]:hover {
    background: var(--red);
    color: var(--paper-white);
  }
  .site-nav :focus-visible { outline-color: var(--mint); }

  .header-cta {
    align-self: stretch;
    margin-block-start: 0.75rem;
    padding-block: 0.8em;
  }
}

@media (max-width: 720px) {
  .header-top__meta { display: none; }
  .header-top__inner { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .brand__descriptor { display: none; }
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-block-start: clamp(56px, 9vw, 120px);
  padding-block-start: clamp(48px, 7vw, 88px);
  background: var(--ink-blue);
  color: var(--on-dark);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 5px;
  background-image: linear-gradient(
    90deg,
    var(--red) 0 34%,
    var(--sand) 34% 63%,
    var(--mint) 63% 100%
  );
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(150px, 0.7fr) minmax(250px, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block-end: clamp(32px, 5vw, 56px);
}

.footer-brand__name {
  margin: 0 0 0.85em;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--paper-white);
}
.footer-brand__note {
  max-width: 26em;
  margin: 0 0 1.4em;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: var(--on-dark-soft);
}
.footer-brand__cta { margin-block-start: 0.2em; }

.footer-col { min-width: 0; }
.footer-heading {
  margin: 0 0 1.1em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-14);
}
.footer-list > li { margin-block-end: 0.55em; }
.footer-list__link {
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease-out), padding-inline-start 0.2s var(--ease-out);
}
.footer-list__link:hover {
  color: var(--mint);
  padding-inline-start: 4px;
}

.footer-col--contact .footer-list > li { margin-block-end: 0.75em; }

.footer-contact__item {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sand);
}
.footer-contact__value {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--paper-white);
  overflow-wrap: anywhere;
}

.footer-service {
  margin: 1.4em 0 0;
  padding-block-start: 1.1em;
  border-block-start: 1px dashed var(--on-dark-line);
  font-size: var(--fs-12);
  line-height: 1.8;
  color: rgba(244, 234, 216, 0.5);
}

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-block: 20px 26px;
  border-block-start: 1px solid var(--on-dark-line);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: rgba(244, 234, 216, 0.5);
}
.footer-base__copy,
.footer-base__icp { margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal__link {
  color: rgba(244, 234, 216, 0.7);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.footer-legal__link:hover { color: var(--mint); }

.site-footer :focus-visible { outline-color: var(--mint); }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- 14. 阅读进度条（JS 注入） ---------- */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 1200;
  background: rgba(21, 24, 29, 0.14);
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background-image: linear-gradient(90deg, var(--red), var(--sand) 58%, var(--mint));
}

/* ---------- 15. 显现动效（data-reveal） ---------- */
[data-reveal] {
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.reveal-ready [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}
.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 响应式布局调整 ---------- */
@media (max-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .u-span-3 { grid-column: span 3; }
  .u-span-4,
  .u-span-5,
  .u-span-6,
  .u-span-7,
  .u-span-8,
  .u-span-12 { grid-column: span 6; }
}

@media (max-width: 680px) {
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-span-3,
  .u-span-4,
  .u-span-5,
  .u-span-6,
  .u-span-7,
  .u-span-8,
  .u-span-12 { grid-column: span 2; }
  .media--wide { aspect-ratio: 4 / 3; }
  .media--banner { aspect-ratio: 16 / 10; }
  .display-title { transform: skewX(-3deg); }
}

/* ---------- 17. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  .reveal-ready [data-reveal]:not(.is-revealed) {
    opacity: 1 !important;
    transform: none !important;
  }
  .btn:hover,
  .header-cta:hover,
  .footer-list__link:hover { transform: none; }
}
