/* =====================================================================
   WEB DESIGNS4U  |  main.css
   Palette tells the story: cold (the internet) warms into ember
   (your business) as --heat rises from 0 to 1.
   ===================================================================== */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@property --heat { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --warm { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --void: #000000;
  --ink: #f2f4f5;
  --dim: #8a979d;
  --line: rgba(242, 244, 245, .14);
  --line-2: rgba(242, 244, 245, .28);
  --cold: #6fd3ff;
  --ember: #ff7a2f;
  --heat: 0;
  --warm: 0;
  --accent: color-mix(in oklab, var(--cold), var(--ember) calc(var(--warm) * 100%));
  --on-accent: #050505;
  --f: "Archivo", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, 0, 1);
  --hud-h: 64px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
  transition: --heat 1.6s ease, --warm .9s ease;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); overflow-x: clip; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0; background: var(--void); color: var(--ink);
  font-family: var(--f); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body.is-locked, body.layer-open { overflow: hidden; }
html:has(> body.is-locked), html:has(> body.layer-open) { overflow: hidden; }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; background: var(--ink); color: #000; padding: 10px 14px; transform: translateY(-200%); }
.skip:focus { transform: none; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.mega {
  margin: 0; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.4vw, 8.2rem); line-height: .86; letter-spacing: -.005em;
  font-variation-settings: "wdth" 62;
}
.mega--md { font-size: clamp(2.2rem, 4.6vw, 5.8rem); }
.mega .l { display: block; white-space: nowrap; }
.l:nth-child(2) { --i: 1; } .l:nth-child(3) { --i: 2; } .l:nth-child(4) { --i: 3; }
.lede { max-width: 38ch; color: var(--dim); font-size: clamp(1rem, 1.2vw, 1.15rem); margin: 1.4em 0 0; }
.ch__num { margin: 0 0 1.2rem; font-size: 13px; color: var(--accent); font-variation-settings: "wdth" 100; letter-spacing: .02em; }
.q { font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 600; font-variation-settings: "wdth" 88; margin: 0 0 .8rem; padding: 0; }
.q small { font-weight: 400; color: var(--dim); font-size: .75em; margin-left: .5em; }

