/* ============================================================
   DB真人对接 · 共享外壳样式表 /assets/site.css
   深靛蓝夜间控制台体系
   ============================================================ */

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

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

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

ul, ol { list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

a { color: inherit; }

/* ---------- tokens ---------- */
:root {
  --ink: #0B1224;
  --ink-2: #141C33;
  --ink-3: #1A2340;
  --cyan: #35E0E0;
  --cyan-dim: #1C7C86;
  --orange: #FF7A3D;
  --orange-soft: #FFB182;
  --stone: #7C8798;
  --moss: #6FA287;
  --clay: #C0664A;
  --cream: #F2EFE6;
  --sand: #D8D2C4;

  --line: rgba(124, 135, 152, 0.26);
  --line-soft: rgba(124, 135, 152, 0.14);
  --line-cyan: rgba(53, 224, 224, 0.42);

  --rail-w: 220px;
  --gutter: clamp(20px, 4vw, 72px);
  --maxw: 1240px;

  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 14px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 160ms;
  --t-mid: 220ms;
  --t-slow: 420ms;

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

/* ---------- base ---------- */
body {
  min-height: 100%;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.72vw + 14px, 17.5px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(124, 135, 152, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 135, 152, 0.05) 1px, transparent 1px),
    radial-gradient(880px 620px at 92% -12%, rgba(53, 224, 224, 0.10), transparent 62%),
    radial-gradient(720px 540px at -8% 106%, rgba(255, 122, 61, 0.075), transparent 60%);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

::selection {
  background: rgba(53, 224, 224, 0.28);
  color: var(--cream);
}

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

#main-content { scroll-margin-top: 24px; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 200;
  padding: 0.7em 1.15em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #04141A;
  background: var(--cyan);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top var(--t-mid) var(--ease);
}

.skip-link:focus { top: 0; }

@media (min-width: 1024px) {
  .skip-link { left: calc(var(--rail-w) + 12px); }
}

/* ---------- header shell ---------- */
.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 60;
}

.topbar { display: none; }

.rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 26px 20px 22px;
  background:
    linear-gradient(180deg, #111A31 0%, #0E1529 56%, #0B1224 100%);
  border-right: 1px solid var(--line);
}

.rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 224, 224, 0.045) 1px, transparent 1px);
  background-size: 100% 32px;
  pointer-events: none;
}

.rail-brand,
.rail-status,
.rail-nav,
.rail-actions,
.rail-meta {
  position: relative;
  z-index: 1;
}

.rail-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--cream);
}

.rail-brand__mark {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cyan);
  border-radius: 4px 11px 4px 11px;
  background: linear-gradient(135deg, rgba(53, 224, 224, 0.32), transparent 62%);
}

.rail-brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(255, 122, 61, 0.9);
}

.rail-brand__text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  line-height: 1.3;
  letter-spacing: 0.005em;
}

.rail-brand__text small {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--stone);
  letter-spacing: 0.03em;
}

.rail-brand:hover .rail-brand__mark {
  border-color: var(--orange-soft);
  transition: border-color var(--t-fast) var(--ease);
}

.rail-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.55em;
  padding: 0.34em 0.8em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  color: var(--moss);
  border: 1px solid rgba(111, 162, 135, 0.42);
  border-radius: 999px;
  background: rgba(111, 162, 135, 0.10);
}

.rail-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 3px rgba(111, 162, 135, 0.18);
}

.rail-nav { margin-top: 4px; }

.rail-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 0.62em;
  padding: 0.52em 0.7em 0.52em 0.85em;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--stone);
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition:
    color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.rail-link::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  transition: opacity var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.rail-link:hover {
  color: var(--cream);
  background: rgba(53, 224, 224, 0.07);
}

.rail-link:hover::before { opacity: 1; }

.rail-link[aria-current="page"] {
  color: var(--cyan);
  border-left-color: var(--cyan);
  background: linear-gradient(90deg, rgba(53, 224, 224, 0.15), rgba(53, 224, 224, 0));
}

.rail-link[aria-current="page"]::before {
  opacity: 1;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.rail-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.rail-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--stone);
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.rail-progress {
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: rgba(53, 224, 224, 0.08);
  overflow: hidden;
}

.rail-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--orange) 100%);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 120ms linear;
}

.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(4, 8, 18, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease);
}

.site-header[data-open="true"] .rail-scrim {
  opacity: 1;
  pointer-events: auto;
}

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

/* ---------- header: mobile drawer ---------- */
@media (max-width: 1023px) {
  body { padding-top: 62px; }

  .site-header {
    position: static;
    width: auto;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 75;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    padding: 9px 16px;
    background: rgba(11, 18, 36, 0.94);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: var(--cream);
    text-decoration: none;
  }

  .topbar__mark {
    width: 20px;
    height: 20px;
    border: 1px solid var(--cyan);
    border-radius: 3px 8px 3px 8px;
    background: linear-gradient(135deg, rgba(53, 224, 224, 0.34), transparent 62%);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.5em 0.9em;
    font-family: var(--font-mono);
    font-size: 0.73rem;
    letter-spacing: 0.09em;
    color: var(--cream);
    background: rgba(20, 28, 51, 0.9);
    border: 1px solid var(--line-cyan);
    border-radius: 999px;
    cursor: pointer;
    transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  }

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

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

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

  .nav-toggle__bars i {
    display: block;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
  }

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(85vw, 320px);
    height: 100%;
    padding: 24px 20px 26px;
    overflow-y: auto;
    z-index: 80;
    border-right: 1px solid var(--line-cyan);
    transform: translateX(-102%);
    transition: transform 260ms var(--ease);
  }

  .site-header[data-open="true"] .rail {
    transform: translateX(0);
  }

  .rail-progress { display: none; }

  .rail-actions { margin-top: 18px; }
}

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

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 120px);
  padding: clamp(36px, 5vw, 64px) var(--gutter) 26px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(20, 28, 51, 0.55), rgba(11, 18, 36, 0.96));
}

