/* ==========================================================================
   雷火电竞 · 赛季熔炉内容站 —— 共享样式 /assets/site.css
   1. reset  2. 变量与显示模式  3. 中文排版  4. 布局与骨架
   5. 基础组件  6. 刊头  7. 页脚  8. 动效与可访问性
   ========================================================================== */

/* 1. reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent-3); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* 2. 变量与显示模式 ------------------------------------------------------- */
:root {
  --bg: #0D0D0D;
  --surface: #1A1A1A;
  --surface-2: #141414;
  --line: #2A2D31;
  --text: #E8E8E8;
  --muted: #8C9096;
  --accent: #FF4D00;
  --accent-2: #00C8FF;
  --accent-3: #00FFC8;
  --paper: #EFE6D6;
  --paper-ink: #1A1512;
  --paper-muted: #8A5A3C;
  --grad-ember: linear-gradient(135deg, #FF4D00, #7A1B00);
  --grad-arc: linear-gradient(160deg, #00C8FF, #003A5C);
  --header-bg: rgba(13, 13, 13, .94);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .03), 0 22px 44px -34px rgba(0, 0, 0, .95);

  --font-display: "Anton", "Oswald", "Arial Narrow", Impact, "Haettenschweiler",
                  "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo,
               Consolas, "Noto Sans SC", monospace;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --cut-sm: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  --cut-md: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

/* 浅色报表模式 */
[data-mode="report"] {
  --bg: #EFE6D6;
  --surface: #F7F1E6;
  --surface-2: #E7DCC8;
  --line: #CFC2AB;
  --text: #1A1512;
  --muted: #6B6257;
  --accent: #C63A00;
  --accent-2: #00688F;
  --accent-3: #00795E;
  --header-bg: rgba(239, 230, 214, .95);
  --shadow-1: 0 1px 0 rgba(26, 21, 18, .06), 0 20px 40px -34px rgba(26, 21, 18, .45);
}
[data-mode="report"] .snapshot__badge { color: #FFFFFF; }
[data-mode="report"] .panel { border-color: rgba(26, 21, 18, .18); }

/* 3. 中文排版 ------------------------------------------------------------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(46px, 9vw, 140px);
  line-height: .9;
  letter-spacing: -.03em;
  margin: 0;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
}
.h2 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(25px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
}
.h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.35;
  letter-spacing: -.005em;
  margin: 0;
}
.lead { font-size: clamp(16.5px, 1.6vw, 20px); line-height: 1.7; color: var(--text); }
.muted { color: var(--muted); }
.prose { max-width: 68ch; font-size: 16.5px; line-height: 1.8; letter-spacing: .01em; }
.prose h2, .prose h3 { margin-bottom: .55em; }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { margin-top: 1em; display: grid; gap: .5em; }
.prose li { position: relative; padding-left: 1.5em; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 9px;
  height: 2px;
  background: var(--accent);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
#main-content { display: block; scroll-margin-top: 150px; }

/* 4. 布局与骨架 ----------------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(28px, 4vw, 52px) 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(20px, 3vw, 36px);
}
.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
@media (min-width: 981px) {
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
  .span-9 { grid-column: span 9; }
  .span-12 { grid-column: span 12; }
}
.rule { height: 1px; border: 0; margin: 0; background: var(--line); }
.rule--ember { background: linear-gradient(90deg, var(--accent), transparent 70%); }

/* 5. 基础组件 ------------------------------------------------------------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--muted);
}
.label__num { font-family: var(--font-mono); color: var(--accent); letter-spacing: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: var(--cut-sm);
  transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text); }
.btn--ember { background: var(--grad-ember); border-color: transparent; color: #FFF4EE; }
.btn--ember:hover { color: #FFFFFF; }
.btn--arc { background: transparent; border-color: var(--accent-2); color: var(--accent-2); }
.btn--arc:hover { color: var(--accent-3); border-color: var(--accent-3); }
.btn--quiet { background: transparent; color: var(--muted); }
.btn:focus-visible,
.snapshot:focus-visible,
.panel a:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent-3), 0 0 0 1px rgba(0, 255, 200, .35);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55em;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: .55em; }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(127, 127, 127, .06);
}
.tag--ember { color: var(--accent); border-color: rgba(255, 77, 0, .5); }
.tag--arc { color: var(--accent-2); border-color: rgba(0, 200, 255, .45); }
.tag--flux { color: var(--accent-3); border-color: rgba(0, 255, 200, .45); }

/* 专题研究板 */
.panel {
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(26, 21, 18, .12);
  clip-path: var(--cut-md);
  box-shadow: var(--shadow-1);
}
.panel__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--paper-muted);
}
.panel__title {
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: .35em 0 .55em;
}
.panel p { color: #3A302A; font-size: 15.5px; line-height: 1.78; }
.panel a { color: #A8330A; font-weight: 700; }
.panel__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7em 1.4em;
  margin: 1em 0 0;
}
.panel__field dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--paper-muted);
}
.panel__field dd { margin: 2px 0 0; font-family: var(--font-mono); font-weight: 700; font-size: 15px; }
.panel__foot {
  margin-top: 1.3em;
  padding-top: .9em;
  border-top: 1px solid rgba(26, 21, 18, .16);
  font-size: 14px;
}

