/* ═══════════════════════════════════════════════════════════════════════════
   home2.css — the 2026 homepage. Section by section, top to bottom.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1 · hello ──────────────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--bar-h) + var(--bar-gap) + clamp(28px, 5vw, 70px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; background: linear-gradient(180deg, #F4F7FF 0%, #fff 62%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 46vw; height: 46vw; right: -8vw; top: -10vw; background: radial-gradient(circle, #C9D6FF, transparent 70%); }
.b2 { width: 30vw; height: 30vw; left: -10vw; top: 30%; background: radial-gradient(circle, #FFF0B8, transparent 70%); animation-duration: 22s; }
.b3 { width: 26vw; height: 26vw; right: 20%; top: 50%; background: radial-gradient(circle, #FFD9D4, transparent 70%); animation-duration: 26s; }
@keyframes drift { to { transform: translate(4vw, 3vw) scale(1.1); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 20px; min-height: min(78vh, 760px); }
.hero-chip { display: inline-block; line-height: 1.4; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero-chip b { color: var(--ink); }
.recdot { display: inline-block; vertical-align: 1px; margin-right: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(232,53,43,.5); animation: rec 2s infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 10px rgba(232,53,43,0); } 100% { box-shadow: 0 0 0 0 rgba(232,53,43,0); } }

.hello { margin: 22px 0 0; font-family: var(--f-display); font-size: clamp(4.6rem, 2rem + 11vw, 12.5rem); line-height: .86; letter-spacing: -.028em; font-variation-settings: 'opsz' 96, 'wdth' 84, 'wght' 800; white-space: nowrap; }
.hello-word { display: inline-block; min-width: 1ch; }
.hello-word .ch { display: inline-block; animation: ch-in .7s var(--ease-out) both; animation-delay: calc(var(--i) * 40ms); }
.hello-word.out .ch { animation: ch-out .35s var(--ease-in-out) both; animation-delay: calc(var(--i) * 18ms); }
@keyframes ch-in { from { transform: translateY(.5em) rotate(8deg); opacity: 0; filter: blur(6px); } }
@keyframes ch-out { to { transform: translateY(-.35em) rotate(-6deg); opacity: 0; filter: blur(6px); } }
.hello-dot { color: var(--live); display: inline-block; animation: dot-pop 3s var(--ease-out) infinite; }
@keyframes dot-pop { 0%, 80%, 100% { transform: none; } 88% { transform: translateY(-.12em); } }
.hello-lang { margin-top: 10px; min-height: 1.6em; font-family: var(--f-hand); font-size: 1.6rem; color: var(--sound); transform: rotate(-1.5deg); transform-origin: left; }
.hero-sub { margin-top: 20px; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem); line-height: 1.35; max-width: 26ch; letter-spacing: -.01em; font-weight: 500; }
.hero-copy .xbtns { margin-top: 32px; }

.hero-stage { position: relative; height: min(76vh, 720px); }
.hero-sun { position: absolute; left: 50%; bottom: 8%; width: 86%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #DCE5FF 30%, #9DB4FF 100%); box-shadow: inset -30px -40px 80px rgba(36,87,245,.25); }
.hero-ring { position: absolute; left: 50%; bottom: 3%; width: 104%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; border: 1.5px dashed rgba(36,87,245,.25); animation: spin 90s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hero-james { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; translate: -50% 0; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
.bubble { position: absolute; z-index: 2; }
.bubble span { display: block; padding: 12px 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-2); font-family: var(--f-display); font-size: clamp(.95rem, .8rem + .4vw, 1.15rem); font-variation-settings: 'opsz' 24, 'wdth' 94, 'wght' 680; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.bubble span::after { content: ''; position: absolute; bottom: -7px; width: 16px; height: 16px; background: inherit; transform: rotate(45deg); border-radius: 3px; }
.bq1 { left: -8%; top: 18%; } .bq1 span { background: var(--lab); color: #fff; } .bq1 span::after { left: 70%; }
.bq2 { right: -6%; top: 30%; } .bq2 span { animation-delay: -2s; } .bq2 span::after { left: 18%; }
.bq3 { left: -14%; top: 52%; } .bq3 span { animation-delay: -4s; background: var(--pen); } .bq3 span::after { left: 75%; }
.bq4 { right: 2%; top: 62%; } .bq4 span { animation-delay: -1s; background: var(--wb); color: #fff; } .bq4 span::after { left: 22%; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hero-note { right: -4%; top: 4%; color: var(--ink); }
.hero-note svg { left: -50px; top: 26px; transform: scaleX(-1); }

/* the three doors */
.doors { position: relative; margin-top: clamp(30px, 5vw, 70px); }
.doors-h { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -.02em; font-variation-settings: 'opsz' 48, 'wdth' 92, 'wght' 740; margin-bottom: 20px; }
.doors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.door { display: grid; gap: 6px; align-content: start; padding: 12px 12px 22px; border-radius: 28px; text-decoration: none; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: box-shadow .5s var(--ease-out); }
.door:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-3); }
.door-img { display: block; aspect-ratio: 16/9.5; border-radius: 18px; overflow: hidden; margin-bottom: 10px; }
.door-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--ease-out); }
.door:hover .door-img img { transform: scale(1.06); }
.door-img-me { background: linear-gradient(135deg, #FFE6DF, #FFF3C7); }
.door-img-me img { object-position: 50% 18%; }
.door-tag, .door b, .door-p, .door-go { padding: 0 10px; }
.door-tag { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.door-lab .door-tag, .door-lab .door-go { color: var(--lab); }
.door-wb .door-tag, .door-wb .door-go { color: var(--wb); }
.door-me .door-tag, .door-me .door-go { color: var(--live); }
.door b { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: 'opsz' 64, 'wdth' 88, 'wght' 780; }
.door-p { color: var(--ink-2); line-height: 1.45; }
.door-go { margin-top: 8px; font-weight: 800; font-size: 1.05rem; }
.door-go .arr { display: inline-block; transition: transform .35s var(--ease-out); }
.door:hover .door-go .arr { transform: translateX(6px); }
.doors-free { margin-top: 22px; color: var(--ink-2); text-align: center; }
.doors-free a { font-weight: 700; color: var(--ink); }

/* ── 2 · facts marquee ──────────────────────────────────────────────────── */
.facts { padding: 26px 0; border-block: 1px solid var(--line); background: #fff; }
.fact { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 1.1rem; color: var(--ink-2); padding: 0 22px 0 0; }
.fact::after { content: '✦'; margin-left: 22px; color: var(--line-2); font-size: .8rem; }
.fact b { font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; font-variation-settings: 'opsz' 48, 'wdth' 88, 'wght' 780; }
.fact-lab b { color: var(--lab); } .fact-wb b { color: var(--wb); }

/* ── 3 · the Willowbrook window ─────────────────────────────────────────── */
.portal { position: relative; background: linear-gradient(180deg, #fff, var(--wb-soft) 30%, #F0F8FF); }
.portal-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.portal-intro { position: absolute; top: calc(var(--bar-h) + 40px); left: 0; right: 0; text-align: center; display: grid; justify-items: center; gap: 14px; z-index: 1; }
.portal-window { position: absolute; left: 50%; top: 58%; width: min(560px, 76vw); height: min(420px, 44vh); translate: -50% -50%; border-radius: 180px 180px 20px 20px; overflow: hidden; background: #BFD9EE; box-shadow: 0 40px 80px -30px rgba(20,60,40,.45), 0 0 0 10px #fff, 0 0 0 12px rgba(14,17,24,.08); z-index: 2; will-change: width, height, border-radius; }
.portal-video, .portal-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portal-fallback { z-index: -1; }
.portal-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(8,20,14,.65)); opacity: 0; }
.portal-frame { position: absolute; inset: 0; pointer-events: none; }
.portal-frame .mv, .portal-frame .mh { position: absolute; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.15); }
.portal-frame .mv { left: 50%; top: 0; bottom: 0; width: 10px; margin-left: -5px; }
.portal-frame .mh { top: 50%; left: 0; right: 0; height: 10px; margin-top: -5px; }
.portal-beats { list-style: none; margin: 0; padding: 0; position: absolute; left: clamp(20px, 5vw, 70px); bottom: clamp(30px, 8vh, 90px); width: min(520px, calc(100% - 40px)); height: 120px; }
.portal-beats li { position: absolute; inset: auto 0 0 0; padding: 22px 26px; border-radius: 22px; background: rgba(255,255,255,.14); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: #fff; font-size: clamp(1.15rem, .9rem + 1vw, 1.7rem); line-height: 1.25; opacity: 0; transform: translateY(20px); }
.portal-beats b { font-family: var(--f-display); font-variation-settings: 'opsz' 48, 'wdth' 90, 'wght' 780; }
.portal-end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: 20px; color: #fff; opacity: 0; pointer-events: none; }
.portal-end-h { font-family: var(--f-display); font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); line-height: .95; letter-spacing: -.04em; font-variation-settings: 'opsz' 96, 'wdth' 86, 'wght' 800; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.portal-end .xbtns { justify-content: center; }
.portal-small { font-size: .95rem; opacity: .9; }
.portal-cap { position: absolute; bottom: 18px; left: 0; right: 0; justify-content: center; z-index: 3; }
.portal.is-open .portal-end { pointer-events: auto; }
/* without the scroll animation (reduced motion / no JS), show it all plainly */
.portal.static .portal-pin { height: auto; display: block; padding: calc(var(--bar-h) + 60px) 0 60px; }
.portal.static .portal-intro { position: static; margin-bottom: 30px; }
.portal.static .portal-window { position: relative; left: auto; top: auto; translate: none; width: min(1200px, calc(100% - 32px)); height: auto; aspect-ratio: 16/9; margin: 0 auto; border-radius: 28px; }
.portal.static .portal-frame { display: none; }
.portal.static .portal-shade, .portal.static .portal-end { opacity: 1; pointer-events: auto; }
.portal.static .portal-beats { display: none; }
.portal.static .portal-cap { position: static; margin-top: 14px; }

/* ── 4 · Phrase Lab steps + sticky phone ────────────────────────────────── */
.lab { background: linear-gradient(180deg, #F0F8FF, #fff 18%, #fff 80%, var(--lab-soft)); }
.lab-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 100px); }
.lab-steps { display: grid; gap: clamp(60px, 12vh, 140px); padding-bottom: 20px; }
.lstep { display: grid; gap: 14px; min-height: 42vh; align-content: center; }
.lstep-n { font-family: var(--f-hand); font-size: 1.7rem; color: var(--lab); transform: rotate(-2deg); transform-origin: left; }
.lstep .card { padding: clamp(20px, 3vw, 32px); margin-top: 10px; }
.kara-ctx { color: var(--ink-3); font-size: .95rem; }
.kara-line { font-family: var(--f-display); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1.12; letter-spacing: -.025em; font-variation-settings: 'opsz' 64, 'wdth' 92, 'wght' 720; margin: 12px 0 22px; color: #A3A8B6; }
.kara-line .kw { transition: color .15s; }
.kara-line .kw.on { color: var(--ink); }
.kara-line .kw.now { color: var(--lab); }
.kara-line.done .kw { color: var(--ink); }
.mean-q { font-size: 1.2rem; margin-bottom: 16px; }
.mean-opts { display: grid; gap: 10px; }
.mean-opts button { text-align: left; min-height: 60px; padding: 14px 20px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 1.05rem; transition: box-shadow .2s, background .2s, transform .3s var(--ease-out); }
.mean-opts button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mean-opts button.ok { background: var(--wb-soft); box-shadow: inset 0 0 0 2px var(--wb); }
.mean-opts button.no { background: var(--live-soft); box-shadow: inset 0 0 0 2px var(--live); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.mean-a { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--lab-soft); color: var(--ink); }
.rec-line { font-family: var(--f-display); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -.03em; font-variation-settings: 'opsz' 64, 'wdth' 90, 'wght' 760; }
.rec-wave { margin: 14px 0; height: 80px; border-radius: 14px; background: var(--paper); overflow: hidden; }
.rec-wave canvas { width: 100%; height: 100%; }
.rec-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rec-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; }
.rec-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--live); box-shadow: inset 0 0 0 4px var(--ink), 0 0 0 2px var(--live); }
.rec-btn.on .rec-dot { animation: rec 1s infinite; border-radius: 5px; }
.rec-note { margin-top: 12px; }
.deck { position: relative; height: 250px; margin-top: 10px; }
.dcard { position: absolute; inset: 0; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; transform: translateY(calc(var(--k) * 14px)) scale(calc(1 - var(--k) * .05)); z-index: calc(10 - var(--k)); transition: transform .6s var(--ease-out), opacity .5s; }
.dcard p { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -.03em; font-variation-settings: 'opsz' 64, 'wdth' 90, 'wght' 760; }
.dcard small { color: var(--ink-3); }
.dbtns { display: flex; gap: 8px; margin-top: 6px; }
.dbtns button { min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 700; }
.dbtns [data-grade="again"] { background: var(--live-soft); color: #B3261E; }
.dbtns [data-grade="good"] { background: var(--sound-soft); color: var(--sound-2); }
.dbtns [data-grade="easy"] { background: var(--wb-soft); color: var(--wb-2); }
.dcard.fly { transform: translate(120%, -30px) rotate(18deg); opacity: 0; }
.lab-cta { padding-top: 10px; }
.lab-device { position: relative; }
.lab-sticky { position: sticky; top: calc(50vh - min(34vh, 330px)); display: grid; justify-items: center; }
.lab-sticky .phone { width: min(330px, 100%); height: auto; max-height: 68vh; aspect-ratio: 390/844; }
.lab-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .9s var(--ease-out); }
.lab-shot.is-on { opacity: 1; transform: none; }
.lab-note { left: -10%; top: 12%; color: var(--lab); }
.lab-note svg { left: 60px; top: 24px; }

/* ── 5 · textbook vs real ───────────────────────────────────────────────── */
.cmp { max-width: 1100px; margin: 0 auto; }
.cmp-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.cmp-tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.cmp-tabs [aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.cmp-stage { --p: 50%; position: relative; height: clamp(300px, 40vw, 440px); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-3); user-select: none; touch-action: pan-y; }
.cmp-side { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 30px 8%; text-align: center; }
.cmp-book { background: #fff; color: var(--ink-2); }
.cmp-real { background: var(--ink); color: #fff; clip-path: inset(0 0 0 var(--p)); }
.cmp-side p { font-family: var(--f-display); font-size: clamp(2rem, 1rem + 4.4vw, 5rem); line-height: 1; letter-spacing: -.04em; font-variation-settings: 'opsz' 96, 'wdth' 86, 'wght' 780; }
.cmp-book p { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.8rem, 1rem + 3.4vw, 4rem); }
.cmp-real p { color: var(--pen); }
.cmp-lab { position: absolute; top: 22px; font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.cmp-book .cmp-lab { left: 26px; } .cmp-real .cmp-lab { right: 26px; }
.cmp-real .say { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 4px; margin-left: -2px; background: var(--pen); cursor: ew-resize; z-index: 3; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; translate: -50% -50%; border-radius: 50%; background: var(--pen); color: var(--ink); display: grid; place-items: center; font-size: 1.4rem; font-weight: 900; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .3s var(--ease-out); }
.cmp-handle:hover span, .cmp-handle:focus-visible span { transform: scale(1.1); }
.cmp-ipa { text-align: center; margin-top: 18px; font-size: 1.3rem; color: var(--ink-2); }

/* ── 6 · quiz with James watching ───────────────────────────────────────── */
.quiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.quiz-copy { display: grid; gap: 18px; }
.quiz { padding: clamp(18px, 2.4vw, 28px); }
.quiz-top { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.cam { position: relative; width: 120px; height: 120px; border-radius: 26px; overflow: hidden; flex: none; background: var(--paper-2); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.cam img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.cam img.swap { opacity: 0; }
.cam-name { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; font-weight: 700; }
.cam-name i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; }
.quiz-n { font-weight: 800; }
.quiz-dots { display: flex; gap: 6px; margin-top: 8px; }
.quiz-dots i { width: 34px; height: 6px; border-radius: 3px; background: var(--line); transition: background .3s; }
.quiz-dots i.ok { background: var(--wb); } .quiz-dots i.no { background: var(--live); } .quiz-dots i.cur { background: var(--ink); }
.qz-ctx { color: var(--ink-3); font-size: .95rem; }
.qz-line { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.1; letter-spacing: -.02em; font-variation-settings: 'opsz' 48, 'wdth' 92, 'wght' 740; margin: 8px 0 14px; }
.qz-line mark { background: var(--pen-soft); color: inherit; border-radius: 6px; padding: 0 .12em; }
.qz-opts { display: grid; gap: 10px; margin-top: 14px; }
.qz-opts button { text-align: left; min-height: 56px; padding: 12px 18px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 1.02rem; transition: box-shadow .2s, background .2s; }
.qz-opts button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.qz-opts button.ok { background: var(--wb-soft); box-shadow: inset 0 0 0 2px var(--wb); }
.qz-opts button.no { background: var(--live-soft); box-shadow: inset 0 0 0 2px var(--live); }
.qz-say { margin-top: 4px; }
.qz-fb { margin-top: 14px; min-height: 1.6em; font-weight: 600; }
.qz-next { margin-top: 12px; }
.qz-end { display: grid; gap: 14px; justify-items: start; }
.qz-score { font-family: var(--f-display); font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; font-variation-settings: 'opsz' 96, 'wdth' 86, 'wght' 800; }

/* ── 7 · the film strip ─────────────────────────────────────────────────── */
.strip { background: var(--paper); position: relative; }
.strip-pin { height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; padding: calc(var(--bar-h) + 40px) 0 40px; overflow: hidden; }
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.strip-count { font-size: 1rem; color: var(--ink-2); }
.strip-count b { color: var(--live); }
.strip-track { display: flex; gap: 22px; align-items: center; padding-left: max(var(--gutter), calc((100vw - 1280px) / 2)); padding-right: 10vw; width: max-content; height: 100%; }
.sp { position: relative; flex: none; height: min(56vh, 520px); aspect-ratio: 4/5; margin: 0; border-radius: 22px; overflow: hidden; background: #ddd; box-shadow: var(--shadow-2); transform: rotate(var(--r, -1.5deg)); }
.sp:nth-child(4n) { --r: 1.8deg; } .sp:nth-child(4n+2) { --r: -2.4deg; }
.sp-tall { aspect-ratio: 3/4.2; }
.sp img { width: 100%; height: 100%; object-fit: cover; }
.sp figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 1.45rem; transform: rotate(-2deg); box-shadow: var(--shadow-1); }
.sf { flex: none; width: min(340px, 78vw); padding: 28px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); display: grid; gap: 8px; align-content: start; transform: rotate(var(--r, 1deg)); }
.sf:nth-child(3n) { --r: -1.4deg; }
.sf-ic { font-size: 2.2rem; }
.sf-q { font-weight: 700; color: var(--ink-3); }
.sf-a { font-family: var(--f-display); font-size: 2rem; line-height: 1; letter-spacing: -.03em; font-variation-settings: 'opsz' 64, 'wdth' 88, 'wght' 780; }
.sf-p { color: var(--ink-2); line-height: 1.5; }
.sf-pen { background: var(--pen-soft); } .sf-blue { background: var(--sound-soft); } .sf-green { background: var(--wb-soft); }
.sf-ink { background: var(--ink); color: #fff; } .sf-ink .sf-q { color: #8C93A5; } .sf-ink .sf-p { color: #C4C9D4; }
.metoo { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; font-weight: 700; font-size: .92rem; opacity: .85; transition: background .2s, color .2s, opacity .2s; }
.metoo::before { content: '♡'; font-size: 1.1rem; }
.metoo:hover { opacity: 1; }
.metoo.on { background: var(--live); color: #fff; box-shadow: none; opacity: 1; }
.metoo.on::before { content: '❤'; }
.sp-end { flex: none; width: min(320px, 78vw); display: grid; gap: 10px; padding: 30px; border-radius: 26px; background: var(--ink); color: #fff; text-decoration: none; align-content: center; min-height: 300px; }
.sp-end:hover { color: #fff; }
.sp-end .hand { color: var(--pen); font-size: 1.7rem; }
.sp-end b { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; font-variation-settings: 'opsz' 64, 'wdth' 86, 'wght' 800; }
.sp-end .xlink { color: #fff; justify-self: start; }
.strip.static .strip-pin { height: auto; }
.strip.static .strip-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
.strip.static .strip-track > * { scroll-snap-align: start; }

/* ── 8 · the globe ──────────────────────────────────────────────────────── */
.world { overflow: hidden; background: radial-gradient(ellipse at 70% 50%, #1A2140 0%, var(--ink) 60%); }
.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.world-copy { display: grid; gap: 22px; }
.wq { min-height: 260px; display: grid; gap: 12px; align-content: start; transition: opacity .4s, transform .5s var(--ease-out); }
.wq.fade { opacity: 0; transform: translateY(12px); }
.wq-lang { justify-self: start; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--pen); }
.wq blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; color: #fff; font-variation-settings: 'opsz' 48, 'wdth' 94, 'wght' 620; }
.wq-en { color: #A9AFBE; font-style: italic; }
.wq-who { font-weight: 800; color: #fff; letter-spacing: .04em; }
.wq-nav { display: flex; align-items: center; gap: 14px; color: #A9AFBE; }
.wq-nav button { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); color: #fff; font-size: 1.1rem; }
.wq-nav button:hover { background: rgba(255,255,255,.1); }
.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.globe-wrap::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(90,120,255,.25), transparent 65%); filter: blur(10px); }
.globe { position: relative; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe:active { cursor: grabbing; }

/* ── 9 · free bento ─────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.bn { position: relative; display: grid; gap: 6px; align-content: end; min-height: 260px; padding: 26px; border-radius: 28px; text-decoration: none; color: var(--ink); overflow: hidden; background: var(--paper); transition: box-shadow .5s var(--ease-out); }
.bn:hover { color: var(--ink); box-shadow: var(--shadow-3); }
.bn b { font-family: var(--f-display); font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; font-variation-settings: 'opsz' 64, 'wdth' 88, 'wght' 780; }
.bn > span:last-child { color: var(--ink-2); }
.bn-tag { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--ink-3); }
.bn-yt { grid-row: span 2; background: #FFF1F1; min-height: 540px; }
.bn-yt .bn-tag { color: #E0002D; }
.yt-stack { position: absolute; left: 26px; right: 26px; top: 26px; height: 58%; }
.yt-stack img { position: absolute; width: 78%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-2); transition: transform .8s var(--ease-out); }
.yt-stack img:nth-child(1) { left: 0; top: 18%; transform: rotate(-4deg); z-index: 1; }
.yt-stack img:nth-child(2) { right: 0; top: 0; transform: rotate(3deg); }
.yt-stack img:nth-child(3) { left: 11%; top: 42%; transform: rotate(1deg); z-index: 2; }
.bn-yt:hover .yt-stack img:nth-child(1) { transform: rotate(-7deg) translate(-10px, -6px); }
.bn-yt:hover .yt-stack img:nth-child(2) { transform: rotate(6deg) translate(10px, -10px); }
.bn-yt:hover .yt-stack img:nth-child(3) { transform: rotate(0) translateY(-10px) scale(1.03); }
.yt-play { position: absolute; z-index: 3; left: 50%; top: 66%; translate: -50% -50%; width: 72px; height: 50px; border-radius: 14px; background: #FF0033; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(255,0,51,.4); }
.yt-play::after { content: ''; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.bn-snd { background: var(--sound-soft); }
.snd-big { position: absolute; top: 18px; right: 22px; font-size: 5.4rem; line-height: 1; color: var(--sound); transition: transform .6s var(--ease-out); }
.bn-snd:hover .snd-big { transform: rotate(-8deg) scale(1.1); }
.bn-less { background: var(--pen-soft); }
.bn-num { position: absolute; top: 14px; right: 22px; font-family: var(--f-display); font-size: 5.4rem; line-height: 1; letter-spacing: -.05em; color: var(--ink); font-variation-settings: 'opsz' 96, 'wdth' 80, 'wght' 800; opacity: .9; }
.bn-game { grid-column: span 2; background: var(--wb-soft); }
.bn-tiles { position: absolute; top: 22px; right: 22px; display: flex; gap: 6px; }
.bn-tiles i { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #fff; font-style: normal; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; box-shadow: 0 4px 0 #BFDCC8; transition: transform .5s var(--ease-out); }
.bn-game:hover .bn-tiles i:nth-child(odd) { transform: translateY(-8px) rotate(-6deg); }
.bn-game:hover .bn-tiles i:nth-child(even) { transform: translateY(4px) rotate(5deg); }

/* ── 10 · live ──────────────────────────────────────────────────────────── */
.live-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.lv { border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); overflow: hidden; display: grid; }
.lv-me { grid-template-columns: .9fr 1.1fr; }
.lv-me img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; background: #F1EEE8; }
.lv-body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: center; justify-items: start; }
.lv-body p { color: var(--ink-2); }
.lv-tag { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--live) !important; }
.lv-price { font-size: 1.05rem; } .lv-price b { color: var(--ink); }
.lv-co { background: var(--ink); color: #fff; box-shadow: none; grid-template-rows: 1fr auto; }
.lv-co .lv-body p { color: #B7BCCA; } .lv-co .lv-price b { color: #fff; }
.lv-co .xbtn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); } .lv-co .xbtn-line:hover { background: #fff; color: var(--ink); }
.lv-mini { list-style: none; margin: 0; padding: 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 32px); display: grid; gap: 8px; }
.lv-mini a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 14px; background: rgba(255,255,255,.07); color: #C9CEDA; text-decoration: none; font-size: .95rem; }
.lv-mini a:hover { background: rgba(255,255,255,.12); color: #fff; }
.lv-mini b { color: #fff; }

/* ── 11 · start ─────────────────────────────────────────────────────────── */
.fin { position: relative; padding: clamp(110px, 16vw, 220px) 0; text-align: center; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, #DDE6FF, #fff 60%); }
.fin-in { position: relative; display: grid; gap: 26px; justify-items: center; }
.fin .xlede { margin-inline: auto; }
.fin-btns { justify-content: center; }
.fin-float span { position: absolute; left: var(--x); top: var(--y); padding: 10px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); font-family: var(--f-display); font-variation-settings: 'opsz' 24, 'wdth' 94, 'wght' 680; transform: rotate(var(--r)); animation: bob 7s ease-in-out infinite; white-space: nowrap; color: var(--ink-2); }
.fin-float span:nth-child(2n) { animation-delay: -3s; }

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-stage { height: 460px; max-width: 460px; width: 100%; justify-self: center; margin-top: -10px; order: -1; }
  .hero-copy { text-align: left; }
  .hello { font-size: clamp(4.2rem, 1rem + 16vw, 8rem); }
  .doors-grid { grid-template-columns: 1fr; }
  .door { grid-template-columns: 130px 1fr; column-gap: 14px; padding: 10px; align-items: center; }
  .door-img { grid-row: span 4; margin: 0; aspect-ratio: 1; width: 100%; height: auto; align-self: center; }
  .door-tag, .door b, .door-p, .door-go { padding: 0; }
  .door b { font-size: 1.5rem; }
  .door-p { font-size: .92rem; }
  .door-go { margin-top: 2px; font-size: .95rem; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-device { display: none; }
  .lstep { min-height: 0; }
  .quiz-grid, .world-grid { grid-template-columns: 1fr; }
  .globe-wrap { max-width: 440px; order: -1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bn-yt { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .bn-game { grid-column: span 2; }
  .live-grid { grid-template-columns: 1fr; }
  .fin-float { display: none; }
}
@media (max-width: 620px) {
  .hero-stage { height: 380px; }
  .bubble span { font-size: .85rem; padding: 9px 13px; }
  .bq1 { left: 0; } .bq3 { left: -2%; } .bq2 { right: 0; } .bq4 { right: 4%; }
  .hero-note { display: none; }
  .door { grid-template-columns: 96px 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bn-yt, .bn-game { grid-column: auto; }
  .bn-yt { min-height: 400px; }
  .lv-me { grid-template-columns: 1fr; }
  .lv-me img { min-height: 260px; max-height: 320px; object-position: 50% 20%; }
  .sp { height: 52vh; }
  .cmp-stage { height: 360px; }
  .cmp-side { padding: 70px 18px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .hero-ring, .bubble span, .fin-float span, .hello-dot { animation: none; }
}
/* the pointing photo sits on the right, pointing at the lesson details */
@media (min-width: 621px) { .lv-me img { order: 2; object-position: 30% 20%; } }

/* James pointing at the final buttons (desktop) */
.fin-james { position: absolute; left: max(0px, calc(50% - 760px)); bottom: 0; height: min(78%, 620px); width: auto; z-index: 1; pointer-events: none; filter: drop-shadow(0 20px 30px rgba(14,17,24,.15)); }
@media (max-width: 1180px) { .fin-james { display: none; } }
