/* Launch Bored. Brand tokens from launchbored.com, art-directed for one continuous journey. */
:root {
  --ink: #0A0A0A;
  --ink-2: #1D1D1F;
  --paper: #FFFFFF;
  --line: rgba(255, 255, 255, .14);
  --dim: rgba(255, 255, 255, .66);

  --pink: #FFB3BA;
  --peach: #FFDFBA;
  --yellow: #FFFFBA;
  --mint: #BAFFC9;
  --sky: #BAE1FF;
  --lav: #D2B3FF;
  --rainbow: linear-gradient(90deg, var(--pink), var(--peach), var(--yellow), var(--mint), var(--sky), var(--lav));

  --f-display: "Slackey", "Outfit", system-ui, sans-serif;
  --f-body: "Outfit", system-ui, sans-serif;

  --gutter: clamp(18px, 5vw, 80px);
  --max: 1280px;
  --ease-bouncy: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--f-body); font-size: 1.125rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--lav); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; border-radius: 8px; }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- Layers ---------- */
#space-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
#gummy-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 40; pointer-events: none; }
main, .landing { position: relative; z-index: 1; }
.no-webgl #gummy-canvas, .no-webgl .bubble { display: none; }
.no-space body, .no-webgl body { background: radial-gradient(120% 80% at 50% 110%, #2a2140, var(--ink) 60%) fixed; }

/* ---------- Type ---------- */
.rainbow { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.h2 { font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.lede { margin-top: 18px; max-width: 44ch; font-size: clamp(1.1rem, 1.35vw, 1.28rem); color: var(--dim); text-wrap: pretty; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 10px 22px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .45s var(--ease-bouncy), background-color .2s, color .2s, border-color .2s;
}
.pill:hover { transform: translateY(-2px) scale(1.03); }
.pill:active { transform: scale(.96); transition-duration: .1s; }
.pill--light { background: var(--paper); color: var(--ink); }
.pill--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.3); }
.pill--ghost:hover { border-color: var(--paper); }
.pill--ghost svg { transition: transform .45s var(--ease-bouncy); }
.pill--ghost:hover svg { transform: translateY(3px); }
.pill--big { min-height: 58px; padding: 14px 30px; font-size: 1.06rem; }

/* ---------- Nav (the live site's black wavy band, made to move) ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 18px;
  padding: 14px var(--gutter) 12px; background: transparent;
  transition: transform .6s var(--ease-bouncy), padding .4s var(--ease-out);
}
.nav.is-compact { padding-top: 9px; padding-bottom: 7px; }
.nav.is-tucked { transform: translateY(calc(-100% - 22px)); transition: transform .45s var(--ease-out), padding .4s var(--ease-out); }
.nav__logo { flex: none; position: relative; z-index: 3; }
.nav__logo img { height: 42px; width: auto; transition: transform .6s var(--ease-bouncy), height .4s var(--ease-out); }
.nav.is-compact .nav__logo img { height: 36px; }
.nav__logo:hover img { transform: rotate(-7deg) scale(1.08); }
.nav__menu { margin-left: auto; }
.nav__links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); }
.nav__links li { position: relative; z-index: 1; }
.nav__links a {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 13px; border-radius: 999px;
  color: rgba(255,255,255,.8); font-weight: 600; font-size: .98rem; text-decoration: none; transition: color .25s;
}
.nav__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(10,10,10,.0); transition: transform .45s var(--ease-bouncy), box-shadow .25s; }
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover .nav__dot { transform: scale(1.4); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active .nav__dot { background: var(--ink); transform: scale(.9); }
.nav__blob {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--blob, var(--paper)); opacity: 0;
  box-shadow: 0 0 0 1.5px var(--ink) inset;
  transition: left .55s var(--ease-bouncy), width .55s var(--ease-bouncy), opacity .25s, background-color .35s;
}
.nav__sheet-foot { display: none; }
.nav__cta {
  position: relative; isolation: isolate; overflow: hidden; flex: none;
  min-height: 44px; padding: 8px 18px 8px 22px; background: var(--paper); color: var(--ink);
}
.nav__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rainbow); transform: translateX(-101%); transition: transform .5s var(--ease-out); }
.nav__cta:hover::before { transform: none; }
.nav__cta svg { transition: transform .45s var(--ease-bouncy); }
.nav__cta:hover svg { transform: translateX(3px); }
.nav__toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 14px; border-radius: 999px;
  background: var(--paper); color: var(--ink); border: 0; font: 700 1rem var(--f-body); cursor: pointer; position: relative; z-index: 3;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-bouncy), opacity .2s; }
.nav__toggle-bars { position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav__toggle-bars::before { top: -6px; } .nav__toggle-bars::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Speech bubble ---------- */
.bubble {
  position: fixed; left: 0; top: 0; z-index: 41; pointer-events: none;
  padding: 9px 15px 10px; background: var(--paper); color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 18px;
  font-family: var(--f-display); font-size: 1rem; line-height: 1; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
  opacity: 0; transition: opacity .2s ease; will-change: transform;
}
.bubble::after { content: ""; position: absolute; left: 16px; bottom: -9px; width: 14px; height: 14px; background: var(--paper); border: 2.5px solid var(--ink); border-top: 0; border-left: 0; border-radius: 0 0 4px 0; transform: rotate(45deg); }
.bubble.is-left::after { left: auto; right: 16px; }
.bubble.is-centre::after { left: 50%; margin-left: -7px; }
.bubble.is-on { opacity: 1; }

/* ---------- Waypoints: invisible markers Gus swims between ---------- */
.wp { position: absolute; left: var(--x); top: var(--y); width: 1px; height: 1px; pointer-events: none; }

/* ---------- Edge (hero) ---------- */
.hero {
  position: relative; overflow: clip; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(110px, 14vh, 150px) var(--gutter) clamp(300px, 42vh, 420px);
}
.hero__copy { max-width: 960px; }
.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.01em; }
.hero__title .rainbow { display: inline-block; max-width: 16ch; padding-bottom: .06em; text-wrap: balance; }
.hero__lede { margin: 22px auto 0; max-width: 46ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--dim); text-wrap: pretty; }
.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.world { position: absolute; width: clamp(560px, 62vw, 900px); aspect-ratio: 1; left: 50%; transform: translateX(-50%); top: calc(100% - clamp(170px, 23vh, 230px)); pointer-events: none; }
.world__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 90s linear infinite; }
.world__ring text { font-family: var(--f-body); font-weight: 800; font-size: 25px; letter-spacing: .28em; text-transform: uppercase; fill: rgba(255,255,255,.55); }
@keyframes spin { to { transform: rotate(-360deg); } }

