/* ══════════════════════════════════════════════════════════════════
   Ẹ̀RỌ LABS — visual system

   Ground is black and mostly empty. Display type is set LIGHT and large,
   never bold — weight is what makes big type feel bulky. Structure is
   carried by monospace labels and hairlines, not by cards or borders.
   ══════════════════════════════════════════════════════════════════ */

:root{
  --bg:#000;                 /* pitch black — every layer above it is an asset */
  --ink:#EDEFF4;
  --ink-2:#8F97A8;
  --ink-3:#565E70;
  --line:rgba(255,255,255,.09);
  --line-2:rgba(255,255,255,.045);

  --blue:#1E90FF;
  --indigo:#3F5BFF;
  --violet:#A625EE;
  --violet-ink:#C36BFF;      /* the same violet, legible as type on black */
  --warn:#FF6B8A;            /* errors — semantic, deliberately not the accent */
  --grad:linear-gradient(90deg,#1E90FF 0%,#3F5BFF 45%,#A625EE 100%);
  --grad-v:linear-gradient(180deg,#1E90FF 0%,#A625EE 100%);

  /* one unit that respects BOTH axes, so every stop fits the frame */
  --u:min(1vw,1.72vh);

  /* Sora is the authority, Manrope the human clarity, Plex Mono the system
     running underneath. The cosmic ground is already busy; the type's job is
     to bring order to it, so the display voice carries real weight rather than
     competing delicately with the stars.

     Measured before sizing: Sora's cap-height is 74/100px at EVERY weight, so
     weight can change without the scale moving. Manrope sits within 3% of the
     sans it replaces on both cap and width, and Plex Mono's advance is
     identical to Geist's — so body and labels needed no size changes at all. */
  --f-display:"Sora",system-ui,sans-serif;
  --f-text:"Manrope",system-ui,-apple-system,"Helvetica Neue",sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --f-mark:"Poppins",system-ui,sans-serif;   /* the wordmark only — the logo */

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

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
/* The UA stylesheet's [hidden]{display:none} is a plain author-level rule, so
   ANY display declaration of ours beats it. .fb-swap and .reader-swap both set
   display:inline-flex, which meant setting .hidden = true left the attribute
   on and the button on screen — the case-study switcher was showing over the
   category films in How We Work. Restated with !important so hiding an element
   is hiding it, whatever else it is styled as. */
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--f-text);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  cursor:none;
}
body.is-touch{cursor:auto}
::selection{background:var(--violet);color:#fff}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:none}
body.is-touch button,body.is-touch a{cursor:pointer}
:focus-visible{outline:1px solid var(--blue);outline-offset:3px}

/* ── canvas + film ─────────────────────────────────────────────── */
#sky{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
#galaxy{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
#field{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
/* Grain in normal blend paints ~12/255 of grey over EVERY pixel, ground
   included — measured, not guessed — which is why the site never read as black
   while the loader (which sits above the grain, at z-index 100) did. In overlay
   the formula multiplies through on anything below mid-grey, so #000 stays
   exactly #000 and the texture only lands where there is already light. */
#grain{
  position:fixed;inset:-50%;z-index:6;pointer-events:none;opacity:.17;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:grain 5s steps(5) infinite;
}
@keyframes grain{
  0%,100%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)}
  40%{transform:translate(2%,-3%)}  60%{transform:translate(-2%,-2%)} 80%{transform:translate(3%,1%)}
}
/* ── aurora ────────────────────────────────────────────────────────
   Fades in five seconds after a melt begins and brightens on the beat.
   Soft radial gradients rather than blur filters: gradients are already
   soft, so there is nothing per-frame to rasterise. Display is dropped
   entirely when it is not showing, so normal browsing pays nothing. */
#aurora{position:fixed;inset:0;z-index:1;pointer-events:none;display:none;opacity:0}
#auroraCanvas{
  position:absolute;inset:0;width:100%;height:100%;display:block;
  /* drawn at ~45% resolution and scaled up: the upscale IS the softness,
     and it costs nothing next to a real blur pass */
  image-rendering:auto;
}
/* the gradient blobs are the no-WebGL fallback only */
#aurora i{display:none}
#aurora.no-gl #auroraCanvas{display:none}
#aurora.no-gl i{display:block}
#aurora.on{display:block}
#aurora.no-gl i{position:absolute;border-radius:50%;will-change:transform}
#aurora.no-gl i:nth-of-type(1){
  left:-8%;top:-12%;width:74vw;height:74vw;
  background:radial-gradient(circle,rgba(30,144,255,.50),rgba(30,144,255,.14) 42%,transparent 66%);
  animation:auroraA 34s ease-in-out infinite;
}
#aurora.no-gl i:nth-of-type(2){
  right:-14%;top:2%;width:66vw;height:66vw;
  background:radial-gradient(circle,rgba(166,37,238,.46),rgba(166,37,238,.12) 44%,transparent 68%);
  animation:auroraB 43s ease-in-out infinite;
}
#aurora.no-gl i:nth-of-type(3){
  left:16%;bottom:-28%;width:82vw;height:64vw;
  background:radial-gradient(ellipse,rgba(110,90,255,.40),rgba(60,120,255,.10) 46%,transparent 70%);
  animation:auroraC 51s ease-in-out infinite;
}
@keyframes auroraA{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(12vw,8vh,0) scale(1.22)}}
@keyframes auroraB{0%,100%{transform:translate3d(0,0,0) scale(1.1)}50%{transform:translate3d(-14vw,12vh,0) scale(.88)}}
@keyframes auroraC{0%,100%{transform:translate3d(0,0,0) scale(.95)}50%{transform:translate3d(9vw,-10vh,0) scale(1.18)}}

#vignette{
  position:fixed;inset:0;z-index:5;pointer-events:none;
  background:radial-gradient(140% 110% at 50% 45%,transparent 50%,rgba(0,0,0,.62) 100%);
}

/* ── cursor ────────────────────────────────────────────────────── */
.cursor{position:fixed;top:0;left:0;z-index:101;pointer-events:none;mix-blend-mode:difference;will-change:transform}
.cursor i{
  display:block;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;
  background:#fff;transition:transform .35s var(--ease),opacity .3s;
}
.cursor.is-lg i{transform:scale(4);opacity:.28}
/* An invitation with words on it. difference blending is what keeps the small
   dot visible over anything, but it would invert the label into illegibility,
   so the read state drops it and pays for its own contrast: a solid white
   disc with near-black type. The glow is sized pre-scale — a box-shadow on a
   scaled element is multiplied by the scale. */
.cursor.is-read{mix-blend-mode:normal}
.cursor.is-read i{transform:scale(14.4);opacity:1;box-shadow:0 0 2.6px .35px rgba(195,107,255,.55)}
.cur-t{
  position:absolute;left:0;top:0;width:98px;
  transform:translate(-50%,-50%) scale(.88);
  font-family:var(--f-mono);font-weight:400;font-size:10px;line-height:1.55;
  letter-spacing:.14em;text-transform:uppercase;text-align:center;color:#07070C;
  opacity:0;pointer-events:none;
  transition:opacity .28s var(--ease) .08s,transform .38s var(--ease);
}
.cursor.is-read .cur-t{opacity:1;transform:translate(-50%,-50%) scale(1)}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ── the redacted name ─────────────────────────────────────────────
   Real type, blurred past reading. A block of colour would only say "something
   is hidden here"; a name you can see the shape of says a real client signed a
   real NDA. The radius is in em so it tracks the heading through every
   breakpoint — a fixed px blur turns legible the moment the type scales up.
   The text is a stand-in, not the client's name, which appears nowhere. */
.case-name,.cf-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:.42em}
.cn-k{color:var(--ink-3);font-weight:300}
.redact{
  display:inline-block;
  filter:blur(.26em);
  opacity:.92;
  user-select:none;
  -webkit-user-select:none;
}
body.is-touch .cursor{display:none}

/* ── loader ─────────────────────────────────────────────────────────
   A cosmos, not a progress bar. Aurora wings drift behind a starfield, the
   aperture beats like a heart, and choosing an audio option collapses the
   whole thing into the mark and drops you at the hero. */
#loader{
  position:fixed;inset:0;z-index:100;background:#000;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  transition:opacity .25s linear,visibility .25s;
}
#loader.done{opacity:0;visibility:hidden;pointer-events:none}
.ld-stars{position:absolute;inset:0;width:100%;height:100%}

/* the aurora, blurred once and then only ever transformed */
.ld-wing{
  position:absolute;border-radius:50%;pointer-events:none;
  filter:blur(60px);mix-blend-mode:screen;
}
.ld-wing-a{
  left:-18vw;top:6vh;width:76vw;height:46vh;
  background:radial-gradient(ellipse at 72% 50%,rgba(30,144,255,.60),rgba(30,144,255,0) 64%);
  animation:ldWingA 17s ease-in-out infinite;
}
.ld-wing-b{
  right:-18vw;top:2vh;width:78vw;height:50vh;
  background:radial-gradient(ellipse at 28% 50%,rgba(166,37,238,.58),rgba(166,37,238,0) 64%);
  animation:ldWingB 21s ease-in-out infinite;
}
.ld-wing-c{
  left:12vw;top:-6vh;width:66vw;height:40vh;
  background:radial-gradient(ellipse at 50% 60%,rgba(90,200,255,.30),rgba(90,200,255,0) 62%);
  animation:ldWingC 26s ease-in-out infinite;
}
@keyframes ldWingA{
  0%,100%{transform:translate(0,0) rotate(-8deg) scale(1)}
  50%    {transform:translate(6vw,4vh) rotate(6deg) scale(1.18)}
}
@keyframes ldWingB{
  0%,100%{transform:translate(0,0) rotate(7deg) scale(1.06)}
  50%    {transform:translate(-7vw,5vh) rotate(-6deg) scale(1.22)}
}
@keyframes ldWingC{
  0%,100%{transform:translate(0,0) scale(1);opacity:.5}
  50%    {transform:translate(4vw,7vh) scale(1.3);opacity:.9}
}

.ld-panel{
  position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;
  text-align:center;padding:0 6vw;
}

/* ── the mark ── */
.ld-mark{position:relative;width:min(34vh,240px);width:min(34svh,240px);aspect-ratio:1;display:grid;place-items:center}
.ld-orbit{
  position:absolute;border-radius:50%;border:1px solid rgba(150,185,255,.13);
  animation:ldSpin 26s linear infinite;
}
.ld-orbit-1{inset:6%}
.ld-orbit-2{inset:-8%;border-color:rgba(180,140,255,.10);animation-duration:38s;animation-direction:reverse}
.ld-orbit-3{inset:-22%;border-color:rgba(150,185,255,.07);animation-duration:52s}
.ld-orbit-1::after{
  content:"";position:absolute;top:-2px;left:50%;width:4px;height:4px;border-radius:50%;
  background:#9ecbff;box-shadow:0 0 12px 3px rgba(120,180,255,.9);
}
.ld-orbit-2::after{
  content:"";position:absolute;bottom:6%;right:12%;width:3px;height:3px;border-radius:50%;
  background:#d79cff;box-shadow:0 0 12px 3px rgba(190,120,255,.9);
}
@keyframes ldSpin{to{transform:rotate(360deg)}}

/* white ring — the heartbeat, two thumps then a rest */
.ld-ring{
  position:absolute;inset:22%;border-radius:50%;
  border:calc(min(34vh,240px)*.055) solid #fff;
  border-width:calc(min(34svh,240px)*.055);
  box-shadow:0 0 30px 6px rgba(160,200,255,.55),
             0 0 70px 22px rgba(90,140,255,.30),
             inset 0 0 22px 4px rgba(140,180,255,.45);
  animation:ldBeat 1.35s ease-in-out infinite;
}
@keyframes ldBeat{
  0%,100%{transform:scale(1);        box-shadow:0 0 30px 6px rgba(160,200,255,.55),0 0 70px 22px rgba(90,140,255,.30),inset 0 0 22px 4px rgba(140,180,255,.45)}
  6%     {transform:scale(1.075);    box-shadow:0 0 46px 12px rgba(200,225,255,.85),0 0 110px 38px rgba(110,160,255,.5),inset 0 0 30px 7px rgba(180,210,255,.65)}
  13%    {transform:scale(1.012)}
  22%    {transform:scale(1.048);    box-shadow:0 0 40px 9px rgba(185,215,255,.7),0 0 92px 30px rgba(100,150,255,.42),inset 0 0 26px 6px rgba(165,200,255,.55)}
  34%    {transform:scale(1)}
}

