/* ==========================================================================
   arena-tanqiu — /assets/site.css
   共享外壳：头部 / 页脚 / 通用组件
   ========================================================================== */

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

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

body {
  margin: 0;
  background-color: #0a1324;
  background-image:
    linear-gradient(90deg, rgba(44, 58, 82, 0.34) 1px, transparent 1px),
    linear-gradient(180deg, rgba(44, 58, 82, 0.26) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  background-position: center top;
  color: #f4ebdd;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

:root {
  --ink-deep: #0a1324;
  --ink-mid: #14213a;
  --paper: #f4ebdd;
  --ink-brown: #1a1510;
  --cyan: #2be8cf;
  --orange: #ff6a2b;
  --red: #d8432e;
  --mist: #a9b9ce;
  --steel: #1e5a63;
  --grid: #2c3a52;

  --font-display: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Noto Sans Mono", "SFMono-Regular", ui-monospace, "Courier New", monospace;

  --wrap: 1240px;
  --space: clamp(16px, 4vw, 40px);
  --pill-radius: 999px;
  --sharp: 2px;
}

::selection {
  background: #2be8cf;
  color: #0a1324;
}

:focus-visible {
  outline: 2px solid #2be8cf;
  outline-offset: 3px;
  border-radius: 2px;
}

#main-content {
  scroll-margin-top: 96px;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--sharp);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn--accent {
  background: #ff6a2b;
  color: #1a1510;
}

.btn--accent:hover {
  background: #ff8551;
}

.btn--ghost {
  background: transparent;
  color: #2be8cf;
  border-color: rgba(43, 232, 207, 0.5);
}

.btn--ghost:hover {
  background: rgba(43, 232, 207, 0.12);
  border-color: #2be8cf;
}

.btn--sm {
  padding: 7px 14px;
  font-size: 12px;
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 300;
  padding: 10px 16px;
  background: #ff6a2b;
  color: #1a1510;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 头部外壳 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: rgba(10, 19, 36, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2c3a52;
}

/* 顶部第一栏：首页直达 */

.direct-bar {
  background: rgba(20, 33, 58, 0.94);
  border-bottom: 1px solid #2c3a52;
}

.direct-bar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 7px var(--space);
}

.direct-bar__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 1px 0 3px;
  color: #2be8cf;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 232, 207, 0.45);
}

.direct-bar__home::after {
  content: "\2197";
  font-size: 11px;
  line-height: 1;
}

.direct-bar__home:hover {
  color: #f4ebdd;
  border-bottom-color: #f4ebdd;
}

.direct-bar__meta {
  margin-left: auto;
  color: #a9b9ce;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.direct-bar__cta {
  flex: 0 0 auto;
}

/* 悬浮胶囊 */

.header-float {
  padding: 10px var(--space) 10px;
  transition: padding 0.24s ease;
}

.header-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 8px 10px 8px 16px;
  background: rgba(20, 33, 58, 0.92);
  border: 1px solid #2c3a52;
  border-radius: var(--pill-radius);
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.95);
  transition: background-color 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.site-header[data-scrolled="true"] .header-float {
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-header[data-scrolled="true"] .header-pill {
  background: rgba(20, 33, 58, 0.98);
  border-color: #2c3a52;
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.98);
}

/* 品牌 */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #f4ebdd;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  background: #0a1324;
  border: 1px solid #2be8cf;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.brand__mark::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #ff6a2b;
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 6px;
  width: 12px;
  height: 2px;
  background: #2be8cf;
}

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

.brand__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f4ebdd;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #a9b9ce;
}

/* 主导航 */

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--pill-radius);
  color: #a9b9ce;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover {
  color: #f4ebdd;
  background: rgba(43, 232, 207, 0.1);
}

.nav-link[aria-current="page"] {
  background: #2be8cf;
  color: #0a1324;
}

.nav-link--minor {
  color: rgba(169, 185, 206, 0.8);
  font-weight: 400;
}

.header-pill__cta {
  flex: 0 0 auto;
  margin-left: auto;
}

/* 移动导航按钮 */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid #2c3a52;
  border-radius: var(--pill-radius);
  color: #f4ebdd;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: #2be8cf;
  color: #2be8cf;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #2be8cf;
  transition: transform 0.2s ease;
}

.nav-toggle__bars::before {
  top: 0;
}

.nav-toggle__bars::after {
  bottom: 0;
}

