/* Bricolage Grotesque, served from irsik.nl itself (no connection to Google) */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url(/fonts/bricolage-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
  src: url(/fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0a0a0b;
  --raise: #141416;
  --pearl: #f2f1ee;
  --muted: #9a978f;
  --line: rgba(242, 241, 238, 0.1);
  --violet: #8e9098;
  --ice: #e6e7ea;
  --rose: #b9b4aa;
  --pad: clamp(20px, 5vw, 80px);
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: #3a3648 var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--pearl);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.55;
  font-variation-settings: "opsz" 18;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--pearl); color: var(--bg); }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--pearl); color: var(--bg); padding: 12px 20px; border-radius: 999px; }
.skip:focus { left: 12px; top: 12px; }

h2 {
  font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: 0.98; font-weight: 600;
  font-variation-settings: "opsz" 96, "wdth" 90; letter-spacing: -0.035em; text-wrap: balance;
}

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--pearl); pointer-events: none; z-index: 90; mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none) { .cursor { display: none; } }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease), padding .5s var(--ease); }
.nav.solid { background: rgba(10, 10, 11, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 14px; }
.mark { font-weight: 700; letter-spacing: 0.22em; font-size: 1rem; text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: 1rem; }
.nav nav a:not(.pill) { text-decoration: none; color: var(--muted); transition: color .3s; }
.nav nav a:not(.pill):hover { color: var(--pearl); }
@media (max-width: 640px) { .nav nav a:not(.pill) { display: none; } }

/* Pill buttons */
.pill {
  display: inline-flex; align-items: center; gap: 0.9rem; padding: 1.05rem 1.6rem 1.05rem 1.8rem;
  background: var(--pearl); color: var(--bg); border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1.05rem; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, #ffffff, #c9c9ce 55%, #a8a6a1);
  opacity: 0; transition: opacity .5s var(--ease);
}
.pill:hover::before { opacity: 1; }
.pill:hover { color: var(--bg); }
.pill svg { transition: transform .5s var(--ease); }
.pill:hover svg { transform: translateX(4px); }
.pill-small { padding: .6rem 1.1rem; font-size: .95rem; }
.pill-big { font-size: clamp(1.2rem, 2.4vw, 1.9rem); padding: 1.3rem 2rem 1.3rem 2.4rem; }

/* Hero: pinned intro with a giant word behind the form */
.intro { position: relative; height: 210vh; }
.hero { position: sticky; top: 0; height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.giant {
  position: absolute; inset: 0; z-index: -2; display: flex; align-items: center; justify-content: center;
  font-size: clamp(7rem, 30vw, 34rem); line-height: 1; font-weight: 800; font-variation-settings: "opsz" 96, "wdth" 75;
  letter-spacing: -0.04em; color: #1d1d20; padding-bottom: 12vh; user-select: none;
}
.giant span { display: inline-block; transform: translate3d(var(--gx, 0), var(--gy, 0), 0); opacity: 0; animation: giant 1.6s var(--ease) forwards; }
.giant span:nth-child(1) { animation-delay: .05s; } .giant span:nth-child(2) { animation-delay: .12s; } .giant span:nth-child(3) { animation-delay: .19s; } .giant span:nth-child(4) { animation-delay: .26s; } .giant span:nth-child(5) { animation-delay: .33s; }
@keyframes giant { from { opacity: 0; filter: blur(20px); } to { opacity: 1; filter: blur(0); } }
.orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-fallback {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(40% 50% at 68% 45%, rgba(91, 61, 245, .55), transparent 70%),
              radial-gradient(30% 35% at 78% 60%, rgba(127, 212, 255, .35), transparent 70%),
              radial-gradient(25% 30% at 60% 30%, rgba(242, 184, 230, .3), transparent 70%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-inner { padding: 0 var(--pad) clamp(70px, 11vh, 120px); max-width: 1400px; transform: translate3d(0, var(--hy, 0), 0); opacity: var(--ho, 1); }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.95; font-weight: 600;
  font-variation-settings: "opsz" 96, "wdth" 88; letter-spacing: -0.04em; max-width: 12ch;
}
.w { display: inline-block; opacity: 0; filter: blur(16px); transform: translateY(40%); animation: word 1.4s var(--ease) forwards; }
.w:nth-child(1) { animation-delay: .15s; } .w:nth-child(2) { animation-delay: .27s; }
.w:nth-child(4) { animation-delay: .39s; } .w:nth-child(5) { animation-delay: .51s; }
.w.soft { color: #a9a7a2; font-weight: 300; }
@keyframes word { to { opacity: 1; filter: blur(0); transform: none; } }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; margin-top: clamp(28px, 4vh, 44px); opacity: 0; animation: fadeup 1.2s var(--ease) .9s forwards; }
.hero-sub { max-width: 40ch; color: var(--muted); }
.hero-meta { position: absolute; right: var(--pad); bottom: clamp(28px, 5vh, 48px); display: flex; gap: 32px; align-items: center; font-size: .9rem; color: var(--muted); opacity: 0; animation: fadeup 1.2s var(--ease) 1.2s forwards; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--pearl), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .hero { align-items: end; }
  .hero-meta { left: var(--pad); right: auto; }
  .hero-meta .scroll-cue { display: none; }
  .hero-inner { padding-bottom: 90px; }
}

/* Statement: words light up while scrolling */
.statement { padding: clamp(110px, 18vh, 200px) var(--pad); }
.scrub { font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.12; font-weight: 500; font-variation-settings: "opsz" 72, "wdth" 92; letter-spacing: -0.025em; max-width: 24ch; }
.scrub .sw { opacity: .16; transition: opacity .4s linear; }
.scrub .sw.lit { opacity: 1; }

/* Band */
.band { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.band-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.band span { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 80; letter-spacing: -0.03em; white-space: nowrap; line-height: 1; }
.band span.o { color: transparent; -webkit-text-stroke: 1px rgba(237, 235, 244, .45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services */
.services { padding: clamp(110px, 16vh, 180px) var(--pad); position: relative; }
.services h2 { margin-bottom: clamp(40px, 7vh, 80px); }
.svc { border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; gap: 32px; align-items: center; padding: clamp(28px, 4.5vh, 48px) 0; text-decoration: none; position: relative; z-index: 2; }
.svc-name { font-size: clamp(1.9rem, 4.4vw, 4rem); font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 88; letter-spacing: -0.03em; line-height: 1; transition: transform .6s var(--ease), color .4s; }
.svc-text { color: var(--muted); max-width: 42ch; transition: color .4s; }
.svc svg { width: 2.4rem; height: 2.4rem; color: var(--muted); transition: transform .6s var(--ease), color .4s; }
.svc a:hover .svc-name, .svc a:focus-visible .svc-name { transform: translateX(18px); }
.svc a:hover .svc-text, .svc a:hover svg { color: var(--pearl); }
.svc a:hover svg { transform: rotate(45deg); }
.svc:hover a:not(:hover) .svc-name { color: rgba(237, 235, 244, .35); }
.svc-float {
  position: absolute; left: 0; top: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%;
  pointer-events: none; z-index: 1; opacity: 0; transform: scale(.4); filter: blur(28px);
  background: conic-gradient(from var(--a, 0deg), var(--violet), var(--ice), var(--rose), var(--violet));
  transition: opacity .5s var(--ease), transform .6s var(--ease); animation: spin 6s linear infinite;
}
.svc-float.on { opacity: .55; transform: scale(1); }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
@media (max-width: 860px) { .svc a { grid-template-columns: 1fr auto; } .svc-text { grid-column: 1 / -1; grid-row: 2; } .svc-float { display: none; } }

/* Demo */
.demo { padding: clamp(110px, 16vh, 180px) var(--pad); }
.demo-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vh, 56px); }
.demo-note { color: var(--muted); font-size: 1rem; }
.compare { position: relative; aspect-ratio: 16 / 9; max-height: 80vh; width: 100%; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); user-select: none; touch-action: pan-y; }
.site { position: absolute; inset: 0; }
.site-new { clip-path: inset(0 0 0 var(--pos)); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-range:focus-visible ~ .handle span { outline: 2px solid var(--ice); outline-offset: 4px; }
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--pearl); transform: translateX(-50%); pointer-events: none; }
.handle span { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--pearl);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307070a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size: 24px; background-position: center; background-repeat: no-repeat; }
.tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .85rem; pointer-events: none; background: rgba(10, 10, 11, .78); color: var(--pearl); }
.tag-old { left: 16px; } .tag-new { right: 16px; }
.site-old { background: #d9d6cf; color: #000; font-family: "Times New Roman", Times, serif; font-size: clamp(9px, 1.1vw, 16px); }
.old-bar { background: #000080; color: #ff0; text-align: center; padding: 1.2% 0; font-weight: bold; font-size: 1.4em; margin-top: 3.2em; }
.old-body { display: grid; grid-template-columns: 22% 1fr; height: 100%; }
.old-menu { background: #5a5a5a; padding: 3%; display: flex; flex-direction: column; gap: .6em; color: #fff; text-decoration: underline; }
.old-main { padding: 3% 4%; }
.old-main p { margin-bottom: 1em; }
.old-h { font-size: 2.4em; color: #800000; font-style: italic; }
.old-blink { color: #b00000; font-weight: bold; }
.old-counter { display: inline-block; background: #000; color: #0f0; font-family: "Courier New", monospace; padding: .3em .6em; }
.site-new { background: #0d0d12; color: var(--pearl); font-size: clamp(9px, 1.1vw, 16px); display: grid; grid-template-rows: auto 1fr; }
.new-nav { display: flex; align-items: center; gap: 2.4em; padding: 4.5em 4% 2%; color: var(--muted); }
.new-nav b { color: var(--pearl); font-weight: 700; margin-right: auto; font-size: 1.2em; letter-spacing: .1em; }
.new-pill { background: var(--pearl); color: var(--bg); padding: .5em 1.1em; border-radius: 999px; }
.new-body { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; padding: 0 4% 4%; min-height: 0; }
.new-art { border-radius: 1.4em; background: radial-gradient(60% 60% at 40% 40%, var(--violet), transparent 70%), radial-gradient(50% 50% at 70% 65%, var(--ice), transparent 70%), radial-gradient(40% 40% at 30% 75%, var(--rose), transparent 70%), #18181b; }
.new-hero { align-self: center; }
.new-h { font-size: 4.2em; line-height: .95; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 88; letter-spacing: -0.03em; }
.new-sub { margin: 1em 0 1.4em; color: var(--muted); }
.new-btn { display: inline-block; background: var(--pearl); color: var(--bg); padding: .9em 1.4em; border-radius: 999px; font-weight: 600; }
@media (max-width: 700px) {
  .compare { aspect-ratio: 4 / 5; max-height: none; border-radius: 18px; }
  .site-old, .site-new { font-size: 2.9vw; }
  .old-body { grid-template-columns: 30% 1fr; }
  .new-nav span:not(.new-pill) { display: none; }
  .new-body { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .new-hero { padding-left: 46%; }
  .new-h { font-size: 2.6em; }
}

/* Process: pinned horizontal scroll */
.process { position: relative; height: 320vh; }
.process-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 6vh, 64px); overflow: hidden; padding: 0 0 0 var(--pad); }
.process-track { display: flex; gap: 24px; will-change: transform; }
.step { flex: none; width: clamp(280px, 34vw, 480px); min-height: clamp(280px, 42vh, 420px); padding: 36px; border-radius: 28px; background: var(--raise); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; }
.step::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; z-index: -1; filter: blur(50px); opacity: .45; background: var(--violet); }
.step:nth-child(2)::before { background: var(--ice); opacity: .3; }
.step:nth-child(3)::before { background: var(--rose); opacity: .32; }
.step:nth-child(4)::before { background: linear-gradient(var(--violet), var(--ice)); }
.step b { font-size: 1rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: auto; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; font-variation-settings: "opsz" 72, "wdth" 90; letter-spacing: -0.03em; }
.step p { margin-top: 12px; color: var(--muted); max-width: 32ch; }
.process-bar { height: 2px; background: var(--line); margin-right: var(--pad); border-radius: 2px; overflow: hidden; }
.process-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--ice), var(--violet), var(--rose)); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 860px) {
  .process { height: auto; padding: clamp(110px, 16vh, 180px) var(--pad); }
  .process-pin { position: static; height: auto; padding: 0; }
  .process-track { flex-direction: column; transform: none !important; }
  .step { width: 100%; min-height: 240px; }
  .process-bar { display: none; }
}

/* CTA */
.cta { position: relative; min-height: 90vh; display: grid; align-content: center; justify-items: start; gap: 40px; padding: clamp(110px, 16vh, 180px) var(--pad); overflow: hidden; isolation: isolate; }
.cta h2 { font-size: clamp(3rem, 8vw, 6rem); }
.cta-note { color: var(--muted); }
.orb-cta { opacity: .85; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px var(--pad); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.foot .mark { color: var(--pearl); }

/* Fly-through: the pearl world opens from the centre of the form */
.fly { position: absolute; inset: 0; z-index: 4; background: var(--pearl); pointer-events: none; clip-path: circle(var(--fr, 0%) at 50% 42%); }

/* Colour picker with a live mini site */
.swatch {
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 16vh, 170px) var(--pad);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head device" "picker device" "note device"; gap: 28px 64px; align-items: start;
  background: radial-gradient(80% 70% at 75% 50%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%), var(--bg);
  transition: background .8s var(--ease);
}
.sw-giant {
  position: absolute; z-index: -1; right: -2vw; top: 50%; transform: translateY(-50%);
  font-size: clamp(6rem, 22vw, 24rem); font-weight: 800; font-variation-settings: "opsz" 96, "wdth" 75; letter-spacing: -0.05em; line-height: 1;
  color: color-mix(in srgb, var(--c1) 26%, var(--bg)); transition: color .8s var(--ease), opacity .4s; white-space: nowrap;
}
.sw-head { grid-area: head; }
.sw-head p { margin-top: 20px; color: var(--muted); max-width: 36ch; }
.sw-picker { grid-area: picker; display: flex; flex-wrap: wrap; gap: 10px; }
.sw-picker button {
  font: inherit; font-size: .95rem; color: var(--pearl); background: rgba(237, 235, 244, .05); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px 8px 8px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
.sw-picker button::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--s); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.sw-picker button:hover { transform: translateY(-2px); }
.sw-picker button[aria-checked="true"] { background: rgba(237, 235, 244, .14); border-color: rgba(237, 235, 244, .45); }
.sw-note { grid-area: note; color: var(--muted); font-size: .9rem; }
.sw-device { grid-area: device; border-radius: 18px; overflow: hidden; border: 1px solid rgba(237, 235, 244, .14); box-shadow: 0 50px 100px rgba(0, 0, 0, .55); transform: perspective(1600px) rotateY(-10deg) rotateX(4deg); transition: transform 1s var(--ease); }
.sw-device:hover { transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); }
.sw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #16151d; }
.sw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2e2c38; }
.sw-bar span { margin-left: 12px; font-size: .8rem; color: var(--muted); }
.sw-page { background: var(--c3); color: #fff; padding: 4% 5% 5%; font-size: clamp(10px, 1vw, 15px); transition: background .8s var(--ease); }
.sw-nav { display: flex; align-items: center; gap: 2em; margin-bottom: 7%; color: color-mix(in srgb, var(--c2) 80%, #fff); }
.sw-nav b { color: #fff; margin-right: auto; letter-spacing: .1em; }
.sw-nav em { font-style: normal; background: var(--c2); color: var(--c3); padding: .5em 1.1em; border-radius: 999px; transition: background .8s var(--ease), color .8s; }
.sw-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; }
.sw-h { font-size: 3.8em; line-height: .95; font-weight: 600; letter-spacing: -0.03em; font-variation-settings: "opsz" 96, "wdth" 88; }
.sw-s { margin: 1em 0 1.4em; color: color-mix(in srgb, var(--c2) 75%, #fff); }
.sw-btn { display: inline-block; background: var(--c1); color: #fff; padding: .9em 1.4em; border-radius: 999px; font-weight: 600; transition: background .8s var(--ease); }
.sw-art { aspect-ratio: 1; border-radius: 24px; background: radial-gradient(60% 60% at 40% 40%, var(--c1), transparent 72%), radial-gradient(50% 50% at 70% 70%, var(--c2), transparent 70%), color-mix(in srgb, var(--c1) 20%, var(--c3)); transition: background .8s var(--ease); }
.sw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; margin-top: 7%; }
.sw-cards i { height: 5em; border-radius: 14px; background: color-mix(in srgb, var(--c1) 18%, var(--c3)); transition: background .8s var(--ease); }
@media (max-width: 860px) {
  .swatch { grid-template-columns: 1fr; grid-template-areas: "head" "device" "picker" "note"; }
  .sw-device { transform: none; }
  .sw-page { font-size: 2.6vw; }
}

/* Draggable floaters */
.fl { cursor: grab; touch-action: none; pointer-events: auto; }
.fl.grab { cursor: grabbing; transition: none; }
.fl { translate: var(--dx, 0px) var(--dy, 0px); }
.floaters { z-index: 3; pointer-events: none; }
.drag-hint { display: block; margin-top: 8px; color: var(--pearl); opacity: .8; }
@media (hover: none) { .drag-hint { display: none; } .fl { pointer-events: none; } }
html { -webkit-tap-highlight-color: transparent; }


.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (max-width: 640px) {
  .foot { padding-bottom: 96px; }
  .sw-picker button { padding: 7px 14px 7px 7px; font-size: .9rem; }
  .hero-sub { font-size: 1rem; }
  .pill { padding: .95rem 1.4rem .95rem 1.6rem; }
}

/* Bold colour-block finale */
.cta { background: linear-gradient(160deg, #e9e8e4 0%, #cfcdc8 55%, #b7b5b0 100%); color: var(--bg); min-height: 120vh; align-content: end; gap: 28px; }
.cta-lines { position: absolute; left: 0; right: 0; top: 8vh; height: 42%; z-index: -1; display: flex; flex-direction: column; justify-content: center; overflow: hidden; pointer-events: none; }
.cta-lines .cl.cl3 { display: none; }
.cl { display: block; white-space: nowrap; font-size: clamp(5rem, 16vw, 17rem); line-height: .86; font-weight: 800; text-transform: uppercase; font-variation-settings: "opsz" 96, "wdth" 75; letter-spacing: -0.03em; transform: translate3d(var(--lx, 0), 0, 0); }
.cl1, .cl3 { color: transparent; -webkit-text-stroke: 2px rgba(10, 10, 11, .28); }
.cl2 { color: var(--bg); }
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; font-variation-settings: "opsz" 48; }
.cta-note { color: #3f3d39; }
.pill-dark { background: var(--bg); color: var(--pearl); }
.pill-dark::before { background: #2a2a2d; }
.pill-dark:hover { color: var(--pearl); }

/* Services as full-screen chapters */
.chapters { position: relative; height: 420vh; }
.ch-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
.orb-ch { z-index: -1; }
.ch-giant { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; pointer-events: none; }
.ch-giant span {
  grid-area: 1 / 1; font-size: clamp(5rem, 17vw, 18rem); font-weight: 800; font-variation-settings: "opsz" 96, "wdth" 75;
  letter-spacing: -0.045em; color: #1b1b1e; line-height: 1; white-space: nowrap;
  opacity: 0; transform: scale(1.12); transition: opacity .9s var(--ease), transform 1.2s var(--ease);
}
.ch-giant span.on { opacity: 1; transform: none; }
.ch-title { position: absolute; top: clamp(80px, 12vh, 120px); left: var(--pad); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); font-variation-settings: "opsz" 18; }
.ch-copy { position: absolute; left: var(--pad); bottom: clamp(110px, 16vh, 170px); width: min(520px, 42vw); display: grid; }
.ch { grid-area: 1 / 1; opacity: 0; transform: translateY(40px); pointer-events: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.ch.on { opacity: 1; transform: none; pointer-events: auto; }
.ch h3 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .95; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 86; letter-spacing: -0.04em; }
.ch p { margin-top: 18px; color: var(--muted); max-width: 38ch; }
.ch a { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; text-decoration: none; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(237, 235, 244, .25); transition: background-color .4s, color .4s; }
.ch a:hover { background: var(--pearl); color: var(--bg); }
.ch-count { position: absolute; right: var(--pad); bottom: clamp(110px, 16vh, 170px); display: flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .95rem; }
.ch-count b { color: var(--pearl); font-weight: 600; }
.ch-count span { width: 90px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.ch-count span::after { content: ""; position: absolute; inset: 0; background: var(--pearl); transform-origin: left; transform: scaleX(var(--cp, 0)); }

/* 3D phone */
.device { position: absolute; right: clamp(8%, 14vw, 20%); top: 50%; width: clamp(220px, 21vw, 300px); aspect-ratio: 9 / 18.5; perspective: 1400px; transform: translateY(-50%); }
.device-screen {
  position: absolute; inset: 0; border-radius: 42px; background: #0d0c12; border: 9px solid #1d1b25;
  box-shadow: 0 50px 100px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(237, 235, 244, .08);
  transform: rotateY(var(--dry, -18deg)) rotateX(var(--drx, 8deg)) rotateZ(var(--drz, 0deg)) translateZ(0);
  transform-style: preserve-3d; overflow: hidden; transition: transform .25s linear;
}
.scr { position: absolute; inset: 0; padding: 30px 16px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); font-size: 12px; }
.scr.on { opacity: 1; transform: none; }
.m-nav { display: flex; justify-content: space-between; align-items: center; }
.m-nav b { letter-spacing: .1em; font-size: 11px; }
.m-nav i { width: 18px; height: 2px; background: var(--pearl); box-shadow: 0 5px 0 var(--pearl); }
.m-hero { height: 38%; border-radius: 18px; background: radial-gradient(70% 70% at 35% 35%, var(--violet), transparent 70%), radial-gradient(60% 60% at 70% 70%, var(--ice), transparent 70%), #18181b; }
.m-h { font-size: 24px; line-height: .95; font-weight: 600; letter-spacing: -0.03em; font-variation-settings: "opsz" 96, "wdth" 88; }
.m-h.small { margin-top: 8px; }
.m-btn { align-self: flex-start; background: var(--pearl); color: var(--bg); padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.m-btn.wide { align-self: stretch; text-align: center; margin-top: auto; }
.m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; height: 22%; }
.m-row i { border-radius: 12px; background: #1b1926; }
.m-url { color: var(--muted); }
.m-stat { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.m-stat .dot { width: 10px; height: 10px; border-radius: 50%; background: #e6e7ea; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 227, 161, .5); } 70% { box-shadow: 0 0 0 10px rgba(95, 227, 161, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 227, 161, 0); } }
.m-list { display: flex; justify-content: space-between; padding: 12px; border-radius: 14px; background: #17151f; }
.m-list span { color: var(--muted); }
.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.m-cal i { aspect-ratio: 1; border-radius: 8px; background: #1b1926; }
.m-cal i.on { background: var(--pearl); } .m-cal i.on2 { background: #34343a; }
.m-times { display: flex; gap: 6px; }
.m-times span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; background: #1b1926; }
.m-times span.on { background: var(--pearl); color: var(--bg); font-weight: 600; }
@media (max-width: 860px) {
  .chapters { height: 380vh; }
  .device { right: 50%; top: 34%; transform: translate(50%, -50%); width: min(150px, 40vw); }
  .device-screen { border-radius: 30px; border-width: 7px; }
  .scr { font-size: 9px; padding: 22px 11px 11px; gap: 7px; }
  .m-h { font-size: 17px; } .m-stat { font-size: 16px; }
  .ch-copy { width: auto; right: var(--pad); bottom: 100px; }
  .ch h3 { font-size: 2.2rem; }
  .ch-count { top: clamp(80px, 12vh, 120px); bottom: auto; }
}

/* Floating bottom dock */
.dock {
  position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: rgba(22, 22, 24, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(237, 235, 244, 0.12); border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform .9s var(--ease);
}
.dock.show { transform: translate(-50%, 0); }
.dock a { text-decoration: none; padding: 10px 16px; border-radius: 999px; font-size: .95rem; color: var(--muted); white-space: nowrap; transition: color .3s, background-color .3s; display: inline-flex; align-items: center; gap: 6px; }
.dock a:hover { color: var(--pearl); background: rgba(237, 235, 244, 0.07); }
.dock a.active { color: var(--pearl); }
.dock-mark { padding: 8px !important; }
.dock-mark span { display: block; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from 200deg, var(--ice), var(--violet), var(--rose), var(--ice)); }
.dock-cta { background: var(--pearl); color: var(--bg) !important; font-weight: 600; }
.dock-cta:hover { background: #fff !important; }
.dock svg { width: 1em; height: 1em; }
@media (max-width: 640px) {
  .dock { bottom: 14px; }
  .dock a[href="#voorbeeld"] { display: none; }
  .dock a { padding: 9px 12px; font-size: .9rem; }
}

/* Wave sentence on a light ground */
.wave { background: var(--pearl); color: var(--bg); min-height: 100vh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; padding-bottom: clamp(60px, 10vh, 120px); }
.wave-svg, .wave-svg * { stroke: none; }
.wave-svg { width: 100%; height: clamp(360px, 72vh, 680px); display: block; }
.wave-text { font-family: var(--font); font-size: 150px; font-weight: 600; font-variation-settings: "opsz" 96, "wdth" 86; letter-spacing: -5px; fill: var(--bg); }
.wave-accent { fill: #77746e; font-weight: 300; }
.wave-sub { padding: 0 var(--pad); max-width: 46ch; color: #55524d; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
/* desktop: the sentence rides the wave; the real heading stays for screen readers */
.wave-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* phones: one readable sentence that slides in, no clipped giant letters */
@media (max-width: 700px) {
  .wave { min-height: auto; display: block; padding: clamp(110px, 18vh, 160px) var(--pad) 120px; }
  .wave-svg { display: none; }
  .wave-title {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    font-size: clamp(2.6rem, 12vw, 3.6rem); line-height: .98; font-weight: 600; letter-spacing: -0.035em;
    font-variation-settings: "opsz" 96, "wdth" 86; color: var(--bg); margin-bottom: 28px;
  }
  .wave-title span { color: #77746e; font-weight: 300; }
  .wave-sub { padding: 0; }
}

/* the top bar steps aside once the dock takes over navigation */
.nav { transition: transform .6s var(--ease), background-color .5s var(--ease), padding .5s var(--ease); }
.nav.solid { transform: translateY(-110%); }

/* Stacked words that sharpen with scroll */
.stack { position: relative; height: 280vh; }
.stack-pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.stack-words { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: clamp(3rem, 9vw, 6rem); line-height: .95; font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 82; letter-spacing: -0.04em; position: relative; z-index: 2; }
.stack-words span { display: block; opacity: calc(.1 + var(--v, 0) * .9); transform: translate3d(0, calc((1 - var(--v, 0)) * 34px), 0) scale(calc(.94 + var(--v, 0) * .06)); will-change: transform, opacity; }
.stack-words .lite { font-weight: 300; color: #a9a7a2; }
.stack-note { position: absolute; left: var(--pad); bottom: clamp(90px, 14vh, 140px); max-width: 26ch; color: var(--muted); z-index: 2; }
.floaters { position: absolute; inset: 0; perspective: 900px; }
.fl {
  position: absolute; border-radius: 22px; border: 1px solid rgba(237, 235, 244, 0.14);
  background: linear-gradient(140deg, rgba(237, 235, 244, 0.08), rgba(237, 235, 244, 0.015));
  overflow: hidden; will-change: transform;
  transform: translate3d(0, var(--y, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
/* website fragments: sharp, recognisable pieces of what gets built */
.fl { background: #141416; color: var(--pearl); font-size: 13px; font-weight: 500; }
.fl-bar { display: flex; align-items: center; gap: 5px; padding: 10px 12px; border-bottom: 1px solid rgba(242, 241, 238, .08); }
.fl-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3e; }
.fl-bar em { font-style: normal; margin-left: 8px; color: var(--muted); font-size: 11px; }
.fl-lines { display: grid; gap: 8px; padding: 14px; }
.fl-lines b { height: 8px; border-radius: 4px; background: #2a2a2e; }
.fl-lines b.h { height: 16px; width: 70%; background: #e6e5e1; }
.fl-lines b.s { width: 55%; }
.fl1 { width: 230px; left: 7%; top: 13%; --rx: 12deg; --ry: 18deg; }
.fl1 .fl-lines b:first-child { height: 46px; border-radius: 8px; background: linear-gradient(135deg, #3b3b40, #1d1d20); }
.fl2 { width: 150px; height: 270px; right: 8%; top: 9%; --rx: -8deg; --ry: -20deg; border-radius: 28px; padding: 10px; display: flex; flex-direction: column; }
.fl-notch { width: 40%; height: 6px; margin: 2px auto 10px; border-radius: 4px; background: #2a2a2e; }
.fl2 .fl-lines { padding: 4px; }
.fl-btn { margin-top: auto; align-self: center; background: var(--pearl); color: var(--bg); border-radius: 999px; padding: 7px 14px; font-size: 11px; font-weight: 600; }
.fl3 { right: 10%; bottom: 18%; --rx: 10deg; --ry: -14deg; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; }
.fl-dot { width: 8px; height: 8px; border-radius: 50%; background: #9fe0b8; }
.fl4 { left: 14%; bottom: 22%; --rx: -14deg; --ry: 16deg; display: flex; gap: 8px; padding: 12px; border-radius: 999px; }
.fl4 i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.fl5 { left: 42%; top: 7%; --rx: 18deg; --ry: 4deg; padding: 11px 20px; border-radius: 999px; background: var(--pearl); color: var(--bg); font-weight: 600; }
@media (max-width: 700px) {
  .fl { font-size: 11px; --y: 0px !important; }
  .fl1 { width: 170px; left: 5%; top: 9%; }
  .fl5 { top: 9% !important; }
  .fl1 .fl-lines b:first-child { height: 30px; }
  .fl2 { display: none; }
  .fl3 { right: 6%; bottom: 25%; padding: 9px 14px; }
  .fl4 { left: 6%; bottom: 25%; padding: 9px; gap: 6px; }
  .fl4 i { width: 20px; height: 20px; }
  .fl5 { left: auto; right: 5%; top: 23%; padding: 9px 15px; }
  .stack-note { bottom: 110px; right: var(--pad); max-width: none; }
}

/* Laptop around the before/after demo */
.laptop { perspective: 1800px; max-width: 1180px; margin: 0 auto; }
.laptop-screen {
  background: #16151d; padding: clamp(8px, 1.2vw, 16px); border-radius: clamp(14px, 2vw, 26px);
  border: 1px solid rgba(237, 235, 244, 0.14); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  transform-origin: 50% 100%; transform: rotateX(var(--tilt, 0deg)) scale(var(--ls, 1));
}
.laptop-screen .compare { border-radius: clamp(6px, 1vw, 12px); border: 0; }
.laptop-base { height: clamp(12px, 1.6vw, 22px); margin: 0 -5%; background: linear-gradient(#2a2834, #121118); border-radius: 0 0 22px 22px; position: relative; }
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 40%; transform: translateX(-50%); background: #0b0a10; border-radius: 0 0 10px 10px; }
@media (max-width: 700px) { .laptop-base { margin: 0 -3%; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(10px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .w, .hero-foot, .hero-meta { animation: none !important; opacity: 1; filter: none; transform: none; }
  .band-track, .svc-float, .scroll-cue i { animation: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .stack { height: auto; } .stack-pin { position: static; padding: 120px 0; height: auto; }
  .stack-words span { opacity: 1; filter: none; transform: none; }
  .dock { transform: translate(-50%, 0); }
  .giant span { animation: none; opacity: 1; }
  .ch, .ch-giant span, .scr { transition: none; }
  .process { height: auto; }
  .process-pin { position: static; height: auto; padding: 120px var(--pad); }
  .process-track { flex-wrap: wrap; transform: none !important; }
}

/* ===== Phones: one straight, easy scroll. No pinned scenes, no heavy filters. ===== */
@media (max-width: 760px) {
  .intro { height: auto; }
  .hero { position: relative; height: 100svh; min-height: 560px; }
  .fly { display: none; }
  .giant span { --gx: 0 !important; --gy: 0 !important; }
  .hero-inner { --hy: 0 !important; --ho: 1 !important; }

  .stack { height: auto; }
  .stack-pin { position: relative; height: auto; min-height: 92svh; padding: 120px 0 150px; }
  .stack-words span { opacity: 1; transform: none; will-change: auto; }

  .chapters { height: auto; }
  .ch-stage { position: relative; height: auto; overflow: visible; padding: 110px var(--pad) 40px; }
  .orb-ch, .ch-giant, .device, .ch-count { display: none; }
  .ch-title { position: static; display: block; margin-bottom: 28px; font-size: clamp(2.4rem, 11vw, 3.2rem); font-weight: 600; color: var(--pearl); letter-spacing: -0.035em; line-height: 1; font-variation-settings: "opsz" 96, "wdth" 86; }
  .ch-copy { position: static; width: auto; display: grid; gap: 14px; }
  .ch { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; padding: 26px 22px; border-radius: 22px; background: var(--raise); border: 1px solid var(--line); }
  .ch h3 { font-size: 1.9rem; }
  .ch p { margin-top: 10px; font-size: 1rem; }
  .ch a { margin-top: 18px; padding: 12px 18px; }

  .js .reveal { filter: none; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .laptop-screen { transform: none !important; }
  .sw-device { box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
  .cta { min-height: auto; padding-top: 110px; padding-bottom: 130px; gap: 22px; }
  .cta-lines { position: relative; inset: auto; top: auto; height: auto; z-index: 0; overflow: hidden; margin: 0 calc(var(--pad) * -1) 18px; }
  .cl { font-size: 21vw; }
  .cta-title { font-size: 1.7rem; }
  .section, section { scroll-margin-top: 0; }

  /* light phone motion: things rise in once as they enter, staggered; transform + opacity only */
  .pop { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .pop.in { opacity: 1; transform: none; }
  .stack-words span.pop { transform: translate3d(0, 40px, 0) scale(.96); }
  .stack-words span.pop.in { transform: none; }
  .ch.pop { transform: translate3d(0, 36px, 0) scale(.97); }
  .ch.pop.in { transform: none; }
  .ch:active, .pill:active, .sw-picker button:active, .dock a:active { transform: scale(.97); transition-duration: .15s; }
  /* the website fragments bob gently, out of step with each other */
  .fl { animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--d, 0) * -1.1s); }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
  .band-track { animation-duration: 26s; }

  /* services: a small 3D phone that turns slowly and flips through the three services */
  .ch-stage { display: flex; flex-direction: column; }
  .ch-title { order: 1; }
  .device { order: 2; display: block; position: relative; right: auto; top: auto; transform: none; width: 168px; margin: 6px auto 38px; perspective: 900px; }
  .device-screen { animation: phoneTurn 7s ease-in-out infinite alternate; transition: none; }
  @keyframes phoneTurn {
    0% { transform: rotateY(-24deg) rotateX(10deg) rotateZ(-2deg); }
    100% { transform: rotateY(24deg) rotateX(4deg) rotateZ(2deg); }
  }
  .device::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -26px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); }
  .ch-copy { order: 3; }
  .ch { transition: opacity .7s var(--ease), transform .8s var(--ease), border-color .5s, background-color .5s; }
  .ch.lit { border-color: rgba(242, 241, 238, .38); background: #1a1a1d; }
  .ch.pop { transform: perspective(900px) rotateX(16deg) translate3d(0, 36px, 0); transform-origin: 50% 0; }
  .ch.pop.in { transform: none; }

  /* colour demo plays itself; the active swatch shows a filling ring */
  .sw-picker button[aria-checked="true"]::before { box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 0 0 3px var(--bg), 0 0 0 4px var(--pearl); }
  .sw-device { transition: transform .6s var(--ease); }
  .swatch.cycling .sw-device { animation: swNudge .6s var(--ease); }
  @keyframes swNudge { 0% { transform: scale(.985); } 100% { transform: none; } }

  /* steps: a line draws down beside them as they arrive */
  .process-track { position: relative; padding-left: 22px; }
  .process-track::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(var(--pearl), rgba(242,241,238,.15)); transform-origin: top; transform: scaleY(0); transition: transform 1.8s var(--ease); }
  .process-track.drawn::before { transform: scaleY(1); }
  .step.pop { transform: translate3d(-18px, 0, 0); }
  .step.pop.in { transform: none; }

  /* finale: the two giant lines drift slowly in opposite directions */
  .cl1 { animation: driftA 9s ease-in-out infinite alternate; }
  .cl2 { animation: driftB 9s ease-in-out infinite alternate; }
  @keyframes driftA { from { translate: -14vw 0; } to { translate: 2vw 0; } }
  @keyframes driftB { from { translate: 4vw 0; } to { translate: -12vw 0; } }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .pop { opacity: 1; transform: none; transition: none; }
  .fl, .device-screen, .cl1, .cl2 { animation: none; }
  .process-track::before { transform: scaleY(1); transition: none; }
}

/* phones: keep the floating fragments clear of the words */
@media (max-width: 760px) {
  .stack .fl1 { top: 2%; }
  .stack .fl5 { top: 2% !important; right: 4%; }
  .stack .fl3 { bottom: 20%; }
  .stack .fl4 { bottom: 20%; }
}

/* ===== Desktop luxe motion: loader, masked headings, scroll-reactive band ===== */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; pointer-events: none; }
.loader-word { display: flex; gap: .04em; font-size: clamp(4rem, 12vw, 11rem); font-weight: 800; font-variation-settings: "opsz" 96, "wdth" 75; letter-spacing: .02em; color: var(--pearl); overflow: hidden; line-height: 1; padding-bottom: .06em; }
.loader-word span { display: inline-block; transform: translate3d(0, 110%, 0); animation: ldIn .9s var(--ease) forwards; }
.loader-word span:nth-child(2) { animation-delay: .07s; } .loader-word span:nth-child(3) { animation-delay: .14s; }
.loader-word span:nth-child(4) { animation-delay: .21s; } .loader-word span:nth-child(5) { animation-delay: .28s; }
.loader-line { position: absolute; left: 50%; bottom: 18vh; width: 160px; height: 1px; margin-left: -80px; background: rgba(242,241,238,.15); overflow: hidden; }
.loader-line::after { content: ""; position: absolute; inset: 0; background: var(--pearl); transform-origin: left; transform: scaleX(0); animation: ldLine 1s var(--ease) .2s forwards; }
.loader.out { animation: ldOut 1.1s cubic-bezier(.76,0,.24,1) forwards; }
.loader.out .loader-word span { animation: ldUp .7s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes ldIn { to { transform: none; } }
@keyframes ldLine { to { transform: scaleX(1); } }
@keyframes ldUp { from { transform: none; } to { transform: translate3d(0, -110%, 0); } }
@keyframes ldOut { 0%, 25% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); } }
.loading .w, .loading .hero-foot, .loading .hero-meta, .loading .giant span { animation-play-state: paused; }

/* headings rise word by word out of a mask */
.mw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.mw > span { display: inline-block; transform: translate3d(0, 105%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.split.in .mw > span { transform: none; }
.js .reveal.split { opacity: 1; transform: none; filter: none; }

/* band driven by script on desktop */
.band.live .band-track { animation: none; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .mw > span { transform: none; transition: none; }
}

/* ---------- Desktop: video-inspired motion (giant words, 3D tilt, opening scenes) ---------- */
.demo-giant { display: none; }
@media (min-width: 761px) {
  .demo { position: relative; overflow: hidden; isolation: isolate; }
  .demo-giant {
    display: block; position: absolute; z-index: -1; left: 0; top: 50%; white-space: nowrap; pointer-events: none;
    font-size: clamp(9rem, 24vw, 26rem); font-weight: 800; letter-spacing: -0.05em; line-height: .8;
    font-variation-settings: "opsz" 96, "wdth" 80; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 241, 238, .2);
    transform: translate3d(var(--gx, 0), -50%, 0); will-change: transform;
  }
  .laptop-screen { transform: rotateX(var(--tilt, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ls, 1)); }
  .sw-device, .sw-device:hover {
    transform: perspective(1600px) rotateY(calc(-8deg + var(--mx, 0) * 12deg)) rotateX(calc(3deg - var(--my, 0) * 8deg));
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  }
  .process-track { perspective: 1400px; }
  .step { transform-origin: 0 50%; will-change: transform; }
  .cta { clip-path: inset(calc(var(--cc, 0) * 10vh) calc(var(--cc, 0) * 7vw) 0 round calc(var(--cc, 0) * 56px)); }
}
@media (prefers-reduced-motion: reduce) {
  .cta { clip-path: none; }
  .demo-giant { transform: translate3d(0, -50%, 0); }
}
/* ---------- Desktop: spotlight cards and cursor-reactive IRSIK ---------- */
.foot a { color: inherit; text-underline-offset: 3px; }
.foot a:hover { color: var(--pearl); }
@media (min-width: 761px) and (hover: hover) {
  .step::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
    opacity: 0; transition: opacity .45s var(--ease);
    background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), rgba(242, 241, 238, .11), transparent 62%);
    box-shadow: inset 0 0 0 1px rgba(242, 241, 238, .16);
  }
  .step:hover::after { opacity: 1; }
  .giant span { translate: var(--px, 0px) var(--py, 0px); }
}