/* the core — blue through violet, drifting */
.ld-core{
  position:absolute;inset:38%;border-radius:50%;
  background:radial-gradient(circle at 36% 30%,#8FC0FF 0%,#3F5BFF 42%,#8A2BE8 100%);
  box-shadow:0 0 34px 8px rgba(90,120,255,.6);
  animation:ldCore 7s ease-in-out infinite,ldBeat 1.35s ease-in-out infinite;
}
@keyframes ldCore{
  0%,100%{filter:hue-rotate(-18deg) saturate(1.05)}
  50%    {filter:hue-rotate(26deg)  saturate(1.25)}
}

/* ── status, bar, percentage ── */
.ld-status{
  margin-top:calc(var(--u)*2.6);
  font-family:var(--f-mono);font-weight:400;font-size:clamp(10px,1.05vw,14px);
  letter-spacing:.18em;text-transform:uppercase;color:var(--ink-2);
  animation:ldBreathe 3.2s ease-in-out infinite;
  transition:opacity .45s var(--ease),transform .45s var(--ease);
}
@keyframes ldBreathe{0%,100%{opacity:.55}50%{opacity:1}}
/* At 100% the line has nothing left to say, so it goes. It keeps its box:
   collapsing the height here would jump the bar and the percentage up the
   screen at the exact moment the eye is on them. The breathing loop has to be
   cancelled or its keyframed opacity outranks the fade. */
#loader.asks .ld-status{animation:none;opacity:0;transform:translateY(-5px)}

.ld-bar{
  position:relative;width:min(58vw,620px);height:2px;margin-top:calc(var(--u)*1.5);
  background:rgba(255,255,255,.09);border-radius:2px;
}
.ld-bar i{
  position:relative;   /* or the head anchors to the track and never moves */
  display:block;height:100%;width:0;border-radius:2px;
  background:linear-gradient(90deg,#22D3EE,#1E90FF,#6A46F5,#A625EE,#22D3EE);
  background-size:260% 100%;
  animation:ldFlow 4.5s linear infinite;
  box-shadow:0 0 14px rgba(80,140,255,.6);
}
@keyframes ldFlow{to{background-position:-260% 0}}
/* the light riding the leading edge */
.ld-bar i::after{
  content:"";position:absolute;top:50%;right:0;width:11px;height:11px;
  border-radius:50%;background:#fff;transform:translate(50%,-50%);
  box-shadow:0 0 16px 4px rgba(220,235,255,.95),
             0 0 40px 12px rgba(120,170,255,.75),
             0 0 80px 26px rgba(166,37,238,.45);
  animation:ldHead 1.6s ease-in-out infinite;
}
@keyframes ldHead{0%,100%{opacity:.85;transform:translate(50%,-50%) scale(1)}50%{opacity:1;transform:translate(50%,-50%) scale(1.25)}}

.ld-pct{
  margin-top:calc(var(--u)*1.4);
  font-family:var(--f-mono);font-weight:400;font-size:clamp(20px,2.4vw,34px);
  letter-spacing:.13em;color:var(--ink);font-variant-numeric:tabular-nums;
}
.ld-ready{
  margin-top:calc(var(--u)*.5);height:1.2em;
  font-family:var(--f-mono);font-weight:400;font-size:clamp(9px,.95vw,12px);
  letter-spacing:.18em;text-transform:uppercase;
  background:linear-gradient(90deg,#3FA9FF,#A625EE);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  opacity:0;transform:translateY(4px);transition:opacity .5s var(--ease),transform .5s var(--ease);
}
#loader.asks .ld-ready{opacity:1;transform:none}

/* ── the audio choice ── */
.loader-audio{
  display:flex;flex-direction:column;align-items:center;gap:calc(var(--u)*1.2);
  margin-top:calc(var(--u)*3.2);
  opacity:0;transform:translateY(10px);pointer-events:none;
  transition:opacity .6s var(--ease),transform .6s var(--ease);
}
#loader.asks .loader-audio{opacity:1;transform:none;pointer-events:auto}
.loader-audio-k{
  font-family:var(--f-mono);font-weight:400;font-size:clamp(9px,.95vw,12px);
  letter-spacing:.18em;text-transform:uppercase;color:var(--ink-2);
}
.loader-audio-k em{
  font-style:normal;
  background:linear-gradient(90deg,#3FA9FF,#A625EE);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.loader-audio-btns{display:flex;flex-direction:column;gap:calc(var(--u)*.9)}
.la-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  gap:calc(var(--u)*1.1);min-width:min(52vw,330px);
  padding:calc(var(--u)*1.05) calc(var(--u)*2.4);border-radius:100px;
  font-family:var(--f-mono);font-weight:400;font-size:clamp(10px,1.05vw,13px);
  letter-spacing:.18em;text-transform:uppercase;color:var(--ink-2);
  background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.14);
  cursor:pointer;overflow:hidden;
  transition:color .35s,border-color .35s,box-shadow .45s,transform .35s var(--ease);
}
.la-btn .la-wave{width:22px;height:16px;flex:none;opacity:.65;transition:opacity .35s}

.la-btn.la-on{animation:floatGlow 4.2s ease-in-out infinite}
@keyframes floatGlow{
  0%,100%{box-shadow:0 0 26px rgba(30,144,255,.36),0 0 66px rgba(30,144,255,.14)}
  34%    {box-shadow:0 0 34px rgba(166,37,238,.44),0 0 84px rgba(166,37,238,.18)}
  67%    {box-shadow:0 0 30px rgba(226,238,255,.34),0 0 74px rgba(150,180,255,.14)}
}
.la-btn.la-on:hover,.la-btn.la-on:focus-visible{animation:floatGlowHot 2.4s ease-in-out infinite}
@keyframes floatGlowHot{
  0%,100%{box-shadow:0 0 40px rgba(30,144,255,.58),0 0 104px rgba(30,144,255,.22)}
  34%    {box-shadow:0 0 50px rgba(166,37,238,.66),0 0 120px rgba(166,37,238,.26)}
  67%    {box-shadow:0 0 44px rgba(226,238,255,.54),0 0 110px rgba(150,180,255,.22)}
}
body.reduced .la-btn.la-on{animation:none}
/* the blue-to-violet edge, painted as a masked gradient ring */
.la-btn::before{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;
  background:linear-gradient(90deg,#22D3EE,#1E90FF,#A625EE);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;opacity:0;transition:opacity .4s;
}
.la-btn:hover,.la-btn:focus-visible{
  color:#fff;border-color:transparent;transform:translateY(-2px);
  box-shadow:0 0 26px rgba(30,144,255,.45),0 0 60px rgba(166,37,238,.35);
}
.la-btn:hover::before,.la-btn:focus-visible::before{opacity:1}

/* The loader panel is a centred column of fixed proportions, and on a short
   viewport it was taller than the screen: at 844x390 it measured 495px with its
   top at -53, so the aperture was cut off above and the audio buttons below.
   #loader has overflow:hidden, so there was no way to reach them. Everything
   here just tightens the column until it fits. */
@media (max-height:600px){
  .ld-mark{width:min(26svh,150px)}
  .ld-status{margin-top:calc(var(--u)*1.2)}
  .ld-bar{margin-top:calc(var(--u)*.8);width:min(52vw,420px)}
  .ld-pct{margin-top:calc(var(--u)*.6);font-size:clamp(15px,2vw,22px)}
  .ld-ready{margin-top:0}
  .loader-audio{margin-top:calc(var(--u)*1.3);gap:calc(var(--u)*.7)}
  .la-btn{padding:calc(var(--u)*.66) calc(var(--u)*1.6)}
}
.la-btn:hover .la-wave{opacity:1}
.la-on{color:var(--ink)}
.la-on::before{opacity:.85}
.la-on:hover{box-shadow:0 0 34px rgba(30,144,255,.6),0 0 80px rgba(166,37,238,.45)}

@media (max-width:900px){
  .ld-status{letter-spacing:.17em}
  .la-btn{min-width:78vw;letter-spacing:.15em}
}
body.reduced #loader .ld-wing,body.reduced .ld-ring,body.reduced .ld-core,
body.reduced .ld-orbit,body.reduced .ld-status,body.reduced .ld-bar i{animation:none}

/* ── nav ───────────────────────────────────────────────────────── */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:20;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:24px clamp(18px,3.4vw,44px);
  opacity:0;transform:translateY(-10px);transition:opacity .9s var(--ease) .2s,transform .9s var(--ease) .2s;
}
body.ready .nav{opacity:1;transform:none}

/* wordmark, rebuilt from the supplied logo */
.wordmark{position:relative;display:flex;align-items:center;gap:.06em;font-family:var(--f-mark);font-weight:600;font-size:18px;letter-spacing:.01em;line-height:1}

/* Once you leave the hero the wordmark becomes the way back, so it says so:
   a star shoots along a rail beneath it each time you arrive somewhere new.
   Hover holds the rail steady, so the affordance survives the animation. */
.wm-trail{
  position:absolute;left:0;right:0;bottom:-8px;height:1px;
  opacity:0;pointer-events:none;transition:opacity .35s var(--ease);
}
.wm-trail::before{content:"";position:absolute;inset:0;background:var(--line)}
.wm-trail i{
  position:absolute;top:-.5px;left:0;height:2px;width:52%;border-radius:2px;
  background:linear-gradient(90deg,transparent,rgba(120,170,255,.35) 40%,#fff 78%,transparent);
  box-shadow:0 0 12px 1px rgba(150,190,255,.9);
  transform:translateX(-70%);opacity:0;
}
.wordmark:hover .wm-trail{opacity:1}
.wordmark.shoot .wm-trail{animation:trailWake 1.5s var(--ease)}
.wordmark.shoot .wm-trail i{animation:shootStar 1.15s cubic-bezier(.32,0,.18,1) .1s}
@keyframes trailWake{0%{opacity:0}16%{opacity:1}68%{opacity:1}100%{opacity:0}}
@keyframes shootStar{
  0%  {transform:translateX(-70%);opacity:0}
  14% {opacity:1}
  82% {opacity:1}
  100%{transform:translateX(165%);opacity:0}
}
.wm-e,.wm-r,.wm-o{position:relative;display:inline-block}
.wm-grave{position:absolute;top:-.42em;left:.30em;width:.34em;height:.10em;background:currentColor;transform:rotate(24deg);border-radius:1px}
.wm-dot{position:absolute;bottom:-.30em;left:50%;width:.13em;height:.13em;margin-left:-.065em;background:currentColor;border-radius:50%}
.wm-o{width:.86em;height:.86em;margin:0 .04em}
.wm-o svg{width:100%;height:100%;display:block;color:currentColor;transition:transform .6s var(--ease)}
.wordmark:hover .wm-o svg{transform:rotate(180deg)}
.wm-labs{margin-left:.34em;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}

.nav-links{
  display:flex;gap:clamp(16px,2.2vw,34px);
  font-family:var(--f-mono);font-weight:400;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  opacity:0;pointer-events:none;transform:translateY(-6px);
  transition:opacity .55s var(--ease),transform .55s var(--ease);
}
body.nav-bar .nav-links{opacity:1;pointer-events:auto;transform:none}
.nav-links a{position:relative;display:flex;align-items:baseline;gap:7px;padding:5px 0;color:var(--ink-3);transition:color .35s}
/* letter-spacing declared in em computes to px at the element that declares it
   and then inherits as an ABSOLUTE length. These index numbers are smaller than
   the label around them, so they keep the parent's pixel gap and read
   proportionally wider — 0.19em and 0.22em against a parent set to 0.16em.
   Restating the value puts every one of them back on the same ratio. */
.nav-links a em,.orbit-in em,.ly-t em,.eyebrow em{letter-spacing:.16em}
.nav-links a em{font-size:9px;font-style:normal;color:var(--ink-3);opacity:.6;transition:color .35s,opacity .35s}
.nav-links a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--grad);transition:width .45s var(--ease)}
.nav-links a:hover,.nav-links a.on{color:var(--ink)}
.nav-links a:hover em,.nav-links a.on em{color:var(--blue);opacity:1}
.nav-links a:hover::after,.nav-links a.on::after{width:100%}

.nav-right{display:flex;align-items:center;gap:clamp(22px,2.6vw,38px)}

.vol{display:flex;align-items:center;gap:9px}
.vol-btn{display:grid;place-items:center;width:20px;height:20px;color:var(--ink-2);transition:color .3s,opacity .3s}
.vol-btn svg{width:100%;height:100%;display:block}
.vol-btn:hover{color:var(--ink)}
.vol.muted .vol-btn{opacity:.5}
.vol.muted .wave-1,.vol.muted .wave-2{opacity:0}
.wave-1,.wave-2{transition:opacity .35s}
/* the boost while a section melts, shown rather than left mysterious */
.vol.boost .vol-btn{color:var(--violet)}

.vol-slider{
  /* 150px, not 62px. The credit beneath it is thirty-one characters and
     cannot be narrower than this and still be words — so the control is
     the one that moves. They are the same width now, which is what makes
     the pair read as one object. */
  -webkit-appearance:none;appearance:none;width:150px;height:14px;
  background:none;cursor:none;--v:35;
  --thumb:7px;--fill:calc(var(--v) * 1% + (.5 - var(--v) / 100) * var(--thumb));
}
body.is-touch .vol-slider{cursor:pointer}
.vol-slider::-webkit-slider-runnable-track{
  height:1px;
  background:linear-gradient(90deg,var(--blue),var(--violet)) 0 0 / var(--fill) 100% no-repeat,
             rgba(255,255,255,.13);
}
.vol-slider::-webkit-slider-thumb{
  -webkit-appearance:none;width:7px;height:7px;margin-top:-3px;border-radius:50%;
  background:var(--ink-2);transition:background .3s,transform .3s;
}
.vol-slider:hover::-webkit-slider-thumb{background:#fff;transform:scale(1.3)}
.vol-slider::-moz-range-track{
  height:1px;
  background:linear-gradient(90deg,var(--blue),var(--violet)) 0 0 / var(--fill) 100% no-repeat,
             rgba(255,255,255,.13);
}
.vol-slider::-moz-range-thumb{width:7px;height:7px;border:0;border-radius:50%;background:var(--ink-2)}
.vol-slider:focus-visible{outline:1px solid var(--blue);outline-offset:4px}

.nav-cta{
  font-family:var(--f-mono);font-weight:400;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-2);padding:6px 0;border-bottom:1px solid var(--line);transition:color .35s,border-color .35s;
}
.nav-cta:hover{color:var(--ink);border-color:var(--violet)}
.nav-burger{display:none;width:34px;height:34px;flex-direction:column;justify-content:center;gap:6px;align-items:flex-end}
.nav-burger i{display:block;height:1px;background:var(--ink);transition:.4s var(--ease)}
.nav-burger i:nth-child(1){width:20px}.nav-burger i:nth-child(2){width:12px}
.nav-burger[aria-expanded="true"] i:nth-child(1){transform:translateY(3.5px) rotate(45deg)}
.nav-burger[aria-expanded="true"] i:nth-child(2){width:20px;transform:translateY(-3.5px) rotate(-45deg)}

/* ── phones: the header is a top-of-page thing ───────────────────────
   Fixed and full width, it sat over section copy the whole way down. On a
   phone it now leaves as soon as you move and comes back when you return to
   the top, and the burger is replaced by a way back up — a menu that scrolls
   to five stops is less use here than the one control you actually want.

   Scoped to the same query the mode uses, so it cannot reach a tablet (which
   keeps the camera and the mast) or a desktop. */
.to-top{display:none}
@media (max-width:700px), (max-height:520px){
  .nav-burger{display:none}

  body.flat .nav{transition:opacity .35s var(--ease),transform .35s var(--ease)}
  body.flat.scrolled .nav{opacity:0;transform:translateY(-110%);pointer-events:none}

  body.flat .to-top{
    display:inline-flex;align-items:center;gap:calc(var(--u)*.45);
    position:fixed;right:calc(var(--u)*1.1);bottom:calc(var(--u)*1.4);z-index:30;
    padding:calc(var(--u)*.62) calc(var(--u)*1.05);
    border-radius:999px;border:1px solid rgba(255,255,255,.22);
    background:rgba(6,8,16,.72);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.56);
    letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);
    opacity:0;transform:translateY(10px);pointer-events:none;
    transition:opacity .35s var(--ease),transform .35s var(--ease),
               color .3s,border-color .3s,background .3s;
  }
  body.flat .to-top svg{width:calc(var(--u)*.8);height:calc(var(--u)*.8);flex:none}
  /* it arrives exactly as the header leaves */
  body.flat.scrolled .to-top{opacity:1;transform:none;pointer-events:auto}
  body.flat .to-top:active{color:#fff;border-color:var(--violet);background:rgba(166,37,238,.3)}
}

/* ── HUD ───────────────────────────────────────────────────────── */
.hud{
  position:fixed;bottom:26px;z-index:20;display:flex;flex-direction:column;gap:5px;
  font-family:var(--f-mono);font-weight:400;font-size:9.5px;letter-spacing:.15em;
  opacity:0;transition:opacity .9s var(--ease) .6s;
}
body.ready .hud{opacity:1}
.hud-l{left:clamp(18px,3.4vw,44px)}
.hud-r{right:clamp(18px,3.4vw,44px);text-align:right}
.hud-k{color:var(--ink-3);opacity:.7}
.hud-v{color:var(--ink-2);font-variant-numeric:tabular-nums}
.hud-v b{display:inline-block;color:var(--blue);font-weight:400}

.progress-rail{position:fixed;left:0;right:0;top:0;height:3px;z-index:22;background:rgba(255,255,255,.05)}
.progress-rail>i{
  display:block;height:100%;width:0;
  background:linear-gradient(90deg,#1E90FF,#3F5BFF,#A625EE,#3F5BFF,#1E90FF);
  background-size:220% 100%;
  animation:flow 7s linear infinite;
  box-shadow:0 0 14px rgba(63,91,255,.55);
}
@keyframes flow{from{background-position:0 0}to{background-position:-220% 0}}

/* the head of the fill, and the readout that rides along with it */
.progress-head{position:absolute;top:0;left:0;height:3px;width:0;pointer-events:none}
/* the beam thrown ahead of the head, and the head itself */
.progress-head::before{
  content:"";position:absolute;right:-34px;top:-15px;width:72px;height:32px;
  background:radial-gradient(closest-side,rgba(190,215,255,.9),rgba(110,150,255,.3) 42%,transparent 74%);
  animation:beacon 1.9s ease-in-out infinite;pointer-events:none;
}
.progress-head::after{
  content:"";position:absolute;right:-1.5px;top:-2px;width:3px;height:7px;border-radius:2px;
  background:#fff;box-shadow:0 0 14px 3px rgba(170,200,255,.9),0 0 34px 8px rgba(90,130,255,.45);
}
@keyframes beacon{
  0%,100%{opacity:.55;transform:scale(1)}
  50%    {opacity:1;  transform:scale(1.22)}
}
.progress-pct{
  position:absolute;right:0;top:11px;transform:translateX(50%);
  font-family:var(--f-mono);font-weight:400;font-size:9px;letter-spacing:.13em;
  color:var(--ink-3);font-variant-numeric:tabular-nums;white-space:nowrap;
  transition:transform .3s var(--ease);
}
.progress-head.at-start .progress-pct{transform:translateX(calc(100% + 6px))}
.progress-head.at-end   .progress-pct{transform:translateX(-6px)}

/* ── world ─────────────────────────────────────────────────────────
   Layer order is deliberate: content sits ABOVE every decorative
   layer, so the route line and the drifting rules never cross type. */
#viewport{
  position:fixed;inset:0;z-index:2;overflow:hidden;
  /* the melt takes the entire screen, so it lives here rather than on a stop */
  transform:translateY(var(--sag,0px)) scaleY(var(--sagY,1)) scale(var(--zoom,1));
}
.layer{position:absolute;inset:0;will-change:transform}
.layer-bg{z-index:1}
.layer-fg{z-index:2;pointer-events:none}
.layer-mid{z-index:3}

.route-svg{z-index:0}
.stop{
  position:absolute;top:50%;left:50%;z-index:1;
  width:min(1080px,84vw);
  transform:translate(-50%,-50%) translate(var(--wx,0px),var(--wy,0px)) scale(var(--fit,1));
  transform-origin:50% 50%;
}
.stop.hidden{visibility:hidden}

/* ── type ──────────────────────────────────────────────────────────
   Light weights only. 200 for the largest sizes, 300 for the rest. */
/* Weight is the point now, not delicacy. Sora's cap-height is identical across
   weights, so going from 200 to 600 changes presence without moving the scale
   — and Bold is only 3.9% wider than the Thin the layout was built around, so
   nothing had to be resized to fit it.

   line-height still matters: split() wraps every glyph in a .char-w with
   overflow:hidden, and Sora's ink spans .95em. 1.05 clears it with room. */
.display{font-family:var(--f-display);font-weight:600;line-height:1.05;letter-spacing:-.02em;
  overflow-wrap:normal;word-break:keep-all;hyphens:none}
.xxl{font-size:calc(var(--u)*6.2);font-weight:700}   /* the hero alone carries Bold */
.xl{font-size:calc(var(--u)*4.5)}

.char,.word{display:inline-block;will-change:transform,opacity}
.char-w,.word-w{display:inline-block;overflow:hidden;vertical-align:top}
/* a word's glyphs travel together, so a line can only break between words */
.word-g{display:inline-block;white-space:nowrap;vertical-align:top}
[data-split] .char,[data-split] .word{transform:translateY(110%);opacity:0}
.stop.live [data-split] .char,.stop.live [data-split] .word{
  transform:none;opacity:1;
  transition:transform .95s var(--ease),opacity .8s ease;
  transition-delay:calc(var(--i,0)*20ms + var(--base,0ms));
}

.mono,.eyebrow,.kicker,.stop-head,.triad,.cs-k,.p-idx,.pn,.eq-k,.foot-k,.cue-txt em{
  font-family:var(--f-mono);font-weight:400;
}

.eyebrow{
  display:flex;align-items:center;gap:11px;
  font-size:calc(var(--u)*.72);letter-spacing:.18em;text-transform:uppercase;
  color:var(--ink-3);margin-bottom:calc(var(--u)*2.6);
}
.eyebrow em{font-style:normal;opacity:.55}
.tick{width:5px;height:5px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 0 rgba(30,144,255,.55);animation:pulse 2.6s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 10px rgba(30,144,255,0)}100%{box-shadow:0 0 0 0 rgba(30,144,255,0)}}

.lede{font-size:calc(var(--u)*1.24);font-weight:400;color:var(--ink-2);letter-spacing:.005em;margin-top:calc(var(--u)*2.2)}

/* ── the hero says what it does, and what that was worth ───────────
   The lede is a statement of ambition; this is the statement of service, set
   one step below it so it reads as the lede finishing its thought rather than
   competing with it. The colour walks white → violet → blue over sixteen
   seconds: slow enough that it is never caught moving, only ever noticed to
   have changed. */
.hero-do{
  font-family:var(--f-text);font-weight:400;font-size:calc(var(--u)*1.02);
  line-height:1.6;max-width:44ch;margin-top:calc(var(--u)*1.15);
  color:var(--ink);animation:heroDoHue 16s ease-in-out infinite;
}
/* sixteen seconds: slow enough that it is never caught moving, only ever
   noticed to have changed */
@keyframes heroDoHue{
  0%,100%{color:#EDEFF4}
  34%    {color:var(--violet-ink)}
  67%    {color:#6FA5FF}
}
body.reduced .hero-do{animation:none;color:var(--ink)}

.kicker{font-size:calc(var(--u)*.72);letter-spacing:.18em;text-transform:uppercase;color:var(--blue);margin-bottom:calc(var(--u)*1.1)}
.dim{color:var(--ink-2)}

.stop-head{
  display:flex;align-items:center;gap:14px;margin-bottom:calc(var(--u)*1.8);
  font-size:calc(var(--u)*.7);letter-spacing:.17em;text-transform:uppercase;
}
.idx{color:var(--blue)}
.stop-name{color:var(--ink-2)}
.stop-move{margin-left:auto;color:var(--ink-3);opacity:.65}

.triad{display:flex;align-items:center;gap:calc(var(--u)*1.1);font-size:calc(var(--u)*.74);letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin-top:calc(var(--u)*2)}
.triad i{color:var(--violet);font-style:normal}
.triad.sm{font-size:calc(var(--u)*.68)}

/* ── 00 hero ───────────────────────────────────────────────────── */
.hero-wrap{max-width:min(920px,80vw)}
.hero-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:calc(var(--u)*3);margin-top:calc(var(--u)*3.4)}
.cue{display:flex;align-items:center;gap:14px;text-align:left}
.cue-ring{display:block;width:calc(var(--u)*2.6);height:calc(var(--u)*2.6);color:var(--ink-2);animation:bob 3.4s ease-in-out infinite}
.cue-ring svg{width:100%;height:100%;display:block}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
.cue-txt{display:flex;flex-direction:column;gap:4px;font-size:calc(var(--u)*.95);font-weight:400;letter-spacing:.01em}
.cue-txt em{font-style:normal;font-size:calc(var(--u)*.66);letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3)}
/* A dictionary entry, set like one: headword, pronunciation, part of speech,
   then the sense. EB Garamond is the old-lexicon voice and it is scoped to
   this single block — it is a quotation from another kind of document, not a
   fourth voice in the system.

   It leaves the mono group above with its .1em tracking: letterspacing is for
   system labels, and a lexicon entry is prose. Garamond's x-height is small,
   so .7u to .92u holds the same reading size it had in the monospace. */
.hero-note{
  max-width:34ch;font-family:"EB Garamond",Georgia,"Times New Roman",serif;
  font-size:calc(var(--u)*.92);line-height:1.6;letter-spacing:.004em;color:var(--ink-2);
}
.hero-note b{font-weight:600;color:var(--ink)}
.hero-note .hn-say{font-style:normal;color:var(--ink-3);letter-spacing:.02em}
.hero-note .hn-pos{font-style:italic;color:var(--ink-3)}
.hero-note em{font-style:italic;color:var(--violet)}

/* ── 01 about ──────────────────────────────────────────────────── */
.about-body{display:grid;grid-template-columns:1fr 1fr;gap:calc(var(--u)*3);max-width:min(760px,70vw);margin-top:calc(var(--u)*2)}
.about-body p{font-size:calc(var(--u)*.94);font-weight:400;line-height:1.65;color:var(--ink-2)}

/* ── 02 projects ───────────────────────────────────────────────── */
.proj-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:calc(var(--u)*3);margin-top:calc(var(--u)*2)}
.proj-intro p{max-width:50ch;font-size:calc(var(--u)*.92);font-weight:400;line-height:1.65;color:var(--ink-2)}
.proj-stage{position:relative;margin-top:calc(var(--u)*2.2)}
.proj-flow{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.85}
.cats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:calc(var(--u)*2.2)}
.cat{position:relative;--tone:var(--violet)}
.cat-n{
  display:block;font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.68);
  letter-spacing:.15em;color:var(--tone);opacity:.9;
}
.cat h3{
  font-family:var(--f-display);font-weight:600;font-size:calc(var(--u)*2);
  letter-spacing:-.018em;margin:calc(var(--u)*.35) 0 calc(var(--u)*1);
}

/* the slot a video drops into — a <video> child simply takes it over */
.cat-media{
  position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:calc(var(--u)*.35);
  border:1px solid var(--line-2);background:rgba(255,255,255,.014);
  transition:border-color .45s,transform .55s var(--ease);
}
.cat:hover .cat-media{border-color:rgba(255,255,255,.16);transform:translateY(-3px)}
.cat-media::after{                       /* a slow sweep so an empty slot still breathes */
  content:"";position:absolute;inset:0;
  background:linear-gradient(115deg,transparent 35%,color-mix(in srgb,var(--tone) 22%,transparent) 50%,transparent 65%);
  transform:translateX(-120%);animation:slotSweep 7s ease-in-out infinite;
}
.cat:nth-child(2) .cat-media::after{animation-delay:-2.3s}
.cat:nth-child(3) .cat-media::after{animation-delay:-4.6s}
@keyframes slotSweep{0%,100%{transform:translateX(-120%)}55%{transform:translateX(120%)}}
.cat-media-k{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.6);
  letter-spacing:.18em;text-transform:uppercase;color:var(--ink-3);opacity:.5;
}
.cat-media video,.cat-media img{
  width:100%;height:100%;object-fit:cover;display:block;position:relative;z-index:1;
  /* the parallax: the film shifts a little against its frame, so the card has
     depth without the layout moving */
  transform:translate3d(calc(var(--px,0)*8px),calc(var(--py,0)*8px),0) scale(1.07);
  transition:transform .5s var(--ease);
}
.cat-media:hover video{transform:translate3d(calc(var(--px,0)*13px),calc(var(--py,0)*13px),0) scale(1.12)}
.cat-media:has(video){cursor:none;box-shadow:0 0 0 0 rgba(0,0,0,0);transition:box-shadow .5s var(--ease),border-color .45s,transform .55s var(--ease)}
.cat-media:has(video){animation:catGlow 9s ease-in-out infinite}
@keyframes catGlow{
  0%,100%{box-shadow:0 14px 46px rgba(0,0,0,.42),0 0 30px rgba(30,144,255,.16)}
  34%    {box-shadow:0 14px 46px rgba(0,0,0,.42),0 0 38px rgba(166,37,238,.20)}
  67%    {box-shadow:0 14px 46px rgba(0,0,0,.42),0 0 32px rgba(226,238,255,.14)}
}
.cat-media:has(video):hover{
  border-color:rgba(255,255,255,.24);
  animation:catGlowHot 4.5s ease-in-out infinite;
}
@keyframes catGlowHot{
  0%,100%{box-shadow:0 18px 60px rgba(0,0,0,.5),0 0 46px rgba(30,144,255,.42),0 0 96px rgba(30,144,255,.16)}
  34%    {box-shadow:0 18px 60px rgba(0,0,0,.5),0 0 56px rgba(166,37,238,.48),0 0 110px rgba(166,37,238,.20)}
  67%    {box-shadow:0 18px 60px rgba(0,0,0,.5),0 0 50px rgba(226,238,255,.38),0 0 100px rgba(150,180,255,.16)}
}
body.reduced .cat-media:has(video),body.reduced .cat-media:has(video):hover{animation:none}

/* Three identical loops started at the same instant read as one mechanism
   with three faces. Different periods as well as different offsets, so they
   drift apart and never come back into step. */
.cats .cat:nth-child(1) .cfilm-ring::before{animation-duration:7.4s;animation-delay:-2.2s}
.cats .cat:nth-child(2) .cfilm-ring::before{animation-duration:10.6s;animation-delay:-6.1s}
.cats .cat:nth-child(3) .cfilm-ring::before{animation-duration:8.9s;animation-delay:-.7s}
.cats .cat:nth-child(1) .cat-media:has(video){animation-duration:8.2s;animation-delay:-3.4s}
.cats .cat:nth-child(2) .cat-media:has(video){animation-duration:11.3s;animation-delay:-7.9s}
.cats .cat:nth-child(3) .cat-media:has(video){animation-duration:9.7s;animation-delay:-1.1s}
/* The same control the case film carries: bracket, spaced caps, and a violet
   answer under the pointer. The entrance offset rides on `translate` so it
   cannot collide with the centring and the hover scale, both of which live in
   `transform` — one property holding all three means the last rule to match
   silently wins and one of the effects never paints. */