.header-pill[data-open="true"] .nav-toggle__bars::before {
  transform: translateY(4px) rotate(45deg);
}

.header-pill[data-open="true"] .nav-toggle__bars::after {
  transform: translateY(-4px) rotate(-45deg);
}

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

/* 阅读进度 */

.read-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(44, 58, 82, 0.75);
}

.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #2be8cf 0%, #2be8cf 62%, #ff6a2b 100%);
  transition: width 0.12s linear;
}

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

.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  background: #0a1324;
  border-top: 1px solid #2c3a52;
  color: #f4ebdd;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2be8cf, transparent);
  opacity: 0.55;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  background: linear-gradient(135deg, rgba(43, 232, 207, 0.1), transparent 62%);
  pointer-events: none;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.72fr 0.72fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(44px, 6vw, 76px) 0 clamp(28px, 4vw, 44px);
}

.footer-brand__kicker {
  margin: 0 0 14px;
  color: #2be8cf;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-brand__line {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.005em;
  color: #f4ebdd;
}

.footer-brand__note {
  margin: 0;
  max-width: 30ch;
  color: #a9b9ce;
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-col__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2c3a52;
  color: #2be8cf;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.footer-link {
  display: inline-block;
  padding: 2px 0;
  color: #a9b9ce;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-link:hover {
  color: #f4ebdd;
  border-bottom-color: #2be8cf;
}

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

.footer-contact__row {
  display: grid;
  gap: 2px;
}

