/* ===== 百家家乐主页 · 共享样式 /assets/site.css ===== */

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

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

ul, ol { list-style: none; }

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

:root {
  --paper: #F4EBDD;
  --panel: #FCF8F0;
  --ink: #1F1F1B;
  --red: #9E1B32;
  --orange: #D94F2B;
  --gold: #C9971C;
  --lake: #165E73;
  --sage: #5F705F;
  --navy: #102A43;
  --muted: #5E5A52;
  --edge: #EAD7A6;
  --cream: #FFF8EE;

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, "Courier New", monospace;

  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 52px);
  --shadow-panel: 0 12px 34px rgba(31, 31, 27, 0.08);
  --hair: rgba(31, 31, 27, 0.14);
}

body {
  background-color: var(--paper);
  background-image: linear-gradient(90deg, rgba(31, 31, 27, 0.028) 1px, transparent 1px);
  background-size: 108px 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

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

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

#main-content {
  display: block;
  scroll-margin-top: 96px;
}

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

.section {
  position: relative;
  padding-block: clamp(26px, 4vw, 60px);
}

.section--tight { padding-block: clamp(16px, 2.4vw, 32px); }

.section--band {
  background: rgba(201, 151, 28, 0.1);
  border-block: 1px solid rgba(201, 151, 28, 0.28);
}

.section--panel {
  background: var(--panel);
  border-block: 1px solid var(--hair);
}

.section--navy {
  background: var(--navy);
  color: #EFE8DA;
}

.section--navy .section-title { color: var(--panel); }
.section--navy .kicker { color: var(--edge); }
.section--navy a { color: var(--edge); }

/* ---------- 排版 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: none;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  flex: 0 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.24;
  letter-spacing: 0.02em;
}

.lede {
  max-width: 56ch;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.78;
}

.prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.85;
}

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

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.015em;
}

.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.8em; }
.prose h3 { font-size: clamp(20px, 1.9vw, 24px); margin-top: 1.5em; }

.prose a {
  color: var(--lake);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 94, 115, 0.42);
}

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

.prose ul { list-style: none; }

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

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

.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.82em;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.note {
  max-width: 46ch;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.mono-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: inherit;
}

.mono-tag--gold { color: var(--gold); border-color: rgba(201, 151, 28, 0.6); }
.mono-tag--paper { color: rgba(244, 235, 221, 0.92); border-color: rgba(234, 215, 166, 0.45); }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border: 1px solid rgba(201, 151, 28, 0.55);
  background: rgba(201, 151, 28, 0.13);
  color: var(--ink);
  border-radius: 2px;
}

.tag--lake {
  border-color: rgba(22, 94, 115, 0.42);
  background: rgba(22, 94, 115, 0.11);
  color: var(--lake);
}

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

.scale-rule {
  height: 8px;
  background-image: repeating-linear-gradient(90deg, rgba(31, 31, 27, 0.34) 0 1px, transparent 1px 14px);
}

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

.btn:hover { background: rgba(31, 31, 27, 0.08); }

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

.btn--solid {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.btn--solid:hover {
  background: #B02339;
  border-color: #B02339;
  color: #FFFFFF;
}

.btn--ghost {
  border-color: rgba(31, 31, 27, 0.32);
  color: var(--ink);
  background: rgba(252, 248, 240, 0.6);
}

.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(158, 27, 50, 0.06);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--lake);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover { border-bottom-color: var(--lake); }

.breadcrumb__sep { color: var(--gold); }

/* ---------- 栅格 ---------- */
.grid--12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 32px);
}

.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; }

/* ---------- 画板与框景 ---------- */
.board {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(31, 31, 27, 0.12);
  box-shadow: var(--shadow-panel);
  padding: clamp(20px, 3vw, 40px);
}

.board--red { border-top: 3px solid var(--red); }
.board--lake { border-top: 3px solid var(--lake); }
.board--gold { border-top: 3px solid var(--gold); }
.board--sage { border-top: 3px solid var(--sage); }