.footer-grid {
  display: grid;
  gap: clamp(24px, 3vw, 48px);
  grid-template-columns: 1.25fr 0.85fr 0.85fr 1.35fr;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.footer-brand__tagline {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--sand);
}

.footer-brand__region {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--stone);
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--stone);
  margin-bottom: 14px;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav__list a {
  font-size: 0.9rem;
  color: var(--sand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.footer-nav__list a:hover {
  color: var(--cyan);
  border-bottom-color: var(--line-cyan);
}

.footer-contact__line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--cream);
  word-break: break-word;
}

.footer-contact__line span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.footer-contact__note {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--stone);
  margin-top: 8px;
  max-width: 44ch;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  width: 100%;
  max-width: var(--maxw);
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--stone);
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(52px, 7vw, 104px);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

@media (max-width: 1100px) {
  .col-5, .col-7, .col-8, .col-9 { grid-column: span 12; }
}

@media (max-width: 900px) {
  .col-3, .col-4, .col-6 { grid-column: span 12; }
}

.divider {
  height: 1px;
  border: 0;
  background: var(--line-soft);
  margin-block: clamp(24px, 3vw, 44px);
}

/* ---------- typography ---------- */
.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.014em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.32;
  letter-spacing: -0.006em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

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

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.8;
  color: var(--sand);
}

.prose {
  max-width: 72ch;
  color: var(--sand);
}

.prose p + p { margin-top: 1em; }

.prose strong { color: var(--cream); }

.prose a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }
.text-stone { color: var(--stone); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.25em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.btn--primary {
  color: #1B0A02;
  background: var(--orange);
  box-shadow: 0 10px 26px -14px rgba(255, 122, 61, 0.85);
}

.btn--primary:hover {
  background: var(--orange-soft);
  transform: translateY(-2px);
}

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

.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn--quiet {
  color: var(--stone);
  border-color: var(--line);
}

.btn--quiet:hover {
  color: var(--cream);
  border-color: var(--stone);
}

.btn--block { width: 100%; }

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  padding: 0.34em 0.72em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--sand);
  background: rgba(20, 28, 51, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition:
    transform var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.tag:hover {
  transform: translateY(-2px);
  border-color: var(--line-cyan);
  color: var(--cream);
}

.tag--cyan {
  color: var(--cyan);
  border-color: rgba(53, 224, 224, 0.46);
  background: rgba(53, 224, 224, 0.09);
}

.tag--orange {
  color: var(--orange);
  border-color: rgba(255, 122, 61, 0.46);
  background: rgba(255, 122, 61, 0.10);
}

.tag--clay {
  color: var(--clay);
  border-color: rgba(192, 102, 74, 0.5);
  background: rgba(192, 102, 74, 0.10);
}

.tag--moss {
  color: var(--moss);
  border-color: rgba(111, 162, 135, 0.46);
  background: rgba(111, 162, 135, 0.10);
}

.tag--stone {
  color: var(--stone);
  border-color: var(--line-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- panels ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background: linear-gradient(158deg, rgba(20, 28, 51, 0.94), rgba(11, 18, 36, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--r-md) var(--r-xs) var(--r-md) var(--r-xs);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 22px 44px -34px rgba(0, 0, 0, 0.95);
}

.panel--alt {
  border-radius: var(--r-xs) var(--r-md) var(--r-xs) var(--r-md);
  border-color: rgba(53, 224, 224, 0.2);
}

.panel--accent {
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.panel--warn {
  border-left: 2px solid var(--clay);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

/* ---------- stats ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.stat--orange .stat__num { color: var(--orange); }
.stat--moss .stat__num { color: var(--moss); }

.stat__label {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--stone);
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--cyan-dim);
}

.breadcrumbs a {
  color: var(--stone);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.breadcrumbs a:hover { color: var(--cyan); }

.breadcrumbs [aria-current="page"] { color: var(--sand); }

/* ---------- figure / image containers ---------- */
.figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.figure__frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 16px 4px 16px 4px;
  background:
    linear-gradient(135deg, rgba(53, 224, 224, 0.12), transparent 46%),
    linear-gradient(160deg, #141C33, #0B1224 78%);
}

.figure__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 135, 152, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 135, 152, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.55;
  pointer-events: none;
}

.figure__frame::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -34%;
  width: 62%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 122, 61, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.figure__frame img,
.figure__frame video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--stone);
}

.figure--wide .figure__frame { aspect-ratio: 21 / 9; }
.figure--tall .figure__frame { aspect-ratio: 4 / 5; }
.figure--square .figure__frame { aspect-ratio: 1 / 1; }
.figure--slab .figure__frame { border-radius: 4px 16px 4px 16px; }

/* ---------- motion utilities ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rail,
  .rail-scrim,
  .rail-progress__bar,
  .btn,
  .tag,
  .rail-link {
    transition: none !important;
  }

  .btn:hover,
  .tag:hover {
    transform: none;
  }
}
