/* Raising Black Belts: "Black Belt Lane". Tokens from the approved art-direction pack.
   Self-hosted OFL fonts only (strict CSP). Light brand only. */
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("/assets/fonts/baloo-2-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("/assets/fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("/assets/fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("/assets/fonts/nunito-latin-900-normal.woff2") format("woff2"); }

/* Brand kit v1 tokens (logo/brand-kit/tokens.css). Rules: never orange text on white
   (use --orange-ink); buttons are orange with NAVY text; white text only on navy. */
:root {
  color-scheme: light;
  --navy: #0B3461; --orange: #FF8024; --orange-ink: #B8470B; --sky: #36A1F0; --sky-light: #79CBFF;
  --sky-pale: #E3F4FF; --cream: #FFF8EE; --white: #fff; --ink-soft: #3B5876; --link: #1656A0;
  --belt-white: #F6F3EC; --belt-grey: #A3A9AF; --belt-yellow: #F6C431; --belt-orange: #F38A2C; --belt-green: #2F9A5B; --belt-blue: #1F4FB5; --belt-purple: #5B2D8C; --belt-brown: #7A4A2A; --belt-black: #232326;
  --bar: #161616; --bar-black-belt: #C8202F;
  /* derived for the scene UI (from the approved art-direction pack) */
  --sky-4: #EEF8FF; --orange-l: #FFE3CC; --orange-edge: #D9650F; --line: #D3E6F7; --navy-2: var(--ink-soft);
  --panel: #CFEAFF;
  --r-xl: 32px; --r-lg: 24px; --r-md: 16px;
  --shadow-soft: 0 18px 50px -18px rgba(11,52,97,.35), 0 4px 14px -6px rgba(11,52,97,.18);
  --shadow-pop: 0 10px 0 -2px rgba(11,52,97,.14), 0 24px 40px -18px rgba(11,52,97,.45);
  --display: "Baloo 2", "Nunito", ui-rounded, system-ui, sans-serif;
  --ui: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.8,.3,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--sky-4); color: var(--navy); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--link); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: .92; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 12px; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.o, .amp { color: var(--orange-ink); }
p { margin: 0; }

/* ---------- shared UI kit ---------- */
.chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 7px 14px 7px 8px; font: 800 13px/1.2 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); box-shadow: var(--shadow-soft); }
.chip .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: var(--navy); font-size: 12px; flex: none; }
.chip .dot.sky { background: var(--sky-light); }
.chip.navy { background: var(--navy); color: #fff; }
.chip.navy .dot { background: #fff; color: var(--navy); }
.chip.soft { box-shadow: none; background: var(--sky-4); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 900 18px/1 var(--ui); padding: 0 26px; min-height: 58px; background: var(--orange); color: var(--navy); white-space: nowrap;
  box-shadow: 0 6px 0 var(--orange-edge), 0 18px 30px -12px rgba(232,101,10,.65); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--orange-edge), 0 22px 30px -12px rgba(232,101,10,.7); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--orange-edge), 0 8px 16px -10px rgba(232,101,10,.6); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .arrow { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.45); display: grid; place-items: center; font-size: 15px; }
.btn.small { min-height: 50px; font-size: 17px; padding: 0 22px; }
.btn.ghost { background: #fff; color: var(--navy); min-height: 46px; font-size: 16px; padding: 0 18px; box-shadow: 0 4px 0 rgba(11,52,97,.12), var(--shadow-soft); }
.btn.ghost:hover { box-shadow: 0 6px 0 rgba(11,52,97,.12), var(--shadow-soft); }
.btn.ghost-2 { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px #C9DDF0, 0 4px 0 #C9DDF0; }
.btn.ghost-2:hover { box-shadow: inset 0 0 0 2px #B3CDE6, 0 6px 0 #B3CDE6; }
.btn.calm[aria-pressed="true"] { background: var(--navy); color: #fff; }

.bubble { position: absolute; z-index: 6; margin: 0; background: #fff; border-radius: 22px; padding: 12px 18px; max-width: 260px;
  font: 800 18px/1.25 var(--ui); color: var(--navy); box-shadow: var(--shadow-pop); transform-origin: 30% 100%; }
.bubble::after { content: ""; position: absolute; width: 22px; height: 22px; background: #fff; border-radius: 4px; transform: rotate(45deg); left: 40px; bottom: -8px; }
.who { display: block; font: 800 11px/1.2 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 3px; }
.bubble.pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.85); opacity: .4; } 60% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); } }

