/* =========================================================
   Ostia — styles
   ========================================================= */
:root {
  --ink: #07091f;
  --text: #0a0b14;
  --muted: #5d6275;
  --line: #e6e8ef;
  --bg: #ffffff;
  --soft: #f5f6fa;
  --cobalt: #2b45ff;
  --cobalt-deep: #1424b8;
  --ice: #c9d6ff;
  --coral: #ff6b5b;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
h1, h2, h3, p, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cobalt); color: #fff; }
em { font-style: italic; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.kicker b { font-weight: 500; color: var(--cobalt); }
.kicker--light { color: rgba(255, 255, 255, .62); }
.kicker--light b { color: var(--ice); }

.display {
  font-size: clamp(52px, 8vw, 128px);
  line-height: .94;
  letter-spacing: -.05em;
  font-weight: 600;
  color: #fff;
}
.display em { font-weight: 500; color: var(--ice); letter-spacing: -.045em; }
.display--md { font-size: clamp(42px, 6.6vw, 108px); }

.h2 {
  font-size: clamp(42px, 5.2vw, 80px);
  line-height: .98;
  letter-spacing: -.048em;
  font-weight: 600;
}
.h2 em { font-weight: 500; color: var(--cobalt); }
.lede { font-size: 18px; color: var(--muted); max-width: 470px; margin-top: 26px; }

/* ---------- Intro (on load) ---------- */
.mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.mask > span { display: block; }
.js .intro {
  opacity: 0;
  transform: translateY(105%);
  transition: transform 1.3s var(--out), opacity 1s var(--out);
  transition-delay: calc(var(--i, 0) * 90ms + 250ms);
}
.is-loaded .intro { opacity: 1; transform: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--text);
  transform: translateY(calc(var(--ann, 0px) * -1));
  transition: color .5s var(--out), background-color .5s var(--out), border-color .5s, transform .7s var(--out);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 3vw, 40px);
}
.nav.is-dark { color: #fff; }
.nav.is-glass {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(10, 11, 20, .06);
}

.logo { display: inline-flex; align-items: center; gap: .2em; justify-self: start; font-size: 19px; }
.logo__mark {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2.4px solid currentColor;
  display: grid;
  place-items: center;
}
.logo__mark span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cobalt);
}
.nav.is-dark .logo__mark span { background: var(--ice); }
.logo__word { font-weight: 600; font-size: 1em; letter-spacing: .16em; margin-right: -.16em; line-height: 1; }
.logo__o { width: .8em; height: .8em; display: block; flex: none; }
.logo__dot { transform-box: fill-box; transform-origin: center; }

.nav__links { display: flex; gap: 34px; font-size: 14px; }
.nav__links a { position: relative; opacity: .7; transition: opacity .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--out);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__status {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(10, 11, 20, .14);
  transition: border-color .5s;
}
.nav.is-dark .nav__status { border-color: rgba(255, 255, 255, .26); }
.nav__status i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  animation: ping 2s ease-out infinite;
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 680vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hero__card,
.closing__card {
  --t: 76px; --s: 12px; --b: 12px; --r: 28px;
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(var(--t) var(--s) var(--b) var(--s) round var(--r));
  background:
    radial-gradient(ellipse 60% 70% at 68% 48%, #2338e6 0%, rgba(35, 56, 230, 0) 60%),
    radial-gradient(ellipse 80% 80% at 100% 100%, #0e1a8f 0%, rgba(14, 26, 143, 0) 60%),
    linear-gradient(115deg, #050722 0%, #0a1170 55%, #0c1590 100%);
  will-change: clip-path;
}
.heart { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 34, .78) 0%, rgba(5, 7, 34, .25) 45%, rgba(5, 7, 34, 0) 70%),
    radial-gradient(ellipse at center, transparent 50%, rgba(3, 4, 20, .55) 100%);
}
.hero__grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}

.hero__copy--a {
  position: absolute;
  left: calc(var(--s) + clamp(24px, 6vw, 104px));
  top: 50%;
  transform: translateY(-42%);
  will-change: transform, opacity, filter;
}
.hero__copy--b {
  position: absolute;
  left: 50%; top: 50%;
  width: min(1000px, 88vw);
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform, opacity, filter;
}
.statement {
  font-size: clamp(30px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 500;
  color: #fff;
  text-align: center;
}
.statement .dim { color: rgba(201, 214, 255, .55); }

.hud {
  position: absolute; inset: 0; pointer-events: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.hud > div { position: absolute; display: flex; align-items: center; gap: 10px; }
.hud__tl { top: calc(var(--t) + 26px); left: calc(var(--s) + 28px); }
.hud__bl { bottom: calc(var(--b) + 26px); left: calc(var(--s) + 28px); }
.hud__br { bottom: calc(var(--b) + 26px); right: calc(var(--s) + 28px); }
.hud__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: ping 2s ease-out infinite; }
.hud__scroll { position: relative; width: 1px; height: 30px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hud__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: #fff; animation: drip 1.8s var(--out) infinite; }

/* =========================================================
   DEVICE (3D exploded patch)
   ========================================================= */
.device { position: relative; height: 440vh; }
.device__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; overflow: hidden;
}
.device__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 72% 52%, rgba(43, 69, 255, .14) 0%, rgba(43, 69, 255, 0) 42%),
    radial-gradient(circle, rgba(10, 11, 20, .09) 1px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 65% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 70% at 65% 50%, #000 30%, transparent 85%);
}
.device__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
}
.device__copy { padding-top: 40px; }

