/* ============================================================
   百家家乐 · 共享样式表 /assets/site.css
   框架式导航 + 左右分屏 + 连续画布 + 复古出版色体系
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 108px;
}

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

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

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

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

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

input, textarea, select { font: inherit; color: inherit; }

table { border-collapse: collapse; width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- 2. 设计令牌 ---------- */
:root {
  /* 色彩 */
  --paper:        #F5EDDF;
  --paper-2:      #E8DDC8;
  --ink:          #14110D;
  --ink-soft:     #3B2E22;
  --gold:         #C08A2E;
  --gold-hi:      #E6C97A;
  --cinnabar:     #B5382C;
  --celadon:      #3D6B5B;
  --indigo:       #1E3A38;
  --mist:         #6E6459;

  --line:         rgba(20, 17, 13, 0.14);
  --line-2:       rgba(20, 17, 13, 0.32);
  --line-paper:   rgba(245, 237, 223, 0.22);

  /* 字体 */
  --font-heading: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-body:    "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-index:   "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  /* 形状 */
  --radius-lg:   28px;
  --radius-md:   18px;
  --radius-sm:   12px;
  --radius-pill: 999px;

  /* 度量 */
  --shell-max:   1400px;
  --shell-pad:   clamp(16px, 4vw, 56px);
  --rail-w:      236px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 中文排版与基础 ---------- */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

strong { font-weight: 700; }

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

/* 焦点环：亮金高光 */
:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) { outline: none; }

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

.skip-link {
  position: absolute;
  top: 0;
  left: var(--shell-pad);
  z-index: 300;
  transform: translateY(-140%);
  padding: 10px 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-index);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform 0.2s var(--ease);
}

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

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

.shell--narrow { max-width: 920px; }

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

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}

.section__title {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--ink);
}

.section__lede {
  max-width: 36em;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

/* 等宽索引标签 */
.index-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-index);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.index-tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* 放大年份作为节奏锚点 */
.year-mark {
  display: block;
  font-family: var(--font-index);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.rule {
  width: 100%;
  height: 1px;
  border: 0;
  background: var(--line);
}

/* ---------- 6. 分屏网格 ---------- */
.split {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--narrow { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.66em 1.4em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-index);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease),
              color 0.18s var(--ease),
              border-color 0.18s var(--ease),
              transform 0.18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #191309;
  font-weight: 500;
}

.btn--gold:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--indigo);
  border-color: var(--indigo);
}

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

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--sm { padding: 0.5em 1.05em; font-size: 0.75rem; }

/* ---------- 8. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.28em 0.85em;
  border-radius: var(--radius-pill);
  font-family: var(--font-index);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: var(--paper-2);
  color: var(--ink-soft);
}

.tag--gold { background: rgba(192, 138, 46, 0.16); color: #7A5210; }
.tag--cinnabar { background: rgba(181, 56, 44, 0.13); color: var(--cinnabar); }
.tag--celadon { background: rgba(61, 107, 91, 0.14); color: var(--celadon); }

/* ---------- 9. 连续画布面板 ---------- */
.panel {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
}

.panel--flush { background: transparent; padding: 0; }

/* ---------- 10. 图像容器（供页面阶段放置图片） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(245, 237, 223, 0.5);
}

.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x5 { aspect-ratio: 4 / 5; }

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media__caption {
  margin-top: 10px;
  font-family: var(--font-index);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

/* ---------- 11. 数据锚点 ---------- */
.stats {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat__num {
  font-family: var(--font-index);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-index);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---------- 12. 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-index);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

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

.crumbs__item + .crumbs__item::before {
  content: "/";
  color: var(--line-2);
}

.crumbs__link { color: var(--mist); transition: color 0.18s var(--ease); }
.crumbs__link:hover { color: var(--gold); }

/* ---------- 13. 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
}

.table {
  min-width: 560px;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-index);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.table tbody tr:last-child th,
.table tbody tr:last-child td { border-bottom: 0; }

.table tbody tr:nth-child(even) { background: rgba(232, 221, 200, 0.35); }

/* ---------- 14. 分段切换 / 标签页 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.tab {
  padding: 0.5em 1.15em;
  border-radius: var(--radius-pill);
  font-family: var(--font-index);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.tab:hover { color: var(--ink); }

.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.tabpanels { margin-top: clamp(20px, 3vw, 32px); }

.tabpanel[hidden] { display: none; }

.tabpanel:focus-visible { outline-offset: 6px; }

/* ---------- 15. 页头 · L 形框架 ---------- */
.site-header {
  position: relative;
  z-index: 80;
  background: var(--paper);
  border-bottom: 1px solid var(--line-2);
}

.site-header__frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

/* --- 品牌字标（移动端为顶行） --- */
.brand-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding-block: 14px 12px;
  border-bottom: 1px solid var(--line);
}

.brand-block__mark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-block__cn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.brand-block__en {
  font-family: var(--font-index);
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  color: var(--mist);
}

