/* ============================================================
   百汇电玩大家乐 · /assets/site.css
   共享外壳：夜街框架导航 + 稳定页脚 + 基础组件
   ============================================================ */

:root {
  --ink: #070B1A;
  --ink-deep: #05070F;
  --ink-2: #0E1220;
  --panel: #151C33;
  --violet: #A855F7;
  --violet-soft: #C4B5FD;
  --cyan: #22D3EE;
  --orange: #FF7A1A;
  --yellow: #FFD166;
  --white: #F7F8FF;
  --mist: #AAB2C8;
  --green: #3DDC97;

  --hair: rgba(247, 248, 255, .09);
  --hair-soft: rgba(247, 248, 255, .055);
  --hair-violet: rgba(196, 181, 253, .28);

  --rail: 264px;
  --shell: 1180px;
  --radius: 4px;

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

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

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

ol, ul { list-style: none; }

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

a { color: inherit; }

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

[hidden] { display: none !important; }

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 86% -8%, rgba(168, 85, 247, .20), transparent 72%),
    radial-gradient(46% 38% at 4% 96%, rgba(34, 211, 238, .13), transparent 74%),
    radial-gradient(34% 30% at 70% 62%, rgba(255, 122, 26, .08), transparent 78%),
    linear-gradient(rgba(247, 248, 255, .022) 1px, transparent 1px) 0 0 / 100% 92px,
    linear-gradient(90deg, rgba(247, 248, 255, .022) 1px, transparent 1px) 0 0 / 92px 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.012em;
}

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

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 220;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--cyan);
  color: #04131A;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: 3px;
  box-shadow: 0 12px 30px -14px rgba(34, 211, 238, .95);
  transition: transform .22s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- header shell ---------- */
.site-header {
  position: relative;
  z-index: 60;
  background: linear-gradient(180deg, #0B1023 0%, #070B1A 100%);
  border-bottom: 1px solid var(--hair);
}

.site-header__frame {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px;
  overscroll-behavior: contain;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: #0A0418;
  background: linear-gradient(135deg, var(--violet-soft), var(--violet) 55%, #7C3AED);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, .55), 0 0 22px -6px rgba(168, 85, 247, .95);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--white);
  white-space: nowrap;
}

.brand__tag {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- nav toggle ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 12px;
  background: var(--ink-2);
  color: var(--white);
  border: 1px solid var(--hair-violet);
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: .14em;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.nav-toggle:hover { border-color: rgba(34, 211, 238, .55); }

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

.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}

.site-header[data-open] .nav-toggle {
  border-color: rgba(168, 85, 247, .7);
  background: rgba(168, 85, 247, .18);
}

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

/* ---------- current position ---------- */
.site-header__where {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.5;
  color: rgba(170, 178, 200, .8);
}

.site-header__where-key {
  padding: 2px 6px;
  border: 1px solid var(--hair);
  border-radius: 2px;
  color: rgba(170, 178, 200, .75);
}

.site-header__where-value {
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: .06em;
}

/* ---------- navigation ---------- */
.site-nav { display: none; }

.site-header[data-open] .site-nav { display: block; }

.site-nav__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: rgba(170, 178, 200, .65);
}

.site-nav__label-cn { color: rgba(196, 181, 253, .8); letter-spacing: .18em; }
.site-nav__label-en { font-size: 9px; letter-spacing: .28em; }

.site-nav__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.site-nav__list::-webkit-scrollbar { height: 4px; }
.site-nav__list::-webkit-scrollbar-track { background: rgba(247, 248, 255, .05); }
.site-nav__list::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, .55); border-radius: 2px; }

.site-nav__item { flex: none; scroll-snap-align: start; }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 13px;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  border-radius: 3px;
  color: var(--mist);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.site-nav__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--yellow);
  opacity: .72;
}

.site-nav__link:hover {
  color: var(--white);
  border-color: rgba(34, 211, 238, .5);
  background: rgba(34, 211, 238, .08);
}

.site-nav__link[aria-current="page"] {
  color: var(--white);
  border-color: rgba(168, 85, 247, .7);
  background: linear-gradient(120deg, rgba(168, 85, 247, .3), rgba(21, 28, 51, .92));
  box-shadow: 0 0 0 1px rgba(168, 85, 247, .22), 0 0 26px -10px rgba(168, 85, 247, .95);
}

.site-nav__link[aria-current="page"] .site-nav__num { opacity: 1; color: var(--violet-soft); }

/* ---------- header foot ---------- */
.site-header__foot {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin-top: 4px;
}

.site-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: rgba(170, 178, 200, .92);
}