/* 数据条 */
.data-bar { display: grid; gap: .45em; }
.data-bar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
}
.data-bar__value { font-family: var(--font-mono); font-weight: 700; font-size: 22px; color: var(--accent-3); }
.data-bar__track {
  height: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.data-bar__fill {
  display: block;
  height: 100%;
  width: var(--value, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width .6s cubic-bezier(.2, .7, .2, 1);
}

/* 快照卡 */
.snapshot {
  display: grid;
  gap: .7em;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: var(--cut-md);
  transition: transform .18s ease, border-color .18s ease;
}
.snapshot:hover { transform: translateY(-4px); border-color: rgba(0, 200, 255, .45); }
.snapshot__badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
  background: var(--grad-arc);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.snapshot__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* 图片容器（页面阶段放 img / picture / svg） */
.figure { margin: 0; display: grid; gap: .7em; }
.figure__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  clip-path: var(--cut-md);
}
.figure--wide .figure__frame { aspect-ratio: 21 / 9; }
.figure--square .figure__frame { aspect-ratio: 1 / 1; }
.figure--portrait .figure__frame { aspect-ratio: 3 / 4; }
.figure__frame > img,
.figure__frame > picture > img,
.figure__frame > svg,
.figure__frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px);
}
.figure__caption { font-size: 13px; letter-spacing: .02em; color: var(--muted); }

/* 纹理工具 */
.has-scan { position: relative; overflow: hidden; }
.has-scan::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 5px);
}
.has-noise { position: relative; }
.has-noise::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* 6. 刊头 ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
  transition: background .2s ease;
}
.skip-link {
  position: absolute;
  left: 50%;
  top: -70px;
  transform: translateX(-50%);
  z-index: 120;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #062A21;
  background: var(--accent-3);
  transition: top .16s ease;
}
.skip-link:focus { top: 6px; color: #062A21; }

.masthead::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 55%, transparent);
}
.masthead__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  transition: padding .2s ease;
}
.masthead__tagline {
  display: flex;
  align-items: center;
  gap: .6em;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  transition: opacity .2s ease, visibility .2s ease;
}
.masthead__tagline::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.masthead__tagline [data-year] { font-family: var(--font-mono); font-weight: 700; color: var(--accent); }

