/* =========================================================================
   Synaptic Interface website
   Brand protocol v1.0 tokens, mapped onto the scrollcraft roles.
   ========================================================================= */

/* Self-hosted brand fonts (SIL Open Font Licence, files in assets/fonts). */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  /* brand tokens (protocol section 2) */
  --brand-primary: #4338CA;
  --brand-accent: #22D3EE;
  --brand-mint: #5EEAD4;
  --bg-dark: #080D21;
  --neutral-50: #F8FAFC;
  --neutral-100: #E2E8F0;
  --neutral-400: #94A3B8;
  --neutral-500: #64748B;
  --neutral-700: #334155;
  --neutral-950: #0F172A;
  --success: #15803D;
  --danger: #7E22CE;

  /* scrollcraft roles: one accent (cyan = connection), indigo is structure */
  --sc-canvas: #080D21;
  --sc-surface: #0F172A;
  --sc-ink: #FFFFFF;
  --sc-ink-soft: #94A3B8;        /* n400 on dark 7.51:1 */
  --sc-accent: #22D3EE;
  --sc-accent-ink: #080D21;      /* dark on cyan 10.66:1 */
  --sc-font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --sc-font-text: "Inter", "Segoe UI", Arial, sans-serif;
  --sc-shadow-color: 228 61% 5%;

  --ink-body: #E2E8F0;           /* n100 on dark 15.63:1 */
  --radius: 12px;
  --radius-card: 20px;
  --bar-h: 4.25rem;
}

/* Light text on dark: a touch more leading and tracking (taste floor). */
body { line-height: 1.66; letter-spacing: 0.002em; }
:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--brand-accent); color: var(--bg-dark); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--sc-font-display); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* ---------------------------------------------------------------- buttons
   Protocol: 44px min target, 16px padding, label underline on hover,
   1px press, same colours on every state so contrast holds. */