.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, .14), 0 0 12px rgba(61, 220, 151, .85);
  animation: dot-pulse 3.4s var(--ease) infinite;
}

.status-dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .14), 0 0 12px rgba(34, 211, 238, .8);
  animation: none;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.site-header__utility {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .03em;
  color: rgba(170, 178, 200, .72);
}

/* ---------- scroll meter ---------- */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(247, 248, 255, .07);
  overflow: hidden;
}

.scroll-meter__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(var(--sp, 0));
  transform-origin: left center;
  transition: transform .12s linear;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .07em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

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

.btn--violet {
  background: linear-gradient(120deg, var(--violet), #7C3AED);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(196, 181, 253, .45), 0 14px 30px -18px rgba(168, 85, 247, .95);
}

.btn--violet:hover {
  box-shadow: 0 0 0 1px rgba(196, 181, 253, .8), 0 18px 36px -16px rgba(168, 85, 247, 1);
}

.btn--ghost {
  background: rgba(21, 28, 51, .7);
  color: var(--violet-soft);
  border-color: var(--hair-violet);
}

.btn--ghost:hover {
  color: var(--white);
  border-color: rgba(34, 211, 238, .6);
  background: rgba(34, 211, 238, .1);
}

.btn--sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12.5px;
  letter-spacing: .08em;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: 88px;
  background: linear-gradient(180deg, #0A0F22 0%, var(--ink-deep) 100%);
  border-top: 1px solid var(--hair);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(320px, 62%);
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), transparent);
}

.site-footer__inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 52px 18px 26px;
  display: grid;
  gap: 34px;
}

.site-footer__brand {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.site-footer__brandline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: .01em;
  color: var(--white);
  padding-left: 12px;
  border-left: 2px solid var(--violet);
}

.site-footer__note {
  max-width: 34em;
  font-size: 13px;
  line-height: 1.85;
  color: var(--mist);
}

.site-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .07em;
  color: rgba(170, 178, 200, .85);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 26px 20px;
}

.footer-col { display: grid; gap: 10px; align-content: start; }

.footer-col__title {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--cyan);
  line-height: 1.6;
}

.footer-col__title::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 8px;
  background: var(--cyan);
  opacity: .8;
}

.footer-col__list { display: grid; gap: 4px; }

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.footer-link:hover {
  color: var(--white);
  border-bottom-color: rgba(168, 85, 247, .8);
}

.site-footer__meta { display: grid; gap: 14px; align-content: start; }

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

.contact-list__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--hair-soft);
}

.contact-list__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: rgba(170, 178, 200, .7);
}

.contact-list__val {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--white);
  overflow-wrap: anywhere;
}

.site-footer__base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(170, 178, 200, .8);
}

.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }

.legal-links__link {
  color: var(--violet-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.legal-links__link:hover { color: var(--white); border-bottom-color: var(--cyan); }

.site-footer__icp { color: rgba(170, 178, 200, .7); }
.site-footer__copy { color: rgba(170, 178, 200, .7); }

/* ---------- shared layout utilities ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 18px;
}

.shell--narrow { max-width: 760px; }

.section { padding: 56px 0; }

.section__head { display: grid; gap: 10px; margin-bottom: 26px; }

.section__title {
  font-size: 26px;
  line-height: 1.24;
  letter-spacing: -.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  color: var(--cyan);
  text-transform: uppercase;
}

.lede {
  max-width: 40em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--mist);
}

.divider {
  height: 1px;
  border: 0;
  margin: 40px 0;
  background: linear-gradient(90deg, var(--violet), rgba(34, 211, 238, .55) 40%, transparent 88%);
  opacity: .6;
}

.grid { display: grid; gap: 18px; }

.card {
  position: relative;
  padding: 18px 18px 20px;
  background: linear-gradient(160deg, rgba(21, 28, 51, .96), rgba(14, 18, 32, .96));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -34px rgba(34, 211, 238, .9);
}

.card__title {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 6px;
}

.card__body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
}

.card__meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(170, 178, 200, .8);
}

.panel {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--hair-violet);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(7, 11, 26, .7), 0 0 40px -32px rgba(168, 85, 247, 1);
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--mist);
}

.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb__link {
  color: var(--violet-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.breadcrumb__link:hover { color: var(--white); border-bottom-color: var(--cyan); }

.breadcrumb__sep { color: rgba(170, 178, 200, .45); font-family: var(--font-mono); }

.breadcrumb__current { color: var(--white); font-weight: 700; }

/* ---------- figure / image containers ---------- */
.figure { margin: 0; display: grid; gap: 10px; }

.figure__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hair-violet);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, #1A2340 0%, #0E1220 62%, #10162A 100%);
  aspect-ratio: 16 / 10;
  box-shadow: inset 0 0 0 1px rgba(7, 11, 26, .65), 0 22px 44px -34px rgba(34, 211, 238, .85);
}