/* ---------- Studio ---------- */
.studio {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: clamp(140px, 26vh, 260px) var(--gutter) clamp(120px, 22vh, 220px);
}
.statement {
  max-width: 21em; padding-right: clamp(0px, 14vw, 240px);
  font-weight: 700; font-size: clamp(1.9rem, 3.9vw, 3.6rem); line-height: 1.1; letter-spacing: -.025em; text-wrap: pretty;
}
.statement .w { color: rgba(255,255,255,.16); transition: color .4s ease; }
.statement .w.on { color: var(--paper); }
.studio__sign { margin-top: 40px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--dim); }
.studio__sign strong { color: var(--paper); font-weight: 700; }

/* ---------- Work: each product is its own little world ---------- */
.work { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(120px, 18vh, 200px); }
.work__head { max-width: 900px; }
.orbs { position: relative; height: clamp(1380px, 170vh, 1760px); margin-top: clamp(60px, 9vh, 110px); }
.orb { position: absolute; left: var(--ox); top: var(--oy); width: var(--size, 240px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.orb__body { position: relative; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.orb__body:focus-visible { outline-offset: 22px; border-radius: 50%; }
.has-worlds .orb__halo { display: none; }
.orb__halo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; animation: spin 60s linear infinite; }
.orb__halo text { font-family: var(--f-body); font-weight: 800; font-size: 12.5px; letter-spacing: .32em; text-transform: uppercase; fill: rgba(255,255,255,.72); transition: fill .3s; }
.orb:hover .orb__halo text, .orb.is-open .orb__halo text { fill: var(--paper); }
.orb__card h3 { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.1; }
.orb__card p { margin: 4px auto 0; color: var(--dim); font-size: 1rem; max-width: 26ch; }
.tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 4px 12px 4px 9px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: .82rem; }
.tag--live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px var(--ink); }