.masthead__brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.masthead__brand:hover { color: var(--text); }
.masthead__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 23px;
  letter-spacing: 0;
  color: #120A06;
  background: var(--grad-ember);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  transition: width .2s ease, height .2s ease, font-size .2s ease;
}
.masthead__word { display: grid; line-height: 1; }
.masthead__name {
  font-weight: 900;
  font-size: clamp(21px, 2.6vw, 30px);
  letter-spacing: .08em;
}
.masthead__sub {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--muted);
}
.masthead__aside {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.utility { display: flex; align-items: center; gap: 8px; }

.season-switch { display: inline-flex; border: 1px solid var(--line); background: var(--surface); }
.season-switch__btn {
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border-right: 1px solid var(--line);
  transition: background .16s ease, color .16s ease;
}
.season-switch__btn:last-child { border-right: 0; }
.season-switch__btn:hover { color: var(--text); }
.season-switch__btn[aria-pressed="true"] { background: var(--accent); color: #120A06; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: color .16s ease, border-color .16s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--accent-2); }
.icon-btn[aria-pressed="true"] { color: var(--accent-3); border-color: var(--accent-3); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
}
.nav-toggle:hover { border-color: var(--accent-2); }
.nav-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.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: var(--accent);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { bottom: 0; }

.search-dock { background: var(--surface-2); border-top: 1px solid var(--line); }
.search-dock__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter) 22px;
  display: grid;
  gap: 12px;
}
.search-dock__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--muted);
}
.search-dock__input {
  width: 100%;
  max-width: 520px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
}
.search-dock__input::placeholder { color: var(--muted); }
.search-dock__input:focus-visible {
  outline: none;
  border-color: var(--accent-3);
  box-shadow: inset 0 0 0 1px var(--accent-3);
}
.search-dock__list { display: flex; flex-wrap: wrap; gap: 8px; }
.search-dock__list a {
  display: inline-flex;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
}
.search-dock__list a:hover { color: var(--accent-2); border-color: var(--accent-2); }
.search-dock__empty { font-size: 14px; color: var(--muted); }

.primary-nav { background: var(--header-bg); border-top: 1px solid var(--line); }
.primary-nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(6px, 2.2vw, 30px);
}
.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .45em;
  padding: 13px 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease, padding .2s ease;
}
.primary-nav__link:hover { color: var(--text); }
.primary-nav__link[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.primary-nav__num { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); letter-spacing: 0; }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  pointer-events: none;
}

/* 刊头压缩态 */
.site-header.is-condensed .masthead__inner { padding: 8px var(--gutter) 7px; }
.site-header.is-condensed .masthead__tagline { opacity: 0; visibility: hidden; }
.site-header.is-condensed .masthead__sub { display: none; }
.site-header.is-condensed .masthead__mark { width: 34px; height: 34px; font-size: 17px; }
.site-header.is-condensed .primary-nav__link { padding: 9px 2px; font-size: 14px; }

/* 7. 页脚 ---------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 110px);
  background: var(--surface-2);
  color: var(--text);
  border-top: 1px solid var(--line);
}
.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 45%, transparent);
}
.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 64px);
}
.site-footer__name { font-weight: 900; font-size: 24px; letter-spacing: .1em; }
.site-footer__desc {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
}
.site-footer__note { margin-top: 12px; max-width: 34ch; font-size: 14px; line-height: 1.75; color: var(--muted); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.footer-col__title {
  padding-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.footer-col__list { margin-top: 12px; display: grid; gap: 9px; }
.footer-col__list a { font-size: 14.5px; font-weight: 600; color: var(--text); }
.footer-col__list a:hover { color: var(--accent-2); }
.site-footer__contact {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
}
.site-footer__contact-line { font-size: 14px; line-height: 1.8; color: var(--muted); }
.site-footer__base {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter) 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer__legal { font-family: var(--font-mono); letter-spacing: .08em; }

/* 8. 动效与可访问性 ------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; }
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .2s ease, transform .2s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .snapshot:hover { transform: none; }
}

/* 响应式 ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .masthead__tagline { display: none; }
}
@media (max-width: 980px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masthead__inner { grid-template-columns: auto 1fr; padding: 12px var(--gutter); }
  .masthead__brand { justify-self: start; }
  .masthead__aside { justify-self: end; }
  .utility { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { border-top: 0; }
  .primary-nav[data-open="true"] { border-top: 1px solid var(--line); }
  .primary-nav__inner {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 4px var(--gutter) 18px;
  }
  .primary-nav[data-open="true"] .primary-nav__inner { display: flex; }
  .primary-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav__link[aria-current="page"] { color: var(--accent); }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-12 { grid-column: span 4; }
  .panel__fields { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .site-footer__base { justify-content: flex-start; }
  .snapshot:hover { transform: none; }
}
