@font-face {
  font-family: "Inter";
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1220;
  --ink-2: #5b6472;
  --ink-3: #8b93a1;
  --hair: #e7eaef;
  --mist: #f4f6f9;
  --blue: #60a4ea;
  --blue-deep: #2f7fd6;
  --navy: #062a4e;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --pad: clamp(24px, 6vw, 72px);
  --section: clamp(140px, 22vh, 240px);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.js { scroll-behavior: auto; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  text-transform: lowercase;
}
img { display: block; max-width: 100%; height: auto; }
button, input { text-transform: inherit; }
ol, ul { list-style: none; margin: 0; padding: 0; }
p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(96, 164, 234, 0.22); }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 4px; border-radius: 6px; }

.sr, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 0 0 1px var(--hair); }

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

/* ---------- Type ---------- */
.display {
  font-size: clamp(40px, 11.4vw, 124px);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 620;
}
.headline {
  font-size: clamp(31px, 8.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.038em;
  font-weight: 620;
}
.line { display: block; overflow: hidden; padding: 0.02em 0 0.1em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }
.line-soft { color: var(--ink-3); }
.eyebrow {
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--blue-deep);
  margin-bottom: 28px;
}
.lede, .body {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: balance;
}

/* ---------- Buttons and links ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: inherit; font-size: 16px; font-weight: 540; letter-spacing: -0.01em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn > span { position: relative; z-index: 1; transition: transform 0.5s var(--ease); }
.btn::before {
  /* the signal: a soft light that travels through the button on hover */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(96, 164, 234, 0.55) 50%, transparent 70%);
  background-size: 260% 100%; background-position: 130% 0;
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover { background: #111c30; box-shadow: 0 10px 30px -12px rgba(11, 18, 32, 0.45); }
.btn:hover::before { opacity: 1; animation: signal 1.2s var(--ease-io) both; }
.btn:active { transform: translate3d(var(--mx), var(--my), 0) scale(0.965); transition-duration: 0.15s; }
.btn-small { height: 38px; padding: 0 18px; font-size: 14px; }
@keyframes signal { from { background-position: 130% 0; } to { background-position: -30% 0; } }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 520; color: var(--ink);
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.3s;
}
.link:hover { background-size: 100% 1px; }
.link .arrow { display: inline-block; transition: transform 0.6s var(--ease); }
.link:hover .arrow { transform: translateY(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  transition: transform 0.7s var(--ease), background-color 0.5s, box-shadow 0.5s;
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 0 var(--hair); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo img { width: 84px; }
.nav .btn-small { opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.4s var(--ease); }
.nav.show-logo .btn-small, .no-js .nav .btn-small { opacity: 1; transform: none; pointer-events: auto; }
.nav-logo { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.nav.show-logo .nav-logo, .no-js .nav-logo { opacity: 1; transform: none; }
.nav-inner nav { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-inner { position: relative; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 8px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--blue);
  transform: scale(0); transition: transform 0.5s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { transform: scale(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) var(--pad) 120px;
  text-align: center;
}
.hero-inner {
  display: flex; flex-direction: column; align-items: center;
  will-change: transform, opacity;
}
.lockup {
  /* proportions match the last frame of the intro film, so the hand-off is seamless:
     --v is the visible icon width; the images carry their own transparent padding */
  --v: clamp(150px, 17vw, 236px);
  display: flex; flex-direction: column; align-items: center;
  gap: calc(var(--v) * 0.0674);
  margin-bottom: clamp(48px, 8vh, 88px);
}
.mark { position: relative; --fx: 0px; --fy: 0px; transform: translate3d(var(--fx), var(--fy), 0); }
.mark img { width: 100%; }
.mark::after {
  /* a light that travels through the symbol, masked to its own shape */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  background-size: 300% 100%; background-position: 140% 0;
  -webkit-mask: url("assets/wave-icon.webp") center / contain no-repeat;
          mask: url("assets/wave-icon.webp") center / contain no-repeat;
}
.mark.is-shining::after { animation: shine 1.6s var(--ease-io) both; }
@keyframes shine { from { background-position: 140% 0; } to { background-position: -40% 0; } }
.mark-hero { width: calc(var(--v) * 1.0482); }
.hero .display { margin-bottom: 30px; }
.hero .lede { margin: 0 auto 44px; max-width: 40ch; }
.actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 36px; width: 1px; height: 44px; margin-left: -0.5px;
  background: var(--hair); overflow: hidden;
}
.scroll-cue span {
  position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--blue); animation: cue 2.4s var(--ease-io) infinite 2.6s;
}
@keyframes cue { 0% { top: -40%; } 70%, 100% { top: 100%; } }

/* hero intro: CSS only, so it plays before any script */
/* hero waits for the intro film; html.ready is set when it hands over (or immediately without it) */
.js .hero .lockup, .js .hero .line > span, .js .hero .lede, .js .hero .actions, .js .scroll-cue { opacity: 0; }
.js .hero .line > span { transform: translateY(108%); }
.js.ready .hero .lockup { opacity: 1; transition: opacity 0.35s ease; }
.js.ready.no-film .mark-hero img { clip-path: inset(0 100% 0 0); animation: wipe 1.5s var(--ease) 0.1s forwards; }
.js.ready .hero .line > span { opacity: 1; animation: lift 1.2s var(--ease) forwards; animation-delay: calc(0.15s + var(--i) * 0.11s); }
.js.ready .hero .lede { animation: rise 1.1s var(--ease) 0.5s forwards; }
.js.ready .hero .actions { animation: rise 1.1s var(--ease) 0.65s forwards; }
.js.ready .scroll-cue { animation: fade 1s ease 1.4s forwards; }
.js.ready .nav { animation: fade 0.9s ease 0.3s both; }
.js:not(.ready) .nav { opacity: 0; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lift { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-lines .line > span { transform: translateY(108%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i) * 0.1s); }
.js .reveal-lines.in .line > span { transform: none; }

.section { padding: var(--section) 0; }

/* ---------- Idea ---------- */
.idea .headline { margin-bottom: clamp(80px, 13vh, 140px); }
.flow { display: grid; grid-template-columns: 1fr minmax(48px, 0.9fr) 1fr minmax(48px, 0.9fr) 1fr; align-items: start; }
.flow-step { display: flex; flex-direction: column; gap: 18px; }
.flow-word {
  display: flex; align-items: center; height: clamp(52px, 6vw, 80px);
  font-size: clamp(34px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1;
}
.flow-step-mark .flow-word img { width: clamp(96px, 10vw, 140px); }
.flow-note { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 22ch; }
.flow-wire { height: clamp(52px, 6vw, 80px); display: flex; align-items: center; padding: 0 clamp(12px, 2vw, 28px); }
.wire { position: relative; display: block; width: 100%; height: 1px; background: var(--hair); overflow: hidden; }
.wire::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; opacity: 0.18; }
.wire i { position: absolute; top: 0; left: -30%; width: 30%; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: 0; }

.js .flow-step { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(0.15s + var(--i) * 0.38s); }
.js .flow.in .flow-step { opacity: 1; transform: none; }
.flow.in .wire::before { transform: scaleX(1); transition: transform 0.9s var(--ease-io); }
.flow.in .flow-wire:nth-of-type(2) .wire::before { transition-delay: 0.45s; }
.flow.in .flow-wire:nth-of-type(4) .wire::before { transition-delay: 0.83s; }
.flow.in .wire i { animation: travel 3.2s var(--ease-io) infinite; }
.flow.in .flow-wire:nth-of-type(2) .wire i { animation-delay: 1.4s; }
.flow.in .flow-wire:nth-of-type(4) .wire i { animation-delay: 2.2s; }
@keyframes travel { 0% { left: -30%; opacity: 0; } 10% { opacity: 1; } 55% { left: 100%; opacity: 1; } 56%, 100% { left: 100%; opacity: 0; } }

/* ---------- How it feels ---------- */
.feel { padding-top: var(--section); }
.feel-track { height: 320vh; position: relative; }
.feel-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--nav-h) var(--pad) 40px;
}
.convo { width: 100%; max-width: 600px; display: flex; flex-direction: column; }
.cmd {
  align-self: flex-end; max-width: 30em;
  background: var(--mist); color: var(--ink);
  padding: 16px 20px; border-radius: 22px 22px 6px 22px;
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.45; letter-spacing: -0.012em;
  transform-origin: 100% 100%;
  transition: transform 0.7s var(--ease), background-color 0.6s;
}
.cmd.is-sent { background: var(--ink); color: #fff; }
.cmd-text { white-space: pre-wrap; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--blue-deep); animation: blink 1s steps(1) infinite; }
.cmd.is-sent .caret { opacity: 0; animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.sent { align-self: flex-end; display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; color: var(--ink-3); opacity: 0; transform: translateY(-4px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.sent.on { opacity: 1; transform: none; }

.reply { margin-top: 44px; min-height: 248px; position: relative; }
.reply-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); opacity: 0; transition: opacity 0.6s var(--ease); }
.reply-head img { width: 34px; }
.reply-head img.reply-word { width: auto; height: 14px; }
.reply-head.on { opacity: 1; }
.activity { margin-top: 18px; display: grid; gap: 14px; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.activity.settled { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.activity li {
  --b: 0;
  display: grid; grid-template-columns: 18px 1fr; align-items: center; column-gap: 12px; row-gap: 8px;
  font-size: 15px; color: var(--ink-2);
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.activity li.on { opacity: 1; transform: none; }
.tick { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--hair); position: relative; transition: border-color 0.4s, background-color 0.4s; }
.activity li.ok .tick { border-color: var(--blue); background: var(--blue); }
.activity li.ok .tick::after { content: ""; position: absolute; left: 3.6px; top: 1.6px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.bar { grid-column: 2; height: 1px; background: var(--hair); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--b)); }
.done { position: absolute; left: 0; right: 0; top: 52px; opacity: 0; transform: translateY(12px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.done.on { opacity: 1; transform: none; }
.done-word { font-size: clamp(44px, 5.2vw, 68px); font-weight: 620; letter-spacing: -0.045em; line-height: 1.05; }
.done-line { margin-top: 12px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 30ch; }
.feel-caption { margin-top: clamp(40px, 7vh, 72px); text-align: center; font-size: 15px; color: var(--ink-3); opacity: 0; transition: opacity 0.8s var(--ease); }
.feel-caption.on { opacity: 1; }

/* no-js / reduced motion: show the finished conversation */
.no-js .cmd { background: var(--ink); color: #fff; }
.no-js .caret, .no-js .activity { display: none; }
.no-js .sent, .no-js .reply-head, .no-js .done, .no-js .feel-caption { opacity: 1; transform: none; }
.no-js .feel-track { height: auto; }
.no-js .feel-stage { position: relative; height: auto; padding: 80px var(--pad); }

/* ---------- Network ---------- */
.network { padding-bottom: clamp(100px, 16vh, 180px); }
.network .headline { margin-bottom: 28px; }
.net {
  position: relative; width: 100%; max-width: 980px; margin: clamp(56px, 10vh, 110px) auto 0;
  aspect-ratio: 900 / 520; padding: 0 var(--pad);
}
.net-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net-svg .base { fill: none; stroke: #d6dbe2; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.net.in .net-svg .base { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io); transition-delay: calc(0.2s + var(--i) * 0.12s); }
.net-svg .pulse { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 5 95; stroke-dashoffset: 5; opacity: 0; }
.net.in .net-svg .pulse { animation: pulse 4.2s var(--ease-io) infinite; animation-delay: calc(2s + var(--i) * 0.7s); }
@keyframes pulse { 0% { stroke-dashoffset: 5; opacity: 0; } 8% { opacity: 1; } 60% { stroke-dashoffset: -95; opacity: 1; } 61%, 100% { stroke-dashoffset: -95; opacity: 0; } }
.net-svg .node { fill: #fff; stroke: #c7cdd6; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.net-svg .ring { fill: none; stroke: var(--blue); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; }
.net.in .net-svg .ring { animation: ring 4.2s ease-out infinite; animation-delay: calc(2s + var(--i) * 0.7s); }
@keyframes ring { 0%, 58% { opacity: 0; transform: scale(1); } 60% { opacity: 0.9; transform: scale(1); } 85%, 100% { opacity: 0; transform: scale(3.2); } }
.net-mark { position: absolute; left: 50%; top: 50%; width: 17%; transform: translate(-50%, -50%); }
.js .net-mark { opacity: 0; transform: translate(-50%, -46%); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.net.in .net-mark { opacity: 1; transform: translate(-50%, -50%); }
.net-labels li {
  position: absolute; transform: translate(-50%, 0);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  white-space: nowrap;
}
.js .net-labels li { opacity: 0; transition: opacity 0.9s var(--ease); transition-delay: calc(1.2s + var(--i) * 0.1s); }
.net.in .net-labels li { opacity: 1; }
.no-js .net-labels { position: static; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; padding-top: 70%; }
.no-js .net-labels li { position: static; transform: none; }

/* ---------- Final ---------- */
.final { padding: clamp(120px, 20vh, 220px) 0 clamp(120px, 18vh, 200px); text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.mark-final { width: clamp(180px, 22vw, 280px); margin-bottom: clamp(48px, 8vh, 80px); }
.display-final { margin-bottom: 56px; }

.access { position: relative; display: grid; place-items: center; min-height: 56px; width: min(420px, 100%); }
.access-open, .access-field { grid-area: 1 / 1; }
.access-field {
  display: flex; align-items: center; width: 100%; height: 56px;
  border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--hair);
  padding: 0 6px 0 22px;
  opacity: 0; transform: scaleX(0.5); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.7s var(--ease), box-shadow 0.4s;
}
.access-field:focus-within { box-shadow: 0 0 0 1px var(--blue), 0 0 0 5px rgba(96, 164, 234, 0.16); }
.access-field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--ink); letter-spacing: -0.01em;
}
.access-field input::placeholder { color: var(--ink-3); }
.access-go {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.access-go:hover { background: #111c30; }
.access-go:hover svg { transform: translateX(2px); }
.access-go svg { transition: transform 0.4s var(--ease); }
.access-go:active { transform: scale(0.92); }
.access.is-open .access-open { opacity: 0; transform: scale(0.9); pointer-events: none; }
.access.is-open .access-field { opacity: 1; transform: none; pointer-events: auto; }
.access.is-done .access-field { opacity: 0; transform: scale(0.96); pointer-events: none; }
.access-msg { position: absolute; top: 100%; margin-top: 18px; font-size: 15px; color: var(--ink-2); min-height: 1.5em; }
.access.is-done .access-msg { top: 50%; margin-top: 0; transform: translateY(-50%); color: var(--ink); font-weight: 520; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--hair); }
.foot-inner {
  max-width: 1240px; margin: 0 auto; padding: 32px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--ink-3);
}
.foot img { width: 76px; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav { --nav-h: 58px; }
  .hero { padding-bottom: 110px; }
  
  .actions { flex-direction: column; gap: 18px; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { flex-direction: row; align-items: center; gap: 20px; }
  .flow-word { width: 46%; flex: none; height: auto; }
  .flow-step-mark .flow-word img { width: 92px; }
  .flow-note { font-size: 15px; }
  .flow-wire { height: 64px; padding: 0; width: 46%; justify-content: flex-start; }
  .flow-wire .wire { width: 1px; height: 100%; margin-left: 14px; }
  .wire::before { transform: scaleY(0); transform-origin: top; }
  .flow.in .wire::before { transform: scaleY(1); }
  .wire i { left: 0; top: -30%; width: 1px; height: 30%; background: linear-gradient(180deg, transparent, var(--blue), transparent); }
  .flow.in .wire i { animation-name: travel-v; }
  .feel-track { height: 280vh; }
  .reply { min-height: 260px; }
  .net { aspect-ratio: 400 / 470; padding: 0 12px; }
  .net-mark { width: 26%; }
  .net-labels li { font-size: 14px; }
  .foot-inner { gap: 14px; }
  .foot p { text-align: right; }
}
@keyframes travel-v { 0% { top: -30%; opacity: 0; } 10% { opacity: 1; } 55% { top: 100%; opacity: 1; } 56%, 100% { top: 100%; opacity: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  html, html.js { scroll-behavior: auto; }
  .js .reveal, .js .flow-step, .js .net-labels li, .js .net-mark { opacity: 1; transform: none; }
  .js .reveal-lines .line > span { transform: none; }
  .net.in .net-svg .pulse, .net.in .net-svg .ring, .flow.in .wire i, .scroll-cue span { animation: none; opacity: 0; }
  .net .net-svg .base { stroke-dashoffset: 0; }
  .btn:hover::before { animation: none; opacity: 0; }
}

/* ---------- Intro film ---------- */
.intro { display: none; }
.js .intro {
  display: block; position: fixed; inset: 0; z-index: 90; background: #fff; overflow: hidden;
  transition: opacity 0.5s ease;
}
.js.ready .intro { pointer-events: none; }
.intro.gone { opacity: 0; }
.intro-mark {
  position: absolute; left: 50%; top: 50%; width: clamp(120px, 14vw, 180px); margin: 0;
  transform: translate(-50%, -50%);
  opacity: 0; animation: intro-in 0.9s var(--ease) 0.1s forwards, drift 7s ease-in-out 0.4s infinite;
  transition: opacity 0.45s ease;
}
.intro.playing .intro-mark { opacity: 0 !important; animation-play-state: paused; }
@keyframes intro-in { to { opacity: 1; } }
@keyframes drift {
  0%, 100% { transform: translate(-50%, -50%); }
  25% { transform: translate(calc(-50% + 7px), calc(-50% - 5px)); }
  50% { transform: translate(calc(-50% - 2px), calc(-50% - 9px)); }
  75% { transform: translate(calc(-50% - 7px), calc(-50% - 3px)); }
}
.intro-film {
  --w: 100vw;
  position: absolute; width: var(--w); height: calc(var(--w) * 0.5625);
  left: calc(50% - var(--w) / 2); top: calc(50% - var(--w) * 0.28125);
  opacity: 0; transition: opacity 0.4s ease;
  transform-origin: 0 0; will-change: transform;
}
@media (max-aspect-ratio: 1/1) { .intro-film { --w: 190vw; } }
.intro-video {
  display: block; width: 100%; height: 100%; max-width: none;
  /* some decoders render the film's white as 253; lift it so the frame edge never shows */
  filter: brightness(1.03);
}
/* the film ends on icon + word; the page keeps only the icon, so the word dissolves as it glides */
.intro-cover { position: absolute; left: 35%; width: 30%; top: 55.3%; height: 10.5%; background: #fff; opacity: 0; transition: opacity 0.6s ease 0.05s; }
.intro.morph .intro-cover { opacity: 1; }
.intro.playing .intro-film { opacity: 1; }
.intro.morph { background: transparent; transition: background-color 0.3s ease; }
.intro.morph .intro-film { transition: transform 1.15s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease; }
.intro-skip {
  position: absolute; right: clamp(20px, 4vw, 40px); bottom: clamp(20px, 4vh, 36px);
  border: 0; background: none; padding: 8px 4px; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--ink-3); letter-spacing: 0.02em;
  opacity: 0; animation: fade 0.6s ease 1.2s forwards; transition: color 0.3s;
}
.intro-skip:hover { color: var(--ink); }
.intro.morph .intro-skip { opacity: 0 !important; transition: opacity 0.2s; }
html.intro-on, html.intro-on body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .js .intro { display: none; } }

/* ---------- the ocean inside "done." ----------
   The word is painted by its own background: a grey ink everywhere, with a
   body of water below a moving surface. --f (0..1) is how full it is; the page
   raises it as you scroll. Two swells drift in opposite directions. */
.ocean {
  /* an inline box spans the font's content area (~1.21em in Inter); the baseline sits ~0.97em down */
  --f: 0;
  --s: calc(0.99em - var(--f) * 0.8em);
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text; background-clip: text;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C40 10 80 10 120 22 S200 34 240 22 V40 H0Z' fill='%2360a4ea'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 18 C40 30 80 30 120 18 S200 6 240 18 V40 H0Z' fill='%23a6ccf3'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #60a4ea 0%, #3d8de0 45%, #1f6cc4 100%),
    linear-gradient(var(--ink-3), var(--ink-3));
  background-repeat: repeat-x, repeat-x, no-repeat, no-repeat;
  background-size: 2.6em 0.22em, 3.4em 0.24em, 100% 3em, 100% 100%;
  background-position-x: 0, 0, 0, 0;
  background-position-y: calc(var(--s) - 0.21em), calc(var(--s) - 0.22em), var(--s), 0;
  animation: swell 7s linear infinite;
  padding-bottom: 0.08em; margin-bottom: -0.08em;
}
@keyframes swell {
  from { background-position-x: 0, 0, 0, 0; }
  to { background-position-x: -5.2em, 6.8em, 0, 0; }
}