/* Snapshot pops out beside the world on hover, focus or tap */
.orb__shot {
  position: absolute; z-index: 5; top: 4%; width: clamp(300px, 32vw, 460px);
  border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--paper);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.3), 0 50px 80px -30px rgba(0,0,0,.95);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, scale .55s var(--ease-bouncy), rotate .55s var(--ease-bouncy), translate .55s var(--ease-bouncy), visibility 0s .25s;
}
.orb[data-side="right"] .orb__shot { left: calc(100% + 36px); rotate: -6deg; scale: .7; translate: -40px 10px; transform-origin: 0 50%; }
.orb[data-side="left"] .orb__shot { right: calc(100% + 36px); rotate: 6deg; scale: .7; translate: 40px 10px; transform-origin: 100% 50%; }
.orb:hover .orb__shot, .orb:focus-within .orb__shot, .orb.is-open .orb__shot {
  opacity: 1; visibility: visible; scale: 1; translate: 0 0; rotate: var(--tilt-in, 2deg);
  transition: opacity .25s ease, scale .55s var(--ease-bouncy), rotate .55s var(--ease-bouncy), translate .55s var(--ease-bouncy), visibility 0s;
}
.orb[data-side="left"] { --tilt-in: -2deg; }
.orb__shot img, .orb__shot video { display: block; width: 100%; height: auto; }
.orb__shot--phone { width: clamp(190px, 17vw, 236px); top: -2%; border-radius: 30px; background: var(--ink); }
.orb__shot--soon { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--rainbow); }
.orb__shot--soon div { display: grid; gap: 6px; text-align: center; color: var(--ink); }
.orb__shot--soon strong { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1; }
.orb__shot--soon span { font-weight: 700; font-size: .95rem; opacity: .7; }

.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; }

/* ---------- Build: services as floating signs ---------- */
.build { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(140px, 22vh, 240px); }
.build__head { max-width: 820px; }
.signs { margin-top: clamp(80px, 12vh, 130px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(70px, 9vh, 110px) clamp(24px, 4vw, 60px); max-width: 900px; }
.sign {
  position: relative; padding: 26px 28px 28px; border-radius: 22px; border: 3px solid var(--ink);
  background: var(--paper); color: var(--ink); rotate: var(--r, 0deg); transform-origin: 50% -46px;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.25), 0 30px 50px -28px rgba(0,0,0,.9);
}
.sign::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 46px; margin-left: -1px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.6)); }
.sign__pin { position: absolute; left: 50%; top: -9px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 3px solid var(--ink); background: var(--c, var(--yellow)); }
.sign h3 { font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.1; }
.sign p { margin-top: 8px; font-size: 1rem; color: #4A4A50; }
.sign--a { --r: -3deg; --c: var(--pink); }
.sign--b { --r: 2.5deg; --c: var(--mint); margin-top: 60px; }
.sign--c { --r: 2deg; --c: var(--sky); }
.sign--d { --r: -2deg; --c: var(--lav); margin-top: 60px; }
.build__how { margin-top: clamp(80px, 12vh, 120px); max-width: 30ch; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; }

/* ---------- Land here (contact on the Moon) ---------- */
.landing { min-height: max(100svh, 900px); overflow: clip; padding-bottom: clamp(400px, 58vh, 540px); }
.landing__top { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vh, 130px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vh, 64px); align-items: start; }
.landing__mail { display: inline-block; margin-top: 22px; font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.4rem); text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.35); transition: border-color .2s; }
.landing__mail:hover { border-color: var(--paper); }
.mars { position: absolute; z-index: 2; width: max(140vw, 1100px); aspect-ratio: 1; left: 50%; transform: translateX(-50%); top: calc(100% - clamp(240px, 36vh, 340px)); pointer-events: none; }
.landing__meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 24px; padding: 20px var(--gutter); color: var(--ink); }
.landing__logo { width: 84px; height: auto; }
.landing__social { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; font-weight: 600; color: rgba(10,10,10,.6); }
.landing__top-btn { background: var(--ink); color: var(--paper); }
.landing__copy { grid-column: 1 / -1; padding-top: 12px; border-top: 1.5px solid rgba(10,10,10,.18); font-size: .9rem; color: rgba(10,10,10,.65); }

/* Form status + errors (the sentence form lives further down) */
.field__err { margin-top: 6px; font-size: .9rem; font-weight: 600; color: var(--pink); }
.field__err:empty { display: none; }
.form__status { font-size: .98rem; color: rgba(255,255,255,.78); max-width: 40ch; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--mint); }
.form__status.is-err { color: var(--pink); }

