/* V³ Studio — guided route website */
:root {
  --font-sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --text-xs: clamp(.72rem, .7rem + .1vw, .78rem);
  --text-sm: clamp(.86rem, .84rem + .1vw, .94rem);
  --text-base: clamp(1rem, .97rem + .15vw, 1.08rem);
  --text-lg: clamp(1.1rem, 1.04rem + .3vw, 1.3rem);
  --text-xl: clamp(1.8rem, 1.3rem + 2.2vw, 3.2rem);
  --text-hero: clamp(3.2rem, 1.2rem + 8vw, 9rem);
  --radius: 22px; --pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px; --pad: clamp(16px, 4vw, 44px);
  --rail-x: 16px; --gutter: 46px;
  --spring: cubic-bezier(.34,1.45,.64,1); --spring-soft: cubic-bezier(.34,1.2,.64,1);
  --header-h: 64px;
}
@media (min-width: 900px) { :root { --rail-x: 40px; --gutter: 120px; } }
html[data-theme="dark"] {
  --bg: #0c0c0c; --bg-2: #111; --surface: #151515; --surface-2: #1d1d1d;
  --text: #f3f3f1; --muted: #9a9a95; --faint: #5a5a56;
  --line: rgba(243,243,241,.13); --line-strong: rgba(243,243,241,.4);
  --solid-bg: #f3f3f1; --solid-text: #0c0c0c;
  --glow: rgba(243,243,241,.55);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.85);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f6f6f4; --bg-2: #efefec; --surface: #fff; --surface-2: #f0f0ec;
  --text: #141414; --muted: #61615d; --faint: #a6a6a1;
  --line: rgba(20,20,20,.12); --line-strong: rgba(20,20,20,.42);
  --solid-bg: #141414; --solid-text: #f6f6f4;
  --glow: rgba(20,20,20,.35);
  --shadow: 0 30px 70px -35px rgba(20,20,20,.35);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: var(--text-base); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .4s, color .4s; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--text); color: var(--bg); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--solid-bg); color: var(--solid-text); padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* buttons */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 22px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; isolation: isolate; text-align: center; transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease); }
.pill::after { content: ""; position: absolute; inset: -1px; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.26) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.pill:hover::after { transform: translateX(120%); }
.pill:hover { border-color: var(--text); }
.pill:active { transform: scale(.97); }
.pill-solid { background: var(--solid-bg); color: var(--solid-text); border-color: var(--solid-bg); }
.pill-solid::after { background: linear-gradient(105deg, transparent 30%, rgba(128,128,128,.35) 50%, transparent 70%); }
.pill-lg { min-height: 54px; padding: 15px 26px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; transition: border-color .3s; }
.icon-btn:hover { border-color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.link { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; transition: color .2s; }
.link:hover { color: var(--text); }

/* header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease; border-bottom: 1px solid transparent; transform: translateZ(0); backface-visibility: hidden; }
.header.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { width: 72px; height: auto; }
.header-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 480px) { .header-actions .pill { padding: 10px 14px; min-height: 42px; } }

/* ============ HELLO (minimal welcome) ============ */
.hello { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hello-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.cross { position: absolute; inset: 0; pointer-events: none; }
.cross i { position: absolute; background: var(--line); }
.cross .cx { left: 0; right: 0; top: 50%; height: 1px; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.cross .cy { top: 0; bottom: 0; left: 50%; width: 1px; transform: scaleY(0); transition: transform 1.6s var(--ease) .35s; }
.ready .cross .cx { transform: scaleX(1); } .ready .cross .cy { transform: scaleY(1); }
.hello-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; padding: 0 var(--pad); will-change: transform, opacity; }
.hello-title { font-size: var(--text-hero); font-weight: 300; line-height: .95; letter-spacing: -.06em; }
.hello-word { display: inline-block; white-space: nowrap; }
.hello-word span { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(12px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); transition-delay: calc(.25s + var(--i) * .05s); }
.ready .hello-word span { opacity: 1; transform: none; filter: none; }
.hello-eyebrow, .hello-lead, .start, .hello-note { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ready .hello-eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
.ready .hello-lead { opacity: 1; transform: none; transition-delay: .95s; }
.ready .start { opacity: 1; transform: none; transition-delay: 1.15s; }
.ready .hello-note { opacity: 1; transform: none; transition-delay: 1.3s; }
.hello-lead { max-width: 40ch; color: var(--muted); font-size: var(--text-lg); line-height: 1.55; }
.br-d { display: none; } @media (min-width: 760px) { .br-d { display: inline; } }
.hello-note { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; color: var(--muted); }

/* ============ ROUTE + RAIL ============ */
.route { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 40px var(--pad) 120px; }
.route-rail { position: absolute; top: 0; bottom: 0; left: calc(var(--pad) + var(--rail-x)); width: 2px; margin-left: -1px; pointer-events: none; z-index: 1; }
.rail-track, .rail-fill, .rail-ghost { position: absolute; left: 0; width: 2px; display: block; }
.rail-track { background: var(--line); transition: height 1s var(--ease); }
.rail-ghost { background: repeating-linear-gradient(var(--line-strong) 0 4px, transparent 4px 12px); opacity: .6; transition: top 1s var(--ease), height 1s var(--ease); }
.rail-fill { background: linear-gradient(to bottom, color-mix(in srgb, var(--text) 18%, transparent), color-mix(in srgb, var(--text) 60%, transparent) 70%, var(--text)); box-shadow: 0 0 14px var(--glow); border-radius: 2px; }
.rail-hand { position: absolute; left: -6px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 6px color-mix(in srgb, var(--text) 14%, transparent), 0 0 24px var(--glow); opacity: 0; transition: opacity .3s; display: block; }
.rail-hand.on { opacity: 1; }
.route-start { position: relative; display: flex; align-items: center; gap: 18px; padding-left: calc(var(--rail-x) - 7px); margin-bottom: 40px; }
.node-start { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--text); background: var(--bg); position: relative; z-index: 2; }

.station { position: relative; padding: clamp(36px, 7vw, 90px) 0 clamp(56px, 9vw, 120px) var(--gutter); transition: opacity 1s var(--ease), transform 1.1s var(--spring-soft); }
.station.enter { opacity: 0; transform: translateY(70px) scale(.985); transition: none; }
.node { position: absolute; left: calc(var(--rail-x) - 17px); top: clamp(36px, 7vw, 90px); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-strong); z-index: 2; font-family: var(--font-mono); font-size: .66rem; color: var(--muted); transition: background .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s; }
.node .ck { position: absolute; width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: all .4s var(--ease); }
.node.reached { border-color: var(--text); color: var(--text); box-shadow: 0 0 0 6px color-mix(in srgb, var(--text) 8%, transparent); }
.station.done .node { background: var(--solid-bg); color: var(--solid-text); border-color: var(--solid-bg); }
.station.done .node b { opacity: 0; }
.station.done .node .ck { opacity: 1; transform: none; }
.st-num { position: absolute; right: 0; top: 10px; font-size: clamp(6rem, 3rem + 14vw, 16rem); font-weight: 300; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; user-select: none; z-index: 0; will-change: transform; }
.st-head { position: relative; z-index: 1; display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 44px); max-width: 760px; }
.st-title { font-size: var(--text-xl); font-weight: 300; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.st-lead { color: var(--muted); max-width: 58ch; }
.st-body { position: relative; z-index: 1; display: grid; gap: clamp(22px, 3vw, 36px); }
.route-ghost { display: flex; align-items: center; gap: 18px; padding: 10px 0 0 calc(var(--rail-x) - 17px); color: var(--muted); font-size: var(--text-sm); line-height: 1.4; }
.node-ghost { position: static; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px dashed var(--line-strong); font-family: var(--font-mono); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .6; } }