/* Swap: stacked statements that morph in on the width axis */
.swap { display: grid; grid-template-columns: minmax(0, 1fr); }
.swap__item { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .5s; }
.swap__item .l {
  font-variation-settings: "wdth" 125; filter: blur(10px); transform: translate3d(0, .18em, 0); opacity: 0;
  transition: font-variation-settings 1s var(--ease), filter .8s ease, transform 1s var(--ease), opacity .6s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.swap__item.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.swap__item.on .l { font-variation-settings: "wdth" 62; filter: blur(0); transform: none; opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 44px; padding: .7em 1.3em; border: 1px solid var(--line-2);
  font-weight: 600; font-variation-settings: "wdth" 90; letter-spacing: .01em;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.btn--accent:hover { background: var(--ink); }
.btn--lg { font-size: 1.1rem; padding: .9em 1.6em; }
.btn--xl { font-size: clamp(1.1rem, 1.6vw, 1.5rem); padding: 1em 2em; }

/* ---------- Ambient ---------- */
.ambient { position: fixed; inset: -12%; z-index: -1; pointer-events: none; }
.ambient__img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(70px) saturate(1.5); opacity: 0; transition: opacity 1.4s ease; transform: scale(1.1); }
.ambient__img.on { opacity: .34; }
.ambient__veil { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(0,0,0,.55) 55%, #000 90%); }

/* ---------- HUD ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--pad) 16px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  font-size: 13px; pointer-events: none;
  opacity: 0; transform: translateY(-10px); transition: opacity .8s ease, transform .8s var(--ease);
}
.is-entered .hud { opacity: 1; transform: none; }
.hud > * { pointer-events: auto; }
.hud__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-variation-settings: "wdth" 100; justify-self: start; }
.mark { width: 16px; height: 22px; border: 1.5px solid var(--ink); position: relative; overflow: hidden; }
.mark i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(18% + var(--heat) * 82%); background: var(--accent); transition: height 1.6s ease; }
.hud__chapter { margin: 0; display: flex; gap: 6px; align-items: baseline; color: var(--dim); font-variation-settings: "wdth" 100; }
.hud__num { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.hud__title { margin-left: 8px; color: var(--ink); }
.hud__actions { justify-self: end; display: flex; gap: 6px; align-items: center; }
.hud__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; color: var(--ink); }
.hud__btn:hover { color: var(--accent); }
.hud__cta { min-height: 40px; font-size: 13px; padding: 0 16px; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.eq i { width: 2px; height: 3px; background: currentColor; }
.sound-on .eq i { animation: eq 1s ease-in-out infinite; }
.sound-on .eq i:nth-child(2) { animation-delay: -.3s; } .sound-on .eq i:nth-child(3) { animation-delay: -.6s; } .sound-on .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }
.rail { position: fixed; right: 0; top: 0; bottom: 0; width: 2px; z-index: 59; background: var(--line); }
.rail span { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: #000; overflow: hidden;
  display: grid; place-items: center;
  padding: env(safe-area-inset-top, 0px) var(--pad) env(safe-area-inset-bottom, 0px);
  transition: opacity 1.1s ease .5s, visibility 0s linear 1.7s;
}
.intro__portal {
  position: absolute; left: 50%; top: 50%; width: min(42vh, 70vw); aspect-ratio: 9 / 16;
  transform: translate(-50%, -50%); overflow: hidden; border: 1px solid var(--line);
  opacity: 0; transition: opacity 2s ease, width 1.6s var(--ease), border-color 1s;
}
.intro__portal video { width: 100%; height: 100%; object-fit: cover; }
.intro.is-ready .intro__portal { opacity: .85; }
.intro__count { position: absolute; left: var(--pad); bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); margin: 0; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; transition: opacity .6s; }
.intro.is-ready .intro__count { opacity: 0; }
.intro { grid-template-columns: minmax(0, 1fr); }
.intro__lines { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; text-align: center; mix-blend-mode: difference; }
.intro__set { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; align-items: center; font-size: clamp(2.8rem, 9.5vw, 10.5rem); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s linear .5s; }
.intro__set .l {
  font-variation-settings: "wdth" 125; filter: blur(12px); opacity: 0; transform: scale(1.04);
  transition: font-variation-settings 1.2s var(--ease), filter 1s ease, opacity .7s ease, transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.intro__set.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.intro__set.on .l { font-variation-settings: "wdth" 62; filter: none; opacity: 1; transform: none; }
.intro__gate {
  position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 7vh); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .8s ease, transform .8s var(--ease), visibility 0s linear .8s;
}
.intro.is-gate .intro__gate { opacity: 1; visibility: visible; transform: none; transition-delay: .3s, .3s, 0s; }
.hold { position: relative; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; }
.hold__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.hold__ring circle { fill: rgba(0,0,0,.35); stroke: var(--line-2); stroke-width: 1.5; }
.hold__ring .hold__fill { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 352; stroke-dashoffset: calc(352 - 352 * var(--hold, 0)); }
.hold__label { position: relative; font-size: 12px; font-weight: 700; font-variation-settings: "wdth" 90; width: 9ch; line-height: 1.25; text-align: center; }
.hold:hover .hold__ring circle:first-child { stroke: var(--ink); }
.intro__hint { margin: 0; font-size: 12px; color: var(--dim); }
.sound-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); min-height: 40px; padding: 0 10px; }
.sound-switch:hover, .sound-on .sound-switch { color: var(--ink); }
.intro__skip { position: absolute; right: var(--pad); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); font-size: 12px; color: var(--dim); min-height: 40px; padding: 0 8px; z-index: 4; }
.intro__skip:hover { color: var(--ink); }
.intro.is-leaving .intro__portal { width: 260vmax; border-color: transparent; transition: width 1.7s cubic-bezier(.7,0,.2,1), border-color .4s; }
.intro.is-leaving .intro__lines, .intro.is-leaving .intro__gate, .intro.is-leaving .intro__skip { opacity: 0; transition: opacity .4s; }
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Chapters ---------- */
.ch { position: relative; }
.ch--pin { height: calc(var(--len, 300) * 1vh); }
.ch__stage {
  position: sticky; top: env(safe-area-inset-top, 0px); height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: clamp(24px, 5vw, 96px); padding: calc(var(--hud-h) + 24px) var(--pad) 48px;
}
.ch--wide .ch__stage { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.ch__copy { position: relative; z-index: 2; min-width: 0; }
.ch--flow { min-height: 100svh; padding: calc(var(--hud-h) + 48px) var(--pad) 96px; display: grid; align-items: center; }
.ch__inner { width: 100%; max-width: 1480px; margin: 0 auto; }

/* Portal: the phone screen your customer is holding */
.portal { position: relative; margin: 0; aspect-ratio: 9 / 16; height: min(76svh, 860px); overflow: hidden; background: #000; border: 1px solid var(--line); flex: none; z-index: 1; }
.portal::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); opacity: .25; z-index: 3; pointer-events: none; }
.portal video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portal--stack video { opacity: 0; transition: opacity .9s ease; }
.portal--stack video.on { opacity: 1; }
.portal__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px 24px; font-size: 11px; color: rgba(255,255,255,.8); background: linear-gradient(rgba(0,0,0,.7), transparent); font-variant-numeric: tabular-nums; }

/* CH01 noise */
.noise { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.frag {
  position: absolute; left: var(--x); top: var(--y); font-size: var(--s); padding: .35em .7em; white-space: nowrap;
  border: 1px solid var(--line); background: rgba(0,0,0,.45); color: var(--dim); font-variation-settings: "wdth" 90;
  opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .5s ease, transform .9s var(--ease), color .5s;
}
.frag.is-hot { color: var(--cold); border-color: rgba(111, 211, 255, .35); }
.frag.on { opacity: var(--o, .9); transform: none; }
.noise.collapse .frag { opacity: 0; transform: translate3d(var(--cx), var(--cy), 0) scale(.2); transition-duration: .7s, .9s; }

/* CH02 browser */
.browser { position: relative; z-index: 1; width: min(100%, calc(70svh * 1.6)); aspect-ratio: 16 / 10; justify-self: end; display: flex; flex-direction: column; border: 1px solid var(--line-2); background: rgba(4, 7, 9, .9); container-type: inline-size; }
.browser__chrome { height: 34px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.browser__chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.browser__url { margin-left: 12px; font-size: 11px; color: var(--dim); padding: 3px 12px; border: 1px solid var(--line); flex: 1; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__view { position: relative; flex: 1; padding: 3cqw 4cqw; overflow: hidden; display: flex; flex-direction: column; gap: 3cqw; }
.bp { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .6s ease, transform .8s var(--ease); }
.bp.on, .bp--hero .on { opacity: 1; transform: none; }
.bp--nav { display: flex; align-items: center; gap: 3cqw; font-size: 1.5cqw; color: var(--dim); }
.bp--nav b { color: var(--ink); font-size: 1.9cqw; margin-right: auto; text-transform: uppercase; font-variation-settings: "wdth" 70; }
.bp--nav em { font-style: normal; color: var(--on-accent); background: var(--accent); padding: .5em 1em; }
.bp--hero { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 4cqw; row-gap: 2cqw; align-content: start; }
.bp--hero > * { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .6s ease, transform .8s var(--ease); }
.bp--image { grid-column: 2; grid-row: 1 / span 3; background-size: cover; background-position: center; min-height: 100%; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease), opacity .6s !important; }
.bp--image.on { clip-path: inset(0 0 0 0); }
.bp--type { grid-column: 1; margin: 0; font-size: 5.4cqw; line-height: .9; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; }
.bp--content { grid-column: 1; margin: 0; font-size: 1.6cqw; color: var(--dim); max-width: 36ch; }
.bp--cta { grid-column: 1; justify-self: start; align-self: start; font-size: 1.6cqw; font-weight: 700; color: var(--on-accent); background: var(--accent); padding: .8em 1.4em; }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 3; font-size: 11px; font-weight: 700; padding: 4px 8px; background: var(--ink); color: #000; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.pin::before { content: ""; position: absolute; left: -5px; top: 50%; width: 5px; height: 1px; background: var(--ink); }
.pin.on { opacity: 1; transform: none; }

/* CH03 demo */
.modes { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 2px; max-width: 420px; }
.modes button { width: 100%; text-align: left; display: grid; grid-template-columns: 9ch 1fr; gap: 12px; align-items: baseline; padding: 12px 14px; border-left: 2px solid var(--line); color: var(--dim); transition: color .3s, border-color .3s, background .3s; }
.modes b { color: inherit; font-variation-settings: "wdth" 90; }
.modes span { font-size: 14px; }
.modes button.is-on { color: var(--ink); border-color: var(--accent); background: rgba(255,255,255,.04); }
.modes button.is-on b { color: var(--accent); }
.demo {
  position: relative; z-index: 1; justify-self: end; width: min(100%, calc(70svh * 1.5)); aspect-ratio: 3 / 2; container-type: inline-size;
  border: 1px solid var(--line-2); background: #d9d9d9; color: #333; font-family: Arial, sans-serif; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; padding: 0 0 3cqw; transition: background .8s, color .8s;
}
.demo__nav { display: flex; gap: 3cqw; align-items: center; padding: 2.4cqw 4cqw; font-size: 1.6cqw; border-bottom: 1px solid #bbb; transition: border-color .8s; }
.demo__nav b { margin-right: auto; }
.demo__nav em { font-style: normal; border: 1px solid #888; padding: .4em .8em; }
.demo__hero { padding: 4cqw 4cqw 2cqw; display: grid; gap: 2cqw; align-content: start; }
.demo__h { margin: 0; font-size: 3.2cqw; font-weight: 700; max-width: 22ch; transition: font-size .8s var(--ease), letter-spacing .8s; }
.demo__story { margin: 0; display: none; gap: 1.6cqw; font-size: 1.4cqw; }
.demo__story span { padding: .5em .9em; border: 1px solid currentColor; opacity: .7; }
.demo__cta { justify-self: start; font-size: 1.6cqw; border: 1px solid #888; padding: .7em 1.2em; position: relative; }
.demo__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 0 4cqw; }
.demo__cards div { display: grid; gap: .4cqw; padding: 2cqw; background: #c6c6c6; font-size: 1.4cqw; transition: transform .5s var(--ease), background .8s; }
.demo__booking { position: absolute; right: 4cqw; top: 12cqw; width: 34cqw; padding: 2.4cqw; display: grid; gap: 1.4cqw; font-size: 1.4cqw; background: #fff; color: #111; transform: translateX(120%); transition: transform .8s var(--ease); box-shadow: 0 2cqw 6cqw rgba(0,0,0,.4); }
.demo__booking div { display: flex; flex-wrap: wrap; gap: .8cqw; }
.demo__booking span { border: 1px solid #ccc; padding: .4em .6em; }
.demo__booking .is-sel { background: #111; color: #fff; border-color: #111; }
.demo__booking em { font-style: normal; background: #111; color: #fff; text-align: center; padding: .7em; }
.demo__toast { position: absolute; right: 4cqw; top: 33cqw; font-size: 1.4cqw; font-weight: 700; padding: .8em 1.2em; background: var(--ink); color: #000; transform: translateX(140%); transition: transform .7s var(--ease); }
.demo__ghost { position: absolute; width: 2.2cqw; height: 2.2cqw; border: 2px solid currentColor; border-radius: 50%; left: 30%; top: 55%; opacity: 0; transition: opacity .4s; }
.demo.l0 { background: #07090b; color: var(--ink); font-family: var(--f); }
.demo.l0 .demo__nav { border-color: var(--line); }
.demo.l0 .demo__nav b { text-transform: uppercase; font-variation-settings: "wdth" 70; font-size: 2cqw; }
.demo.l0 .demo__nav em { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.demo.l0 .demo__h { font-size: 5.6cqw; line-height: .9; text-transform: uppercase; font-weight: 800; font-variation-settings: "wdth" 62; }
.demo.l0 .demo__cta { background: var(--accent); color: var(--on-accent); border-color: transparent; font-weight: 700; }
.demo.l0 .demo__cards div { background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.demo.l0 .demo__cards span { color: var(--dim); }
.demo.l1 .demo__ghost { opacity: 1; animation: ghost 4s var(--ease) infinite; }
.demo.l1 .demo__cards div:nth-child(2) { animation: lift 4s var(--ease) infinite; }
@keyframes ghost { 0%,100% { left: 30%; top: 50%; } 40% { left: 48%; top: 78%; } 60% { left: 50%; top: 80%; } }
@keyframes lift { 0%,30%,75%,100% { transform: none; border-color: var(--line); } 42%,62% { transform: translateY(-1.2cqw); border-color: var(--accent); } }
.demo.l2 .demo__story { display: flex; }
.demo.l2 .demo__story span { animation: story 3s ease infinite; }
.demo.l2 .demo__story span:nth-child(2) { animation-delay: 1s; } .demo.l2 .demo__story span:nth-child(3) { animation-delay: 2s; }
@keyframes story { 0%,100% { opacity: .5; } 20%,40% { opacity: 1; color: var(--accent); } }
.demo.l3 .demo__booking { transform: none; }
.demo.l4 .demo__toast { transform: none; }
.demo.l4 .demo__cta::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--accent); animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.25); } }

/* CH04 compare */
#ch-transform .ch__inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.swap--static .swap__item { transition-duration: .5s; }
.tf__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 2rem; }
.seg { display: inline-flex; border: 1px solid var(--line-2); }
.seg button { padding: 0 14px; min-height: 44px; font-size: 14px; color: var(--dim); }
.seg button[aria-pressed="true"] { color: #000; background: var(--ink); }
.compare { display: grid; place-items: center; }
.compare__frame { position: relative; width: 100%; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; border: 1px solid var(--line-2); transition: width .7s var(--ease), aspect-ratio .7s var(--ease); }
.compare[data-device="mobile"] .compare__frame { width: min(340px, 80vw); aspect-ratio: 9 / 18; }
.compare__frame:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-before, .site-after { position: absolute; inset: 0; overflow: hidden; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.compare__line { position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 2px; margin-left: -1px; background: var(--accent); z-index: 4; pointer-events: none; }
.compare__line i { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--accent); }
.compare__line i::before, .compare__line i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px; border: 5px solid transparent; }
.compare__line i::before { left: 7px; border-right-color: #000; } .compare__line i::after { right: 7px; border-left-color: #000; }
.site-after { clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); }
/* The deliberately bad "before" */
.site-before { background: #ffffcc; color: #0000cc; font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive; font-size: 1.5cqw; }
.sb__top { display: flex; flex-wrap: wrap; gap: .3em .9em; padding: .6em; background: linear-gradient(#3a6ea5, #1c3f6e); }
.sb__top span { color: #ffff00; text-decoration: underline; font-family: "Times New Roman", serif; }
.sb__marquee { overflow: hidden; background: #ff0000; color: #ffff00; font-weight: bold; white-space: nowrap; }
.sb__marquee span { display: inline-block; padding: .2em 0; animation: marquee 9s linear infinite; }
@keyframes marquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
.sb__welcome { margin: .6em; color: #ff0000; font-size: 3.2cqw; text-align: center; font-weight: bold; text-shadow: 2px 2px #00ff00; }
.sb__name { margin: 0 .6em; text-align: center; color: #990099; }
.sb__cols { display: grid; grid-template-columns: 2fr 1fr; gap: .6em; margin: .8em; }
.sb__cols p { margin: 0; font-size: 1.2cqw; line-height: 1.3; color: #333; text-align: justify; }
.sb__img { display: grid; place-items: center; border: 3px ridge #999; background: #ddd; color: #777; font-size: 1.2cqw; min-height: 10cqw; }
.sb__counter { text-align: center; font-family: "Courier New", monospace; color: #00aa00; }
.sb__pop { position: absolute; right: 6%; top: 34%; width: 34%; display: grid; gap: .4em; padding: .8em; background: #ff66cc; color: #000; border: 3px outset #ff99dd; transform: rotate(-3deg); box-shadow: 5px 5px 0 #000; }
.sb__pop em { position: absolute; right: .4em; top: .2em; font-style: normal; }
.sb__pop span { background: #fff; padding: .2em; border: 1px inset #999; color: #999; }
.sb__construction { position: absolute; left: 0; right: 0; bottom: 0; padding: .4em; text-align: center; color: #000; font-weight: bold; background: repeating-linear-gradient(45deg, #ffcc00 0 14px, #000 14px 28px); }
.sb__construction { text-shadow: 0 0 3px #ffcc00, 0 0 3px #ffcc00; }
/* The "after" */
.site-after { background: #050607; color: var(--ink); font-family: var(--f); display: grid; grid-template-rows: auto 1fr auto; }
.sa__nav { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 4cqw; font-size: 1.5cqw; color: var(--dim); }
.sa__nav b { margin-right: auto; color: var(--ink); text-transform: uppercase; font-size: 2cqw; font-variation-settings: "wdth" 70; }
.sa__nav em { font-style: normal; background: var(--accent); color: var(--on-accent); padding: .5em 1em; font-weight: 700; }
.sa__hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.sa__img { grid-column: 2; background-size: cover; background-position: center; }
.sa__copy { grid-column: 1; grid-row: 1; padding: 2cqw 4cqw; display: grid; gap: 2cqw; align-content: center; }
.sa__h { margin: 0; font-size: 6cqw; line-height: .88; text-transform: uppercase; font-weight: 800; font-variation-settings: "wdth" 62; }
.sa__p { margin: 0; font-size: 1.6cqw; color: var(--dim); max-width: 30ch; }
.sa__cta { justify-self: start; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 1.6cqw; padding: .8em 1.4em; }
.sa__row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.sa__row div { display: grid; gap: .3em; padding: 2cqw 4cqw; font-size: 1.4cqw; }
.sa__row div + div { border-left: 1px solid var(--line); }
.sa__row span { color: var(--dim); }
@container (max-width: 420px) {
  .site-before { font-size: 4cqw; }
  .sb__welcome { font-size: 7cqw; }
  .sb__cols { grid-template-columns: 1fr; } .sb__cols p, .sb__img { font-size: 3.4cqw; }
  .sb__pop { width: 70%; top: 44%; }
  .sa__nav { font-size: 3.6cqw; } .sa__nav span { display: none; } .sa__nav b { font-size: 4.6cqw; }
  .sa__hero { grid-template-columns: 1fr; grid-template-rows: 46% 1fr; }
  .sa__img { grid-column: 1; grid-row: 1; }
  .sa__copy { grid-row: 2; padding: 5cqw; gap: 4cqw; align-content: start; }
  .sa__h { font-size: 13cqw; } .sa__p, .sa__cta { font-size: 4cqw; }
  .sa__row { grid-template-columns: 1fr; } .sa__row div { font-size: 3.6cqw; padding: 3cqw 5cqw; } .sa__row div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* CH05 template dissolving */
.tpl { position: absolute; left: var(--pad); top: calc(var(--hud-h) + 24px); bottom: 48px; width: min(58%, 820px); display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); gap: 10px; z-index: 0; opacity: .55; pointer-events: none; }
.tpl i { border: 1px dashed var(--line-2); background: rgba(255,255,255,.025); display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--dim); will-change: transform, opacity; }
.tpl i:nth-child(1) { grid-column: span 4; } .tpl i:nth-child(2) { grid-column: span 2; grid-row: span 2; } .tpl i:nth-child(5) { grid-column: span 2; }

/* CH06 personalise */
.you { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 96px); align-items: start; }
.you__title { margin-bottom: 2.4rem; }
.you__name { color: var(--accent); overflow: hidden; text-overflow: clip; transition: color .6s; }
.you__form { display: grid; gap: 1.8rem; max-width: 760px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input[type="text"] { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font: inherit; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; font-variation-settings: "wdth" 75; padding: .2em 0; border-radius: 0; }
.field input[type="text"]:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder, .big-input::placeholder { color: rgba(242,244,245,.25); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; font-variation-settings: "wdth" 90; transition: background .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chips--lg .chip span { min-height: 52px; padding: 0 20px; font-size: clamp(15px, 1.4vw, 18px); }
.you__form .btn { justify-self: start; }
.portal--side { position: sticky; top: calc(var(--hud-h) + 24px); }

/* CH07 concept preview */
#ch-preview .ch__inner { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); grid-template-areas: "head concept" "actions concept"; gap: 24px clamp(24px, 4vw, 72px); align-items: start; }
.preview__head { grid-area: head; }
.preview__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 10px; align-self: end; }
.when-named { display: none; } .has-name .when-named { display: block; } .has-name .when-unnamed { display: none; }
.has-name .mega .when-named .l, .when-unnamed .l { display: block; }
.tags { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 2rem 0 0; background: var(--line); border: 1px solid var(--line); }
.tags div { background: #000; padding: 12px 14px; }
.tags dt { font-size: 12px; color: var(--dim); }
.tags dd { margin: 2px 0 0; font-weight: 700; font-variation-settings: "wdth" 85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hint-empty { color: var(--accent); font-size: 14px; margin-top: 1rem; }
.concept { grid-area: concept; position: relative; padding-bottom: 8%; }
.concept__browser { border: 1px solid var(--line-2); background: #000; }
.concept__phone { position: absolute; right: -2%; bottom: 0; width: 24%; aspect-ratio: 9 / 18.5; border: 6px solid #1a1d20; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.concept__log { position: absolute; left: 0; bottom: -2.4rem; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--dim); max-width: 72%; }
.concept__log li.on { color: var(--ink); } .concept__log li.on::before { content: "✓ "; color: var(--accent); }
.cx {
  --cbg: #0b0d10; --cfg: #eef1f4; --cacc: #ff7a2f; --cwdth: 100; --cwght: 600; --ctrack: 0; --cradius: 0; --cfont: var(--f); --cupper: none;
  position: relative; container-type: inline-size; background: var(--cbg); color: var(--cfg); font-family: var(--cfont); overflow: hidden; transition: background .8s, color .8s;
}
.cx[data-surface="desktop"] { aspect-ratio: 16 / 10; display: grid; grid-template-rows: auto 1fr auto; }
.cx[data-surface="phone"] { height: 100%; display: flex; flex-direction: column; }
.cx .piece { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .55s ease, transform .7s var(--ease); }
.cx .piece.built { opacity: 1; transform: none; }
.cx-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 4cqw; font-size: 1.4cqw; }
.cx-nav b { margin-right: auto; font-size: 2cqw; text-transform: var(--cupper); letter-spacing: var(--ctrack); font-weight: var(--cwght); font-variation-settings: "wdth" var(--cwdth); }
.cx-btn { display: inline-block; background: var(--cacc); color: var(--cbg); padding: .7em 1.2em; border-radius: var(--cradius); font-weight: 700; font-size: 1.5cqw; }
.cx-hero { display: grid; grid-template-columns: 1.1fr .9fr; }
.cx-hero__copy { padding: 3cqw 4cqw; display: grid; gap: 2cqw; align-content: center; }
.cx-hero__h { margin: 0; font-size: 5cqw; line-height: .95; text-transform: var(--cupper); letter-spacing: var(--ctrack); font-weight: var(--cwght); font-variation-settings: "wdth" var(--cwdth); }
.cx-hero__t { margin: 0; font-size: 1.6cqw; opacity: .7; max-width: 32ch; }
.cx-hero__img { background-size: cover; background-position: center; border-radius: var(--cradius); margin: 0 4cqw 0 0; }
.cx-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqw; padding: 2.4cqw 4cqw 3cqw; font-size: 1.3cqw; }
.cx-row div { border-top: 1px solid color-mix(in srgb, var(--cfg) 25%, transparent); padding-top: 1cqw; }
.cx-row small { display: block; opacity: .6; font-size: .9em; }
.cx[data-surface="phone"] .cx-nav { padding: 5cqw 6cqw; font-size: 4cqw; }
.cx[data-surface="phone"] .cx-nav b { font-size: 5.4cqw; }
.cx-p-hero { flex: 1; display: grid; grid-template-rows: 44% auto; }
.cx-p-hero .cx-hero__img { margin: 0 6cqw; }
.cx-p-hero .cx-hero__copy { padding: 6cqw; gap: 5cqw; align-content: start; }
.cx-p-hero .cx-hero__h { font-size: 11cqw; }
.cx-p-hero .cx-hero__t { font-size: 4.2cqw; }
.cx-p-hero .cx-btn { font-size: 4.2cqw; justify-self: start; }
.cx-p-list { padding: 0 6cqw 6cqw; display: grid; gap: 2cqw; font-size: 4cqw; }
.cx-p-list span { border-top: 1px solid color-mix(in srgb, var(--cfg) 25%, transparent); padding-top: 2cqw; }

/* CH08 journey */
.journey { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; max-width: 760px; position: relative; }
.journey::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.journey li { position: relative; padding: 26px 12px 0 0; opacity: .35; transition: opacity .6s; }
.journey li::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-2); background: #000; transition: background .5s, border-color .5s, box-shadow .5s; }
.journey li.on { opacity: 1; }
.journey li.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); }
.journey b { display: block; font-variation-settings: "wdth" 85; }
.journey span { font-size: 13px; color: var(--dim); }

/* CH09 process */
.process { margin-top: 2.6rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 85%, transparent); }
.process__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; width: max-content; will-change: transform; }
.process__track li { width: clamp(220px, 19vw, 300px); padding: 20px 20px 24px; border-top: 2px solid var(--line); opacity: .38; transition: opacity .5s, border-color .5s, background .5s; }
.process__track li.is-done { opacity: .7; border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.process__track li.is-active { opacity: 1; border-color: var(--accent); background: rgba(255,255,255,.04); }
.process__track .n { display: block; font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.process__track b { display: block; font-size: clamp(1.4rem, 2vw, 2rem); text-transform: uppercase; font-weight: 800; font-variation-settings: "wdth" 62; line-height: 1; margin-bottom: 8px; }
.process__track li > span:last-child { font-size: 14px; color: var(--dim); }

/* CH10 integrations */
.integ { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.integ__readout { margin-top: 2rem; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; min-height: 5.5em; max-width: 42ch; }
.integ__readout b { color: var(--accent); font-variation-settings: "wdth" 85; }
.integ__readout span { color: var(--dim); }
.integ__close { grid-column: 1 / -1; margin-top: clamp(32px, 6vw, 96px); }
.hub { position: relative; width: min(100%, 680px); aspect-ratio: 1; justify-self: center; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines line { stroke: var(--line-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hub__lines line.pulse { stroke: var(--accent); stroke-dasharray: 10 90; stroke-dashoffset: 100; animation: pulse 2.6s linear infinite; }
.hub__lines line.pulse.is-sel { stroke-width: 2.5; animation-duration: 1.1s; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.hub__core { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; display: grid; place-items: center; text-align: center; border: 1px solid var(--accent); z-index: 2; }
.hub__core video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.hub__core span { position: relative; padding: 0 12%; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; font-size: clamp(1rem, 2.2vw, 1.7rem); line-height: .95; text-shadow: 0 2px 12px #000; }
.hub__nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 3; }
.hub__nodes li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.hub__nodes button { min-height: 40px; padding: 0 12px; font-size: 13px; font-weight: 700; font-variation-settings: "wdth" 88; border: 1px solid var(--line-2); background: rgba(0,0,0,.75); white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.hub__nodes button:hover { border-color: var(--ink); }
.hub__nodes button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* CH11 feed */
.feed { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 2px; max-width: 520px; }
.feed li { display: grid; grid-template-columns: 6ch 13ch 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; opacity: 0; transform: translate3d(-10px, 0, 0); transition: opacity .5s, transform .7s var(--ease); }
.feed li.on { opacity: 1; transform: none; }
.feed time { color: var(--dim); font-variant-numeric: tabular-nums; }
.feed b { color: var(--accent); font-variation-settings: "wdth" 85; }
.feed span { color: var(--ink); }
.swap ~ .feed { position: relative; }
.clock-line { margin: 2rem 0 0; color: var(--dim); opacity: 0; transition: opacity .6s; max-width: 40ch; }
.clock-line.on { opacity: 1; }
.clock-line b { color: var(--accent); font-variant-numeric: tabular-nums; }
#ch-sales .ch__copy { display: grid; }
#ch-sales .feed, #ch-sales .clock-line { grid-area: 3 / 1; align-self: start; }

/* CH12 + final */
.yours { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 96px); align-items: center; }
.yours .mega .when-named .l { color: var(--accent); }
.yours__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }
.final { min-height: 100svh; padding: calc(var(--hud-h) + 64px) var(--pad) 120px; display: grid; align-content: center; justify-items: start; gap: clamp(20px, 3vw, 40px); background: #000; border-top: 1px solid var(--line); }
.final__brand { margin: 0; font-size: 13px; color: var(--dim); }
.final .mega { font-size: clamp(3rem, 10vw, 12rem); }
.final__b { color: var(--accent); }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.contact-list a { display: grid; text-decoration: none; padding: 6px 0; }
.contact-list small { font-size: 12px; color: var(--dim); }
.contact-list strong { font-weight: 600; font-variation-settings: "wdth" 90; }
.contact-list a:hover strong { color: var(--accent); }
.final__sign { margin: 1rem 0 0; display: grid; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1; }
.final__sign span:last-child { color: var(--accent); }
.foot { padding: 48px var(--pad) calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; display: grid; gap: 18px; }
.foot p { margin: 0; max-width: 70ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a, .foot nav button { color: var(--ink); text-decoration: none; min-height: 32px; }
.foot nav a:hover, .foot nav button:hover { color: var(--accent); }
.foot__small { font-size: 12px; }

/* ---------- Fixed contact affordances ---------- */
.dock { display: none; }

/* ---------- Layers ---------- */
.layer { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow-y: auto; padding: calc(env(safe-area-inset-top, 0px) + 88px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 48px); animation: layerIn .5s var(--ease); }
@keyframes layerIn { from { opacity: 0; } to { opacity: 1; } }
.layer__close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); right: var(--pad); min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); font-size: 13px; z-index: 5; }
.layer__close:hover { border-color: var(--ink); }
.menu__main { display: grid; justify-items: start; }
.menu__main a, .menu__main button { font-size: clamp(2.4rem, 7vw, 6.4rem); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; line-height: .95; text-decoration: none; transition: color .25s, font-variation-settings .6s var(--ease); }
.menu__main a:hover, .menu__main button:hover { color: var(--accent); font-variation-settings: "wdth" 80; }
.menu__index { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 24px; font-size: 14px; }
.menu__index a { display: flex; gap: 12px; padding: 8px 0; color: var(--dim); text-decoration: none; border-top: 1px solid var(--line); }
.menu__index a:hover { color: var(--ink); }
.menu__index b { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 600; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 120px); max-width: 1280px; }
.contact .contact-list { flex-direction: column; margin-top: 2rem; }
.contact .contact-list strong { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.contact__empty { color: var(--dim); font-size: 14px; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.quick { display: grid; gap: 14px; align-content: start; }
.quick label, .grid-inputs label { display: grid; gap: 6px; font-size: 13px; color: var(--dim); }
.quick small { font-size: 11px; }
.quick input, .quick textarea, .grid-inputs input { background: transparent; border: 1px solid var(--line-2); color: var(--ink); font: inherit; font-size: 16px; padding: 12px; border-radius: 0; }
.quick input:focus, .quick textarea:focus, .grid-inputs input:focus { outline: none; border-color: var(--accent); }
.quick .btn { justify-self: start; }
.form-msg { margin: 0; font-size: 14px; color: var(--accent); min-height: 1.2em; }

/* ---------- Intake ---------- */
.intake { position: fixed; inset: 0; z-index: 95; background: #000; display: grid; grid-template-rows: auto auto 1fr auto; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); animation: layerIn .6s var(--ease); overflow: hidden; }
.intake__bg { position: absolute; right: 0; top: 0; bottom: 0; width: min(46vw, 60vh); opacity: .32; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); pointer-events: none; }
.intake__bg video { width: 100%; height: 100%; object-fit: cover; }
.intake__top { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 16px var(--pad); font-size: 13px; }
.intake__top .layer__close { position: static; margin-left: auto; }
.intake__brand { font-weight: 700; }
.intake__step { color: var(--dim); font-variant-numeric: tabular-nums; }
.intake__step b { color: var(--ink); }
.intake__bar { position: relative; z-index: 2; height: 2px; background: var(--line); margin: 0 var(--pad); }
.intake__bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, .125)); transition: transform .6s var(--ease); }
.intake__form { position: relative; z-index: 2; display: grid; align-items: center; padding: 4vh var(--pad); overflow-y: auto; }
.step { grid-area: 1 / 1; border: 0; margin: 0; padding: 0; min-width: 0; max-width: 980px; display: none; }
.step.on { display: block; animation: stepIn .7s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.step__q { display: block; margin: 0 0 2rem; padding: 0; }
.big-input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font: inherit; font-weight: 700; font-variation-settings: "wdth" 75; font-size: clamp(1.8rem, 4vw, 3.4rem); padding: .2em 0; border-radius: 0; resize: vertical; }
textarea.big-input { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 400; font-variation-settings: "wdth" 100; }
.big-input:focus { outline: none; border-bottom-color: var(--accent); }
.grid-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
.grid-inputs .wide { grid-column: 1 / -1; }
.intake__msg { padding: 0; }
.intake__nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 16px var(--pad) 24px; border-top: 1px solid var(--line); }
.intake__keys { margin: 0 auto; font-size: 12px; color: var(--dim); }
.done { position: absolute; inset: 0; z-index: 5; background: #000; display: grid; align-content: center; justify-items: start; gap: 18px; padding: calc(env(safe-area-inset-top, 0px) + 40px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 40px); overflow-y: auto; }
.done__bg { position: absolute; left: 50%; top: 50%; height: 80%; aspect-ratio: 9 / 16; transform: translate(-50%, -50%); opacity: .4; pointer-events: none; }
.done__bg video { width: 100%; height: 100%; object-fit: cover; }
.done > *:not(.done__bg) { position: relative; }
.done__name { color: var(--accent); font-size: clamp(2.6rem, 8vw, 9rem); white-space: normal; overflow-wrap: anywhere; }
.done__line { animation: stepIn 1.2s var(--ease) .6s both; }
.done__received { margin: 0; font-size: 1.1rem; animation: stepIn 1s var(--ease) 1.2s both; }
.done__preview { margin: 0; font-size: 13px; color: var(--dim); }
.done__sign { display: grid; margin: 1rem 0; font-size: 14px; color: var(--dim); animation: stepIn 1s var(--ease) 1.6s both; }
.done__sign b { color: var(--ink); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1.5px solid var(--ink); border-radius: 50%; pointer-events: none; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s, background .3s, border-color .3s; mix-blend-mode: difference; display: grid; place-items: center; }
.has-cursor .cursor { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--ink); }
.cursor__label { font-size: 11px; font-weight: 700; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .ch--wide .ch__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; }
  .ch--wide .browser, .ch--wide .demo { justify-self: start; width: min(100%, calc(52svh * 1.6)); }
  .modes { grid-template-columns: repeat(5, auto); max-width: none; margin-top: 1.2rem; }
  .modes button { grid-template-columns: 1fr; padding: 8px 10px; }
  .modes span { display: none; }
  #ch-transform .ch__inner, #ch-preview .ch__inner, .integ { grid-template-columns: minmax(0, 1fr); }
  #ch-preview .ch__inner { grid-template-areas: "head" "concept" "actions"; }
  .concept { margin-bottom: 2.6rem; }
  .hud__chapter .hud__title { display: none; }
}

/* ---------- Mobile: designed as its own experience ---------- */
@media (max-width: 820px), (orientation: portrait) and (max-width: 1100px) {
  :root { --hud-h: 56px; }
  .hud { grid-template-columns: 1fr auto; padding-top: calc(env(safe-area-inset-top, 0px) + 10px); padding-bottom: 10px; }
  .hud__chapter, .hud__cta, .hud__sound-text, .hud__contact { display: none; }
  .mega { font-size: clamp(2.3rem, 11.5vw, 4.6rem); }
  .mega--md { font-size: clamp(2rem, 9.4vw, 3.8rem); }
  .intro__set { font-size: clamp(2.4rem, 12vw, 5rem); }
  .intro__portal { width: 100vw; border: 0; }
  .intro.is-ready .intro__portal { opacity: .6; }
  .intro__gate { bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); }
  .intro__skip { bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); }
  .intro__count { bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); }

  /* Pinned chapters: the portal becomes the whole screen */
  .ch__stage { grid-template-columns: minmax(0, 1fr); align-content: end; padding: calc(var(--hud-h) + 16px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + 96px); }
  .ch__stage > .portal { position: absolute; inset: 0; height: 100%; width: 100%; aspect-ratio: auto; border: 0; }
  .ch__stage > .portal::before { border: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.82) 66%, #000 100%); opacity: 1; z-index: 1; }
  .ch__stage > .portal .portal__bar { display: none; }
  .ch--wide .ch__stage { align-content: center; gap: 22px; grid-template-rows: auto auto; }
  .ch--wide .browser, .ch--wide .demo { width: 100%; }
  .pin { font-size: 9px; padding: 3px 6px; }
  .modes { grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px; }
  .modes button { padding: 6px 8px; font-size: 14px; }
  .noise .frag { font-size: calc(var(--s) * .8); }
  .tpl { width: auto; right: var(--pad); }
  .journey { grid-template-columns: 1fr; gap: 0; margin-top: 1.6rem; }
  .journey::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .journey li { padding: 0 0 12px 26px; display: flex; gap: 10px; align-items: baseline; }
  .journey li::before { top: 4px; }
  .process { -webkit-mask-image: none; mask-image: none; margin-top: 1.4rem; }
  .process__track { flex-direction: column; width: auto; transform: none !important; gap: 0; }
  .process__track li { width: auto; display: grid; grid-template-columns: 3ch 9ch 1fr; gap: 8px; align-items: baseline; padding: 8px 0; border-top-width: 1px; }
  .process__track li .n { margin: 0; }
  .process__track b { font-size: 1.2rem; margin: 0; }
  .process__track li > span:last-child { font-size: 13px; }
  .feed li { grid-template-columns: 5ch 1fr; font-size: 13px; padding: 7px 0; }
  .feed li > span { grid-column: 2; }
  .feed time { grid-row: span 2; }

  /* Flow chapters */
  .ch--flow { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 110px); }
  .you, .yours { grid-template-columns: minmax(0, 1fr); }
  /* On narrow screens long statements wrap instead of running off screen; names still shrink to fit */
  .mega .l { white-space: normal; text-wrap: balance; }
  .mega .l[data-fit] { white-space: nowrap; }
  .portal--side { display: none; }
  .yours { position: relative; }
  .tags { grid-template-columns: 1fr 1fr; }
  .concept { padding-bottom: 22%; }
  .concept__phone { width: 34%; border-width: 4px; border-radius: 16px; right: 0; }
  .concept__log { position: static; margin-top: 12px; max-width: none; }
  .hub { width: 80%; margin: 8px auto 0; }
  .hub__nodes button { font-size: 11px; padding: 0 8px; min-height: 34px; }
  .contact__grid { grid-template-columns: 1fr; }
  .grid-inputs { grid-template-columns: 1fr; }
  .intake__bg { width: 100%; opacity: .2; -webkit-mask-image: linear-gradient(180deg, transparent, #000 50%); mask-image: linear-gradient(180deg, transparent, #000 50%); }
  .intake__keys { display: none; }
  .intake__nav { justify-content: space-between; }
  .final { padding-bottom: 140px; }

  .dock { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px var(--pad) calc(env(safe-area-inset-bottom, 0px) + 10px); background: linear-gradient(transparent, rgba(0,0,0,.85) 40%); opacity: 0; transform: translateY(100%); transition: opacity .6s, transform .6s var(--ease); }
  .is-entered .dock { opacity: 1; transform: none; }
  .dock .btn { flex: 1; min-height: 50px; font-size: 15px; padding: 0 12px; }
  .dock__wa { flex: 1; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line-2); background: rgba(0,0,0,.85); text-decoration: none; font-weight: 700; font-variation-settings: "wdth" 88; font-size: 15px; font-variant-numeric: tabular-nums; }
  .dock__wa span { display: grid; line-height: 1.1; text-align: left; }
  .dock__wa small { font-size: 11px; font-weight: 500; color: var(--dim); }
  .dock__wa .wa-ico { width: 22px; height: 22px; }
  .ambient__img.on { opacity: .2; }
}

/* =====================================================================
   CONVERSION SYSTEM (WhatsApp, personalised CTA, intake stages)
   ===================================================================== */
.wa-ico { width: 18px; height: 18px; flex: none; color: #25d366; }
.btn--wa { text-decoration: none; }
.btn--wa:hover .wa-ico { color: #25d366; }
.btn--accent .wa-ico { color: currentColor; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Ch07: "could become" beat + routes */
.preview__actions { display: grid; gap: 18px; align-self: end; }
.become { margin: 0; font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; line-height: .95; max-width: 16ch; }
.become b { color: var(--accent); font-weight: inherit; overflow-wrap: anywhere; }
.preview__tools, .preview__go { display: flex; flex-wrap: wrap; gap: 10px; }
.has-name .become .when-named { display: inline; }

/* Ch12 personalised */
.yours__experienced .l { font-size: .62em; color: var(--ink) !important; }
.yours__ready { margin: 1.4rem 0 0; font-size: clamp(1.3rem, 2.4vw, 2.2rem); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 62; color: var(--accent); }
.has-name .yours__ready { display: block; }
.has-name .yours .lede { display: none; }

/* Final + footer */
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__contact a { color: var(--ink); text-decoration: none; }
.foot__contact a:hover { color: var(--accent); }

/* Intake additions */
.intake__for { color: var(--dim); max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.intake__for b { color: var(--accent); font-weight: 700; }
.line-field { display: grid; gap: 8px; margin-top: 2rem; max-width: 760px; font-size: 14px; color: var(--dim); }
.line-field input { background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font: inherit; font-size: clamp(1.05rem, 1.8vw, 1.4rem); padding: .4em 0; border-radius: 0; }
.line-field input:focus { outline: none; border-bottom-color: var(--accent); }
.req { font-size: 11px; color: var(--accent); margin-left: 6px; }
.grid-inputs label small { font-size: 11px; color: var(--dim); }
.step__opt { margin: 1.4rem 0 0; font-size: 14px; color: var(--dim); }
[aria-invalid="true"] { border-color: #ff5a5a !important; border-bottom-color: #ff5a5a !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.journey-card:empty { display: none; }
.journey-card { margin: -0.8rem 0 1.6rem; max-width: 760px; }
.journey-card p { margin: 0 0 8px; font-size: 12px; color: var(--dim); }
.journey-card dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.journey-card div { background: #000; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: baseline; }
.journey-card dt { grid-column: 1; font-size: 11px; color: var(--dim); }
.journey-card dd { grid-column: 1; margin: 0; font-weight: 700; font-size: 14px; font-variation-settings: "wdth" 85; overflow-wrap: anywhere; }
.journey-card button { grid-column: 2; grid-row: 1 / span 2; font-size: 12px; color: var(--accent); min-height: 32px; padding: 0 4px; }

/* Sending: "Building your connection..." */
.sending { position: absolute; inset: 0; z-index: 6; background: #000; display: grid; place-content: center; justify-items: center; gap: 28px; padding: var(--pad); text-align: center; }
.sending .mega { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; transition: opacity .5s ease, filter .6s ease, font-variation-settings .9s var(--ease); }
.sending .mega .l { white-space: normal; }
.sending__b { opacity: 0; filter: blur(10px); font-variation-settings: "wdth" 125; color: var(--accent); }
.sending.is-sent .sending__a { opacity: 0; filter: blur(10px); font-variation-settings: "wdth" 125; }
.sending.is-sent .sending__b { opacity: 1; filter: none; font-variation-settings: "wdth" 62; }
.sending__line { grid-row: 2; width: min(320px, 60vw); height: 2px; background: var(--line); position: relative; overflow: hidden; }
.sending__line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: connect 1.4s var(--ease) infinite; }
.sending.is-sent .sending__line::after { animation: none; transform: scaleX(1); }
@keyframes connect { 0% { transform: scaleX(0); } 70% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* Result: success / error */
.done[data-state="success"] .done__error, .done[data-state="error"] .done__success,
.done[data-state="success"] .opt__err, .done[data-state="error"] .opt__ok,
.done[data-state="success"] .done__retry, .done[data-state="error"] .done__sign { display: none; }
.done__success, .done__error { display: grid; gap: 14px; justify-items: start; }
.done[data-state="error"] .done__line { color: var(--ink); }
.done__options { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); width: min(100%, 980px); margin-top: 1rem; animation: stepIn 1s var(--ease) 1s both; }
.opt { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #000; text-decoration: none; transition: background .25s; min-height: 76px; }
.opt:hover { background: #0d0d0d; }
.opt span { display: grid; gap: 2px; min-width: 0; }
.opt b { font-size: 1.05rem; font-variation-settings: "wdth" 88; }
.opt small { font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.opt--wa { background: color-mix(in srgb, #25d366 14%, #000); }
.opt--wa:hover { background: color-mix(in srgb, #25d366 22%, #000); }
.opt--wa .wa-ico { width: 30px; height: 30px; }
.done__foot { display: flex; flex-wrap: wrap; gap: 10px; animation: stepIn 1s var(--ease) 1.2s both; }
.done .done__line .l { white-space: normal; }

@media (max-width: 820px), (orientation: portrait) and (max-width: 1100px) {
  .intake__for { display: none; }
  .done__options { grid-template-columns: 1fr; }
  .preview__go .btn { flex: 1 1 auto; }
  .final__actions .btn { flex: 1 1 100%; }
  .yours__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .dock__wa small { display: none; }
  .dock__wa { font-size: 13px; gap: 6px; }
  .dock .btn { font-size: 14px; }
}

/* Pinned chapters on phones: keep every line on one screen */
@media (max-width: 820px), (orientation: portrait) and (max-width: 1100px) {
  .feed { margin-top: 1.2rem; }
  .feed li { grid-template-columns: 5ch 12ch minmax(0, 1fr); gap: 8px; padding: 7px 0; }
  .feed time { grid-row: auto; }
  .feed li > span { grid-column: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 820px) and (max-height: 760px) {
  .mega { font-size: clamp(2rem, 9.6vw, 3.4rem); }
  .mega--md { font-size: clamp(1.8rem, 8.4vw, 3rem); }
  .ch__num { margin-bottom: .6rem; }
  .ch__stage { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
  .process__track li { padding: 5px 0; }
  .process__track li:not(.is-active) > span:last-child { display: none; }
  .feed li { padding: 5px 0; font-size: 12px; }
  .journey li { padding-bottom: 6px; }
}


/* ---------- Chapter 07: real template preview + research ---------- */
.cxf { position: relative; overflow: hidden; background: #000; }
.cxf[data-surface="desktop"] { aspect-ratio: 16 / 10; }
.concept__phone .cxf { height: 100%; }
.cxf iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: #000; }
.concept__open { position: absolute; inset: 0 0 8% 0; z-index: 3; }
.concept__open:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.research { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); max-width: 46ch; }
.research__k { margin: 0 0 .7rem; font-size: 15px; color: var(--dim); }
.research__k span { color: var(--ink); font-weight: 700; }
.research__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.research__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; }
.research__list li::before { content: ""; position: absolute; left: 2px; top: .28em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.research__edge { margin: 1rem 0 0; padding: 12px 14px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.04); display: grid; gap: 4px; font-size: 15px; line-height: 1.45; }
.research__edge b { color: var(--accent); font-size: 13px; font-variation-settings: "wdth" 90; }
.done__concept { margin: 0; font-size: 15px; color: var(--dim); }
.done__concept b { color: var(--ink); }
.done__concept a { color: var(--accent); }
.journey-card .jc-template { margin: 10px 0 0; font-size: 13px; color: var(--dim); }
.journey-card .jc-template b { color: var(--ink); }
.journey-card .jc-template a { color: var(--accent); }
/* HUD legibility when content scrolls underneath */
.hud::before { content: ""; position: absolute; inset: 0 0 -24px; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 60%, transparent 100%); pointer-events: none; }

/* ---------- Scroll cue (shown after the intro until the visitor scrolls) ---------- */
.scroll-cue {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); z-index: 58;
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 18px;
  color: var(--ink); opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .7s ease, transform .8s var(--ease), visibility 0s linear .7s;
}
.is-entered .scroll-cue.on { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: .6s, .6s, 0s; }
.layer-open .scroll-cue { opacity: 0 !important; visibility: hidden !important; }
.scroll-cue__label { font-size: clamp(15px, 1.2vw, 18px); font-weight: 700; font-variation-settings: "wdth" 88; letter-spacing: .01em; white-space: nowrap; text-shadow: 0 1px 14px #000, 0 0 2px #000; transition: color .3s; }
.scroll-cue__touch { display: none; }
.scroll-cue__track { position: relative; width: 2px; height: clamp(64px, 9vh, 88px); overflow: hidden; background: var(--line-2); }
.scroll-cue__track i { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: cue-drop 1.8s var(--ease) infinite; }
.scroll-cue__track::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 8px; height: 8px; margin-left: -4px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); opacity: .8; }
.scroll-cue:hover .scroll-cue__label, .scroll-cue:focus-visible .scroll-cue__label { color: var(--accent); }
.scroll-cue.is-nudging { animation: cue-nudge 2.4s ease-in-out infinite; }
@keyframes cue-drop { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(260%); } }
@keyframes cue-nudge { 0%, 60%, 100% { margin-bottom: 0; } 75% { margin-bottom: 10px; } 88% { margin-bottom: 0; } }
@media (pointer: coarse) { .scroll-cue__desk { display: none; } .scroll-cue__touch { display: inline; } }
@media (max-width: 820px), (orientation: portrait) and (max-width: 1100px) {
  .scroll-cue { bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); gap: 10px; }
  .scroll-cue__track { height: 48px; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .scroll-cue { bottom: calc(env(safe-area-inset-bottom, 0px) + 76px); gap: 6px; padding: 6px 14px; }
  .scroll-cue__label { font-size: 14px; }
  .scroll-cue__track { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__track i { animation: none !important; top: 30%; }
  .scroll-cue.is-nudging { animation: none !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .swap__item .l, .intro__set .l { filter: none !important; transform: none !important; font-variation-settings: "wdth" 62 !important; }
  .sb__marquee span { transform: none; }
}