/* The flag Gus plants */
.flag { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 3; text-decoration: none; pointer-events: auto; transform: rotate(var(--tilt, 0deg)); }
.flag__pole { position: absolute; left: -6px; bottom: -6px; width: 12px; height: clamp(150px, 20vh, 190px); background: var(--paper); border: 3px solid var(--ink); border-radius: 8px; transform-origin: 50% 100%; transition: transform .7s var(--ease-bouncy); }
.flag__pole::before { content: ""; position: absolute; left: 50%; top: -14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.flag__cloth { position: absolute; right: 2px; bottom: calc(clamp(150px, 20vh, 190px) - 70px); display: block; padding: 14px 22px 16px; border: 3px solid var(--ink); border-radius: 18px 6px 6px 18px; background: var(--rainbow); transform-origin: 100% 50%; transition: transform .8s var(--ease-bouncy) .3s, opacity .3s .3s; box-shadow: 0 18px 30px -16px rgba(0,0,0,.6); }
.flag__text { display: block; font-family: var(--f-display); font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: var(--ink); white-space: nowrap; animation: flutter 2.6s ease-in-out infinite; transform-origin: 100% 50%; }
@keyframes flutter { 0%, 100% { transform: skewY(-2.5deg) translateY(1px); } 50% { transform: skewY(2.5deg) translateY(-1px); } }
.flag:hover .flag__cloth, .flag:focus-visible .flag__cloth { transform: scale(1.06) rotate(-2deg); }
.flag:focus-visible { outline: none; }
.flag:focus-visible .flag__cloth { outline: 3px solid var(--sky); outline-offset: 4px; }
html.has-gus .flag:not(.is-planted) { pointer-events: none; }
html.has-gus .flag:not(.is-planted) .flag__pole { transform: scaleY(0); transition-duration: .25s; }
html.has-gus .flag:not(.is-planted) .flag__cloth { transform: scale(0, .4); opacity: 0; transition-delay: 0s; transition-duration: .2s; }

/* ---------- Arrivals: out of the vortex, blurred and small, then sharp ---------- */
.js-pop [data-pop] { transition: opacity .9s var(--ease-out) var(--d, 0ms), translate 1.1s var(--ease-out) var(--d, 0ms), scale 1.1s var(--ease-out) var(--d, 0ms), filter .9s var(--ease-out) var(--d, 0ms); }
.js-pop [data-pop]:not(.is-in) { opacity: 0; translate: 0 90px; scale: .9; filter: blur(8px); }

/* Hero entrance */
html.intro .hero__title { animation: drop-in .95s var(--ease-out) both; transform-origin: 50% 100%; }
@keyframes drop-in { 0% { transform: translateY(-60px) scale(1, .8); opacity: 0; } 50% { transform: translateY(6px) scale(1.03, .94); opacity: 1; } 75% { transform: translateY(-2px) scale(.99, 1.02); } 100% { transform: none; } }
html.intro .hero__lede { animation: rise .7s .45s var(--ease-out) both; }
html.intro .hero__ctas { animation: rise .7s .6s var(--ease-out) both; }
html.intro .world__ring { animation: fade 1.2s .9s both, spin 90s linear infinite; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

/* Trail beads behind Gus */
.trail { position: fixed; inset: 0; pointer-events: none; z-index: 39; }
.trail i { position: fixed; left: 0; top: 0; border-radius: 50%; margin: -7px 0 0 -7px; opacity: 0; box-shadow: inset -2px -3px 0 rgba(0,0,0,.08), inset 2px 2px 0 rgba(255,255,255,.6); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .world__ring, .flag__text, .orb__halo { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav__cta { display: none; }
  /* full-screen sheet that drops in like jelly, with the wavy edge */
  .nav__menu {
    position: fixed; inset: 0 0 auto 0; z-index: 2; margin: 0; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 110px var(--gutter) 40px; background: var(--ink);
    transform: translateY(-104%); visibility: hidden;
    transition: transform .55s var(--ease-out), visibility 0s .55s;
  }
  .nav__menu::after {
    content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 22' preserveAspectRatio='none'%3E%3Cpath d='M0 0H240V8C200 24 160 24 120 11C80 -2 40 -2 0 8Z' fill='%230A0A0A'/%3E%3C/svg%3E") 0 0 / 200px 28px repeat-x;
  }
  .nav.is-open .nav__menu { transform: none; visibility: visible; transition: transform .7s var(--ease-bouncy), visibility 0s; }
  .nav__links { flex-direction: column; gap: 6px; padding: 0; background: none; box-shadow: none; }
  .nav__links a { gap: 16px; padding: 10px 4px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1; color: var(--paper); border-radius: 0; }
  .nav__links a.is-active { color: var(--paper); }
  .nav__dot { width: 18px; height: 18px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 4.5px rgba(255,255,255,.4); }
  .nav__links a.is-active .nav__dot { background: var(--c); transform: scale(1.15); }
  .nav__links li { opacity: 0; transform: translateY(-16px); transition: opacity .3s, transform .5s var(--ease-bouncy); }
  .nav.is-open .nav__links li { opacity: 1; transform: none; }
  .nav.is-open .nav__links li:nth-child(1) { transition-delay: .12s; }
  .nav.is-open .nav__links li:nth-child(2) { transition-delay: .18s; }
  .nav.is-open .nav__links li:nth-child(3) { transition-delay: .24s; }
  .nav__sheet-foot { display: grid; gap: 18px; justify-items: start; }
  .nav__mail { font-weight: 700; color: var(--dim); text-decoration: none; }
  .nav__blob { display: none; }

  .landing__top { grid-template-columns: 1fr; }
  .orbs { height: auto; display: flex; flex-direction: column; gap: 110px; }
  .orb { position: relative; left: auto; top: auto; --size: 230px; }
  .orb, .orb:nth-child(even) { align-self: center; }
  .orb[data-side] .orb__shot { position: relative; left: auto; right: auto; top: auto; width: min(86vw, 420px); margin-top: -6px; display: none; translate: 0 0; }
  .orb.is-open .orb__shot { display: block; }
  .orb[data-side] .orb__shot--phone { width: min(62vw, 250px); margin-inline: auto; }
  .signs { grid-template-columns: 1fr; max-width: 520px; }
  .sign--b, .sign--d { margin-top: 0; }
  .statement { padding-right: 0; }
}
@media (max-width: 700px) {
  .wp { left: var(--mx, var(--x)); }
  .hero { padding-bottom: 40vh; }
  .world { width: 150vw; top: calc(100% - 24vh); }
  .studio, .work, .build { padding-right: calc(var(--gutter) + 28px); }
  .orb { --size: 190px; }
  .form__row { grid-template-columns: 1fr; }
  .mars { width: 220vw; }
  .landing__social { display: none; }
  .landing__meta { grid-template-columns: auto auto; justify-content: space-between; }
  .flag__cloth { padding: 11px 16px 13px; bottom: 80px; }
  .flag__text { font-size: 1rem; }
  .flag__pole { height: 140px; }
}
@media (max-width: 600px) {
  .nav__logo img { height: 34px; }
  .hero__ctas .pill { width: 100%; }
  .bubble { font-size: .9rem; }
}

/* ---------- The form as a fill-in-the-blanks sentence ---------- */
.madlib { max-width: 980px; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.7rem); line-height: 1.5; letter-spacing: -.02em; color: var(--paper); }
.madlib__line { margin: 0; }
.madlib__line + .madlib__line { margin-top: .22em; }
.slot { display: inline-block; position: relative; margin: 0 .04em 0 .12em; vertical-align: baseline; }
.slot input, .slot textarea {
  font: inherit; letter-spacing: inherit; color: var(--paper); background: transparent; border: 0; outline: none; padding: 0 .1em .04em;
  border-bottom: 3px dashed rgba(255,255,255,.35); border-radius: 0; caret-color: var(--pink);
  transition: border-color .2s;
}
.slot input { width: var(--w, 9ch); min-width: 4ch; max-width: 100%; }
.slot input::placeholder, .slot textarea::placeholder { color: rgba(255,255,255,.3); }
.slot--name input { border-bottom-color: color-mix(in srgb, var(--pink) 70%, transparent); }
.slot--email input { border-bottom-color: color-mix(in srgb, var(--sky) 70%, transparent); }
.slot--msg { display: block; margin: 0; }
.slot--msg textarea { width: 100%; resize: none; overflow: hidden; min-height: 1.5em; line-height: 1.5; border-bottom-color: color-mix(in srgb, var(--mint) 70%, transparent); }
.slot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rainbow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease-out); pointer-events: none; }
.slot:focus-within::after { transform: none; }
.slot:focus-within input, .slot:focus-within textarea { border-bottom-color: transparent; }
.slot.has-error input, .slot.has-error textarea { border-bottom: 3px solid var(--pink); }
.slot.is-ok::before { content: ""; position: absolute; right: -1.1em; top: 50%; width: .7em; height: .7em; margin-top: -.3em; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230A0A0A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.slot .field__ok { display: none; }

.chips { display: inline-flex; flex-wrap: wrap; gap: .3em; vertical-align: middle; margin-left: .15em; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; padding: .12em .62em .16em; border-radius: 999px; border: 2.5px solid rgba(255,255,255,.3);
  font-size: .62em; line-height: 1.4; letter-spacing: 0; color: rgba(255,255,255,.85);
  transition: transform .5s var(--ease-bouncy), background-color .2s, color .2s, border-color .2s;
}
.chip:hover span { border-color: var(--c); color: var(--paper); transform: rotate(-2deg); }
.chip input:checked + span { background: var(--c); border-color: var(--ink); color: var(--ink); transform: scale(1.08) rotate(-3deg); box-shadow: 0 0 0 2px var(--c); }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 3px; }
.chip--pink { --c: var(--pink); } .chip--mint { --c: var(--mint); } .chip--lav { --c: var(--lav); }

