/* ============================================================
   /assets/site.css — 爱游戏主站 共享层
   01 tokens & reset
   02 中文排版基础
   03 通用元件（容器 / 面包屑 / 章节头 / 面板 / 图文 / 标签 / 长文）
   04 跳至主要内容
   05 头部：移动吸顶条 → 桌面左侧竖向轨道
   06 页脚
   07 阅读进度
   08 动效与响应式收口
   ============================================================ */

/* ── 01 tokens & reset ───────────────────────────────────── */
:root {
  --c-ink: #0B2B33;
  --c-night: #071A21;
  --c-blueprint: #12414F;
  --c-paper: #F2EDE2;
  --c-white: #FBF8F1;
  --c-signal: #FF6A2B;
  --c-lime: #B8FF3C;
  --c-violet: #4A3F63;
  --c-grid: #2E6173;
  --c-amber: #FFC24B;
  --c-muted: #9FB7BF;
  --c-muted-ink: #51666E;
  --c-lime-ink: #4E7A00;

  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;

  --rail-w: 264px;
  --rail-w-min: 96px;
  --rail-now: var(--rail-w);

  --shell: 1240px;
  --gap: 24px;
  --radius-l: 20px;
  --radius-m: 12px;
  --radius-s: 8px;

  --scroll-progress: 0;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

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

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* ── 02 中文排版基础 ─────────────────────────────────────── */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-white);
  background-color: var(--c-ink);
  background-image:
    linear-gradient(to right, rgba(46, 97, 115, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 97, 115, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-font-smoothing: antialiased;
  transition: padding-left 0.3s var(--ease);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
}
h2 {
  font-size: clamp(26px, 3.4vw, 44px);
}
h3 {
  font-size: clamp(20px, 2.4vw, 28px);
}
h4 {
  font-size: clamp(17px, 1.8vw, 22px);
}

p {
  max-width: 38em;
}

strong {
  font-weight: 700;
}

.num,
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}

::selection {
  background: var(--c-signal);
  color: var(--c-night);
}

:focus-visible {
  outline: 2px solid var(--c-lime);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── 03 通用元件 ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.page-main {
  padding-block: 40px 76px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.crumbs a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.crumbs a:hover {
  color: var(--c-lime);
}

.crumbs__sep {
  color: var(--c-grid);
}

.crumbs [aria-current="page"] {
  color: var(--c-white);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(46, 97, 115, 0.6);
  margin-bottom: 28px;
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-signal);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head__note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-signal);
}

.panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(46, 97, 115, 0.6);
  border-radius: var(--radius-l);
  background: rgba(18, 65, 79, 0.42);
}

.panel--paper {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: rgba(11, 43, 51, 0.14);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(46, 97, 115, 0.9);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.tag--live {
  color: var(--c-lime);
  border-color: rgba(184, 255, 60, 0.45);
}

.tag--warn {
  color: var(--c-amber);
  border-color: rgba(255, 194, 75, 0.45);
}

.rule {
  display: block;
  height: 1px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(
    90deg,
    var(--c-grid) 0 6px,
    transparent 6px 14px
  );
  opacity: 0.5;
}

/* 图文容器：页面阶段直接放入 img / picture */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid rgba(46, 97, 115, 0.6);
  background: var(--c-blueprint);
}

.media > img,
.media > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(7, 26, 33, 0.85);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  line-height: 1.5;
}

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

.btn--signal {
  background: var(--c-signal);
  color: var(--c-night);
}

.btn--signal:hover {
  background: #ff8349;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(46, 97, 115, 0.95);
  color: var(--c-white);
}

.btn--ghost:hover {
  background: rgba(18, 65, 79, 0.8);
  border-color: rgba(184, 255, 60, 0.7);
  color: var(--c-lime);
}

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

.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.75;
}

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

.prose h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-top: 1.9em;
}

.prose h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-top: 1.6em;
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
}

.prose ul {
  list-style: square;
}

.prose ol {
  list-style: decimal;
}

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

.prose a {
  color: var(--c-lime);
  text-underline-offset: 0.18em;
}

.prose p {
  max-width: none;
}

.theme-paper {
  background-color: var(--c-paper);
  color: var(--c-ink);
}

.theme-paper .prose a {
  color: var(--c-lime-ink);
}

.theme-paper .section-head {
  border-bottom-color: rgba(11, 43, 51, 0.2);
}

