/* ============ 01 RESET ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: #050B1A;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: inherit; text-decoration: none; }

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

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

/* ============ 02 TOKENS ============ */
:root {
  --ink: #050B1A;
  --ink-2: #070D22;
  --violet: #17123F;
  --teal: #062E35;
  --wine: #3A0F2A;
  --cyan: #37F5E4;
  --flame: #FF5B35;
  --purple: #8B5CF6;
  --paper: #EEF4FF;
  --mist: #A9BBDD;
  --line: #2A3F66;
  --light: #F1F5FF;

  --rail: 264px;
  --pad: clamp(18px, 3.2vw, 46px);
  --max: 1120px;

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

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 50px rgba(2, 6, 18, .55);
}

/* ============ 03 BASE ============ */
body {
  min-height: 100vh;
  padding-left: var(--rail);
  background: transparent;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(55, 245, 228, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(55, 245, 228, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 100% at 74% 0%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 88%);
  mask-image: radial-gradient(120% 100% at 74% 0%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 80% 4%, rgba(139, 92, 246, .26), transparent 70%),
    radial-gradient(40% 34% at 10% 84%, rgba(55, 245, 228, .13), transparent 72%),
    radial-gradient(30% 26% at 94% 72%, rgba(255, 91, 53, .13), transparent 70%);
}

h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.02em;
}

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

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

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

/* ============ 04 HEADER — RAIL ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translate(-50%, -220%);
  z-index: 99;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04121a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .22s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header__veil {
  display: none;
}

.site-header__rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 18px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 61;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(139, 92, 246, .22), transparent 62%),
    radial-gradient(90% 40% at 100% 100%, rgba(55, 245, 228, .10), transparent 70%),
    linear-gradient(180deg, #060E22 0%, #070B1C 46%, #0A0A24 100%);
}

.site-header__rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 100%;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(55, 245, 228, .55) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(55, 245, 228, .5), rgba(139, 92, 246, .3) 55%, transparent 92%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 2px;
  border-radius: 14px;
}

.brand__mark {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.04em;
  color: #04121a;
  background: linear-gradient(145deg, var(--cyan) 10%, var(--purple) 135%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 74% 100%, 0 100%);
}

.brand__text {
  display: grid;
  gap: 3px;
  line-height: 1.2;
}

.brand__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

.brand__sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.site-nav {
  display: grid;
  gap: 10px;
}

.site-nav__label {
  padding-inline: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .28em;
  color: rgba(169, 187, 221, .8);
  text-transform: uppercase;
}

.site-nav__list {
  display: grid;
  gap: 4px;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  color: #c9d8f4;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.site-nav__index {
  min-width: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: #5f779e;
  transition: color .25s var(--ease);
}

.site-nav__text {
  letter-spacing: .02em;
}

.site-nav__link:hover {
  background: rgba(55, 245, 228, .08);
  color: var(--paper);
}

.site-nav__link:hover .site-nav__index {
  color: var(--cyan);
}

.site-nav__link[aria-current="page"] {
  color: #ffffff;
  border-color: rgba(55, 245, 228, .38);
  background: linear-gradient(90deg, rgba(55, 245, 228, .18), rgba(139, 92, 246, .06) 70%, transparent);
}

.site-nav__link[aria-current="page"] .site-nav__index {
  color: var(--cyan);
}

.rail__foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(42, 63, 102, .8);
}

.rail__note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: #6f87ad;
  text-align: center;
}

/* ============ 05 HEADER — BAR ============ */
.site-header__bar {
  position: relative;
  height: 66px;
  border-bottom: 1px solid rgba(42, 63, 102, .9);
  background: linear-gradient(180deg, rgba(5, 11, 26, .95), rgba(5, 11, 26, .78));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--paper);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(55, 245, 228, .5);
  color: var(--cyan);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .3s var(--ease), top .3s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

.site-header[data-open] .nav-toggle__bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars::after {
  top: 4px;
  transform: rotate(-45deg);
}

.bar__brand {
  display: none;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--paper);
}

.quick {
  display: flex;
  align-items: center;
}