.note-ai, .fine { font-size: 13px; line-height: 1.45; color: var(--navy-2); }
.err { color: #B42318; font-size: 14px; margin-top: 6px; font-weight: 800; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- logo (brand kit: artwork, never retyped; on photos always on its white plate) ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; background: #fff; border-radius: 22px; padding: 8px 12px; box-shadow: var(--shadow-soft); }
.logo img { display: block; height: auto; }
.logo .full { width: 160px; }
.logo .icon { display: none; width: 48px; }

/* ---------- header ---------- */
.nav { position: absolute; z-index: 40; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.nav-right { display: flex; gap: 8px; align-items: center; }
.yt .play { width: 0; height: 0; border-left: 11px solid var(--navy); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.yt .yt-txt { display: none; }
.nav .btn.ghost { min-height: 42px; padding: 0 14px; font-size: 14px; }

/* ---------- progress: doorframe height chart (desktop) / thin bar (phone) ---------- */
.rail { display: none; }
.mbar { position: fixed; z-index: 45; left: 0; right: 0; top: 0; height: 4px; background: rgba(255,255,255,.4); pointer-events: none; }
.mbar b { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* ---------- rooms ---------- */
.room { position: relative; overflow: hidden; --p: 0; }
/* rooms below the porch are not styled or laid out until they come near the screen */
.room:not(.hero), .foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.room .art { position: relative; overflow: hidden; }
.room .art picture, .hero .art-box picture { height: 100%; }
.room .art img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.02 + var(--p) * .07)); transform-origin: 50% 60%; }
.room-ui { position: relative; }
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(26px); }

/* hotspots: pulsing orange dot that reveals one line of advice */
.hot { position: absolute; z-index: 7; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.hot .p { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); flex: none; box-shadow: 0 0 0 6px rgba(255,128,36,.35), 0 0 0 12px rgba(255,128,36,.15); animation: pulse 2.4s ease-in-out infinite; }
.hot .t { background: #fff; border-radius: 14px; padding: 8px 12px; font: 800 14px/1.3 var(--ui); color: var(--navy); box-shadow: var(--shadow-soft); max-width: 230px; transition: opacity .3s, transform .3s var(--ease); }
.hot[aria-expanded="false"] .t { opacity: 0; transform: translateX(-6px) scale(.96); pointer-events: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(255,128,36,.35), 0 0 0 12px rgba(255,128,36,.15); } 50% { box-shadow: 0 0 0 9px rgba(255,128,36,.28), 0 0 0 18px rgba(255,128,36,.08); } }

/* invisible tap targets over the hosts */
.host-hit { position: absolute; z-index: 5; background: transparent; border: 0; border-radius: 40%; cursor: pointer; }
.host-hit:focus-visible { outline: 3px dashed var(--orange); }
.burst { position: absolute; z-index: 8; pointer-events: none; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255,128,36,.6); animation: burst .65s var(--ease) forwards; }
@keyframes burst { 0% { transform: translate(0,0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.1); opacity: 0; } }