.cat-play{
  position:absolute;left:50%;bottom:calc(var(--u)*.8);z-index:2;
  transform:translateX(-50%);opacity:0;translate:0 8px;pointer-events:none;
  display:flex;align-items:center;gap:calc(var(--u)*.55);
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.6);
  letter-spacing:.15em;text-transform:uppercase;color:var(--ink-2);
  padding:calc(var(--u)*.52) calc(var(--u)*1.15);border-radius:999px;
  background:rgba(6,8,16,.62);border:1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:color .3s,border-color .3s,background .3s,transform .35s var(--ease),
             opacity .35s var(--ease),translate .35s var(--ease);
}
.cat-play svg{width:calc(var(--u)*.92);height:calc(var(--u)*.92);flex:none}
.cat-play i{font-style:normal}
.cat-media:hover .cat-play{opacity:1;translate:0 0;pointer-events:auto}
.cat-play:hover{
  color:#fff;border-color:var(--violet);background:rgba(166,37,238,.3);
  transform:translateX(-50%) scale(1.06);
}
.cat-media:has(video) .cat-media-k,.cat-media:has(img) .cat-media-k,
.cat-media.lifted .cat-media-k,
.cat-media:has(video)::after,.cat-media:has(img)::after,
.cat-media.lifted::after{display:none}
/* While its film is out, the card wears the film's own poster. Without this it
   empties for the length of the flight — and because the "no video" styling is
   keyed on :has(video), the idle sweep and the VIDEO label would both come
   back for exactly as long as the film is expanded. */
.cat-media.lifted,.cfilm.lifted{background-size:cover;background-position:50% 50%}
.cat-media.lifted{cursor:none}

.cat p{
  font-size:calc(var(--u)*.86);font-weight:400;line-height:1.62;color:var(--ink-2);
  margin-top:calc(var(--u)*1);
}

/* ── 03 case studies ─────────────────────────────────────────────
   The densest stop on the site, so its heading runs a step smaller —
   fitStops scales the whole section uniformly, which means the only way
   to make the TABLES legible is to spend less height on everything else. */
/* Declared larger so it RENDERS the same. Case Studies carries more than the
   frame holds, so fitStops() scales the whole stop to ~0.72 — at the same
   declared size as every other title it came out at 45.6px against their 63px.
   5.86u pre-compensates for that scale. Re-solve it whenever this stop's
   content changes — the film's ratio, the line count, anything — because size
   feeds back into fit. Solved from two measured (size, fit)
   pairs rather than guessed, because the size feeds back into the fit: a bigger
   title makes the stop taller, which scales it down again. The cost is that the
   rest of this stop renders ~5% smaller, which is invisible; the title being
   two-thirds the size of every other one was not. */
/* no override any more: with the film as the section's ground rather than a
   card in it, this stop fits at --fit 1 and the standard 4.5u holds */

.case{margin-top:calc(var(--u)*1.1);padding-top:calc(var(--u)*1);border-top:1px solid var(--line-2)}
.case-brief{position:relative}
.case-head{display:flex;align-items:flex-start;justify-content:space-between;gap:calc(var(--u)*2)}
.case-who h3{font-family:var(--f-display);font-weight:600;font-size:calc(var(--u)*1.7);letter-spacing:-.015em}

/* ── switching between the two studies ─────────────────────────────
   One toggle per case, each pointing at the other, so there is no shared
   state to keep in sync — the button you can see always names where you are
   not. It sits beside the client line because that is what it changes.

   The pill and its travelling outline are the enquiry form's, reused whole:
   position:relative is what the ring needs, and without it the ring resolves
   against the nearest positioned ancestor and draws far too large. */
.case-id{display:flex;align-items:center;flex-wrap:wrap;gap:calc(var(--u)*1);margin-bottom:calc(var(--u)*.4)}
/* the label sits over the button, so the pair stacks in its own column while
   the client line stays beside it */
.case-swap-wrap{display:inline-flex;flex-direction:column;align-items:flex-start;gap:calc(var(--u)*.34)}
.case-swap-k{
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.56);
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink);line-height:1.3;
}
.case-swap{
  position:relative;flex:0 0 auto;
  padding:calc(var(--u)*.64) calc(var(--u)*1.5);
  border:1px solid rgba(166,37,238,.62);border-radius:999px;
  background:linear-gradient(180deg,rgba(166,37,238,.34),rgba(166,37,238,.16));
  box-shadow:0 0 calc(var(--u)*1.3) rgba(166,37,238,.32),inset 0 1px 0 rgba(255,255,255,.08);
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.84);
  letter-spacing:.13em;text-transform:uppercase;color:#fff;cursor:pointer;
  transition:color .3s,border-color .3s,background .3s,box-shadow .35s;
}
.case-swap span{position:relative;z-index:1}
.case-swap:hover{border-color:rgba(166,37,238,.85);box-shadow:0 0 calc(var(--u)*1.5) rgba(166,37,238,.42)}
.case-swap:focus{outline:none}
.case-swap:focus-visible{outline:none;border-color:var(--violet);box-shadow:0 0 calc(var(--u)*1.7) rgba(166,37,238,.5)}
/* the ring quickens under the hand, as the choosers' do */
.case-swap:hover .eq-sel-ring::before{animation-duration:2.4s}

/* the incoming study arrives rather than appears */
@keyframes caseSwap{from{opacity:0;transform:translateY(calc(var(--u)*.6))}to{opacity:1;transform:none}}
.case-item.swapped{animation:caseSwap .5s var(--ease)}
.case-meta{font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.68);letter-spacing:.1em;color:var(--ink-3);margin-top:calc(var(--u)*.3)}
.cs-k{font-size:calc(var(--u)*.68);letter-spacing:.16em;text-transform:uppercase;color:var(--blue)}

/* the row spans the line it sits under, so the three figures land on the
   same two edges as everything else on the page */
.case-figs{position:relative;display:flex;flex:1 1 100%;justify-content:space-between;
  gap:calc(var(--u)*2);flex-wrap:wrap}
.fig{display:flex;align-items:baseline;gap:calc(var(--u)*.5)}
.stat{font-family:var(--f-display);font-weight:600;font-size:calc(var(--u)*1.75);letter-spacing:-.02em;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;font-variant-numeric:tabular-nums}
.fig i{font-style:normal;color:var(--ink-3);font-size:calc(var(--u)*.78);max-width:11ch;line-height:1.3}

/* ── the case film ──────────────────────────────────────────────────
   Below the line and the width of it, at the file's own shape. Frosted, with
   a hole that opens under the cursor: the plate is a backdrop-filter and the
   hole is a radial-gradient mask on it, so there is only ever one copy of the
   video being composited. At radius 0 the gradient resolves to its last stop
   everywhere, which is why the plate covers the whole frame at rest. */
/* 2:1 rather than 16:9 — cinematic widescreen, and the biggest single
   contributor to this stop's overflow (measured: 608px of 1328px natural
   height, before this change). Width stays the full line, per the earlier
   instruction that the film's width equal the track's; object-fit:cover crops
   top and bottom rather than narrowing it. */
.cfilm{
  position:relative;width:100%;aspect-ratio:2/1;margin-top:calc(var(--u)*1.3);
  border-radius:calc(var(--u)*.6);overflow:hidden;isolation:isolate;
  border:1px solid var(--line);background:#04050A;
  animation:cfilmGlow 9s ease-in-out infinite;
}
.cfilm video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* registered so the browser can interpolate it: the hole opens and closes on
   a transition rather than a script loop */
@property --r{syntax:"<length>";inherits:false;initial-value:0px}
/* The edge, before it is expanded. Same trick as the expanded frame's ring:
   a conic sweep behind a border-only mask, so one spinning gradient reads as
   a light travelling the perimeter. Above the frost, so the glass never
   dulls it. The outer glow is a box-shadow on .cfilm itself — overflow:hidden
   clips children, never the element's own shadow — cycling blue, violet and
   white so the edge is never one flat colour. */
.cfilm-ring{
  position:absolute;inset:0;border-radius:inherit;padding:1.5px;
  pointer-events:none;z-index:5;overflow:hidden;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
}
.cfilm-ring::before{
  content:"";position:absolute;left:50%;top:50%;width:200%;aspect-ratio:1;translate:-50% -50%;
  background:conic-gradient(from 0deg,
    transparent 0 42%,
    rgba(30,144,255,.55) 55%,
    rgba(120,170,255,.85) 63%,
    #EAF2FF 70%,
    rgba(166,37,238,.85) 80%,
    rgba(120,60,255,.45) 88%,
    transparent 96%);
  animation:ringSpin 9s linear infinite;
}
@keyframes cfilmGlow{
  0%,100%{box-shadow:0 0 34px rgba(30,144,255,.17)}
  34%    {box-shadow:0 0 42px rgba(166,37,238,.21)}
  67%    {box-shadow:0 0 36px rgba(226,238,255,.15)}
}
/* Hover swaps the animation rather than adding a box-shadow beside it: an
   animation owns the whole property for as long as it runs, so a plain
   :hover box-shadow here would simply never be painted. Same three colours,
   brighter and quicker. */
.cfilm:hover{animation:cfilmGlowHot 4.5s ease-in-out infinite}
@keyframes cfilmGlowHot{
  0%,100%{box-shadow:0 0 46px rgba(30,144,255,.42),0 0 96px rgba(30,144,255,.16)}
  34%    {box-shadow:0 0 56px rgba(166,37,238,.48),0 0 110px rgba(166,37,238,.20)}
  67%    {box-shadow:0 0 50px rgba(226,238,255,.38),0 0 100px rgba(150,180,255,.16)}
}
body.reduced .cfilm-ring::before,body.reduced .cfilm,body.reduced .cfilm:hover{animation:none}

.cfilm-frost{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  /* Blur, and nothing else. The lit-glass plate is gone: every version of it
     put a texture and a tint between you and the film, and the point of the
     film sitting here is that you can see something is moving. So the only
     treatment is a blur heavy enough to withhold the detail and light enough
     to keep the motion and the colour — plus a neutral veil, no hue, because
     a tinted one is what read as blue.

     The hole under the cursor is unchanged: --r opens it, and inside it the
     film is completely clear. */
  -webkit-backdrop-filter:blur(24px) brightness(.60) saturate(.92);
  backdrop-filter:blur(24px) brightness(.60) saturate(.92);
  background:rgba(0,0,0,.26);
  transition:--r .45s var(--ease);
  --r:0px;--mx:50%;--my:50%;
  -webkit-mask-image:radial-gradient(circle var(--r) at var(--mx) var(--my),transparent 0%,rgba(0,0,0,.20) 48%,#000 100%);
  mask-image:radial-gradient(circle var(--r) at var(--mx) var(--my),transparent 0%,rgba(0,0,0,.20) 48%,#000 100%);
}
/* Controls and the expand button both sit ABOVE the frost, so neither is ever
   blurred — a seek bar you cannot read is not a control. */
.cfilm-ctrl{
  position:absolute;left:0;right:0;bottom:0;z-index:3;
  display:flex;align-items:center;gap:calc(var(--u)*1.1);
  padding:calc(var(--u)*2.6) calc(var(--u)*1.2) calc(var(--u)*.9);
  background:linear-gradient(180deg,transparent,rgba(3,4,10,.86));
  opacity:0;transform:translateY(8px);transition:opacity .35s var(--ease),transform .35s var(--ease);
}
.cfilm:hover .cfilm-ctrl,.cfilm-ctrl:focus-within{opacity:1;transform:none}
/* Hidden until the pointer arrives, with the controls. The entrance offset
   rides on `translate` rather than `transform`, because `transform` is already
   holding the horizontal centring — putting both in one property means the
   reveal rule and the button's own :hover scale overwrite each other, and the
   more specific one silently wins. */
.cfilm-expand{
  position:absolute;left:50%;bottom:calc(var(--u)*3.6);z-index:4;
  transform:translateX(-50%);
  opacity:0;translate:0 8px;pointer-events:none;
  display:flex;align-items:center;gap:calc(var(--u)*.55);
  padding:calc(var(--u)*.52) calc(var(--u)*1.15);
  border-radius:999px;border:1px solid rgba(255,255,255,.24);
  background:rgba(6,8,16,.62);
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.6);
  letter-spacing:.15em;text-transform:uppercase;color:var(--ink-2);
  transition:color .3s,border-color .3s,background .3s,transform .35s var(--ease),
             opacity .35s var(--ease),translate .35s var(--ease);
}
.cfilm:hover .cfilm-expand,.cfilm:focus-within .cfilm-expand{
  opacity:1;translate:0 0;pointer-events:auto;
}
.cfilm-expand svg{width:calc(var(--u)*.92);height:calc(var(--u)*.92)}
.cfilm-expand:hover{
  color:#fff;border-color:var(--violet);background:rgba(166,37,238,.3);
  transform:translateX(-50%) scale(1.06);
}
@media (max-width:900px){.cfilm-expand{bottom:calc(var(--u)*3)}}

/* ── touch has no hover, so nothing may hide behind one ───────────────
   The film controls, the Expand button on both the project cards and the case
   film, and the demist hole were all revealed by :hover — which on a phone
   never fires, so they would simply never appear. They are permanent here.

   The demist hole is the one that cannot be adapted, only replaced: it follows
   a cursor, and there is no cursor. Instead the plate is lighter to begin with,
   so the film reads through it without needing a hole. */
/* transform:none is right for .cfilm-ctrl, whose transform is only an entrance
   offset — and wrong for .cat-play, whose transform is the translateX(-50%)
   that centres it. Sharing one rule knocked every project card's Expand button
   half its own width to the right. They are separate now. */
body.is-touch .cfilm-ctrl,body.flat .cfilm-ctrl{opacity:1;transform:none;pointer-events:auto}
body.is-touch .cat-play,body.flat .cat-play{opacity:1;transform:translateX(-50%);translate:0 0;pointer-events:auto}
body.is-touch .cfilm-expand,body.flat .cfilm-expand{opacity:1;transform:translateX(-50%);translate:0 0;pointer-events:auto}
/* No frost. The plate exists so a cursor can melt a hole in it, and on a phone
   there is no cursor — it was blur with no way to see past it.

   Keyed on the MODE as well as on touch. is-touch asks what the input is;
   body.flat asks which layout is running. A narrow desktop window gets the
   mobile layout with a mouse attached, and would otherwise have kept a frost
   whose only purpose is a hole that mode never opens. */
body.is-touch .cfilm-frost,body.flat .cfilm-frost{display:none}
/* the hot glow is a hover state; on touch the calm cycle is the only one */
body.is-touch .cfilm:hover{animation:cfilmGlow 9s ease-in-out infinite}

/* ── 04 reach ──────────────────────────────────────────────────── */
.reach-lede{max-width:54ch;font-size:calc(var(--u)*.96);font-weight:400;line-height:1.65;color:var(--ink-2);margin-top:calc(var(--u)*1.4)}
/* no box — a hairline above is enough to set it apart */
.eq-stage{position:relative;margin-top:calc(var(--u)*1.7);padding-top:calc(var(--u)*.95);border-top:1px solid var(--line-2)}

.enquiry{transition:opacity .5s var(--ease),transform .5s var(--ease)}
.eq-stage.sent .enquiry{opacity:0;transform:translateY(-10px) scale(.985);pointer-events:none}
.eq-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.eq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:calc(var(--u)*1.6)}
.eq-field{position:relative;display:block;margin-top:calc(var(--u)*1.5);padding-bottom:2px}
.eq-grid .eq-field{margin-top:0}
.eq-k{
  display:block;font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.84);
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink);margin-bottom:calc(var(--u)*.6);
  transition:color .3s;
}
.eq-field input{
  display:block;width:100%;background:none;border:0;border-radius:0;
  -webkit-appearance:none;appearance:none;box-shadow:none;
  padding:calc(var(--u)*.42) 0;outline:none;
  font-family:var(--f-text);font-weight:400;font-size:calc(var(--u)*1.1);letter-spacing:0;
  color:var(--violet-ink);caret-color:var(--violet-ink);
}
/* No box, ever. Chrome's autofill paints its own solid background and forces
   its own text colour — the only way out is a colossal transition delay on
   background-color plus -webkit-text-fill-color. */
.eq-field input:-webkit-autofill,
.eq-field input:-webkit-autofill:hover,
.eq-field input:-webkit-autofill:focus,
.eq-field input:-webkit-autofill:active{
  -webkit-text-fill-color:var(--violet-ink);
  caret-color:var(--violet-ink);
  -webkit-box-shadow:0 0 0 100vmax transparent inset;
  box-shadow:0 0 0 100vmax transparent inset;
  background-clip:text;
  transition:background-color 600000s 0s,color 600000s 0s;
}
/* the travelling glow and the label colour ARE the focus indicator here, so
   the global focus ring would only draw the box we just removed */
.eq-field input:focus,.eq-field input:focus-visible{outline:none;box-shadow:none}
/* the field never gets a filled background — the light does the work.
   ::before is the resting hairline, ::after the glow travelling beneath it. */
