/* ============================================================
   1xbet国际官网 — 共享样式表 /assets/site.css
   夜间竞技场 × 说明文档：文字建筑、侧边轨道、三档响应节奏
   ============================================================ */

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

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

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

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

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

button { font: inherit; }

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --night: #0B1B2B;
  --night-2: #12283D;
  --night-3: #08131F;
  --paper: #F2E9DA;
  --paper-shadow: #D8CBB4;
  --ink: #101418;
  --cyan: #00E5FF;
  --orange: #FF6B35;
  --silver: #A8B3BD;
  --teal: #0A6E7A;
  --ice: #E8F6F8;
  --violet: #6C7BFF;

  --rail-w: 88px;
  --bar-h: 58px;
  --topline-h: 36px;
  --shell-max: 1180px;

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

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 2vw, 1.75rem);
  --step-3: clamp(1.875rem, 4.2vw, 3.25rem);
  --step-4: clamp(2.5rem, 7vw, 5.25rem);

  --line: rgba(168, 179, 189, 0.18);
  --line-strong: rgba(168, 179, 189, 0.34);
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-lift: 0 26px 70px -34px rgba(0, 0, 0, 0.92);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base ---------- */
body {
  background:
    radial-gradient(1200px 720px at 88% -8%, rgba(0, 229, 255, 0.07), transparent 62%),
    radial-gradient(900px 620px at -6% 34%, rgba(108, 123, 255, 0.07), transparent 68%),
    var(--night);
  color: var(--ice);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding-top: var(--topline-h);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.14;
  color: var(--ice);
}

h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }

p { max-width: 62ch; }

a { text-decoration: none; }

strong { font-weight: 700; color: var(--ice); }

::selection { background: var(--cyan); color: #04121A; }

/* 焦点：2px 电光青描边 + 深色外圈 */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(4, 18, 26, 0.9);
  border-radius: 4px;
}

/* ---------- 4. Layout utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.stack > * + * { margin-top: var(--gap, 20px); }

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-strong), transparent 82%);
  margin-block: clamp(28px, 5vw, 64px);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.section-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 5. Typography helpers ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--silver);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.7;
  color: rgba(232, 246, 248, 0.88);
  max-width: 34ch;
}

.prose { max-width: 36ch; }
.prose p + p { margin-top: 1.15em; }
.prose + .prose { margin-top: 1.4em; }

.note-vertical {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--silver);
}
.note-vertical::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

/* ---------- 6. Badges / tiers ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--silver);
  line-height: 1.6;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.badge--instant { color: var(--cyan); border-color: rgba(0, 229, 255, 0.45); background: rgba(0, 229, 255, 0.07); }
.badge--h24 { color: var(--orange); border-color: rgba(255, 107, 53, 0.45); background: rgba(255, 107, 53, 0.07); }
.badge--std { color: var(--silver); border-color: var(--line-strong); background: rgba(168, 179, 189, 0.06); }

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn--primary { background: var(--cyan); color: #04121A; }
.btn--primary:hover { background: #63F0FF; box-shadow: 0 0 0 5px rgba(0, 229, 255, 0.14); }
.btn--outline { border-color: var(--line-strong); color: var(--ice); }
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 229, 255, 0.07); }
.btn--paper { background: var(--ink); color: var(--paper); }
.btn--paper:hover { background: #232A33; }

/* ---------- 8. Paper panel / media frame ---------- */
.panel-paper {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(216, 203, 180, 0.9);
}
.panel-paper h1,
.panel-paper h2,
.panel-paper h3,
.panel-paper strong { color: var(--ink); }
.panel-paper a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.panel-paper :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 4px rgba(216, 203, 180, 0.85); }

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, var(--night-2) 0%, var(--night-3) 100%);
}
.media-frame > img,
.media-frame > svg,
.media-frame > picture,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--silver);
}

/* ---------- 9. Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--silver);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(168, 179, 189, 0.45); }
.breadcrumbs a { color: var(--silver); border-bottom: 1px solid transparent; transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.breadcrumbs a:hover { color: var(--cyan); border-bottom-color: rgba(0, 229, 255, 0.6); }

/* ---------- 10. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--cyan);
  color: #04121A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 11. Header shell ---------- */
