/* ==========================================================================
   诺亚体育 · 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: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background-color: #061814;
  color: #F7F3E8;
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure, dl, dd, blockquote { margin: 0; }
a { color: inherit; }

/* 2. 变量 ----------------------------------------------------------------- */
:root {
  /* 色彩 */
  --ink: #061814;
  --night: #0A1B2D;
  --forest: #0F2E26;
  --paper: #F2E8D5;
  --ivory: #F7F3E8;
  --lime: #B8FF3F;
  --lime-soft: #D6FF8C;
  --orange: #FF8B3D;
  --sage: #8FA89F;
  --brown: #3A2E24;
  --danger: #E45B4A;
  --data: #4FA3D1;

  /* 线与面 */
  --line-dark: rgba(247, 243, 232, 0.14);
  --line-soft: rgba(247, 243, 232, 0.08);
  --line-paper: rgba(58, 46, 36, 0.18);

  /* 节奏 */
  --header-h: 78px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --maxw: 1440px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* 字体 */
  --font-display: "Oswald", "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
}

/* 3. 中文排版 -------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-feature-settings: "palt" 1;
}

h1 { font-size: clamp(44px, 6.4vw, 96px); }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { font-size: clamp(22px, 2.4vw, 32px); }

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.4;
}

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

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

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

/* 4. 焦点与无障碍 ---------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.panel--paper :focus-visible,
.on-paper :focus-visible { outline-color: var(--brown); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  background-color: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  transform: translateY(-220%);
  transition: transform 180ms var(--ease);
}

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

/* 5. 按钮 ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms var(--ease),
              color 180ms var(--ease),
              border-color 180ms var(--ease);
}

.btn--accent { background-color: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--accent:hover { background-color: var(--lime-soft); border-color: var(--lime-soft); }

.btn--ghost { background-color: transparent; border-color: rgba(247, 243, 232, 0.34); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn--paper { background-color: var(--paper); border-color: var(--paper); color: var(--brown); }
.btn--paper:hover { background-color: #FFF8EA; border-color: #FFF8EA; }

.btn--orange { background-color: var(--orange); border-color: var(--orange); color: var(--brown); }
.btn--orange:hover { background-color: #FFA366; border-color: #FFA366; }

.btn--sm { padding: 8px 14px; font-size: 12.5px; }
.btn--block { width: 100%; }

/* 6. 页头 ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: transparent;
  color: var(--ivory);
  transition: background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background-image: linear-gradient(90deg, transparent, rgba(247, 243, 232, 0.24) 14%, rgba(247, 243, 232, 0.24) 86%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

.site-header[data-scrolled="true"] {
  background-color: rgba(15, 46, 38, 0.97);
  box-shadow: 0 22px 48px -34px #000000;
}

.site-header[data-scrolled="true"]::after { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
  max-width: var(--maxw);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 6.1 品牌簇 */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ivory);
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 12px;
  height: 34px;
  background-color: var(--lime);
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 82%);
  transition: background-color 180ms var(--ease);
}

.header-brand:hover .brand-mark { background-color: var(--lime-soft); }

.brand-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--ivory);
}

.brand-locale {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  padding: 2px 4px 1px;
  color: var(--lime);
  border: 1px solid rgba(184, 255, 63, 0.42);
  border-radius: var(--radius);
}

.brand-tagline {
  flex-basis: 100%;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.22em;
  color: var(--sage);
}

/* 6.2 主导航 */
.header-nav { flex: 1 1 auto; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 28px);
}

.nav-item { display: flex; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 2px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(247, 243, 232, 0.76);
  transition: color 180ms var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 220ms var(--ease);
}

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

.nav-link[aria-current="page"] { color: var(--ivory); font-weight: 700; }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* 6.3 次级入口与 CTA */
.header-utils {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.util-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  padding-block: 4px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--sage);
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.util-link:hover { color: var(--ivory); border-bottom-color: rgba(247, 243, 232, 0.5); }

.header-cta { flex: 0 0 auto; font-size: 13px; padding: 10px 16px; }

/* 6.4 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  padding: 0;
  background-color: transparent;
  border: 1px solid rgba(247, 243, 232, 0.28);
  border-radius: var(--radius);
  color: var(--ivory);
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

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

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background-color: currentColor;
  transition: transform 220ms var(--ease), opacity 180ms var(--ease);
}

.site-header[data-open="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 6.5 阅读进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--lime);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  opacity: 0.9;
  pointer-events: none;
}

/* 7. 页脚 ----------------------------------------------------------------- */
.site-footer {
  position: relative;
  background-color: var(--ink);
  color: rgba(247, 243, 232, 0.72);
  border-top: 1px solid var(--line-dark);
}

.footer-stripe {
  height: 8px;
  background-image: repeating-linear-gradient(115deg, rgba(184, 255, 63, 0.5) 0 2px, transparent 2px 16px);
  opacity: 0.7;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) minmax(110px, 0.62fr) minmax(110px, 0.62fr) minmax(270px, 1.3fr);
  gap: clamp(26px, 3.4vw, 56px);
  align-items: start;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(34px, 4.6vw, 62px) var(--gutter) clamp(26px, 3.4vw, 44px);
}

/* 7.1 品牌栏 */
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ivory);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.footer-pitch {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 243, 232, 0.6);
  max-width: 24ch;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* 7.2 栏目 */
.footer-col { min-width: 0; }

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--sage);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-list { display: grid; gap: 9px; }

.footer-item { display: block; }