.footer-contact__label {
  color: rgba(169, 185, 206, 0.7);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-contact__value {
  color: #f4ebdd;
  font-size: 15px;
  line-height: 1.5;
  word-break: break-word;
}

.footer-contact__note {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 1px solid #2c3a52;
  color: #a9b9ce;
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 24px;
  border-top: 1px solid #2c3a52;
  color: rgba(169, 185, 206, 0.75);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.footer-base__legal,
.footer-base__copy {
  display: inline-block;
}

/* ---------- 通用版式组件 ---------- */

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

.section--paper {
  background: #f4ebdd;
  color: #1a1510;
}

.section__head {
  display: grid;
  gap: 12px;
  max-width: 72ch;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.eyebrow {
  margin: 0;
  color: #2be8cf;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section--paper .eyebrow {
  color: #1e5a63;
}

.section__index {
  margin: 0;
  color: rgba(43, 232, 207, 0.35);
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
  letter-spacing: 0.02em;
}

.section--paper .section__index {
  color: rgba(26, 21, 16, 0.28);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section__lead {
  max-width: 62ch;
  margin: 0;
  color: #a9b9ce;
  font-size: 16px;
  line-height: 1.7;
}

.section--paper .section__lead {
  color: rgba(26, 21, 16, 0.72);
}

.grid {
  display: grid;
  gap: clamp(16px, 3vw, 32px);
}

.grid--7-5 {
  grid-template-columns: 7fr 5fr;
}

.grid--8-4 {
  grid-template-columns: 8fr 4fr;
}

.grid--5-7 {
  grid-template-columns: 5fr 7fr;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 28px);
  background: #14213a;
  border: 1px solid #2c3a52;
  border-radius: var(--sharp);
  color: #f4ebdd;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: #2be8cf;
  transform: translate(3px, -3px);
}

.card__index {
  color: #2be8cf;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

.card__text {
  margin: 0;
  color: #a9b9ce;
  font-size: 15px;
  line-height: 1.65;
}

.card--paper {
  background: #f4ebdd;
  border-color: rgba(26, 21, 16, 0.18);
  color: #1a1510;
}

.card--paper .card__index {
  color: #1e5a63;
}

.card--paper .card__text {
  color: rgba(26, 21, 16, 0.72);
}

.card--paper:hover {
  border-color: #1a1510;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: var(--sharp);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  white-space: nowrap;
}

.tag--cyan {
  color: #2be8cf;
  background: rgba(43, 232, 207, 0.1);
}

.tag--orange {
  color: #ff6a2b;
  background: rgba(255, 106, 43, 0.12);
}

.tag--red {
  color: #d8432e;
  background: rgba(216, 67, 46, 0.14);
}

.section--paper .tag--cyan {
  color: #1e5a63;
  background: rgba(30, 90, 99, 0.1);
}

.section--paper .tag--orange {
  color: #b8480f;
  background: rgba(255, 106, 43, 0.16);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

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

.breadcrumb__list > li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__list > li:not(:first-child)::before {
  content: "/";
  color: rgba(169, 185, 206, 0.5);
}

.breadcrumb__link {
  color: #a9b9ce;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb__link:hover {
  color: #2be8cf;
  border-bottom-color: #2be8cf;
}

.breadcrumb__current {
  color: #f4ebdd;
}

.section--paper .breadcrumb__current {
  color: #1a1510;
}

.section--paper .breadcrumb__link {
  color: rgba(26, 21, 16, 0.7);
}

.section--paper .breadcrumb__link:hover {
  color: #1a1510;
  border-bottom-color: #1a1510;
}

.prose {
  max-width: 68ch;
  color: #f4ebdd;
  font-size: 17px;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose h2,
.prose h3 {
  margin: 1.8em 0 0.6em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.005em;
}

.prose h2 {
  font-size: clamp(22px, 3vw, 32px);
}

.prose h3 {
  font-size: clamp(18px, 2.2vw, 24px);
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose a {
  color: #2be8cf;
}

.section--paper .prose {
  color: #1a1510;
}

.section--paper .prose a {
  color: #1e5a63;
}

/* 图片容器基础规则 */

.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(43, 232, 207, 0.14), transparent 58%),
    #14213a;
  border: 1px solid #2c3a52;
  border-radius: var(--sharp);
}

.media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(10, 19, 36, 0.6) 0 38%, transparent 38%),
    radial-gradient(120% 120% at 100% 0%, rgba(43, 232, 207, 0.2), transparent 56%);
}

.media--wide {
  aspect-ratio: 21 / 9;
}

.media--tall {
  aspect-ratio: 3 / 4;
}

.media--square {
  aspect-ratio: 1 / 1;
}

.media--clean::after {
  display: none;
}

.section--paper .media {
  border-color: rgba(26, 21, 16, 0.22);
}

/* 章节高亮 */

.chapter {
  position: relative;
  padding-left: clamp(12px, 2vw, 22px);
}

.chapter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #2be8cf;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.chapter[data-active="true"]::before {
  opacity: 1;
}

/* 可选入场（仅在 JS 可用且非 reduced-motion 时启用） */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 平板 ---------- */

@media (max-width: 1100px) and (min-width: 881px) {
  .brand__sub {
    display: none;
  }

  .nav-link {
    padding: 7px 9px;
    font-size: 13px;
  }

  .header-pill__cta {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 移动 ---------- */

@media (max-width: 880px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .direct-bar__inner {
    justify-content: space-between;
    gap: 10px;
    padding: 7px var(--space);
  }

  .direct-bar__home {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .direct-bar__meta {
    display: none;
  }

  .direct-bar__cta {
    margin-left: auto;
    padding: 6px 12px;
    font-size: 12px;
  }

  .header-float {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 8px calc(8px + env(safe-area-inset-bottom));
    z-index: 95;
    transition: none;
  }

  .site-header[data-scrolled="true"] .header-float {
    padding-top: 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
  }

  .header-pill {
    gap: 8px;
    padding: 6px 8px;
    border-radius: 16px;
    box-shadow: 0 -14px 34px -20px rgba(0, 0, 0, 0.95);
  }

  .site-header[data-scrolled="true"] .header-pill {
    box-shadow: 0 -14px 34px -18px rgba(0, 0, 0, 0.98);
  }

  .brand__mark {
    width: 24px;
    height: 24px;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__sub {
    display: none;
  }

  .primary-nav {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-list {
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    padding: 7px 10px;
    font-size: 13px;
  }

  .nav-link--minor {
    color: rgba(169, 185, 206, 0.8);
  }

  .header-pill__cta {
    display: none;
  }

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

  .header-pill[data-open="true"] .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 10px);
    padding: 8px;
    max-height: min(64vh, 460px);
    overflow-y: auto;
    background: #14213a;
    border: 1px solid #2c3a52;
    border-radius: 14px;
    box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.98);
  }

  .header-pill[data-open="true"] .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow: visible;
  }

  .header-pill[data-open="true"] .nav-link {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 44px;
  }

  .footer-brand__note {
    max-width: 46ch;
  }

  .footer-base {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .grid--7-5,
  .grid--8-4,
  .grid--5-7 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

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

  .read-progress__bar {
    transition: none;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover {
    transform: none;
  }
}