.site-header { position: static; }

/* ---- 11a. Rail：桌面固定窄轨道 ---- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 0 20px;
  background: linear-gradient(180deg, #0D2033 0%, #0A1726 100%);
  border-right: 1px solid var(--line);
  z-index: 70;
}
.rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  transform-origin: top center;
  transform: scaleY(var(--read-progress, 0));
  background: linear-gradient(180deg, var(--cyan) 0%, var(--orange) 68%, var(--teal) 100%);
  opacity: 0.9;
}

.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  color: var(--ice);
}
.rail-brand__mark {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ice);
}
.rail-brand__sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: var(--cyan);
}
.rail-brand:hover .rail-brand__mark { color: var(--cyan); }

/* ---- 11b. Nav toggle：桌面隐藏 ---- */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ice);
  font-size: 13px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 229, 255, 0.07); }
.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.nav-toggle__bars span:nth-child(2) { width: 68%; }
.site-header[data-open="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) 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(-6px) rotate(-45deg); }

/* ---- 11c. 主导航 ---- */
.site-nav {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 9px;
  overflow-y: auto;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  gap: 3px;
  padding-block: 10px;
}

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 4px;
  border-radius: 6px;
  color: var(--silver);
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.3;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.site-nav__tick {
  position: absolute;
  left: 3px;
  top: 50%;
  width: 2px;
  height: 0;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--silver);
  transition: height 0.22s var(--ease), background-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.site-nav__link:hover {
  color: var(--ice);
  background: rgba(0, 229, 255, 0.07);
}
.site-nav__link:hover .site-nav__tick { height: 56%; background: rgba(232, 246, 248, 0.75); }
.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  font-weight: 700;
  background: rgba(0, 229, 255, 0.08);
}
.site-nav__link[aria-current="page"] .site-nav__tick {
  height: 78%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.75);
}

.site-nav__panel {
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.rail-note {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(168, 179, 189, 0.72);
  margin-bottom: 9px;
}
.tier-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.tier-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--silver);
  line-height: 1.4;
}
.tier-dot__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.tier-dot--instant { color: var(--cyan); }
.tier-dot--instant .tier-dot__dot { box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.18), 0 0 10px rgba(0, 229, 255, 0.7); }
.tier-dot--h24 { color: var(--orange); }
.tier-dot--std { color: var(--silver); }

.rail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 7px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.18), rgba(0, 229, 255, 0.04));
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.rail-cta:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #04121A;
}

/* ---- 11d. 顶部分区指示线 ---- */
.topline {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--topline-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(16px, 3vw, 34px);
  background: rgba(11, 27, 43, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--silver);
  z-index: 50;
}
.topline__brand { color: rgba(232, 246, 248, 0.86); font-weight: 600; }
.topline__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(168, 179, 189, 0.8);
  white-space: nowrap;
}
.topline__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform-origin: left center;
  transform: scaleX(var(--read-progress, 0));
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 92%);
}