.btn {
  --btn-bg: transparent; --btn-ink: #fff; --btn-line: var(--neutral-400);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: 0 1.15rem; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-ink);
  border: 1px solid var(--btn-line);
  font: 600 1rem/1.25 var(--sc-font-text); text-decoration: none; white-space: nowrap;
  transition: transform 120ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.btn--primary { --btn-bg: var(--brand-primary); --btn-line: #A5B4FC; box-shadow: 0 8px 24px rgba(8,13,33,.35), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--ghost { --btn-bg: rgba(8,13,33,.55); }
.btn--sm { min-height: 44px; padding: 0 1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 1.75rem; font-size: 1.0625rem; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
}
.btn:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--bar-h); padding: 0 var(--sc-gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(8,13,33,.86), rgba(8,13,33,0));
  transition: background-color 240ms var(--sc-ease-out), border-color 240ms var(--sc-ease-out);
  border-bottom: 1px solid transparent;
}
.bar.is-solid { background: rgba(8,13,33,.9); border-bottom-color: rgba(148,163,184,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bar__brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 600; font-size: 1rem; letter-spacing: .005em; border-radius: 10px; }
.mark { width: 2.25rem; height: auto; overflow: visible; }
.mark__ring, .mark__cres { fill: none; stroke: #fff; stroke-linecap: round; }
.mark__ring { stroke-width: 155; }
.mark__cres { stroke-width: 104; }
.mark__node { fill: var(--brand-accent); }

/* ------------------------------------------------- the ring (signature) */
.ringnav { position: fixed; left: clamp(.75rem, 2vw, 1.75rem); bottom: clamp(.75rem, 2.4vw, 1.75rem); z-index: var(--sc-z-chrome); }
.ringnav__dial {
  display: flex; align-items: center; gap: .85rem;
  background: rgba(8,13,33,.78); border: 1px solid rgba(148,163,184,.35);
  border-radius: 999px; padding: .45rem 1.1rem .45rem .45rem; cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(8,13,33,.4);
  min-height: 44px;
}
.ringnav__dial svg { width: 3.1rem; height: auto; overflow: visible; }
.rn-track, .rn-fill { fill: none; stroke-linecap: round; stroke-width: 120; }
.rn-track { stroke: rgba(148,163,184,.28); }
.rn-fill { stroke: var(--brand-accent); stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--page-p, 0)); }
.rn-node { fill: var(--neutral-700); transform-box: fill-box; transform-origin: center; transition: fill 200ms var(--sc-ease-out); }
.rn-ticks circle { fill: var(--bg-dark); stroke: rgba(226,232,240,.7); stroke-width: 22; }
.rn-ticks circle.is-past { stroke: var(--bg-dark); fill: var(--bg-dark); }
.ringnav.is-connected .rn-node { fill: var(--brand-accent); }
.ringnav.just-connected .rn-node { animation: node-connect 300ms 600ms var(--sc-ease-out) both; }
.ringnav.just-connected .rn-fill { animation: ring-sweep 600ms var(--sc-ease-out) both; }
@keyframes node-connect { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes ring-sweep { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.ringnav__now { font-size: .9375rem; font-weight: 600; color: #fff; white-space: nowrap; }

.ringnav__list {
  list-style: none; margin: 0 0 .6rem; padding: .5rem;
  position: absolute; left: 0; bottom: 100%;
  min-width: 15rem; background: rgba(15,23,42,.96); border: 1px solid rgba(148,163,184,.35);
  border-radius: var(--radius-card); box-shadow: 0 8px 24px rgba(8,13,33,.45);
  opacity: 0; transform: translateY(6px) scale(.98); transform-origin: 0 100%;
  pointer-events: none; visibility: hidden;
  transition: opacity 180ms var(--sc-ease-out), transform 180ms var(--sc-ease-out), visibility 0s 180ms;
}
.ringnav.is-open .ringnav__list { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.ringnav__list a {
  display: flex; align-items: center; gap: .75rem; min-height: 44px; padding: 0 .85rem;
  border-radius: 10px; text-decoration: none; color: var(--ink-body); font-weight: 500;
}
.ringnav__list a::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; border: 2px solid var(--neutral-400); flex: none; }
.ringnav__list a.is-past::before { background: var(--brand-accent); border-color: var(--brand-accent); }
.ringnav__list a[aria-current="true"] { background: rgba(34,211,238,.1); color: #fff; }
.ringnav__list a[aria-current="true"]::before { background: var(--brand-accent); border-color: var(--brand-accent); box-shadow: 0 0 0 4px rgba(34,211,238,.18); }
@media (hover: hover) and (pointer: fine) { .ringnav__list a:hover { background: rgba(148,163,184,.12); text-decoration: underline; text-underline-offset: .22em; } }

/* Tour-guide highlight (window.SynapticSite.highlight). Same cyan focus language. */
.is-guided { outline: 3px solid var(--brand-accent) !important; outline-offset: 6px; border-radius: 16px; transition: outline-color 300ms; }

/* Reserved avatar dock. Fixed, outside every section: never re-mounted. */
.guide-dock { position: fixed; right: clamp(.75rem, 2vw, 1.75rem); bottom: clamp(.75rem, 2.4vw, 1.75rem); z-index: calc(var(--sc-z-chrome) + 1); }

/* ==================================================================== 1 HERO */
.hero__stage { isolation: isolate; }
.hero__stage > * { position: absolute; }
.hero {
  --mx: 0; --my: 0;
}
.hero__far { inset: -8%; z-index: 0; transform: translate3d(calc(var(--mx) * -10px), calc(var(--sc-p, 0) * -5vh + var(--my) * -8px), 0) scale(calc(1 + var(--sc-p, 0) * .06)); }
.hero__light { position: absolute; border-radius: 50%; filter: blur(60px); }
.hero__light--a { width: 70vmax; height: 70vmax; left: 30%; top: -10%; background: radial-gradient(closest-side, rgba(67,56,202,.55), rgba(67,56,202,0)); }
.hero__light--b { width: 42vmax; height: 42vmax; left: 62%; top: 4%; background: radial-gradient(closest-side, rgba(34,211,238,.20), rgba(34,211,238,0)); }
.hero__orbits { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__orbits circle { fill: none; stroke: rgba(148,163,184,.10); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__orbits circle:nth-child(2) { stroke: rgba(148,163,184,.08); stroke-dasharray: 2 10; }
.hero__orbits circle:nth-child(4) { stroke: rgba(148,163,184,.06); }

.hero__floor { left: 38%; right: -10%; bottom: 4%; height: 26vh; z-index: 1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(67,56,202,.28), rgba(8,13,33,0) 70%);
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--sc-p, 0) * -8vh), 0);
}
.hero__subject {
  z-index: 2; right: clamp(-2rem, 2vw, 4rem); top: 50%;
  width: min(52vw, 82vh, 760px);
  translate: 0 -50%;
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--sc-p, 0) * -16vh + var(--my) * -14px), 0) scale(calc(1 - var(--sc-p, 0) * .14));
  transform-origin: 50% 70%;
}
.hero__subject img { width: 100%; height: auto; }
.hero__near { inset: 0; z-index: 4; pointer-events: none;
  transform: translate3d(calc(var(--mx) * -46px), calc(var(--sc-p, 0) * -42vh + var(--my) * -26px), 0);
}
/* Near plane: an out-of-focus pass of the brand's own ring, crossing in front of the mark. */
.hero__lens { position: absolute; width: 150vh; aspect-ratio: 1; right: -62vh; top: 52vh; border-radius: 50%;
  border: 2px solid rgba(165,180,252,.30); filter: blur(1.5px);
  box-shadow: inset 0 0 0 26px rgba(67,56,202,.10); }

