/* ============================================================
   狗万看台 · 共享站点样式 /assets/site.css
   夜场深蓝看台 + 奶油纸资料卡 + 荧光绿刻度
   ============================================================ */

:root {
  --night: #081A2F;
  --night-deep: #050F1D;
  --stand: #12345A;
  --ink: #241A12;
  --paper: #F2E7CF;
  --paper-shadow: #D8C9AE;
  --volt: #B7FF2A;
  --amber: #FF9D2E;
  --card-red: #B3261E;
  --mist: #A9B7C6;
  --teal: #0E4F5C;

  --line: rgba(169, 183, 198, 0.26);
  --line-strong: rgba(169, 183, 198, 0.5);

  --font-display: "Barlow Condensed", "Oswald", Impact, "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-editorial: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 78px;
  --shell: 1240px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 0px;
}

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

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

body {
  margin: 0;
  background-color: var(--night);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0 0 1em; }

a { color: var(--volt); text-decoration: none; }
a:hover { color: var(--amber); }

button { font: inherit; color: inherit; }

::selection { background: var(--volt); color: var(--night); }

/* ---------- 中文排版基线 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--paper);
}

h1 { font-size: clamp(38px, 6vw, 76px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: clamp(17px, 1.6vw, 21px); letter-spacing: 0.01em; }

strong { font-weight: 700; color: #fff; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

#main-content {
  display: block;
  min-height: 62vh;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.sr-only {
  position: absolute;
  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: 400;
  padding: 10px 18px;
  background: var(--volt);
  color: var(--night);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 2px solid var(--night);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--night); }

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(8, 26, 47, 0.94) 0%, rgba(8, 26, 47, 0.6) 58%, rgba(8, 26, 47, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header[data-scrolled="true"] {
  background: var(--night);
  border-bottom-color: var(--line);
  box-shadow: 0 22px 46px -34px #000, 0 1px 0 rgba(183, 255, 42, 0.35);
}

.read-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: rgba(169, 183, 198, 0.18);
  pointer-events: none;
}

.read-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--volt) 0%, var(--amber) 100%);
}

.header-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--paper); }

.brand-mark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 40px;
  padding-left: 2px;
  border-left: 2px solid var(--volt);
  flex: none;
}
.brand-mark i {
  display: block;
  height: 4px;
  background: var(--mist);
}
.brand-mark i:nth-child(1) { width: 60%; background: var(--volt); margin-left: auto; }
.brand-mark i:nth-child(2) { width: 78%; background: var(--mist); margin-left: auto; }
.brand-mark i:nth-child(3) { width: 100%; background: var(--stand); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-line {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mist);
  text-transform: uppercase;
  margin-top: 4px;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1vw, 16px);
}

.nav-link {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 7px 9px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--volt);
  border-bottom-color: var(--volt);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--mist);
  transition: color 0.18s ease;
}
.nav-link:hover .nav-index,
.nav-link:focus-visible .nav-index { color: var(--volt); }

.nav-link[aria-current="page"] {
  color: var(--volt);
  border-bottom-color: var(--volt);
}
.nav-link[aria-current="page"] .nav-index { color: var(--volt); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding-left: clamp(6px, 1vw, 16px);
  border-left: 1px solid var(--line);
}
.nav-actions .btn {
  padding: 9px 14px;
  font-size: 13px;
}

/* 移动按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-toggle:hover { border-color: var(--volt); color: var(--volt); }

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-volt {
  background: var(--volt);
  color: var(--night);
  border-color: var(--volt);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}
.btn-volt:hover,
.btn-volt:focus-visible {
  color: var(--night);
  background: #c9ff5c;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-strong);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--volt);
  border-color: var(--volt);
  background: rgba(183, 255, 42, 0.06);
}

.btn-paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--paper-shadow);
}
.btn-paper:hover,
.btn-paper:focus-visible {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--paper-shadow);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  background: var(--night-deep);
  border-top: 3px solid var(--volt);
  color: var(--paper);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  background:
    repeating-linear-gradient(90deg, rgba(169, 183, 198, 0.07) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, rgba(18, 52, 90, 0.65), transparent);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) 26px;
}

.footer-top {
  padding-bottom: clamp(22px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.footer-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 11vw, 132px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-shadow: 7px 7px 0 var(--stand);
}

.footer-tagline {
  margin: 12px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(15px, 1.8vw, 20px);
  color: var(--mist);
  letter-spacing: 0.04em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(26px, 3.5vw, 44px) 0 clamp(22px, 3vw, 36px);
}

.footer-col { min-width: 0; }

.footer-col-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col-title::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--amber);
  flex: none;
}

.footer-about {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(242, 231, 207, 0.82);
  max-width: 34ch;
}

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

.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.footer-link:hover,
a.footer-link:focus-visible {
  color: var(--volt);
  border-bottom-color: var(--volt);
}
.footer-links-plain .footer-link {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

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

.contact-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
  padding-top: 3px;
}

.contact-val { min-width: 0; }

.contact-mail {
  display: block;
  font-size: 14px;
  color: var(--paper);
  word-break: break-all;
}

.copy-btn {
  margin-top: 6px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.copy-btn:hover,
.copy-btn:focus-visible {
  background: rgba(183, 255, 42, 0.1);
  border-color: var(--volt);
}

.copy-note {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--mist);
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-legal,
.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.page-shell {
  padding-top: calc(var(--header-h) + clamp(26px, 4vw, 58px));
}

.reading {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(242, 231, 207, 0.9);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 30px);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-side { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: clamp(22px, 3vw, 40px) 0;
}

.lede {
  font-family: var(--font-editorial);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
  color: var(--paper);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--volt);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 8px;
  background: var(--volt);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.section-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(183, 255, 42, 0.6);
  letter-spacing: -0.02em;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(16px, 2vw, 28px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.crumb {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.crumb:hover,
.crumb:focus-visible {
  color: var(--volt);
  border-bottom-color: var(--volt);
}
.crumb[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--amber);
}

.crumb-sep {
  color: rgba(169, 183, 198, 0.55);
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--stand);
  border: 1px solid var(--line);
  color: var(--paper);
}
.card > :last-child { margin-bottom: 0; }

.card-paper {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--paper-shadow);
}
.card-paper h2,
.card-paper h3,
.card-paper h4 { color: var(--ink); }
.card-paper a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.card-paper a:hover,
.card-paper a:focus-visible { color: var(--card-red); }

.card-stand {
  background: var(--stand);
  border: 1px solid var(--line-strong);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
}

/* ---------- 数据块 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(5, 15, 29, 0.55);
  border-left: 3px solid var(--volt);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--volt);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--mist);
  white-space: nowrap;
}

.tag-volt { color: var(--night); background: var(--volt); border-color: var(--volt); }
.tag-amber { color: var(--night); background: var(--amber); border-color: var(--amber); }
.tag-red { color: #fff; background: var(--card-red); border-color: var(--card-red); }
.tag-teal { color: var(--paper); background: var(--teal); border-color: var(--teal); }

/* ---------- 图片容器（页面阶段放置图片） ---------- */
.figure {
  margin: 0;
  background: var(--stand);
  border: 1px solid var(--line-strong);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
}