.eq-field::before{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:rgba(255,255,255,.13);transition:background .35s;
}
.eq-field::after{
  content:"";position:absolute;left:0;bottom:-1px;width:36%;height:3px;border-radius:3px;
  background:linear-gradient(90deg,transparent,#6FA5FF 32%,var(--violet-ink) 66%,transparent);
  filter:blur(1px);box-shadow:0 0 12px 2px rgba(166,37,238,.5);
  opacity:.34;transition:opacity .4s;
  animation:eqGlow 5.2s ease-in-out infinite;
}
.eq-field:nth-of-type(2)::after{animation-delay:-1.3s}
.eq-field:nth-of-type(3)::after{animation-delay:-2.6s}
.eq-wide:nth-of-type(1)::after{animation-delay:-.7s}
.eq-wide:nth-of-type(2)::after{animation-delay:-3.4s}
.eq-field:focus-within::after{opacity:1;animation-duration:2.6s}
.eq-field:focus-within::before{background:rgba(255,255,255,.22)}
@keyframes eqGlow{
  0%,100%{transform:translateX(-6%)}
  50%    {transform:translateX(184%)}
}
.eq-field input::placeholder{color:var(--ink-3);opacity:.7;font-weight:400}
.eq-field:focus-within .eq-k{color:var(--blue)}
.eq-wide .eq-k{font-size:calc(var(--u)*.9);letter-spacing:.13em}

/* ── the two choosers ──────────────────────────────────────────────
   A real <select> stays in the form and is the source of truth, so FormData,
   validation and a script-less page all keep working. What it cannot do is
   look like this page: the popup is OS chrome, and no amount of CSS reaches
   inside it. So selects() paints a listbox over the top and the native
   control goes out of sight — it is only ever seen if the script does not
   run, which is why it is still styled below.

   These two are the only filled shapes in the form. Everything else is a
   hairline with light travelling under it, so the pills are given the edge
   and the glow instead — hence .eq-sel::before/::after being switched off:
   a pill sitting on an underline reads as two controls stacked.

   Placeholder type is white; the moment an answer exists it turns the same
   violet as anything typed into the fields above, so a filled form is one
   colour all the way down. */
.eq-trio{grid-template-columns:repeat(3,1fr);margin-top:calc(var(--u)*1.35)}
.eq-sel::before,.eq-sel::after{display:none}

/* the no-JS fallback: still a pill, still legible, native popup and all */
.eq-sel select{
  display:block;width:100%;cursor:pointer;
  -webkit-appearance:none;appearance:none;color-scheme:dark;
  padding:calc(var(--u)*.86) calc(var(--u)*1.3);
  border:1px solid rgba(166,37,238,.55);border-radius:999px;
  background:linear-gradient(180deg,rgba(166,37,238,.30),rgba(166,37,238,.14));
  outline:none;
  font-family:var(--f-text);font-weight:400;font-size:calc(var(--u)*1.24);color:#fff;
}
.eq-sel select option{background:#0C0616;color:var(--ink)}
/* enhanced: still submitted, no longer seen or reachable by tab */
.eq-sel.on select{position:absolute;left:0;bottom:0;width:1px;height:1px;opacity:0;pointer-events:none}

.eq-sel-btn{
  /* the ring is inset:-1px against THIS box. Without a position here it
     resolved against .eq-field instead and drew a capsule the size of the
     label and the pill together — an outline visibly larger than the thing
     it was outlining. */
  position:relative;
  display:flex;align-items:center;justify-content:space-between;gap:calc(var(--u)*.9);
  width:100%;padding:calc(var(--u)*.86) calc(var(--u)*1.3);
  border:1px solid rgba(166,37,238,.55);border-radius:999px;
  background:linear-gradient(180deg,rgba(166,37,238,.30),rgba(166,37,238,.14));
  box-shadow:0 0 calc(var(--u)*1.1) rgba(166,37,238,.26),inset 0 1px 0 rgba(255,255,255,.07);
  font-family:var(--f-text);font-weight:400;font-size:calc(var(--u)*1.24);
  color:#fff;text-align:left;cursor:pointer;
  transition:color .3s,border-color .3s,background .3s,box-shadow .35s;
}
.eq-sel-btn:hover{border-color:rgba(166,37,238,.85);box-shadow:0 0 calc(var(--u)*1.7) rgba(166,37,238,.42)}

/* the travelling outline — the same idiom as .reader-ring: a conic sweep
   clipped to a 1px rim and spun with rotate(), so it needs no @property
   support. The sweep runs white → blue → violet, the site's own gradient
   made to travel. inset:-1px puts it over the resting border rather than
   inside it, so the pill keeps one edge, not two. */
.eq-sel-ring{
  position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;z-index:0;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;overflow:hidden;
}
.eq-sel-ring::before{
  content:"";position:absolute;left:50%;top:50%;width:190%;aspect-ratio:1;translate:-50% -50%;
  background:conic-gradient(transparent 0 42%,rgba(110,165,255,.45) 57%,#FFFFFF 71%,rgba(166,37,238,.95) 85%,transparent 96%);
  filter:blur(.4px);animation:eqRingSpin 5.4s linear infinite;
}
@keyframes eqRingSpin{to{rotate:360deg}}
/* it quickens under the hand and while the list is down */
.eq-sel-btn:hover .eq-sel-ring::before,
.eq-sel.open .eq-sel-ring::before{animation-duration:2.4s}
.eq-sel.invalid .eq-sel-ring::before{
  background:conic-gradient(transparent 0 46%,rgba(255,107,138,.45) 60%,#FFE2E8 74%,rgba(255,107,138,.9) 86%,transparent 96%);
}
/* the ring is a positioned box, so the label and caret have to be positioned
   too or the sweep paints straight over the type */
.eq-sel-val,.eq-sel-caret{position:relative;z-index:1}
/* the pill's own glow is the focus indicator — the global ring would draw a
   rectangle around a capsule */
.eq-sel-btn:focus{outline:none}
.eq-sel-btn:focus-visible{outline:none;border-color:var(--violet);box-shadow:0 0 calc(var(--u)*1.9) rgba(166,37,238,.5)}
.eq-sel.open .eq-sel-btn{border-color:var(--violet);box-shadow:0 0 calc(var(--u)*2) rgba(166,37,238,.55)}
.eq-sel:not(.empty) .eq-sel-btn{color:var(--violet-ink)}
.eq-sel.open .eq-k{color:var(--violet-ink)}
.eq-sel.invalid .eq-sel-btn{color:var(--warn);border-color:var(--warn);box-shadow:none}

/* held by the service answer: still a filled field, plainly not one to press.
   The travelling outline stops too — a light running around a control that
   cannot be operated only reads as an invitation. */
.eq-sel.locked .eq-sel-btn{
  cursor:default;
  border-color:rgba(166,37,238,.30);box-shadow:none;
  background:linear-gradient(180deg,rgba(166,37,238,.17),rgba(166,37,238,.07));
}
.eq-sel.locked .eq-sel-caret{opacity:.22}
.eq-sel.locked .eq-sel-ring::before{animation:none;background:none}

/* currentColor, so the caret follows the value from white into violet */
.eq-sel-caret{
  flex:0 0 auto;width:calc(var(--u)*.58);height:calc(var(--u)*.58);
  border-right:1px solid currentColor;border-bottom:1px solid currentColor;
  transform:translateY(-28%) rotate(45deg);
  transition:transform .35s var(--ease);
}
.eq-sel.open .eq-sel-caret{transform:translateY(12%) rotate(-135deg)}

.eq-sel-menu{
  position:absolute;left:0;right:0;top:calc(100% + var(--u)*.55);z-index:6;
  padding:calc(var(--u)*.42);
  background:linear-gradient(180deg,rgba(41,9,63,.97),rgba(19,4,31,.97));
  -webkit-backdrop-filter:blur(14px) saturate(1.25);backdrop-filter:blur(14px) saturate(1.25);
  border:1px solid rgba(166,37,238,.5);border-radius:calc(var(--u)*1.6);
  box-shadow:0 calc(var(--u)*1.1) calc(var(--u)*2.4) rgba(0,0,0,.72),
             0 0 calc(var(--u)*1.5) rgba(166,37,238,.28);
  opacity:0;visibility:hidden;transform:translateY(calc(var(--u)*-.45));
  transition:opacity .28s var(--ease),transform .28s var(--ease),visibility .28s;
}
.eq-sel.open .eq-sel-menu{opacity:1;visibility:visible;transform:none}
/* flipped up when the panel would run past the bottom of the frame */
.eq-sel.up .eq-sel-menu{top:auto;bottom:calc(100% + var(--u)*.55);transform:translateY(calc(var(--u)*.45))}
.eq-sel.up.open .eq-sel-menu{transform:none}

.eq-sel-opt{
  position:relative;display:block;width:100%;
  padding:calc(var(--u)*.7) calc(var(--u)*2) calc(var(--u)*.7) calc(var(--u)*1.2);
  background:none;border:1px solid transparent;border-radius:999px;
  font-family:var(--f-text);font-weight:400;font-size:calc(var(--u)*1.06);
  color:#fff;text-align:left;cursor:pointer;white-space:nowrap;
  transition:color .22s,background .22s,border-color .22s;
}
.eq-sel-opt + .eq-sel-opt{margin-top:calc(var(--u)*.24)}
.eq-sel-opt:hover,.eq-sel-opt.cue{background:rgba(166,37,238,.42);border-color:rgba(195,107,255,.55)}
.eq-sel-opt:focus-visible{outline:none}
.eq-sel-opt[aria-selected="true"]{color:var(--violet-ink)}
.eq-sel-opt[aria-selected="true"]::after{
  content:"";position:absolute;right:calc(var(--u)*1.1);top:50%;
  width:calc(var(--u)*.32);height:calc(var(--u)*.32);margin-top:calc(var(--u)*-.16);
  border-radius:50%;background:var(--violet-ink);
  box-shadow:0 0 calc(var(--u)*.55) rgba(195,107,255,.9);
}

/* an error says what is wrong, in a colour that is not the accent */
.eq-field.invalid::before{background:var(--warn)}
.eq-field.invalid::after{opacity:0}
.eq-field.invalid .eq-k{color:var(--warn)}

.eq-foot{display:flex;align-items:center;gap:calc(var(--u)*1.8);margin-top:calc(var(--u)*1.5)}
.eq-note{font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.82);letter-spacing:.11em;color:var(--ink-3);transition:color .3s}
.eq-note.warn{color:var(--warn)}

/* ── the confirmation ── */
.eq-done{
  position:absolute;inset:0;display:grid;place-items:center;gap:calc(var(--u)*2);
  align-content:center;text-align:center;pointer-events:none;
  opacity:0;visibility:hidden;
}
.eq-stage.sent .eq-done{opacity:1;visibility:visible}
.eq-done::before{
  content:"";position:absolute;left:50%;top:50%;width:min(760px,86%);height:min(360px,120%);
  transform:translate(-50%,-50%) scale(.7);border-radius:50%;
  background:radial-gradient(ellipse,rgba(166,37,238,.34),rgba(120,60,255,.12) 45%,transparent 72%);
  opacity:0;
}
.eq-stage.sent .eq-done::before{animation:doneBloom 1.3s var(--ease) forwards}
@keyframes doneBloom{
  0%  {opacity:0;transform:translate(-50%,-50%) scale(.55)}
  60% {opacity:1;transform:translate(-50%,-50%) scale(1.06)}
  100%{opacity:.85;transform:translate(-50%,-50%) scale(1)}
}
.eq-done-msg{
  position:relative;font-family:var(--f-display);font-weight:600;
  font-size:calc(var(--u)*2.5);letter-spacing:-.02em;line-height:1.15;
}
.eq-done-msg .dchar{
  display:inline-block;opacity:0;transform:translateY(18px) rotateX(-40deg);
  background:linear-gradient(180deg,#E6C8FF 0%,#C36BFF 45%,#8A3BFF 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.eq-stage.sent .eq-done-msg .dchar{
  animation:dcharIn .75s var(--ease) forwards;
  animation-delay:calc(var(--i,0)*26ms + 120ms);
}
@keyframes dcharIn{to{opacity:1;transform:none}}
.eq-done-bar{
  position:relative;display:block;width:min(220px,50%);height:1px;background:rgba(166,37,238,.22);
}
.eq-stage.sent .eq-done-bar::after{
  content:"";position:absolute;left:0;top:0;height:100%;width:100%;
  background:linear-gradient(90deg,var(--blue),var(--violet));
  transform-origin:left;animation:doneCount 5s linear forwards;animation-delay:.35s;
}
@keyframes doneCount{from{transform:scaleX(1)}to{transform:scaleX(0)}}

.foot{display:grid;grid-template-columns:1fr auto;gap:calc(var(--u)*2);margin-top:calc(var(--u)*3);padding-top:calc(var(--u)*1.6);border-top:1px solid var(--line-2)}
.foot-k{display:block;font-size:calc(var(--u)*.62);letter-spacing:.18em;text-transform:uppercase;color:var(--ink-3);opacity:.7;margin-bottom:calc(var(--u)*.7)}
.foot-social{display:flex;gap:calc(var(--u)*1.3);font-size:calc(var(--u)*.84);font-weight:400;color:var(--ink-2)}
.foot-social a{transition:color .3s}
.foot-social a:hover{color:var(--blue)}
.foot-end{text-align:right}
.foot-end p{font-size:calc(var(--u)*.74);font-weight:400;line-height:1.7;color:var(--ink-2)}

/* ── the mast ──────────────────────────────────────────────────────
   The four rooms of the studio, orbiting one axis. CSS 3D, no WebGL:
   .pole holds the perspective, .pole-stage preserves it for the items,
   and JS writes each item's translate3d every frame. */
.hero-wrap{display:grid;grid-template-columns:1.32fr .68fr;gap:calc(var(--u)*2.6);align-items:center;max-width:none}
.hero-col{min-width:0}

.pole{position:relative;left:calc(var(--u)*3.4);height:calc(var(--u)*29);perspective:1000px;perspective-origin:50% 50%;touch-action:pan-y}
.pole-line{
  position:absolute;left:50%;top:0;bottom:0;width:3px;margin-left:-1.5px;border-radius:2px;
  background:linear-gradient(180deg,transparent,rgba(30,144,255,.75) 20%,rgba(166,37,238,.75) 80%,transparent);
  box-shadow:0 0 16px rgba(80,110,255,.35);
}
.pole-cap{
  position:absolute;left:50%;top:50%;width:4px;height:4px;margin:-2px 0 0 -2px;border-radius:50%;
  background:#fff;box-shadow:0 0 20px 4px rgba(120,150,255,.45);
}
.pole-stage{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d}
.orbit{position:absolute;left:0;top:0;display:block;white-space:nowrap;
  padding:calc(var(--u)*.5) calc(var(--u)*.7);will-change:transform,opacity}
.orbit-in{
  display:flex;align-items:center;gap:10px;
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.82);
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2);
  /* the mast writes translate3d on the button every frame, so the hover
     lift lives on the inner span where nothing else is touching transform */
  transform:scale(1);transform-origin:50% 50%;
  transition:color .35s,transform .45s var(--ease),text-shadow .45s ease;
}
.orbit:hover .orbit-in,.orbit:focus-visible .orbit-in{
  transform:scale(1.18);color:#fff;
  text-shadow:0 0 14px rgba(160,195,255,.9),0 0 34px rgba(166,37,238,.6);
}
.orbit-mark:hover .orbit-in,.orbit-mark:focus-visible .orbit-in{
  filter:drop-shadow(0 0 12px rgba(180,210,255,.9)) drop-shadow(0 0 26px rgba(166,37,238,.6));
}
.orbit-in em{font-style:normal;font-size:calc(var(--u)*.6);color:var(--ink-3);opacity:.7}
.orbit:hover .orbit-in{color:var(--ink)}
.orbit:hover .orbit-in em{color:var(--blue);opacity:1}
.orbit-mark .orbit-in{width:calc(var(--u)*2.6);height:calc(var(--u)*2.6);color:#fff;gap:0;
  align-items:center;justify-content:center}
.star{
  display:block;width:calc(var(--u)*1.15);height:calc(var(--u)*1.15);border-radius:50%;
  background:radial-gradient(circle at 50% 50%,#fff 0%,#EAF3FF 42%,rgba(150,190,255,.55) 70%,transparent 78%);
  animation:starGlow 7s ease-in-out infinite;
}
@keyframes starGlow{
  0%,100%{box-shadow:0 0 10px 2px rgba(255,255,255,.85),0 0 26px 7px rgba(30,144,255,.55),0 0 54px 16px rgba(166,37,238,.22);transform:scale(1)}
  33%    {box-shadow:0 0 13px 3px rgba(235,245,255,.95),0 0 32px 10px rgba(166,37,238,.6), 0 0 64px 20px rgba(30,144,255,.26);transform:scale(1.12)}
  66%    {box-shadow:0 0 9px 2px rgba(255,255,255,.8), 0 0 24px 8px rgba(120,90,255,.6),  0 0 58px 18px rgba(30,144,255,.24);transform:scale(1.04)}
}
.orbit-mark svg{width:100%;height:100%;display:block}
.pole-hint{
  position:absolute;left:50%;bottom:calc(var(--u)*-1.4);transform:translateX(-50%);
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.6);
  letter-spacing:.17em;text-transform:uppercase;color:var(--ink-3);opacity:.5;
  transition:opacity .4s;pointer-events:none;
}
.pole.dragging .pole-hint{opacity:0}
.pole.dragging{cursor:none}

/* ── idle melt ──────────────────────────────────────────────────────
   Five seconds without scrolling and the section you stopped on liquefies:
   turbulence displacement, plus blur and drained colour. --melt is written
   per frame by the engine; the class is only present while melting, so a
   page in normal use carries no filter cost at all. */
#viewport.melting{
  filter:url(#melt)
         blur(var(--blur,0px))
         saturate(calc(1 - var(--melt,0) * .55))
         brightness(calc(1 - var(--melt,0) * .22));
}

/* ── mobile ────────────────────────────────────────────────────── */
/* Tablets and narrow windows keep the camera journey, but not the desktop unit:
   min(1vw,1.72vh) is written for a wide screen, so at 1024px it resolves to
   10.2px and body copy lands at 9.6px — measured on iPad Pro portrait and both
   iPads in landscape. The band starts at 701 so it meets the phone band exactly
   where the mode query splits, leaving no width that is styled for one mode and
   run by the other. */
@media (min-width:701px) and (max-width:1280px){
  :root{--u:clamp(13.5px,1.35vw,14.5px)}
}

@media (max-width:700px){
  /* The unit is rebased, not inherited. min(2.7vw,1.5vh) put body copy at 9.9px
     and labels at 7.4px on a 390px phone — the display sizes were fine, the
     reading sizes were not, and the brief asks that body copy never be hard to
     read. A clamp holds it between 13 and 17px so a small phone stays legible
     and a large one does not inflate.

     Raising --u lifts everything, so the display multipliers come down to
     compensate: the headline was already the right size and does not need to
     grow with the body text. */
  :root{--u:clamp(13px,4.1vw,17px)}
  .nav-links,.nav-cta{display:none}
  .vol-slider{display:none}
  .nav-right{gap:0}
  /* the burger is gone on phones — the header hides on scroll and .to-top is
     the control that replaces it. See the phone header block above. */
  .nav.open .nav-links{
    display:flex;flex-direction:column;gap:26px;
    position:fixed;inset:0;background:rgba(1,2,5,.97);z-index:-1;
    align-items:center;justify-content:center;font-size:15px;letter-spacing:.15em;
  }
  .nav.open .nav-links{opacity:1;pointer-events:auto;transform:none}
  .nav.open .nav-links a{color:var(--ink)}
  .pole{left:0}
  .stop{width:86vw}
  /* the mobile display sizes live at the top of this block, next to the --u
     they depend on — these were the old ones, tuned for the old unit */
  .hero-wrap{grid-template-columns:1fr;gap:calc(var(--u)*2.4)}
  .pole{height:calc(var(--u)*18)}
  .orbit-in{font-size:calc(var(--u)*.78)}
  .hero-foot{flex-direction:column;align-items:flex-start;gap:calc(var(--u)*2)}
  .hero-note{max-width:none}
  .about-body,.case-intro{grid-template-columns:1fr;gap:calc(var(--u)*1.4)}
  .cats{grid-template-columns:1fr;gap:calc(var(--u)*1.6)}
  .proj-intro{flex-direction:column;align-items:flex-start}
  .case-head{flex-direction:column;gap:calc(var(--u)*.9)}
  .case-figs{gap:calc(var(--u)*1.4)}
  .eq-grid{grid-template-columns:1fr;gap:calc(var(--u)*1.4)}
  .eq-foot{flex-direction:column;align-items:flex-start;gap:calc(var(--u)*1.2)}
  .eq-done-msg{font-size:calc(var(--u)*2)}
  .foot{grid-template-columns:1fr;gap:calc(var(--u)*1.6)}
  .foot-end{text-align:left}
  #viewport.melting{filter:blur(var(--blur,0px)) saturate(calc(1 - var(--melt,0) * .55))}
}

/* ── reduced motion: the same site, told as a plain scroll ─────── */
body.reduced{cursor:auto}
/* ── flat mode: no camera, the page just scrolls ──────────────────────
   Everything here is layout, and it is keyed on .flat rather than .reduced so
   a phone can have the stacked page while keeping its motion. Desktop matches
   neither class, so none of it is ever evaluated there. */
/* Display sizing follows the MODE, not the width — a landscape phone is 844
   wide but still flat, and would otherwise take the desktop headline scale.
   fitStops does not scale a stop in flat mode, so #cases needs no compensation
   here either. */
body.flat .xxl{font-size:calc(var(--u)*3.4)}
body.flat .xl,body.flat #cases .xl{font-size:calc(var(--u)*2.6)}
body.flat #viewport{position:relative;inset:auto;overflow:visible;z-index:2}
body.flat .layer{position:relative;inset:auto;transform:none!important}
body.flat .layer-bg,body.flat .layer-fg{display:none}
body.flat .stop{
  position:relative;top:auto;left:auto;transform:none!important;visibility:visible!important;
  opacity:1;margin:0 auto;padding:12vh 0;width:min(1080px,88vw);
}
body.flat #track{display:none}
/* Belt and braces on the route. buildRoute() already skips it in flat mode,
   but this is the element that made the page twice the width of a phone, so it
   is also nailed shut here: it lives in .layer-mid, which flat mode must keep
   visible, and body.flat #viewport removes the overflow:hidden that used to
   contain it. */
body.flat .route-svg{display:none!important}
body.reduced .cursor,body.reduced #grain{display:none}
body.reduced [data-split] .char,body.reduced [data-split] .word{transform:none;opacity:1}

/* ?stop=N snapshot mode — arrived state, no entrance transitions */
body.still [data-split] .char,body.still [data-split] .word{transform:none;opacity:1;transition:none}
body.still #loader{display:none}
body.still .nav,body.still .hud{opacity:1;transform:none;transition:none}

/* the mast at rest — reduced motion gets a static column, not a spinner */
body.flat .pole{height:auto;perspective:none;display:flex;flex-direction:column;gap:16px}
body.flat .pole-line,body.flat .pole-cap,body.flat .pole-hint{display:none}
body.flat .pole-stage{position:static;width:auto;height:auto;display:flex;flex-direction:column;gap:14px}
body.flat .orbit{position:static;transform:none!important;opacity:1!important}
body.flat .orbit-in{transform:none}

body.flat .nav-links{opacity:1;pointer-events:auto;transform:none}

body.reduced .stop.melting{filter:none}
/* Phones and pads melt too, and it is the stop in view that melts — see the
   note in melt(). No displacement map: the turbulence is the expensive half
   of the effect and it is the half a phone cannot afford. Blur, drained
   colour and a dimming are the same idea at a price it can pay. */
body.flat .stop.melting{
  filter:blur(var(--blur,0px))
         saturate(calc(1 - var(--melt,0) * .55))
         brightness(calc(1 - var(--melt,0) * .22));
}

body.reduced .wordmark.shoot .wm-trail,body.reduced .wordmark.shoot .wm-trail i{animation:none}

body.reduced #aurora{display:none}
body.reduced .star{animation:none}

/* ── reading view ───────────────────────────────────────────────────
   Dense blocks are legible at a glance but hard to actually read at the
   size the frame allows. Dwelling on one lifts it out into a glass panel
   at 75% of the viewport, and blurs everything behind it. The melt still
   applies while it is open — but to the panel on top, not the page below,
   because the panel is what is being looked at. */
.reader{position:fixed;inset:0;z-index:60;display:none}
.reader.on{display:block}
.reader-scrim{position:absolute;inset:0;background:rgba(2,3,9,.42);opacity:0;transition:opacity 1.1s var(--ease)}
.reader.on .reader-scrim{opacity:1}

/* Glass, properly: heavy blur so the page reads as a soft wash behind it,
   saturation pushed so the colour that survives is the brand's, a specular
   sheen down the top edge, and light and dark inset lines for thickness. */
.reader-glass{
  position:absolute;left:50%;top:50%;
  display:flex;flex-direction:column;
  /* svh, not vh: on iOS vh is always the LARGE viewport, so a panel sized in
     it hangs below the visible area whenever the URL bar is showing. svh is
     the small viewport — the one you can actually see. vh first as a fallback
     for anything that does not know svh. */
  width:min(75vw,1180px);height:min(75vh,900px);height:min(75svh,900px);
  border-radius:calc(var(--u)*1.4);overflow:hidden;isolation:isolate;
  background:
    linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,0) 62%),
    linear-gradient(158deg,rgba(44,49,74,.60),rgba(12,14,24,.74));
  -webkit-backdrop-filter:blur(34px) saturate(1.9) brightness(1.06);
  backdrop-filter:blur(34px) saturate(1.9) brightness(1.06);
  border:1px solid rgba(255,255,255,.13);
  box-shadow:
    0 46px 140px rgba(0,0,0,.72),
    0 0 60px rgba(90,120,255,.10),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -1px 0 rgba(0,0,0,.42);
  /* --sag / --sagY are written by the melt, so no transform transition here */
  transform:translate(-50%,-50%) translateY(var(--sag,0px)) scaleY(var(--sagY,1));
  opacity:0;transition:opacity .4s var(--ease);
}
/* a light running the outline — a conic sweep clipped to the border ring, spun
   by rotate() so it works without @property support */
