:root {
  --bg: #0B0B0A;
  --ink: #F1EEE6;
  --dim: #77736B;
  --hot: #FF5B1F;    /* saffron */
  --acid: #D7FF3A;   /* lime */
  --line: #262522;
  --display: "Anton", Impact, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.5 var(--mono); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--acid); color: var(--bg); }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

/* boot */
.boot { position: fixed; inset: 0; z-index: 100; background: var(--bg); padding: 24px; display: flex; align-items: flex-end; transition: transform .7s cubic-bezier(.8,0,.2,1); }
.boot pre { margin: 0; font: 13px/1.7 var(--mono); color: var(--acid); white-space: pre-wrap; }
.boot.done { transform: translateY(-100%); }

/* grain + cursor */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.cursor { position: fixed; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--ink); mix-blend-mode: difference; pointer-events: none; z-index: 95; transition: width .25s, height .25s, margin .25s; display: none; }
.cursor.big { width: 90px; height: 90px; margin: -45px 0 0 -45px; }
.cursor.hide { opacity: 0; }
/* crosshair over the bug game */
.cursor.aim { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: transparent; border: 2px solid var(--hot); mix-blend-mode: normal; }
.cursor.aim::before, .cursor.aim::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--hot); translate: -50% -50%; }
.cursor.aim::before { width: 64px; height: 2px; }
.cursor.aim::after { width: 2px; height: 64px; }
/* .mouse is set by script.js the moment a real mouse moves (works on touchscreen laptops too) */
.mouse .cursor { display: block; }
/* intro cursor that glides over the title on load (all devices) */
.ghosting .cursor { display: block; transition: width .25s, height .25s, margin .25s, opacity .45s; }
.cursor.ghost-out { opacity: 0; }
.mouse, .mouse * { cursor: none !important; }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(16px, 3vw, 36px); mix-blend-mode: difference; }
.logo { font-weight: 700; font-size: 15px; }
.top nav { display: flex; gap: clamp(14px, 2.5vw, 30px); align-items: center; font-size: 14px; }
.pill { border: 1px solid var(--ink); padding: 7px 14px; border-radius: 999px; }