/* ---------- STOP 0: hero ---------- */
.hero { background: #62B6F3; }
.hero .art { height: clamp(500px, 64svh, 560px); }
.hero .art-box { position: absolute; inset: 0; }
.hero .art-box img { object-position: 50% 0; transform: none; }
.hero .veil { display: none; }
.hero-copy { position: absolute; z-index: 4; left: 20px; right: 20px; top: 156px; }
.hero-copy .chip { display: none; }
/* navy on sky passes AA only as large text, so the headline is big and gets a soft white halo */
.hero h1 { font-size: clamp(46px, 12.6vw, 104px); color: var(--navy); margin: 0; text-shadow: 0 0 2px #fff, 0 0 18px rgba(255,255,255,.85), 0 2px 0 rgba(255,255,255,.7); }
.hero .kind { position: relative; display: inline-block; }
.hero .kind svg { position: absolute; left: -4px; bottom: -6px; width: calc(100% + 8px); height: 16px; }
.hero .chip { font-size: 11px; padding: 6px 12px 6px 7px; }
.hero .chip .dot { width: 18px; height: 18px; font-size: 10px; }
.hero .chip .wide { display: none; }
.hero-bubble { left: 48%; top: 51%; font-size: 15px; padding: 9px 13px; border-radius: 16px; max-width: 200px; }
.hero-bubble::after { left: 30px; width: 18px; height: 18px; }
.hero-bubble .who { font-size: 10px; }
.host-hit.carlos { left: 20%; top: 60%; width: 38%; height: 40%; }
.host-hit.zaide { left: 58%; top: 64%; width: 34%; height: 36%; }

.sheet { position: relative; z-index: 6; margin-top: -30px; background: #fff; border-radius: 30px 30px 0 0; padding: 22px 20px 34px; box-shadow: 0 -20px 40px -24px rgba(11,52,97,.45); }
.sheet::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: #D5E3F0; margin: -10px auto 14px; }
.lede { font-size: 16px; line-height: 1.5; }
.lede b { font-weight: 800; }
.lede .wide { display: none; }

/* signup forms */
.signup-form .field label, .row2 label { display: block; font: 800 10px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 4px; }
.signup-form input[type="text"], .signup-form input[type="email"] { width: 100%; font: 400 16px/1.2 var(--body); color: var(--navy); background: transparent; border: 0; padding: 2px 0; min-height: 26px; }
.signup-form input::placeholder { color: #8DA2B8; opacity: 1; }
.signup-form input:focus { outline: none; }
.signup-form .field { background: var(--sky-4); border-radius: 16px; box-shadow: inset 0 0 0 2px #D3E6F7; padding: 9px 14px; transition: box-shadow .2s; }
.signup-form .field:focus-within { box-shadow: inset 0 0 0 2.5px var(--orange); }
.signup-form .field.bad { box-shadow: inset 0 0 0 2.5px #B42318; }
.fields { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; margin-top: 12px; }
.fields .btn { grid-column: 1 / -1; width: 100%; order: 3; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start; margin-top: 10px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }
.consent label { font-size: 13px; line-height: 1.4; color: var(--navy); }
.hero-signup .fine { margin-top: 8px; }
.hero-signup .fields .btn { order: 0; }
.hero-signup .consent { order: 4; }

.thanks { border-radius: 22px; background: #EFFAF2; box-shadow: inset 0 0 0 2px #9ED8B0; padding: 18px; }
.thanks h2, .thanks h4 { font: 800 26px/1.1 var(--display); margin: 0 0 6px; }
.thanks h2:focus, .thanks h4:focus { outline: none; }
.thanks p { margin: 0 0 12px; }
.thanks .btn { width: 100%; }

.guidecard { margin-top: 16px; display: flex; gap: 14px; align-items: center; background: var(--orange-l); border-radius: 20px; padding: 12px; }
.guidecard picture { flex: none; width: 60px; }
.guidecard img { border-radius: 5px; transform: rotate(-5deg); box-shadow: 0 8px 14px -6px rgba(11,52,97,.5), 0 0 0 3px #fff; transition: transform .3s var(--ease); }
.guidecard:hover img { transform: rotate(0) scale(1.06); }
.guidecard p { font-size: 13px; line-height: 1.4; }
.guidecard b { font: 800 16px/1.1 var(--display); display: block; }
.hero .note-ai { margin-top: 14px; }
.next-hint { margin-top: 18px; display: flex; align-items: center; gap: 10px; font: 800 14px/1.3 var(--ui); }
.ring { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- rooms on phones: art band + card sheet ---------- */
.room:not(.hero) .art { aspect-ratio: 4 / 3; }
.room:not(.hero) .room-ui { margin-top: -28px; padding: 0 12px 34px; z-index: 3; }
/* phone: overlays sit on the 4:3 art band above the card (art bottom = card top + 28px) */
.stop-chip { position: absolute; z-index: 6; left: 16px; top: calc(42px - 75vw); }

/* quiz card */
.quizcard { position: relative; background: #fff; border-radius: 30px; box-shadow: 0 30px 60px -30px rgba(11,52,97,.55), 0 0 0 6px rgba(255,255,255,.4); overflow: hidden; }
.qtop { padding: 22px 20px 6px; }
.meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.kicker { font: 800 12px/1.2 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.count { font: 800 13px/1 var(--ui); color: var(--navy-2); white-space: nowrap; }
.bars { display: flex; gap: 6px; margin-top: 12px; }
.bars i { flex: 1; height: 8px; border-radius: 4px; background: #E2EEF8; transition: background .3s; }
.bars i.on { background: var(--orange); }
.quizcard h3 { font-size: 32px; line-height: 1; margin: 18px 0 0; }
.q { font-size: 17px; line-height: 1.45; margin-top: 10px; color: var(--navy-2); }
.ans { border: 0; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ans legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border-radius: 18px; background: var(--sky-4); box-shadow: inset 0 0 0 2px #D3E6F7, 0 4px 0 #D3E6F7; font: 800 16px/1.25 var(--ui); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s, background .15s; }
.a:hover { transform: translateY(-2px); }
.a input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a .k { width: 30px; height: 30px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: 13px; color: var(--navy-2); box-shadow: inset 0 0 0 2px #D3E6F7; flex: none; transition: background .15s; }
.a.sel { background: #FFF1E5; box-shadow: inset 0 0 0 3px var(--orange), 0 4px 0 var(--orange-edge); }
.a.sel .k { background: var(--orange); color: var(--navy); box-shadow: none; }
.a:focus-within { outline: 3px solid var(--link); outline-offset: 3px; }
.a.sel { animation: chip .35s var(--ease); }
@keyframes chip { 0% { transform: scale(.97); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }

.react { position: relative; margin-top: 18px; background: #CFEAFF; padding: 18px 20px 20px; min-height: 230px; overflow: hidden; }
.say-card { position: relative; z-index: 2; width: calc(100% - 130px); background: #fff; border-radius: 20px; padding: 12px 14px; font: 800 16px/1.3 var(--ui); box-shadow: var(--shadow-pop); }
.say-card::after { content: ""; position: absolute; right: -8px; top: 30px; width: 20px; height: 20px; background: #fff; transform: rotate(45deg); border-radius: 4px; }
.q-fine { position: relative; z-index: 2; width: calc(100% - 130px); margin-top: 12px; font-size: 12px; }
.q-nav { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: 14px; }

.qresult { padding: 4px 20px 22px; }
.qresult h4.display { font-size: 28px; line-height: 1.02; margin-top: 8px; }
.scripts { display: grid; gap: 10px; margin-top: 14px; }
.script { background: var(--sky-4); border-radius: 18px; padding: 12px 14px; border-left: 5px solid var(--orange); }
.script b { display: block; font: 800 12px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 4px; }
.script p { font-size: 16px; line-height: 1.4; }
.qresult .fine { margin-top: 12px; }
.qresult .signup { margin: 16px 0 12px; }
.urgent { border-radius: 18px; padding: 14px 16px; background: #FFF4F2; box-shadow: inset 0 0 0 2.5px #B42318; margin-top: 12px; }
.urgent h4 { margin: 0 0 4px; font: 800 20px/1.1 var(--display); color: #8F1D14; }
.urgent p { font-size: 15px; line-height: 1.45; }
.tonight { margin-top: 12px; font: 800 21px/1.3 var(--ui); background: var(--orange-l); border-radius: 18px; padding: 14px 16px; }
.q-feedback { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--navy-2); min-height: 1px; }
.q-feedback:empty { display: none; }
.who-reads { display: inline-flex; margin-top: 12px; padding: 4px; border-radius: 999px; background: var(--sky-4); box-shadow: inset 0 0 0 2px #D3E6F7; }
.seg { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; font: 800 14px/1 var(--ui); cursor: pointer; color: var(--navy-2); }
.seg[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* compact signup inside results and at the end */
.signup.compact .formbox { background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 2px #D3E6F7; padding: 14px; }
.form-title { font: 800 19px/1.15 var(--display); margin-bottom: 10px; }
.row2 { display: grid; gap: 8px; }
.signup.compact .btn { width: 100%; margin-top: 12px; }

/* STOP 1 bus stop (phone) */
.bus .art img { object-position: 22% 50%; }
.bus .hot-bus { left: 50%; top: calc(28px - 56vw); }
.bus .hot-bus .t { max-width: 160px; font-size: 13px; }
.cap { background: rgba(11,52,97,.92); color: #fff; border-radius: 24px; padding: 16px 18px; margin-bottom: 12px; position: relative; z-index: 2; }
.cap h2 { font-size: 26px; }
.cap p { margin-top: 6px; font-size: 14px; line-height: 1.45; opacity: .92; }

/* STOP 2 dinner */
.dinner .hot-dinner { left: 5%; top: calc(28px - 50vw); }
.dinner .hot-dinner .t { max-width: 170px; font-size: 13px; }

/* STOP 3 the mat */
.mat .art img { object-position: 52% 30%; }
.panel { position: relative; z-index: 3; background: rgba(255,255,255,.97); border-radius: 30px; padding: 22px 20px; box-shadow: 0 30px 60px -30px rgba(11,52,97,.55); }
.panel h2 { font-size: 46px; margin: 14px 0 10px; }
.body { font-size: 16px; line-height: 1.55; color: var(--navy-2); }
.ep { margin-top: 16px; display: flex; align-items: center; gap: 12px; background: var(--navy); border-radius: 20px; padding: 10px 12px; color: #fff; text-decoration: none; transition: transform .2s var(--ease); }
.ep:hover { transform: translateY(-3px); }
.ep .thumb { width: 92px; height: 56px; border-radius: 12px; flex: none; position: relative; background: url("/assets/art/scenes/s3-mat-still-phone-828.webp") 50% 12% / 120px auto; }
.ep .thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.ep .thumb::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-left: 10px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ep b { display: block; font: 800 17px/1.1 var(--display); }
.ep span span { font-size: 13px; opacity: .85; }
.series { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.series i { font-style: normal; font: 800 13px/1 var(--ui); padding: 7px 12px; border-radius: 999px; background: var(--orange-l); color: var(--navy); }
@keyframes count { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.18) rotate(-3deg); } 22% { transform: scale(1); } }
.mat-bubble { left: auto; right: 4%; top: calc(28px - 72vw); font-size: 14px; max-width: 170px; padding: 9px 12px; }
.mat-bubble::after { left: auto; right: 20px; width: 16px; height: 16px; }
.zaide-mat { right: 0; top: calc(28px - 66vw); width: 20%; height: 50vw; }
.mat .hot-mat { display: none; }

/* STOP 4 door (placeholder scene) */
.door-bubble { left: 6%; top: -14px; font-size: 14px; max-width: 220px; padding: 9px 12px; }
.meet { background: #fff; border-radius: 30px; padding: 22px 20px; box-shadow: 0 30px 60px -30px rgba(11,52,97,.4); }
.meet h2 { font-size: 46px; margin: 14px 0 6px; }
.bio { margin-top: 16px; padding-top: 14px; border-top: 2px dashed #D3E6F7; }
.bio h3 { font: 800 22px/1.1 var(--display); margin: 0; }
.rank { font: 800 12px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin: 4px 0 6px; }
.bio p:last-child { font-size: 16px; line-height: 1.55; color: var(--navy-2); }
.ytcard { margin-top: 18px; display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--navy); background: var(--sky-4); border-radius: 22px; padding: 10px; box-shadow: inset 0 0 0 2px #D3E6F7; transition: transform .2s var(--ease); }
.ytcard:hover { transform: translateY(-3px); }
.ytthumb { position: relative; width: 112px; aspect-ratio: 16 / 9; border-radius: 12px; flex: none; background: url("/assets/art/scenes/s4b-meet-hosts-still-1280.webp") 72% 30% / 260px auto; }
.playbtn { position: absolute; inset: 0; margin: auto; width: 34px; height: 24px; border-radius: 8px; background: var(--red); }
.playbtn::after { content: ""; position: absolute; left: 13px; top: 6px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ytcard b { display: block; font: 800 17px/1.15 var(--display); }
.ytcard span span { font-size: 13px; line-height: 1.4; color: var(--navy-2); }
.meet .note-ai { margin-top: 14px; }
.local { margin-top: 8px; font-size: 13px; color: var(--navy-2); }

/* STOP 5 evening (placeholder: hero porch re-lit for dusk) */
.tonight-card { background: #fff; border-radius: 30px; padding: 22px 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); position: relative; z-index: 3; }
.tonight-card h2 { font-size: 40px; margin: 14px 0 10px; }
.five { margin: 0; padding: 0; list-style: none; counter-reset: f; display: grid; gap: 8px; }
.five li { counter-increment: f; position: relative; padding: 10px 12px 10px 48px; border-radius: 16px; background: var(--sky-4); font-size: 15px; line-height: 1.4; }
.five li::before { content: counter(f); position: absolute; left: 12px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 13px/1 var(--ui); }
.five b { font-weight: 800; }
.tonight-card > .fine { margin: 12px 0; }

/* footer */
.foot { background: var(--cream); padding: 34px 16px 46px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.map { margin: 0; max-width: 640px; }
.map img { border-radius: 26px; box-shadow: var(--shadow-soft); }
.map figcaption { margin-top: 10px; font: 800 15px/1.3 var(--ui); }
.foot-text p { margin: 5px 0; }
.foot-brand { font: 800 22px/1 var(--display); }

/* ---------- desktop: full-screen rooms, rail, scroll camera ---------- */
@media (min-width: 880px) {
  .nav { position: fixed; padding: 26px 56px 0 100px; pointer-events: none; }
  .nav > * { pointer-events: auto; }
  .logo .full { width: 190px; }
  .scrolled .logo { padding: 6px; border-radius: 16px; }
  .scrolled .logo .full { display: none; }
  .scrolled .logo .icon { display: block; }
  .yt .yt-txt { display: inline; }
  .nav .btn.ghost { min-height: 48px; font-size: 16px; padding: 0 20px; }
  .mbar { display: none; }

  .rail { display: block; position: fixed; z-index: 30; left: 26px; top: 110px; bottom: 70px; width: 30px; border-radius: 8px; background: linear-gradient(90deg, #fffdf8, #f3eadb); box-shadow: inset -3px 0 0 rgba(0,0,0,.05), 0 8px 20px -10px rgba(11,52,97,.4); }
  .rail-ticks { position: absolute; inset: 8px 0 6px; background: repeating-linear-gradient(180deg, rgba(11,52,97,.35) 0 2px, transparent 2px 12px) left top / 9px 100% no-repeat, repeating-linear-gradient(180deg, rgba(11,52,97,.35) 0 2px, transparent 2px 48px) left top / 16px 100% no-repeat; }
  .tape { position: absolute; left: -4px; height: 16px; width: 38px; border-radius: 3px; box-shadow: 0 2px 4px rgba(0,0,0,.18); opacity: .32; transition: opacity .4s, transform .4s var(--ease); bottom: calc(26px + var(--i) * (100% - 120px) / 5); }
  .tape.on { opacity: 1; }
  .tape.now { transform: scale(1.12); }
  .tape[data-tape="0"] { --i: 0; background: var(--orange); }
  .tape[data-tape="1"] { --i: 1; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(11,52,97,.25), 0 2px 4px rgba(0,0,0,.18); }
  .tape[data-tape="2"] { --i: 2; background: #9AA3AD; }
  .tape[data-tape="3"] { --i: 3; background: #FFC83D; }
  .tape[data-tape="4"] { --i: 4; background: var(--sky); }
  .tape[data-tape="5"] { --i: 5; background: var(--navy); }
  .kid { position: absolute; left: -14px; width: 58px; height: 4px; border-radius: 2px; background: var(--orange); box-shadow: 0 0 0 3px rgba(255,128,36,.25); bottom: calc(34px + var(--progress, 0) * (100% - 128px)); transition: bottom .15s linear; }
  .lab { position: absolute; left: 0; width: 30px; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font: 900 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--navy); opacity: .55; padding: 6px 0; background: #f8f2e8; border-radius: 4px; transition: opacity .3s, color .3s; }
  .lab[data-lab="0"] { --i: 0; } .lab[data-lab="1"] { --i: 1; } .lab[data-lab="2"] { --i: 2; } .lab[data-lab="3"] { --i: 3; } .lab[data-lab="4"] { --i: 4; } .lab[data-lab="5"] { --i: 5; }
  .lab { bottom: calc(48px + var(--i) * (100% - 120px) / 5); }
  .lab.on { opacity: 1; color: var(--orange-ink); }

  .room { min-height: 100svh; min-height: max(100svh, 760px); }
  .room .art, .room:not(.hero) .art { position: absolute; inset: 0; aspect-ratio: auto; }
  .room-ui, .room:not(.hero) .room-ui { position: relative; z-index: 3; margin: 0; padding: 0; min-height: inherit; }

  /* hero: render height-fit, right-anchored; type on clean sky */
  .hero .art { height: auto; }
  .hero .art-box { left: auto; right: 0; top: 0; bottom: 0; height: 100%; aspect-ratio: 1920 / 1072; }
  .hero .art-box img { object-position: 100% 100%; transform: scale(calc(1 + var(--p) * .05)); transform-origin: 70% 100%; }
  .hero .veil { display: block; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(222,242,255,.96) 0%, rgba(214,238,255,.92) 33%, rgba(200,232,255,.66) 41%, rgba(170,218,253,.2) 50%, rgba(140,205,252,0) 56%); pointer-events: none; }
  .hero .veil::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(0deg, rgba(214,238,255,.75), rgba(214,238,255,0)); }
  .hero-copy { left: 100px; right: auto; top: 178px; width: min(700px, 48vw); }
  .hero .chip { font-size: 14px; padding: 8px 16px 8px 10px; }
  .hero .chip .dot { width: 22px; height: 22px; font-size: 12px; }
  .hero .chip .wide { display: inline; }
  .hero-copy .chip { display: inline-flex; }
  .hero h1 { text-shadow: none; font-size: clamp(60px, 6.6vw, 96px); margin-top: 18px; }
  .lede .wide { display: inline; } .lede .narrow { display: none; }
  .hero .kind svg { bottom: -10px; height: 24px; }
  .sheet { position: absolute; z-index: 5; left: 100px; top: calc(178px + 54px + clamp(60px, 6.6vw, 96px) * 1.84 + 20px); width: min(680px, 50vw); margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .sheet::before { display: none; }
  .lede { font-size: 19px; max-width: 600px; }
  .hero-signup { margin-top: 20px; }
  .pill .fields { display: flex; align-items: center; gap: 0; margin: 0; background: #fff; border-radius: 999px; padding: 8px; box-shadow: var(--shadow-pop); }
  .pill .field { flex: 1; background: none; box-shadow: none; border-radius: 0; padding: 4px 20px; border-right: 1.5px solid #E3EEF8; }
  .pill .field:nth-child(2) { flex: 1.3; border-right: 0; }
  .pill .field:focus-within { box-shadow: none; background: var(--sky-4); border-radius: 999px; }
  .pill input[type="text"], .pill input[type="email"] { font-size: 17px; }
  .pill .fields .btn { width: auto; flex: none; }
  .hero-signup .consent { max-width: 620px; margin-top: 14px; }
  .hero-signup .consent label { font-size: 14px; }
  .hero .thanks { max-width: 620px; }
  .guidecard { width: 440px; margin-top: 16px; padding: 8px 14px 8px 8px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-soft); }
  .hero .note-ai { max-width: 560px; }
  .hero .next-hint { position: fixed; right: 56px; bottom: 30px; z-index: 15; margin: 0; background: rgba(255,255,255,.94); padding: 10px 18px 10px 12px; border-radius: 999px; box-shadow: var(--shadow-soft); transition: opacity .4s; }
  .scrolled .hero .next-hint { opacity: 0; pointer-events: none; }
  .hero-bubble { left: 46.5%; top: 13%; font-size: 19px; max-width: 250px; padding: 14px 20px; border-radius: 22px; }
  .hero-bubble::after { left: 110px; width: 22px; height: 22px; }
  .hero-bubble .who { font-size: 12px; }
  .host-hit.carlos { left: 35%; top: 22%; width: 31%; height: 78%; }
  .host-hit.zaide { left: 67%; top: 22%; width: 27%; height: 78%; }
  .hero { min-height: max(100svh, 860px); }

  .room:not(.hero) .art img { object-position: center; }
  .stop-chip { left: 100px; top: 112px; }
  .room:not(.hero) .room-ui { min-height: max(100svh, 760px); }

  /* bus stop: art left, quiz card right */
  .bus .art img { object-position: 0% 50%; }
  .bus .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,52,97,0) 45%, rgba(11,52,97,.18) 100%); }
  .bus .hot-bus { left: 23%; top: 25%; }
  .bus .hot-bus .t { max-width: 220px; font-size: 14px; }
  .cap { position: absolute; left: 100px; bottom: 34px; width: 440px; margin: 0; backdrop-filter: blur(8px); }
  .cap h2 { font-size: 30px; }
  .cap p { font-size: 15px; }
  /* the quiz card is in normal flow so the room grows with long results (nothing ever gets clipped) */
  .room.bus .room-ui, .room.dinner .room-ui { display: flex; align-items: flex-start; padding: 96px 56px 60px 100px; }
  .room.bus .room-ui { justify-content: flex-end; }
  .room.dinner .room-ui { justify-content: flex-start; }
  .quizcard { position: relative; width: 548px; flex: none; }
  .qtop { padding: 30px 34px 0; }
  .quizcard h3 { font-size: 40px; margin-top: 22px; }
  .q { font-size: 19px; }
  .ans { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
  .a { min-height: 66px; font-size: 17px; }
  .react { margin-top: 24px; padding: 26px 34px 26px; min-height: 270px; }
  .say-card { width: 300px; font-size: 18px; padding: 16px 18px; }
  .q-fine { width: 300px; }
  .qresult { padding: 6px 34px 30px; }
  .qresult h4.display { font-size: 32px; }

  /* dinner: art right, card left */
  .dinner .art img { object-position: 100% 50%; }
  .dinner .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(11,52,97,0) 45%, rgba(11,52,97,.2) 100%); }
  .dinner .stop-chip { left: auto; right: 56px; top: 112px; }
  .dinner .hot-dinner { left: auto; right: 22%; top: 64%; }
  .dinner .hot-dinner .t { max-width: 220px; font-size: 14px; }

  /* the mat */
  .mat .art img { object-position: 62% 50%; }
  .mat .art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 10% 20%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%); }
  .panel { position: absolute; left: 100px; top: 118px; width: 470px; padding: 30px 32px; backdrop-filter: blur(10px); }
  .panel h2 { font-size: 76px; }
  .body { font-size: 18px; }
  .ep .thumb { width: 112px; height: 64px; }
  .mat-bubble { left: 60.5%; right: auto; top: 24%; font-size: 18px; max-width: 230px; padding: 14px 20px; }
  .mat-bubble::after { left: auto; right: -9px; bottom: auto; top: 34px; }
  .zaide-mat { right: 4%; top: 8%; width: 18%; height: 60%; }
  .mat .hot-mat { display: flex; left: 55%; top: 46%; }

  /* door */
  .door-bubble { left: -8%; top: -34px; font-size: 17px; max-width: 250px; padding: 12px 16px; }
  .meet { padding: 30px 32px; max-width: 560px; }
  .meet h2 { font-size: 64px; }

  /* evening */
  .evening .room-ui { display: flex; align-items: center; padding: 110px 56px 70px 120px !important; }
  .tonight-card { width: 560px; padding: 30px 32px; }
  .tonight-card h2 { font-size: 52px; }
  .five li { font-size: 16px; }

  .foot { grid-template-columns: minmax(0, 640px) minmax(0, 420px); justify-content: center; align-items: center; text-align: left; justify-items: start; padding: 60px 56px 60px 120px; gap: 48px; }
}
@media (min-width: 880px) and (max-width: 1279px) {
  .quizcard { width: 470px; }
  .room.bus .room-ui, .room.dinner .room-ui { padding-right: 32px; }
  .hero-copy { width: 52vw; }
  .sheet { width: 54vw; }
  .pill .fields .btn .btn-txt { font-size: 17px; }
  .panel { width: 420px; }
  .panel h2 { font-size: 60px; }
  .cap { width: 330px; }
}

/* ---------- calm mode + reduced motion: same content, no motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .room .art img { transform: none !important; }
  .js [data-reveal]:not(.in) { opacity: 1; transform: none; }
}
.calm *, .calm *::before, .calm *::after { animation: none !important; transition: none !important; }
.calm .room .art img { transform: none !important; }
.calm.js [data-reveal]:not(.in) { opacity: 1; transform: none; }

/* ---------- simple pages (privacy, thanks, 404) ---------- */
.page { min-height: 100svh; background: linear-gradient(180deg, #CFEAFF 0%, var(--sky-4) 420px); }
.page .nav { position: relative; padding: 18px 16px; }
.doc { max-width: 760px; margin: 0 auto; padding: 10px 16px 40px; position: relative; }
.doc .card { background: #fff; border-radius: 30px; padding: 26px 22px; box-shadow: var(--shadow-soft); position: relative; }
.doc h1 { font: 800 clamp(38px, 9vw, 56px)/.95 var(--display); letter-spacing: -.02em; margin: 6px 0 14px; }
.doc h2 { font: 800 22px/1.1 var(--display); margin: 26px 0 6px; }
.doc p, .doc li { color: var(--navy-2); line-height: 1.6; }
.doc p { margin: 0 0 10px; }
.doc ul { padding-left: 22px; }
.doc .btn { margin-top: 8px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.doc .host-peek { width: 150px; margin: -90px 0 0 auto; position: relative; z-index: 2; animation: float 6s ease-in-out infinite; }
.page .foot { background: none; padding-top: 10px; }
@media (min-width: 880px) {
  .page .nav { padding: 26px 56px; }
  .doc .card { padding: 40px 48px; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.doc .host-peek { width: 190px; margin-top: -130px; }
}

/* ---------- delivered art: stills, loops, foreground plates ---------- */
.room .art video.loop, .hero .art-box video.loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; transform: scale(calc(1.02 + var(--p) * .07)); transform-origin: 50% 60%; }
.hero .art-box video.loop { object-position: 50% 0; transform: none; }
video.loop.on { opacity: 1; }
.room:not(.hero) .art { aspect-ratio: 4 / 5; }
.room:not(.hero) .art picture { height: 100%; }

/* live host clips (matte #CFEAFF, so only inside panels of that exact colour) */
.host-cam { position: absolute; z-index: 1; right: 0; bottom: 0; width: 150px; aspect-ratio: 1; padding: 0; border: 0; background: #CFEAFF; cursor: pointer; overflow: hidden; border-radius: 0 0 0 24px; }
.host-cam img, .host-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.host-cam video, .bubble-cam video { opacity: 0; }
.host-cam video.on, .bubble-cam video.on { opacity: 1; }
.host-cam:focus-visible { outline-offset: -4px; }
.bubble { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.bubble .who, .bubble .say { grid-column: 2; }
.bubble-cam { grid-column: 1; grid-row: 1 / span 2; position: relative; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #CFEAFF; box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px #CFEAFF; }
.bubble-cam img, .bubble-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(2); transform-origin: 50% 21%; }

/* quiz 2 result: one invented kid for the talk-about-it superpower */
.trait { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; margin-top: 12px; background: var(--sky-4); border-radius: 18px; padding: 10px 14px 0 10px; overflow: hidden; }
.trait img { width: 96px; height: 130px; object-fit: contain; object-position: 50% 100%; }
.trait p { padding-bottom: 10px; font-size: 15px; }
.trait b { display: block; font: 800 20px/1.1 var(--display); }

/* phone overlays on the 4:5 art band (art bottom = card top + 28px) */
.stop-chip { top: calc(42px - 125vw); }
.bus .hot-bus { left: 44%; top: calc(28px - 112vw); }
.dinner .hot-dinner { left: 5%; top: calc(28px - 36vw); }
.mat-bubble { top: calc(28px - 120vw); }
.zaide-mat { display: none; }

/* stop 4a door + 4b meet the hosts + stop 5 (real art) */
.door-panel { position: relative; }
.door-panel .ytcard { margin-top: 16px; }
.door-panel .local { margin-top: 10px; }
.meethosts .door-bubble { left: 4%; top: calc(28px - 120vw); font-size: 14px; max-width: 250px; padding: 9px 12px; }
.meet-carlos, .meet-zaide { display: none; }
.evening { background: #142a4d; }

/* footer map: still + gentle loop */
.map-art { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16 / 9; }
.map-art img, .map-art video.loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
.map img { border-radius: 0; box-shadow: none; }

@media (max-width: 879px) {
  .map-art { aspect-ratio: 4 / 5; }
}
@media (min-width: 880px) {
  .room:not(.hero) .art { aspect-ratio: auto; }
  .hero .art-box { aspect-ratio: 1920 / 1080; }
  .hero .art-box video.loop { object-position: 100% 100%; }
  .host-cam { width: 230px; }
  .say-card, .q-fine { width: calc(100% - 250px); }
  .stop-chip { top: 112px; }
  .bus .hot-bus { left: 23%; top: 25%; }
  .dinner .hot-dinner { left: auto; right: 22%; top: 64%; }
  .mat-bubble { top: 24%; }
  .zaide-mat { display: block; right: 4%; top: 8%; width: 18%; height: 60%; }
  .door-panel { position: absolute; left: 100px; top: 118px; width: 520px; }
  .door-panel h2 { font-size: 64px; }
  .meethosts .room-ui { display: flex; align-items: center; padding: 110px 56px 70px 100px !important; }
  .meethosts .meet { max-width: 520px; padding: 30px 32px; }
  .meethosts .meet h2 { font-size: 60px; }
  .meet-carlos, .meet-zaide { display: block; }
  .meet-carlos { left: 50%; top: 18%; width: 18%; height: 74%; }
  .meet-zaide { left: 68%; top: 18%; width: 18%; height: 74%; }
  .meethosts .door-bubble { left: 46%; top: 10%; font-size: 17px; max-width: 280px; padding: 12px 16px; }
  .evening .room-ui { display: flex; align-items: center; padding: 110px 56px 70px 120px !important; }
}
@media (prefers-reduced-motion: reduce) {
  video.loop, .host-cam video, .bubble-cam video { display: none; }
}
.calm video.loop, .calm .host-cam video, .calm .bubble-cam video { display: none; }

/* ---------- art fit: keep the hosts in frame, keep text off the foreground plates ---------- */
.bubble-cam img, .bubble-cam video { transform: scale(2.7); transform-origin: 50% 15%; }
@media (min-width: 880px) {
  .hero-bubble { max-width: 320px; }
  .meethosts .meet { max-width: 600px; }
  .meethosts .bio p:last-child { font-size: 15px; line-height: 1.5; }
  .tonight-card { width: 600px; }
  .tonight-card .five { grid-template-columns: 1fr 1fr; }
  .tonight-card .five li:last-child { grid-column: 1 / -1; }
  .tonight-card .five li { font-size: 14px; padding: 8px 10px 8px 42px; }
  .tonight-card .five li::before { left: 10px; top: 8px; width: 24px; height: 24px; }
  .evening .row2, .meethosts .row2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  /* keep both hosts in frame on the meet-the-hosts crop */
  .meethosts .art img, .meethosts .art video.loop { transform-origin: 100% 60%; }
}
@media (min-width: 880px) {
  .meet-carlos { left: 51%; top: 4%; width: 23%; height: 90%; }
  .meet-zaide { left: 74%; top: 6%; width: 23%; height: 88%; }
  .meethosts .door-bubble { left: 50%; top: auto; bottom: 8%; }
}
@media (min-width: 880px) {
  .meethosts .art img, .meethosts .art video.loop { object-position: 100% 50%; }
  .evening .art img, .evening .art video.loop { object-position: 100% 70%; }
}