.reader-ring{
  position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:2;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;overflow:hidden;
}
.reader-ring::before{
  content:"";position:absolute;left:50%;top:50%;width:190%;aspect-ratio:1;translate:-50% -50%;
  background:conic-gradient(transparent 0 58%,rgba(110,165,255,.5) 70%,#EAF2FF 79%,rgba(166,37,238,.75) 88%,transparent 97%);
  filter:blur(.4px);animation:ringSpin 7s linear infinite;
}
@keyframes ringSpin{to{rotate:360deg}}
/* the highlight that sells it as a curved surface */
.reader-sheen{
  position:absolute;left:-20%;top:-45%;width:140%;height:70%;pointer-events:none;z-index:1;
  background:radial-gradient(ellipse at 50% 100%,rgba(255,255,255,.06),transparent 68%);
  animation:sheenDrift 11s ease-in-out infinite;
}
@keyframes sheenDrift{0%,100%{transform:translateX(-4%)}50%{transform:translateX(6%)}}
.reader.on .reader-glass{opacity:1}
.reader.on .reader-body{animation:readerRise .55s var(--ease)}
@keyframes readerRise{from{opacity:0;transform:translateY(16px)}}

.reader-head{position:relative;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:calc(var(--u)*1.1) calc(var(--u)*1.1) 0}
/* the study switcher, opposite the close — the same pill and travelling ring
   as the one on the page, so it reads as the same control moved indoors */
.reader-swap{
  position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:.6em;
  padding:calc(var(--u)*.5) calc(var(--u)*1.15);
  border:1px solid rgba(166,37,238,.62);border-radius:999px;
  background:linear-gradient(180deg,rgba(166,37,238,.34),rgba(166,37,238,.16));
  box-shadow:0 0 calc(var(--u)*1.1) rgba(166,37,238,.30),inset 0 1px 0 rgba(255,255,255,.08);
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.7);
  letter-spacing:.13em;text-transform:uppercase;color:#fff;cursor:pointer;
  transition:color .3s,border-color .3s,background .3s,box-shadow .35s;
}
.reader-swap span,.reader-swap svg{position:relative;z-index:1}
.reader-swap svg{width:1.15em;height:1.15em;transition:transform .35s var(--ease)}
.reader-swap:hover{border-color:rgba(166,37,238,.9);box-shadow:0 0 calc(var(--u)*1.7) rgba(166,37,238,.45)}
.reader-swap:hover svg{transform:translateX(.22em)}
.reader-swap:hover .eq-sel-ring::before{animation-duration:2.4s}
.reader-swap:focus{outline:none}
.reader-swap:focus-visible{outline:none;border-color:var(--violet);box-shadow:0 0 calc(var(--u)*1.8) rgba(166,37,238,.5)}

/* the same control again, on the right edge of the film frame */
.fb-swap{
  position:absolute;right:calc(var(--u)*1.2);top:calc(var(--u)*1.2);
  z-index:6;display:inline-flex;align-items:center;gap:.6em;
  padding:calc(var(--u)*.55) calc(var(--u)*1.15);
  border:1px solid rgba(166,37,238,.62);border-radius:999px;
  background:linear-gradient(180deg,rgba(12,6,22,.82),rgba(12,6,22,.72));
  box-shadow:0 0 calc(var(--u)*1.1) rgba(166,37,238,.32),inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.68);
  letter-spacing:.13em;text-transform:uppercase;color:#fff;cursor:pointer;
  transition:color .3s,border-color .3s,background .3s,box-shadow .35s;
}
.fb-swap span,.fb-swap svg{position:relative;z-index:1}
.fb-swap svg{width:1.15em;height:1.15em;transition:transform .35s var(--ease)}
.fb-swap:hover{border-color:rgba(166,37,238,.92);box-shadow:0 0 calc(var(--u)*1.8) rgba(166,37,238,.48)}
.fb-swap:hover svg{transform:translateX(.22em)}
.fb-swap:hover .eq-sel-ring::before{animation-duration:2.4s}
.fb-swap:focus{outline:none}
.fb-swap:focus-visible{outline:none;border-color:var(--violet);box-shadow:0 0 calc(var(--u)*1.9) rgba(166,37,238,.55)}

/* a strip that animates to match whatever is being read */
/* the panel is large and the copy rarely fills it, so whatever is left over
   becomes a stage for an animation of what is being read */
.reader-stage{position:relative;z-index:2;flex:1 1 auto;min-height:clamp(110px,16vh,200px)}
.reader-vis{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:.95}
.reader-x{
  display:grid;place-items:center;width:calc(var(--u)*2.4);height:calc(var(--u)*2.4);
  border-radius:50%;border:1px solid rgba(255,255,255,.16);color:var(--ink-2);
  transition:color .3s,border-color .3s,background .3s,transform .3s var(--ease);
}
.reader-x svg{width:58%;height:58%}
.reader-x:hover{color:#fff;border-color:var(--violet);background:rgba(166,37,238,.16);transform:rotate(90deg)}
.reader-body{
  position:relative;z-index:3;flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:calc(var(--u)*.6) clamp(24px,3.4vw,60px) clamp(28px,3.4vw,56px);
}

/* read at a comfortable size, not the size the frame could spare */
.reader-body .cs-k,.reader-body .cat-n,.reader-body .p-idx{font-size:clamp(10px,.85vw,13px);letter-spacing:.17em}
.reader-body h3,.reader-body h4{
  font-family:var(--f-display);font-weight:600;
  font-size:clamp(26px,2.7vw,44px);line-height:1.2;letter-spacing:-.018em;
  color:var(--ink);margin:clamp(10px,1vw,18px) 0 clamp(14px,1.4vw,24px);
}
.reader-body p{font-size:clamp(15px,1.22vw,21px);line-height:1.72;color:var(--ink-2);max-width:68ch}
.reader-body .case-brief{opacity:1!important;transform:none!important}

/* ── the scroll rail ───────────────────────────────────────────────
   The native bar is a grey system object sitting on a black glass panel, and
   it was the one static thing left in a view where everything else moves. So
   it is hidden and replaced: a floating oval that rides the scroll, with the
   site's own three colours running through it continuously.

   The colours travel by moving a gradient three times the thumb's height
   through it — one animation, no per-frame work, and it keeps running while
   the thumb is still. */
.reader-body{scrollbar-width:none}
.reader-body::-webkit-scrollbar{width:0;height:0}
/* The rail is wider than it looks: the visible track is the ::before, and the
   box around it is the hit area — a 3px-wide target is not one you can take
   hold of. */
.reader-rail{
  position:absolute;right:calc(var(--u)*.28);width:calc(var(--u)*1.1);
  z-index:5;border-radius:999px;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  opacity:0;transition:opacity .45s var(--ease);
}
.reader-rail::before{
  content:"";position:absolute;left:50%;top:0;bottom:0;width:calc(var(--u)*.2);
  transform:translateX(-50%);border-radius:999px;background:rgba(255,255,255,.05);
}
.reader.on .reader-rail{opacity:1}
.reader-rail.idle{opacity:0}                 /* nothing to scroll */
.reader-thumb{
  position:absolute;top:0;left:50%;width:calc(var(--u)*.3);margin-left:calc(var(--u)*-.15);
  border-radius:999px;cursor:grab;touch-action:none;
  background:linear-gradient(180deg,#FFFFFF 0%,var(--violet-ink) 26%,var(--blue) 52%,var(--violet) 74%,#FFFFFF 100%);
  background-size:100% 300%;
  animation:railFlow 7s linear infinite;
  box-shadow:0 0 calc(var(--u)*.7) rgba(166,37,238,.55);
  transition:height .25s var(--ease),filter .35s,width .3s var(--ease);
  will-change:transform;
}
@keyframes railFlow{from{background-position:0 0}to{background-position:0 -300%}}
/* brighter while it is actually being moved, then it settles back */
.reader-rail.live .reader-thumb{filter:brightness(1.35) saturate(1.2);animation-duration:2.6s}
.reader-rail.grabbing{cursor:grabbing}
.reader-rail.grabbing .reader-thumb{cursor:grabbing;width:calc(var(--u)*.42);margin-left:calc(var(--u)*-.21)}

/* ── the full case study ───────────────────────────────────────────
   Only ever rendered inside the reading panel, so the p rules above it have
   to be out-specified rather than fought. It arrives in bands: the figures
   first, then each section, because a wall of text appearing at once reads
   as a document dump and not as something built for the reader. */
.cf-doc{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:calc(var(--u)*.6);
  padding-bottom:calc(var(--u)*.8);margin-bottom:calc(var(--u)*1);
  border-bottom:1px solid var(--line-2);
  font-family:var(--f-mono);font-size:clamp(9px,.72vw,11px);
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);
}
.reader-body .cf-lede{color:var(--ink-2);max-width:70ch}
.cf-figs{
  display:grid;grid-template-columns:repeat(3,1fr);gap:calc(var(--u)*1.2);
  margin:calc(var(--u)*1.4) 0;padding:calc(var(--u)*1.15) 0;
  border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2);
}
.cf-fig b{
  display:block;font-family:var(--f-display);font-weight:200;line-height:1;
  font-size:clamp(22px,2.5vw,42px);
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.cf-fig i{
  display:block;margin-top:calc(var(--u)*.45);font-style:normal;
  font-family:var(--f-mono);font-size:clamp(9px,.7vw,11px);
  letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);
}
.cf-sec{margin-top:calc(var(--u)*1.7)}
.cf-list{list-style:none;display:grid;gap:calc(var(--u)*.8);margin-top:calc(var(--u)*.8)}
.cf-list li{
  position:relative;padding-left:calc(var(--u)*1.2);
  font-size:clamp(14px,1.08vw,18px);line-height:1.72;color:var(--ink-2);
}
.cf-list li::before{
  content:"";position:absolute;left:0;top:.66em;
  width:calc(var(--u)*.5);height:1px;background:var(--violet-ink);opacity:.75;
}
.cf-list b{color:var(--ink);font-weight:400}
.reader-body .cf-nda{
  margin-top:calc(var(--u)*1.9);padding-top:calc(var(--u)*.9);
  border-top:1px solid var(--line-2);
  font-family:var(--f-mono);font-size:clamp(10px,.76vw,12px);
  letter-spacing:.13em;color:var(--ink-3);max-width:none;
}
@keyframes cfRise{to{opacity:1;transform:none}}
.reader.on .reader-body .cf-figs,
.reader.on .reader-body .cf-sec{
  opacity:0;transform:translateY(calc(var(--u)*.7));
  animation:cfRise .6s var(--ease) forwards;
}
.reader.on .reader-body .cf-figs{animation-delay:.10s}
.reader.on .reader-body .cf-sec{animation-delay:calc(.12s + var(--i,0)*.08s)}
/* Local, because everything above is declared after the phone block near the
   top of the file — put there, this override loses on source order. Three
   90px columns wrap "Same day" onto two lines and the labels stop lining up. */
@media (max-width:700px){.cf-figs{grid-template-columns:1fr;gap:calc(var(--u)*1.1)}}

/* a dense block invites the reading view */
.readable{cursor:none}
.readable::after{content:"";position:absolute;inset:calc(var(--u)*-.6);border-radius:calc(var(--u)*.5);
  background:rgba(255,255,255,.028);opacity:0;transition:opacity .35s;pointer-events:none;z-index:-1}
.readable:hover::after{opacity:1}

/* everything behind recedes while reading */
body.reading #viewport,body.reading #field,body.reading #aurora,
body.reading .nav,body.reading .hud,body.reading .progress-rail{
  filter:blur(9px);transition:filter 1.2s var(--ease);
}

@media (max-width:900px){
  .reader-glass{width:92vw;height:82vh;height:82svh}
}
body.reduced .reader-glass{backdrop-filter:none;background:rgba(10,12,20,.97)}

/* ── the film, played large ─────────────────────────────────────────
   The frame lives at body level, outside #viewport, so the melt cannot
   reach it — a film stays crisp and playing while the page behind it
   liquefies. The video element is MOVED here and moved back on close, so
   playback is never interrupted and never doubled. */
.filmbox{position:fixed;inset:0;z-index:70;display:none}
.filmbox.on{display:block}
.filmbox-scrim{position:absolute;inset:0;background:rgba(2,3,9,.62);opacity:0;transition:opacity 1.1s var(--ease)}
.filmbox.on .filmbox-scrim{opacity:1}
.filmbox-frame{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.965);
  width:min(80vw,1520px);aspect-ratio:16/9;max-height:82vh;max-height:82svh;
  border-radius:calc(var(--u)*1);overflow:hidden;isolation:isolate;
  background:#05060A;border:1px solid rgba(255,255,255,.14);
  box-shadow:0 50px 150px rgba(0,0,0,.8),0 0 90px rgba(90,120,255,.16);
  /* No opening transition of its own: flipFrom() drives the whole arrival with
     an inline transition, and a second one on the same properties only fights
     it. This is the resting state it is handed back to. */
  opacity:0;
}
.filmbox.on .filmbox-frame{opacity:1;transform:translate(-50%,-50%) scale(1)}
.filmbox-ring{
  position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:3;overflow:hidden;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
}
.filmbox-ring::before{
  content:"";position:absolute;left:50%;top:50%;width:200%;aspect-ratio:1;translate:-50% -50%;
  background:conic-gradient(transparent 0 60%,rgba(110,165,255,.5) 72%,#EAF2FF 80%,rgba(166,37,238,.75) 89%,transparent 97%);
  animation:ringSpin 8s linear infinite;
}
.filmbox-slot{position:absolute;inset:0;z-index:1}
.filmbox-slot video{
  width:100%;height:100%;object-fit:contain;display:block;
  transform:none!important;background:#05060A;
}
.filmbox-x{
  position:absolute;top:calc(var(--u)*.9);left:calc(var(--u)*.9);z-index:4;
  display:grid;place-items:center;width:calc(var(--u)*2.4);height:calc(var(--u)*2.4);
  border-radius:50%;border:1px solid rgba(255,255,255,.2);color:var(--ink-2);
  background:rgba(8,10,18,.55);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  transition:color .3s,border-color .3s,background .3s,transform .3s var(--ease);
}
.filmbox-x svg{width:56%;height:56%}
.filmbox-x:hover{color:#fff;border-color:var(--violet);background:rgba(166,37,238,.24);transform:rotate(90deg)}
.filmbox-cap{
  position:absolute;left:calc(var(--u)*1.2);bottom:calc(var(--u)*.9);z-index:4;
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.66);
  letter-spacing:.15em;text-transform:uppercase;color:var(--ink-2);
  text-shadow:0 2px 12px rgba(0,0,0,.9);
}
/* the page recedes behind a film exactly as it does behind a reading panel */
body.filming #viewport,body.filming #field,body.filming #aurora,
body.filming .nav,body.filming .hud,body.filming .progress-rail{
  filter:blur(9px);transition:filter 1.2s var(--ease);
}
@media (max-width:900px){.filmbox-frame{width:94vw}}

/* ── the flight ─────────────────────────────────────────────────────
   A quadratic Bezier from the card to the centre, bowing left, sampled at 17
   evenly spaced moments in TIME. Two things follow from that, and both were
   wrong before:

   The samples are uniform in time and the EASING is in where each one lands
   along the curve — so distance per frame falls away smoothly and the panel
   decelerates into place. The previous version sampled uniformly along the
   curve instead, which pushed the last waypoint out to 65% of the duration
   and left the final third as a constant crawl.

   And animation-timing-function is linear. It was ease-in-out, which CSS
   applies to EVERY segment, so the panel braked to a near stop and pulled
   away again at each waypoint. That stutter is what read as angular; with a
   fine enough sampling, linear between points is the smooth curve. */
@keyframes filmGrow{
  0%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 1.0000 + -0.00vw),calc(var(--fy) * 1.0000)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.0000));opacity:0.12;box-shadow:0 0 22px 3px rgba(30,144,255,0.125),0 0 46px 9px rgba(30,144,255,0.048)}
  6.25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.8811 + -1.78vw),calc(var(--fy) * 0.8430)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.1616));opacity:0.46;box-shadow:0 0 37px 5px rgba(72,111,250,0.24),0 0 78px 15px rgba(72,111,250,0.091)}
  12.5%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.7667 + -2.92vw),calc(var(--fy) * 0.7044)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.2941));opacity:0.881;box-shadow:0 0 54px 8px rgba(110,81,245,0.345),0 0 113px 22px rgba(110,81,245,0.131)}
  18.75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.6580 + -3.53vw),calc(var(--fy) * 0.5826)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.4103));opacity:1;box-shadow:0 0 69px 10px rgba(145,54,241,0.441),0 0 145px 29px rgba(145,54,241,0.168)}
  25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.5559 + -3.75vw),calc(var(--fy) * 0.4760)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.5129));opacity:1;box-shadow:0 0 74px 11px rgba(170,49,239,0.472),0 0 155px 31px rgba(170,49,239,0.179)}
  31.25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.4614 + -3.66vw),calc(var(--fy) * 0.3834)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.6035));opacity:1;box-shadow:0 0 61px 9px rgba(180,84,242,0.394),0 0 128px 25px rgba(180,84,242,0.150)}
  37.5%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.3751 + -3.36vw),calc(var(--fy) * 0.3034)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.6830));opacity:1;box-shadow:0 0 51px 7px rgba(189,114,245,0.324),0 0 107px 21px rgba(189,114,245,0.123)}
  43.75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.2975 + -2.93vw),calc(var(--fy) * 0.2350)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.7522));opacity:1;box-shadow:0 0 41px 6px rgba(197,141,247,0.264),0 0 86px 17px rgba(197,141,247,0.100)}
  50%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.2290 + -2.43vw),calc(var(--fy) * 0.1772)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.8115));opacity:1;box-shadow:0 0 33px 5px rgba(204,164,249,0.211),0 0 69px 14px rgba(204,164,249,0.080)}
  56.25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.1697 + -1.91vw),calc(var(--fy) * 0.1290)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.8617));opacity:1;box-shadow:0 0 26px 4px rgba(210,183,250,0.166),0 0 55px 11px rgba(210,183,250,0.063)}
  62.5%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.1198 + -1.41vw),calc(var(--fy) * 0.0898)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.9032));opacity:1;box-shadow:0 0 22px 3px rgba(215,200,252,0.129),0 0 46px 9px rgba(215,200,252,0.049)}
  68.75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.0792 + -0.96vw),calc(var(--fy) * 0.0586)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.9364));opacity:1;box-shadow:0 0 22px 3px rgba(218,213,253,0.1),0 0 46px 9px rgba(218,213,253,0.038)}
  75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.0476 + -0.59vw),calc(var(--fy) * 0.0349)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.9620));opacity:1;box-shadow:0 0 22px 3px rgba(222,223,254,0.1),0 0 46px 9px rgba(222,223,254,0.038)}
  81.25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.0246 + -0.31vw),calc(var(--fy) * 0.0179)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.9804));opacity:1;box-shadow:0 0 22px 3px rgba(224,230,254,0.1),0 0 46px 9px rgba(224,230,254,0.038)}
  87.5%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.0097 + -0.12vw),calc(var(--fy) * 0.0070)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.9923));opacity:1;box-shadow:0 0 22px 3px rgba(225,235,255,0.1),0 0 46px 9px rgba(225,235,255,0.038)}
  93.75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.0020 + -0.03vw),calc(var(--fy) * 0.0014)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.9984));opacity:1;box-shadow:0 0 22px 3px rgba(226,237,255,0.1),0 0 46px 9px rgba(226,237,255,0.038)}
  100%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.0000 + -0.00vw),calc(var(--fy) * 0.0000)) scale(calc(var(--fs) + (1 - var(--fs)) * 1.0000));opacity:1;box-shadow:0 0 22px 3px rgba(226,238,255,0.1),0 0 46px 9px rgba(226,238,255,0.038)}
}
@keyframes filmShrink{
  0%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.0000 + -0.00vw),calc(var(--fy) * 0.0000)) scale(calc(var(--fs) + (1 - var(--fs)) * 1.0000));opacity:1.0;box-shadow:0 0 22px 3px rgba(226,238,255,0.125),0 0 46px 9px rgba(226,238,255,0.048)}
  6.25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.1019 + -1.07vw),calc(var(--fy) * 0.0784)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.8986));opacity:0.997;box-shadow:0 0 34px 5px rgba(214,198,252,0.216),0 0 71px 14px rgba(214,198,252,0.082)}
  12.5%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.2002 + -1.85vw),calc(var(--fy) * 0.1599)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.8016));opacity:0.984;box-shadow:0 0 47px 7px rgba(203,160,248,0.303),0 0 99px 20px rgba(203,160,248,0.115)}
  18.75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.2947 + -2.36vw),calc(var(--fy) * 0.2432)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.7090));opacity:0.957;box-shadow:0 0 60px 9px rgba(192,124,245,0.385),0 0 126px 25px rgba(192,124,245,0.146)}
  25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.3849 + -2.65vw),calc(var(--fy) * 0.3271)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.6210));opacity:0.917;box-shadow:0 0 72px 10px rgba(182,90,243,0.462),0 0 151px 30px rgba(182,90,243,0.176)}
  31.25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.4706 + -2.75vw),calc(var(--fy) * 0.4106)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.5377));opacity:0.862;box-shadow:0 0 73px 10px rgba(172,59,240,0.466),0 0 153px 30px rgba(172,59,240,0.177)}
  37.5%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.5513 + -2.69vw),calc(var(--fy) * 0.4925)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.4592));opacity:0.795;box-shadow:0 0 62px 9px rgba(160,42,239,0.399),0 0 130px 26px rgba(160,42,239,0.152)}
  43.75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.6267 + -2.52vw),calc(var(--fy) * 0.5717)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.3857));opacity:0.719;box-shadow:0 0 53px 8px rgba(137,60,242,0.337),0 0 111px 22px rgba(137,60,242,0.128)}
  50%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.6964 + -2.25vw),calc(var(--fy) * 0.6473)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.3173));opacity:0.635;box-shadow:0 0 44px 6px rgba(117,76,244,0.281),0 0 92px 18px rgba(117,76,244,0.107)}
  56.25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.7602 + -1.92vw),calc(var(--fy) * 0.7182)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.2544));opacity:0.548;box-shadow:0 0 36px 5px rgba(98,90,246,0.23),0 0 76px 15px rgba(98,90,246,0.087)}
  62.5%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.8176 + -1.56vw),calc(var(--fy) * 0.7835)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.1971));opacity:0.46;box-shadow:0 0 29px 4px rgba(82,103,249,0.184),0 0 61px 12px rgba(82,103,249,0.070)}
  68.75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.8681 + -1.19vw),calc(var(--fy) * 0.8422)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.1457));opacity:0.375;box-shadow:0 0 23px 3px rgba(67,115,250,0.144),0 0 48px 10px rgba(67,115,250,0.055)}
  75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.9115 + -0.83vw),calc(var(--fy) * 0.8933)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.1007));opacity:0.296;box-shadow:0 0 22px 3px rgba(55,124,252,0.11),0 0 46px 9px rgba(55,124,252,0.042)}
  81.25%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.9471 + -0.51vw),calc(var(--fy) * 0.9359)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.0625));opacity:0.228;box-shadow:0 0 22px 3px rgba(45,132,253,0.1),0 0 46px 9px rgba(45,132,253,0.038)}
  87.5%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.9745 + -0.25vw),calc(var(--fy) * 0.9689)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.0320));opacity:0.173;box-shadow:0 0 22px 3px rgba(37,138,254,0.1),0 0 46px 9px rgba(37,138,254,0.038)}
  93.75%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 0.9927 + -0.07vw),calc(var(--fy) * 0.9910)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.0101));opacity:0.135;box-shadow:0 0 22px 3px rgba(32,142,255,0.1),0 0 46px 9px rgba(32,142,255,0.038)}
  100%{transform:translate(-50%,-50%) translate(calc(var(--fx) * 1.0000 + -0.00vw),calc(var(--fy) * 1.0000)) scale(calc(var(--fs) + (1 - var(--fs)) * 0.0000));opacity:0.12;box-shadow:0 0 22px 3px rgba(30,144,255,0.1),0 0 46px 9px rgba(30,144,255,0.038)}
}