.figure-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--stand) 0%, var(--teal) 100%);
}
.figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(242, 231, 207, 0.16) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(242, 231, 207, 0.16) 50%, transparent calc(50% + 1px));
  pointer-events: none;
}

.figure-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.figure-caption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--mist);
  border-top: 1px solid var(--line);
  background: rgba(8, 26, 47, 0.75);
}

.figure-wide .figure-frame { aspect-ratio: 21 / 9; }
.figure-tall .figure-frame { aspect-ratio: 3 / 4; }

/* ---------- 显现 ---------- */
body[data-reveal-ready] .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.42s ease-out, transform 0.42s ease-out;
}
body[data-reveal-ready] .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-actions .btn-ghost { display: none; }
}

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

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 18px;
    justify-content: stretch;
    padding: 20px var(--gutter) 30px;
    background: var(--night);
    border-bottom: 3px solid var(--volt);
    box-shadow: 0 34px 60px -30px #000;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .site-nav[data-open="true"] {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 16px;
    background: var(--stand);
    border: 1px solid var(--line);
  }
  .nav-link[aria-current="page"] {
    border-color: var(--volt);
    background: rgba(183, 255, 42, 0.08);
  }

  .nav-actions {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .nav-actions .btn { flex: 1 1 140px; padding: 12px 16px; font-size: 14px; }
  .nav-actions .btn-ghost { display: inline-flex; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col-wide { grid-column: 1 / -1; }
  .footer-about { max-width: none; }

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

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

  .brand-line { font-size: 18px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.12em; }
  .brand-mark { width: 26px; height: 34px; }

  .nav-toggle-label { display: none; }

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

  .site-footer { border-top-width: 2px; }
  .footer-brand { text-shadow: 5px 5px 0 var(--stand); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-col-title { margin-bottom: 12px; }

  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .contact-key { padding-top: 0; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

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

  .card-paper { box-shadow: 5px 5px 0 var(--paper-shadow); }
  .figure { box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .btn:hover,
  .btn:focus-visible { transform: none; }
}