.quick__list {
  display: flex;
  gap: 6px;
}

.quick__link {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: #c2d3f0;
  transition: color .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}

.quick__link:hover {
  color: var(--cyan);
  background: rgba(55, 245, 228, .08);
  border-color: rgba(55, 245, 228, .28);
}

.bar__quick {
  display: none;
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(55, 245, 228, .45);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.bar__cta {
  margin-left: auto;
}

.bar__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple) 58%, var(--flame));
  box-shadow: 0 0 14px rgba(55, 245, 228, .55);
  transition: width .12s linear;
}

/* ============ 06 BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--solid {
  background: var(--cyan);
  color: #04121a;
  box-shadow: 0 10px 28px rgba(55, 245, 228, .22);
}

.btn--solid:hover { background: #63fff1; }

.btn--flame {
  background: var(--flame);
  color: #200800;
  box-shadow: 0 10px 28px rgba(255, 91, 53, .22);
}

.btn--flame:hover { background: #ff7a5c; }

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--sm {
  padding: 8px 15px;
  font-size: 12.5px;
}

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

/* ============ 07 LAYOUT & TYPOGRAPHY ============ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(48px, 7vw, 96px);
}

.section__head {
  display: grid;
  gap: 10px;
  max-width: 68ch;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}

.section__index {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .26em;
  color: var(--cyan);
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 300;
}

.section__lede {
  max-width: 62ch;
  font-size: 15.5px;
  color: var(--mist);
}

.lede {
  max-width: 58ch;
  font-size: clamp(15.5px, 1.6vw, 18px);
  line-height: 1.75;
  color: #c3d4f0;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============ 08 COMPONENTS ============ */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--mist);
}

.crumbs__link {
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.crumbs__link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.crumbs__sep { color: rgba(42, 63, 102, 1); }

.crumbs__current { color: var(--paper); }

.card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(23, 18, 63, .74), rgba(6, 46, 53, .55));
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  background: linear-gradient(215deg, rgba(55, 245, 228, .28), transparent 68%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(55, 245, 228, .45);
}

.card__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--cyan);
}

.card__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
}

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

.panel {
  padding: clamp(20px, 3vw, 36px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(23, 18, 63, .48);
}

.panel--teal {
  background: linear-gradient(150deg, rgba(6, 46, 53, .92), rgba(5, 11, 26, .72));
}

.panel--wine {
  background: linear-gradient(150deg, rgba(58, 15, 42, .92), rgba(5, 11, 26, .72));
}

.panel--violet {
  background: linear-gradient(150deg, rgba(23, 18, 63, .96), rgba(5, 11, 26, .72));
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--mist);
}

.tag--cyan {
  border-color: transparent;
  background: var(--cyan);
  color: #04121a;
  font-weight: 600;
}

.tag--flame {
  border-color: transparent;
  background: var(--flame);
  color: #200800;
  font-weight: 600;
}

.stat {
  display: grid;
  gap: 5px;
}

.stat__num {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan);
}

.stat__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--mist);
  text-transform: uppercase;
}

.figure {
  display: grid;
  gap: 10px;
  margin: 0;
}

.figure__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(139, 92, 246, .34), transparent 62%),
    linear-gradient(150deg, rgba(6, 46, 53, .92), rgba(5, 11, 26, .96));
}

.figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: linear-gradient(115deg, transparent 46%, rgba(55, 245, 228, .16) 47%, transparent 50%);
  background-size: 28px 28px;
}

.figure__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__media--wide { aspect-ratio: 21 / 9; }
.figure__media--tall { aspect-ratio: 4 / 5; }

.figure__cap {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mist);
}

.prose {
  display: grid;
  gap: 14px;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.8;
  color: #d5e1f9;
}

.prose > h2 {
  margin-top: 14px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  color: var(--paper);
}

.prose > h3 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
}

.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(55, 245, 228, .4);
}

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  list-style: disc;
}

.prose li { list-style: disc; }

.to-top {
  position: fixed;
  right: clamp(14px, 2.5vw, 30px);
  bottom: clamp(14px, 2.5vw, 30px);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 20, 44, .92);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