.madlib__errors { font-size: 1rem; letter-spacing: 0; line-height: 1.4; margin-top: 10px; }
.madlib__errors .field__err { margin: 4px 0 0; }
.madlib__foot { margin-top: clamp(26px, 4vh, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.madlib .form__status { font-size: 1rem; letter-spacing: 0; line-height: 1.4; font-weight: 600; }

.launch {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .5em;
  min-height: 64px; padding: 14px 30px 14px 34px; border: 3px solid var(--ink); border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--ink); font-family: var(--f-display); font-size: 1.45rem; letter-spacing: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 20px 40px -18px rgba(210,179,255,.6);
  transition: transform .5s var(--ease-bouncy);
}
.launch::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rainbow); transform: translateY(101%); transition: transform .5s var(--ease-out); }
.launch:hover::before, .launch:focus-visible::before { transform: none; }
.launch:hover { transform: rotate(-2deg) scale(1.04); }
.launch:active { transform: scale(.95); transition-duration: .1s; }
.launch svg { transition: transform .5s var(--ease-bouncy); }
.launch:hover svg { transform: translate(3px, -3px) scale(1.1); }
.launch:disabled { cursor: progress; opacity: .7; }
@media (max-width: 700px) {
  .madlib { font-size: clamp(1.35rem, 6.4vw, 1.7rem); }
  .chips { display: flex; margin: .3em 0 0; }
}