.page-frame {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(31, 31, 27, 0.18);
  box-shadow: var(--shadow-panel);
  padding: clamp(20px, 3vw, 44px);
}

.page-frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--edge) 0 1px, transparent 1px 14px);
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- 图片容器基础 ---------- */
.figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage), var(--lake));
  border: 1px solid rgba(31, 31, 27, 0.16);
}

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

.figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(16, 42, 67, 0), rgba(16, 42, 67, 0.6));
  pointer-events: none;
}

.figure--wide { aspect-ratio: 21 / 9; }
.figure--band { aspect-ratio: 16 / 6; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--tall { aspect-ratio: 3 / 4; }

.figure__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(158, 27, 50, 0.3), rgba(22, 94, 115, 0.18));
  pointer-events: none;
  z-index: 1;
}

.figure__num {
  position: absolute;
  top: -0.08em;
  right: 10px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: clamp(52px, 8vw, 128px);
  line-height: 1;
  color: rgba(252, 248, 240, 0.34);
  pointer-events: none;
}

.figure__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--panel);
}

/* ---------- 标签页 ---------- */
.tabs { display: block; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  border-bottom: 1px solid var(--hair);
}

.tabs__tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.tabs__tab:hover {
  color: var(--ink);
  background: rgba(201, 151, 28, 0.14);
}

.tabs__tab[aria-selected="true"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--red);
}

.tabs__panel { padding-top: 18px; }

.tabs__panel[hidden] { display: none; }

.tabs__panel--in { animation: tabsIn 0.22s ease both; }

@keyframes tabsIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 折叠问答 ---------- */
.disclosure { border-top: 1px solid var(--hair); }

.disclosure__button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 4px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}

.disclosure__button:hover { color: var(--red); }

.disclosure__icon {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold);
  transition: transform 0.18s ease;
}

.disclosure__button[aria-expanded="true"] .disclosure__icon { transform: rotate(45deg); }

.disclosure__panel {
  padding: 0 4px 18px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.disclosure__panel[hidden] { display: none; }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.16s ease;
}

.skip-link:focus { top: 12px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--panel);
  border-bottom: 1px solid rgba(31, 31, 27, 0.16);
  box-shadow: 0 8px 24px rgba(31, 31, 27, 0.07);
}

.header-utility {
  background: var(--ink);
  color: var(--paper);
}

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

.header-utility__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.header-utility__note {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244, 235, 221, 0.78);
}

.header-utility__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.header-utility__hours {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(244, 235, 221, 0.7);
}

.header-main { background: var(--panel); }

.header-main__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  min-height: 66px;
  padding-block: 10px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  padding-left: 12px;
  border-left: 3px solid var(--red);
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.14em;
}

.brand__note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid rgba(31, 31, 27, 0.24);
  border-radius: 2px;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

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

.nav-toggle__bars span:nth-child(2) { width: 12px; }

.nav-toggle[aria-expanded="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(5.5px) 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(-5.5px) rotate(-45deg);
}

.primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 10px var(--gutter) 22px;
  background: var(--panel);
  border-top: 1px solid var(--edge);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 22px 44px rgba(31, 31, 27, 0.2);
}

.site-header[data-open="true"] .primary-nav { display: block; }

.primary-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 12px;
  border: 1px solid rgba(31, 31, 27, 0.1);
  border-radius: 2px;
  background: rgba(252, 248, 240, 0.62);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-link__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sage);
}

.nav-link__label { letter-spacing: 0.02em; }

.nav-link:hover {
  background: rgba(201, 151, 28, 0.16);
  border-color: var(--edge);
}

.nav-link[aria-current="page"] {
  font-weight: 600;
  box-shadow: inset 0 -2px 0 0 var(--red);
}

.nav-link[aria-current="page"] .nav-link__num { color: var(--red); }

.nav-link--lead {
  background: linear-gradient(125deg, var(--red), var(--orange));
  border-color: transparent;
  color: var(--cream);
  font-weight: 600;
}

.nav-link--lead .nav-link__num { color: rgba(255, 248, 238, 0.85); }

