/* JoziLabs: a dark, premium studio site. The hero is drawn in code (assets/js/site.js):
   circuit traces travel in and build the JL logo as you scroll. Fonts are self-hosted. */

@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap; src: url("../fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url("../fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url("../fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #0b1118;
  --bg2: #0f1720;
  --panel: #131c26;
  --panel2: #18232f;
  --line: #22313f;
  --ink: #e8eef2;
  --muted: #9fb1c0;
  --steel: #3a5a6b;
  --steel-l: #6f93a6;
  --cyan: #3fb8c4;
  --cyan-l: #6fd0d9;

  --f-head: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --m: clamp(20px, 4vw, 56px);
  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip { position: fixed; z-index: 99; left: 12px; top: 12px; padding: 12px 18px; background: var(--cyan); color: var(--bg); font-weight: 600; clip-path: inset(50%); }
.skip:focus { clip-path: none; }

/* the fixed background environment: a faint dot grid and a soft vignette */
.env { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(63, 184, 196, 0.06), transparent 60%),
    radial-gradient(rgba(159, 177, 192, 0.09) 1px, transparent 1.2px) 0 0 / 28px 28px,
    var(--bg); }

.label { font: 500 13px/1.3 var(--f-mono); letter-spacing: 0.04em; color: var(--cyan); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 1px solid transparent; border-radius: 2px; font: 600 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 140ms var(--ease), box-shadow 300ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-cyan { background: var(--cyan); color: #06222a; }
.btn-cyan:hover { background: var(--cyan-l); }
.btn-ghost { border-color: rgba(232, 238, 242, 0.28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-l); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 16px 30px; font-size: 17px; }
.glow { box-shadow: 0 0 0 0 rgba(63, 184, 196, 0.0), 0 8px 40px -8px rgba(63, 184, 196, 0.55); }
.glow:hover { box-shadow: 0 0 0 4px rgba(63, 184, 196, 0.18), 0 10px 50px -6px rgba(63, 184, 196, 0.7); }
.text-link { display: inline-flex; gap: 8px; margin-top: 28px; color: var(--cyan-l); font-weight: 500; text-decoration: none; }
.text-link span { transition: transform 220ms var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 var(--m);
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease); border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(11, 17, 24, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 21px/1 var(--f-head); letter-spacing: -0.01em; }
.brand b, .wordmark b, .foot-brand b { color: var(--steel-l); font-weight: inherit; }
.brand-mark { width: 38px; height: auto; fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: miter; stroke-linecap: square; }
.brand-mark rect { stroke-width: 5; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { position: relative; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 6px 0; transition: color 200ms var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: 0 50%; transition: transform 260ms var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-menu { display: none; }
.menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 520svh; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.static-logo { display: none; }
.band, .settle { position: absolute; z-index: 2; left: var(--m); max-width: min(560px, 44vw); }
.band { top: 50%; transform: translateY(-50%); }
.band h1, .band-h { margin-top: 18px; font-size: clamp(42px, 5.6vw, 84px); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; text-shadow: 0 0 40px rgba(11, 17, 24, 0.9); }
.band .sub { margin-top: 22px; max-width: 34ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--muted); }
.settle { top: auto; bottom: 14svh; }
.wordmark { font: 700 clamp(44px, 5vw, 76px)/1 var(--f-head); letter-spacing: -0.02em; text-shadow: 0 0 30px rgba(63, 184, 196, 0.25); }
.settle-line { margin-top: 14px; font: 500 15px/1.3 var(--f-mono); letter-spacing: 0.06em; color: var(--cyan); }
.settle-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hint { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; transition: opacity 400ms var(--ease); }
.hint span { width: 1px; height: 38px; background: rgba(159, 177, 192, 0.35); position: relative; overflow: hidden; }
.hint span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cyan); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { to { top: 100%; } }

/* JS drives the bands; without it (or with reduced motion) the hero is a still composition */
.js .band, .js .settle { opacity: 0; visibility: hidden; will-change: opacity, transform; }
.js .band.b1 { opacity: 1; visibility: visible; }
html:not(.js) .hero, .rm .hero { height: auto; }
html:not(.js) .stage, .rm .stage { position: relative; height: auto; min-height: 100svh; padding: 140px var(--m) 80px; display: grid; align-content: center; gap: 48px; }
html:not(.js) .band:not(.b1), .rm .band:not(.b1), html:not(.js) .hint, .rm .hint { display: none; }
html:not(.js) .band.b1, .rm .band.b1, html:not(.js) .settle, .rm .settle { position: relative; inset: auto; transform: none; opacity: 1; visibility: visible; max-width: 640px; }
html:not(.js) .static-logo, .rm .static-logo { display: block; position: absolute; right: 6vw; top: 50%; width: min(40vw, 520px); transform: translateY(-50%); fill: none; stroke: var(--cyan); stroke-width: 5.5; stroke-linecap: square; filter: drop-shadow(0 0 18px rgba(63, 184, 196, 0.45)); }

/* ---------- sections ---------- */
.sec { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 160px var(--m); }
.sec-head { max-width: 760px; }
.sec h2 { margin-top: 18px; font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -0.03em; }
.lead { margin-top: 22px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); max-width: 56ch; }

/* what we do */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 72px; }
.group { position: relative; padding: 40px 32px 36px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color 300ms var(--ease), transform 400ms var(--ease); }
.group:hover { border-color: rgba(63, 184, 196, 0.45); transform: translateY(-4px); }
.group-trace { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 24px; overflow: visible; }
.group-trace path, .group-trace rect { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; }
.group h3 { font-size: 30px; margin-top: 8px; }
.svc { display: grid; gap: 22px; margin-top: 28px; }
.svc li { display: grid; gap: 6px; padding-left: 22px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border: 2px solid var(--cyan); }
.svc b { font: 600 19px/1.25 var(--f-head); letter-spacing: -0.01em; }
.svc span { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* our products */
.product { position: relative; background: var(--panel); border: 1px solid var(--line); }
.product-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 500 13px/1.3 var(--f-mono); letter-spacing: 0.04em; color: var(--muted); }
.status { padding: 5px 10px; border: 1px solid rgba(63, 184, 196, 0.5); color: var(--cyan); }
.status.is-soon { border-style: dashed; border-color: var(--steel); color: var(--steel-l); }
.moment { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 72px; padding: 64px; }
.moment-copy h3 { margin-top: 22px; font-size: clamp(44px, 5.4vw, 84px); letter-spacing: -0.03em; }
.moment .prices li { background: var(--bg2); }
.soon-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.8fr); gap: 20px; margin-top: 20px; align-items: stretch; }
.soon { padding: 32px; background: transparent; border-style: dashed; border-color: var(--steel); overflow: hidden; }
.soon h3 { margin-top: 22px; font-size: 26px; color: var(--muted); }
.soon p:last-child { margin-top: 8px; color: #7f93a3; font-size: 16px; }
/* a placeholder screen with a light that sweeps across it */
.ghost { position: relative; display: grid; gap: 10px; margin-top: 26px; padding: 20px; border: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.ghost i { display: block; height: 10px; background: var(--line); }
.ghost i:nth-child(1) { width: 46%; height: 14px; }
.ghost i:nth-child(2) { width: 82%; }
.ghost i:nth-child(3) { width: 64%; }
.ghost b { display: block; width: 38%; height: 30px; margin-top: 6px; border: 1px dashed var(--steel); }
.ghost::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(63, 184, 196, 0.16) 50%, transparent 70%); transform: translateX(-100%); }
.soon:nth-child(2) .ghost::after { animation-delay: 1.4s; }
.soon-note { display: grid; align-content: center; padding: 8px 4px; }
.soon-note p { font: 600 22px/1.25 var(--f-head); }
.soon-note .text-link { margin-top: 16px; }
.prices { display: grid; gap: 8px; margin: 28px 0 32px; max-width: 460px; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); }
.prices span { color: var(--muted); }
.prices b { font: 600 20px/1 var(--f-head); }
.moment-show { display: grid; justify-items: center; gap: 22px; position: relative; }
.moment-show::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(63, 184, 196, 0.22), transparent); filter: blur(20px); z-index: -1; }
.phone { width: min(300px, 78vw); aspect-ratio: 9 / 18.5; padding: 12px; background: #05080c; border: 1px solid #2a3a4a; border-radius: 34px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 24px; background: #fff; }
.phone-screen .mp-shot {
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills the screen without stretching */
  object-position: top;
  display: block;
}
.phone-url { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 12px 14px 8px; background: rgba(255, 255, 255, 0.94); color: #384656; font: 500 11px/1 var(--f-mono); display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.phone-url::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #1d7d52; }
.mp { position: absolute; inset: 0; padding: 50px 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-family: var(--f-body); transition: clip-path 800ms var(--ease-expo); clip-path: inset(0 0 0 0); }
.mp[data-off] { clip-path: inset(100% 0 0 0); }
.mp small { font-size: 12px; opacity: 0.85; }
.mp .h { font: 700 22px/1.15 var(--f-head); }
.mp .wa { margin-top: 10px; padding: 11px; border-radius: 8px; text-align: center; background: #1d7d52; color: #fff; font-weight: 600; font-size: 13px; }
.mp-bday { background: #fff7ea; color: #3b2a10; }
.mp-bday .big { font: 700 84px/0.85 var(--f-head); color: #e39420; }
.mp-invite { background: #2a1838; color: #f6eefc; text-align: center; align-items: center; }
.mp-flyer { background: #b3361c; color: #fff; }
.mp-flyer .sticker { align-self: flex-start; padding: 5px 10px; background: #fff3c4; color: #8a2a12; font-weight: 700; font-size: 12px; transform: rotate(-4deg); }
.dots { display: flex; gap: 8px; }
.dots button { width: 34px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--line); cursor: pointer; transition: background-color 250ms var(--ease), width 250ms var(--ease); }
.dots button[aria-pressed="true"] { background: var(--cyan); width: 48px; }

/* how it works */
.steps { position: relative; margin-top: 80px; }
.steps-trace { position: absolute; left: 0; right: 0; top: 7px; width: 100%; height: 20px; }
.steps-trace path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.steps-trace .base { stroke: var(--line); }
.steps-trace .lit { stroke: var(--cyan); vector-effect: none; stroke-width: 2.4; stroke-dasharray: 1 2; stroke-dashoffset: var(--draw, 1); filter: drop-shadow(0 0 6px rgba(63, 184, 196, 0.7)); }
.steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { position: relative; padding-top: 52px; }
.step .pad { position: absolute; top: 8px; left: 0; width: 18px; height: 18px; background: var(--bg); border: 2px solid var(--line); transition: border-color 400ms var(--ease), background-color 400ms var(--ease), box-shadow 400ms var(--ease); }
.step.is-lit .pad { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 16px rgba(63, 184, 196, 0.8); }
.step h3 { font-size: 26px; }
.step p { margin-top: 12px; color: var(--muted); max-width: 34ch; }

/* what do you need */
.need { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.choices button { min-height: 46px; padding: 10px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 2px; color: var(--ink); font-size: 15.5px; cursor: pointer; transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease); }
.choices button:hover { border-color: var(--steel-l); }
.choices button[aria-checked="true"] { background: var(--cyan); border-color: var(--cyan); color: #06222a; font-weight: 600; }
.name-label { display: block; margin-top: 32px; font-weight: 500; font-size: 15px; color: var(--muted); }
#need-name { margin-top: 8px; width: min(320px, 100%); height: 50px; padding: 0 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 2px; }
#need-name::placeholder { color: #6e8292; }
#need-name:focus { border-color: var(--cyan); outline: none; }
.need-answer { position: sticky; top: 104px; display: grid; gap: 18px; padding: 36px; background: var(--panel); border: 1px solid var(--line); }
.answer-svc { font: 600 28px/1.1 var(--f-head); }
.answer-what { color: var(--muted); }
.mail { border: 1px solid var(--line); background: var(--bg2); }
.mail-meta { display: flex; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.mail-meta span { flex: none; width: 58px; font: 500 12px/1.9 var(--f-mono); letter-spacing: 0.04em; color: #7f93a3; }
.mail-meta b { color: var(--ink); font-weight: 600; }
.bubble { padding: 16px; white-space: pre-line; color: var(--ink); }
.bubble.flash { animation: pop 420ms var(--ease); }
@keyframes pop { from { transform: translateY(6px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.send-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer-alt { font-size: 15px; color: var(--muted); }
.answer-alt a { color: var(--ink); }

/* questions */
.qa { margin-top: 56px; max-width: 880px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 600 21px/1.3 var(--f-head); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border: 2px solid var(--cyan); transition: transform 300ms var(--ease), background-color 300ms var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); background: var(--cyan); }
.qa details p { padding: 0 0 28px; max-width: 64ch; color: var(--muted); }

/* who we are */
.about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.founders { display: grid; gap: 14px; }
.founders li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 18px; background: var(--panel); border: 1px solid var(--line); }
.initial { grid-row: 1 / span 2; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--cyan); color: var(--cyan); font: 700 28px/1 var(--f-head); }
.founders b { font: 600 22px/1.2 var(--f-head); }
.founders li > span:last-child { color: var(--muted); font-size: 15px; }

/* call to action */
.cta { text-align: center; padding-top: 180px; padding-bottom: 200px; overflow: hidden; }
.cta-trace { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.55; }
.cta-trace path, .cta-trace rect { fill: none; stroke: var(--steel); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cta-trace rect { stroke: var(--cyan); }
.cta h2 { font-size: clamp(44px, 6.4vw, 100px); }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }

/* footer */
.foot { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 56px var(--m) 48px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 12px; font: 700 22px/1 var(--f-head); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--ink); }
.foot-small { grid-column: 1 / -1; font-size: 14px; color: #7f93a3; }

/* ---------- entrances: each kind of thing arrives its own way ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-expo), transform 900ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .group-trace path { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1600ms var(--ease-expo) 200ms; }
  .js .group.is-in .group-trace path { stroke-dashoffset: 0; }
  .js .group-trace rect { opacity: 0; transition: opacity 400ms var(--ease) 1300ms; }
  .js .group.is-in .group-trace rect { opacity: 1; }
  .js .sec-head > * { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease-expo), transform 800ms var(--ease-expo); }
  .js .sec-head.is-in > * { opacity: 1; transform: none; }
  .js .sec-head.is-in > :nth-child(2) { transition-delay: 90ms; }
  .js .sec-head.is-in > :nth-child(3) { transition-delay: 180ms; }
  .glow { animation: breathe 3.6s ease-in-out infinite; }
  .ghost::after { animation: sweep 2.8s var(--ease) infinite; }
  @keyframes sweep { to { transform: translateX(100%); } }
  @keyframes breathe { 50% { box-shadow: 0 0 0 0 rgba(63, 184, 196, 0), 0 10px 56px -6px rgba(63, 184, 196, 0.75); } }
}

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .groups { grid-template-columns: 1fr; }
  .moment, .need, .about { grid-template-columns: 1fr; gap: 56px; }
  .moment { padding: 44px; }
  .soon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soon-note { grid-column: 1 / -1; }
  .need-answer { position: static; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .nav { height: 62px; gap: 12px; }
  .nav-cta { display: none; }
  .nav-menu { display: flex; align-items: center; gap: 10px; margin-left: auto; height: 42px; padding: 0 16px; background: transparent; border: 1px solid rgba(232, 238, 242, 0.28); border-radius: 2px; font-weight: 600; cursor: pointer; }
  .nav-menu span { width: 16px; height: 8px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transition: transform 250ms var(--ease); }
  .nav-menu[aria-expanded="true"] span { transform: scaleY(0.25); }
  .menu:not([hidden]) { display: grid; position: fixed; z-index: 49; inset: 62px 0 auto; padding: 12px var(--m) 28px; background: rgba(11, 17, 24, 0.97); border-bottom: 1px solid var(--line); }
  .menu a { padding: 14px 0; font: 600 26px/1.1 var(--f-head); text-decoration: none; border-bottom: 1px solid var(--line); }
  .hero { height: 440svh; }
  .band, .settle { left: var(--m); right: var(--m); max-width: none; }
  .band { top: auto; bottom: 9svh; transform: none; }
  .band h1, .band-h { font-size: clamp(36px, 10.5vw, 48px); margin-top: 12px; }
  .band .sub { margin-top: 14px; font-size: 17px; }
  .settle { bottom: 7svh; }
  .wordmark { font-size: 44px; }
  .settle-actions .btn { flex: 1 1 100%; }
  .hint { display: none; }
  html:not(.js) .stage, .rm .stage { padding-top: 110px; }
  html:not(.js) .static-logo, .rm .static-logo { position: relative; right: auto; top: auto; transform: none; width: 70vw; justify-self: center; order: -1; }
  .sec { padding: 104px var(--m); }
  .groups { margin-top: 48px; }
  .group { padding: 34px 22px 28px; }
  .steps-trace { display: none; }
  .steps ol { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
  .step { padding: 0 0 40px 30px; }
  .step .pad { left: -10px; top: 4px; }
  .need-answer { padding: 24px; }
  .send-row { grid-template-columns: 1fr; }
  .moment { margin-top: 48px; padding: 28px 22px 36px; gap: 44px; }
  .soon-row { grid-template-columns: 1fr; }
  .soon { padding: 26px 22px; }
  .choices button { flex: 1 1 100%; text-align: left; }
  .qa summary { font-size: 19px; }
  .cta { padding-top: 120px; padding-bottom: 130px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