/* ── 04 跳至主要内容 ────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--c-lime);
  color: var(--c-night);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transform: translateY(-170%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--c-white);
}

/* ── 05 头部 ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--c-night);
  border-bottom: 1px solid rgba(46, 97, 115, 0.55);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 10px 18px;
  background: var(--c-night);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--c-white);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(46, 97, 115, 0.95);
  border-radius: 6px;
  background: rgba(18, 65, 79, 0.55);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: var(--c-signal);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
  background: rgba(184, 255, 60, 0.5);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.01em;
}

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

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(46, 97, 115, 0.95);
  border-radius: 999px;
  color: var(--c-white);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(18, 65, 79, 0.7);
  border-color: rgba(184, 255, 60, 0.7);
}

.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.nav-toggle__glyph {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__glyph span {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.16s linear;
}

.site-header[data-open] .nav-toggle__glyph span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.site-header[data-open] .nav-toggle__glyph span:nth-child(2) {
  opacity: 0;
}
.site-header[data-open] .nav-toggle__glyph span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: min(72vh, 560px);
  overflow-y: auto;
  padding: 18px 18px 26px;
  background: var(--c-night);
  border-top: 1px solid rgba(46, 97, 115, 0.55);
  border-bottom: 1px solid rgba(46, 97, 115, 0.55);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.site-header[data-open] .site-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-nav__rail-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--c-muted);
}

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

.site-nav__item {
  display: block;
}

.site-nav__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  color: var(--c-white);
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.site-nav__link:hover {
  background: rgba(18, 65, 79, 0.85);
  border-color: rgba(46, 97, 115, 0.95);
  transform: translateX(2px);
}

.site-nav__num {
  min-width: 1.9em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  transition: color 0.2s var(--ease);
}

.site-nav__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: 0.01em;
}

.site-nav__link[aria-current="page"] {
  background: var(--c-blueprint);
  border-color: rgba(255, 106, 43, 0.9);
  box-shadow: inset 3px 0 0 var(--c-signal);
}

.site-nav__link[aria-current="page"] .site-nav__num {
  color: var(--c-signal);
}

.site-nav__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(46, 97, 115, 0.45);
}

.site-nav__foot .btn {
  width: 100%;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--c-amber);
}

.version-badge__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-lime);
  box-shadow: 0 0 0 3px rgba(184, 255, 60, 0.16);
}

/* ── 06 页脚 ────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--c-night);
  border-top: 1px solid rgba(46, 97, 115, 0.55);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(46, 97, 115, 0.9) 0 1px,
    transparent 1px 18px
  );
  opacity: 0.55;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -170px;
  width: 340px;
  height: 340px;
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(74, 63, 99, 0.6),
    transparent 70%
  );
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 60px 20px 30px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-footer__tagline {
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-muted);
}

.site-footer__col {
  min-width: 0;
}

.site-footer__title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(46, 97, 115, 0.45);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--c-amber);
}

.site-footer__list {
  display: grid;
  gap: 11px;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer__link::before {
  content: "";
  flex: none;
  width: 12px;
  height: 1px;
  background: var(--c-grid);
  transition: width 0.22s var(--ease), background-color 0.22s var(--ease);
}

.site-footer__link:hover {
  color: var(--c-white);
}

.site-footer__link:hover::before {
  width: 22px;
  background: var(--c-signal);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contact-list__row {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.contact-list__term {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-grid);
}

.contact-list__value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-white);
  overflow-wrap: anywhere;
}

.site-footer__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--c-muted);
}

.site-footer__legal {
  display: grid;
  gap: 8px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(46, 97, 115, 0.45);
}

.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
}

.site-footer__meta {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--c-muted);
}

.site-footer__data-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(46, 97, 115, 0.4);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: rgba(159, 183, 191, 0.8);
}

/* ── 07 阅读进度 ────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 90;
  background: rgba(46, 97, 115, 0.35);
  pointer-events: none;
}

.scroll-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--c-signal), var(--c-lime));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  transition: transform 0.08s linear;
}

/* ── 08 动效与响应式收口 ────────────────────────────────── */
[data-reveal] {
  opacity: 1;
  transform: none;
}

html[data-js] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

[data-spy-link][data-active] {
  color: var(--c-lime);
  border-left-color: var(--c-signal);
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
  .page-main {
    padding-block: 48px 88px;
  }
  .site-footer__legal {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  html {
    --rail-now: var(--rail-w);
  }

  html[data-rail="condensed"] {
    --rail-now: var(--rail-w-min);
  }

  body {
    padding-left: var(--rail-now);
  }

  /* 头部转为左侧竖向轨道 */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail-now);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-bottom: 0;
    border-right: 1px solid rgba(46, 97, 115, 0.55);
    transition: width 0.3s var(--ease);
  }

  .site-header__bar {
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: 0;
    padding: 26px 20px 22px;
    border-bottom: 1px solid rgba(46, 97, 115, 0.4);
    transition: padding 0.3s var(--ease);
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: static;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 14px 22px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: padding 0.3s var(--ease);
  }

  .site-nav__list {
    gap: 3px;
  }

  .site-nav__label {
    font-size: 16px;
  }

  .site-nav__foot {
    margin-top: auto;
    padding-top: 20px;
  }

  .page-main {
    padding-block: 56px 104px;
  }

  .site-footer__inner {
    padding: 72px 32px 34px;
  }

  .site-footer__grid {
    grid-template-columns: 1.6fr 0.8fr 0.8fr 0.9fr 1.25fr;
    gap: 40px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  /* 进度条贴左轨道右缘，转为纵向 */
  .scroll-progress {
    top: 0;
    left: calc(var(--rail-now) - 2px);
    right: auto;
    bottom: 0;
    width: 2px;
    height: auto;
    transition: left 0.3s var(--ease);
  }

  .scroll-progress__fill {
    transform: scaleY(var(--scroll-progress, 0));
    transform-origin: center top;
    background: linear-gradient(180deg, var(--c-signal), var(--c-lime));
  }

  /* 轨道收窄态：只留序号 */
  html[data-rail="condensed"] .site-header__bar {
    align-items: center;
    padding: 24px 0 20px;
  }

  html[data-rail="condensed"] .brand__text,
  html[data-rail="condensed"] .site-nav__rail-label,
  html[data-rail="condensed"] .site-nav__foot {
    display: none;
  }

  html[data-rail="condensed"] .site-nav {
    align-items: center;
    padding: 18px 10px;
  }

  html[data-rail="condensed"] .site-nav__list {
    align-items: center;
    width: 100%;
  }

  html[data-rail="condensed"] .site-nav__item {
    width: 100%;
  }

  html[data-rail="condensed"] .site-nav__link {
    justify-content: center;
    gap: 0;
    padding: 12px 0;
    transform: none;
  }

  html[data-rail="condensed"] .site-nav__num {
    min-width: 0;
    font-size: 12px;
  }

  html[data-rail="condensed"] .site-nav__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (min-width: 1280px) {
  .site-footer__grid {
    gap: 56px;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .scroll-progress__fill {
    transition: none;
  }

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