/* ---------- Gus's rocket and the launchpad modal ---------- */
.ship-hit {
  position: fixed; left: 0; top: 0; z-index: 40; padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: 40% 40% 24% 24%; -webkit-tap-highlight-color: transparent;
}
.ship-hit[hidden] { display: none; }
.ship-hit:focus-visible { outline: 3px solid var(--sky); outline-offset: 6px; }
.ship-hit__tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 6px; scale: .8; opacity: 0;
  padding: 6px 14px 7px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--paper); color: var(--ink);
  font-family: var(--f-display); font-size: 1rem; white-space: nowrap; pointer-events: none;
  transition: opacity .2s, translate .45s var(--ease-bouncy), scale .45s var(--ease-bouncy);
}
.ship-hit__tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 12px; height: 12px; margin: -7px 0 0 -6px; background: var(--paper); border: 2.5px solid var(--ink); border-top: 0; border-left: 0; rotate: 45deg; }
.ship-hit:hover .ship-hit__tip, .ship-hit:focus-visible .ship-hit__tip { opacity: 1; translate: -50% 0; scale: 1; }
@media (hover: none) { .ship-hit .ship-hit__tip { opacity: 1; translate: -50% 0; scale: .9; } }

.launchpad { width: min(1000px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; color: var(--paper); overflow: visible; }
.launchpad::backdrop { background: rgba(10, 10, 10, .84); }
.launchpad[open] .launchpad__panel { animation: launchpad-in .7s var(--ease-bouncy) both; }
.launchpad[open]::backdrop { animation: launchpad-fade .3s ease-out both; }
@keyframes launchpad-in { from { opacity: 0; transform: translateY(-70px) scale(.92) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@keyframes launchpad-fade { from { opacity: 0; } }
.launchpad__panel {
  position: relative; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  padding: clamp(28px, 4.5vw, 56px) clamp(22px, 4.5vw, 60px) clamp(26px, 4vw, 44px);
  border-radius: 28px; border: 1px solid var(--line); background: var(--ink-2);
  background-image: radial-gradient(60% 70% at 100% 0%, rgba(210, 179, 255, .16), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(186, 255, 201, .1), transparent 70%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.launchpad__panel::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--rainbow); }
.launchpad__close {
  position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2.5px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; transition: transform .45s var(--ease-bouncy);
}
.launchpad__close:hover { transform: rotate(90deg) scale(1.06); }
.launchpad__close:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.launchpad__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.launchpad__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px var(--ink), 0 0 12px var(--mint); }
.launchpad__title { margin: 0 56px clamp(20px, 3vh, 32px) 0; font-size: clamp(2.2rem, 5vw, 4rem); }
.launchpad .madlib { max-width: none; font-size: clamp(1.3rem, 2.5vw, 2.15rem); }
.launchpad [data-pop] { opacity: 1; transform: none; filter: none; }
.launchpad__alt { margin: 22px 0 0; font-size: .95rem; color: rgba(255, 255, 255, .7); }
.launchpad__alt a { color: var(--paper); font-weight: 700; }
html.is-launchpad { overflow: hidden; }
@media (max-width: 700px) {
  .launchpad { width: 100vw; max-height: 100dvh; margin: 0; }
  .launchpad__panel { max-height: 100dvh; min-height: 100dvh; border-radius: 0; border: 0; padding-top: 72px; }
  .launchpad__panel::before { left: 0; right: 0; border-radius: 0; }
  .launchpad .madlib { font-size: clamp(1.25rem, 5.8vw, 1.55rem); }
}
@media (prefers-reduced-motion: reduce) { .launchpad[open] .launchpad__panel, .launchpad[open]::backdrop { animation: none; } }

/* ---------- Analytics consent ---------- */
.consent {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(400px, calc(100vw - 32px));
  padding: 16px 16px 14px 18px; border-radius: 18px; border: 2.5px solid var(--ink); background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(24px) rotate(-1.5deg); transition: opacity .3s ease, transform .55s var(--ease-bouncy);
}
.consent.is-in { opacity: 1; transform: none; }
.consent.is-leaving { opacity: 0; transform: translateY(24px) rotate(1.5deg); transition-duration: .25s; }
.consent__text { margin: 0; font-size: .95rem; line-height: 1.45; }
.consent__text strong { display: block; margin-bottom: 2px; font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; }
.consent__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.consent .pill--ghost { color: var(--ink); border-color: rgba(10, 10, 10, .25); }
.consent .pill--light { background: var(--ink); color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .consent, .consent.is-leaving { transition: opacity .2s; transform: none; } }

/* ---------- Privacy page and small print ---------- */
.madlib__privacy { margin: 14px 0 0; font-size: .9rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.madlib__privacy a, .landing__copy a, .consent__text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 820px; margin: 0 auto; padding: 22px var(--gutter) 0; }
.legal-top__home img { display: block; width: 84px; height: auto; }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px, 8vh, 80px) var(--gutter) 40px; }
.legal__kicker { margin: 0 0 10px; font-weight: 700; font-size: .95rem; color: var(--dim); }
.legal__title { margin: 0 0 18px; font-size: clamp(3rem, 9vw, 5.5rem); }
.legal__lede { max-width: 60ch; }
.legal section { margin-top: clamp(32px, 5vh, 48px); padding-top: clamp(24px, 4vh, 32px); border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 12px; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -.02em; }
.legal h3 { margin: 22px 0 6px; font-weight: 700; font-size: 1.1rem; }
.legal p, .legal li { max-width: 68ch; font-size: 1.05rem; line-height: 1.65; color: rgba(255, 255, 255, .84); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--lav); }
.legal a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--paper); }
.legal mark.todo { padding: 0 6px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.legal__inline-btn { padding: 0; border: 0; background: none; color: var(--paper); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.legal__inline-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.legal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: .95rem; }
.legal-foot a { color: var(--paper); font-weight: 700; }