/* ============ OPTIONS ============ */
.opts { display: grid; gap: 12px; grid-template-columns: 1fr; perspective: 900px; }
@media (min-width: 560px) { .opts.four, .opts.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .opts.four { grid-template-columns: repeat(4, 1fr); } .opts.three { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; display: grid; align-content: start; gap: 8px; min-height: 170px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .35s, background .35s, color .35s, transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.opt::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--text) 9%, transparent), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.opt:hover::before { opacity: 1; }
.opt:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.opt-icon { width: 40px; height: 40px; margin-bottom: 14px; }
.opt-title { font-size: var(--text-lg); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.opt-text { color: var(--muted); font-size: var(--text-sm); line-height: 1.45; }
.opt-mark { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all .35s var(--ease); }
.opt-mark .ck { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: all .35s var(--ease); }
.opt[aria-pressed="true"] { background: var(--solid-bg); color: var(--solid-text); border-color: var(--solid-bg); box-shadow: var(--shadow); }
.opt[aria-pressed="true"] .opt-text { color: color-mix(in srgb, var(--solid-text) 65%, transparent); }
.opt[aria-pressed="true"] .opt-mark { background: var(--solid-text); color: var(--solid-bg); border-color: var(--solid-text); }
.opt[aria-pressed="true"] .opt-mark .ck { opacity: 1; transform: none; }
.opts:has(.opt[aria-pressed="true"]) .opt[aria-pressed="false"] { opacity: .55; }
.opts:has(.opt[aria-pressed="true"]) .opt[aria-pressed="false"]:hover { opacity: 1; }
.opts.compact .opt { min-height: 0; padding: 18px 20px; }
@media (max-width: 559px) { .opt { min-height: 0; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px 54px 18px 18px; } .opt-icon { grid-row: span 2; margin: 0; } .opts.compact .opt { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: var(--text-sm); transition: all .3s var(--ease); }
.chip.big { min-height: 48px; padding: 10px 20px; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--solid-bg); color: var(--solid-text); border-color: var(--solid-bg); }
.chip-plus { font-family: var(--font-mono); transition: transform .3s var(--ease); }
.chip[aria-pressed="true"] .chip-plus { transform: rotate(45deg); }
.group-label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: -10px; }
.err { color: #e5484d; font-size: var(--text-sm); }

/* services */
.svcs { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .svcs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svcs:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); } }
.svc { display: grid; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .35s, box-shadow .5s, transform .5s var(--ease); overflow: hidden; }
.svc:hover { border-color: var(--line-strong); }
.svc.on { border-color: var(--text); box-shadow: 0 0 0 1px var(--text), var(--shadow); }
.svc-main { display: grid; gap: 8px; padding: 22px 22px 14px; }
.svc-top { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.badge { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--pill); border: 1px solid var(--line-strong); color: var(--muted); }
.svc-box { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all .3s var(--ease); }
.svc-box .ck { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: all .3s var(--ease); }
.svc.on .svc-box { background: var(--solid-bg); color: var(--solid-text); border-color: var(--solid-bg); }
.svc.on .svc-box .ck { opacity: 1; transform: none; }
.svc-title { font-size: var(--text-lg); font-weight: 500; letter-spacing: -.01em; }
.svc-text { color: var(--muted); font-size: var(--text-sm); }
.svc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 22px 18px; border-top: 1px solid var(--line); margin: 0 0 0; }
.svc-weeks { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted); letter-spacing: .04em; }
.svc-inc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--spring-soft); font-size: var(--text-sm); }
.svc-inc > ul { list-style: none; margin: 0; padding: 0 22px; display: grid; gap: 8px; min-height: 0; overflow: hidden; transition: padding .6s var(--ease); }
.svc.open .svc-inc { grid-template-rows: 1fr; }
.svc.open .svc-inc > ul { padding: 4px 22px 20px; }
.svc-inc li { display: flex; gap: 10px; align-items: baseline; }
.svc-inc li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--text); transform: translateY(-2px); }
.extras { display: grid; gap: 12px; }
.confirm { display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
@media (min-width: 800px) { .confirm { grid-template-columns: 1fr auto; align-items: center; } .confirm .err { grid-column: 1 / -1; } }
.confirm-count { font-size: var(--text-sm); color: var(--muted); }
.confirm-count b { color: var(--text); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: flex-end; }

/* ask block */
.ask { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.ask-q { font-size: var(--text-lg); font-weight: 500; letter-spacing: -.01em; }

/* ============ DEMOS ============ */
.demos { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .demos { grid-template-columns: repeat(2, 1fr); } .demo-devices, .demo-works, .demo-reel { grid-column: 1 / -1; } }
.devices { position: relative; height: clamp(360px, 46vw, 600px); perspective: 1600px; }
.devices-scene { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; transform-style: preserve-3d; will-change: transform; }
.device { position: absolute; transform-style: preserve-3d; will-change: transform; }
.device-screen { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); background: #000; box-shadow: 0 50px 120px -40px rgba(0,0,0,.85); }
.device-screen video { width: 100%; height: 100%; object-fit: cover; }
.device-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 35%); pointer-events: none; }
.device-ui { position: absolute; inset: auto 0 0 0; padding: 18px; color: #f8f8f5; background: linear-gradient(transparent, rgba(0,0,0,.72)); display: grid; gap: 4px; }
.device-ui b { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .14em; font-weight: 500; }
.device-ui span { font-size: clamp(.95rem, .7rem + 1vw, 1.5rem); letter-spacing: -.03em; line-height: 1.1; }
.device-ui.light { color: #352d26; background: linear-gradient(transparent, rgba(244,238,228,.92)); }
.device-ui.accent span { color: #a6f1e5; }
.device figcaption { margin-top: 12px; text-align: center; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.d-center { width: min(58%, 640px); z-index: 3; } .d-center .device-screen { aspect-ratio: 16/10; }
.d-left, .d-right { width: min(21%, 230px); z-index: 2; } .d-left { left: 3%; } .d-right { right: 3%; }
.d-left .device-screen, .d-right .device-screen { aspect-ratio: 9/18; border-radius: 28px; border: 5px solid #222; }
@media (max-width: 759px) {
  .devices { height: auto; perspective: none; margin: 0 calc(var(--pad) * -1) 0 calc(var(--gutter) * -1); }
  .devices-scene { position: relative; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start; padding: 6px var(--pad) 6px var(--gutter); scrollbar-width: none; }
  .devices-scene::-webkit-scrollbar { display: none; }
  .device { position: relative; left: auto; right: auto; flex: 0 0 auto; scroll-snap-align: start; }
  .d-center { width: 78vw; order: -1; } .d-left, .d-right { width: 42vw; }
}
.lab { display: grid; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.lab header { display: grid; gap: 4px; } .lab header b { font-size: var(--text-lg); font-weight: 500; }
.lab-body { position: relative; height: 290px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; color: var(--text); }
.game canvas { width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.game-hud { position: absolute; inset: 12px 14px auto; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted); pointer-events: none; }
.game-hud b { color: var(--text); }
.game-overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(3px); transition: opacity .4s; }
.game-overlay p { font-size: var(--text-sm); color: var(--muted); max-width: 28ch; }
.game-overlay.off { opacity: 0; pointer-events: none; }
.chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: var(--text-sm); line-height: 1.45; opacity: 0; transform: translateY(10px); animation: in .5s var(--ease) forwards; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--solid-bg); color: var(--solid-text); border-bottom-right-radius: 4px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .4; } }
@keyframes in { to { opacity: 1; transform: none; } }
.crm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.crm-col { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 34px 6px 8px; border-radius: 12px; background: var(--surface); }
.crm-col > span { position: absolute; top: 10px; left: 10px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.deal { padding: 9px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: .75rem; line-height: 1.3; opacity: 0; animation: in .5s var(--ease) forwards; }
.deal b { display: block; font-weight: 500; } .deal small { color: var(--muted); font-family: var(--font-mono); font-size: .64rem; }
.deal.paid { border-color: var(--line-strong); }
.works { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.works::-webkit-scrollbar { display: none; }
.work { position: relative; flex: 0 0 auto; width: clamp(200px, 24vw, 280px); aspect-ratio: 9/13; border-radius: 18px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); background: #000; }
.work img, .work video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; transition: filter .5s; }
.work:hover img, .work:hover video { filter: brightness(1.1); }
.work-info { position: absolute; inset: auto 0 0 0; padding: 18px; display: grid; gap: 4px; color: #f6f6f4; background: linear-gradient(transparent, rgba(0,0,0,.7)); text-align: left; }
.work-info .eyebrow { color: rgba(246,246,244,.75); }
.work-info b { font-size: 1.9rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.work-open { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease); }
.work:hover .work-open { transform: rotate(45deg); }
.reel { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/8; background: #000; border: 1px solid var(--line); }
@media (max-width: 700px) { .reel { aspect-ratio: 4/5; } }
.reel-media { position: absolute; inset: -6%; will-change: transform; }
.reel-media video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; inset: auto 0 0 0; padding: clamp(18px, 3vw, 32px); display: grid; gap: 6px; color: #f6f6f4; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.reel figcaption .eyebrow { color: rgba(246,246,244,.75); }
.reel figcaption b { font-size: clamp(1.3rem, 1rem + 1.4vw, 2.2rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; max-width: 22ch; }
.reel figcaption span:last-child { font-size: var(--text-sm); color: rgba(246,246,244,.8); }

/* ============ PLAN ============ */
.gantt { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); --name: 170px; }
@media (max-width: 600px) { .gantt { --name: 110px; padding: 16px; } }
.gantt-axis { position: relative; height: 18px; margin-left: calc(var(--name) + 12px); border-bottom: 1px solid var(--line); }
.gantt-axis span { position: absolute; left: calc(var(--x) * 100%); transform: translateX(-50%); font-family: var(--font-mono); font-size: .64rem; color: var(--muted); }
.gantt-row { display: grid; grid-template-columns: var(--name) 1fr; gap: 12px; align-items: center; }
.gantt-name { font-size: var(--text-sm); line-height: 1.25; }
.gantt-track { position: relative; height: 26px; border-radius: 8px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--weeks) - 1px), var(--line) calc(100% / var(--weeks) - 1px) calc(100% / var(--weeks))); }
.gantt-track i { position: absolute; top: 4px; bottom: 4px; left: calc(var(--s) * 100%); width: calc(var(--l) * 100%); border-radius: 6px; background: var(--solid-bg); transform-origin: left; animation: grow 1s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .12s); }
.gantt-row:nth-child(2) .gantt-track i, .gantt-row:last-of-type .gantt-track i { background: var(--line-strong); }
.gantt-row { --i: 0; }
.gantt-row .gantt-track i { animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes grow { from { transform: scaleX(0); } }
.gantt-unit { font-family: var(--font-mono); font-size: .66rem; color: var(--muted); text-align: right; letter-spacing: .08em; text-transform: uppercase; }
.team { display: grid; gap: 14px; }
.team-row { display: grid; gap: 12px; }
@media (min-width: 760px) { .team-row { grid-template-columns: repeat(2, 1fr); } }
.member { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.ava { flex: 0 0 56px; height: 56px; border-radius: 50%; background: #f3f3f1; display: grid; place-items: center; }
.ava img { width: 46%; }
.member div { display: grid; gap: 2px; }
.member b { font-weight: 500; }
.member span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.member small { color: var(--muted); font-size: var(--text-sm); }

/* ============ FINAL ============ */
.final-grid { display: grid; gap: 18px; }
@media (min-width: 960px) { .final-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.sum { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 6px 22px; }
.sum-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sum-row:last-child { border-bottom: 0; }
.sum-k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sum-v { font-size: var(--text-sm); }
.order { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field small { text-transform: none; letter-spacing: 0; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 16px; transition: border-color .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); }
.field input.invalid { border-color: #e5484d; }
.order-actions { display: grid; gap: 10px; }
@media (min-width: 560px) { .order-actions { grid-template-columns: 1fr 1fr; } }
.order-actions .pill { white-space: normal; }
.consent { font-size: var(--text-xs); color: var(--muted); }
.sent-box { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); }
.done-mark { width: 64px; height: 64px; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.summary { width: 100%; max-width: 560px; text-align: left; white-space: pre-wrap; font-family: var(--font-mono); font-size: var(--text-xs); line-height: 1.7; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin: 0; }
.send-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ============ PARTNERS / FOOTER ============ */
.partners { padding: clamp(50px, 7vw, 90px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.partners > .eyebrow { margin-bottom: 22px; }
.partners-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.partners-track span { font-size: clamp(1.6rem, 1rem + 2.6vw, 3.2rem); font-weight: 300; letter-spacing: -.04em; padding: 0 clamp(18px, 3vw, 40px); white-space: nowrap; color: var(--faint); }
.partners-track span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1px var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer { padding: 26px 0 130px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer nav { display: flex; gap: 22px; } .footer a:hover { color: var(--text); }

/* ============ DOCK (personal menu) ============ */
.dock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: min(calc(100% - 20px), 980px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 26px; background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--line-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); transform: translate(-50%, 160%); transition: transform .7s var(--ease), padding .4s; }
.dock.on { transform: translate(-50%, 0); }
.dock.pop { animation: pop .7s var(--ease); }
@keyframes pop { 30% { transform: translate(-50%, -6px) scale(1.015); } }
.dock-progress { display: grid; gap: 6px; flex: 0 0 auto; min-width: 140px; }
.dock-segs { display: flex; gap: 4px; }
.dock-segs i { width: 18px; height: 3px; border-radius: 3px; background: var(--line-strong); opacity: .5; transition: all .5s var(--ease); }
.dock-segs i.d { background: var(--text); opacity: 1; }
.dock-segs i.c { background: var(--text); opacity: 1; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.dock-label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dock-chips { display: flex; gap: 6px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.dock-chips::-webkit-scrollbar { display: none; }
.dchip { flex: 0 0 auto; font-size: .78rem; padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; animation: in .5s var(--ease) both; transform: translateY(6px); opacity: 0; }
.dchip:hover { color: var(--text); border-color: var(--line-strong); }
.dock-go { flex: 0 0 auto; margin-left: auto; }
.dock-menu { display: flex; gap: 6px; overflow-x: auto; flex: 1; min-width: 0; justify-content: flex-start; scrollbar-width: none; }
.dock-menu > :first-child { margin-left: auto; }
.dock.final { width: min(calc(100% - 20px), 1180px); }
.dock-menu::-webkit-scrollbar { display: none; }
.dock-menu .pill { flex: 0 0 auto; min-height: 42px; padding: 10px 16px; animation: in .5s var(--ease) both; opacity: 0; transform: translateY(8px); }
.dock-menu .pill:nth-child(2) { animation-delay: .06s; } .dock-menu .pill:nth-child(3) { animation-delay: .12s; } .dock-menu .pill:nth-child(4) { animation-delay: .18s; } .dock-menu .pill:nth-child(5) { animation-delay: .24s; } .dock-menu .pill:nth-child(6) { animation-delay: .3s; }
@media (max-width: 760px) {
  .dock { flex-wrap: wrap; padding: 10px; gap: 8px; border-radius: 22px; }
  .dock-progress { min-width: 0; flex: 1; padding-left: 6px; }
  .dock-chips { display: none; }
  .dock-go { min-height: 42px; padding: 10px 16px; }
  .dock.final .dock-menu > :first-child { margin-left: 0; }
  .dock.final .dock-menu { flex: 0 0 100%; justify-content: flex-start; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 46; transform: translate(-50%, 12px); opacity: 0; padding: 10px 18px; border-radius: var(--pill); background: var(--solid-bg); color: var(--solid-text); font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .06em; pointer-events: none; transition: opacity .35s, transform .5s var(--ease); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { .toast { bottom: calc(126px + env(safe-area-inset-bottom, 0px)); } }

/* ============ MODAL ============ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); animation: fade .3s; }
.modal-card { position: relative; width: min(900px, 100%); max-height: calc(100svh - 32px); overflow: auto; display: grid; border-radius: 26px; background: var(--surface); border: 1px solid var(--line-strong); animation: rise .5s var(--ease); }
@media (min-width: 760px) { .modal-card { grid-template-columns: 1fr 1fr; } }
.modal-media { aspect-ratio: 4/5; background: #000; overflow: hidden; }
@media (max-width: 759px) { .modal-media { aspect-ratio: 16/11; } }
.modal-media img, .modal-media video { width: 100%; height: 100%; object-fit: cover; }
.modal-media video { object-fit: contain; }
.modal-media [hidden] { display: none; }
.modal-body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-content: center; }
.modal-body h3 { font-size: var(--text-xl); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.modal-body p:not(.eyebrow) { color: var(--muted); }
.modal-body .pill { justify-self: start; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--surface); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.97); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hello-word span, .hello-eyebrow, .hello-lead, .start, .hello-note { opacity: 1; transform: none; filter: none; }
  .partners-track { animation: none; }
}
.st-body > *, .final-grid > *, .demos > * { min-width: 0; }
.send-row .pill { white-space: normal; }
.summary { overflow-wrap: anywhere; }
@media (max-width: 560px) { .sent-box { padding: 20px 14px; } .send-row { display: grid; width: 100%; } }

/* =====================================================================
   v3 — guided route refinements
   ===================================================================== */
html.modal-open, html.launching { overflow: hidden; }
html.launching body { overflow: hidden; }

/* ---------- start button: soft wave pulse (as in the app game) ---------- */
.start-pulse { position: relative; display: inline-grid; place-items: center; min-height: 58px; padding: 16px 46px; border-radius: 999px; background: var(--solid-bg); color: var(--solid-text); border: 1px solid var(--solid-bg); font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; isolation: isolate; animation: spBreath 3.2s ease-in-out infinite; transition: transform .5s var(--spring); }
.start-pulse .sp-label { position: relative; z-index: 2; padding-left: .2em; }
.start-pulse .wave { position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--text); opacity: 0; z-index: -1; animation: spWave 3.6s cubic-bezier(.22,.61,.36,1) infinite; }
.start-pulse .wave:nth-child(2) { animation-delay: 1.2s; }
.start-pulse .wave:nth-child(3) { animation-delay: 2.4s; }
.start-pulse:hover { transform: scale(1.04); }
.start-pulse:active { transform: scale(.96); }
@keyframes spWave { 0% { inset: 0; opacity: .55; } 70% { opacity: .08; } 100% { inset: -26px -34px; opacity: 0; } }
@keyframes spBreath { 0%, 100% { box-shadow: 0 0 0 0 rgba(243,243,241,0), 0 10px 40px -10px rgba(0,0,0,.5); transform: scale(1); } 50% { box-shadow: 0 0 34px rgba(243,243,241,.16), 0 10px 40px -10px rgba(0,0,0,.5); transform: scale(1.025); } }
html[data-theme="light"] .start-pulse { animation-name: spBreathL; }
@keyframes spBreathL { 0%, 100% { box-shadow: 0 0 0 0 rgba(20,20,20,0); transform: scale(1); } 50% { box-shadow: 0 0 30px rgba(20,20,20,.18); transform: scale(1.025); } }
.hello .start { margin-top: 18px; }

/* ---------- tactile tap bounce ---------- */
.tap { animation: tapBounce .55s var(--spring) !important; }
@keyframes tapBounce { 0% { transform: scale(1); } 30% { transform: scale(.94); } 65% { transform: scale(1.025); } 100% { transform: scale(1); } }

/* ---------- title words rise ---------- */
.st-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.st-title .w > span { display: inline-block; transform: translateY(105%); }
.station.inview .st-title .w > span { animation: wordUp 1s var(--spring-soft) both; animation-delay: calc(.08s + var(--i) * .045s); }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }
.st-lead, .st-head .eyebrow { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .25s, transform .9s var(--ease) .25s; }
.station.inview .st-lead, .station.inview .st-head .eyebrow { opacity: 1; transform: none; }
.st-body { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) .35s, transform 1.1s var(--spring-soft) .35s; }
.station.inview .st-body { opacity: 1; transform: none; }

/* ---------- comet trail: lit path behind the moving head ---------- */
.route-glow { position: absolute; left: 50%; width: 100vw; margin-left: -50vw; top: 0; height: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(56vw 42vh at calc(50% - min(590px, 50vw) + var(--pad) + var(--rail-x)) calc(100% - 280px), rgba(var(--glow-rgb), .09), transparent 70%),
    linear-gradient(to bottom, rgba(var(--glow-rgb), 0) 0%, rgba(var(--glow-rgb), .02) 45%, rgba(var(--glow-rgb), .045) calc(100% - 280px), rgba(var(--glow-rgb), 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 160px, #000 calc(100% - 300px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 160px, #000 calc(100% - 300px), transparent); }
html[data-theme="dark"] { --glow-rgb: 243, 243, 241; }
html[data-theme="light"] { --glow-rgb: 20, 20, 20; }
.comet-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.rail-hand { box-shadow: 0 0 0 6px color-mix(in srgb, var(--text) 14%, transparent), 0 0 24px var(--glow), 0 0 70px 10px color-mix(in srgb, var(--text) 18%, transparent); }
.rail-hand::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: 2px; height: 120px; margin-left: -1px; background: linear-gradient(to top, var(--text), transparent); filter: blur(1px); opacity: .7; }

/* ---------- nodes: breathing when passed, ripple when the line reaches them ---------- */
.node.reached { animation: nodeBreath 3.4s ease-in-out infinite; }
@keyframes nodeBreath { 0%, 100% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--text) 7%, transparent); } 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--text) 3%, transparent), 0 0 22px color-mix(in srgb, var(--text) 22%, transparent); } }
.node::before, .node::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--text); opacity: 0; pointer-events: none; }
.node.ping::before { animation: ripple 1.5s cubic-bezier(.22,.61,.36,1) both; }
.node.ping::after { animation: ripple 1.5s cubic-bezier(.22,.61,.36,1) .28s both; }
@keyframes ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(4.2); opacity: 0; } }
.st-sweep { position: absolute; left: var(--rail-x); right: 0; top: calc(clamp(36px, 7vw, 90px) + 17px); height: 1px; pointer-events: none; transform-origin: left; transform: scaleX(0); opacity: 0;
  background: linear-gradient(90deg, var(--text), color-mix(in srgb, var(--text) 20%, transparent) 40%, transparent); }
.station.sweep .st-sweep { animation: sweep 1.6s var(--ease) both; }
@keyframes sweep { 0% { transform: scaleX(0); opacity: .8; } 60% { opacity: .5; } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- sound offer point ---------- */
.route-sound { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: calc(var(--gutter) - var(--rail-x) - 17px); align-items: start; padding: 10px 0 30px calc(var(--rail-x) - 17px); transition: opacity .6s; }
.route-sound .node-sound { position: relative; left: auto; top: auto; width: 34px; height: 34px; }
.route-sound .rs-body { display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); max-width: 560px; transition: border-color .4s, padding .5s var(--spring-soft); }
.rs-title { font-size: var(--text-lg); font-weight: 500; letter-spacing: -.01em; }
.rs-text { color: var(--muted); font-size: var(--text-sm); }
.route-sound .chips { margin-top: 6px; }
.route-sound.chosen .rs-body { border-style: dashed; }
.route-sound.chosen .rs-text { display: none; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 30%; background: currentColor; border-radius: 1px; transition: height .3s; }
.playing .eq i, .route-sound:not(.chosen) .eq i { animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s !important; } .eq i:nth-child(3) { animation-delay: -.6s !important; } .eq i:nth-child(4) { animation-delay: -.85s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.eq i:nth-child(1) { height: 45%; } .eq i:nth-child(2) { height: 80%; } .eq i:nth-child(3) { height: 60%; } .eq i:nth-child(4) { height: 90%; }
.sound-btn[aria-pressed="false"] .eq i { animation: none; opacity: .5; }
.sound-btn[aria-pressed="false"]::after { content: ""; position: absolute; width: 22px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.sound-btn { position: relative; }
.eq { height: 14px; gap: 3px; }

/* ---------- infinite horizontal choice strip ---------- */
.loop { position: relative; display: grid; gap: 12px; margin-right: calc(var(--pad) * -1); }
.loop-track { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px var(--pad) 18px 2px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 88%, transparent); cursor: grab; }
.loop-track::-webkit-scrollbar { display: none; }
.loop-track.drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.loop-track .opt { flex: 0 0 clamp(230px, 72vw, 290px); scroll-snap-align: center; min-height: 168px; scale: calc(1 - var(--d, 0) * .07); opacity: calc(1 - var(--d, 0) * .45); transition: border-color .35s, background .4s, color .35s, box-shadow .5s, transform .5s var(--spring), opacity .25s, scale .25s; }
.loop-track .opt[aria-pressed="true"] { opacity: 1; }
.loop-ctrl { display: flex; align-items: center; gap: 12px; padding-right: var(--pad); }
.loop-hint { flex: 1; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.loop-hint i { position: relative; width: 34px; height: 1px; background: var(--line-strong); overflow: hidden; }
.loop-hint i::after { content: ""; position: absolute; inset: 0; width: 12px; background: var(--text); animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateX(-12px); } 100% { transform: translateX(34px); } }
.loop-arrow { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-mono); transition: border-color .3s, transform .4s var(--spring); }
.loop-arrow:hover { border-color: var(--text); }
.loop-arrow:active { transform: scale(.9); }
@media (pointer: coarse) { .loop-arrow { display: none; } .loop-track { cursor: auto; } }
.station.inview .loop-track .opt:not([aria-hidden]) { animation: optIn .9s var(--spring) both; animation-delay: calc(.35s + var(--k, 0) * .06s); }
@keyframes optIn { from { opacity: 0; transform: translateX(40px) scale(.94); } }
.opts:has(.opt[aria-pressed="true"]) .opt[aria-pressed="false"] { opacity: 1; }
.opt[aria-pressed="true"] .opt-mark { animation: markPop .5s var(--spring); }
@keyframes markPop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

.next-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px 16px 20px; border-radius: var(--radius); border: 1px dashed var(--line-strong); }
.sel-count { font-size: var(--text-sm); color: var(--muted); flex: 1 1 220px; }
.sel-count b { color: var(--text); }
.next-btn { transition: opacity .4s, transform .5s var(--spring), background .3s; }
.next-btn:disabled { opacity: .3; cursor: not-allowed; }
.next-btn.ready { animation: readyPulse 2.6s ease-in-out infinite; }
@keyframes readyPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--text) 0%, transparent); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--text) 8%, transparent); } }

