/* ============================================================
   澳门新萄京中心 · Site Kit
   /assets/site.css
   夜港索引灯塔：墨绿档案底 / 暖金编号 / 电光青通道 / 朱砂提醒
   ============================================================ */

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

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

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

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

a { color: inherit; }

button { font: inherit; color: inherit; }

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

dt, dd { margin: 0; }

/* ---------- 2. Variables ---------- */
:root {
  --ink-950: #071A16;
  --ink-900: #0E2B24;
  --ink-850: #123A31;
  --gold: #E8C46A;
  --gold-soft: #F2E4C2;
  --cyan: #2FD6C4;
  --cinnabar: #C9452F;
  --paper: #F4F1E8;
  --black: #1B1F1E;
  --muted: #6E7F79;

  --line: rgba(169, 184, 178, 0.4);
  --line-soft: rgba(169, 184, 178, 0.2);

  --rail-w: 100px;
  --topbar-h: 62px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --dur: 180ms;
  --dur-slow: 220ms;
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(760px 520px at 92% -6%, rgba(232, 196, 106, 0.11), transparent 62%),
    radial-gradient(680px 460px at -8% 26%, rgba(47, 214, 196, 0.1), transparent 60%),
    linear-gradient(180deg, #081E19 0%, #071A16 44%, #05130F 100%);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(232, 196, 106, 0.35); color: var(--paper); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
  text-wrap: balance;
}

h1 { font-size: clamp(34px, 6vw, 72px); }
h2 { font-size: clamp(26px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: clamp(17px, 1.6vw, 20px); }

p { text-wrap: pretty; }

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

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 4. Utilities & base components ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(44px, 6.5vw, 92px); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.muted { color: var(--muted); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  color: #243029;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.label--line {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(232, 196, 106, 0.42);
}

.dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(47, 214, 196, 0.16);
}

.dot--red {
  background: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(201, 69, 47, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-2px); border-color: rgba(232, 196, 106, 0.7); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #10231D;
}
.btn--gold:hover { background: #F0D184; border-color: #F0D184; }

.btn--cyan {
  border-color: rgba(47, 214, 196, 0.5);
  color: var(--cyan);
}
.btn--cyan:hover { border-color: var(--cyan); background: rgba(47, 214, 196, 0.1); }

.card {
  position: relative;
  display: block;
  padding: clamp(16px, 2.2vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, rgba(18, 58, 49, 0.62), rgba(14, 43, 36, 0.92) 62%, rgba(7, 26, 22, 0.94));
  color: var(--paper);
  text-decoration: none;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.card:hover,
.card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(232, 196, 106, 0.7);
}

.figure { margin: 0; }

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, #123A31, #071A16 72%);
  aspect-ratio: 16 / 9;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

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

.frame--grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(169, 184, 178, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 184, 178, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}

.frame__cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--muted);
}

.breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 8px;
  color: rgba(169, 184, 178, 0.5);
}
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.prose {
  max-width: 68ch;
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.8;
}
.prose p + p { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.7em; margin-bottom: 0.6em; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.surface--paper {
  background: var(--paper);
  color: var(--black);
  border-radius: clamp(20px, 3vw, 40px);
  padding: clamp(22px, 3.4vw, 48px);
}
.surface--paper .prose { color: #1B1F1E; }
.surface--paper .muted { color: #58665F; }
.surface--paper .label--line { color: #7A5B14; border-color: rgba(122, 91, 20, 0.35); }

.slant-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 58, 49, 0.8), rgba(7, 26, 22, 0.9));
}
.slant-panel::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 64%;
  height: 140%;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(232, 196, 106, 0.18), rgba(47, 214, 196, 0.05));
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

.grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 5. Header · 侧边轨道 + 状态条 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
}

.skip-link {
  position: absolute;
  top: -72px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 14px 14px;
  background: var(--gold);
  color: #10231D;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }

.rail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(14, 43, 36, 0.98), rgba(9, 32, 26, 0.98));
  border-bottom: 1px solid var(--line);
}

.rail__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.rail__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(232, 196, 106, 0.55);
  background: rgba(232, 196, 106, 0.12);
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.rail__wordmark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(18, 58, 49, 0.7);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: rgba(232, 196, 106, 0.7); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: inherit;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: var(--gold); }

