/* ══════════════════════════════════════════════════════════════
   GEOTECH — slate ground, blue glow, hard cuts.
   Every section is one pinned "stage"; script.js scrubs it.
   ══════════════════════════════════════════════════════════════ */
:root {
  --bg: #020617;
  --ink: #fff;
  --pink: #38bdf8;
  --hot: #3b82f6;
  --yellow: #60a5fa;
  --mint: #34d399;
  --sky: #38bdf8;
  --lilac: #818cf8;
  --peach: #22d3ee;
  --sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --hand: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --rainbow: linear-gradient(90deg, #3b82f6, #818cf8, #38bdf8, #22d3ee, #34d399, #60a5fa, #3b82f6);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); scroll-behavior: auto; overflow-x: clip; }
body {
  font-family: var(--sans); font-weight: 500; line-height: 1.3;
  background: var(--bg); color: var(--ink); overflow-x: clip;
  -webkit-font-smoothing: antialiased; cursor: none;
  max-width: 100%;
}
img { display: block; max-width: 100%; height: auto; }
.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;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }
/* keep filter region paintable — 0×0 + overflow:hidden blanks url(#toon) in some engines */
.svgdefs { position: absolute; width: 0; height: 0; overflow: visible; }
@media (hover: none), (pointer: coarse) { body, button { cursor: auto; } }

/* ── shared marks ─────────────────────────────────────────── */
.mark {
  font-family: var(--hand); font-weight: 400; letter-spacing: 0.02em; line-height: 1;
  display: inline-flex; align-items: baseline;
}
.mark i { font-style: normal; display: inline-block; }
.badge {
  display: inline-grid; place-items: center; position: relative;
  width: 1.15em; height: 1.15em; border-radius: 0.28em; background: #fff; color: #000;
  font-family: 'Arial Black', var(--sans); font-weight: 900; font-size: 0.72em;
  vertical-align: middle; margin-left: 0.32em; box-shadow: 0 0 0.6em rgba(255,255,255,0.35);
}
.badge b { font-size: 0.66em; letter-spacing: -0.02em; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5em; height: 40px; padding: 0 20px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, transform .25s;
}
.pill:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.pill--white { background: #fff; color: #000; border-color: #fff; }
.pill--white:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
/* Header lockup: media/logo-header.* is 200×48 (ratio 25:6). Scale with height only — never max-width + fixed height. */
.brand-logo {
  display: block; flex-shrink: 0;
  width: auto; height: 48px; max-width: none;
  aspect-ratio: 25 / 6; object-fit: contain;
}
.brand-logo--sm { height: 28px; width: auto; max-width: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; flex-shrink: 0; display: block; }
.brand-mark--sm { width: 28px; height: 28px; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.05; margin-left: 12px; }
.brand-lockup b { font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-lockup i { font-style: normal; font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.55); letter-spacing: 0.02em; }
.brand-lockup--sm { margin-left: 10px; }
.brand-lockup--sm b { font-size: 13px; }
.brand-lockup--sm i { font-size: 9px; }
.badge--mark { background: transparent !important; box-shadow: none; overflow: hidden; border-radius: 50%; padding: 0; }
.badge--mark img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 50%; }
.glass-pill {
  display: inline-block; padding: 0.42em 1.05em; border-radius: 999px; font-size: 14px; font-weight: 500;
  color: #fff; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 6px 30px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(255,255,255,0.08);
  text-shadow: 0 0 12px rgba(255,255,255,0.5); white-space: nowrap;
}
.glass-pill--lg { font-size: clamp(16px, 1.6vw, 24px); padding: 0.45em 1.2em; }
.glass-pill em { font-style: normal; }
.stage-cue {
  position: absolute; left: max(16px, 3vw); top: max(72px, 10vh); z-index: 4;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  /* Opaque slate chip: white/sky on --hot (#3b82f6) never hits 4.5:1 when the ground fills. */
  color: #e0f2fe; background: #0b1224; padding: 0.35em 0.7em; border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.22); pointer-events: none;
}
.stage-note {
  position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%);
  z-index: 4; opacity: 0; max-width: 90vw; text-align: center;
  font-size: clamp(12px, 1.1vw, 15px); letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8); pointer-events: none;
}
.wash {
  position: absolute; inset: -20%; pointer-events: none; opacity: 0;
  background:
    radial-gradient(40% 50% at 20% 30%, #ff8ad4 0, transparent 70%),
    radial-gradient(45% 45% at 75% 25%, #7ec6ff 0, transparent 70%),
    radial-gradient(45% 55% at 30% 80%, #b18cff 0, transparent 70%),
    radial-gradient(40% 40% at 80% 75%, #7dffb2 0, transparent 70%),
    radial-gradient(60% 60% at 50% 50%, #ffe86a 0, transparent 70%);
  filter: blur(22px);
}
.toon { filter: url(#toon); }

/* ── preloader ────────────────────────────────────────────── */
.pre {
  position: fixed; inset: 0; z-index: 90; background: #000; display: grid; place-items: center;
  overflow: hidden;
}
.pre.is-done { display: none; }
.pre__intro, .pre__brand { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pre__brand { opacity: 0; }
.pre__word {
  font-weight: 600; font-size: clamp(34px, 5.2vw, 76px); letter-spacing: -0.03em; white-space: nowrap;
  display: inline-block; transform-origin: 50% 50%;
}
.pre__word i { font-style: normal; display: inline-block; color: #fff; will-change: color, text-shadow; }
.pre__brand .mark { font-size: clamp(44px, 6.4vw, 92px); color: #fff; align-items: center; }
.pre__brand .mark i { transform-origin: 50% 80%; opacity: 0; }
.pre__brand .badge { font-size: clamp(44px, 6.4vw, 92px); opacity: 0; transform: scale(0.2); background: var(--hot); margin-left: 0.45em; }
.pre__brand .badge b { opacity: 0; }
.cf { position: absolute; width: 0.1em; height: 0.1em; border-radius: 0.02em; opacity: 0; transform: scale(0); }
.cf1 { left: -0.14em; top: -0.1em; background: var(--yellow); }
.cf2 { right: -0.16em; top: 0.1em; background: var(--sky); width: 0.06em; height: 0.06em; }
.cf3 { right: -0.12em; bottom: -0.1em; background: var(--pink); }
.cf4 { left: -0.1em; bottom: 0.15em; background: var(--mint); width: 0.06em; height: 0.06em; }
.cf5 { right: -0.3em; top: -0.16em; background: var(--yellow); width: 0.05em; height: 0.05em; }
.pre__skip {
  position: absolute; right: 28px; bottom: 24px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14);
}
.pre__skip:hover { color: #fff; }

/* ── cursor ───────────────────────────────────────────────── */
.cur, .cur-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 100; opacity: 0; will-change: transform; }
.cur { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cur-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.7);
  display: grid; place-items: center; transition: width .25s, height .25s, margin .25s, background .25s, border-color .25s;
}
.cur-ring span { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cur-ring.is-active { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: #fff; border-color: #fff; }
.cur-ring.is-active span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cur, .cur-ring { display: none; } }

/* ── HUD ──────────────────────────────────────────────────── */
.hud {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 72px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; mix-blend-mode: normal;
  pointer-events: none;
}
.hud > * { pointer-events: auto; }
.hud__brand { display: inline-flex; align-items: center; font-size: 26px; color: #fff; gap: 0; }
.hud__brand picture { display: contents; }
.hud__brand .badge { font-size: 26px; }
.hud__actions { display: flex; align-items: center; gap: 10px; }
.hud__sound {
  width: 36px; height: 36px; padding: 0; border-radius: 999px;
  display: grid; place-items: center; flex: none;
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #bfdbfe; background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .25s, border-color .25s, color .25s;
}
.hud__sound-ico { display: block; }
.hud__sound-off { display: none; }
.hud__sound.is-muted .hud__sound-on { display: none; }
.hud__sound.is-muted .hud__sound-off { display: inline; }
.hud__sound:hover, .hud__sound:focus-visible {
  background: rgba(30, 58, 138, 0.55); border-color: rgba(96, 165, 250, 0.7); color: #fff; outline: none;
}
.hud__sound:not(.is-muted) {
  border-color: rgba(56, 189, 248, 0.55); color: #e0f2fe;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 0 18px rgba(37, 99, 235, 0.25);
}
.hud__sound.is-muted { color: rgba(191, 219, 254, 0.65); }
.hud__cta { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.hud__cta:hover { background: #1e3a8a; border-color: #1e3a8a; }
.hud__nav { display: flex; gap: 28px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75); }
.hud__nav a { position: relative; padding: 6px 0; }
.hud__nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: #fff; transition: right .3s; }
.hud__nav a:hover::after { right: 0; }
.rail { position: fixed; left: 0; top: 0; bottom: 0; width: 3px; z-index: 60; background: rgba(255,255,255,0.06); }
.rail i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--rainbow); background-size: 100% 600%; transform-origin: 50% 0; transform: scaleY(0); }
@media (max-width: 900px) {
  .hud__nav { display: none; }
  .hud { padding: 0 14px; height: 60px; gap: 10px; }
  .brand-logo { height: 36px; width: auto; max-width: none; } /* display ~150×36 */
  .hud__cta { height: 34px; padding: 0 14px; font-size: 12px; flex-shrink: 0; }
  .hud__sound { width: 32px; height: 32px; }
}
@media (max-width: 400px) {
  .hud { padding: 0 10px; }
  .brand-logo { height: 30px; width: auto; max-width: none; } /* display ~125×30 */
  .hud__cta { padding: 0 12px; font-size: 11px; }
}

/* ── stages ───────────────────────────────────────────────── */
.sec { position: relative; background: var(--bg); }
.stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.abs { position: absolute; inset: 0; }

/* 01 hero */
.hero__ground { position: absolute; inset: 0; background: var(--hot); opacity: 0; }
.phone {
  position: absolute; left: 50%; top: 50%; width: 22vh; height: 46vh; margin: -23vh 0 0 -11vh;
  border-radius: 3.6vh; background: #111; padding: 0.7vh; box-shadow: 0 0 0 0.35vh #2a2a2a, 0 3vh 6vh rgba(0,0,0,0.35);
  opacity: 0; transform-origin: 50% 0%;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 3vh; overflow: hidden; background: #222; }
.phone__screen::before {
  content: ''; position: absolute; left: 50%; top: 0.9vh; width: 3.4vh; height: 1vh; margin-left: -1.7vh; border-radius: 0.6vh; background: #000; z-index: 4;
}
.phone__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__img--toon { opacity: 0; filter: url(#toon); }
.phone .glass-pill { position: absolute; left: 50%; top: 9.5%; transform: translate(-50%, 0); font-size: 0.85vh; padding: 0.4em 1.1em; border-width: 0.5px; opacity: 0; z-index: 5; }
.phone .wash { z-index: 3; }
.toonplate {
  position: absolute; left: 50%; top: 50%; width: 100vw; height: 100vh; transform: translate(-50%, -50%);
  overflow: hidden; border-radius: 0; opacity: 0; will-change: width, height, border-radius;
  box-shadow: 0 0 0 0 rgba(255,255,255,0);
}
.toonplate img { width: 100%; height: 100%; object-fit: cover; filter: url(#toon); }
.toonplate__rim { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), inset 0 0 40px rgba(255,255,255,0.25); opacity: 0; }
.squiggle {
  position: absolute; left: 50%; top: 50%; width: 76vh; height: 76vh; transform: translate(-50%, -50%);
  overflow: visible; opacity: 0; filter: drop-shadow(0 0 14px rgba(140,255,220,0.55));
}
.squiggle path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.squiggle--big { width: 100vw; height: 100vh; }
.ai-text, .create__txt, .wheel__lead {
  font-weight: 600; font-size: clamp(30px, 6.4vw, 96px); letter-spacing: -0.035em; white-space: nowrap; line-height: 1;
}
.ai-text {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--rainbow); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; opacity: 0;
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.35));
  animation: rainbowShift 4s linear infinite;
}
@keyframes rainbowShift { from { background-position: 0% 0; } to { background-position: 300% 0; } }
.scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.85); mix-blend-mode: difference; }
.scrollcue i { width: 1px; height: 34px; background: currentColor; transform-origin: 50% 0; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }

/* 02 demo */
.demo__beat { position: absolute; inset: 0; opacity: 0; }
#beatA { opacity: 1; }
.demo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass {
  position: absolute; left: 50%; top: 50%; width: 62vh; height: 62vh; max-width: 82vw; max-height: 82vw;
  transform: translate(-50%, -50%); border-radius: 6vh; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 30px 80px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.25), inset 0 0 60px rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12); opacity: 0;
}
.glass__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass__img--toon { opacity: 0; filter: url(#toon); }
.demo__cap { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.9); text-shadow: 0 1px 8px rgba(0,0,0,0.5); opacity: 0; }
.demo__cap i { width: 40px; height: 1px; background: currentColor; }

/* 03 wall */
.wall__grid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; gap: 1.6vh; opacity: 0; }
.wall__grid--a { grid-template-columns: repeat(5, 30vh); grid-auto-rows: 44vh; opacity: 1; }
.wall__grid--b { grid-template-columns: repeat(6, 24vh); grid-auto-rows: 26vh; }
.tile { position: relative; border-radius: 3vh; overflow: hidden; background: #0f172a; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c, #38bdf8) 55%, transparent); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 14%; opacity: 1; }
.tile--tall { grid-row: span 2; }
.wall .glass-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; }

/* 04 wheel */
.wheel__row { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 0.28em; font-size: clamp(22px, 4.2vw, 64px); white-space: nowrap; }
.wheel__lead { font-size: 1em; text-shadow: 0 0 20px rgba(255,255,255,0.35); opacity: 1; flex-shrink: 0; }
.wheel__col { position: relative; height: 1em; width: 11.5em; }
.wheel__col span {
  position: absolute; left: 0; top: 0; line-height: 1; font-weight: 600; letter-spacing: -0.035em; color: var(--c);
  text-shadow: 0 0 18px var(--c), 0 0 2px var(--c); opacity: 0; will-change: transform, opacity; z-index: 1;
}
.wheel__col span.is-hero { opacity: 1; text-shadow: 0 0 20px rgba(255,255,255,0.45); z-index: 2; }
.wheel__col span.is-ghost { z-index: 0; pointer-events: none; filter: brightness(0.45); }

/* 05 universe */
.uni__plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: saturate(1.7) contrast(1.08); }
.uni__plate:first-child { opacity: 1; }
.uni__type { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; opacity: 0; white-space: normal; text-align: center; max-width: min(90vw, 22rem); }
.uni__type em { font-style: normal; }

/* 00 home — live photo sphere */
.home .stage {
  overflow: hidden;
  overflow: clip;
  contain: paint;
  background:
    radial-gradient(55% 50% at 66% 46%, rgba(59,130,246,0.18), transparent 62%),
    radial-gradient(40% 38% at 78% 62%, rgba(34,211,238,0.10), transparent 70%),
    radial-gradient(36% 34% at 28% 70%, rgba(52,211,153,0.08), transparent 72%),
    var(--bg);
}
.home__glow {
  position: absolute; left: 66%; top: 46%; width: 88vmin; height: 88vmin; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(59,130,246,0.32), rgba(56,189,248,0.14) 40%, rgba(34,211,238,0.08) 58%, transparent 74%);
  filter: blur(28px); pointer-events: none; opacity: 0;
}
.sphere__scene {
  position: absolute; inset: 0; z-index: 1; perspective: 2100px; perspective-origin: 66% 46%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.sphere__scene.is-dragging { cursor: grabbing; touch-action: none; }
.sphere__ball {
  position: absolute; left: 66%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform;
}
.sphere__ball > div { pointer-events: none; }
.card {
  position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform-style: preserve-3d; will-change: transform, opacity; pointer-events: auto; opacity: 0;
}
.card.is-back { pointer-events: none; visibility: hidden; }
.card__in {
  position: absolute; inset: 0; border-radius: 14%; overflow: hidden; background: #0f172a;
  border: 2px solid var(--c);
  box-shadow: 0 12px 28px rgba(2,6,23,0.7), 0 0 0 1px rgba(255,255,255,0.16) inset, 0 0 14px rgba(56,189,248,0.16);
  transform: translateZ(0) scale(1); transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .55s, filter .55s, border-color .55s;
  will-change: transform;
}
.card__in img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 16%; opacity: 1; pointer-events: none; box-sizing: border-box; }
.card:hover .card__in, .card.is-hot .card__in {
  transform: translateZ(48px) scale(1.1);
  border-color: #fff;
  box-shadow: 0 16px 36px rgba(2,6,23,0.55), 0 0 0 1px #fff, 0 0 28px var(--c);
  filter: brightness(1.1);
}
.home__copy {
  position: absolute; left: clamp(20px, 5vw, 84px); bottom: clamp(60px, 11vh, 120px); z-index: 3;
  max-width: min(34rem, calc(100% - 40px)); width: min(34rem, calc(100% - 40px));
  pointer-events: none; box-sizing: border-box;
}
.home__copy > * { pointer-events: auto; opacity: 0; max-width: 100%; }
.home__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.home__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--rainbow); background-size: 300% 100%; animation: rainbowShift 4s linear infinite; box-shadow: 0 0 12px rgba(255,255,255,0.5); flex-shrink: 0; }
.home__eyebrow em { font-style: normal; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.home__h1 {
  font-weight: 600; font-size: clamp(42px, 6.6vw, 104px); letter-spacing: -0.04em; line-height: 0.96; margin-bottom: 20px;
  background: var(--rainbow); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 0 18px rgba(255,255,255,0.28));
  animation: rainbowShift 6s linear infinite; padding-right: 0.1em;
  max-width: 100%; overflow-wrap: anywhere; word-break: break-word; hyphens: auto;
}
.home__sub { font-size: clamp(14px, 1.15vw, 17px); line-height: 1.5; color: rgba(255,255,255,0.82); max-width: min(26rem, 100%); margin-bottom: 26px; overflow-wrap: break-word; }
.home__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.home__stat { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.72); overflow-wrap: anywhere; line-height: 1.45; }
.home__stat b { color: #fff; font-weight: 600; }
.home__hint { color: rgba(255,255,255,0.32); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; display: none; }
.lb.is-open { display: block; }
.lb__bg { position: absolute; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; }
.lb__fig { position: absolute; left: 0; top: 0; margin: 0; width: min(64vmin, 520px); height: min(64vmin, 520px); border-radius: 6vmin; overflow: hidden; transform-origin: 0 0; background: #111; box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.35) inset, 0 0 80px rgba(255,255,255,0.15); }
.lb__fig img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 12%; box-sizing: border-box; background: #0f172a; }
.lb__fig figcaption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); white-space: nowrap; }
.lb__close { position: absolute; right: 24px; top: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); font-size: 26px; line-height: 1; color: #fff; display: grid; place-items: center; opacity: 0; }

/* site link prompt — same overlay and pills as the rest of the page */
.site-prompt { position: fixed; inset: 0; z-index: 120; display: none; }
.site-prompt.is-open { display: block; }
.site-prompt__bg { position: absolute; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-prompt__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 40px)); padding: 28px 24px 22px; border-radius: 28px;
  background: #0f172a; color: #fff; text-align: left;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.35) inset;
}
.site-prompt__panel:focus { outline: 2px solid #60a5fa; outline-offset: 3px; }
.site-prompt__panel h2 { font-size: 20px; font-weight: 600; }
.site-prompt__note { margin-top: 8px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.72); }
.site-prompt__url { margin-top: 12px; font-size: 13px; font-weight: 500; color: #93c5fd; word-break: break-all; }
.site-prompt__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* 07 create */
.create__txt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; text-shadow: 0 0 22px rgba(255,255,255,0.35); }
.create__txt i { font-style: normal; display: inline-block; white-space: pre; opacity: 0; will-change: transform, color; }
.squiggle--big { filter: drop-shadow(0 0 22px rgba(126,198,255,0.6)); }