.layers { list-style: none; margin-top: 44px; max-width: 470px; }
.layers li {
  display: grid; grid-template-columns: 46px 1fr; gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(10, 11, 20, .09);
  opacity: .32;
  transition: opacity .6s var(--out);
}
.layers li:last-child { border-bottom: 1px solid rgba(10, 11, 20, .09); }
.layers li.is-active { opacity: 1; }
.layers__n { font-family: var(--mono); font-size: 12px; color: var(--cobalt); padding-top: 3px; }
.layers b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.layers li > div > span {
  display: block; font-size: 14.5px; color: var(--muted);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .6s var(--out), opacity .6s var(--out);
}
.layers li.is-active > div > span { max-height: 60px; opacity: 1; }

.scene {
  position: relative;
  height: 82vh;
  display: grid; place-items: center;
  perspective: 1900px;
  perspective-origin: 50% 40%;
}
.scene__float { transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.stack {
  position: relative;
  width: min(32vw, 400px);
  aspect-ratio: 1.42;
  transform-style: preserve-3d;
  will-change: transform;
}
.layer { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.layer__face {
  position: absolute; inset: 0;
  border-radius: 34% / 48%;
  overflow: hidden;
  transition: opacity .6s var(--out), box-shadow .6s var(--out);
}
.stack.has-active .layer:not(.is-active) .layer__face { opacity: .6; }
.layer.is-active .layer__face { box-shadow: 0 0 0 1.5px var(--cobalt), 0 0 70px rgba(43, 69, 255, .45); }

/* adhesive */
.layer--0 .layer__face {
  background:
    radial-gradient(circle, rgba(43, 69, 255, .28) 1px, transparent 1.6px) 0 0 / 11px 11px,
    linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(228, 233, 255, .85));
  border: 1px solid rgba(43, 69, 255, .28);
}
/* sensor array */
.layer--1 .layer__face {
  background: linear-gradient(135deg, #2b45ff 0%, #1424b8 55%, #0b137a 100%);
  border: 1px solid rgba(201, 214, 255, .5);
}
.electrodes {
  position: absolute; inset: 14% 12%;
  background: radial-gradient(circle, #e3e9ff 0 4.5px, rgba(227, 233, 255, .25) 5.5px 7px, transparent 7.5px) 0 0 / 38px 38px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}
/* electronics */
.layer--2 .layer__face {
  background:
    linear-gradient(rgba(201, 214, 255, .06) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(90deg, rgba(201, 214, 255, .06) 1px, transparent 1px) 0 0 / 18px 18px,
    #0a0e2c;
  border: 1px solid rgba(201, 214, 255, .22);
}
.chip { position: absolute; border-radius: 6px; background: linear-gradient(145deg, #232a55, #12173a); border: 1px solid rgba(201, 214, 255, .35); }
.chip--a { width: 22%; height: 30%; left: 39%; top: 35%; box-shadow: 0 0 30px rgba(43, 69, 255, .6); }
.chip--b { width: 12%; height: 15%; left: 22%; top: 30%; }
.chip--c { width: 12%; height: 15%; left: 66%; top: 55%; }
.trace { position: absolute; height: 1.5px; background: linear-gradient(90deg, transparent, var(--ice), transparent); opacity: .7; }
.trace--a { left: 14%; right: 61%; top: 38%; }
.trace--b { left: 61%; right: 14%; top: 62%; }
.trace--c { left: 30%; right: 30%; top: 75%; }
.trace::after {
  content: ""; position: absolute; top: -1.5px; width: 14px; height: 4.5px; border-radius: 3px;
  background: #fff; box-shadow: 0 0 10px #8fa6ff; animation: run 2.2s linear infinite;
}
.trace--b::after { animation-delay: .7s; }
.trace--c::after { animation-delay: 1.4s; }
/* shell */
.layer--3 .layer__face {
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 70%),
    linear-gradient(165deg, #ffffff 0%, #eef1ff 60%, #dfe5ff 100%);
  border: 1px solid #fff;
  box-shadow: inset 0 -18px 40px rgba(43, 69, 255, .12);
  display: grid; place-items: center;
}
.shell__logo {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(10, 11, 20, .75);
  display: grid; place-items: center;
}
.shell__logo span { width: 10px; height: 10px; border-radius: 50%; background: rgba(10, 11, 20, .75); }

.stack__shadow {
  position: absolute; inset: 6% 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(14, 22, 90, .35), rgba(14, 22, 90, 0) 70%);
  filter: blur(22px);
  will-change: transform, opacity;
}
.scene__caption {
  position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(10, 11, 20, .4); white-space: nowrap;
}

/* =========================================================
   VISION (word reveal)
   ========================================================= */
.vision { position: relative; height: 460vh; }
.vision__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 15%, rgba(59, 87, 255, .55) 0%, rgba(59, 87, 255, 0) 60%),
    radial-gradient(ellipse 70% 60% at 10% 100%, rgba(4, 8, 60, .6) 0%, rgba(4, 8, 60, 0) 70%);
  color: #fff;
}
.reveal-words {
  position: relative;
  font-size: clamp(30px, 4.1vw, 64px);
  line-height: 1.1;
  letter-spacing: -.038em;
  font-weight: 500;
  max-width: 1150px;
}
.reveal-words .w { opacity: .16; transition: opacity .35s linear; }
.reveal-words .w.on { opacity: 1; }

.vision__rings { position: absolute; right: -18vmin; top: 50%; width: 0; height: 0; will-change: transform; }
.vision__rings span {
  position: absolute; left: 0; top: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  transform: translate(-50%, -50%);
}
.vision__rings span:nth-child(1) { width: 30vmin; height: 30vmin; border-color: rgba(255, 255, 255, .22); }
.vision__rings span:nth-child(2) { width: 56vmin; height: 56vmin; }
.vision__rings span:nth-child(3) { width: 84vmin; height: 84vmin; border-style: dashed; }
.vision__rings span:nth-child(4) { width: 114vmin; height: 114vmin; }
.vision__rings span:nth-child(5) { width: 150vmin; height: 150vmin; border-color: rgba(255, 255, 255, .07); }
.vision__rings span:nth-child(2)::after,
.vision__rings span:nth-child(4)::after {
  content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 18px var(--ice);
}
.vision__rings span:nth-child(4)::after { background: var(--coral); box-shadow: 0 0 18px var(--coral); left: auto; right: -5px; }

/* =========================================================
   HOW (horizontal)
   ========================================================= */
.how { position: relative; }
.how__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  perspective: 1600px;
}
.how__track {
  display: flex; align-items: center; gap: 28px;
  padding: 0 12vw 0 clamp(20px, 7vw, 120px);
  transform-style: preserve-3d;
  will-change: transform;
}
.how__intro { flex: 0 0 min(460px, 82vw); padding-right: 40px; }
.how__progress { margin-top: 48px; width: 220px; height: 2px; background: var(--line); overflow: hidden; }
.how__progress span { display: block; height: 100%; background: var(--cobalt); transform-origin: left; transform: scaleX(0); }

.hcard {
  flex: 0 0 min(500px, 80vw);
  height: min(640px, 74vh);
  display: flex; flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(14, 22, 90, .25);
  will-change: transform;
}
.hcard__visual { position: relative; flex: 1; overflow: hidden; display: grid; place-items: center; }
.hcard__body { padding: 28px 32px 34px; background: #fff; border-top: 1px solid var(--line); }
.hcard__step { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 10px; }
.hcard__step--coral { color: var(--coral); }
.hcard h3 { font-size: 27px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 10px; }
.hcard__body p:last-child { color: var(--muted); font-size: 15.5px; }

/* sense */
.hcard__visual--sense { background: radial-gradient(circle at 59% 78%, #dfe5ff 0%, var(--soft) 60%); place-items: end center; }
.torso { width: 88%; display: block; }
.torso__line { fill: none; stroke: #9aa4cc; stroke-width: 1.5; stroke-linecap: round; }
.torso__line--soft { stroke: #c5cbe3; }
.torso .pc {
  fill: none; stroke: var(--cobalt); stroke-width: 1.2;
  transform-box: fill-box; transform-origin: center;
  animation: ring-out 3s var(--out) infinite;
}

/* detect */
.hcard__visual--detect { background: radial-gradient(circle at 70% 30%, #fff0ee 0%, var(--soft) 55%); }
.bars { display: flex; align-items: flex-end; gap: 7px; width: 78%; height: 58%; position: relative; }
.bars i {
  flex: 1; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(to top, #c7d1ff, var(--cobalt));
  transform: scaleY(.05); transform-origin: bottom;
  transition: transform 1s var(--out);
}
.bars i.hot { background: linear-gradient(to top, #ffc9c2, var(--coral)); }
.hcard.is-near .bars i { transform: scaleY(1); }
.bars__line {
  position: absolute; left: -2%; right: -2%; bottom: 46%;
  border-top: 1.5px dashed rgba(10, 11, 20, .3);
  z-index: 2;
}
.bars__line em {
  position: absolute; left: 0; top: -22px; font-style: normal;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.bars__note {
  position: absolute; left: 20px; bottom: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(10, 11, 20, .4);
}

/* act */
.hcard__visual--act { background: radial-gradient(circle at 50% 50%, #e3e8ff 0%, var(--soft) 65%); }
.notif {
  position: relative; z-index: 2;
  width: 80%;
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 30px 60px -20px rgba(14, 22, 90, .3), 0 0 0 1px rgba(10, 11, 20, .04);
  transform: translateY(30px) scale(.96); opacity: 0;
  transition: transform 1s var(--out) .15s, opacity 1s var(--out) .15s;
}
.notif--back {
  position: absolute; z-index: 1; height: 90px; width: 68%;
  top: calc(50% - 85px);
  background: rgba(255, 255, 255, .55);
  transition-delay: .35s;
}
.hcard.is-near .notif { transform: none; opacity: 1; }
.notif__head { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.notif__head span:last-child { margin-left: auto; font-size: 12px; color: var(--muted); }
.notif__icon { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(140deg, var(--cobalt), #0b137a); position: relative; }
.notif__icon::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--coral); }
.notif p { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--text); }

/* =========================================================
   CLOSING (closes on scroll)
   ========================================================= */
.closing { position: relative; height: 260vh; }
.closing__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.closing__card { --t: 0px; --s: 0px; --b: 0px; --r: 0px; }
.closing__copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
  will-change: transform, opacity;
}
.closing__sub { margin-top: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; padding: 110px 0 40px; background: var(--soft); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.logo--dark { color: var(--text); }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); gap: 56px; }
.footer__h { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #9a9fb0; margin-bottom: 18px; }
.footer__cols a, .footer__cols span { display: block; font-size: 15px; line-height: 2; color: var(--text); }
.footer__cols a { transition: color .3s; }
.footer__cols a:hover { color: var(--cobalt); }
.footer__big {
  margin: 140px 0 90px;
  font-size: clamp(44px, 7.6vw, 124px);
  line-height: .95; letter-spacing: -.055em; font-weight: 600;
}
.footer__big em { font-weight: 500; color: var(--cobalt); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* =========================================================
   HEART: glow, callouts, figure caption
   ========================================================= */
.heart-glow {
  position: absolute; left: 0; top: 0;
  width: 900px; height: 900px; margin: -450px 0 0 -450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 100, 255, .55) 0%, rgba(70, 100, 255, .18) 35%, rgba(70, 100, 255, 0) 65%);
  pointer-events: none;
  will-change: transform, opacity;
}
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.callout__in {
  position: absolute; top: 0;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
  transform: translateY(-50%);
}
.callout--r .callout__in { left: -4px; }
.callout--l .callout__in { right: -4px; flex-direction: row-reverse; text-align: right; }
.callout i {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .14), 0 0 16px rgba(255, 255, 255, .7);
  transform: scale(0);
  transition: transform .6s var(--out) var(--d);
}
.callout__line {
  flex: none; width: clamp(36px, 5vw, 80px); height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .25));
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--out) calc(var(--d) + 120ms);
}
.callout--l .callout__line { transform-origin: right; background: linear-gradient(270deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .25)); }
.callout__txt {
  opacity: 0; transform: translateX(-10px);
  transition: opacity .7s var(--out) calc(var(--d) + 360ms), transform .7s var(--out) calc(var(--d) + 360ms);
}
.callout--l .callout__txt { transform: translateX(10px); }
.callout__txt b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: #fff; line-height: 1.2; }
.callout__txt span { display: block; margin-top: 3px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(201, 214, 255, .7); }
.callout.on i { transform: scale(1); }
.callout.on .callout__line { transform: scaleX(1); }
.callout.on .callout__txt { opacity: 1; transform: none; }
.callout.off-back { opacity: .25; transition: opacity .4s; }
.callout--hot i { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 91, .2), 0 0 18px rgba(255, 107, 91, .9); animation: ping 2s ease-out infinite; }
.callout--hot .callout__txt span { color: #ffb3aa; }
.callout--hot .callout__line { background: linear-gradient(90deg, var(--coral), rgba(255, 107, 91, .3)); }

.figcap {
  position: absolute;
  left: calc(var(--s) + 28px); bottom: calc(var(--b) + 26px); right: calc(var(--s) + 28px);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--out), transform .7s var(--out);
  pointer-events: none;
}
.figcap.on { opacity: 1; transform: none; }
.figcap__n { color: #fff; padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; }
.figcap__legend { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-left: 10px; }
.lg--o { background: var(--coral); box-shadow: 0 0 8px var(--coral); }
.lg--d { background: #8cb4ff; box-shadow: 0 0 8px #8cb4ff; }
.lg--e { background: #fff; box-shadow: 0 0 8px #fff; }
.lg--i { background: var(--ice); box-shadow: 0 0 8px var(--ice); }

/* =========================================================
   Side rail (section tracker)
   ========================================================= */
.rail {
  position: fixed; right: 22px; top: 50%; z-index: 90;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  mix-blend-mode: difference; color: #fff;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none;
}
.rail span { display: flex; align-items: center; gap: 10px; opacity: .45; transition: opacity .5s var(--out); }
.rail span::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .6s var(--out); }
.rail span { color: transparent; }
.rail span::after { background: #fff; }
.rail span.on { opacity: 1; color: #fff; }
.rail span.on::after { width: 34px; }

/* =========================================================
   Split-word headline reveals + fade-up
   ========================================================= */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wm > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--out); transition-delay: var(--wd, 0ms); }
[data-split].in .wm > span { transform: none; }
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--out) .25s, transform 1s var(--out) .25s; }
.js .rv.in { opacity: 1; transform: none; }
[data-magnetic] { transition: transform .5s var(--out); will-change: transform; }

@media (max-width: 960px) {
  .rail { display: none; }
  .figcap__legend { display: none; }
  .callout__txt span { display: none; }
  .callout__txt b { font-size: 13px; }
  .callout__line { width: 22px; }
  .heart-glow { width: 600px; height: 600px; margin: -300px 0 0 -300px; }
}

/* =========================================================
   INTRO LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1);
  animation: loader-safe .01s 6s forwards;
}
@keyframes loader-safe { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.loader.out { clip-path: inset(0 0 100% 0); }
.loader.gone { display: none; }
.loader__logo { display: flex; align-items: center; gap: .2em; font-size: clamp(44px, 7vw, 84px); color: var(--text); }
.loader__o { width: .8em; height: .8em; overflow: visible; }
.loader__ring {
  fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transform: rotate(-90deg); transform-origin: 24px 24px;
  animation: ring-draw 1s cubic-bezier(.65, 0, .35, 1) .15s forwards;
}
.loader__dot { fill: currentColor; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: dot-pop .5s var(--out) 1s forwards; }
.loader__word { display: inline-flex; overflow: hidden; font-weight: 600; letter-spacing: .16em; margin-right: -.16em; line-height: 1; padding: .06em 0; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: letter-up .9s var(--out) forwards; animation-delay: calc(.85s + var(--k) * 70ms); }
.loader__ecg { width: min(320px, 70vw); height: 40px; overflow: visible; }
.loader__ecg path {
  fill: none; stroke: var(--cobalt); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: trace-draw 1.5s cubic-bezier(.45, 0, .2, 1) .35s forwards;
}
.loader__meta { display: flex; gap: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.loader__meta b { color: var(--text); font-weight: 500; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes dot-pop { to { transform: scale(1); } }
@keyframes letter-up { to { transform: none; } }
html.is-loading, html.is-loading body { overflow: hidden; }

/* =========================================================
   HERO extra stages + foreground depth
   ========================================================= */
.hero__copy--c {
  position: absolute;
  left: calc(var(--s) + clamp(24px, 6vw, 104px));
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  max-width: min(620px, 42vw);
  will-change: transform, opacity, filter;
}
.statement--left { text-align: left; }
.statement em { font-weight: 500; color: var(--ice); }
.fg-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* =========================================================
   COMPARE (healthy vs HFpEF)
   ========================================================= */
.compare { position: relative; height: 340vh; }
.compare__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 28% 55%, rgba(43, 69, 255, .35), rgba(43, 69, 255, 0) 70%),
    radial-gradient(ellipse 50% 60% at 72% 55%, rgba(255, 107, 91, .16), rgba(255, 107, 91, 0) 70%);
  color: #fff;
}
.compare__head { position: relative; z-index: 2; padding-top: clamp(96px, 13vh, 140px); }
.h2--light { color: #fff; font-size: clamp(36px, 4.4vw, 68px); }
.h2--light em { color: var(--ice); }
.compare__labels {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(28px, 7vh, 72px);
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1320px; margin: 0 auto; padding: 0 var(--pad);
}
.clabel { justify-self: center; width: min(300px, 40vw); opacity: 0; will-change: transform, opacity; }
.clabel__tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.clabel__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); }
.clabel--hot .clabel__tag::before { background: var(--coral); box-shadow: 0 0 10px var(--coral); animation: ping 2s ease-out infinite; }
.clabel dl { margin: 0; }
.clabel dl div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.clabel dt { font-size: 13px; color: rgba(255, 255, 255, .6); }
.clabel dd { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; min-width: 140px; justify-content: flex-end; }
.meter { width: 72px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--v, .5) * 100%); background: var(--ice); border-radius: 2px; }
.meter--hot i { background: var(--coral); }
.compare__foot {
  position: absolute; z-index: 2; right: var(--pad); top: clamp(110px, 15vh, 160px);
  max-width: 340px; font-size: 17px; line-height: 1.45; color: #fff;
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--out), transform .8s var(--out);
}
.compare__foot span { color: rgba(201, 214, 255, .65); }
.compare__foot.on { opacity: 1; transform: none; }
.compare__note { position: absolute; z-index: 2; right: var(--pad); bottom: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .35); }

@media (max-width: 960px) {
  .hero__copy--c { top: auto; bottom: calc(var(--b) + 70px); transform: none; max-width: none; right: calc(var(--s) + 24px); }
  .compare__foot { position: absolute; top: calc(clamp(96px, 13vh, 140px) + 118px); bottom: auto; left: var(--pad); right: var(--pad); max-width: none; font-size: 14px; line-height: 1.4; text-align: left; }
  .compare__labels { gap: 12px; }
  .clabel { width: 100%; }
  .clabel dl div { grid-template-columns: 1fr; gap: 4px; padding: 6px 0; }
  .clabel dt { font-size: 11px; }
  .clabel dd { justify-content: flex-start; min-width: 0; font-size: 12px; }
  .meter { width: 48px; }
  .clabel__tag { font-size: 10px; }
}

/* =========================================================
   PAGE: colour wash + footer revealed underneath
   ========================================================= */
main {
  position: relative; z-index: 2;
  background: #fff;
  border-radius: 0 0 clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px);
  box-shadow: 0 50px 90px -30px rgba(10, 14, 60, .28);
}
.footer.is-under { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; }
.footer.is-under .wrap { will-change: transform, opacity; }