.footer-link {
  display: inline-block;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  color: rgba(247, 243, 232, 0.74);
  transition: color 180ms var(--ease);
}

.footer-link:hover { color: var(--lime); }

/* 7.3 联系台 */
.footer-contact { min-width: 0; }

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

.contact-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.contact-note {
  margin-top: 18px;
  padding-left: 11px;
  border-left: 2px solid rgba(255, 139, 61, 0.55);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(247, 243, 232, 0.5);
}

/* 7.4 底栏 */
.footer-base {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(22px, 3vw, 36px);
}

.footer-note {
  padding-block: 18px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--sage);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: rgba(247, 243, 232, 0.46);
}

.footer-copy { margin: 0; }

.footer-icp { color: rgba(247, 243, 232, 0.46); }

.footer-legal-link {
  text-decoration: none;
  color: rgba(247, 243, 232, 0.66);
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.footer-legal-link:hover { color: var(--lime); border-bottom-color: var(--lime); }

/* 8. 容器 ----------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(52px, 7.4vw, 116px); }
.section--tight { padding-block: clamp(30px, 4vw, 62px); }

/* 9. 网格 ----------------------------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2.8vw, 36px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.7fr); }
.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--thirds { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 10. 面板与标记 ------------------------------------------------------------ */
.panel {
  padding: clamp(20px, 2.6vw, 34px);
  background-color: var(--forest);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.panel--night {
  background-color: var(--night);
  border-color: rgba(79, 163, 209, 0.22);
}

.panel--paper {
  background-color: var(--paper);
  color: var(--brown);
  border-color: var(--line-paper);
}

.panel--paper h1,
.panel--paper h2,
.panel--paper h3,
.panel--paper h4 { color: var(--brown); }

.panel--paper strong,
.panel--paper b { color: var(--brown); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius);
  background-color: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.tag--orange { background-color: var(--orange); color: var(--brown); }

.tag--outline {
  background-color: transparent;
  color: var(--sage);
  box-shadow: inset 0 0 0 1px rgba(143, 168, 159, 0.42);
}

.data-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.data-num--orange { color: var(--orange); }
.data-num--paper { color: var(--brown); }

.rule {
  height: 1px;
  border: 0;
  background-color: var(--line-dark);
}

.rule--lime { background-image: linear-gradient(90deg, var(--lime), rgba(184, 255, 63, 0)); }

/* 11. 面包屑 --------------------------------------------------------------- */
.breadcrumb { padding-top: 18px; }

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--sage);
}

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

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(143, 168, 159, 0.55);
}

.breadcrumb-link {
  text-decoration: none;
  color: var(--sage);
  transition: color 180ms var(--ease);
}

.breadcrumb-link:hover { color: var(--lime); }

.breadcrumb-current { color: var(--ivory); }

/* 12. 图片容器基础规则 ------------------------------------------------------ */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--forest);
  border-radius: var(--radius);
  isolation: isolate;
}

.media > img,
.media > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.86);
  transition: transform 480ms var(--ease), filter 480ms var(--ease);
}

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

.media__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(6, 24, 20, 0.08) 0%, rgba(6, 24, 20, 0.18) 44%, rgba(6, 24, 20, 0.84) 100%);
}

.media__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 8px;
  border-radius: var(--radius);
  background-color: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

a.media:hover > img,
a.media:hover > picture > img {
  transform: scale(1.02);
  filter: saturate(0.95) brightness(0.95);
}

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--sage);
}

/* 13. 工具类 --------------------------------------------------------------- */
.u-mono { font-family: var(--font-mono); }
.u-muted { color: var(--sage); }
.u-lime { color: var(--lime); }
.u-orange { color: var(--orange); }

/* 14. 响应式 --------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1240px) {
  .header-utils { gap: 10px; }
  .util-link { font-size: 11px; }
  .header-cta { padding: 9px 14px; font-size: 12.5px; }
  .nav-link { font-size: 14px; }
}

@media (max-width: 1080px) {
  .grid--thirds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .header-inner {
    flex-wrap: wrap;
    gap: 0 12px;
    padding-block: 0;
  }

  .header-brand { margin-inline-end: auto; }

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

  .header-nav,
  .header-utils,
  .header-cta { display: none; }

  .site-header[data-open="true"] {
    background-color: rgba(6, 24, 20, 0.98);
    box-shadow: 0 26px 64px -34px #000000;
  }

  .site-header[data-open="true"]::after { opacity: 1; }

  .site-header[data-open="true"] .header-nav {
    display: block;
    flex: 1 1 100%;
    order: 3;
    margin-top: 6px;
    border-top: 1px solid var(--line-dark);
  }

  .site-header[data-open="true"] .header-utils {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1 1 100%;
    order: 4;
    padding: 14px 0 6px;
    border-top: 1px solid var(--line-dark);
  }

  .site-header[data-open="true"] .header-cta {
    display: inline-flex;
    order: 5;
    width: 100%;
    margin: 12px 0 16px;
    padding-block: 12px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    color: var(--lime);
    padding-inline-start: 12px;
    box-shadow: inset 2px 0 0 var(--lime);
  }

  .util-link { font-size: 12px; color: var(--ivory); }

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

  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-pitch { max-width: 40ch; }
}

@media (max-width: 860px) {
  .grid--thirds { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .brand-tagline { display: none; }

  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }

  .contact-item { grid-template-columns: 38px minmax(0, 1fr); }

  .footer-legal { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* 15. 减少动态效果 ---------------------------------------------------------- */
@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-progress { transition: none; }
  a.media:hover > img { transform: none; }
}