/* 08 finale */
.logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 0; will-change: transform; }
.mark--xl { font-size: clamp(56px, 9vw, 130px); color: var(--hot); position: relative; z-index: 2; font-family: var(--sans); font-weight: 700; align-items: center; }
.pre__brand .mark { font-family: var(--sans); font-weight: 700; }
.mark--xl i { position: relative; opacity: 0; transform-origin: 50% 80%; }
.mark--xl.is-white { color: #fff; }
.badge--xl { font-size: clamp(56px, 9vw, 130px); opacity: 0; transform: scale(0.5); position: relative; z-index: 2; margin-left: 0.5em; flex-shrink: 0; align-self: center; }
.logo__blob { position: absolute; border-radius: 999px; opacity: 0; transform: scale(0); z-index: 1; }
.logo__blob--w { width: 0.5em; height: 0.28em; background: #fff; left: 12%; bottom: -0.35em; font-size: clamp(56px, 9vw, 130px); }
.logo__blob--b { width: 1.4em; height: 0.34em; background: #a9d8ff; left: 42%; bottom: -0.55em; font-size: clamp(56px, 9vw, 130px); }
.hand { position: absolute; width: clamp(28px, 4vw, 56px); height: clamp(28px, 4vw, 56px); right: -0.2em; top: -0.9em; opacity: 0; z-index: 4; font-size: clamp(56px, 9vw, 130px); filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)); }
.hand svg { width: 100%; height: 100%; transform: rotate(-20deg); }
.toys { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; }
.toys span {
  position: absolute; left: 0; top: 0; font-size: clamp(38px, 8.5vmin, 96px); line-height: 1; transform: translate(-50%, -50%) scale(0); opacity: 0;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.5)); will-change: transform, opacity;
}
.toys.is-live span { animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.35s); }
@keyframes bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }

/* footer */
.foot { position: relative; z-index: 2; background: #000; border-top: 1px solid rgba(255,255,255,0.08); }
.foot__inner { max-width: 1240px; margin: 0 auto; padding: 120px 28px 40px; }
.foot__cta h2 { font-weight: 600; font-size: clamp(30px, 4.6vw, 64px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.foot__lede {
  max-width: 40rem; margin: 0 0 28px;
  font-size: clamp(14px, 1.15vw, 16px); line-height: 1.55; color: rgba(255,255,255,0.8);
}
.foot__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.work-links {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px;
  margin: 64px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 920px; font-size: 13px;
}
.work-links__label {
  width: 100%; margin-bottom: 4px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.68);
}
.work-links a { color: rgba(255,255,255,0.82); }
.work-links a:hover { color: var(--yellow); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 48px 0 64px; max-width: 920px; }
.foot__cols h3 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.68); margin-bottom: 14px; }
.foot__cols a { display: block; font-size: 15px; padding: 5px 0; color: rgba(255,255,255,0.9); }
.foot__cols a:hover { color: var(--yellow); }
.foot__base { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: rgba(255,255,255,0.72); }
.foot__base .mark { font-size: 28px; color: #fff; }
.foot__base .badge { font-size: 28px; }
.foot__base .foot__copy { margin-left: auto; }
.foot__copy { margin-left: auto; }
@media (max-width: 720px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__base { flex-wrap: wrap; } .foot__copy { margin-left: 0; width: 100%; margin-top: 10px; } }

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .phone { width: 40vw; height: 84vw; margin: -42vw 0 0 -20vw; border-radius: 6vw; }
  .phone__screen { border-radius: 5.4vw; }
  .phone .glass-pill { font-size: 4.6vw; }
  .glass { width: 82vw; height: 82vw; border-radius: 8vw; }
  .wall__grid--a { grid-template-columns: repeat(3, 30vw); grid-auto-rows: 42vw; gap: 1.2vw; }
  .wall__grid--b { grid-template-columns: repeat(4, 22vw); grid-auto-rows: 24vw; gap: 1.2vw; }
  .wheel__row { flex-direction: column; gap: 0.2em; font-size: clamp(18px, 5.2vw, 40px); white-space: normal; }
  .wheel__col { width: min(11.5em, 88vw); text-align: center; }
  .wheel__col span { left: 50%; }
  .ai-text, .create__txt { font-size: clamp(22px, 7vw, 52px); max-width: 92vw; text-align: center; }
  .ai-text { white-space: normal; }
  /* keep create__txt nowrap — per-letter <i> boxes wrap mid-word if white-space:normal */
  .squiggle { width: min(92vw, 76vh); height: min(92vw, 76vh); }
  .sphere__scene { perspective: 1800px; perspective-origin: 50% 32%; overflow: hidden; }
  .sphere__ball { left: 50%; top: 32%; }
  .home .stage {
    background:
      radial-gradient(60% 48% at 50% 34%, rgba(59,130,246,0.20), transparent 64%),
      radial-gradient(42% 36% at 70% 58%, rgba(34,211,238,0.10), transparent 70%),
      var(--bg);
  }
  .home__glow { left: 50%; top: 32%; width: 70vmin; height: 70vmin; }
  .home__copy {
    left: 16px; right: 16px; bottom: max(72px, calc(env(safe-area-inset-bottom, 0px) + 64px));
    width: auto; max-width: none;
  }
  .home__h1 {
    font-size: clamp(28px, 7.6vw, 48px);
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 14px;
  }
  .home__sub { font-size: 14px; margin-bottom: 18px; }
  .home__btns { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 16px; }
  .home__btns .pill { width: 100%; justify-content: center; height: 44px; }
  .home__stat { font-size: 11px; letter-spacing: 0.06em; max-width: 100%; }
  .home__eyebrow { margin-bottom: 12px; }
  .home__hint, .home .scrollcue { display: none; }
  .foot__inner { padding: 80px 18px 32px; }
}
@media (max-width: 480px) {
  .home__h1 { font-size: clamp(24px, 8vw, 34px); }
  .home__copy { left: 14px; right: 14px; bottom: max(88px, calc(env(safe-area-inset-bottom, 0px) + 80px)); }
  .home__glow { width: 58vmin; height: 58vmin; opacity: 0.85; }
}