/* ============ 09 FOOTER ============ */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(60px, 8vw, 120px);
  padding: clamp(46px, 6vw, 84px) var(--pad) 26px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(139, 92, 246, .24), transparent 62%),
    radial-gradient(56% 90% at 4% 96%, rgba(255, 91, 53, .12), transparent 68%),
    radial-gradient(60% 90% at 8% 100%, rgba(55, 245, 228, .11), transparent 66%),
    linear-gradient(162deg, #070D22 0%, #062E35 54%, #17123F 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  pointer-events: none;
  opacity: .75;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 28px);
}

.site-footer::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -46px;
  height: 130px;
  pointer-events: none;
  opacity: .85;
  background: linear-gradient(90deg, rgba(55, 245, 228, .12), rgba(139, 92, 246, .18) 46%, rgba(255, 91, 53, .10) 78%, transparent 100%);
  clip-path: polygon(0 62%, 11% 44%, 25% 62%, 39% 30%, 55% 58%, 69% 38%, 85% 60%, 100% 46%, 100% 100%, 0 100%);
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 54px);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.7fr) minmax(0, 1.15fr);
  max-width: var(--max);
  margin-inline: auto;
}

.footer__brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.brand--footer .brand__mark {
  width: 46px;
  height: 46px;
  font-size: 15px;
}

.brand--footer .brand__name { font-size: 17px; }

.footer__summary {
  max-width: 32ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: #b9caea;
}

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

.footer__col {
  display: grid;
  gap: 12px;
  align-content: start;
}

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

.footer__col-list {
  display: grid;
  gap: 9px;
}

.footer__link {
  font-size: 13.5px;
  color: #c5d5f2;
  transition: color .22s var(--ease);
}

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

.footer__contact {
  display: grid;
  gap: 9px;
  align-content: start;
}

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

.footer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: #d3dff7;
}

.footer__k {
  min-width: 46px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: #6f87ad;
}

.footer__v {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .01em;
  color: #e7efff;
  word-break: break-word;
}

.footer__note {
  max-width: 30ch;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: #8fa3c9;
}

.footer__base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  max-width: var(--max);
  margin: clamp(30px, 4vw, 50px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(42, 63, 102, .75);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: #7f95bb;
}

.footer__copy { margin-right: auto; }

.footer__icp { color: #9cb0d4; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__legal a {
  color: #9cb0d4;
  transition: color .22s var(--ease);
}

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

/* ============ 10 RESPONSIVE ============ */
@media (max-width: 1080px) {
  body { padding-left: 0; }

  html.is-nav-open { overflow: hidden; }

  .site-header__veil {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(3, 7, 18, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
  }

  .site-header[data-open] .site-header__veil {
    opacity: 1;
    visibility: visible;
  }

  .site-header__rail {
    top: 0;
    bottom: 0;
    width: min(86vw, 342px);
    z-index: 80;
    padding: 24px 18px 22px;
    border-right: 1px solid rgba(55, 245, 228, .28);
    transform: translateX(-104%);
    transition: transform .42s var(--ease);
    box-shadow: none;
  }

  .site-header[data-open] .site-header__rail {
    transform: translateX(0);
    box-shadow: 34px 0 90px rgba(0, 0, 0, .65);
  }

  .nav-toggle { display: inline-flex; }
  .bar__brand { display: inline-flex; }
  .bar__quick { display: inline-flex; }
  .quick { display: none; }
  .bar__cta { display: none; }

  .site-header__bar { height: 58px; }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer__contact {
    grid-column: 1 / -1;
    padding-top: 16px;
    border-top: 1px solid rgba(42, 63, 102, .7);
  }

  .footer__note { max-width: 46ch; }
}

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

@media (max-width: 680px) {
  body { font-size: 15.5px; }

  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .footer__contact {
    grid-column: auto;
    padding-top: 18px;
  }

  .footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__copy { margin-right: 0; }

  .to-top {
    font-size: 10.5px;
    padding: 9px 13px;
  }
}

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

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

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .to-top { transform: none; }
}