/* ---------- 12. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  background: var(--night-3);
  border-top: 1px solid rgba(0, 229, 255, 0.16);
  color: var(--silver);
}

.footer-ridge {
  height: 44px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.16), rgba(0, 229, 255, 0) 88%);
  clip-path: polygon(
    0% 100%, 0% 76%, 7% 54%, 14% 70%, 22% 36%, 30% 64%, 38% 44%,
    46% 72%, 54% 26%, 62% 58%, 70% 40%, 78% 68%, 86% 48%, 94% 72%,
    100% 56%, 100% 100%
  );
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr 1.2fr;
  gap: clamp(26px, 3.5vw, 60px);
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(34px, 5vw, 66px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 44px);
}

.footer-brand__mark {
  display: block;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ice);
  transition: color 0.2s var(--ease);
}
.footer-brand__mark:hover { color: var(--cyan); }
.footer-brand__sub {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--silver);
}

.tier-bar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
}
.tier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.tier__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.tier--instant { color: var(--cyan); }
.tier--instant .tier__dot { box-shadow: 0 0 9px rgba(0, 229, 255, 0.75); }
.tier--h24 { color: var(--orange); }
.tier--std { color: var(--silver); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.footer-col__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ice);
  margin-bottom: 14px;
}
.footer-col__links { display: flex; flex-direction: column; gap: 9px; }
.footer-col__links a {
  display: inline-block;
  font-size: 13.5px;
  color: var(--silver);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-col__links a:hover {
  color: var(--cyan);
  border-bottom-color: rgba(0, 229, 255, 0.55);
}

.footer-contact__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ice);
  margin-bottom: 14px;
}
.footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: baseline;
}
.footer-contact__row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(168, 179, 189, 0.72);
}
.footer-contact__row dd {
  font-size: 13.5px;
  color: var(--ice);
  word-break: break-word;
}
.footer-contact__note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(168, 179, 189, 0.78);
  max-width: 34ch;
}

.footer-base {
  border-top: 1px solid var(--line);
  background: rgba(8, 19, 31, 0.86);
}
.footer-base__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 26px;
  max-width: 1320px;
  margin-inline: auto;
  padding: 18px clamp(20px, 4vw, 56px) 30px;
  font-size: 12px;
  color: rgba(168, 179, 189, 0.85);
}
.footer-base__legal { letter-spacing: 0.06em; }
.footer-base__note { max-width: 52ch; }
.footer-base__note .mono { margin-left: 8px; color: var(--silver); }

/* ---------- 13. Reveal ---------- */
html[data-reveal="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  will-change: opacity, transform;
}
html[data-reveal="on"] [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 14. Responsive ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }
}

@media (max-width: 1023px) {
  body { padding-top: var(--bar-h); }

  .rail {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: var(--bar-h);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px 0 18px;
    background: rgba(10, 23, 38, 0.97);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    z-index: 80;
  }
  .rail::after { right: 0; top: auto; bottom: 0; width: 100%; height: 2px; transform-origin: left center; transform: scaleX(var(--read-progress, 0)); }

  .rail-brand { flex-direction: row; align-items: baseline; gap: 8px; padding: 0; }
  .rail-brand__mark { font-size: 16px; }
  .rail-brand__sub { font-size: 10px; letter-spacing: 0.16em; color: var(--silver); }

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

  .site-nav {
    position: fixed;
    top: var(--bar-h);
    left: 0;
    bottom: 0;
    width: min(84vw, 340px);
    flex: none;
    justify-content: flex-start;
    padding: 22px 20px calc(28px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #0E2237, #0A1726);
    border-right: 1px solid rgba(0, 229, 255, 0.24);
    box-shadow: 28px 0 70px -34px rgba(0, 0, 0, 0.95);
    transform: translateX(-104%);
    transition: transform 0.3s var(--ease);
    z-index: 75;
    overflow-y: auto;
  }
  .site-header[data-open="true"] .site-nav { transform: translateX(0); }
  .site-header[data-open="true"]::after {
    content: "";
    position: fixed;
    inset: var(--bar-h) 0 0 0;
    background: rgba(4, 10, 18, 0.64);
    z-index: 74;
  }

  .site-nav__list { justify-content: flex-start; gap: 0; padding-block: 0; }
  .site-nav__link {
    justify-content: flex-start;
    min-height: 0;
    padding: 15px 10px 15px 22px;
    border-bottom: 1px solid rgba(168, 179, 189, 0.12);
    border-radius: 0;
    font-size: 17px;
  }
  .site-nav__tick { left: 8px; width: 3px; }
  .site-nav__link:hover .site-nav__tick { height: 46%; }
  .site-nav__link[aria-current="page"] .site-nav__tick { height: 62%; }

  .site-nav__panel { border-top: 0; text-align: left; margin-top: 26px; padding-top: 0; }
  .rail-note { text-align: left; margin-bottom: 10px; }
  .tier-dots { flex-direction: row; flex-wrap: wrap; gap: 14px; align-items: center; }
  .rail-cta {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100%;
    margin-top: 22px;
    padding: 14px 18px;
    font-size: 14px;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .footer-contact { grid-column: auto; }
  .footer-base__inner { flex-direction: column; align-items: flex-start; }
  .footer-contact__row { grid-template-columns: 32px 1fr; }
}

@media (max-width: 420px) {
  .topline__meta { display: none; }
}

/* ---------- 15. 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;
  }

  html[data-reveal="on"] [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