.rail__nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: min(320px, 86vw);
  height: 100dvh;
  padding-top: 18px;
  background: linear-gradient(180deg, #0E2B24, #081E19);
  border-right: 1px solid var(--line);
  box-shadow: 40px 0 80px -40px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease), visibility var(--dur-slow) linear;
}
.rail__nav[data-open] {
  transform: translateX(0);
  visibility: visible;
}

.rail__nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.rail__nav-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.nav-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-close:hover { border-color: var(--cinnabar); color: var(--cinnabar); }

.rail__list {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}

.rail__link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 18px;
  color: rgba(244, 241, 232, 0.78);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.rail__link:hover {
  background: var(--ink-850);
  color: var(--paper);
  border-left-color: rgba(232, 196, 106, 0.75);
}
.rail__link[aria-current="page"] {
  background: rgba(232, 196, 106, 0.1);
  color: var(--gold);
  border-left-color: var(--gold);
}

.rail__no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.rail__link[aria-current="page"] .rail__no { color: var(--gold); }

.rail__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.rail__foot {
  margin-top: auto;
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
}

.rail__home {
  display: flex;
  justify-content: center;
  padding: 11px 14px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: #10231D;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rail__scrim {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(5, 19, 15, 0.74);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease), visibility var(--dur-slow) linear;
}
.rail__scrim[data-open] { opacity: 1; visibility: visible; }

.topbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 14px;
  background: rgba(7, 26, 22, 0.94);
  border-bottom: 1px solid var(--line);
}

.topbar__id {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.topbar__name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.topbar__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}

.statusbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 232, 0.72);
}

.statusbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.statusbar__item--v4 { color: #F0A08F; }

.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--gold) 66%, var(--cinnabar));
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 1023px) {
  html.is-nav-locked,
  html.is-nav-locked body { overflow: hidden; }
}

@media (max-width: 380px) {
  .topbar__sub { display: none; }
  .statusbar__item:first-child { display: none; }
}

/* ---------- 6. Header · 桌面侧轨 ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .site-header { position: static; }

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 80;
    width: var(--rail-w);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 0 0;
    background: linear-gradient(180deg, #0E2B24 0%, #081E19 70%, #071A16 100%);
    border-bottom: 0;
    border-right: 1px solid var(--line);
    overflow-y: auto;
  }

  .rail__brand {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-inline: 8px;
  }

  .rail__mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 18px;
  }

  .rail__wordmark {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.1;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .nav-toggle { display: none; }

  .rail__nav {
    position: static;
    flex: 1 1 auto;
    width: auto;
    height: auto;
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .rail__nav-head { display: none; }
  .rail__foot { display: none; }
  .rail__list { padding-top: 0; }

  .rail__link {
    align-items: center;
    gap: 2px;
    padding: 10px 8px;
    text-align: center;
  }

  .rail__label {
    font-size: 12px;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }

  .rail__no { font-size: 9.5px; }

  .rail__scrim { display: none; }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--topbar-h);
    flex-wrap: nowrap;
    padding: 0 var(--pad);
    background: rgba(7, 26, 22, 0.92);
  }
}

/* ---------- 7. Footer ---------- */
.site-footer {
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 43, 36, 0.96), rgba(5, 19, 15, 0.98));
}

.footer__grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) var(--pad) clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.4vw, 44px);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.35fr 0.85fr 1fr; }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.footer__title {
  max-width: 15ch;
  color: var(--paper);
  font-size: clamp(22px, 2.6vw, 30px);
}

.footer__lanes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lane {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(18, 58, 49, 0.4);
  color: var(--paper);
  text-decoration: none;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.lane:hover,
.lane:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(232, 196, 106, 0.7);
  background: rgba(18, 58, 49, 0.85);
}

.lane__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.lane__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lane__arrow {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--cyan);
}

.footer__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__link {
  display: inline-flex;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: rgba(244, 241, 232, 0.78);
  font-size: 13.5px;
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__link:hover {
  color: var(--gold);
  border-bottom-color: rgba(232, 196, 106, 0.6);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.contact-row__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.contact-row__v {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--paper);
  word-break: break-word;
}

.footer__note {
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 241, 232, 0.6);
}

.footer__cta { align-self: flex-start; margin-top: 2px; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 16px var(--pad) calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 232, 0.62);
}

.footer__meta { margin: 0; }

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--gold);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(18, 58, 49, 0.8);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.to-top[hidden] { display: none; }
.to-top:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 8. Motion preferences ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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