/* ── film controls ──────────────────────────────────────────────── */
.filmbox-ctrl{
  position:absolute;left:0;right:0;bottom:0;z-index:4;
  display:flex;align-items:center;gap:calc(var(--u)*1.1);
  padding:calc(var(--u)*2.4) calc(var(--u)*1.4) calc(var(--u)*1);
  background:linear-gradient(180deg,transparent,rgba(3,4,10,.82));
  opacity:0;transform:translateY(8px);transition:opacity .35s var(--ease),transform .35s var(--ease);
}
.filmbox.on .filmbox-frame:hover .filmbox-ctrl,
.filmbox.on .filmbox-ctrl:focus-within{opacity:1;transform:none}
.fb-play{
  flex:none;display:grid;place-items:center;width:calc(var(--u)*2.2);height:calc(var(--u)*2.2);
  border-radius:50%;border:1px solid rgba(255,255,255,.2);color:var(--ink);
  background:rgba(10,12,20,.5);transition:border-color .3s,background .3s;
}
.fb-play:hover{border-color:var(--violet);background:rgba(166,37,238,.2)}
.fb-play svg{width:58%;height:58%;grid-area:1/1}
.fb-play .fb-i-play{display:none}
.fb-play.paused .fb-i-play{display:block}
.fb-play.paused .fb-i-pause{display:none}
.fb-seek{
  -webkit-appearance:none;appearance:none;flex:1;height:16px;background:none;cursor:none;--v:0;
}
body.is-touch .fb-seek{cursor:pointer}
/* --v is 0-100, so the fill is v% — it was v * 0.1%, which meant the bar
   reached a tenth of the way when the thumb reached the end. The thumb's
   centre also travels from half a thumb in to half a thumb short, so the fill
   carries the same offset or it drifts by up to half a thumb width. */
.fb-seek{--thumb:10px;--fill:calc(var(--v) * 1% + (.5 - var(--v) / 100) * var(--thumb))}
.fb-seek::-webkit-slider-runnable-track{
  height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--blue),var(--violet)) 0 0 / var(--fill) 100% no-repeat,
             rgba(255,255,255,.18);
}
.fb-seek::-webkit-slider-thumb{
  -webkit-appearance:none;width:10px;height:10px;margin-top:-4px;border-radius:50%;
  background:#fff;box-shadow:0 0 10px 2px rgba(160,190,255,.7);transition:transform .25s;
}
.fb-seek:hover::-webkit-slider-thumb{transform:scale(1.3)}
.fb-seek::-moz-range-track{
  height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--blue),var(--violet)) 0 0 / var(--fill) 100% no-repeat,
             rgba(255,255,255,.18);
}
.fb-seek::-moz-range-thumb{width:10px;height:10px;border:0;border-radius:50%;background:#fff}
.fb-time{
  flex:none;font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.66);
  letter-spacing:.1em;color:var(--ink-2);font-variant-numeric:tabular-nums;
}
/* while shrinking back to its card, nothing should intercept the pointer */
.filmbox.closing,.reader.closing{pointer-events:none}
.filmbox.closing .filmbox-scrim,.reader.closing .reader-scrim{opacity:0}

