/* ==========================================================================
   ANBO ESPORTS — /assets/site.css
   共享外壳：刊头报头 / 居中栏目导航 / 三栏页脚 / 蓝图组件基座
   ========================================================================== */

:root {
  --void: #070A12;
  --console: #0E1526;
  --line: #1C2740;
  --cyan: #22D3EE;
  --violet: #8B5CF6;
  --ember: #FF5C35;
  --white: #F4F7FB;
  --slate: #94A3B8;
  --sync: #34D399;
  --warn: #FACC15;

  --font-display: "Barlow Condensed", "HarmonyOS Sans SC", "Noto Sans SC", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --step: 8px;
  --bp-mobile: 900px;
}

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

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

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

ul, ol { list-style: none; }

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

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

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

input, textarea, select { font: inherit; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 中文排版底座 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw + 13px, 16px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--white);
  background-color: var(--void);
  background-image:
    radial-gradient(1100px 520px at 50% -240px, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(780px 420px at 100% 0%, rgba(34, 211, 238, 0.09), transparent 65%),
    linear-gradient(rgba(28, 39, 64, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 39, 64, 0.5) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.012em;
}

p { text-wrap: pretty; }

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: var(--white);
}

/* ---------- 工具类 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--white);
  background: var(--console);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--accent {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.12);
}

.btn--accent:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121A;
}

.btn--ghost {
  color: var(--slate);
  background: transparent;
  border-color: var(--line);
}

.btn--ghost:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.55);
}

/* ---------- 跳过导航 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #04121A;
  background: var(--cyan);
  transform: translateY(-180%);
  transition: transform 0.25s ease;
}

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

/* ==========================================================================
   头部：刊头报头
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 60;
}

.masthead-utility {
  background: rgba(14, 21, 38, 0.94);
  border-bottom: 1px solid var(--line);
}

.masthead-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding-block: 6px;
}

.masthead-utility__coord {
  font-size: 10px;
  color: var(--cyan);
  opacity: 0.85;
}

.masthead-utility__note {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.masthead-utility__mail {
  font-size: 10px;
  color: var(--slate);
  opacity: 0.75;
}

.masthead {
  position: relative;
  overflow: hidden;
  padding-block: clamp(26px, 4.6vw, 50px) clamp(22px, 3.6vw, 38px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(560px 240px at 50% 46%, rgba(34, 211, 238, 0.1), transparent 72%),
    linear-gradient(180deg, rgba(14, 21, 38, 0.55), rgba(7, 10, 18, 0.9));
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(28, 39, 64, 0.7) 50%, transparent calc(50% + 0.5px)),
    repeating-linear-gradient(90deg, rgba(28, 39, 64, 0.55) 0 1px, transparent 1px 160px);
  opacity: 0.55;
}

.masthead::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: 58%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), rgba(139, 92, 246, 0.42), transparent);
  transform: rotate(-5deg);
  opacity: 0.55;
}

.masthead__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
}

.masthead__lead {
  min-width: 0;
}

.masthead__kicker {
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.2em;
}

.masthead__subline {
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.masthead__brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 7.2vw, 80px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  color: var(--white);
  transition: filter 0.25s ease;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .masthead__brand {
    background-image: linear-gradient(180deg, #F4F7FB 30%, #9FC3D6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.masthead__brand:hover {
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.45));
}

.masthead__side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.masthead__coord {
  font-size: 10px;
  color: var(--slate);
  opacity: 0.8;
  white-space: nowrap;
}

.masthead__cta {
  font-size: 13px;
  padding: 10px 18px;
  white-space: nowrap;
}

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.06);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

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

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

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

/* ---------- 居中栏目导航 ---------- */
.primary-nav {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 21, 38, 0.96), rgba(7, 10, 18, 0.94));
  border-bottom: 1px solid var(--line);
}

.primary-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.primary-nav__list > li + li {
  border-left: 1px solid var(--line);
}

.nav-link {
  position: relative;
  display: block;
  padding: 16px 20px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #CBD5E1;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 9px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-link:hover {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.05);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.07);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--violet);
  height: 2px;
}

.primary-nav__meta {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--slate);
  opacity: 0.7;
  white-space: nowrap;
}

/* ---------- 阅读进度 ---------- */
.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 140;
  background: rgba(28, 39, 64, 0.65);
  pointer-events: none;
}

.scroll-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.55);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(14, 21, 38, 0.96), rgba(7, 10, 18, 1) 60%),
    var(--void);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 42%, transparent 88%);
  opacity: 0.75;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 39, 64, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 39, 64, 0.42) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 76px) clamp(32px, 4vw, 48px);
}

.footer-lede__kicker {
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.22em;
}

.footer-lede__brand {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--white);
}

.footer-lede__summary {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}

.footer-lede__cta {
  margin-top: 22px;
}

.footer-nav {
  padding-left: clamp(0px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}

.footer-nav__title,
.footer-contact__title {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--violet);
  margin-bottom: 16px;
}