/* ── reduced motion: end states, no pins ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ai-text, .home__h1, .rail, .scrollcue i, .toys.is-live span { animation: none !important; }
}
html.is-static .pre { display: none; }
html.is-static .phone, html.is-static .toonplate, html.is-static .squiggle { display: none; }
html.is-static .ai-text, html.is-static .stage-note { opacity: 1; }
html.is-static .demo__beat#beatA, html.is-static .glass, html.is-static .glass__img--toon, html.is-static .demo__cap { opacity: 1; }
html.is-static .demo__bg { filter: blur(14px); }
html.is-static .wall__grid--a, html.is-static .wheel__lead, html.is-static .wheel__col span, html.is-static .uni__plate:first-child,
html.is-static .uni__type, html.is-static .create__txt i, html.is-static .mark--xl i,
html.is-static .badge--xl, html.is-static .sphere__cap, html.is-static .toys span, html.is-static .squiggle--big { opacity: 1; transform: none; }
html.is-static .squiggle--big { display: block; }
html.is-static .squiggle path { stroke-dashoffset: 0; }
html.is-static .badge--xl { transform: none; }
html.is-static .toys span { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); }
html.is-static .mark--xl { color: #fff; }
html.is-static .card { opacity: 1; }
html.is-static .home__copy > * { opacity: 1; }
html.is-static .home__glow { opacity: 1; }

/* cookie notice: floating card, same pills as the rest of the site */
.cookie-banner {
  position: fixed; right: 20px; bottom: 20px; left: auto; z-index: 70;
  width: min(320px, calc(100vw - 40px));
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 14px 12px; background: #020617; color: #fff;
  border: 1px solid rgba(59, 130, 246, 0.45); border-radius: 18px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.55);
  animation: cookie-banner-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
  max-height: min(28vh, 180px); overflow: auto;
}
.cookie-banner__copy {
  margin: 0; font-size: 12px; font-weight: 500; line-height: 1.4;
  color: rgba(255,255,255,0.88);
}
.cookie-banner__copy a {
  color: #93c5fd; text-decoration: underline; text-underline-offset: 0.15em;
}
.cookie-banner__actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-banner .pill { height: 34px; padding: 0 14px; font-size: 12px; }
.cookie-banner .pill:focus-visible,
.cookie-banner a:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }
body.legal .cookie-banner button { cursor: pointer; }
body:has(.pre:not(.is-done)) .cookie-banner {
  animation: none; opacity: 0; pointer-events: none;
}
@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}
@media (max-width: 900px) {
  .cookie-banner {
    left: 12px; right: auto; bottom: 12px; width: min(280px, calc(100vw - 24px));
    padding: 12px; gap: 8px; max-height: min(22vh, 148px); border-radius: 16px;
  }
  .cookie-banner__copy { font-size: 11px; line-height: 1.35; }
  .cookie-banner .pill { height: 30px; padding: 0 12px; font-size: 11px; }
}
@media (max-width: 480px) {
  .cookie-banner {
    left: 10px; right: 10px; bottom: 10px; width: auto;
    max-height: min(20vh, 132px);
  }
}