/* announcement bar */
.announce {
  height: 38px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--ink); color: rgba(255, 255, 255, .86);
  font-size: 13px; letter-spacing: -.005em;
  position: relative;
}
.announce__link { display: inline-flex; align-items: center; gap: 10px; }
.announce__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: ping 2s ease-out infinite; }
.announce__arrow { display: inline-block; transition: transform .5s var(--out); }
.announce__link:hover .announce__arrow { transform: translateX(5px); }
.announce__link:hover > span:nth-child(2) { color: #fff; }
.announce__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: transparent; color: rgba(255, 255, 255, .55); font-size: 18px; line-height: 1; cursor: pointer;
}
.announce__close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__inner { position: relative; }
.nav.is-glass .announce, .nav.is-dark .announce { border-bottom: 0; }

/* hero headline (longer line) */
.display--hero { font-size: clamp(44px, 5.6vw, 96px); line-height: .98; }

/* =========================================================
   VISION: zoom through the heart into a scan
   ========================================================= */
.vision__scan { position: absolute; inset: -4%; opacity: 0; will-change: transform, opacity; }
.vision__scan img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vision__shade {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 70, .88) 0%, rgba(6, 10, 70, .55) 55%, rgba(6, 10, 70, .2) 100%);
}
.vision__copy { position: relative; z-index: 2; opacity: 0; will-change: opacity, transform; }
.vision__tag {
  position: absolute; left: 50%; bottom: 9vh; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); opacity: 0; white-space: nowrap;
}
.vision__tag span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin-right: 10px; vertical-align: middle; animation: ping 2s ease-out infinite; }
.vision__note { position: absolute; z-index: 2; right: var(--pad); bottom: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .35); }