/* ── the enquiry arrow ── */
.btn-primary svg{
  filter:drop-shadow(0 0 5px rgba(120,170,255,.85));
  animation:arrowGlow 4.5s ease-in-out infinite;
}
@keyframes arrowGlow{
  0%,100%{color:#F2F7FF;filter:drop-shadow(0 0 6px rgba(160,200,255,.95)) drop-shadow(0 0 18px rgba(30,144,255,.65))}
  33%    {color:#7FB4FF;filter:drop-shadow(0 0 8px rgba(120,175,255,1))   drop-shadow(0 0 24px rgba(30,144,255,.85))}
  66%    {color:#CE8CFF;filter:drop-shadow(0 0 8px rgba(205,140,255,1))   drop-shadow(0 0 26px rgba(166,37,238,.85))}
}
.btn-primary:hover svg{animation-duration:2s}

/* ── "this opens" ───────────────────────────────────────────────────
   A corner bracket that breathes once every few seconds, staggered so the
   blocks never blink together. No words, and it gets out of the way the
   moment the pointer arrives. */
.readable::before{
  content:"";position:absolute;top:calc(var(--u)*-.45);right:calc(var(--u)*-.45);
  width:calc(var(--u)*.85);height:calc(var(--u)*.85);
  border-top:1px solid var(--violet-ink);border-right:1px solid var(--violet-ink);
  border-top-right-radius:4px;pointer-events:none;opacity:0;
  animation:hintBreathe 7s ease-in-out infinite;
}
.case-brief.readable::before{animation-delay:.4s}
.readable:hover::before{opacity:0;animation:none}
@keyframes hintBreathe{
  0%,68%,100%{opacity:0;transform:translate(-3px,3px)}
  80%        {opacity:.5;transform:translate(0,0)}
}
body.reduced .readable::before,body.reduced .btn-primary svg{animation:none}

/* the helix is drawn four periods wide so it can slide; the viewBox shows one
   window of it, and this is what stops the rest painting over the copy */

/* the section's number, sitting behind its own section */
.stop-num{
  position:absolute;right:calc(var(--u)*-1.5);top:calc(var(--u)*-3.4);z-index:-1;
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*19);
  line-height:.82;letter-spacing:.04em;   /* mono numerals: never negative */
  /* painted at its brightest and scaled down, so --near 0 lands on the
     original .030 and --near 1 on .080 — the numbers stay readable here
     rather than hiding inside a calc() in the alpha channel */
  color:rgba(255,255,255,.12);opacity:calc(.375 + .625 * var(--near,0));
  pointer-events:none;user-select:none;
}

/* ── the layers ─────────────────────────────────────────────────────
   The three words as a system you switch on. With nothing enabled the work
   wanders between stations, some of it is dropped, and the picture is a mess.
   Each layer changes what the diagram DOES: automation lays the rails,
   intelligence puts a decision at every junction, design resolves the whole
   thing into something a person can read. */
.layers{margin-top:calc(var(--u)*2);padding-top:calc(var(--u)*1.4);border-top:1px solid var(--line-2)}
.ly-bar{display:flex;align-items:center;gap:calc(var(--u)*1.6);flex-wrap:wrap}
.ly-k{
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.86);
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink);
  text-shadow:0 0 18px rgba(120,150,255,.38);flex:none;
}
.ly-toggles{display:flex;gap:calc(var(--u)*.6)}
.ly-t{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.66);
  letter-spacing:.14em;text-transform:uppercase;color:#5F677B;   /* --ink-3 +10% */
  padding:calc(var(--u)*.38) calc(var(--u)*1);border:1px solid var(--line-2);border-radius:100px;
  /* lit even when off, so they read as controls rather than captions */
  box-shadow:0 0 14px rgba(120,150,255,.121),inset 0 0 16px rgba(120,150,255,.055);
  transition:color .35s,border-color .35s,background .35s,box-shadow .45s;
}
.ly-t em{font-style:normal;font-size:calc(var(--u)*.56);opacity:.6}
.ly-t:hover{color:var(--ink-2);border-color:var(--line);box-shadow:0 0 22px rgba(140,175,255,.26),inset 0 0 20px rgba(140,175,255,.08)}
.ly-t[aria-pressed="true"]{color:#fff;border-color:transparent}
/* Until one is chosen they breathe, staggered so the row reads as a row rather
   than as three things flashing at once. It stops on .switched — which the
   click handler sets from whether ANY layer is on — so turning the last one
   back off starts them breathing again. That is the honest state to key on:
   the invitation belongs on screen exactly as long as nothing is on.

   :not(.switched) also outranks the pressed rule below, so the two can never
   run at once on the same button. */
.stop.live .layers:not(.switched) .ly-t{animation:lyIdle 2.8s ease-in-out infinite}
.stop.live .layers:not(.switched) .ly-t:nth-child(2){animation-delay:.34s}
.stop.live .layers:not(.switched) .ly-t:nth-child(3){animation-delay:.68s}
@keyframes lyIdle{
  0%,100%{box-shadow:0 0 14px rgba(120,150,255,.121),inset 0 0 16px rgba(120,150,255,.055);
          border-color:var(--line-2)}
  50%    {box-shadow:0 0 27px 3px rgba(130,165,255,.32),inset 0 0 22px rgba(130,165,255,.11);
          border-color:rgba(150,180,255,.30)}
}

/* An enabled layer should read as switched on, not merely tinted — a wide
   glow that breathes, in that layer's own colour. */
.ly-t[aria-pressed="true"]{animation:lyPulse 2.6s ease-in-out infinite}
.ly-t[data-k="intel"][aria-pressed="true"] {background:rgba(30,144,255,.26)}
.ly-t[data-k="auto"][aria-pressed="true"]  {background:rgba(106,70,245,.28)}
.ly-t[data-k="design"][aria-pressed="true"]{background:rgba(166,37,238,.28)}
/* The fill still says which layer this is; the glow says whose site it is.
   It used to breathe in one flat hue per layer, which read as a stock blue
   button. It now runs the same blue → violet → white the rest of the page
   runs, so a switched-on layer belongs to the brand rather than to itself. */
@keyframes lyPulse{
  0%,100%{box-shadow:0 0 20px 2px rgba(30,144,255,.72),0 0 54px 13px rgba(30,144,255,.30);
          text-shadow:0 0 12px rgba(150,200,255,.9)}
  34%    {box-shadow:0 0 27px 4px rgba(166,37,238,.74),0 0 66px 17px rgba(166,37,238,.30);
          text-shadow:0 0 15px rgba(215,150,255,.9)}
  67%    {box-shadow:0 0 24px 3px rgba(235,242,255,.62),0 0 60px 15px rgba(150,180,255,.26);
          text-shadow:0 0 17px rgba(255,255,255,.95)}
}
body.reduced .ly-t[aria-pressed="true"],body.reduced .ly-t{animation:none}
body.reduced .ly-t[aria-pressed="true"]{box-shadow:0 0 22px rgba(90,140,255,.6)}

/* ── "press these" ──────────────────────────────────────────────────
   Nothing on the page said the layers were switches, so people read them as
   labels. A streak runs left to right and arrives at three chevrons pointing
   into the buttons — the streak carries the eye, the chevrons name the
   target.

   It runs three times and stops. An affordance that pulses forever stops
   being an instruction and becomes decoration, and it competes with the
   switched-on glow it is pointing at. Both animations hang off .stop.live,
   so they start when you arrive and re-run if you leave and come back. */
.ly-cue{
  position:relative;display:flex;align-items:center;justify-content:flex-end;
  gap:calc(var(--u)*.26);flex:1;min-width:calc(var(--u)*4);height:calc(var(--u)*1.4);
  pointer-events:none;transition:opacity .55s var(--ease),visibility .55s;
}
.ly-cue s{
  position:absolute;left:0;top:50%;width:calc(var(--u)*2.4);height:2px;
  border-radius:2px;text-decoration:none;opacity:0;
  transform:translateY(-50%);
  background:linear-gradient(90deg,rgba(120,170,255,0),rgba(150,190,255,.55),#fff);
  box-shadow:0 0 12px 2px rgba(150,190,255,.75),0 0 26px 6px rgba(120,90,255,.4);
}
/* Spread along the star's path, not bunched at the end of it. Bunched, all
   three were passed within a few frames of each other and the sweep was over
   before it read. Absolutely placed so each one sits at a known percentage of
   the run, which is what lets its exit be timed to the head arriving.

   Centred with margin rather than translate: `transform` holds the 45deg and
   `translate` is what the keyframes nudge, so neither is free for centring. */
.ly-cue b{
  position:absolute;top:50%;margin-top:calc(var(--u)*-.2);
  width:calc(var(--u)*.4);height:calc(var(--u)*.4);opacity:0;
  border-top:1.5px solid var(--violet-ink);border-right:1.5px solid var(--violet-ink);
  transform:rotate(45deg);
}
/* Clicked, and the invitation is over. The wrapper fades, and the streak and
   the arrows actually stop rather than running on unseen behind it.

   Paused, not `animation:none`: none snaps every element to its base state —
   opacity 0 — which would kill the wrapper's own fade and make the cue vanish
   instead of leave.

   The .stop.live .layers.switched prefix is what makes the pause bite. The
   arrows take their names from .stop.live .ly-cue b:nth-child(n), and a
   shorter selector would tie on specificity and be settled by source order. */
.layers.switched .ly-cue{opacity:0;visibility:hidden}
.stop.live .layers.switched .ly-cue s,
.stop.live .layers.switched .ly-cue b{animation-play-state:paused}

/* The streak itself. It runs at constant speed so its position maps
   predictably to time, which is what every arrow's exit is solved against. */
.stop.live .ly-cue s{animation:lyStar 2.4s linear infinite}
@keyframes lyStar{
  0%  {opacity:0;left:0;transform:translateY(-50%) scaleX(.5)}
  16% {opacity:1}
  70% {opacity:1;left:calc(100% - var(--u)*2.4);transform:translateY(-50%) scaleX(1.3)}
  100%{opacity:0;left:100%;transform:translateY(-50%) scaleX(.55)}
}

/* Twelve arrows along the star's path, each cleared as the light reaches it.
   The exits are solved, not eyeballed: the streak's left edge covers 91% of
   the cue over the first 70% of the cycle at constant speed, and its head
   leads that edge by the streak's length. An arrow centred at x clears at
   70*(x-7.2)/91.

   That 7.2 is measured against the running animation rather than the element:
   the streak sits at scaleX(.5) at 0%, so reading its width off the DOM gives
   half the truth, and taking it at face value made every arrow clear 5% of the
   cue late — an identical error on all of them is the tell that a shared
   constant is wrong rather than the arithmetic.

   Generated rather than hand-written: twelve near-identical keyframe blocks is
   exactly where one transposed number hides forever. */
.stop.live .ly-cue b{
  animation-duration:2.4s;animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;
}
.ly-cue b:nth-child(2){left:24%}
.stop.live .ly-cue b:nth-child(2){animation-name:lyChev1}
.ly-cue b:nth-child(3){left:30.18%}
.stop.live .ly-cue b:nth-child(3){animation-name:lyChev2}
.ly-cue b:nth-child(4){left:36.36%}
.stop.live .ly-cue b:nth-child(4){animation-name:lyChev3}
.ly-cue b:nth-child(5){left:42.55%}
.stop.live .ly-cue b:nth-child(5){animation-name:lyChev4}
.ly-cue b:nth-child(6){left:48.73%}
.stop.live .ly-cue b:nth-child(6){animation-name:lyChev5}
.ly-cue b:nth-child(7){left:54.91%}
.stop.live .ly-cue b:nth-child(7){animation-name:lyChev6}
.ly-cue b:nth-child(8){left:61.09%}
.stop.live .ly-cue b:nth-child(8){animation-name:lyChev7}
.ly-cue b:nth-child(9){left:67.27%}
.stop.live .ly-cue b:nth-child(9){animation-name:lyChev8}
.ly-cue b:nth-child(10){left:73.45%}
.stop.live .ly-cue b:nth-child(10){animation-name:lyChev9}
.ly-cue b:nth-child(11){left:79.64%}
.stop.live .ly-cue b:nth-child(11){animation-name:lyChev10}
.ly-cue b:nth-child(12){left:85.82%}
.stop.live .ly-cue b:nth-child(12){animation-name:lyChev11}
.ly-cue b:nth-child(13){left:92%}
.stop.live .ly-cue b:nth-child(13){animation-name:lyChev12}

@keyframes lyChev1{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  8.385%{opacity:.95;translate:0 0}
  13.38%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev2{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  13.14%{opacity:.95;translate:0 0}
  18.14%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev3{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  17.9%{opacity:.95;translate:0 0}
  22.9%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev4{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  22.65%{opacity:.95;translate:0 0}
  27.65%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev5{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  27.41%{opacity:.95;translate:0 0}
  32.41%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev6{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  32.16%{opacity:.95;translate:0 0}
  37.16%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev7{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  36.92%{opacity:.95;translate:0 0}
  41.92%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev8{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  41.67%{opacity:.95;translate:0 0}
  46.67%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev9{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  46.43%{opacity:.95;translate:0 0}
  51.43%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev10{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  51.18%{opacity:.95;translate:0 0}
  56.18%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev11{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  55.94%{opacity:.95;translate:0 0}
  60.94%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@keyframes lyChev12{
  0%{opacity:0;translate:-6px 0}
  6%{opacity:.95;translate:0 0}
  60.69%{opacity:.95;translate:0 0}
  65.69%{opacity:0;translate:10px 0}
  100%{opacity:0;translate:10px 0}
}
@media (max-width:900px){.ly-cue{display:none}}
body.reduced .ly-cue{display:none}

.ly-canvas{display:block;width:100%;height:calc(var(--u)*11);margin-top:calc(var(--u)*1)}

/* The stations sit at fractions of the canvas, so its proportions ARE the
   diagram's proportions: a 5.7:1 box on an iPad pulled the graph flat. Taller
   below 1280 brings it back toward the shape it has on a wide screen. Desktop
   is past this query and unchanged. */
@media (max-width:1280px){
  .ly-canvas{height:calc(var(--u)*17)}
}

.ly-meters{display:grid;grid-template-columns:repeat(3,1fr);gap:calc(var(--u)*1.6);margin-top:calc(var(--u)*.6)}
.ly-m{display:flex;align-items:center;gap:calc(var(--u)*.7)}
.ly-m b{
  flex:none;font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.6);
  letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);width:8.4em;
}
.ly-m i{flex:1;height:2px;background:rgba(255,255,255,.10);border-radius:2px;overflow:hidden}
.ly-m s{display:block;height:100%;width:0;text-decoration:none;background:var(--grad);transition:width .7s var(--ease)}
.ly-note{
  margin-top:calc(var(--u)*.9);font-size:calc(var(--u)*.82);line-height:1.6;color:var(--ink-2);
  /* One line. The size was never the problem: the longest of the eight notes
     measures 680px and the column offers 1080, but the 74ch cap was 518px and
     forced a wrap. The cap goes; the column bounds it. min-height reserves a
     single line so swapping notes cannot shift the layout under the demo. */
  max-width:none;min-height:calc(var(--u)*1.45);transition:color .4s;
}
@media (max-width:900px){
  /* 405px of pills in a 390px viewport — the third one was cut off the right
     edge. They wrap now, and the cue that points at them has no room anyway. */
  .ly-toggles{margin-left:0;flex-wrap:wrap;gap:calc(var(--u)*.5)}
  .ly-bar{flex-direction:column;align-items:flex-start;gap:calc(var(--u)*1)}
  .ly-meters{grid-template-columns:1fr;gap:calc(var(--u)*.6)}
  .ly-canvas{height:calc(var(--u)*20)}
}

/* ═══ the awe pass ═══════════════════════════════════════════════════
   Subtraction, one camera move, and one loud thing. Each block below is
   the mechanism for one item of the design diagnosis. */

/* ── the world arrives ─────────────────────────────────────────────
   On entry the camera is pulled far enough back to see all five stops and
   the route between them, then flown into the hero. The concept is legible
   in the first two seconds instead of discovered on the third scroll. The
   animation owns `transform` while it runs, which is fine: sag and zoom are
   both at rest at boot. */
/* #viewport is fixed, inset:0, overflow:hidden — so the world is CLIPPED to
   the window rectangle. Scaling it down does not reveal more world, it just
   shows that clip from further away: a hard-edged rectangle of content
   floating in space, which is exactly the "cut window" this looked like.
   While the camera is pulled back the clip has to come off. */
body.arriving #viewport,body.mapping #viewport{overflow:visible}
body.arriving #viewport{animation:worldArrive 2.7s var(--ease) both}
@keyframes worldArrive{from{transform:scale(.13)}to{transform:scale(1)}}
/* while the map is in view — arriving, or lifted over the case leg — every
   stop is lit, whatever the distance fade would have made of it */
body.arriving .stop,body.mapping .stop{opacity:1!important;visibility:visible!important}

/* ── the composition ───────────────────────────────────────────────
   Behind the type the film was unreachable and the text was unreadable over
   it, so it comes forward and takes its own half. Two columns: the claim and
   the numbers read left, the film holds right. Vertically centred against
   each other so neither floats.

   Weight, in order: the headline, the one enormous figure, the moving image.
   Everything else — the meta line, the two supporting figures — is set to
   stay quiet, so the eye lands in that order rather than choosing. */
@media (min-width:701px){
  .case-item{
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
    grid-template-areas:"brief film" "figs film";
    column-gap:calc(var(--u)*3.2);row-gap:calc(var(--u)*.6);
    align-items:center;margin-top:calc(var(--u)*1.1);
  }
  .case-item .case-brief{grid-area:brief;align-self:end}
  .case-item .case-figs{grid-area:figs;align-self:start}
  .case-item .cfilm{grid-area:film;align-self:center;margin:0;aspect-ratio:16/10}
}
@media (max-width:700px){
  .case-item{display:flex;flex-direction:column}
  .case-item .cfilm{order:9}      /* film last, as it was */
}

/* the supporting pair steps back: one gradient number on the page, not three */
.fig-row .stat{
  background:none;color:var(--ink);-webkit-text-fill-color:currentColor;
  font-size:calc(var(--u)*1.45);font-weight:300;
}

/* ── one enormous thing ────────────────────────────────────────────
   The first figure of each study at eleven units. The other two keep the
   size they had, beneath it: one number the eye cannot miss, two it can. */
.case-figs-hero{display:flex;flex-direction:column;align-items:flex-start;gap:calc(var(--u)*1);margin-top:calc(var(--u)*1.5);flex:none;justify-content:flex-start}
.fig-big{flex-direction:column;align-items:flex-start;gap:calc(var(--u)*.35)}
.fig-big .stat{font-size:calc(var(--u)*11);font-weight:200;letter-spacing:-.04em;line-height:.88}
.fig-big i{font-family:var(--f-mono);font-size:calc(var(--u)*.8);letter-spacing:.14em;text-transform:uppercase;max-width:none;color:var(--ink-2)}
.fig-row{display:flex;gap:calc(var(--u)*2.8);flex-wrap:wrap}
@media (max-width:700px){.fig-big .stat{font-size:calc(var(--u)*7.5)}}

/* ── the violet, rationed ──────────────────────────────────────────
   One accent element per screen. The choosers keep it on the contact stop;
   the big number keeps it on the case stop; the rail keeps it in the panel.
   Every secondary control — the three study switchers — goes monochrome, so
   the one thing that is violet is the thing that matters. */
.case-swap,.reader-swap,.fb-swap{
  border-color:rgba(255,255,255,.26);
  background:rgba(255,255,255,.035);
  box-shadow:none;color:var(--ink);
}
.case-swap:hover,.reader-swap:hover,.fb-swap:hover{
  border-color:rgba(255,255,255,.62);background:rgba(255,255,255,.07);box-shadow:none;
}
.case-swap .eq-sel-ring::before,.reader-swap .eq-sel-ring::before,.fb-swap .eq-sel-ring::before{
  background:conic-gradient(transparent 0 46%,rgba(255,255,255,.3) 62%,#FFFFFF 74%,rgba(255,255,255,.3) 86%,transparent 96%);
}

/* ═══ Our Work ════════════════════════════════════════════════════════
   Not in the menu, by instruction. The way in is a third HUD item, centred
   between the sector and vector readouts — fixed chrome, so it is on the hero
   and on every stop without being announced. It reads as telemetry until it
   is hovered, which is the whole point of putting it there.

   The panel itself is the reading view: .work-open carries data-read, so it
   inherits the glass, the travelling ring, the scroll rail, the grow-from-
   source morph and Escape/scrim/✕ without a line of new machinery. */
/* ── the way in ────────────────────────────────────────────────────
   A vertical pill standing on the left edge, fixed, so it is on the hero and
   on every stop alike. It carries the two things the rest of the site uses to
   say "this can be pressed": the travelling light on the rim, and a glow that
   walks blue, violet and white. Loud enough to be found, quiet enough not to
   argue with the headline it stands beside. */
.work-open{
  /* centred in the gutter rather than hugging the edge: the stop is
     min(1080px,84vw) and centred, so the gutter is (100vw - that)/2 and its
     middle is half of that again */
  position:fixed;top:50%;z-index:21;
  left:calc((100vw - min(1080px,84vw)) / 4);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:calc(var(--u)*.85);
  padding:calc(var(--u)*1.6) calc(var(--u)*.78);
  border:1px solid rgba(166,37,238,.55);border-radius:999px;
  background:linear-gradient(180deg,rgba(166,37,238,.26),rgba(166,37,238,.1));
  color:#fff;cursor:pointer;
  transform:translate(-50%,-50%);
  opacity:0;transition:border-color .35s,background .35s;
  animation:workGlow 4.6s ease-in-out infinite;
}
/* No fade. Both a transition and an animation park on their start value if
   they are never stepped, and that start value is invisible — which is the
   worst possible failure for the one element meant to be found. It simply
   appears with the rest of the chrome. The glow gives it all the life it
   needs, and if THAT is ever suspended the pill is still there. */
body.ready .work-open{opacity:1}
/* the panel and the film frame both take the whole screen; this would sit on top */
body.reading .work-open,body.filming .work-open{opacity:0;pointer-events:none}

@keyframes workGlow{
  0%,100%{box-shadow:0 0 22px rgba(30,144,255,.34),0 0 60px rgba(30,144,255,.14)}
  34%    {box-shadow:0 0 30px rgba(166,37,238,.46),0 0 78px rgba(166,37,238,.2)}
  67%    {box-shadow:0 0 26px rgba(226,238,255,.34),0 0 66px rgba(150,180,255,.14)}
}
.work-open:hover{border-color:rgba(166,37,238,.9);background:linear-gradient(180deg,rgba(166,37,238,.36),rgba(166,37,238,.16))}
.work-open:hover{animation-duration:2.3s}
.work-open:focus-visible{outline:none;border-color:var(--violet)}

/* reads bottom-to-top, the way a spine does */
.work-label{
  writing-mode:vertical-rl;transform:rotate(180deg);
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.74);
  letter-spacing:.34em;text-transform:uppercase;line-height:1;
  position:relative;z-index:1;
}
.work-dot{
  width:6px;height:6px;border-radius:50%;background:#fff;position:relative;z-index:1;
  box-shadow:0 0 10px rgba(255,255,255,.9);
  animation:workPing 2.6s ease-in-out infinite;
}
@keyframes workPing{0%,100%{opacity:.4;transform:scale(.72)}50%{opacity:1;transform:scale(1)}}
.work-arr{
  width:calc(var(--u)*1);height:calc(var(--u)*1);position:relative;z-index:1;
  opacity:.75;transition:transform .4s var(--ease),opacity .35s;
}
.work-open:hover .work-arr{transform:translateX(3px);opacity:1}
/* the same travelling rim the films and the choosers carry */
.work-open .work-ring{inset:-1px;padding:1px;z-index:0}
.work-open .work-ring::before{animation-duration:6.4s}
body.reduced .work-open,body.reduced .work-dot{animation:none}

/* ── the categories ── */
.work-tabs{
  display:flex;flex-wrap:wrap;gap:calc(var(--u)*.5);
  margin:calc(var(--u)*1.5) 0 calc(var(--u)*.4);
  padding-bottom:calc(var(--u)*1.1);border-bottom:1px solid var(--line-2);
}
.work-tab{
  padding:calc(var(--u)*.5) calc(var(--u)*1.15);
  border:1px solid rgba(255,255,255,.14);border-radius:999px;background:none;
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.68);
  letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);cursor:pointer;
  transition:color .3s,border-color .3s,background .3s;
}
.work-tab:hover{color:var(--ink-2);border-color:rgba(255,255,255,.3)}
.work-tab.on{
  color:#fff;border-color:rgba(166,37,238,.6);
  background:linear-gradient(180deg,rgba(166,37,238,.3),rgba(166,37,238,.14));
}
.work-tab:focus-visible{outline:none;border-color:var(--violet)}

/* ── the shelf ── */
/* Filtering by attribute rather than by class: one write to data-show moves
   the whole grid, and a cloned panel needs no re-wiring to stay correct. */
.work-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:calc(var(--u)*1.2);margin-top:calc(var(--u)*1.5)}
.work-grid .work-item,.work-grid .work-soon{display:none}
.work-grid[data-show="websites"]  .work-item[data-cat="websites"],
.work-grid[data-show="automation"] .work-item[data-cat="automation"],
.work-grid[data-show="dashboards"] .work-item[data-cat="dashboards"],
.work-grid[data-show="apps"]       .work-item[data-cat="apps"]{
  display:block;animation:workIn .45s var(--ease) both;
}
/* the categories still to be filled */
.work-grid[data-show="automation"] .work-soon[data-cat="automation"],
.work-grid[data-show="dashboards"] .work-soon[data-cat="dashboards"],
.work-grid[data-show="apps"]       .work-soon[data-cat="apps"],
.work-grid[data-show="websites"]   .work-soon[data-cat="websites"],
.work-grid[data-show="social"]     .work-soon[data-cat="social"]{
  display:grid;animation:workIn .45s var(--ease) both;
}
.work-grid[data-show="social"] .work-item[data-cat="social"]{
  display:block;animation:workIn .45s var(--ease) both;
}
.work-soon{
  grid-column:1 / -1;place-items:center;min-height:calc(var(--u)*11);
  border:1px dashed rgba(255,255,255,.16);border-radius:calc(var(--u)*.6);
  font-family:var(--f-mono);font-size:calc(var(--u)*.8);letter-spacing:.24em;
  text-transform:uppercase;color:var(--ink-3);
}
@keyframes workIn{from{opacity:0;transform:translateY(calc(var(--u)*.6))}to{opacity:1;transform:none}}

.work-item{
  /* a button now, not a link: nothing to hover, nothing to copy */
  display:block;width:100%;text-align:left;font:inherit;color:inherit;
  -webkit-appearance:none;appearance:none;padding:0;cursor:pointer;
  position:relative;text-decoration:none;border-radius:calc(var(--u)*.6);
  overflow:hidden;isolation:isolate;border:1px solid var(--line);
  background:#04050A;transition:border-color .35s,transform .45s var(--ease);
}
.work-item:hover{border-color:rgba(255,255,255,.26);transform:translateY(-3px)}
.work-item:focus-visible{outline:none;border-color:var(--violet)}
.work-shot{
  display:block;width:100%;aspect-ratio:16/10;
  background-size:cover;background-position:center center;
  filter:saturate(.75) brightness(.72);transition:filter .5s,transform .8s var(--ease);
}
.work-item:hover .work-shot{filter:saturate(1) brightness(.92);transform:scale(1.04)}
.work-meta{
  display:block;padding:calc(var(--u)*.85) calc(var(--u)*1);
  border-top:1px solid var(--line-2);
}
.work-meta b{
  display:block;font-family:var(--f-text);font-weight:400;
  font-size:calc(var(--u)*1);color:var(--ink);letter-spacing:0;
}
.work-meta i{
  display:block;margin-top:calc(var(--u)*.22);font-style:normal;
  font-family:var(--f-mono);font-size:calc(var(--u)*.66);
  letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3);
}
.work-go{
  position:absolute;top:calc(var(--u)*.7);right:calc(var(--u)*.7);
  width:calc(var(--u)*1.8);height:calc(var(--u)*1.8);
  display:grid;place-items:center;border-radius:999px;
  background:rgba(6,3,11,.72);border:1px solid rgba(255,255,255,.18);
  color:var(--ink);opacity:0;transform:translateY(-4px);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  transition:opacity .35s,transform .35s var(--ease);
}
.work-go svg{width:52%;height:52%}
.work-item:hover .work-go,.work-item:focus-visible .work-go{opacity:1;transform:none}

@media (max-width:700px){
  .work-grid{grid-template-columns:1fr}
}

/* ═══ ask us ══════════════════════════════════════════════════════════
   The launcher sits opposite the work marker, and the panel wears the same
   glass the reading view does — so a visitor meets one surface, not two. */
.chat-open{
  position:fixed;right:clamp(16px,2.4vw,34px);bottom:clamp(74px,8vh,104px);z-index:24;
  display:inline-flex;align-items:center;gap:calc(var(--u)*.62);
  padding:calc(var(--u)*.78) calc(var(--u)*1.35);
  border:1px solid rgba(166,37,238,.55);border-radius:999px;
  background:linear-gradient(180deg,rgba(166,37,238,.26),rgba(166,37,238,.1));
  color:#fff;cursor:pointer;opacity:0;
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.7);
  letter-spacing:.16em;text-transform:uppercase;
  transition:border-color .35s,background .35s;
  animation:workGlow 4.6s ease-in-out infinite;
}
body.ready .chat-open{opacity:1}
body.reading .chat-open,body.filming .chat-open,body.asking .chat-open{opacity:0;pointer-events:none}
.chat-open span,.chat-ico{position:relative;z-index:1}
.chat-ico{width:calc(var(--u)*1.05);height:calc(var(--u)*1.05)}
.chat-open:hover{border-color:rgba(166,37,238,.9);background:linear-gradient(180deg,rgba(166,37,238,.36),rgba(166,37,238,.16))}
.chat-open .chat-ring{inset:-1px;padding:1px;z-index:0}
.chat-open .chat-ring::before{animation-duration:6.4s}
body.reduced .chat-open{animation:none}

/* ── the chrome melts with everything else ──────────────────────────
   These two are fixed at body level, outside #viewport, which is exactly why
   they used to sail through the idle melt untouched — two crisp buttons
   floating over a page that had given way. They take it now, on their own
   vars so nothing leaks into the panels.

   The open Ask us panel is in here too. It is the one panel that melts: it
   is a form someone is filling rather than a document someone is reading, and
   anything they do to it — a keystroke, a scroll, a tap — wakes it instantly.
   The reading view and the film frame stay out, because thirty still seconds
   is an ordinary thing to spend on a paragraph.

   Filter only. Opacity is spoken for: body.reading and body.filming hide the
   two launchers, and those rules sit above this one. */
body.melting .work-open,body.melting .chat-open,body.melting .chat,
body.melting .nav,body.melting .hud,body.melting .progress-rail{
  filter:blur(var(--cblur,0px))
         saturate(calc(1 - var(--cmelt,0) * .6))
         brightness(calc(1 - var(--cmelt,0) * .45));
}

.chat{
  position:fixed;right:clamp(16px,2.4vw,34px);bottom:clamp(74px,8vh,104px);z-index:25;
  width:min(380px,calc(100vw - 32px));max-height:min(620px,calc(100vh - 140px));
  display:flex;flex-direction:column;border-radius:calc(var(--u)*1.1);overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,0) 62%),
             linear-gradient(158deg,rgba(44,49,74,.72),rgba(12,14,24,.88));
  -webkit-backdrop-filter:blur(30px) saturate(1.7);backdrop-filter:blur(30px) saturate(1.7);
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 40px 110px rgba(0,0,0,.7),0 0 50px rgba(90,120,255,.1),inset 0 1px 0 rgba(255,255,255,.26);
  animation:chatIn .42s var(--ease) both;
}
@keyframes chatIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
.chat-head{
  display:flex;align-items:center;justify-content:space-between;flex:none;
  padding:calc(var(--u)*.95) calc(var(--u)*1.1);border-bottom:1px solid var(--line-2);
}
.chat-k{font-family:var(--f-mono);font-size:calc(var(--u)*.66);letter-spacing:.15em;
  text-transform:uppercase;color:var(--ink-2)}
.chat-x{background:none;border:0;color:var(--ink-3);cursor:pointer;padding:2px;transition:color .3s}
.chat-x svg{width:calc(var(--u)*1.1);height:calc(var(--u)*1.1);display:block}
.chat-x:hover{color:var(--ink)}

.chat-log{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:calc(var(--u)*1.1);display:flex;flex-direction:column;gap:calc(var(--u)*.7);
  scrollbar-width:none}
.chat-log::-webkit-scrollbar{width:0}
.chat-row{display:flex}
.chat-row.them{justify-content:flex-start}
.chat-row.me{justify-content:flex-end}
.chat-msg{
  max-width:86%;padding:calc(var(--u)*.72) calc(var(--u)*.95);
  border-radius:calc(var(--u)*.85);font-size:calc(var(--u)*.86);line-height:1.6;
  animation:chatPop .34s var(--ease) both;
}
@keyframes chatPop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.them .chat-msg{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:var(--ink)}
.me .chat-msg{background:linear-gradient(180deg,rgba(166,37,238,.34),rgba(166,37,238,.18));
  border:1px solid rgba(166,37,238,.5);color:#fff}

.chat-foot{flex:none;padding:calc(var(--u)*.9) calc(var(--u)*1.1) calc(var(--u)*1.1);
  border-top:1px solid var(--line-2);max-height:46%;overflow-y:auto;scrollbar-width:none}
.chat-foot::-webkit-scrollbar{width:0}
.chat-pills{display:flex;flex-direction:column;gap:calc(var(--u)*.45)}
.chat-pill{
  text-align:left;padding:calc(var(--u)*.6) calc(var(--u)*.95);
  border:1px solid rgba(255,255,255,.14);border-radius:999px;background:none;
  font-family:var(--f-text);font-size:calc(var(--u)*.8);color:var(--ink-2);cursor:pointer;
  transition:color .28s,border-color .28s,background .28s;
}
.chat-pill:hover{color:#fff;border-color:rgba(166,37,238,.6);background:rgba(166,37,238,.12)}
/* The last option is their own words. Dashed, because it is the open one —
   it belongs in the list, but it is not a prepared answer. */
.chat-pill-own{
  margin-top:calc(var(--u)*.35);border-style:dashed;
  border-color:rgba(166,37,238,.45);color:var(--vink,var(--violet-ink));
}
.chat-pill-own::before{content:'+ ';opacity:.7}
.chat-pill-own:hover{border-style:solid}
.chat-more{
  margin-top:calc(var(--u)*.55);background:none;border:0;cursor:pointer;
  font-family:var(--f-mono);font-size:calc(var(--u)*.64);letter-spacing:.13em;
  text-transform:uppercase;color:var(--ink-3);transition:color .3s;
}
.chat-more:hover{color:var(--vink,var(--violet-ink))}
/* the same link, but leading the panel rather than trailing it */
.chat-back{display:block;margin:0 0 calc(var(--u)*.75);color:var(--ink-2)}

.chat-form{display:flex;flex-direction:column;gap:calc(var(--u)*.6)}
.chat-field{display:block}
.chat-fk{display:block;font-family:var(--f-mono);font-size:calc(var(--u)*.6);
  letter-spacing:.15em;text-transform:uppercase;color:var(--ink-3);margin-bottom:calc(var(--u)*.3)}
.chat-field input,.chat-field textarea{
  width:100%;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);
  border-radius:calc(var(--u)*.5);padding:calc(var(--u)*.55) calc(var(--u)*.7);
  font-family:var(--f-text);font-size:calc(var(--u)*.84);color:var(--violet-ink);
  outline:none;resize:vertical;transition:border-color .3s,background .3s;
}
.chat-field input:focus,.chat-field textarea:focus{border-color:rgba(166,37,238,.65);background:rgba(255,255,255,.06)}
.chat-send{
  margin-top:calc(var(--u)*.2);padding:calc(var(--u)*.62) calc(var(--u)*1.2);
  border:1px solid rgba(166,37,238,.6);border-radius:999px;
  background:linear-gradient(180deg,rgba(166,37,238,.34),rgba(166,37,238,.16));
  font-family:var(--f-mono);font-size:calc(var(--u)*.68);letter-spacing:.15em;
  text-transform:uppercase;color:#fff;cursor:pointer;transition:border-color .3s,background .3s;
}
.chat-send:hover{border-color:var(--violet);background:linear-gradient(180deg,rgba(166,37,238,.46),rgba(166,37,238,.22))}
.chat-send:disabled{opacity:.5;cursor:default}
.chat-note{font-family:var(--f-mono);font-size:calc(var(--u)*.6);letter-spacing:.11em;
  color:var(--ink-3);transition:color .3s}
.chat-note.warn{color:var(--warn)}
.chat-done{font-family:var(--f-mono);font-size:calc(var(--u)*.68);letter-spacing:.15em;
  text-transform:uppercase;color:var(--violet-ink);text-align:center}

@media (max-width:700px){
  .chat-open{right:14px;bottom:78px}
  /* Two thirds of the blur radius, and a heavier tint to make up for it. The
     panel covers most of a phone, and the cost of frosting it is paid per
     frame for as long as it is open. */
  .chat{
    right:10px;left:10px;bottom:10px;width:auto;max-height:78vh;
    -webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);
    background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0) 62%),
               linear-gradient(158deg,rgba(40,45,68,.86),rgba(10,12,20,.95));
  }
}

/* ── the launchers on a phone ──────────────────────────────────────
   The desktop pill is loud deliberately: it has an empty gutter to itself and
   has to be found. A 375px screen has no gutter — fixed chrome there stands
   on the type — so a glowing violet banner in each bottom corner reads as two
   adverts stapled over the page.

   They drop to the register of the telemetry they sit beside instead: hairline
   outline, near-black fill, no pulsing glow, no travelling rim, type at the
   HUD's size and letterspacing. Present, findable, and quiet — which is what
   the brief asked for in the first place. They keep a 40px tap target and the
   backdrop blur, so whatever scrolls under them stays legible as itself. */
@media (max-width:700px){
  .work-open,.chat-open{
    bottom:72px;min-height:40px;
    padding:calc(var(--u)*.6) calc(var(--u)*1);
    gap:calc(var(--u)*.55);
    border-color:rgba(166,37,238,.34);
    /* Opaque, not frosted. A backdrop-filter on fixed chrome makes the phone
       re-blur whatever is scrolling underneath it on every single frame, for
       the whole length of the page — a permanent tax to soften two small
       rectangles. A near-solid fill reads the same and costs nothing. */
    background:rgba(7,5,12,.92);
    animation:none;                       /* the glow is the loud part */
  }
  .work-open{top:auto;left:12px;transform:none;flex-direction:row}
  .chat-open{right:12px}
  .work-open .work-ring,.chat-open .chat-ring{display:none}
  .work-label{
    writing-mode:horizontal-tb;transform:none;
    font-size:calc(var(--u)*.62);letter-spacing:.2em;color:var(--ink-2);
  }
  .chat-open{font-size:calc(var(--u)*.62);letter-spacing:.2em;color:var(--ink-2)}
  .work-dot{width:4px;height:4px;box-shadow:0 0 6px rgba(255,255,255,.7)}
  .work-arr{width:calc(var(--u)*.85);height:calc(var(--u)*.85);opacity:.6}
  .chat-ico{width:calc(var(--u)*.9);height:calc(var(--u)*.9);opacity:.75}
}

/* ── whose work this is, on the work itself ───────────────────────────
   The name used to sit in a caption under the picture, which is the one place
   nobody looks at a grid of pictures. It rides the thumbnail now, with the
   company's own mark beside it, over a scrim dark enough to hold white type
   against a screenshot whose colours we do not control. */
.work-badge{
  position:absolute;top:0;left:0;right:0;z-index:2;
  display:flex;align-items:center;gap:calc(var(--u)*.6);
  padding:calc(var(--u)*.7) calc(var(--u)*.85);
  background:linear-gradient(180deg,rgba(4,5,10,.82),rgba(4,5,10,.42) 58%,rgba(4,5,10,0));
  pointer-events:none;
}
.work-logo{
  flex:none;width:calc(var(--u)*1.9);height:calc(var(--u)*1.9);
  border-radius:calc(var(--u)*.4);object-fit:contain;
  background:rgba(255,255,255,.06);
}
.work-badge b{
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.74);
  letter-spacing:.11em;text-transform:uppercase;color:#fff;line-height:1.2;
  text-shadow:0 1px 12px rgba(0,0,0,.8);
}
/* the caption keeps the trade, now that it no longer carries the name */
.work-meta i{margin-top:0}

/* The address it opens, on the tile. The work is a link again — pressed, it
   opens in a new window — so the tile says where it goes rather than making
   anyone guess, and the corner mark is the one browsers use for that. */
.work-meta u{
  display:block;margin-top:calc(var(--u)*.3);text-decoration:none;
  font-family:var(--f-mono);font-size:calc(var(--u)*.64);letter-spacing:.08em;
  color:var(--violet-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.work-item:hover .work-meta u{color:#fff}

/* ── the film arrival, on a phone ─────────────────────────────────────
   filmGrow sweeps a bloom out behind the frame as it lands: at its peak a
   155px glow with 31px of spread at 47%. On a wide screen that is a light
   coming on behind a small panel. On a phone the frame is nearly the whole
   screen, so the same glow is the whole screen going bright and back — which
   reads as a flash, not as an arrival.

   !important because this has to beat the keyframes, which a normal
   declaration cannot. The morph itself — the transform and the opacity — is
   untouched; only the bloom goes. It is also the most expensive part of that
   animation, repainting a large blurred area every frame on the device least
   able to afford it. */
@media (max-width:700px){
  .filmbox-frame{box-shadow:0 24px 70px rgba(0,0,0,.72)!important}
}

/* ═══ social media management ═════════════════════════════════════════
   Built from the tokens already here — no new font, colour, easing or
   animation. The stop carries the claim and the pipeline; the panel carries
   the money, because a stop is one screen by construction and the packages
   are four. */
.sm-body{margin-top:calc(var(--u)*1.6);max-width:92ch}
.sm-lead{font-size:calc(var(--u)*1.02);line-height:1.6;color:var(--ink-2);max-width:72ch}

/* The primary action on this site is type with a lit arrow, not a filled
   pill — that is what Send Enquiry is, so that is what Get Started is. The
   bordered one beside it is the quieter of the two. */
.sm-cta{display:flex;flex-wrap:wrap;align-items:center;gap:calc(var(--u)*1.6);margin-top:calc(var(--u)*1.6)}
.sm-cta .btn-primary{display:inline-flex;align-items:center;gap:calc(var(--u)*.6)}
.sm-cta .btn-primary svg{width:calc(var(--u)*1.15);height:calc(var(--u)*1.15)}
.sm-plans{
  position:relative;display:inline-flex;align-items:center;
  padding:calc(var(--u)*.82) calc(var(--u)*1.7);
  border:1px solid rgba(255,255,255,.2);border-radius:999px;background:none;
  font-family:var(--f-mono);font-size:calc(var(--u)*.74);letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink);cursor:pointer;
  transition:border-color .35s,background .35s,color .35s;
}
.sm-plans:hover{border-color:rgba(166,37,238,.75);background:rgba(166,37,238,.12)}
.sm-plans span{position:relative;z-index:1}

/* ── inside the panel ── */
.sm-chain{
  list-style:none;display:flex;flex-wrap:wrap;gap:calc(var(--u)*.4);
  margin:calc(var(--u)*1) 0 0;padding:0;
}
.sm-chain li{
  padding:calc(var(--u)*.4) calc(var(--u)*.85);
  border:1px dashed rgba(255,255,255,.16);border-radius:999px;
  font-family:var(--f-mono);font-size:calc(var(--u)*.66);letter-spacing:.12em;
  text-transform:uppercase;color:var(--ink-3);
}
.sm-chain li:last-child{border-style:solid;border-color:rgba(166,37,238,.5);color:var(--violet-ink)}

/* the one number that is not in the packages, said where it cannot be missed */
.sm-sep{
  margin:calc(var(--u)*1) 0 calc(var(--u)*1.4);
  padding:calc(var(--u)*.9) calc(var(--u)*1.1);
  border:1px solid rgba(166,37,238,.34);border-radius:calc(var(--u)*.6);
  background:rgba(166,37,238,.07);
  font-size:calc(var(--u)*.9);line-height:1.6;color:var(--ink-2);
}
.sm-sep b{color:#fff;font-weight:500}

.sm-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:calc(var(--u)*1)}
.sm-tier{
  position:relative;display:flex;flex-direction:column;
  padding:calc(var(--u)*1.3) calc(var(--u)*1.2);
  border:1px solid var(--line);border-radius:calc(var(--u)*.7);
  background:rgba(255,255,255,.015);
}
.sm-tier.is-pop{border-color:rgba(166,37,238,.55);background:rgba(166,37,238,.06)}
.sm-pop{
  position:absolute;top:calc(var(--u)*-.62);left:calc(var(--u)*1.1);
  padding:calc(var(--u)*.26) calc(var(--u)*.8);border-radius:999px;
  background:var(--grad-v,linear-gradient(90deg,#1E90FF,#A625EE));
  font-family:var(--f-mono);font-size:calc(var(--u)*.58);letter-spacing:.16em;
  text-transform:uppercase;color:#fff;
}
.sm-tier-k{
  font-family:var(--f-mono);font-size:calc(var(--u)*.7);letter-spacing:.2em;
  text-transform:uppercase;color:var(--ink-3);
}
.sm-price{
  font-family:var(--f-display);font-weight:500;font-size:calc(var(--u)*1.9);
  line-height:1.1;letter-spacing:-.015em;color:#fff;margin:calc(var(--u)*.3) 0 calc(var(--u)*.5);
}
.sm-price em{
  font-style:normal;font-family:var(--f-mono);font-size:calc(var(--u)*.64);
  letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);margin-left:calc(var(--u)*.35);
}
.sm-tier-for{font-size:calc(var(--u)*.86);line-height:1.6;color:var(--ink-2);margin-bottom:calc(var(--u)*.9)}
.sm-tier ul{list-style:none;margin:0 0 calc(var(--u)*1.2);padding:0;flex:1}
.sm-tier li{
  position:relative;padding-left:calc(var(--u)*1.1);margin-bottom:calc(var(--u)*.42);
  font-size:calc(var(--u)*.84);line-height:1.5;color:var(--ink-2);
}
.sm-tier li::before{
  content:"";position:absolute;left:0;top:calc(var(--u)*.52);
  width:calc(var(--u)*.3);height:calc(var(--u)*.3);border-radius:50%;
  background:var(--violet);opacity:.8;
}
.sm-pick{
  position:relative;align-self:flex-start;
  padding:calc(var(--u)*.6) calc(var(--u)*1.25);
  border:1px solid rgba(166,37,238,.5);border-radius:999px;
  background:linear-gradient(180deg,rgba(166,37,238,.24),rgba(166,37,238,.1));
  font-family:var(--f-mono);font-size:calc(var(--u)*.66);letter-spacing:.14em;
  text-transform:uppercase;color:#fff;cursor:pointer;
  transition:border-color .3s,background .3s;
}
.sm-pick:hover{border-color:var(--violet);background:linear-gradient(180deg,rgba(166,37,238,.4),rgba(166,37,238,.18))}
.sm-pick span{position:relative;z-index:1}

.sm-cmp{width:100%;border-collapse:collapse;margin-top:calc(var(--u)*1)}
.sm-cmp th,.sm-cmp td{
  padding:calc(var(--u)*.6) calc(var(--u)*.7);text-align:left;
  border-bottom:1px solid var(--line-2);
  font-size:calc(var(--u)*.82);line-height:1.45;color:var(--ink-2);vertical-align:top;
}
.sm-cmp thead th{
  font-family:var(--f-mono);font-size:calc(var(--u)*.64);letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-3);border-bottom-color:var(--line);
}
.sm-cmp tbody th{
  font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.66);
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);white-space:nowrap;
}
.sm-cmp tbody tr:last-child th,.sm-cmp tbody tr:last-child td{border-bottom:0}

.sm-rid{
  list-style:none;margin:calc(var(--u)*1) 0 calc(var(--u)*1.2);padding:0;
  display:grid;grid-template-columns:repeat(2,1fr);gap:calc(var(--u)*.4) calc(var(--u)*1.4);
}
.sm-rid li{
  position:relative;padding-left:calc(var(--u)*1.2);
  font-size:calc(var(--u)*.86);line-height:1.55;color:var(--ink-2);
}
.sm-rid li::before{
  content:"";position:absolute;left:0;top:calc(var(--u)*.6);
  width:calc(var(--u)*.62);height:1px;background:var(--violet);opacity:.75;
}
.sm-one{
  font-family:var(--f-display);font-weight:400;font-size:calc(var(--u)*1.3);
  line-height:1.35;letter-spacing:-.01em;color:#fff;
}

@media (max-width:900px){
  .sm-tiers{grid-template-columns:1fr}
  .sm-pop{top:calc(var(--u)*-.55)}
}
@media (max-width:700px){
  .sm-rid{grid-template-columns:1fr}
  .sm-cta{flex-direction:column;align-items:stretch}
  .sm-cta .btn-primary,.sm-plans{justify-content:center;text-align:center}
  /* the comparison stops being a table and becomes nine small cards, because
     four columns on a phone is either a horizontal scroll or unreadable type */
  .sm-cmp,.sm-cmp tbody,.sm-cmp tr,.sm-cmp th,.sm-cmp td{display:block;width:auto}
  .sm-cmp thead{display:none}
  .sm-cmp tbody tr{
    border:1px solid var(--line-2);border-radius:calc(var(--u)*.5);
    padding:calc(var(--u)*.7) calc(var(--u)*.9);margin-bottom:calc(var(--u)*.7);
  }
  .sm-cmp tbody th{border:0;padding:0 0 calc(var(--u)*.4);color:var(--violet-ink)}
  .sm-cmp tbody td{border:0;padding:calc(var(--u)*.18) 0}
  .sm-cmp tbody td::before{
    content:attr(data-h) " ";font-family:var(--f-mono);font-size:calc(var(--u)*.6);
    letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);
  }
}