.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.figure:hover .figure__media img { transform: scale(1.03); }

.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 11, 26, 0) 44%, rgba(7, 11, 26, .58) 100%),
    linear-gradient(112deg, rgba(168, 85, 247, .16), transparent 52%);
}

.figure__caption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  line-height: 1.7;
  color: rgba(170, 178, 200, .9);
}

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

/* ---------- filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--hair);
  border-radius: 3px;
  background: var(--ink-2);
  color: var(--mist);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.chip:hover { color: var(--white); border-color: rgba(34, 211, 238, .55); }

.chip[aria-pressed="true"] {
  color: var(--white);
  border-color: rgba(168, 85, 247, .75);
  background: linear-gradient(120deg, rgba(168, 85, 247, .34), rgba(21, 28, 51, .92));
  box-shadow: 0 0 0 1px rgba(168, 85, 247, .2), 0 0 22px -12px rgba(168, 85, 247, 1);
}

.filter-bar__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--yellow);
}

/* ---------- reveal ---------- */
[data-reveal] {
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-reveal].is-reveal-ready {
  opacity: 0;
  transform: translateY(16px);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (min-width: 560px) {
  .site-header__frame { padding: 16px 22px 18px; }
  .brand__mark { width: 40px; height: 40px; font-size: 19px; }
  .brand__name { font-size: 17px; }
  .shell { padding: 0 22px; }
  .section { padding: 68px 0; }
  .section__title { font-size: 30px; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner { padding: 60px 22px 28px; }
  .footer-col__title { font-size: 11px; }
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px 40px;
  }
  .site-footer__brand { grid-column: 1 / -1; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--rail);
    border-bottom: 0;
    border-right: 1px solid var(--hair);
    box-shadow: 1px 0 0 rgba(168, 85, 247, .16), 24px 0 70px -52px rgba(168, 85, 247, .95);
  }

  .site-header__frame {
    height: 100%;
    padding: 26px 20px 22px;
    gap: 16px;
    overflow-y: auto;
  }

  .site-header__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand__mark { width: 44px; height: 44px; font-size: 21px; }
  .brand__name { font-size: 17.5px; white-space: normal; }
  .brand__tag { font-size: 11.5px; white-space: normal; }

  .nav-toggle { display: none; }

  .site-header__where { font-size: 10.5px; }

  .site-nav {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--hair-soft);
  }

  .site-nav__label {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 12px;
  }

  .site-nav__list {
    display: block;
    overflow: visible;
    padding: 0;
  }

  .site-nav__item + .site-nav__item { margin-top: 2px; }

  .site-nav__link {
    display: flex;
    width: 100%;
    min-height: 0;
    padding: 10px 10px 10px 14px;
    background: transparent;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    color: var(--mist);
    font-size: 14px;
    white-space: normal;
    transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  }

  .site-nav__link:hover {
    color: var(--white);
    background: rgba(34, 211, 238, .07);
    border-left-color: var(--cyan);
    transform: translateX(2px);
  }

  .site-nav__link[aria-current="page"] {
    color: var(--white);
    background: linear-gradient(90deg, rgba(168, 85, 247, .24), rgba(21, 28, 51, .2) 72%, transparent);
    border-left-color: var(--violet);
    box-shadow: inset 0 0 26px -14px rgba(168, 85, 247, 1);
  }

  .site-header__foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--hair-soft);
    gap: 9px;
  }

  .scroll-meter {
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }

  .scroll-meter__fill {
    width: 100%;
    height: 100%;
    transform: scaleY(var(--sp, 0));
    transform-origin: center top;
    background: linear-gradient(180deg, var(--cyan), var(--violet));
    transition: transform .12s linear;
  }

  .shell { padding: 0 30px; }
  .section { padding: 80px 0; }
  .section__title { font-size: 32px; }
  .lede { font-size: 16px; }
  .site-footer { margin-top: 104px; }
}

@media (min-width: 1280px) {
  :root { --rail: 288px; }
  .site-header__frame { padding: 30px 24px 24px; }
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, 1.05fr);
    padding: 68px 30px 30px;
    gap: 40px;
  }
  .site-footer__brand { grid-column: auto; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .status-dot { animation: none; }

  [data-reveal],
  [data-reveal].is-reveal-ready {
    opacity: 1 !important;
    transform: none !important;
  }

  .figure:hover .figure__media img { transform: none; }
}