/* =========================================================
   TODAY: tilted cards fan out
   ========================================================= */
.today { position: relative; height: 420vh; }
.today__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1800px; }
.today__head { position: relative; z-index: 3; padding-top: clamp(100px, 14vh, 150px); will-change: transform, opacity; }
.fan {
  position: absolute; left: 50%; top: 60%;
  width: 0; height: 0;
  transform-style: preserve-3d;
}
.fcard {
  position: absolute; margin: 0;
  width: clamp(220px, 21vw, 320px);
  left: calc(clamp(220px, 21vw, 320px) / -2);
  top: calc(clamp(220px, 21vw, 320px) * -0.72);
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.fcard__img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: #04061f;
  box-shadow: 0 0 0 1px rgba(123, 132, 255, .55), 0 50px 80px -30px rgba(14, 22, 120, .55);
}
.fcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcard__img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 40%);
}
.fcard__chip {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; padding: 4px 8px; border-radius: 999px; background: rgba(4, 6, 31, .55); border: 1px solid rgba(255, 255, 255, .25);
}
.fcard figcaption { padding-top: 16px; opacity: 0; transform: translateY(10px); transition: opacity .7s var(--out), transform .7s var(--out); }
.fan.is-open figcaption { opacity: 1; transform: none; }
.fcard figcaption b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.fcard figcaption span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.fcard__img--diary {
  background:
    radial-gradient(ellipse 80% 60% at 70% 90%, rgba(255, 107, 91, .28), rgba(255, 107, 91, 0) 70%),
    linear-gradient(160deg, #0c1690 0%, #060a40 100%);
  display: grid; place-items: center;
}
.diary { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; width: 74%; margin-top: 18px; }
.diary i {
  aspect-ratio: 1; border-radius: 50%;
  background: rgba(201, 214, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(201, 214, 255, .25);
}
.diary i.d1 { background: rgba(255, 140, 128, .35); box-shadow: none; }
.diary i.d2 { background: rgba(255, 120, 106, .7); box-shadow: none; }
.diary i.d3 { background: var(--coral); box-shadow: 0 0 12px var(--coral); }
.diary i.h { background: #fff; box-shadow: 0 0 0 3px rgba(255, 107, 91, .7), 0 0 18px var(--coral); }
.diary__lab { grid-column: 1 / -1; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-top: 6px; display: flex; justify-content: space-between; }
.today__or {
  position: absolute; z-index: 3; left: 50%; top: 56%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 34px;
  opacity: 0; pointer-events: none; width: min(900px, 90vw);
  will-change: transform, opacity;
}
.statement--ink { color: var(--text); }
.statement--ink em { color: var(--cobalt); }
.minipatch {
  width: 150px; aspect-ratio: 1.42; border-radius: 34% / 48%;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, #fff, rgba(255, 255, 255, 0) 70%),
    linear-gradient(165deg, #ffffff 0%, #eef1ff 60%, #dfe5ff 100%);
  box-shadow: 0 0 0 1px rgba(43, 69, 255, .18), 0 40px 60px -20px rgba(20, 30, 140, .4), inset 0 -12px 30px rgba(43, 69, 255, .12);
  display: grid; place-items: center;
}
.minipatch .shell__logo { width: 26px; height: 26px; border-width: 2.5px; }
.minipatch .shell__logo span { width: 8px; height: 8px; }
.today__note { position: absolute; right: var(--pad); bottom: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(10, 11, 20, .35); }

/* =========================================================
   UK DOT MAP
   ========================================================= */
.ukmap { position: relative; height: 340vh; }
.ukmap__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; color: #fff; }
.ukmap__sticky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 70% at 72% 50%, rgba(140, 160, 255, .35), rgba(140, 160, 255, 0) 70%);
}
.ukmap__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ukmap__lede { margin-top: 26px; max-width: 440px; font-size: 18px; color: rgba(255, 255, 255, .78); }
.ukmap__legend { margin-top: 36px; display: grid; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ukmap__state { display: flex; align-items: center; gap: 2px; opacity: .35; transition: opacity .6s var(--out); }
.ukmap__state.on { opacity: 1; }
.ukmap__state .lg { margin: 0 10px 0 0; }
.ukmap__stage { position: relative; height: 86vh; perspective: 1400px; }
.ukmap__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: transform; }
.ukmap__note { position: absolute; right: var(--pad); bottom: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }

/* =========================================================
   ROADMAP: rows stack up, then fold away
   ========================================================= */
.road { position: relative; height: 400vh; }
.road__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; color: #fff; }
.road__bg { position: absolute; inset: -6%; opacity: .16; mix-blend-mode: luminosity; will-change: transform; }
.road__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px); }
.road__inner { position: relative; }
.road__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; will-change: transform, opacity; }
.road__side { max-width: 330px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.road__rows { list-style: none; display: grid; gap: 10px; perspective: 1400px; }
.rrow {
  display: grid; grid-template-columns: 70px 220px 1fr auto; align-items: center; gap: 20px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, .94);
  color: var(--text);
  border-radius: 4px;
  box-shadow: 0 6px 0 rgba(30, 36, 160, .55), 0 30px 50px -20px rgba(10, 14, 80, .45);
  transform-origin: 50% 0;
  will-change: transform, opacity;
}
.rrow__n { font-family: var(--mono); font-size: 12px; color: var(--cobalt); }
.rrow b { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.rrow p { font-size: 15px; color: var(--muted); max-width: 520px; }
.rrow__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px;
}
.rrow.is-now .rrow__tag { color: #fff; background: var(--cobalt); border-color: var(--cobalt); }

@media (max-width: 960px) {
  .announce { font-size: 11.5px; padding: 0 40px 0 14px; justify-content: flex-start; }
  .announce__link > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fcard { width: 30vw; left: -15vw; top: -22vw; }
  .display--hero { font-size: clamp(30px, 8.3vw, 56px); }
  .diary__lab { display: none; }
  .announce__link { min-width: 0; max-width: 100%; }
  .announce__link > span:nth-child(2) { min-width: 0; }
  .road__sticky { align-items: flex-start; padding-top: 92px; }
  .fcard figcaption span { display: none; }
  .fcard figcaption b { font-size: 13px; }
  .fan { top: 58%; }
  .today__head .h2 { font-size: clamp(34px, 9vw, 56px); }
  .ukmap__grid { grid-template-columns: 1fr; gap: 0; }
  .ukmap__sticky { align-items: flex-start; padding-top: 96px; }
  .ukmap__lede { font-size: 15px; margin-top: 14px; }
  .ukmap__legend { margin-top: 16px; }
  .ukmap__stage { height: 46vh; height: 46svh; }
  .ukmap .h2--light { font-size: clamp(32px, 8.4vw, 52px); }
  .road__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .road__side { display: none; }
  .road .h2--light { font-size: clamp(34px, 9vw, 56px); }
  .rrow { grid-template-columns: 34px 1fr auto; gap: 6px 12px; padding: 16px 16px; }
  .rrow p { grid-column: 2 / -1; grid-row: 2; font-size: 13.5px; }
  .rrow__tag { grid-column: 3; grid-row: 1; padding: 4px 8px; font-size: 9px; }
  .compare .h2--light { font-size: clamp(30px, 8.2vw, 52px); }
  .rrow b { font-size: 17px; }
}

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.35); }
  28% { transform: scale(1); }
  42% { transform: scale(1.18); }
  60% { transform: scale(1); }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 91, .55); }
  80%, 100% { box-shadow: 0 0 0 9px rgba(255, 107, 91, 0); }
}
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}
@keyframes float { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(10px); } }
@keyframes shimmer { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes run { 0% { left: -10%; } 100% { left: 100%; } }
@keyframes ring-out { 0% { transform: scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .hero__vignette { background: linear-gradient(0deg, rgba(5, 7, 34, .85) 0%, rgba(5, 7, 34, .2) 55%, rgba(5, 7, 34, 0) 80%); }
  .hero__copy--a { top: auto; bottom: calc(var(--s) + 80px); transform: none; }

  .device { height: 400vh; }
  .device__grid { grid-template-columns: 1fr; gap: 0; }
  .device__copy { padding-top: 70px; }
  .device__copy .lede { display: none; }
  .device .h2 { font-size: clamp(36px, 9vw, 56px); }
  .layers { margin-top: 20px; }
  .layers li { display: none; border: 0 !important; padding: 0; }
  .layers li.is-active { display: grid; }
  .scene { height: 50vh; height: 50svh; }
  .stack { width: min(64vw, 340px); }
  .scene__caption { bottom: 0; }

  .how { height: auto !important; }
  .how__sticky { position: static; height: auto; display: block; padding: 110px 0; perspective: none; }
  .how__track { flex-direction: column; align-items: stretch; padding: 0 var(--pad); gap: 18px; transform: none !important; }
  .how__intro { flex: none; padding: 0 0 24px; }
  .how__progress { display: none; }
  .hcard { flex: none; height: auto; transform: none !important; }
  .hcard__visual { height: 300px; flex: none; }
}
@media (max-width: 600px) {
  .nav__status { font-size: 12px; padding: 7px 12px; }
  .hud__br { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .footer { padding: 64px 0 28px; }
  .footer__big { margin: 56px 0 44px; }
  .footer__bottom { flex-direction: column; }
}

/* short phones (iPhone SE, small Androids) */
@media (max-width: 960px) and (max-height: 740px) {
  .compare__head { padding-top: 84px; }
  .compare__foot { top: 190px; font-size: 13px; }
  .compare__labels { bottom: 16px; }
  .clabel dl div { padding: 4px 0; }
  .ukmap__sticky { padding-top: 80px; }
  .ukmap .h2--light, .road .h2--light { font-size: 30px; }
  .ukmap__lede { font-size: 13.5px; line-height: 1.45; margin-top: 10px; }
  .ukmap__legend { margin-top: 10px; gap: 6px; }
  .ukmap__stage { height: 38vh; height: 38svh; }
  .kicker { margin-bottom: 16px; }
  .road__sticky { padding-top: 78px; }
  .road__head { margin-bottom: 14px; }
  .road__rows { gap: 8px; }
  .rrow { padding: 10px 14px; grid-template-columns: 1fr auto; gap: 4px 10px; }
  .rrow__n { display: none; }
  .rrow b { grid-column: 1; grid-row: 1; }
  .rrow p { grid-column: 1 / -1; }
  .rrow__tag { grid-column: 2; }
  .road__sticky { padding-top: 70px; }
  .compare__note { display: none; }
  .rrow b { font-size: 16px; }
  .rrow p { font-size: 12.5px; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .intro, .js .rv { opacity: 1; transform: none; }
  .loader { display: none; }
  .vision__copy, .vision__shade { opacity: 1; }
  .vision__scan { opacity: .5; }
  .today__or { position: relative; left: auto; top: auto; transform: none; opacity: 1; margin: 40px auto; }
  .wm > span { transform: none; }
}