.brand-block__meta {
  font-family: var(--font-index);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.brand-block__meta--years {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* --- 顶部横条 --- */
.frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}

.frame-bar__cities {
  display: none;
  align-items: center;
  gap: 10px;
}

.frame-bar__label {
  font-family: var(--font-index);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.city-chip {
  padding: 0.18em 0.75em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-family: var(--font-index);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.frame-bar__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.frame-bar__num {
  font-family: var(--font-index);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.frame-bar__cta { display: none; }

/* --- 移动导航按钮 --- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-family: var(--font-index);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

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

.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: 1.5px;
  background: currentColor;
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 4px;
  transform: rotate(-45deg);
}

/* --- 导航条（移动端为左侧抽屉） --- */
.frame-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(320px, 86vw);
  padding: 30px 26px 40px;
  overflow-y: auto;
  background: var(--indigo);
  color: var(--paper);
  transform: translateX(-102%);
  transition: transform 0.3s var(--ease);
  box-shadow: 24px 0 48px rgba(20, 17, 13, 0.28);
}

.frame-nav[data-open="true"] { transform: translateX(0); }

.frame-nav__list {
  display: flex;
  flex-direction: column;
}

.frame-nav__item { border-bottom: 1px solid var(--line-paper); }

.frame-nav__link {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  color: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: color 0.18s var(--ease),
              padding-left 0.18s var(--ease),
              background-color 0.18s var(--ease);
}

.frame-nav__link:hover {
  color: var(--gold-hi);
  padding-left: 12px;
}

.frame-nav__link[aria-current="page"] {
  color: var(--gold-hi);
  background: rgba(230, 201, 122, 0.12);
  padding-left: 12px;
}

.frame-nav__note {
  font-family: var(--font-index);
  font-size: 0.75rem;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(245, 237, 223, 0.62);
}

.frame-nav__cta { align-self: flex-start; }

/* ---------- 16. 页脚 ---------- */
.site-footer {
  background: var(--indigo);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}

.site-footer__frame {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 74px) var(--shell-pad) 26px;
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.16em;
  color: var(--paper);
}

.site-footer__closing {
  margin-top: 10px;
  max-width: 22em;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(245, 237, 223, 0.9);
}

.site-footer__hours {
  margin-top: 16px;
  max-width: 30em;
  font-family: var(--font-index);
  font-size: 0.75rem;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: rgba(245, 237, 223, 0.58);
}

.footer-cols {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  grid-template-columns: minmax(0, 1fr);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col__title {
  font-family: var(--font-index);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold-hi);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-paper);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.9375rem;
  color: rgba(245, 237, 223, 0.82);
}

.footer-col__list--plain { line-height: 1.7; }

.footer-col__link {
  color: rgba(245, 237, 223, 0.82);
  transition: color 0.18s var(--ease);
}

.footer-col__link:hover { color: var(--gold-hi); }

.footer-col__num {
  font-family: var(--font-index);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-paper);
  font-family: var(--font-index);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(245, 237, 223, 0.6);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.site-footer__legal a {
  color: rgba(245, 237, 223, 0.86);
  transition: color 0.18s var(--ease);
}

.site-footer__legal a:hover { color: var(--gold-hi); }

.site-footer__sep { color: rgba(245, 237, 223, 0.3); }

.site-footer__copy { font-variant-numeric: tabular-nums; }

/* ---------- 17. 动效协议 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

[data-progress] {
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-index);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- 18. 断点：平板与桌面 ---------- */
@media (min-width: 640px) {
  .frame-bar__cities { display: inline-flex; }
  .frame-bar__cta { display: inline-flex; }
  .frame-bar { justify-content: flex-end; gap: clamp(16px, 3vw, 34px); }
  .frame-bar__cities { margin-right: auto; }
}

@media (min-width: 1000px) {
  html { scroll-padding-top: 124px; }

  .site-header { position: sticky; top: 0; }

  .site-header__frame {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  /* 左侧竖向边框 —— L 形的竖笔 */
  .brand-block {
    grid-column: 1;
    grid-row: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 26px 18px 0;
    border-bottom: 0;
    border-right: 1px solid var(--line-2);
  }

  .brand-block__cn { font-size: 1.5rem; }

  /* 顶部横条 —— L 形的横笔 */
  .frame-bar {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    min-height: 48px;
    padding: 0 0 0 26px;
    border-bottom: 1px solid var(--line);
  }

  .frame-bar__cities { margin-right: auto; }
  .frame-bar__cta { display: inline-flex; }

  /* 导航条 */
  .frame-nav {
    position: static;
    grid-column: 2;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 12px 0 12px 26px;
    overflow: visible;
    background: transparent;
    color: var(--ink);
    transform: none;
    transition: none;
    box-shadow: none;
    min-height: 50px;
  }

  .frame-nav__list {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(14px, 2.2vw, 32px);
  }

  .frame-nav__item { border-bottom: 0; }

  .frame-nav__link {
    position: relative;
    padding: 6px 2px;
    font-family: var(--font-index);
    font-weight: 400;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    border-radius: 0;
    background: none;
  }

  .frame-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--gold);
    transition: right 0.24s var(--ease);
  }

  .frame-nav__link:hover {
    color: var(--ink);
    padding-left: 2px;
  }

  .frame-nav__link:hover::after { right: 0; }

  .frame-nav__link[aria-current="page"] {
    color: var(--ink);
    background: none;
    padding-left: 2px;
  }

  .frame-nav__link[aria-current="page"]::after { right: 0; }

  .frame-nav__note,
  .frame-nav__cta { display: none; }

  .nav-toggle { display: none; }
}

@media (min-width: 1120px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 880px) {
  .site-footer__frame {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.65fr);
    align-items: start;
  }

  .site-footer__base { grid-column: 1 / -1; }
}

@media (min-width: 640px) and (max-width: 879px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 19. Reduced motion ---------- */
@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;
  }

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

  [data-progress] { display: none; }

  .btn:hover,
  .to-top { transform: none; }
}