/* ── the system demo ──────────────────────────────────────────────────
   Borrows the About stop's controls outright — .ly-bar, .ly-t, .ly-meters,
   .ly-note — so it is the same instrument in a second place rather than a
   second instrument. Only the wrapping is new: eight toggles need two rows
   where three needed one. */
.sm-rig{margin:calc(var(--u)*1.5) 0 calc(var(--u)*1.2)}
.sm-toggles{flex-wrap:wrap;gap:calc(var(--u)*.5) calc(var(--u)*.4)}
.sm-rig .ly-bar{align-items:flex-start;gap:calc(var(--u)*.9);flex-direction:column}

/* Eight on one line. Three toggles could afford the About stop's padding;
   eight cannot, so they are tightened until the row holds — and only here, so
   that demo is untouched. Below 900px they wrap again, because eight pills on
   a phone in one line would be type nobody can read. */
@media (min-width:901px){
  /* The row fills the column and the eight share it equally, so it ends where
     the text above it ends instead of running past — nowrap alone let it
     overflow, which is why the chain beneath looked short of the tags. */
  /* Spread, not stretched. flex:1 1 0 made every pill the same width and let
     it shrink below its own text, so OPTIMISATION ran out of its oval and
     into the one beside it. Each is now the width of what it says, and the
     space left over goes into the gaps — the row still reaches both edges,
     and nothing can collide because nothing is narrower than its label. */
  /* The row is sized from the COLUMN, not from --u. --u is min(1vw,1.72vh),
     so on a wide screen it keeps growing after the column has stopped at its
     1080px cap — the pills outgrew the space they had to sit in, the row
     overflowed, and the last two stations ended up outside the canvas, which
     is the hard edge the rail was stopping at.

     Everything here is in em of a font that is itself a fraction of the
     column, so the row is the same proportion of its container at every
     width and cannot overflow. The eight labels come to about 75em including
     their padding, gaps and letter-spacing — measured, not estimated,
     because the first guess was out by a fifth and the row overflowed again.

     The 01–08 numerals came off the tags to buy the size back. Eight
     numbered labels in an 860px column force the type down to 8.6px, which
     is the complaint; without them the same column carries 11.6px. The order
     is not lost — the chain underneath runs left to right and names every
     station in sequence. */
  .sm-toggles{
    flex-wrap:nowrap;width:100%;justify-content:space-between;
    gap:clamp(3px,.45vw,9px);
  }
  .sm-toggles .ly-t{
    flex:0 0 auto;min-width:max-content;justify-content:center;
    font-size:clamp(9px,calc(min(1080px,84vw) / 74),14px);
    padding:.42em .7em;letter-spacing:.09em;gap:.4em;white-space:nowrap;
  }
  .sm-toggles .ly-t em{font-size:.8em}
}

/* And the glow comes down. The About stop has three of these with room around
   them; eight in a tight row stack their halos into one bright band, which is
   what made the whole strip look lit rather than the controls in it. Same
   colours, roughly half the reach. */
.sm-toggles .ly-t{
  box-shadow:0 0 8px rgba(120,150,255,.07),inset 0 0 10px rgba(120,150,255,.035);
}
.sm-toggles .ly-t:hover{box-shadow:0 0 12px rgba(140,175,255,.16),inset 0 0 12px rgba(140,175,255,.05)}
.sm-toggles .ly-t[aria-pressed="true"]{animation:smPulse 2.9s ease-in-out infinite}
@keyframes smPulse{
  0%,100%{box-shadow:0 0 10px 1px rgba(30,144,255,.38),0 0 24px 5px rgba(30,144,255,.13);
          text-shadow:0 0 7px rgba(150,200,255,.55)}
  34%    {box-shadow:0 0 13px 1px rgba(166,37,238,.40),0 0 29px 6px rgba(166,37,238,.13);
          text-shadow:0 0 8px rgba(215,150,255,.55)}
  67%    {box-shadow:0 0 12px 1px rgba(235,242,255,.32),0 0 26px 6px rgba(150,180,255,.11);
          text-shadow:0 0 9px rgba(255,255,255,.6)}
}
body.reduced .sm-toggles .ly-t[aria-pressed="true"]{animation:none;box-shadow:0 0 12px rgba(90,140,255,.34)}
.sm-rig .ly-meters{margin-top:calc(var(--u)*1.3)}
/* every stage on: the meters stop being three readings and read as one state */
.sm-rig.full .ly-note{color:#fff}
@media (max-width:900px){
  .sm-rig .ly-meters{grid-template-columns:1fr;gap:calc(var(--u)*.7)}
}

/* The credit rides under the slider that plays it: one straight line, in the
   HUD's own voice, with the artist's name the only part of it that is a link.
   .vol becomes a column so the line sits beneath the control rather than
   beside it, and the slider keeps the row it had. */
.vol{position:relative}
.vol-credit{
  /* Tied to the slider rather than to the bar: it starts where the slider
     starts and ends where it ends, which is what makes it read as a caption
     for that control. The type is 8px because the slider is 62px and this
     line is thirty-one characters — they cannot be the same width and still
     be words, so it matches the control's left edge and keeps the difference
     as small as legibility allows. */
  /* Taken out of the flow. In the flex line it was the widest item, so the
     whole control stretched to 207px to hold it and the slider moved. Now it
     hangs under the slider and can be any length without touching the bar. */
  /* One line, exactly the slider's 150px. At 8px with letter-spacing the
     thirty-one characters measured 159 and wrapped, so the type gives back
     the difference rather than the line breaking. */
  position:absolute;top:100%;left:29px;width:150px;margin-top:6px;text-align:left;
  font-family:var(--f-mono);font-weight:400;font-size:7.5px;letter-spacing:.015em;
  color:var(--ink-3);white-space:nowrap;line-height:1;opacity:.85;
}
.vol-credit a{color:var(--ink-2);text-decoration:none;border-bottom:1px solid var(--line);transition:color .3s,border-color .3s}
.vol-credit a:hover{color:#fff;border-color:var(--violet)}
@media (max-width:700px){.vol-credit{display:none}}

/* the chain itself — a wide, short band under the controls that drives it */
.sm-canvas{display:block;width:100%;height:calc(var(--u)*24);margin:calc(var(--u)*.35) 0 calc(var(--u)*.2)}
@media (max-width:900px){.sm-canvas{height:calc(var(--u)*16)}}

/* ── the first thirty days ────────────────────────────────────────────
   A rail with the month on it. Same shape as the chain on the stop — this
   section is that chain with dates against it — so the reader meets one idea
   twice rather than two ideas once. */
.sm-days{list-style:none;margin:calc(var(--u)*1.1) 0 calc(var(--u)*1.3);padding:0;position:relative}
.sm-days::before{
  content:"";position:absolute;left:calc(var(--u)*.44);top:calc(var(--u)*.5);bottom:calc(var(--u)*1.2);
  width:1px;background:linear-gradient(180deg,rgba(30,144,255,.5),rgba(166,37,238,.5),rgba(166,37,238,0));
}
.sm-days li{position:relative;padding:0 0 calc(var(--u)*1.15) calc(var(--u)*2.2)}
.sm-days li::before{
  content:"";position:absolute;left:0;top:calc(var(--u)*.3);
  width:calc(var(--u)*.9);height:calc(var(--u)*.9);border-radius:50%;
  border:1px solid rgba(166,37,238,.65);background:var(--bg);
}
.sm-days li:last-child::before{background:var(--grad-v,linear-gradient(180deg,#1E90FF,#A625EE));border-color:transparent}
.sm-days em{
  display:block;font-style:normal;font-family:var(--f-mono);font-size:calc(var(--u)*.62);
  letter-spacing:.17em;text-transform:uppercase;color:var(--blue);margin-bottom:calc(var(--u)*.2);
}
.sm-days b{
  display:block;font-family:var(--f-display);font-weight:500;font-size:calc(var(--u)*1.02);
  letter-spacing:-.008em;color:#fff;margin-bottom:calc(var(--u)*.3);
}
.sm-days p{font-size:calc(var(--u)*.86);line-height:1.6;color:var(--ink-2);max-width:62ch}

/* something to forward */
.sm-dl{
  display:inline-flex;align-items:center;gap:calc(var(--u)*.6);
  margin-top:calc(var(--u)*1.2);padding:calc(var(--u)*.62) calc(var(--u)*1.25);
  border:1px solid rgba(255,255,255,.18);border-radius:999px;text-decoration:none;
  font-family:var(--f-mono);font-size:calc(var(--u)*.68);letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink);
  transition:border-color .3s,background .3s,color .3s;
}
.sm-dl:hover{border-color:rgba(166,37,238,.75);background:rgba(166,37,238,.12);color:#fff}
/* Centred in the panel. It follows three tier cards and a notice, all of
   which are full width, so left-aligned it read as the start of another
   column rather than as the one thing to take away. */
.cf-sec > .sm-dl{display:flex;width:max-content;max-width:100%;margin-left:auto;margin-right:auto}
.sm-dl svg{width:calc(var(--u)*1);height:calc(var(--u)*1);flex:none}
.sm-dl i{font-style:normal;font-size:calc(var(--u)*.6);letter-spacing:.1em;color:var(--ink-3)}

/* the one on the stop is quieter than the two beside it — it is a take-away,
   not a destination */
.sm-dl-inline{
  margin-top:0;border-color:rgba(255,255,255,.14);
  padding:calc(var(--u)*.55) calc(var(--u)*1.05);
  font-size:calc(var(--u)*.62);color:var(--ink-2);
}
.sm-dl-inline:hover{color:#fff}


/* ── what is happening right now ──────────────────────────────────────
   Sits in the gap between the switches and the chain, which is where the eye
   already is. Two fixed lines of height, so a longer sentence cannot shove
   the diagram down the page while someone is watching it. */
/* Centred, and pushed down toward the figures. Left-aligned under the
   switches it read as a caption for the switches; sitting low and centred
   over the chain it reads as a caption for the work, which is what it is. */
.sm-step{
  display:flex;align-items:baseline;justify-content:center;
  gap:calc(var(--u)*.8);text-align:center;
  margin:calc(var(--u)*2.4) 0 0;min-height:calc(var(--u)*2.6);
}
.sm-step b{
  flex:none;font-family:var(--f-mono);font-weight:400;font-size:calc(var(--u)*.72);
  letter-spacing:.2em;text-transform:uppercase;color:var(--blue);
}
.sm-step span{
  font-size:calc(var(--u)*1.06);line-height:1.5;color:#fff;max-width:64ch;
  transition:opacity .25s;
}
.sm-step.gap b{color:rgba(226,150,130,.9)}
.sm-step.gap span{color:var(--ink-2)}
@media (max-width:700px){
  .sm-step{flex-direction:column;align-items:center;gap:calc(var(--u)*.3);min-height:calc(var(--u)*4);margin-top:calc(var(--u)*1.6)}
  .sm-step span{font-size:calc(var(--u)*.96)}
}