.chip { transition: all .35s var(--spring); }
.budget .chip { animation: none; }
.station.inview .budget .chip { animation: optIn .8s var(--spring) both; animation-delay: calc(.6s + var(--i) * .05s); }

/* ---------- services groups ---------- */
.svc-group { display: grid; gap: 14px; }
.svc-group .group-label { display: flex; align-items: center; gap: 10px; margin: 0; }
.svc-group .group-label span { width: 22px; height: 22px; display: inline-block; }
.svc { transition: border-color .35s, box-shadow .5s, transform .5s var(--spring); }
.station.inview .svc { animation: optIn .9s var(--spring) both; animation-delay: calc(.35s + var(--k, 0) * .05s); }

/* ---------- reel: plays only on request ---------- */
.reel-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 24px 12px 14px; border-radius: 999px; background: rgba(12,12,12,.55); color: #f6f6f4; border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; transition: opacity .4s, transform .5s var(--spring); }
.reel-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.reel-ico { width: 32px; height: 32px; border-radius: 50%; background: #f6f6f4; position: relative; }
.reel-ico::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 11px solid #0c0c0c; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.reel.playing .reel-ico::after { left: 10px; top: 10px; width: 4px; height: 12px; border: 0; background: #0c0c0c; box-shadow: 7px 0 0 #0c0c0c; }
.reel.playing .reel-play { opacity: 0; left: auto; right: 16px; top: 16px; transform: none; }
.reel.playing:hover .reel-play, .reel.playing .reel-play:focus-visible { opacity: 1; }
.reel-media video { pointer-events: none; }
@media (max-width: 700px) { .reel { aspect-ratio: 16/11; } .reel figcaption span:last-child { display: none; } }
.works-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }

/* ---------- game launch card ---------- */
.game-card .cell-preview { height: 300px; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--text) 6%, transparent), transparent 70%), var(--bg); }
.cell-preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cell-preview-ui { position: relative; z-index: 2; height: 100%; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 20px; text-align: center; background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 75%, transparent), transparent); }
.cell-preview-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.cell-preview-note { font-size: .74rem; color: var(--muted); max-width: 30ch; line-height: 1.5; }
.cell-preview .start-pulse { min-height: 50px; padding: 13px 26px; font-size: .7rem; letter-spacing: .14em; }

/* ---------- natural AI chat ---------- */
.chat-lab { gap: 0; padding: 0; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--solid-bg); color: var(--solid-text); font-family: var(--font-mono); font-size: .72rem; position: relative; flex: 0 0 auto; }
.chat-ava::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: #4ade80; border: 2px solid var(--surface); }
.chat-who { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.chat-who b { font-weight: 500; }
.chat-status { color: var(--muted); font-size: .76rem; transition: color .3s; }
.chat-lab.typing .chat-status { color: var(--text); }
.chat-head .eyebrow { font-size: .62rem; }
@media (max-width: 520px) { .chat-head .eyebrow { display: none; } }
.chat-body { height: 330px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 0 14px; background: var(--bg); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60px); mask-image: linear-gradient(to bottom, transparent, #000 60px); }
.chat-list { display: flex; flex-direction: column; padding: 10px 0 14px; }
.mw { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.22,1,.36,1); }
.mw.open { grid-template-rows: 1fr; }
.mw.gone { transition-duration: .45s; }
.mw-in { min-height: 0; overflow: hidden; display: flex; padding-top: 8px; }
.mw.user .mw-in { justify-content: flex-end; }
.chat-lab .msg { max-width: 82%; padding: 10px 14px 8px; border-radius: 18px; font-size: var(--text-sm); line-height: 1.45; opacity: 1; transform: none; animation: none; display: grid; gap: 2px; transform-origin: bottom left; }
.chat-lab .msg small { justify-self: end; font-family: var(--font-mono); font-size: .6rem; opacity: .55; }
.chat-lab .msg .ticks { font-weight: 400; letter-spacing: -.2em; }
.chat-lab .msg.bot { background: var(--surface-2); border-bottom-left-radius: 6px; }
.chat-lab .msg.user { background: var(--solid-bg); color: var(--solid-text); border-bottom-right-radius: 6px; transform-origin: bottom right; }
.mw.open .msg { animation: bubble .6s var(--spring) both; }
@keyframes bubble { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.mw.bot .msg-t span { opacity: 0; transition: opacity .35s ease; }
.mw.bot.open .msg-t span { opacity: 1; transition-delay: calc(.15s + var(--i) * .045s); }
.dots { display: inline-flex; gap: 4px; padding: 6px 2px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1.1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
.chat-quick { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; min-height: 66px; align-items: center; }
.chat-quick::-webkit-scrollbar { display: none; }
.qr { flex: 0 0 auto; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .82rem; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s, transform .5s var(--spring), border-color .3s, background .3s; }
.chat-quick.on .qr { opacity: 1; transform: none; pointer-events: auto; transition-delay: calc(var(--i) * .08s); }
.qr:hover { border-color: var(--text); }

/* ---------- live CRM dashboard ---------- */
.crm-lab { gap: 12px; }
.crm-top { display: flex; align-items: center; gap: 12px; }
.crm-top b { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; font-weight: 500; }
.crm-search { flex: 1; min-width: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; color: var(--muted); }
.crm-live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: blink 1.6s ease-in-out infinite; }
.crm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.crm-kpis > div { padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.crm-kpis small { font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-kpis b { font-size: clamp(1rem, .8rem + 1vw, 1.5rem); font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.crm-chart { height: 64px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.crm-chart svg { width: 100%; height: 100%; }
.crm-chart .line { stroke: var(--text); stroke-width: 1.6; fill: none; vector-effect: non-scaling-stroke; }
.crm-chart .area { fill: color-mix(in srgb, var(--text) 9%, transparent); }
.crm-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.crm-lab .crm-col { position: relative; display: grid; align-content: start; gap: 8px; padding: 10px 8px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); min-height: 236px; min-width: 0; }
.crm-col-h { position: static; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 2px 4px 4px; }
.crm-col-h em { font-style: normal; color: var(--text); }
.crm-cards { display: grid; gap: 8px; }
.crm-lab .deal { position: relative; opacity: 1; animation: none; padding: 9px 10px 11px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 6px; overflow: hidden; will-change: transform; }
.deal-top, .deal-bot { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.deal-top b { font-size: .76rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src { flex: 0 0 auto; font-family: var(--font-mono); font-size: .56rem; padding: 2px 6px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.deal-bot small { font-family: var(--font-mono); font-size: .64rem; color: var(--muted); }
.who { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--solid-bg); color: var(--solid-text); font-size: .5rem; font-family: var(--font-mono); flex: 0 0 auto; }
.deal-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 30%; background: var(--line-strong); transition: width .8s var(--ease), background .5s; }
.crm-col[data-c="1"] .deal-bar { width: 65%; background: var(--muted); }
.deal.paid .deal-bar { width: 100%; background: var(--text); }
.deal.paid { border-color: var(--line-strong); }
.crm-note { justify-self: center; font-size: .78rem; padding: 8px 14px; border-radius: 999px; background: var(--solid-bg); color: var(--solid-text); opacity: 0; transform: translateY(8px); min-height: 1em; }
.crm-note.on { animation: noteIn 2.2s var(--spring) both; }
@keyframes noteIn { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 560px) { .who, .src { display: none; } .crm-lab .crm-col { padding: 8px 6px; min-height: 210px; } .deal-top b { font-size: .7rem; } .crm-kpis > div { padding: 10px; } }
@media (min-width: 900px) { .demo-crm { grid-column: 1 / -1; } }

/* ---------- launch: dim, rocket, starry space ---------- */
.launch { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: rgba(3,3,5,0); transition: background 1s ease; overflow: hidden; }
.launch.dim { background: rgba(3,3,5,.9); pointer-events: auto; }
.launch.leave { background: rgba(3,3,5,0); }
.launch-sky { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.launch.dim .launch-sky { opacity: 1; }
.launch.leave .launch-sky, .launch.leave .rocket { opacity: 0; transition: opacity .6s; }
.rocket { position: absolute; left: 50%; top: 0; width: clamp(64px, 9vw, 86px); transform: translate(-50%, 115vh); transition: transform 1.2s var(--spring-soft); will-change: transform; }
.launch.ignite .rocket { transform: translate(-50%, calc(100vh - clamp(64px, 9vw, 86px) * 2.4 - 40px)); }
.launch.fly .rocket { transform: translate(-50%, 12vh); transition: transform 2.7s cubic-bezier(.6,0,.2,1); }
.rocket-body { position: relative; }
.rocket-body svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 18px rgba(243,243,241,.18)); }
.launch.ignite:not(.fly) .rocket-body { animation: shake .09s linear infinite; }
.launch.hover .rocket-body { animation: hoverBob 3.6s ease-in-out infinite; }
@keyframes shake { 0% { transform: translate(0,0); } 25% { transform: translate(-1px,1px); } 50% { transform: translate(1px,0); } 75% { transform: translate(0,-1px); } }
@keyframes hoverBob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-12px) rotate(1.2deg); } }
.flame { position: absolute; left: 50%; top: 81%; width: 28%; height: 60%; transform: translateX(-50%) scaleY(0); transform-origin: top; transition: transform .6s var(--spring); }
.flame i { position: absolute; inset: 0; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; background: radial-gradient(ellipse at 50% 20%, #fff 0%, rgba(255,255,255,.85) 25%, rgba(255,214,170,.45) 55%, transparent 75%); filter: blur(1px); animation: flick .12s ease-in-out infinite alternate; }
.flame i:nth-child(2) { inset: 10% 20% -40%; opacity: .5; filter: blur(5px); animation-duration: .18s; }
.launch.ignite .flame { transform: translateX(-50%) scaleY(1); }
.launch.fly:not(.hover) .flame { transform: translateX(-50%) scaleY(1.8); }
.launch.hover .flame { transform: translateX(-50%) scaleY(.75); }
@keyframes flick { from { transform: scaleX(.86) scaleY(.94); } to { transform: scaleX(1.06) scaleY(1.06); } }
.launch-card { position: absolute; left: 50%; top: calc(12vh + clamp(64px, 9vw, 86px) * 2.2 + 24px); width: min(520px, calc(100% - 32px)); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; padding: 26px; border-radius: 26px; border: 1px solid rgba(243,243,241,.22); background: rgba(14,14,16,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #f3f3f1; text-align: center; display: grid; justify-items: center; gap: 12px; transition: opacity .7s ease, transform .9s var(--spring); }
.launch.card .launch-card { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.launch-card .eyebrow { color: #9a9a95; }
.launch-card h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.05; }
.launch-text { color: #b4b4ae; font-size: var(--text-sm); max-width: 40ch; }
.launch-card .send-row { margin-top: 6px; }
.launch-card .pill { color: #f3f3f1; border-color: rgba(243,243,241,.45); white-space: normal; }
.launch-card .pill-solid { background: #f3f3f1; color: #0c0c0c; border-color: #f3f3f1; }
.launch-card .link { color: #9a9a95; }
@media (max-width: 560px) { .launch-card { padding: 20px 16px; } .launch-card .send-row { display: grid; width: 100%; } }
@media (max-height: 700px) { .launch.fly .rocket { transform: translate(-50%, 6vh); } .launch-card { top: calc(6vh + clamp(64px, 9vw, 86px) * 2 + 12px); } }

/* ---------- mobile polish ---------- */
@media (max-width: 760px) {
  .st-head { gap: 10px; }
  .st-title { font-size: clamp(1.7rem, 1.2rem + 3vw, 2.2rem); }
  .st-lead { font-size: .95rem; }
  .st-num { font-size: clamp(5rem, 30vw, 8rem); opacity: .7; }
  .node { width: 30px; height: 30px; left: calc(var(--rail-x) - 15px); }
  .st-sweep { top: calc(clamp(36px, 7vw, 90px) + 15px); }
  .next-row { padding: 14px; }
  .next-row .pill { width: 100%; }
  .confirm-actions { justify-content: stretch; }
  .confirm-actions .pill { flex: 1 1 100%; }
  .confirm-actions .link { order: 2; margin: 0 auto; }
  .svc-main { padding: 18px 18px 12px; }
  .svc-foot { padding: 10px 18px 14px; }
  .gantt { --name: 100px; }
  .sum { padding: 4px 16px; }
  .sum-row { grid-template-columns: 74px 1fr; }
  .sum-row .link { grid-column: 2; justify-self: start; margin-top: -4px; }
  .order { padding: 18px; }
  .route-sound .rs-body { padding: 16px; }
  .route { padding-bottom: 80px; }
  .lab { padding: 16px; }
  .chat-lab { padding: 0; }
  .chat-body { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-title .w > span, .st-lead, .st-head .eyebrow, .st-body { transform: none !important; opacity: 1 !important; animation: none !important; }
  .start-pulse .wave { display: none; }
}
/* compact strip cards on phones: several variants visible in one field */
@media (max-width: 760px) {
  .loop-track { gap: 10px; padding: 8px var(--pad) 14px 2px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 82%, transparent); }
  .loop-track .opt { flex-basis: clamp(176px, 54vw, 230px); min-height: 150px; grid-template-columns: 1fr; padding: 16px 16px 18px; gap: 6px; align-content: start; }
  .loop-track .opt-icon { grid-row: auto; width: 32px; height: 32px; margin: 0 0 8px; }
  .loop-track .opt-title { font-size: 1.02rem; padding-right: 26px; }
  .loop-track .opt-text { font-size: .82rem; }
  .loop-track .opt-mark { top: 14px; right: 14px; width: 24px; height: 24px; }
}
.lab header.crm-top, .lab header.chat-head { display: flex; }
@media (max-width: 560px) {
  .deal-top b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; font-size: .68rem; }
  .deal-bot small { font-size: .6rem; }
  .crm-search { display: none; }
  .crm-top { justify-content: space-between; }
}

/* ================= v4: operator offer + finale ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.op-open, html.op-open body { overflow: hidden; }
.op { position: fixed; inset: 0; z-index: 92; display: grid; place-items: center; color: #f3f3f1; font-family: var(--font-sans); }
.op-veil { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 45%, rgba(8,8,10,.86), rgba(3,3,5,.96)); opacity: 0; transition: opacity .7s ease; }
.op.on .op-veil { opacity: 1; }
.op.away .op-veil { opacity: 0; transition: opacity .9s ease .35s; }
.op-scene { position: relative; width: min(760px, calc(100% - 28px)); display: grid; justify-items: center; gap: clamp(26px, 5vh, 46px); text-align: center; transition: opacity .6s ease, transform .8s var(--ease), filter .6s ease; }
.op-title { margin: 0; max-width: 30ch; font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.2; }
.op-title span { display: inline; opacity: 0; filter: blur(10px); text-shadow: 0 0 24px rgba(243,243,241,.0); transition: opacity 1.1s ease, filter 1.1s ease, text-shadow 1.6s ease; }
.op.on .op-title span { opacity: 1; filter: blur(0); text-shadow: 0 0 22px rgba(243,243,241,.28); transition-delay: 2s; }
.op.on .op-title span + span { transition-delay: 2.35s; color: #b4b4ae; }
.op-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 6vw, 80px); width: 100%; }
.op-actor { display: grid; justify-items: center; gap: 18px; }
.op-fly { position: relative; display: grid; place-items: center; width: clamp(118px, 22vw, 180px); aspect-ratio: 1; transform: translate(-120vw, 8vh) scale(.5); }
.op.on .op-fly { animation: opFlyIn 1.7s cubic-bezier(.22,.9,.3,1) .25s both; }
.op.on .op-a-ufo .op-fly { animation-delay: .75s; }
@keyframes opFlyIn {
  0% { transform: translate(-120vw, 10vh) scale(.5) rotate(-8deg); }
  35% { transform: translate(-55vw, -6vh) scale(.75) rotate(4deg); }
  70% { transform: translate(5vw, 2vh) scale(1.04) rotate(-2deg); }
  86% { transform: translate(-1.5vw, -1vh) scale(.99) rotate(1deg); }
  100% { transform: translate(0, 0) scale(1) rotate(0); }
}
.op-trail { position: absolute; right: 50%; top: 50%; width: 46vw; height: 2px; transform: translateY(-50%); background: linear-gradient(90deg, transparent, rgba(243,243,241,.5)); filter: blur(1.5px); opacity: 0; pointer-events: none; }
.op.on .op-trail { animation: opTrail 1.7s ease .25s both; }
.op.on .op-a-ufo .op-trail { animation-delay: .75s; }
@keyframes opTrail { 0% { opacity: 0; } 20% { opacity: .9; } 70% { opacity: .5; } 100% { opacity: 0; } }
.op-blob { width: 100%; height: 100%; animation: blobBreath 3.2s ease-in-out infinite; }
@keyframes blobBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.op-ufo { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 16px rgba(243,243,241,.2)); animation: ufoBob 3.6s ease-in-out infinite; }
@keyframes ufoBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-9px) rotate(3deg); } }
.ufo-beam { animation: beam 2.4s ease-in-out infinite; transform-origin: 80px 66px; }
@keyframes beam { 0%, 100% { opacity: .5; transform: scaleX(.9); } 50% { opacity: 1; transform: scaleX(1.05); } }
.ufo-lights circle { animation: ufoLight 1.4s ease-in-out infinite; }
.ufo-lights circle:nth-child(2) { animation-delay: .2s; } .ufo-lights circle:nth-child(3) { animation-delay: .4s; } .ufo-lights circle:nth-child(4) { animation-delay: .6s; } .ufo-lights circle:nth-child(5) { animation-delay: .8s; }
@keyframes ufoLight { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.op-actor .pill { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .8s var(--spring); color: #f3f3f1; border-color: rgba(243,243,241,.45); padding: 12px 18px; }
.op-actor .pill-solid { background: #f3f3f1; color: #0c0c0c; border-color: #f3f3f1; }
.op.on .op-actor .pill { opacity: 1; transform: none; transition-delay: 2.7s; }
.op.on .op-a-ufo .pill { transition-delay: 2.85s; }
.op.on .op-a-ufo .pill-solid { animation: opCall 2.6s ease-in-out 3.6s infinite; }
@keyframes opCall { 0%, 100% { box-shadow: 0 0 0 0 rgba(243,243,241,.35); } 50% { box-shadow: 0 0 0 10px rgba(243,243,241,0); } }
/* «Самостоятельно»: they fly apart */
.op.away .op-a-blob .op-fly { animation: opAwayL 1.1s cubic-bezier(.5,0,.75,0) both; }
.op.away .op-a-ufo .op-fly { animation: opAwayR 1.1s cubic-bezier(.5,0,.75,0) .05s both; }
@keyframes opAwayL { from { transform: none; } 30% { transform: translate(3vw, 1vh) scale(1.05); } to { transform: translate(-90vw, -55vh) scale(.4) rotate(-20deg); opacity: 0; } }
@keyframes opAwayR { from { transform: none; } 30% { transform: translate(-3vw, 1vh) scale(1.05); } to { transform: translate(90vw, -65vh) scale(.4) rotate(22deg); opacity: 0; } }
.op.away .op-title, .op.away .op-actor .pill { opacity: 0 !important; transform: translateY(-10px); transition: opacity .4s ease, transform .5s ease; transition-delay: 0s !important; animation: none !important; }
.op.away .op-title span { transition-delay: 0s; opacity: 0; }
/* «Оператор»: scene steps back, dialog opens */
.op.chatting .op-scene { opacity: 0; transform: scale(.94) translateY(-20px); filter: blur(6px); pointer-events: none; }
.op-chat { position: absolute; left: 50%; top: 50%; width: min(460px, calc(100% - 24px)); max-height: calc(100% - 32px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 28px; border: 1px solid rgba(243,243,241,.2); background: rgba(16,16,18,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset; opacity: 0; transform: translate(-50%, -46%) scale(.9); pointer-events: none; transition: opacity .5s ease, transform .8s var(--spring); overflow: hidden; }
.op.chatting .op-chat { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; transition-delay: .25s; }
.op-chat::before { content: ""; position: absolute; inset: -40% -20% auto; height: 70%; background: radial-gradient(closest-side, rgba(243,243,241,.08), transparent); pointer-events: none; }
.op-chat-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid rgba(243,243,241,.1); }
.op-ava { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(243,243,241,.3); background: #0c0c0c; }
.op-ava svg { width: 30px; height: auto; }
.op-ava i { position: absolute; right: 1px; bottom: 2px; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px #121214; }
.op-chat-who { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.op-chat-who b { font-weight: 500; font-size: 1rem; }
.op-chat-who small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: #8c8c87; text-transform: lowercase; transition: color .3s; }
.op.typing .op-chat-who small { color: #f3f3f1; }
.op-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,243,241,.2); background: none; color: #f3f3f1; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .3s var(--spring); }
.op-x:hover { border-color: #f3f3f1; transform: rotate(90deg); }
.op-x svg { width: 16px; height: 16px; }
.op-msgs { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px 16px; min-height: 150px; overflow-y: auto; overscroll-behavior: contain; }
.op-msg { align-self: flex-start; max-width: 86%; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: #1f1f22; border: 1px solid rgba(243,243,241,.08); font-size: .98rem; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.98); transform-origin: left bottom; transition: opacity .4s ease, transform .6s var(--spring); }
.op-msg.in, .op-typing { opacity: 1; transform: none; }
.op-msg p { margin: 0; }
.op-msg span { opacity: 0; transition: opacity .25s ease; }
.op-msg span.on { opacity: 1; }
.op-msg.me { align-self: flex-end; background: #f3f3f1; color: #0c0c0c; border-radius: 18px 18px 6px 18px; transform-origin: right bottom; }
.op-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.op-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a95; animation: dot 1s infinite; }
.op-typing i:nth-child(2) { animation-delay: .15s; } .op-typing i:nth-child(3) { animation-delay: .3s; }
.op-form { display: grid; gap: 10px; padding: 0 16px 16px; max-height: 0; opacity: 0; transform: translateY(12px); transition: max-height .8s var(--ease), opacity .5s ease .1s, transform .7s var(--spring); overflow: hidden; }
.op-form.on { max-height: 520px; opacity: 1; transform: none; }
.op-form textarea, .op-form input { width: 100%; font: inherit; font-size: 16px; color: #f3f3f1; background: rgba(255,255,255,.04); border: 1px solid rgba(243,243,241,.18); border-radius: 16px; padding: 12px 14px; resize: none; outline: none; transition: border-color .2s, background .2s; }
.op-form textarea:focus, .op-form input:focus { border-color: rgba(243,243,241,.6); background: rgba(255,255,255,.06); }
.op-form ::placeholder { color: #75756f; }
.op-err { margin: 0; color: #ff9a8a; font-size: .82rem; }
.op-send { display: flex; flex-wrap: wrap; gap: 8px; }
.op-send .pill { flex: 1 1 auto; color: #f3f3f1; border-color: rgba(243,243,241,.4); min-height: 44px; padding: 10px 14px; }
.op-send .pill-solid { flex-basis: 100%; background: #f3f3f1; color: #0c0c0c; border-color: #f3f3f1; min-height: 50px; }
.op-send .pill-solid:disabled { opacity: .6; cursor: default; }
.op-or { flex-basis: 100%; margin: 6px 0 0; text-align: center; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #9a9a95; }
.op-form .link { justify-self: center; color: #9a9a95; }
@media (max-width: 560px) {
  .op-actor .pill { padding: 11px 12px; font-size: .68rem; letter-spacing: .06em; }
  .op-pair { gap: 8px; }
  .op-chat { border-radius: 24px; }
}

/* ---------- finale: elements fly apart, launch-pad smoke, star-dust lettering ---------- */
.scatter-out { transition: transform 1.05s cubic-bezier(.55,0,.75,.2) var(--sd, 0ms), opacity .8s ease var(--sd, 0ms), filter .8s ease var(--sd, 0ms) !important; transform: translate(var(--sx, 0), var(--sy, 0)) rotate(var(--sr, 0)) scale(.86) !important; opacity: 0 !important; filter: blur(3px); pointer-events: none !important; animation: none !important; }
#dock.scatter-out { transform: translate(calc(-50% + var(--sx, 0px)), var(--sy, 0)) rotate(var(--sr, 0)) scale(.86) !important; }
.rocket { opacity: 0; }
.launch.ready .rocket { opacity: 1; transform: translate(-50%, calc(100vh - clamp(64px, 9vw, 86px) * 2.4 - 40px)); transition: transform 1.3s var(--spring-soft), opacity .6s ease; }
.launch.fly .rocket { transform: translate(-50%, 7vh); }
.launch.hover .rocket-body { animation: floatSway 6s ease-in-out infinite; }
@keyframes floatSway { 0% { transform: translate(0, 0) rotate(-2.5deg); } 25% { transform: translate(5px, -9px) rotate(1deg); } 50% { transform: translate(0, -14px) rotate(3deg); } 75% { transform: translate(-5px, -6px) rotate(.5deg); } 100% { transform: translate(0, 0) rotate(-2.5deg); } }
.launch-dust { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; touch-action: none; cursor: crosshair; }
.launch-dust.on { opacity: 1; }
.launch-card { top: var(--card-top, calc(12vh + clamp(64px, 9vw, 86px) * 2.2 + 24px)); }
@media (max-height: 700px) { .launch.fly .rocket { transform: translate(-50%, 4vh); } }
@media (prefers-reduced-motion: reduce) {
  .op.on .op-fly, .op.away .op-fly { animation: none; transform: none; }
  .op.on .op-title span, .op.on .op-actor .pill { transition-delay: 0s !important; }
  .scatter-out { transition: none !important; }
}
.launch.fly .rocket { transition: transform 2.7s cubic-bezier(.6,0,.2,1), opacity .6s ease; }
.launch.ready.leave .rocket { opacity: 0; }
.launch.hover { background: rgb(2,2,4); }
.op-ufo { width: 118%; max-width: none; }
@media (max-width: 560px) { .launch-card { gap: 8px; } .launch-card .launch-text { font-size: .84rem; } }

/* ================= TEAM: member opens a contact window ================= */
.member { width: 100%; text-align: left; transition: border-color .3s, transform .5s var(--spring), background .3s; }
.member:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.member:active { transform: scale(.985); }
.member-go { margin-left: auto; align-self: flex-start; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .3s; }
.member:hover .member-go { color: var(--text); }
@media (max-width: 420px) { .member { flex-wrap: wrap; } .member-go { margin-left: 72px; } }
.modal-card.member-card { width: min(480px, 100%); grid-template-columns: 1fr; }
.member-card .modal-body { justify-items: start; gap: 12px; }
.member-ava { width: 72px; height: 72px; flex: 0 0 72px; }
.member-role { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.member-mine { display: grid; gap: 4px; color: var(--text) !important; font-size: var(--text-sm); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); width: 100%; }
.member-send { justify-content: flex-start; margin-top: 4px; }
.modal-body .member-send .pill { justify-self: auto; }

/* ================= LAUNCH: sent state + «ПРИКОСНИСЬ» hint ================= */
.pill.sent-ok { opacity: 1; cursor: default; }
.dust-hint { position: absolute; left: 50%; top: var(--hint-top, 50%); transform: translate(-50%, 8px); display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(243,243,241,.72); pointer-events: none; opacity: 0; transition: opacity .9s ease, transform 1s var(--spring); white-space: nowrap; }
.dust-hint i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #f3f3f1; }
.dust-hint i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(243,243,241,.6); animation: hintRing 2s ease-out infinite; }
@keyframes hintRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.launch.dusting .dust-hint { opacity: 1; transform: translate(-50%, 0); animation: hintBreath 2.6s ease-in-out 1s infinite; }
.launch.dusting.touched .dust-hint { opacity: 0; animation: none; transition-duration: .5s; }
@keyframes hintBreath { 50% { color: rgba(243,243,241,.4); } }
@media (prefers-reduced-motion: reduce) { .dust-hint i::after, .launch.dusting .dust-hint { animation: none; } }

/* ================= ASSISTANT: scrollable dialog + what it does by itself ================= */
.chat-intro { margin: 0; padding: 12px 18px; font-size: var(--text-sm); color: var(--muted); border-bottom: 1px solid var(--line); line-height: 1.5; }
.chat-intro b { color: var(--text); font-weight: 500; }
.chat-wrap { position: relative; }
.chat-lab .chat-body { justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 36px); mask-image: linear-gradient(to bottom, transparent, #000 36px); }
.chat-lab .chat-body:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.chat-lab .chat-list { margin-top: auto; }
.chat-new { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: var(--solid-bg); color: var(--solid-text); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; box-shadow: var(--shadow); animation: chatNew .4s var(--spring); }
@keyframes chatNew { from { opacity: 0; transform: translate(-50%, 10px); } }
.mw.sys .mw-in { justify-content: center; }
.sys { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px 8px; max-width: 92%; padding: 6px 12px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--text); font-size: .74rem; line-height: 1.35; text-align: center; }
.sys-ico { font-family: var(--font-mono); }
.sys small { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mw.open .sys { animation: bubble .6s var(--spring) both; }
.chat-auto { list-style: none; margin: 0; display: flex; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.chat-auto::-webkit-scrollbar { display: none; }
.chat-auto li { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); transition: color .4s, border-color .4s, background .4s; }
.chat-auto li i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.chat-auto li i .ck { width: 11px; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s var(--spring); }
.chat-auto li.on { color: var(--text); border-color: var(--line-strong); }
.chat-auto li.on i { background: var(--solid-bg); border-color: var(--solid-bg); color: var(--solid-text); }
.chat-auto li.on i .ck { opacity: 1; transform: none; }
.lab-full { justify-self: center; margin: 4px 0 14px; }
.crm-lab .lab-full { margin: 0; }

/* ================= CRM: stages in plain words, narrated deal, clickable cards ================= */
.crm-intro { margin: 0; font-size: var(--text-sm); color: var(--muted); line-height: 1.5; }
.crm-intro b { color: var(--text); font-weight: 500; }
.crm-tip { color: var(--text); white-space: nowrap; }
.crm-kpis em { font-style: normal; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-chart { position: relative; }
.crm-chart-cap { position: absolute; left: 12px; top: 8px; font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.crm-col-h { align-items: center; gap: 6px; justify-content: flex-start; }
.crm-col-h em { margin-left: auto; }
.crm-step { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; display: grid; place-items: center; background: var(--solid-bg); color: var(--solid-text); font-size: .58rem; letter-spacing: 0; }
.crm-col-hint { font-size: .66rem; line-height: 1.3; color: var(--faint); padding: 0 4px 2px; min-height: 2.6em; }
.crm-lab .deal { width: 100%; text-align: left; cursor: pointer; transition: border-color .3s, box-shadow .4s; }
.crm-lab .deal:hover { border-color: var(--text); }
.crm-lab .deal.spot { border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 18%, transparent); }
.crm-lab .crm-note { border-radius: 14px; text-align: center; max-width: 100%; line-height: 1.4; opacity: 1; transform: none; min-height: 2.6em; display: grid; place-items: center; }
.crm-lab .crm-note.on { animation: noteSwap .55s var(--spring) both; }
.crm-note b { font-weight: 600; }
@keyframes noteSwap { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.crm-lab { position: relative; }
.crm-pop { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 16px; border-radius: inherit; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.crm-pop-in { width: min(380px, 100%); display: grid; gap: 12px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); animation: rise .45s var(--spring); }
.crm-pop-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.crm-pop-h b { font-size: var(--text-lg); font-weight: 500; }
.crm-pop-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.crm-pop dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crm-pop dl div { padding: 8px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.crm-pop dt { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crm-pop dd { margin: 0; font-size: .82rem; }
.crm-hist { list-style: none; margin: 0; padding: 0 0 0 14px; display: grid; gap: 6px; border-left: 1px solid var(--line-strong); font-size: .8rem; }
.crm-hist li { position: relative; display: flex; gap: 10px; }
.crm-hist li::before { content: ""; position: absolute; left: -18px; top: .45em; width: 7px; height: 7px; border-radius: 50%; background: var(--text); }
.crm-hist time { font-family: var(--font-mono); font-size: .66rem; color: var(--muted); padding-top: .15em; }
.crm-pop .pill { justify-self: start; }
.crm-done { margin: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 560px) { .crm-col-hint { display: none; } .crm-tip { white-space: normal; } }