/* hero */
.hero { min-height: 100svh; padding: 84px clamp(16px, 3vw, 36px) 28px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.prompt { font-size: clamp(13px, 1.3vw, 16px); color: var(--dim); }
.prompt .u { color: var(--acid); }
.prompt .p { color: var(--hot); }
#typed { color: var(--ink); }
.caret { color: var(--acid); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.mega { font: 400 clamp(52px, min(15.5vw, 25vh), 280px)/.86 var(--display); letter-spacing: -.01em; text-transform: uppercase; margin: 2.5vh 0; }
.mega .line { display: block; white-space: nowrap; }
.mega .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.mega .dot { font-style: normal; color: var(--hot); }
[data-split] .ch { display: inline-block; transition: transform .35s cubic-bezier(.3,1.6,.5,1), color .2s; will-change: transform; }
.mega .ch:hover { color: var(--acid); -webkit-text-stroke: 0; }
.ch.in { animation: rise .9s cubic-bezier(.2,.9,.2,1) both; }
@keyframes rise { from { transform: translateY(110%) rotate(8deg); opacity: 0; } }

.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hook { max-width: 720px; }
.hook-big { font: 400 clamp(22px, min(3.3vw, 5.6vh), 50px)/1 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.hook-big em { font-family: var(--serif); text-transform: none; color: var(--hot); font-size: 1.12em; letter-spacing: -.01em; }
.hook-big em:nth-of-type(2) { color: var(--acid); }
.hook-year { margin-top: 14px; font-size: clamp(14px, 1.4vw, 18px); color: var(--dim); }
.hook-year s { color: #ff4d4d; text-decoration-thickness: 2px; }
.hook-year b { color: var(--ink); background: var(--hot); color: var(--bg); padding: 1px 8px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.badge { width: clamp(96px, min(12vw, 18vh), 160px); aspect-ratio: 1; position: relative; display: grid; place-items: center; flex: none; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge text { font: 700 15.5px var(--mono); fill: var(--ink); letter-spacing: 2px; }
.badge span { width: 44%; aspect-ratio: 1; border-radius: 50%; background: var(--hot); color: var(--bg); display: grid; place-items: center; font-size: 26px; transition: transform .3s; }
.badge:hover span { transform: scale(1.15) rotate(-20deg); background: var(--acid); }
@keyframes spin { to { transform: rotate(360deg); } }

/* bands */
.bands { position: relative; height: clamp(120px, 15vw, 210px); overflow: hidden; }
.band { position: absolute; left: -5%; width: 110%; padding: 14px 0; overflow: hidden; }
.band span { font: 400 clamp(28px, 4.5vw, 60px)/1 var(--display); white-space: nowrap; }
.b1 { top: 50%; background: var(--hot); color: var(--bg); transform: translateY(-50%) rotate(-4deg); z-index: 2; }
.b2 { top: 50%; background: var(--acid); color: var(--bg); transform: translateY(-18%) rotate(3deg); }
.b2 span { font-family: var(--mono); font-weight: 700; font-size: clamp(18px, 2.6vw, 34px); text-transform: none; }
.track { display: flex; width: max-content; animation: marq 22s linear infinite; will-change: transform; }
.track.rev { animation-direction: reverse; animation-duration: 30s; }
@keyframes marq { to { transform: translateX(-50%); } }

.cmd { color: var(--dim); font-size: 13px; margin-bottom: 28px; }

/* work — pinned, scrolls sideways */
.work { height: 500vh; position: relative; }
.work-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.work-hud { position: absolute; z-index: 5; top: 72px; left: clamp(16px, 3vw, 36px); right: clamp(16px, 3vw, 36px); display: flex; justify-content: space-between; align-items: baseline; mix-blend-mode: difference; color: var(--ink); pointer-events: none; }
.work-hud .cmd { margin: 0; color: var(--ink); font-size: 14px; }
.work-hud .cmd b { color: var(--acid); }
.w-count { font: 400 clamp(28px, 3.4vw, 48px)/1 var(--display); }
.work-bar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255,255,255,.08); }
.work-bar i { display: block; height: 100%; width: 100%; background: var(--acid); transform-origin: left; transform: scaleX(0); }
.work-track { display: flex; height: 100%; width: 500vw; will-change: transform; }

.panel { --fg: var(--bg); --bgp: var(--ink); flex: none; width: 100vw; height: 100%; position: relative; overflow: hidden; background: var(--bgp); color: var(--fg); }
.p-apps   { --bgp: var(--ink); --fg: var(--bg); }
.p-web    { --bgp: var(--hot); --fg: var(--bg); }
.p-cloud  { --bgp: #121211; --fg: var(--ink); }
.p-auto   { --bgp: var(--acid); --fg: var(--bg); }
.p-remake { --bgp: #3D35FF; --fg: var(--ink); }
.p-fix    { --bgp: var(--bg); --fg: var(--ink); }
.ghost { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font: 400 min(78vh, 60vw)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px var(--fg); opacity: .12; pointer-events: none; }
.p-copy { position: absolute; z-index: 3; left: clamp(16px, 3vw, 36px); right: clamp(16px, 3vw, 36px); bottom: clamp(28px, 5vh, 56px); }
.p-copy h3 { margin: 0; font: 400 clamp(72px, 13vw, 230px)/.82 var(--display); letter-spacing: -.01em; }
.p-copy p { margin-top: 14px; font-size: clamp(15px, 1.5vw, 20px); max-width: 420px; }
.viz { position: absolute; z-index: 2; right: clamp(16px, 7vw, 120px); top: 50%; transform: translateY(-58%) rotate(var(--r, -4deg)) scale(var(--s, 1)); transform-origin: right center; }
.panel:nth-child(even) .viz { --r: 4deg; }

/* web: browser */
.browser { width: min(440px, 80vw); background: var(--bg); border-radius: 14px; overflow: hidden; box-shadow: 18px 18px 0 var(--bg); border: 2px solid var(--bg); }
.browser .bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #1d1c1a; }
.browser .bar span { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.browser .bar span:first-child { background: var(--hot); }
.browser .bar em { font: 12px var(--mono); color: var(--dim); margin-left: 10px; font-style: normal; background: #000; padding: 3px 12px; border-radius: 6px; flex: 1; }
.page { padding: 28px; display: grid; gap: 12px; position: relative; background: var(--ink); color: var(--bg); }
.page .h { font: 400 54px/.9 var(--display); }
.page .ln { height: 10px; border-radius: 5px; background: #cfcabf; width: 90%; }
.page .ln.s { width: 60%; }
.cta { justify-self: start; margin-top: 8px; font: 700 13px var(--mono); background: var(--bg); color: var(--ink); padding: 12px 18px; border-radius: 999px; animation: press 3s infinite; }
@keyframes press { 0%, 55% { transform: none; background: var(--bg); } 60% { transform: scale(.92); background: var(--hot); } 70%, 100% { transform: none; background: var(--hot); } }
.ptr { position: absolute; font-size: 28px; color: var(--bg); left: 70%; top: 20%; animation: ptr 3s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes ptr { 0% { left: 75%; top: 15%; } 50%, 70% { left: 90px; top: 172px; } 100% { left: 75%; top: 15%; } }

/* cloud: nodes */
.nodes { width: min(380px, 78vw); aspect-ratio: 300/220; position: relative; }
.nodes svg { width: 100%; height: 100%; overflow: visible; }
.wire { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 8; fill: none; opacity: .5; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.pkt { fill: var(--acid); }
.node { position: absolute; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 18px; display: grid; place-items: center; font: 700 14px var(--mono); background: var(--acid); color: var(--bg); box-shadow: 8px 8px 0 var(--hot); }
.n1 { left: 50%; top: 18%; } .n2 { left: 16.7%; top: 77%; background: var(--ink); } .n3 { left: 83.3%; top: 77%; background: var(--hot); box-shadow: 8px 8px 0 var(--acid); }
.region { position: absolute; left: 0; right: 0; bottom: -46px; text-align: center; font: 12px var(--mono); color: var(--acid); }

/* automate: belt */
.belt { width: min(460px, 82vw); height: 230px; position: relative; overflow: hidden; border-block: 3px solid var(--bg); }
.items { position: absolute; top: 50%; left: 0; display: flex; gap: 16px; transform: translateY(-50%); animation: belt 6s linear infinite; }
.items span { font: 700 13px var(--mono); padding: 12px 14px; border-radius: 10px; background: var(--bg); color: var(--ink); white-space: nowrap; }
@keyframes belt { from { transform: translate(-50%, -50%); } to { transform: translate(0, -50%); } }
.machine { position: absolute; z-index: 2; left: 50%; top: 50%; width: 110px; height: 150px; margin: -75px 0 0 -55px; background: var(--hot); border: 3px solid var(--bg); border-radius: 14px; display: grid; place-items: center; }
.gear { font-size: 56px; color: var(--bg); animation: spin 2s linear infinite; }
.hrs { position: absolute; right: 0; bottom: 8px; font: 400 30px/1 var(--display); }
.hrs small { font: 11px var(--mono); }

/* remake: before / after */
.ba { width: min(440px, 80vw); height: 280px; position: relative; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); }
.ba .old, .ba .new { position: absolute; inset: 0; padding: 22px; }
.old { background: #c0c0c0 repeating-linear-gradient(45deg, #b4b4b4 0 6px, #c6c6c6 6px 12px); color: #00f; font-family: "Times New Roman", serif; display: grid; align-content: start; gap: 10px; }
.old b { font-size: 26px; color: #f0f; text-shadow: 2px 2px #ff0; font-family: "Comic Sans MS", cursive; }
.old marquee { color: red; font-weight: bold; }
.old small { color: #333; }
.new { background: var(--bg); color: var(--ink); display: grid; align-content: center; gap: 12px; clip-path: inset(0 0 0 50%); animation: wipe 4s cubic-bezier(.7,0,.3,1) infinite alternate; }
.new b { font: 400 80px/.85 var(--display); color: var(--acid); }
.new span { height: 10px; width: 70%; border-radius: 5px; background: #333; }
.new span.s { width: 45%; background: var(--hot); }
.split { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--acid); animation: wipeline 4s cubic-bezier(.7,0,.3,1) infinite alternate; }
.split i { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--acid); color: var(--bg); display: grid; place-items: center; font-style: normal; font-weight: 700; }
@keyframes wipe { from { clip-path: inset(0 0 0 88%); } to { clip-path: inset(0 0 0 12%); } }
@keyframes wipeline { from { left: 88%; } to { left: 12%; } }

/* fix: terminal */
.term { width: min(440px, 82vw); background: #000; border: 2px solid #333; border-radius: 14px; padding: 22px; font: 14px/2 var(--mono); position: relative; box-shadow: 18px 18px 0 var(--hot); }
.term p { opacity: 0; animation: tl 7s steps(1) infinite; }
.term .e { color: #ff4d4d; animation-name: terr; }
.term .e.d2 { animation-delay: .4s; }
.term .r { color: var(--ink); animation-delay: 1.6s; }
.term .ok { color: var(--acid); animation-delay: 2.6s; }
.term .ok.d2 { animation-delay: 3s; }
@keyframes tl { 0% { opacity: 0; } 1%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes terr { 0% { opacity: 0; } 1%, 36% { opacity: 1; text-decoration: none; } 37%, 90% { opacity: .35; text-decoration: line-through; } 100% { opacity: 0; } }
.bug { position: absolute; font-size: 30px; top: -20px; right: 30px; animation: bug 7s ease-in-out infinite; }
@keyframes bug { 0% { transform: translate(0,0) rotate(0); } 15% { transform: translate(-60px, 30px) rotate(-40deg); } 30% { transform: translate(-20px, 70px) rotate(20deg); } 36% { transform: translate(-20px, 70px) scale(1.4); opacity: 1; } 40%, 100% { transform: translate(-20px, 70px) scale(0); opacity: 0; } }

/* shared section title */
.sec-title { font: 400 clamp(52px, 9vw, 150px)/.86 var(--display); text-transform: uppercase; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-title em { text-transform: none; color: var(--hot); font-size: .8em; }

/* motion vars: mouse on desktop, gyro on phones (set by script.js) */
:root { --mx: 0; --my: 0; --sec: clamp(64px, 8vw, 120px); }
.ghost { translate: calc(var(--mx) * -40px) calc(var(--my) * -30px); }
.viz { translate: calc(var(--mx) * 26px) calc(var(--my) * 20px); }

/* hero hook: rotates through what we do */
.hook-big, .hook-year { transition: opacity .35s, transform .45s cubic-bezier(.2,.9,.2,1), filter .35s; }
.hook-big { min-height: 2em; }
.hook.swap .hook-big, .hook.swap .hook-year { opacity: 0; transform: translateY(-18px) skewY(-3deg); filter: blur(6px); }
.hook-year a { color: var(--acid); border-bottom: 1px solid currentColor; }
.hook-dots { display: flex; gap: 6px; margin-top: 12px; }
.hook-dots button { width: 28px; height: 16px; padding: 0; border: 0; background: linear-gradient(#2f2d29, #2f2d29) center / 100% 4px no-repeat; position: relative; }
.hook-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 4px; background: var(--hot); transform: scaleX(0); transform-origin: left; }
.hook-dots button.on::after { animation: dotfill var(--dur, 5s) linear forwards; }
.hook-dots button.done::after { transform: none; background: #5a564f; }
@keyframes dotfill { to { transform: none; } }

/* process: small and fast */
.proc { display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; padding: clamp(48px, 6vw, 80px) clamp(16px, 3vw, 36px); border-block: 1px solid var(--line); }
.proc .cmd { margin-bottom: 10px; }
.proc-head h2 { font: 400 clamp(36px, 4.4vw, 64px)/.95 var(--display); text-transform: uppercase; }
.proc-head em { text-transform: none; color: var(--hot); }
.proc-sub { margin-top: 10px; color: var(--dim); font-size: 14px; max-width: 420px; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; row-gap: 14px; }
.flow li { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border: 1.5px solid var(--line); border-radius: 999px; position: relative; transition: transform .3s cubic-bezier(.3,1.6,.5,1), border-color .3s; animation: blip 4s infinite; }
.flow li:nth-child(2) { animation-delay: 1s; } .flow li:nth-child(3) { animation-delay: 2s; } .flow li:nth-child(4) { animation-delay: 3s; }
.flow li + li { margin-left: 36px; }
.flow li + li::before { content: "→"; position: absolute; left: -27px; color: var(--dim); }
.flow b { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--acid); color: var(--bg); display: grid; place-items: center; font: 700 14px var(--mono); transition: background .3s; }
.flow span { display: grid; font-weight: 700; font-size: 15px; line-height: 1.25; }
.flow small { font-weight: 400; font-size: 11.5px; color: var(--dim); }
.flow li:hover { transform: translateY(-4px) rotate(-2deg); border-color: var(--hot); }
@keyframes blip { 0%, 20% { border-color: var(--hot); } 30%, 100% { border-color: var(--line); } }

/* fun: squash the bugs */
.fun { padding: var(--sec) clamp(16px, 3vw, 36px); }
.fun .sec-title { margin-bottom: 16px; }
.fun-sub { color: var(--dim); margin-bottom: 28px; font-size: clamp(14px, 1.4vw, 17px); }
.tilt-hint { display: none; color: var(--acid); }
.gyro .tilt-hint { display: inline; }
.arena { position: relative; height: clamp(380px, 58vh, 580px); border-radius: 28px; overflow: hidden; border: 2px solid var(--line); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.site { position: absolute; inset: 0; padding: clamp(22px, 4vw, 56px); display: grid; align-content: center; justify-items: start; gap: 16px; }
.site-old { background: #c0c0c0 repeating-linear-gradient(45deg, #b4b4b4 0 8px, #c6c6c6 8px 16px); color: #00e; font-family: "Times New Roman", serif; }
.site-old b { font: 700 clamp(30px, 5vw, 64px)/1 "Comic Sans MS", "Comic Neue", cursive; color: #f0f; text-shadow: 3px 3px #ff0; }
.site-old .uc { font: 700 14px var(--mono); color: #000; background: repeating-linear-gradient(-45deg, #ffd400 0 12px, #111 12px 24px); padding: 8px 12px; text-shadow: 0 0 3px #ffd400, 0 0 3px #ffd400; }
.site-old u { font-size: 20px; }
.site-old .hits { font: 13px var(--mono); color: #222; }
.site-old .hits i { font-style: normal; background: #000; color: #0f0; padding: 2px 6px; letter-spacing: 2px; }
.site-new { background: var(--ink); color: var(--bg); clip-path: circle(0% at 50% 50%); transition: clip-path 1s cubic-bezier(.7,0,.2,1); }
.site-new b { font: 400 clamp(64px, 12vw, 180px)/.85 var(--display); }
.site-new .l { height: 12px; width: min(420px, 70%); border-radius: 6px; background: #cfcabf; }
.site-new .l.s { width: min(260px, 45%); background: var(--hot); }
.site-new .btn { font: 700 14px var(--mono); background: var(--bg); color: var(--ink); padding: 14px 20px; border-radius: 999px; }
.arena.fixed .site-new { clip-path: circle(150% at 50% 50%); }
.critter { position: absolute; left: 0; top: 0; z-index: 3; width: 52px; height: 52px; margin: -26px 0 0 -26px; padding: 0; border: 0; background: none; font-size: 32px; line-height: 52px; text-align: center; will-change: transform; }
.critter.dead { pointer-events: none; color: var(--hot); font: 400 44px/52px var(--display); animation: splat .4s cubic-bezier(.3,1.8,.5,1) both; }
@keyframes splat { from { scale: 1.8; } to { scale: 1; opacity: .7; } }
.arena.fixed .critter { opacity: 0; transition: opacity .4s; }
.arena-hud { position: absolute; z-index: 4; top: 14px; left: 18px; right: 18px; display: flex; justify-content: space-between; font: 700 13px var(--mono); color: #000; pointer-events: none; }
.arena-hud span { background: var(--acid); padding: 6px 10px; border-radius: 8px; }
.arena-hud .snd { pointer-events: auto; font: 700 13px var(--mono); background: var(--bg); color: var(--acid); border: 0; padding: 6px 12px; border-radius: 8px; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.arena-hud .snd:hover { transform: rotate(-4deg) scale(1.08); }
.arena-hud .snd[aria-pressed="false"] { color: #8a857b; text-decoration: line-through; }
.pow { position: absolute; z-index: 4; translate: -50% 0; pointer-events: none; font: 400 30px/1 var(--display); color: var(--bg); background: var(--hot); padding: 6px 10px 4px; border: 2px solid var(--bg); rotate: var(--r, 0deg); animation: pow .7s cubic-bezier(.3,1.8,.5,1) forwards; white-space: nowrap; }
@keyframes pow { 0% { scale: .2; opacity: 1; } 25% { scale: 1.15; } 60% { scale: 1; opacity: 1; } 100% { scale: 1; opacity: 0; translate: -50% -26px; } }
.arena-win { position: absolute; z-index: 5; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; background: rgba(11, 11, 10, .6); backdrop-filter: blur(3px); animation: winin .4s ease both; }
@keyframes winin { from { opacity: 0; } }
.arena-win[hidden] { display: none; }
.arena-win p { font: 400 clamp(40px, 6vw, 84px)/.95 var(--display); color: var(--bg); background: var(--acid); padding: 10px 22px; rotate: -3deg; }
.arena-win div { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.arena-win button, .arena-win a { font: 700 14px var(--mono); padding: 13px 18px; border-radius: 999px; border: 0; background: var(--bg); color: var(--ink); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.arena-win a { background: var(--hot); color: var(--bg); }
.arena-win button:hover, .arena-win a:hover { transform: rotate(-3deg) scale(1.05); }

/* doors: consult or collab — giant strips that slide with scroll */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.doors { padding: 0 0 var(--sec); position: relative; }
.doors-cmd { padding: 0 clamp(16px, 3vw, 36px); margin-bottom: 18px; }
.door { display: block; position: relative; overflow: hidden; isolation: isolate; border-block: 2px solid var(--line); padding: clamp(10px, 1.6vw, 22px) 0; }
.door + .or + .door { border-top: 0; }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.door-a::before { background: var(--hot); }
.door-b::before { background: var(--acid); transform-origin: top; }
.door-track { display: flex; width: max-content; font: 400 clamp(64px, 12.5vw, 200px)/.95 var(--display); white-space: nowrap; translate: calc(var(--x, 0px) + var(--mx) * 60px) 0; will-change: translate; }
.door-a .door-track { color: var(--ink); }
.door-b .door-track { color: transparent; -webkit-text-stroke: 2px var(--hot); }
.door:hover::before, .door:focus-visible::before { transform: none; }
.door:hover .door-track, .door:focus-visible .door-track { color: var(--bg); -webkit-text-stroke-color: var(--bg); }
.door-b:hover .door-track, .door-b:focus-visible .door-track { color: var(--bg); }
.door-tag { position: absolute; z-index: 3; right: clamp(16px, 3vw, 36px); bottom: 10px; font: 700 13px var(--mono); background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 999px; white-space: nowrap; pointer-events: none; rotate: -3deg; }
.door-b .door-tag { background: var(--hot); }
/* with a mouse the tag follows the cursor and only shows on hover */
.mouse .door-tag { left: 0; top: 0; right: auto; bottom: auto; translate: var(--tx, 50vw) var(--ty, 50%); scale: 0; transition: scale .3s cubic-bezier(.3,1.6,.5,1); }
.mouse .door:hover .door-tag { scale: 1; }
.mouse .door:hover { cursor: none; }
.or { position: relative; z-index: 4; width: clamp(84px, 9vw, 130px); aspect-ratio: 1; margin: calc(clamp(84px, 9vw, 130px) / -2) auto; border-radius: 50%; background: var(--acid); color: var(--bg); display: grid; place-items: center; font: 400 clamp(30px, 3.4vw, 48px)/1 var(--display); rotate: var(--rot, 0deg); box-shadow: 0 0 0 6px var(--bg); pointer-events: none; }


/* hello: contact */
.hello { padding: calc(var(--sec) * .6) clamp(16px, 3vw, 36px) var(--sec); border-top: 1px solid var(--line); }
.mega2 { font: 400 clamp(72px, 19vw, 320px)/.82 var(--display); text-transform: uppercase; margin-bottom: 44px; }
.mega2 em { text-transform: none; color: var(--hot); font-size: .78em; letter-spacing: -.02em; }
.ask { max-width: 920px; display: grid; gap: 24px; }
.ask-label { color: var(--acid); font-size: 14px; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -10px; }
.quick button { font: 700 14px var(--mono); padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s, border-color .2s; }
.quick button:hover { border-color: var(--ink); transform: rotate(-3deg) scale(1.04); }
.quick button:active { transform: scale(.92); }
.quick button.on { background: var(--acid); border-color: var(--acid); color: var(--bg); transform: rotate(-2deg); }
.field { display: grid; gap: 4px; }
.field span { color: var(--dim); font-size: 12.5px; }
.field input { background: none; border: 0; border-bottom: 2px solid #34322e; color: var(--ink); font: 400 clamp(20px, 2.8vw, 34px)/1.3 var(--mono); padding: 8px 0; outline: none; border-radius: 0; transition: border-color .2s; width: 100%; min-width: 0; }
.field input::placeholder { color: #44423d; }
.field input:focus { border-color: var(--acid); }
.field.bad input { border-color: #ff4d4d; animation: wiggle .4s; }
.field.bad span { color: #ff4d4d; }
@keyframes wiggle { 25% { translate: -8px 0; } 50% { translate: 6px 0; } 75% { translate: -3px 0; } }
.send { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; padding: 22px 30px 18px; border: 0; border-radius: 999px; background: var(--hot); color: var(--bg); font: 400 clamp(34px, 5vw, 72px)/1 var(--display); position: relative; overflow: hidden; isolation: isolate; transition: transform .2s; }
.send::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acid); transform: translateX(-101%); transition: transform .45s cubic-bezier(.7,0,.2,1); }
.send:hover::before, .send:focus-visible::before { transform: none; }
.send:active { transform: scale(.97); }
.send-i { font-size: .7em; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.send:hover .send-i { transform: translateX(10px) rotate(-12deg); }
.send.sent { background: var(--ink); }
.send.sent::before { transform: translateX(-101%); }
.ask-log { margin: 0; min-height: 1.8em; font: 13px/1.8 var(--mono); color: var(--acid); white-space: pre-wrap; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; max-width: 920px; }
.tile { display: grid; gap: 6px; align-content: start; text-align: left; padding: 22px 24px; border-radius: 22px; border: 2px solid var(--line); background: transparent; color: var(--ink); font: inherit; overflow-wrap: anywhere; transition: transform .35s cubic-bezier(.3,1.6,.5,1), border-color .2s; }
.tile small { color: var(--dim); font-size: 12px; }
.tile b { font: 400 clamp(26px, 3vw, 42px)/1 var(--display); }
.t-wa { background: var(--acid); border-color: var(--acid); color: var(--bg); }
.t-wa small { color: #4d5a17; }
.t-mail b { font: 700 clamp(15px, 1.6vw, 20px)/1.3 var(--mono); }
.tile:hover { transform: translateY(-6px) rotate(-1.5deg); border-color: var(--hot); }
.tile:active { transform: scale(.96); }
.t-mail.copied { border-color: var(--acid); }
.t-mail.copied small { color: var(--acid); }

/* footer */
.foot { border-top: 1px solid var(--line); overflow: hidden; }
.foot-word { font: 400 27vw/.8 var(--display); color: transparent; -webkit-text-stroke: 2px #2f2d29; text-align: center; margin: 4vw 0 -6vw; translate: calc(var(--mx) * 50px) 0; rotate: calc(var(--mx) * 2deg); user-select: none; white-space: nowrap; }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px clamp(16px, 3vw, 36px); color: var(--dim); font-size: 12.5px; position: relative; background: var(--bg); }

.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px 40px; padding: clamp(48px, 6vw, 84px) clamp(16px, 3vw, 36px) 12px; position: relative; z-index: 1; }
.foot-grid .cmd { margin: 0 0 14px; }
.me { display: flex; gap: 16px; align-items: flex-start; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--hot); color: var(--bg); display: grid; place-items: center; font: 400 24px/1 var(--display); rotate: -4deg; box-shadow: 4px 4px 0 var(--acid); }
.me p { margin: 0; color: #b8b3a9; font-size: 14.5px; line-height: 1.6; max-width: 460px; }
.me b { color: var(--ink); font: 400 22px/1.1 var(--display); display: block; margin-bottom: 6px; }
.me-text p + p { margin-top: 10px; }
.me-text p:first-of-type { color: var(--ink); font-size: 15.5px; }
.me-note { font-size: 13px; color: var(--dim) !important; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 14px; }
.foot-col a { color: var(--ink); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s, translate .25s; }
.foot-col a:hover, .foot-col a:focus-visible { color: var(--acid); border-color: var(--acid); translate: 4px 0; }
.foot-note { color: var(--dim); font-size: 12.5px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13px; transition: border-color .2s, color .2s, rotate .3s; }
.socials a:hover { border-color: var(--acid); color: var(--acid); rotate: -3deg; translate: 0; }
.socials svg { width: 15px; height: 15px; fill: currentColor; }

/* phones: motion stands in for hover */
.motion-btn { position: fixed; z-index: 60; left: 50%; bottom: 18px; translate: -50% 0; background: var(--acid); color: var(--bg); border: 0; font: 700 13px var(--mono); padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.5); animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { rotate: -4deg; } }
.gyro .mega .ch { translate: calc(var(--mx) * var(--k, 1) * 16px) calc(var(--my) * var(--k, 1) * 12px); }
.gyro .mega .line:nth-child(1) { translate: calc(var(--mx) * -18px) 0; }
.gyro .mega .line:nth-child(3) { translate: calc(var(--mx) * 18px) 0; }
.gyro .flow li, .gyro .quick button, .gyro .hook-big, .gyro .mega2 .ch, .gyro .tile { translate: calc(var(--mx) * var(--k, 1) * 10px) calc(var(--my) * var(--k, 1) * 6px); }
.gyro .badge { rotate: calc(var(--mx) * 50deg); }
.gyro .send { rotate: calc(var(--mx) * 2deg); }
.shake .mega .ch, .shake .mega2 .ch { animation: jolt .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes jolt { 30% { transform: translateY(-30%) rotate(calc(var(--k, 1) * 14deg)); color: var(--acid); } }

/* scroll reveals (classes added by script.js; content is visible without JS) */
.js .rv { opacity: 0; translate: 0 44px; transition: opacity .7s cubic-bezier(.2,.8,.2,1) var(--d, 0s), translate .9s cubic-bezier(.2,.9,.1,1) var(--d, 0s), scale .7s cubic-bezier(.3,1.6,.5,1) var(--d, 0s); }
.js .rv.pop { translate: none; scale: .5; }
.js .rv.in { opacity: 1; translate: none; scale: none; }
.js .wrv .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.js .wrv .w > span { display: inline-block; translate: 0 110%; rotate: 6deg; transform-origin: left bottom; transition: translate .9s cubic-bezier(.2,.9,.1,1) var(--d, 0s), rotate .9s cubic-bezier(.2,.9,.1,1) var(--d, 0s); }
.js .wrv.in .w > span { translate: none; rotate: none; }
.js .mega2 .ch { translate: 0 105%; opacity: 0; transition: translate .8s cubic-bezier(.3,1.5,.5,1) var(--d, 0s), opacity .3s var(--d, 0s); }
.js .mega2.in .ch { translate: none; opacity: 1; }
.js .arena.rv-wipe { clip-path: inset(50% 50% 50% 50% round 28px); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.js .arena.rv-wipe.in { clip-path: inset(0 0 0 0 round 28px); }
.js .door.rv-l .door-track, .js .door.rv-r .door-track { transition: margin 1.2s cubic-bezier(.2,.9,.1,1); }
.js .door.rv-l .door-track { margin-left: -60vw; }
.js .door.rv-r .door-track { margin-left: 60vw; }
.js .door.rv-l.in .door-track, .js .door.rv-r.in .door-track { margin-left: 0; }
.js .or.rv { scale: 0; rotate: -180deg; transition: scale .8s cubic-bezier(.3,1.6,.5,1) .3s, rotate .8s ease .3s; }
.js .or.rv.in { scale: 1; rotate: var(--rot, 0deg); }
.js .foot-word.rv { translate: 0 40%; opacity: 0; }
.js .foot-word.rv.in { translate: calc(var(--mx) * 50px) 0; opacity: 1; }

/* work panels: the panel in view animates its title and illustration in */
.js .panel .p-copy h3 { clip-path: inset(0 0 100% 0); translate: 0 40px; transition: clip-path .8s cubic-bezier(.7,0,.2,1), translate .8s cubic-bezier(.2,.9,.1,1); }
.js .panel .p-copy p { opacity: 0; translate: 0 16px; transition: opacity .5s .25s, translate .6s .25s; }
.js .panel .viz { opacity: .12; transition: opacity .6s .1s; }
.js .panel:not(.active) .viz * { animation-play-state: paused; }
.js .panel.active .p-copy h3 { clip-path: inset(-10% -10% -20% -10%); translate: none; }
.js .panel.active .p-copy p { opacity: 1; translate: none; }
.js .panel.active .viz { opacity: 1; }


/* work snap points: the page settles on each panel */
@media (min-width: 761px) { html { scroll-snap-type: y proximity; } }
.snap-pt { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }
.ask-log:empty { display: none; }
.swipe-hint { display: none; }
.work-swipe { display: none; }

/* performance: looping animations pause while their section is off screen (class set by script.js) */
.off, .off * { animation-play-state: paused !important; }

/* ---------- service popup: card on desktop, bottom sheet on phones ---------- */
.svc-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.svc-modal[hidden] { display: none; }
.svc-backdrop { position: absolute; inset: 0; background: rgba(6, 6, 5, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: svcfade .3s ease both; }
.svc-sheet { --acc: var(--hot); position: relative; width: min(640px, 100%); max-height: min(88vh, 860px); display: flex; flex-direction: column; background: var(--ink); color: var(--bg); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6), 10px 10px 0 var(--acc); animation: svcpop .45s cubic-bezier(.2,1.3,.4,1) both; outline: none; }
.svc-modal.closing .svc-sheet { animation: svcout .22s ease-in both; }
.svc-modal.closing .svc-backdrop { animation: svcfade .22s ease-in reverse both; }
@keyframes svcfade { from { opacity: 0; } }
@keyframes svcpop { from { opacity: 0; transform: translateY(24px) scale(.94) rotate(-1.5deg); } }
@keyframes svcout { to { opacity: 0; transform: translateY(14px) scale(.97); } }
.svc-grab { display: none; }
.svc-x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); font-size: 15px; transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .2s; }
.svc-x:hover { transform: rotate(90deg); background: var(--hot); }
.svc-body { overflow-y: auto; overscroll-behavior: contain; padding: 30px 34px 0; display: flex; flex-direction: column; }
.svc-body.swap { animation: svcswap .35s cubic-bezier(.2,.9,.1,1); }
@keyframes svcswap { from { opacity: 0; transform: translateX(var(--dir, 16px)); } }

/* card content */
.svc-top { display: flex; align-items: center; gap: 10px; padding-right: 48px; }
.svc-tag { font: 700 12.5px var(--mono); background: var(--bg); color: var(--acid); padding: 5px 10px; border-radius: 8px; box-shadow: 3px 3px 0 var(--acc); }
.svc-count { font: 700 12px var(--mono); color: #8a857b; }
.svc-body h2 { margin: 16px 0 0; font: 400 clamp(40px, 6vw, 60px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.svc-lede { margin: 14px 0 0; font: italic 400 clamp(20px, 2.4vw, 25px)/1.25 var(--serif); color: #2a2824; }
.svc-h { margin: 24px 0 10px; font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #8a857b; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.svc-list li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; }
.svc-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 6px; background: var(--bg); color: var(--acid); display: grid; place-items: center; font: 700 11px var(--mono); }
.svc-for { margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: #e3ded3; font-size: 14px; line-height: 1.5; }
.svc-for b { font-weight: 700; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.svc-meta span { font: 700 12px var(--mono); padding: 6px 10px; border-radius: 999px; border: 1.5px solid #cfc9bd; }
.svc-cta { position: sticky; bottom: 0; margin: 24px -34px 0; padding: 16px 34px 20px; background: linear-gradient(rgba(241,238,230,0), var(--ink) 22%); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc-btn { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 16px; border-radius: 999px; font: 700 14.5px var(--mono); border: 2px solid var(--bg); transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s; }
.svc-btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.svc-btn.wa { background: var(--bg); color: var(--acid); }
.svc-btn.wa:hover { background: var(--acid); color: var(--bg); transform: translateY(-2px) rotate(-1.5deg); }
.svc-btn.gm { background: transparent; color: var(--bg); }
.svc-btn.gm:hover { background: var(--bg); color: var(--ink); transform: translateY(-2px) rotate(1.5deg); }
.svc-more { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.svc-more a, .svc-more button { color: #5f5a52; background: none; border: 0; padding: 4px 0; font: inherit; border-bottom: 1px solid #b9b3a7; }
.svc-more a:hover, .svc-more button:hover { color: var(--bg); border-color: var(--bg); }
.svc-nav { display: flex; gap: 6px; margin-left: auto; }
.svc-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #cfc9bd; background: transparent; color: var(--bg); font: 700 14px var(--mono); transition: background .2s, border-color .2s; }
.svc-nav button:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* list of all services */
.svc-pick { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; }
.svc-pick button { width: 100%; display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 12px; padding: 14px 4px; background: none; border: 0; border-top: 1.5px solid #d8d2c6; color: var(--bg); text-align: left; font: inherit; transition: padding .3s cubic-bezier(.2,.9,.1,1), background .2s; }
.svc-pick li:last-child button { border-bottom: 1.5px solid #d8d2c6; }
.svc-pick button:hover, .svc-pick button:focus-visible { padding-left: 14px; background: #e6e1d6; }
.svc-pick .n { font: 700 12px var(--mono); color: #8a857b; }
.svc-pick .t { display: grid; gap: 2px; }
.svc-pick .t b { font: 400 26px/1 var(--display); text-transform: uppercase; }
.svc-pick .t small { font-size: 13px; color: #5f5a52; }
.svc-pick .a { font-size: 18px; transition: transform .3s; }
.svc-pick button:hover .a { transform: translateX(4px) rotate(-45deg); }

/* phones: a real bottom sheet, not a shrunk desktop card */
@media (max-width: 760px) {
  .svc-modal { place-items: end center; padding: 0; }
  .svc-sheet { width: 100%; max-height: 92svh; border-radius: 26px 26px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.6); animation: sheetup .42s cubic-bezier(.2,1,.3,1) both; touch-action: pan-y; }
  .svc-modal.closing .svc-sheet { animation: sheetdown .25s ease-in both; }
  @keyframes sheetup { from { transform: translateY(100%); } }
  @keyframes sheetdown { to { transform: translateY(100%); } }
  .svc-sheet::before { content: ""; display: block; height: 6px; background: var(--acc); }
  .svc-grab { display: block; position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 44px; height: 5px; border-radius: 3px; background: #c9c3b7; z-index: 2; }
  .svc-x { top: 18px; right: 14px; width: 36px; height: 36px; }
  .svc-body { padding: 34px 20px 0; }
  .svc-body h2 { font-size: 13vw; }
  .svc-lede { font-size: 20px; }
  .svc-list li { font-size: 15px; }
  .svc-cta { margin: 20px -20px 0; padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); grid-template-columns: 1fr 1fr; box-shadow: 0 -1px 0 #d8d2c6; background: var(--ink); }
  .svc-btn { min-height: 54px; font-size: 14px; }
  .svc-more { font-size: 13px; }
  .svc-pick .t b { font-size: 24px; }
  .svc-nav button { width: 38px; height: 38px; }
}

/* "Got it" card after a lead is saved */
.ask-done { border: 2px solid var(--acid); border-radius: 18px; padding: 18px 20px; display: grid; gap: 8px; background: rgba(215, 255, 58, .06); }
.ask-done[hidden] { display: none; }
.ask-done.pop { animation: donepop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes donepop { from { transform: scale(.94) rotate(-1deg); opacity: 0; } }
.ask-done b { font: 400 clamp(26px, 3vw, 38px)/1 var(--display); color: var(--acid); }
.ask-done p { margin: 0; color: #c9c4ba; font-size: 14.5px; line-height: 1.5; }
.ask-done .mail { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.ask-done-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 4px; font-size: 13.5px; }
.ask-done .wa-now { color: var(--ink); border-bottom: 1px solid var(--acid); }
.ask-done .wa-now:hover { color: var(--acid); }
.ask-done .again { background: none; border: 0; padding: 0; color: var(--dim); font: inherit; border-bottom: 1px solid #3a3833; }
.ask-done .again:hover { color: var(--ink); }

/* spam trap field: invisible to people and screen readers */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* small screens */
@media (max-width: 760px) {
  .grain { animation: none; inset: 0; }
  /* header: solid fade instead of blend-mode, so it never muddles content scrolling under it */
  .top { mix-blend-mode: normal; background: linear-gradient(var(--bg) 60%, rgba(11, 11, 10, 0)); padding-bottom: 26px; }
  .top nav a:not(.pill):not(.nav-svc) { display: none; }

  /* hero: height follows content, so the banners sit right under it */
  .hero { min-height: 0; justify-content: flex-start; padding-bottom: 22px; }
  .mega { font-size: 18.5vw; margin: 22px 0 28px; line-height: .84; }
  .mega .outline { -webkit-text-stroke-width: 1.5px; }
  .hero-foot { align-items: center; }
  .hook-dots { margin-top: 8px; }
  .badge { width: 92px; }

  /* work */
  .viz { left: 50%; right: auto; top: 44%; transform: translate(-50%, -50%) rotate(var(--r, -4deg)) scale(calc(var(--s, 1) * .82)); transform-origin: center; }
  .p-copy h3 { font-size: 19vw; }
  .ghost { font-size: 90vw; top: 40%; }
  .work-hud .cmd { font-size: 12px; }

  /* process */
  .flow { flex-direction: column; align-items: flex-start; row-gap: 0; }
  .flow li + li { margin: 30px 0 0; }
  .flow li + li::before { content: "↓"; left: 20px; top: -27px; }

  /* bug game */
  .arena { height: 62svh; min-height: 400px; }

  /* choose --path: label sits under each strip, nothing overlaps */
  .doors { padding-bottom: calc(var(--sec) * .5); }
  .door { padding: 8px 0 14px; }
  .door-track { font-size: 21vw; }
  .door-tag { position: relative; display: inline-block; left: auto; right: auto; bottom: auto; margin: 4px 16px 0; max-width: calc(100% - 112px); white-space: normal; font-size: 12.5px; line-height: 1.35; rotate: -1.5deg; }
  .door-b .door-tag { rotate: 1.5deg; }
  .or { width: 64px; margin: -32px 18px -32px auto; font-size: 24px; box-shadow: 0 0 0 5px var(--bg); }

  /* contact: quick picks become a 2-row swipeable strip */
  .mega2 { margin-bottom: 28px; }
  .ask { gap: 20px; }
  .swipe-hint { display: inline; color: var(--dim); }
  .quick { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; justify-content: start; gap: 8px; overflow-x: auto; margin: -8px -16px 0; padding: 4px 16px 10px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .quick::-webkit-scrollbar { display: none; }
  .quick button { white-space: nowrap; }
  .send { padding: 18px 24px 14px; }
  .tiles { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .tile { padding: 18px 20px; }

  .foot-word { -webkit-text-stroke-width: 1.5px; }
  /* work on phones: a swipe carousel instead of hijacking the vertical scroll */
  .work { height: auto; padding: 56px 0 8px; }
  .work-pin { position: relative; height: auto; overflow: visible; }
  .work-hud { position: relative; top: auto; left: auto; right: auto; padding: 0 16px 14px; mix-blend-mode: normal; }
  .work-hud .w-count { font-size: 30px; }
  .work-swipe { display: block; padding: 0 16px 12px; font-size: 12.5px; color: var(--dim); }
  .work-track { width: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 12px; padding: 0 16px; scroll-padding: 0 16px; scrollbar-width: none; transform: none !important; will-change: auto; }
  .work-track::-webkit-scrollbar { display: none; }
  .panel { flex: 0 0 calc(100vw - 48px); width: auto; height: min(74svh, 620px); border-radius: 24px; scroll-snap-align: start; scroll-snap-stop: always; }
  .work-bar { position: relative; margin: 16px 16px 0; height: 4px; border-radius: 2px; overflow: hidden; }
  .snap-pt { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-me { grid-column: 1 / -1; }
  .foot-grid > .foot-col:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .boot { display: none; }
  .work { height: auto; }
  .work-pin { position: static; height: auto; }
  .work-track { flex-direction: column; width: 100%; }
  .panel { height: 100svh; min-height: 560px; }
  .work-hud, .work-bar { display: none; }
  .term p { opacity: 1; }
  .motion-btn { display: none; }
  .svc-sheet, .svc-backdrop, .svc-body.swap { animation: none !important; }
  html { scroll-snap-type: none; }
  .js .rv, .js .wrv .w > span, .js .mega2 .ch, .js .panel .p-copy h3, .js .panel .p-copy p, .js .panel .viz { opacity: 1 !important; translate: none !important; scale: none !important; rotate: none !important; clip-path: none !important; filter: none !important; }
  .js .arena.rv-wipe, .js .door .door-track { clip-path: none !important; margin-left: 0 !important; }
  .bug { display: none; }
}