.hero__copy {
  z-index: 3; left: var(--sc-gutter); top: 50%; translate: 0 -46%;
  width: min(40rem, 52vw);
}
.hero__title { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem); line-height: 1.0; letter-spacing: -0.035em; }
.hero__title span { display: block; color: var(--ink-body); font-weight: 500; }
.hero__sub { margin-top: 1.5rem; max-width: 34ch; font-size: clamp(1.06rem, 1rem + .35vw, 1.3rem); color: var(--ink-body); line-height: 1.6; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* =========================================================== 2 THE QUIET MOMENT */
.quiet { padding-block: clamp(7rem, 22vh, 14rem) clamp(7rem, 26vh, 16rem); }
.quiet__wrap { max-width: 64rem; margin-left: max(var(--sc-gutter), 8vw); }
.quiet__title { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; }
.quiet__body { margin-top: 2.5rem; max-width: 46ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--sc-ink-soft); }
.quiet__end { margin-top: 1.25rem; font-family: var(--sc-font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: #fff; }

/* =============================================================== 3 THE PEAK */
.talk__stage {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
  padding: var(--bar-h) var(--sc-gutter) 0; gap: clamp(2rem, 5vw, 6rem);
}
.talk__ring {
  position: absolute; z-index: 0; pointer-events: none; max-width: none; height: auto;
  /* centred on the phone by site.js, sized so the ring encircles it */
  width: var(--rw, 90vh); left: var(--rx, 75%); top: var(--ry, 52%); translate: -49.2% -51.5%;
  transform: scale(calc(1 + var(--halo, 0) * .1)); opacity: calc(1 - var(--halo, 0) * .55);
}
.tr-track, .tr-fill { fill: none; stroke-linecap: round; stroke-width: 18; }
.tr-track { stroke: rgba(148,163,184,.16); }
.tr-fill { stroke: var(--brand-accent); stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
.tr-node { fill: var(--brand-accent); transform-box: fill-box; transform-origin: center;
  transform: scale(calc(.62 + var(--node, 0) * .38 + var(--bump, 0) * .08)); opacity: calc(.35 + var(--node, 0) * .65); }

.talk__copy { position: relative; z-index: 2; max-width: 34rem; order: 2; padding-left: clamp(0rem, 3vw, 3.5rem); }
.talk__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -0.032em; }
.talk__lines { list-style: none; padding: 0; margin: 2.25rem 0 0; position: relative; min-height: 6.5em; }
.talk__lines li { position: absolute; inset: 0 0 auto 0; font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); line-height: 1.45; color: var(--ink-body); padding-left: 1.4rem; }
.talk__lines li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand-accent); }