.nav-link--lead:hover {
  background: linear-gradient(125deg, #B02339, #E45F38);
  color: #FFFFFF;
}

.nav-link--lead[aria-current="page"] {
  box-shadow: inset 0 0 0 2px rgba(255, 248, 238, 0.7);
}

.nav-link--lead[aria-current="page"] .nav-link__num { color: #FFE9C4; }

.header-cta {
  display: none;
  flex: 0 0 auto;
}

.site-header__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--red), var(--orange) 55%, var(--gold));
  transition: transform 0.12s linear;
  pointer-events: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: clamp(44px, 7vw, 96px);
  background: var(--navy);
  color: #E9E3D6;
}

.footer-island {
  padding-block: clamp(30px, 5vw, 62px) 22px;
  background-image:
    radial-gradient(120% 100% at 0% 0%, rgba(22, 94, 115, 0.55), transparent 62%),
    radial-gradient(90% 80% at 100% 0%, rgba(158, 27, 50, 0.28), transparent 60%);
}

.footer-axis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(14px, 3vw, 44px);
  padding-bottom: 20px;
  margin-bottom: clamp(22px, 3.6vw, 42px);
  border-bottom: 1px solid rgba(234, 215, 166, 0.24);
}

.footer-axis__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(201, 151, 28, 0.85);
}

.footer-top {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
}

.footer-brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--panel);
}

.footer-brand__note {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(233, 227, 214, 0.82);
}

.footer-brand__version {
  display: inline-block;
  margin-top: 14px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px clamp(16px, 2.4vw, 32px);
}

.footer-col__title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.footer-list__item + .footer-list__item { margin-top: 9px; }

.footer-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: #E9E3D6;
  font-size: 14.5px;
  line-height: 1.7;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  border-bottom-color: var(--gold);
}

.footer-contact__list dt {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(233, 227, 214, 0.62);
}

.footer-contact__list dt:first-of-type { margin-top: 0; }

.footer-contact__list dd {
  font-size: 14.5px;
  line-height: 1.65;
  color: #F2EDE4;
  word-break: break-word;
}

.footer-note {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 78ch;
  padding-left: 12px;
  border-left: 2px solid rgba(201, 151, 28, 0.55);
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(233, 227, 214, 0.68);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: clamp(24px, 4vw, 40px);
  padding-top: 18px;
  border-top: 1px solid rgba(234, 215, 166, 0.24);
}

.footer-bottom__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(233, 227, 214, 0.7);
}

.site-footer :focus-visible { outline-color: var(--gold); }

/* ---------- 响应式 ---------- */
@media (max-width: 767px) {
  .header-utility__hours { display: none; }
  .header-utility__note { font-size: 11.5px; }
  .header-main__inner { min-height: 60px; }
  .brand__mark { font-size: 20px; letter-spacing: 0.1em; }
  .brand__note { font-size: 9.5px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9 { grid-column: span 12; }
  .figure--wide { aspect-ratio: 4 / 3; }
  .figure--band { aspect-ratio: 3 / 2; }
  .footer-axis { gap: 8px 14px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .span-3, .span-4 { grid-column: span 6; }
  .span-5, .span-6, .span-7 { grid-column: span 12; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .header-main__inner { min-height: 74px; }

  .primary-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .primary-nav__list {
    flex-direction: row;
    align-items: stretch;
    gap: 3px;
  }

  .nav-link {
    padding: 9px 11px;
    font-size: 14.5px;
    border-color: transparent;
    background: transparent;
  }

  .nav-link--lead { background: linear-gradient(125deg, var(--red), var(--orange)); }

  .header-cta { display: inline-flex; }

  .footer-top {
    grid-template-columns: minmax(240px, 1.05fr) minmax(0, 1.65fr) minmax(240px, 0.95fr);
    align-items: start;
  }
}

@media (min-width: 1700px) {
  :root { --shell: 1560px; }
}

@media (min-width: 2400px) {
  :root { --shell: 1760px; }
}

@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;
  }

  .site-header__progress { transition: none; }
}