.footer-nav__list {
  display: grid;
  gap: 1px;
}

.footer-nav__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: #C3CEDD;
  border-bottom: 1px dashed rgba(28, 39, 64, 0.9);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-nav__link:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.4);
}

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

.footer-nav__idx {
  font-size: 10px;
  color: var(--slate);
  opacity: 0.75;
}

.footer-nav__link:hover .footer-nav__idx,
.footer-nav__link[aria-current="page"] .footer-nav__idx {
  color: var(--cyan);
  opacity: 1;
}

.footer-contact {
  padding-left: clamp(0px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}

.footer-contact__list {
  display: grid;
  gap: 14px;
}

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

.footer-contact__term {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
}

.footer-contact__value {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--white);
  word-break: break-word;
}

.site-footer__base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--slate);
}

.site-footer__legal {
  letter-spacing: 0.04em;
}

.site-footer__copyright {
  letter-spacing: 0.04em;
}

.site-footer__stamp {
  font-size: 10px;
  color: var(--slate);
  opacity: 0.8;
}

/* ==========================================================================
   页面级基础组件
   ========================================================================== */

/* 面包屑 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(148, 163, 184, 0.55);
}

.breadcrumb__link {
  color: var(--slate);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.breadcrumb__link:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.6);
}

/* 正文容器 */
.prose {
  max-width: 70ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: #D6DEEA;
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--white);
}

.prose h3 {
  margin-top: 1.7em;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--white);
}

.prose strong {
  color: var(--white);
  font-weight: 700;
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
}

.prose a:hover {
  border-color: var(--cyan);
}

.prose li {
  position: relative;
  padding-left: 20px;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

/* 网格 */
.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));
}

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

/* 章节标记 */
.chapter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--slate);
  text-transform: uppercase;
}

.chapter__index {
  font-weight: 700;
  color: var(--violet);
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--slate);
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.tag--cyan {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.45);
}

.tag--ember {
  color: var(--ember);
  background: rgba(255, 92, 53, 0.1);
  border-color: rgba(255, 92, 53, 0.5);
}

.tag--sync {
  color: var(--sync);
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.45);
}

/* 图片容器基座 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.14) 55%, rgba(14, 21, 38, 0.95));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 247, 251, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 251, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.55;
}

.media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #CBD5E1;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 18, 0.9));
}

.media--wide { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }

/* 可展开内容组 */
.disclosure {
  border: 1px solid var(--line);
  background: rgba(14, 21, 38, 0.72);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.disclosure:hover {
  border-color: rgba(34, 211, 238, 0.35);
}

.disclosure[data-open="true"] {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(14, 21, 38, 0.92);
}

.disclosure__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
}

.disclosure__trigger::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 16px;
  color: var(--cyan);
}

.disclosure[data-open="true"] .disclosure__trigger::after {
  content: "\2013";
}

.disclosure__panel {
  padding: 0 18px 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #C7D2E1;
}

.disclosure__panel[hidden] {
  display: none;
}

/* 滚动显现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.8, 0.28, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .primary-nav__meta { display: none; }
}

@media (max-width: 900px) {
  .masthead-utility__coord,
  .masthead-utility__mail { display: none; }

  .masthead-utility__inner {
    justify-content: center;
    min-height: 34px;
  }

  .masthead__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .masthead__lead { order: 1; }
  .masthead__brand { order: 2; font-size: clamp(34px, 11vw, 56px); }
  .masthead__side { order: 3; justify-content: center; flex-wrap: wrap; gap: 10px; }
  .masthead__coord { display: none; }
  .masthead__cta { font-size: 12px; padding: 9px 16px; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    border-top: 1px solid var(--line);
  }

  .primary-nav__inner {
    display: block;
    padding-block: 0;
  }

  .primary-nav__list {
    display: block;
  }

  .primary-nav__list > li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav-link {
    padding: 14px 4px;
    font-size: 16px;
  }

  .nav-link::after {
    left: 4px;
    right: 4px;
    bottom: 10px;
  }

  .primary-nav {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.36s ease, opacity 0.28s ease, visibility 0.28s ease;
  }

  .primary-nav[data-open="true"] {
    max-height: 560px;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }

  .primary-nav[data-open="true"] .primary-nav__meta {
    display: block;
    padding: 14px 4px 18px;
    border-top: 1px solid var(--line);
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-nav,
  .footer-contact {
    padding-left: 0;
    border-left: 0;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }

  .footer-lede__summary { max-width: none; }

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

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

  .site-footer__base {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    background-size: auto, auto, 48px 48px, 48px 48px;
  }

  .masthead__subline {
    font-size: 11.5px;
  }

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

  .footer-lede__cta {
    width: 100%;
  }
}

/* ---------- 减少动效 ---------- */
@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;
  }

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

  .btn:hover,
  .masthead__brand:hover {
    transform: none;
    filter: none;
  }
}