.talk__phone { position: relative; z-index: 2; margin: 0; justify-self: center; order: 1; display: grid; justify-items: center; gap: .9rem; }
.talk__phone figcaption { font-size: .875rem; color: var(--sc-ink-soft); text-align: center; max-width: 32ch; background: var(--bg-dark); padding: .3rem .8rem; border-radius: 10px; }

.phone {
  --ph-w: min(21rem, 38vh);
  position: relative; width: var(--ph-w); aspect-ratio: 9 / 18.5; border-radius: 2.6rem;
  background: var(--bg-dark); overflow: hidden; isolation: isolate;
  border: 1px solid rgba(148,163,184,.4);
  box-shadow: 0 2px 4px rgba(2,4,12,.4), 0 24px 60px -12px rgba(2,4,12,.75), inset 0 1px 0 rgba(255,255,255,.12);
  display: flex; flex-direction: column;
  transform: translate3d(0, calc((1 - var(--rise, 1)) * 5vh), 0) scale(calc(.94 + var(--rise, 1) * .06));
}
.phone__backdrop { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 50% at 50% 34%, rgba(67,56,202,.55), rgba(8,13,33,0) 70%),
    radial-gradient(60% 40% at 70% 20%, rgba(34,211,238,.14), rgba(8,13,33,0) 70%),
    var(--bg-dark);
}
.phone__top { display: grid; justify-items: center; gap: .2rem; padding: 1.3rem 1rem 0; position: relative; }
.badge-ai { position: absolute; left: .9rem; top: 1rem; background: var(--brand-accent); color: var(--bg-dark); font: 600 .75rem/1rem var(--sc-font-text); padding: .25rem .6rem; border-radius: 999px; }
.phone__name { margin-top: 2.1rem; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.5rem; }
.phone__status { font-size: .875rem; color: var(--neutral-100); font-variant-numeric: tabular-nums; min-height: 1.3em; }
.phone__timer { color: var(--sc-ink-soft); }

.phone__face { position: relative; margin: auto; width: 54%; aspect-ratio: 1; display: grid; place-items: center; }
.phone__pulse { position: absolute; inset: -8%; border-radius: 50%; border: 2px solid var(--brand-mint);
  opacity: var(--speak, 0); transform: scale(calc(1 + var(--speak, 0) * var(--wobble, 0) * .07)); }
.phone[data-state="calling"] .phone__pulse { border-color: rgba(226,232,240,.5); opacity: calc(.25 + var(--ringing, 0) * .5); transform: scale(calc(1 + var(--ringing, 0) * .08)); }
.phone__portrait { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #2a2f7a, #141a45 70%); border: 2px solid rgba(226,232,240,.35); }
.phone__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.phone__portrait svg { width: 100%; height: 100%; }
.phone__portrait svg circle, .phone__portrait svg path { fill: rgba(226,232,240,.16); stroke: rgba(226,232,240,.55); stroke-width: 2; }
.phone__portrait svg .node { fill: var(--brand-accent); stroke: none; }

.phone__caption { margin: 0 .9rem .85rem; min-height: 6.2rem; padding: .75rem .9rem; border-radius: 16px;
  background: rgba(15,23,42,.92); border: 1px solid rgba(148,163,184,.25); }
.phone__who { display: block; font-size: .75rem; font-weight: 600; color: var(--brand-accent); letter-spacing: .02em; min-height: 1rem; }
.phone__who.is-caller { color: var(--neutral-400); }
.phone__caption p { margin-top: .25rem; font-size: .9375rem; line-height: 1.45; color: #fff; }
.phone__caption .tw { opacity: .0; }

.phone__controls { display: flex; justify-content: space-around; padding: .9rem .6rem 1.2rem; background: var(--neutral-950); border-top: 1px solid rgba(148,163,184,.25); }
.ctl { display: grid; justify-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; color: var(--neutral-100); }
.ctl__btn { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: #1E293B; border: 1px solid var(--neutral-400); }
.ctl__btn svg { width: 1.3rem; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ctl--end .ctl__btn { background: var(--danger); border-color: var(--danger); }
.ctl--end .ctl__btn svg { fill: #fff; stroke: none; }

/* =========================================================== 4 THE PARTS RAIL */
.parts__stage { display: flex; align-items: center; }
.rail { gap: clamp(1.25rem, 2.4vw, 2.5rem); padding: var(--bar-h) var(--sc-gutter) 0; align-items: stretch; }
.rail > * { flex: none; }
.rail__lead { width: clamp(18rem, 34vw, 32rem); align-self: center; padding-right: 2vw; }
.parts__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.parts__intro { margin-top: 1.25rem; color: var(--ink-body); font-size: 1.125rem; max-width: 30ch; }
.part, .rail__note {
  width: clamp(17rem, 27vw, 24rem); padding: 1.75rem; border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(30,41,59,.72), rgba(15,23,42,.9));
  border: 1px solid rgba(148,163,184,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 2px 4px rgba(2,4,12,.3), 0 18px 40px -16px rgba(2,4,12,.7);
  display: flex; flex-direction: column;
}
.part__art { aspect-ratio: 6 / 5; border-radius: 14px; margin-bottom: 1.5rem; display: grid; place-items: center;
  background: radial-gradient(70% 70% at 50% 45%, rgba(67,56,202,.35), rgba(8,13,33,0)), rgba(8,13,33,.6); }
.part__art svg { width: 82%; }
.part h3, .rail__note h3 { font-size: 1.5rem; line-height: 1.33; }
.part p, .rail__note p { margin-top: .6rem; color: var(--ink-body); font-size: 1rem; line-height: 1.6; }
.rail__note { justify-content: center; background: none; box-shadow: none; border-style: dashed; border-color: rgba(34,211,238,.45); }
.rail__note h3 { color: #fff; }

.a-soft { fill: rgba(67,56,202,.28); stroke: none; }
.a-line, .a-soft-line { fill: none; stroke: #E2E8F0; stroke-width: 3; stroke-linecap: round; }
.a-soft-line { stroke: rgba(148,163,184,.35); }
.a-node { fill: var(--brand-accent); }
.a-dot { fill: #E2E8F0; }
.a-track { fill: rgba(148,163,184,.25); }
.a-win { fill: rgba(34,211,238,.18); stroke: var(--brand-accent); stroke-width: 2.5; }
.a-num { font: 600 34px var(--sc-font-display); fill: #fff; }
.a-page { fill: #1E293B; stroke: rgba(226,232,240,.55); stroke-width: 2.5; }

/* Staggered settle as the drawer is pulled (first item exempt). */
@media (prefers-reduced-motion: no-preference) {
  .rail > .part { opacity: clamp(.55, calc((var(--sc-p, 0) * 6 - var(--i, 0) + 1.4) ), 1); }
}

/* ========================================================== 5 WHERE IT WORKS */
.where__stage { background: var(--bg-dark); }
.scene {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center; gap: clamp(2rem, 5vw, 6rem); padding: var(--bar-h) var(--sc-gutter) 0;
}
.scene--web { background: radial-gradient(60% 70% at 78% 50%, rgba(67,56,202,.35), rgba(8,13,33,0) 70%), #080D21; }
.scene--meet { background: radial-gradient(60% 70% at 22% 50%, rgba(34,211,238,.12), rgba(15,23,42,0) 70%), #0F172A; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.scene--meet .scene__text { order: 2; }
.scene--tour { background: radial-gradient(60% 70% at 78% 50%, rgba(94,234,212,.10), rgba(11,17,48,0) 70%), #0B1130; }
.scene__kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-accent); display: flex; gap: .75rem; align-items: center; }
.soon { letter-spacing: .02em; text-transform: none; background: var(--brand-mint); color: var(--bg-dark); padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; }
.scene__title { margin-top: 1rem; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.75rem); line-height: 1; letter-spacing: -0.035em; }
.scene__body { margin-top: 1.5rem; max-width: 40ch; font-size: clamp(1.06rem, 1rem + .3vw, 1.25rem); color: var(--ink-body); }
.scene__art svg { width: 100%; max-height: 64vh; }
.w-frame { fill: rgba(15,23,42,.85); stroke: rgba(148,163,184,.45); stroke-width: 2; }
.w-rule { stroke: rgba(148,163,184,.3); stroke-width: 2; }
.w-dot { fill: rgba(148,163,184,.45); }
.w-block { fill: rgba(226,232,240,.75); }
.w-line { fill: rgba(148,163,184,.18); }
.w-call { fill: var(--success); }
.w-face { fill: #E2E8F0; }
.w-calltext { font: 600 19px var(--sc-font-text); fill: #fff; }
.w-ring { fill: none; stroke: #fff; stroke-width: 2.5; }
.m-edge { fill: none; stroke: rgba(148,163,184,.35); stroke-width: 2; }
.m-edge--ai { stroke: var(--brand-accent); stroke-width: 4; }
.m-name { fill: rgba(8,13,33,.72); }
.m-nametext { font: 600 12px var(--sc-font-text); fill: #fff; }
.m-badgetext--sm { font-size: 12px; }
.m-tile { fill: #1E293B; stroke: rgba(148,163,184,.3); stroke-width: 2; }
.m-tile--ai { stroke: var(--brand-accent); stroke-width: 3; fill: #161D52; }
.m-person { fill: rgba(148,163,184,.4); }
.m-ai { fill: none; stroke: #E2E8F0; stroke-width: 4; }
.m-node { fill: var(--brand-accent); }
.m-badge { fill: var(--brand-accent); }
.m-badgetext { font: 600 14px var(--sc-font-text); fill: var(--bg-dark); }
.t-focus { fill: rgba(34,211,238,.06); stroke: var(--brand-accent); stroke-width: 3; stroke-dasharray: 10 8; }
.t-pip { fill: none; stroke: var(--brand-accent); stroke-width: 3; }

/* ================================================================ 6 TRUST */
.trust { background: none; }
.trust__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.ledger__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; }
.ledger--biz { padding-top: clamp(0rem, 8vw, 7rem); }
.ledger--biz .ledger__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
.ledger dl { margin: 2.25rem 0 0; }
.ledger dl > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .35rem 2rem; padding: 1.15rem 0; border-top: 1px solid rgba(148,163,184,.28); }
.ledger--biz dl > div { grid-template-columns: 1fr; }
.ledger dt { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.1875rem; color: #fff; }
.ledger dd { margin: 0; color: var(--ink-body); }
.ledger dt::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand-accent); margin-right: .7rem; vertical-align: .18em; }

/* ================================================================ 7 CLOSE */
.close__stage { display: grid; grid-template-rows: 1fr auto; place-items: center; padding: var(--bar-h) var(--sc-gutter) 0;
  background: radial-gradient(50% 45% at 50% 40%, rgba(67,56,202,.30), rgba(8,13,33,0) 70%); }
.close__stage::after { --sc-accent: #4338CA; }
.close__inner { display: grid; justify-items: center; text-align: center; }
.close__logo { width: clamp(9rem, 22vh, 15rem); height: auto; }
.close__title { margin-top: 1.75rem; font-size: clamp(2rem, 1.2rem + 3vw, 3.9rem); line-height: 1.05; letter-spacing: -0.032em; max-width: 18ch; }
.close__sub { margin-top: 1.1rem; color: var(--ink-body); font-size: 1.15rem; }
.close__actions { margin-top: 2.2rem; display: grid; justify-items: center; gap: 1rem; }
.close__actions p { color: var(--sc-ink-soft); font-size: .9375rem; max-width: 46ch; }
.close__actions p a { color: var(--brand-accent); }
.foot { width: 100%; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: center; padding: 1.5rem 0 1.75rem 0; border-top: 1px solid rgba(148,163,184,.2); font-size: .875rem; color: var(--sc-ink-soft); }

/* ================================================================ MOBILE */
@media (max-width: 860px) {
  :root { --bar-h: 3.75rem; }
  .bar__brand span { display: none; }

  .hero__subject { width: min(78vw, 46vh); right: 50%; top: 9vh; translate: 50% 0; transform-origin: 50% 50%; }
  .hero__floor { left: 0; right: 0; top: 30vh; bottom: auto; }
  .hero__copy { top: auto; bottom: clamp(5.5rem, 13vh, 8rem); translate: none; width: auto; right: var(--sc-gutter); }
  .hero__title { font-size: clamp(2.2rem, 1.2rem + 5.6vw, 3rem); }
  .hero__sub { margin-top: 1rem; font-size: 1.0625rem; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__light--a { left: -10%; top: -6%; }
  .hero__lens { width: 150vw; right: -70vw; top: 40vh; }

  .quiet__wrap { margin-left: 0; }

  .talk__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 1rem; padding-top: calc(var(--bar-h) + .5rem); }
  .talk__copy { order: 0; padding-left: 0; }
  .talk__phone { order: 1; }
  .talk__title { font-size: clamp(1.6rem, 1.1rem + 3.2vw, 2.2rem); }
  .talk__lines { margin-top: .8rem; min-height: 3.2em; }
  .talk__lines li { font-size: 1.02rem; }
  .phone { --ph-w: min(17.5rem, 31vh, 76vw); border-radius: 2.1rem; }
  .phone__name { font-size: 1.25rem; margin-top: 1.9rem; }
  .phone__caption { min-height: 5.4rem; }
  .phone__caption p { font-size: .875rem; }
  .talk__phone figcaption { font-size: .8125rem; }

  .rail__lead { width: 80vw; }
  .part, .rail__note { width: 78vw; padding: 1.35rem; }
  .part__art { margin-bottom: 1rem; aspect-ratio: 16 / 10; }

  .scene, .scene--meet { grid-template-columns: 1fr; align-content: center; gap: 1.5rem; }
  .scene--meet .scene__text { order: 0; }
  .scene__art svg { max-height: 30vh; }
  .scene__title { font-size: clamp(2.1rem, 1.3rem + 5vw, 3rem); }

  .trust__grid { grid-template-columns: 1fr; gap: 3rem; }
  .ledger dl > div { grid-template-columns: 1fr; }
  .ledger--biz { padding-top: 0; }

  .ringnav__now { display: none; }
  .ringnav__dial { padding: .4rem; }
  .ringnav__dial svg { width: 2.6rem; }
  .foot { padding-bottom: 5.5rem; }
}

@media (max-height: 560px) and (min-width: 861px) {
  .hero__title { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.6rem); }
}

/* ======================================================== REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .hero__far, .hero__floor, .hero__subject, .hero__near, .phone { transform: none !important; }
  .talk__ring { transform: none; }
  .scene { opacity: 0; transition: opacity 220ms ease-out; }
  .scene.is-active { opacity: 1; }
  .ringnav.just-connected .rn-node, .ringnav.just-connected .rn-fill { animation: none; }
}
