/* =========================================================
   Birth to Beyond — soft, calm, kid-friendly (colours from the logo)
   Mobile-first: phone → tablet → laptop → desktop
   ========================================================= */
:root {
  --plum: #7E3A9E; --plum-d: #642C80; --orchid: #C46BB8; --peach: #F9A35E; --coral: #F2777A;
  --lav: #F5EEFB; --lav-2: #EBDFF6; --cream: #FFFAF6; --paper: #FFFFFF;
  --ink: #3A2346; --muted: #76667F; --line: #EEE3F3;
  --t-plum: #F1E6F8; --t-peach: #FFEFE2; --t-coral: #FDE9E9; --t-lav: #EEF0FB;
  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px;
  --shadow: 0 22px 44px -26px rgba(94, 44, 120, .38);
  --shadow-sm: 0 10px 24px -16px rgba(94, 44, 120, .35);
  --top: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --f-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--cream); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.modal-open { overflow: hidden; }
body.modal-open .book-bar { display: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: fixed; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orchid); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 18px; }
[class$="-grid"] > * { min-width: 0; }

/* ---------- buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.4em; border-radius: 999px; font-weight: 800; font-size: 1rem; white-space: nowrap; transition: transform .25s var(--spring), background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-plum { background: var(--plum); color: #fff; box-shadow: 0 12px 24px -12px var(--plum); }
.btn-plum:hover { background: var(--plum-d); }
.btn-soft { background: var(--t-plum); color: var(--plum-d); }
.btn-soft:hover { background: var(--lav-2); }
.btn-sm { min-height: 42px; padding: .55em 1.05em; font-size: .92rem; }
.pill { display: inline-flex; align-items: center; gap: .45em; padding: .38em .95em; border-radius: 999px; background: var(--t-plum); color: var(--plum); font-weight: 800; font-size: .82rem; margin-bottom: 14px; }
.pill-plum { background: var(--t-plum); color: var(--plum); }
.pill-peach { background: var(--t-peach); color: #A4561B; }
.pill-coral { background: var(--t-coral); color: #B23E44; }
.hl { position: relative; z-index: 0; color: var(--plum); white-space: nowrap; }
.hl::after { content: ""; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: .04em; height: .32em; border-radius: 99px; background: linear-gradient(90deg, #FFD9BC, #F6D2EE); }

/* ---------- header ---------- */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 max(18px, calc((100vw - 1200px) / 2 + 18px)); background: rgba(255, 250, 246, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s, background .3s; }
.topbar.is-stuck { background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px -22px rgba(94, 44, 120, .5); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; transition: transform .5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-name { font-family: var(--f-head); font-weight: 700; font-size: 1.28rem; color: var(--plum); line-height: 1; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--coral); font-weight: 600; }
.mainnav { display: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--t-plum); color: var(--plum); font-size: 1.2rem; transition: background .2s; }
.icon-btn[aria-pressed="false"] { background: #F1ECF3; color: var(--muted); }
.hide-xs { display: none; }
.voice-sw { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--t-plum); }
.voice-sw button { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 9px; border-radius: 999px; font-weight: 800; font-size: .85rem; color: var(--plum-d); transition: background .2s, color .2s; }
.voice-sw button span { font-size: 1.1rem; line-height: 1; }
.voice-sw button b { display: none; }
.voice-sw button[aria-pressed="true"] { background: #fff; box-shadow: var(--shadow-sm); }
.lab-voice { margin-left: auto; }
.lab-voice button b { display: inline; }
.burger { width: 44px; height: 44px; border-radius: 14px; background: var(--plum); display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2.5px; border-radius: 3px; background: #fff; transition: transform .35s var(--spring), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); display: grid; gap: 2px; padding: 12px; background: #fff; border-radius: 24px; box-shadow: 0 26px 50px -22px rgba(94, 44, 120, .5); max-height: calc(100dvh - var(--top) - 24px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right; transition: .3s var(--ease); }
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; font-weight: 800; }
.mobile-menu a i { font-size: 1.4rem; color: var(--plum); }
.mobile-menu a:not(.btn):hover, .mobile-menu a.is-on { background: var(--t-plum); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }
.mobile-menu .btn i { color: #fff; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(56px, 8vw, 100px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; margin-bottom: 26px; }
.sec-head h2 { margin: 0; }
.head-note { margin: 0; font-weight: 800; color: var(--plum); background: #fff; padding: .5em 1em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.head-note i { color: var(--peach); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.in .reveal { opacity: 1; transform: none; }
.in .reveal:nth-child(2) { transition-delay: .1s; } .in .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(24px, 4vw, 56px); background: radial-gradient(circle at 85% 10%, #FBE3EE, transparent 40%), radial-gradient(circle at 0% 90%, var(--lav-2), transparent 40%), var(--cream); }
.hero-grid { display: grid; gap: 26px; align-items: center; }
.grow { color: var(--plum); background: linear-gradient(90deg, var(--plum), var(--orchid) 55%, var(--coral)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 22px; }
.hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips a { display: inline-flex; align-items: baseline; gap: 6px; padding: .55em 1em; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; font-size: .9rem; color: var(--muted); transition: transform .25s var(--spring); }
.hero-chips a:hover { transform: translateY(-3px); }
.hero-chips b { font-family: var(--f-head); color: var(--plum); font-size: 1.1rem; }
.hero-art { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.blob { aspect-ratio: 1; overflow: hidden; border-radius: 47% 53% 44% 56% / 52% 45% 55% 48%; background: var(--lav); box-shadow: 0 0 0 10px #fff, var(--shadow); animation: morph 14s ease-in-out infinite; }
.blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph { 50% { border-radius: 57% 43% 54% 46% / 43% 57% 43% 57%; } }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; padding: 9px 14px 9px 9px; border-radius: 18px; box-shadow: var(--shadow-sm); font-size: .84rem; animation: bob 5.5s ease-in-out infinite; }
.float i { font-size: 1.4rem; color: #fff; background: var(--plum); border-radius: 12px; padding: 7px; }
.float small { display: block; color: var(--muted); font-size: .72rem; }
.f1 { left: -3%; top: 9%; } .f2 { right: -3%; bottom: 11%; animation-delay: -2.7s; } .f2 i { background: var(--coral); }
@keyframes bob { 50% { transform: translateY(-9px); } }
.services { margin-top: clamp(36px, 6vw, 70px); }
.svc-grid { display: grid; gap: 12px; }
.svc { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--spring); }
.svc:hover { transform: translateY(-4px); }
.svc > i { flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; font-size: 1.6rem; background: var(--tb); color: var(--tc); }
.svc h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.svc p { margin: 0; font-size: .9rem; color: var(--muted); }
.tone-plum { --tb: var(--t-plum); --tc: var(--plum); }
.tone-peach { --tb: var(--t-peach); --tc: #C2671F; }
.tone-coral { --tb: var(--t-coral); --tc: #C9474C; }
.tone-lav { --tb: var(--t-lav); --tc: #5A5FB5; }

/* ---------- WORD LAB ---------- */
.wordlab { background: linear-gradient(180deg, var(--lav), #FBF6FD); }
.lab { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.lab-tabs { display: flex; gap: 4px; padding: 8px; background: var(--t-plum); overflow-x: auto; scrollbar-width: none; }
.lab-tabs::-webkit-scrollbar { display: none; }
.lab-tabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: .7em 1.05em; border-radius: 18px; font-weight: 800; font-size: .92rem; color: var(--plum-d); transition: background .25s, color .25s; }
.lab-tabs button[aria-selected="true"] { background: #fff; color: var(--plum); box-shadow: var(--shadow-sm); }
.lab-body { padding: 18px; }
.lab-pickers { display: grid; gap: 12px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; scrollbar-color: var(--lav-2) transparent; }
.chip-row button { flex: 0 0 auto; padding: .5em 1em; border-radius: 999px; font-weight: 800; font-size: .9rem; background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); transition: .2s; }
.chip-row button:hover { box-shadow: inset 0 0 0 2px var(--orchid); }
.chip-row button[aria-pressed="true"] { background: var(--plum); color: #fff; box-shadow: none; }
.sound-chips button { min-width: 48px; height: 48px; padding: 0 .7em; font-family: var(--f-head); font-size: 1.15rem; border-radius: 16px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: var(--cream); border-radius: 18px; box-shadow: inset 0 0 0 2px var(--line); width: fit-content; max-width: 100%; }
.seg button { padding: .5em 1em; border-radius: 14px; font-weight: 800; font-size: .88rem; color: var(--muted); transition: .2s; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--peach); color: #fff; }
.seg button[aria-selected="true"] { background: var(--plum); }
.lab-tip { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 10px 14px 10px 10px; background: var(--t-peach); border-radius: var(--r-md); }
.lab-tip img { width: 52px; height: 52px; object-fit: cover; border-radius: 14px; flex: 0 0 auto; background: #fff; }
.lab-tip p { margin: 0; font-size: .92rem; }
.word-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wcard { position: relative; display: grid; justify-items: center; gap: 4px; padding: 16px 8px 12px; border-radius: var(--r-md); background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); transition: transform .3s var(--spring), box-shadow .2s, background .2s; }
.wcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--orchid); background: #fff; }
.wcard .e { font-size: 2.6rem; line-height: 1; }
.wcard b { font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; }
.wcard > i { position: absolute; top: 8px; right: 9px; color: var(--orchid); font-size: .95rem; opacity: .7; }
.wcard.wide { grid-column: 1 / -1; grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; padding: 12px 40px 12px 14px; }
.wcard.wide .e { font-size: 1.8rem; }
.pop { animation: pop .45s var(--spring); }
@keyframes pop { 40% { transform: scale(1.08); } }
.pair-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.vs { font-family: var(--f-head); color: var(--orchid); font-weight: 700; }
.lcard { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; text-align: left; padding: 13px 16px; border-radius: var(--r-md); background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; }
.lcard i { color: var(--plum); flex: 0 0 auto; }
.qcard { grid-column: 1 / -1; display: grid; gap: 6px; text-align: left; padding: 14px 16px; border-radius: var(--r-md); background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); }
.qcard .ans { color: var(--plum); font-weight: 800; opacity: 0; max-height: 0; transition: .35s var(--ease); }
.qcard.open .ans { opacity: 1; max-height: 3em; }
.gcard { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-radius: var(--r-md); background: var(--cream); }
.gcard span { font-size: 1.8rem; letter-spacing: 4px; }
.lab-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* flashcards */
.flash-wrap { padding: 26px 20px 22px; text-align: center; }
.flash-card { display: grid; justify-items: center; gap: 6px; width: min(360px, 100%); margin: 8px auto 16px; padding: 34px 16px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--lav), var(--t-peach)); box-shadow: var(--shadow); }
.flash-card .e { font-size: clamp(5rem, 22vw, 7rem); line-height: 1.1; }
.flash-card b { font-family: var(--f-head); font-size: 2.2rem; color: var(--plum-d); }
.flash-card small { color: var(--muted); font-weight: 700; }
.flash-nav { display: flex; justify-content: center; align-items: center; gap: 18px; font-weight: 800; color: var(--muted); }
.round { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: #fff; font-size: 1.2rem; transition: transform .25s var(--spring); }
.round:hover { transform: scale(1.08); }

/* ---------- PLAY ---------- */
.play { background: var(--cream); }
.sec-art { width: min(340px, 100%); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.game { position: relative; display: grid; gap: 6px; text-align: left; padding: 18px 16px; border-radius: var(--r-lg); background: var(--tb); transition: transform .35s var(--spring), box-shadow .3s; overflow: hidden; }
.game::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .55); z-index: 0; transition: transform .5s var(--ease); }
.game > * { position: relative; z-index: 1; }
.game:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.game:hover::after { transform: scale(1.8); }
.g-icon { font-size: 2.4rem; line-height: 1; }
.g-icon.sm { font-size: 1.8rem; }
.g-skill { position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .8); color: var(--tc); }
.game h3 { margin: 4px 0 0; }
.game p { margin: 0; font-size: .86rem; color: var(--muted); }
.g-play { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--tc); font-size: .9rem; }

/* game shell (inside modal) */
.game-shell { padding: 18px 18px 22px; }
.game-head { display: flex; align-items: center; gap: 10px; padding-right: 44px; margin-bottom: 10px; }
.game-head h3 { margin: 0; }
.stage { min-height: 360px; display: grid; gap: 14px; align-content: start; }
.g-pick { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.g-pick button { flex: 0 0 auto; min-width: 44px; height: 40px; padding: 0 .8em; border-radius: 12px; font-weight: 800; background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); font-size: .88rem; }
.g-pick button[aria-pressed="true"] { background: var(--plum); color: #fff; box-shadow: none; }
.g-say { font-weight: 800; color: var(--muted); margin: 0; }
.g-word { display: grid; justify-items: center; gap: 4px; padding: 14px 22px; border-radius: var(--r-lg); background: var(--t-peach); }
.g-word .e { font-size: 3.6rem; line-height: 1; }
.g-word b { font-family: var(--f-head); font-size: 1.6rem; color: var(--plum-d); }
.g-result { display: grid; justify-items: center; gap: 10px; min-height: 120px; }
.spin-wrap { position: relative; width: min(300px, 78vw); aspect-ratio: 1; margin: 6px auto 0; }
.spin-pointer { position: absolute; z-index: 2; top: -8px; left: 50%; transform: translateX(-50%); color: var(--coral); font-size: 1.6rem; text-shadow: 0 2px 0 #fff; }
.wheel { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 8px #fff, var(--shadow); transition: transform 2.5s cubic-bezier(.17, .67, .2, 1); }
.wheel span { position: absolute; inset: 0; }
.wheel span i { position: absolute; left: 50%; top: 9%; display: block; font-style: normal; font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1; translate: -50% 0; }

.stars3 { display: flex; gap: 10px; }
.star3 { width: 54px; height: 54px; border-radius: 50%; font-size: 1.8rem; background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); color: var(--peach); transition: transform .3s var(--spring); }
.star3.on { background: var(--t-peach); transform: scale(1.12) rotate(-10deg); }
.door-grid, .mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mem-grid { grid-template-columns: repeat(3, 1fr); }
.door, .mem { perspective: 700px; aspect-ratio: 3 / 4; }
.mem { aspect-ratio: 1; }
.door-in, .mem-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .6s var(--spring); }
.door.open .door-in, .mem.up .mem-in { transform: rotateY(180deg); }
.door-front, .door-back, .mem-front, .mem-back { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; border-radius: var(--r-md); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.door-front { background: linear-gradient(160deg, #F7D7B9, #EFB98E); font-size: 2.4rem; box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .5); }
.door-front small { font-family: var(--f-head); font-size: 1rem; color: #8A4A1B; }
.door-back, .mem-back { transform: rotateY(180deg); background: #fff; box-shadow: inset 0 0 0 3px var(--lav-2); }
.door-back .e, .mem-back .e { font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1; }
.door-back b, .mem-back b { font-family: var(--f-head); font-weight: 600; font-size: .95rem; }
.mem-front { background: linear-gradient(160deg, var(--lav-2), #F6D2EE); color: #fff; font-size: 2rem; }
.mem.got .mem-back { background: #EAF8F1; box-shadow: inset 0 0 0 3px #A8E0C6; }
.pair-row, .size-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.size-row { grid-template-columns: repeat(3, 1fr); }
.pair-opt, .size, .opt { display: grid; justify-items: center; gap: 4px; padding: 18px 8px; border-radius: var(--r-lg); background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); font-weight: 800; transition: transform .25s var(--spring), background .2s; }
.pair-opt .e, .size .e { font-size: 3rem; line-height: 1; }
.pair-opt b { font-family: var(--f-head); font-size: 1.3rem; }
.pair-opt:hover, .size:hover, .opt:hover { transform: translateY(-3px); }
.right { background: #E7F7EF !important; box-shadow: inset 0 0 0 3px #7CCBA6 !important; }
.wrong { background: #FDECEC !important; box-shadow: inset 0 0 0 3px #F0A4A6 !important; }
.big-face { font-size: clamp(5rem, 22vw, 7rem); text-align: center; line-height: 1.1; }
.opt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { padding: 14px 8px; text-transform: capitalize; font-size: 1.05rem; }
.scenario { padding: 22px 18px; border-radius: var(--r-lg); background: var(--t-plum); font-family: var(--f-head); font-size: clamp(1.2rem, 3vw, 1.5rem); text-align: center; color: var(--plum-d); }
.s-small .e { font-size: 1.8rem; } .s-medium .e { font-size: 2.5rem; } .s-big .e { font-size: 3.2rem; }
.g-tip { text-align: center; color: var(--muted); font-weight: 700; min-height: 1.6em; margin: 0; }
.win, .sent { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 10px 6px; }
.win img, .sent img { width: 140px; height: 140px; object-fit: cover; border-radius: 30px; }
.win-stars { font-size: 2.4rem; color: var(--peach); letter-spacing: 6px; }
.win-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.win-note { font-size: .88rem; color: var(--muted); max-width: 36ch; margin-top: 8px; }
.sent { padding: 30px 20px; }
.sent pre { white-space: pre-wrap; text-align: left; font: .86rem/1.5 var(--f-body); background: var(--cream); padding: 12px 14px; border-radius: var(--r-md); width: 100%; max-height: 220px; overflow: auto; margin: 6px 0 12px; }

/* ---------- MILESTONES ---------- */
.milestones { background: linear-gradient(180deg, #FBF6FD, var(--cream)); }
.ms-art { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.ms-card { display: grid; gap: 20px; background: #fff; border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow); }
.wrap-seg { margin-bottom: 16px; }
.meter-card { display: flex; gap: 16px; align-items: center; background: var(--cream); border-radius: var(--r-lg); padding: 14px; }
.meter-card h3 { margin: 0 0 2px; }
.meter-card p { margin: 0; font-size: .9rem; }
.meter { position: relative; width: 86px; height: 86px; flex: 0 0 auto; }
.meter svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.m-bg { fill: none; stroke: var(--lav-2); stroke-width: 12; }
.m-fg { fill: none; stroke: var(--plum); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset .6s var(--ease), stroke .3s; }
.meter b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-head); font-size: 1.25rem; }
.ms-cta { margin-top: 14px; width: 100%; }
.ms-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mile { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 14px; border-radius: var(--r-md); background: var(--cream); font-weight: 700; transition: background .2s, transform .25s var(--spring); }
.mile:hover { transform: translateX(4px); }
.mile .tick { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: transparent; transition: .25s var(--spring); }
.mile[aria-pressed="true"] { background: #F0F9F4; }
.mile[aria-pressed="true"] .tick { background: #6CC39A; color: #fff; box-shadow: none; transform: rotate(-8deg) scale(1.1); }

/* ---------- LEARN ---------- */
.learn { background: var(--cream); }
.learn .seg button[aria-selected="true"] { background: var(--plum); color: #fff; }
.myth-grid { display: grid; gap: 12px; }
.myth { perspective: 900px; min-height: 170px; display: block; width: 100%; text-align: left; }
.myth-in { position: relative; display: block; min-height: 170px; height: 100%; transform-style: preserve-3d; transition: transform .7s var(--spring); }
.myth[aria-pressed="true"] .myth-in { transform: rotateY(180deg); }
.side { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.side .tag { align-self: flex-start; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.side b { font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.side small { margin-top: auto; font-weight: 800; color: var(--muted); }
.front { background: var(--t-coral); }
.front .tag { background: #fff; color: #B23E44; }
.back { background: var(--t-plum); transform: rotateY(180deg); }
.back .tag { background: var(--plum); color: #fff; }
.back b { font-family: var(--f-body); font-weight: 700; font-size: .95rem; }
.insta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.ig { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--lav); box-shadow: var(--shadow-sm); }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ig:hover img { transform: scale(1.05); }
.ig-kind { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--plum); }
.ig-cap { position: absolute; inset: auto 0 0 0; padding: 26px 10px 9px; background: linear-gradient(transparent, rgba(58, 35, 70, .78)); color: #fff; font-weight: 800; font-size: .78rem; line-height: 1.3; }

/* ---------- ABOUT + FAQ ---------- */
.about { background: linear-gradient(180deg, var(--cream), var(--lav)); }
.about-grid { display: grid; gap: 22px; }
.about-card { display: grid; gap: 20px; background: #fff; border-radius: var(--r-xl); padding: 18px; box-shadow: var(--shadow); align-items: center; }
.about-card img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.signed { font-family: var(--f-head); color: var(--plum); font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.ticks i { color: var(--orchid); font-size: 1.3rem; }
.faq { background: #fff; border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-sm); }
details { border-bottom: 2px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px; font-weight: 800; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary i { color: var(--plum); transition: transform .3s var(--spring); flex: 0 0 auto; }
details[open] summary i { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 2px 14px; margin: 0; }

/* ---------- BOOK ---------- */
.book { background: radial-gradient(circle at 100% 0%, #FBE3EE, transparent 40%), var(--lav); }
.book-grid { display: grid; gap: 22px; align-items: start; }
.book-perks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.book-perks li { display: flex; gap: 12px; align-items: center; background: #fff; padding: 12px 14px; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.book-perks i { font-size: 1.8rem; color: var(--plum); }
.book-perks small { display: block; color: var(--muted); font-weight: 600; }
.reach { display: flex; flex-wrap: wrap; gap: 10px; }
.reach-btn { display: inline-flex; align-items: center; gap: 8px; padding: .65em 1.1em; border-radius: 999px; font-weight: 800; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--spring); }
.reach-btn:hover { transform: translateY(-2px); }
.reach-btn.ig i { color: #C13584; } .reach-btn.wa i { color: #1FA855; } .reach-btn.mail i { color: var(--plum); }
.book-card { background: #fff; border-radius: var(--r-xl); padding: 22px 20px; box-shadow: var(--shadow); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.steps span { height: 6px; border-radius: 99px; background: var(--lav-2); transition: background .3s; }
.steps span.is-on { background: linear-gradient(90deg, var(--plum), var(--orchid)); }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-on { display: block; animation: stepin .45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(16px); } }
legend { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; margin-bottom: 14px; padding: 0; }
legend small { font-family: var(--f-body); font-size: .8rem; color: var(--muted); font-weight: 700; }
.sub-legend { font-weight: 800; margin: 16px 0 8px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { padding: .65em 1.1em; border-radius: 999px; font-weight: 800; font-size: .93rem; background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); transition: .2s var(--spring); }
.pick button:hover { box-shadow: inset 0 0 0 2px var(--orchid); }
.pick button[aria-pressed="true"] { background: var(--plum); color: #fff; box-shadow: none; transform: scale(1.03); }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field span { font-weight: 800; font-size: .86rem; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: .8em 1em; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--cream); color: var(--ink); resize: vertical; transition: border .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--orchid); background: #fff; }
.step-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 20px; }
.step-nav .btn:last-child, #stepNext, #stepSend { margin-left: auto; }

/* ---------- footer ---------- */
.site-footer { background: #3A2346; color: rgba(255, 255, 255, .8); padding: 56px 0 calc(24px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; gap: 26px; }
.brand-foot .brand-name { color: #fff; }
.brand-foot .brand-name em { color: #FFB1A6; }
.site-footer p { margin-top: 12px; max-width: 42ch; }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { display: inline-flex; gap: 8px; align-items: center; }
.site-footer ul a:hover { color: #FFD3B5; }
.copy { text-align: center; font-size: .8rem; margin: 36px 18px 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- mobile booking bar ---------- */
.book-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 18px; background: var(--plum); color: #fff; font-weight: 800; box-shadow: 0 16px 34px -14px rgba(94, 44, 120, .7); transform: translateY(140%); transition: transform .45s var(--spring); }
.book-bar small { font-weight: 700; opacity: .85; }
body.show-bar .book-bar { transform: none; }
body.show-bar .site-footer { padding-bottom: 96px; }
body.show-bar main { padding-bottom: 0; }

/* ---------- modal & toast ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 12px; background: rgba(58, 35, 70, .45); backdrop-filter: blur(5px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 24px); overflow: auto; background: #fff; border-radius: var(--r-xl); animation: mpop .45s var(--spring); }
.modal-card.wide { width: min(720px, 100%); }
@keyframes mpop { from { opacity: 0; transform: scale(.92) translateY(18px); } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); font-size: 1.15rem; }
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem; text-align: center; pointer-events: none; transition: .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   TABLET (≥ 640px)
   ========================================================= */
@media (min-width: 640px) {
  .wrap { padding: 0 28px; }
  .voice-sw button b { display: inline; }
  .hide-xs { display: inline-flex; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .word-grid { grid-template-columns: repeat(4, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
  .myth-grid { grid-template-columns: 1fr 1fr; }
  .door-grid { grid-template-columns: repeat(3, 1fr); }
  .mem-grid { grid-template-columns: repeat(4, 1fr); }
  .opt-row { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .about-card { grid-template-columns: 220px 1fr; padding: 22px; }
  .lab-body { padding: 24px; }
}

/* =========================================================
   LAPTOP / DESKTOP (≥ 1024px)
   ========================================================= */
@media (min-width: 1024px) {
  :root { --top: 78px; }
  .mainnav { display: flex; gap: 4px; margin-left: 26px; }
  .mainnav a { position: relative; padding: .55em .9em; border-radius: 999px; font-weight: 800; font-size: .95rem; color: var(--ink); transition: color .2s, background .2s; }
  .mainnav a:hover { color: var(--plum); background: var(--t-plum); }
  .mainnav a.is-on { color: var(--plum); background: var(--t-plum); }
  .burger, .mobile-menu { display: none; }
  .book-bar { display: none; }
  body.show-bar .site-footer { padding-bottom: 24px; }
  .toast { bottom: 28px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 50px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .word-grid { grid-template-columns: repeat(6, 1fr); }
  .lab-pickers { grid-template-columns: 1fr auto; align-items: center; }
  .chip-row { flex-wrap: wrap; overflow: visible; }
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .game { padding: 22px 20px; }
  .ms-card { grid-template-columns: .9fr 1.1fr; padding: 28px; gap: 32px; }
  .ms-list { grid-template-columns: 1fr 1fr; align-content: start; }
  .myth-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid { grid-template-columns: repeat(6, 1fr); }
  .about-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .book-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; }
  .book-card { padding: 30px; }
  .sec-art { width: 300px; }
}
@media (min-width: 1440px) { .wrap { width: min(1280px, 100%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
@media print { .topbar, .book-bar, .site-footer { display: none; } }

/* =========================================================
   v3 — pictures instead of icons, WH flashcards, size-of-the-problem, glitch fixes
   ========================================================= */
[hidden] { display: none !important; }
.site-footer p.copy { max-width: none; }
.sound-btn { height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: .85rem; background: var(--t-plum); color: var(--plum-d); white-space: nowrap; }
.sound-btn[aria-pressed="false"] { background: #F1ECF3; color: var(--muted); }
.float img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; background: var(--lav); }
.svc > img { flex: 0 0 auto; width: 72px; height: 72px; object-fit: cover; border-radius: 18px; background: var(--tb); }

/* word cards */
.wcard img { width: 100%; max-width: 110px; aspect-ratio: 1; object-fit: contain; }
.wcard.wide { grid-template-columns: 64px 1fr; padding-right: 14px; }
.wcard.wide img { width: 64px; }
.pair-card { grid-template-columns: 1fr auto 1fr; }
.pair-card .wcard img { max-width: 120px; }
.gcard { flex-direction: column; align-items: stretch; }
.gcard b { font-family: var(--f-head); font-size: 1.15rem; color: var(--plum); }
.g-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.g-row .wcard { padding: 10px 6px 8px; }
.g-row .wcard b { font-size: .95rem; }
.lcard .ln { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--t-plum); color: var(--plum); font-family: var(--f-head); }
.flash-card img { width: min(220px, 60vw); aspect-ratio: 1; object-fit: contain; }

/* game cards with cover pictures */
.game { padding: 0; grid-template-rows: auto 1fr; background: #fff; box-shadow: var(--shadow-sm); }
.game::after { display: none; }
.g-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tb); }
.g-body { display: grid; gap: 4px; padding: 14px 14px 16px; position: relative; align-content: start; }
.g-skill { position: static; justify-self: start; background: var(--tb); }
.game.feature { grid-column: 1 / -1; grid-template-columns: 1fr; }
.game-head img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.g-step { margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orchid); text-align: center; }
.g-title { margin: 0 0 6px; text-align: center; font-size: 1.35rem; color: var(--plum-d); }
.g-word img { width: 120px; height: 120px; object-fit: contain; }
.wheel span { position: absolute; inset: 0; }
.wheel-pic { position: absolute; left: 50%; top: 6%; width: clamp(44px, 13vw, 62px); height: auto; aspect-ratio: 1; object-fit: contain; translate: -50% 0; }
.spin-pointer { width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 22px solid var(--coral); font-size: 0; top: -10px; text-shadow: none; }
.door-front { font-size: 0; background: linear-gradient(160deg, #E9C9F2, #C69AD8); }
.door-front .knob { position: absolute; right: 18%; top: 52%; width: 12px; height: 12px; border-radius: 50%; background: #FFD8A8; box-shadow: 0 2px 0 rgba(0, 0, 0, .1); }
.door-front small { position: absolute; top: 12%; left: 50%; translate: -50% 0; font-family: var(--f-head); font-size: 1.3rem; color: #fff; }
.door-back img, .mem-back img { width: 72%; aspect-ratio: 1; object-fit: contain; }
.mem-front img { width: 52%; opacity: .9; }
.pair-opt img { width: min(150px, 34vw); aspect-ratio: 1; object-fit: contain; }
.big-face img { width: min(220px, 55vw); aspect-ratio: 1; object-fit: contain; margin: 0 auto; }
.ig-kind { width: auto; height: auto; padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 800; }
.plus { font-family: var(--f-head); font-size: 1.4rem; color: var(--plum); transition: transform .3s var(--spring); }
details[open] .plus { transform: rotate(45deg); }
.mile .tick { font-weight: 900; }

/* booking */
.book-perks img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; }
.reach { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.reach-btn { height: 48px; }
.reach-btn img { width: 26px; height: 26px; object-fit: contain; }
.reach-btn.wa { color: #137A3E; } .reach-btn.mail { color: var(--plum); }

/* ---------- WH flashcards ---------- */
.t-what { --wc: #7E3A9E; --wb: #F1E6F8; } .t-where { --wc: #2E8A6E; --wb: #E3F5EE; } .t-who { --wc: #C2671F; --wb: #FFEFE2; }
.t-when { --wc: #3F63B5; --wb: #E7EEFB; } .t-why { --wc: #C9474C; --wb: #FDE9E9; }
.wh-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wh-type { display: grid; gap: 2px; align-content: start; text-align: left; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 3px var(--wb), var(--shadow-sm); transition: transform .3s var(--spring); padding-bottom: 12px; }
.wh-type:hover { transform: translateY(-4px); }
.wh-type img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--wb); margin-bottom: 6px; }
.wh-type b { font-family: var(--f-head); font-size: 1.4rem; color: var(--wc); padding: 0 12px; }
.wh-type small { padding: 0 12px; color: var(--muted); font-weight: 700; font-size: .8rem; line-height: 1.3; }
.wh-type span { margin: 6px 12px 0; justify-self: start; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: var(--wb); color: var(--wc); }
.wh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; }
.g-back { font-weight: 800; color: var(--plum); padding: 6px 12px; border-radius: 99px; background: var(--t-plum); }
.g-count { margin-left: auto; font-size: .82rem; font-weight: 800; padding: 5px 12px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.wh-card { perspective: 1100px; }
.wh-in { position: relative; display: grid; transform-style: preserve-3d; transition: transform .8s var(--spring); }
.wh-card.flip .wh-in { transform: rotateY(180deg); }
.wh-front, .wh-back { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 4px var(--wb), var(--shadow); background: #fff; }
.wh-scene { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--wb); }
.wh-q { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 14px 16px; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: var(--ink); }
.wh-no { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--wc); color: #fff; font-size: .95rem; }
.wh-play { margin-left: auto; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--wb); color: var(--wc); font-size: .9rem; }
.wh-back { transform: rotateY(180deg); position: relative; display: grid; place-items: center; background: var(--wc); }
.wh-burst { position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .16) 0deg 10deg, transparent 10deg 20deg); }
.wh-ans { position: relative; display: grid; justify-items: center; gap: 8px; padding: 22px 18px; margin: 18px; background: #fff; border-radius: var(--r-lg); text-align: center; box-shadow: var(--shadow); }
.wh-ans img { width: min(170px, 44vw); aspect-ratio: 1; object-fit: contain; }
.wh-ans b { font-family: var(--f-head); font-size: 1.5rem; color: var(--wc); cursor: pointer; }
.wh-ans b::first-letter { text-transform: uppercase; }
.wh-ans p { margin: 0; font-weight: 800; color: var(--muted); }
.wh-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wh-opt { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 6px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 2px var(--line), var(--shadow-sm); font-weight: 800; font-size: .9rem; transition: transform .25s var(--spring); }
.wh-opt:hover { transform: translateY(-3px); }
.wh-opt img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; }
.wh-opt span { text-align: center; line-height: 1.25; }
.wh-opt span::first-letter { text-transform: uppercase; }
.wh-opt[disabled] { cursor: default; }
.wh-opt.wrong { opacity: .55; }

/* ---------- Big or Small? ---------- */
.prob-card { border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 4px var(--t-plum), var(--shadow-sm); }
.prob-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--lav); }
.prob-text { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 14px 16px; font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; }
.prob-text .wh-play { --wb: var(--t-plum); --wc: var(--plum); }
.g-q { margin: 4px 0 0; text-align: center; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; color: var(--plum-d); }
.size { gap: 8px; }
.size b { font-family: var(--f-head); font-size: 1.05rem; }
.size-meter { display: flex; align-items: flex-end; gap: 4px; height: 46px; }
.size-meter i { width: 14px; border-radius: 6px; background: var(--lav-2); }
.size-meter i:nth-child(1) { height: 30%; } .size-meter i:nth-child(2) { height: 62%; } .size-meter i:nth-child(3) { height: 100%; }
.m-small i:nth-child(1) { background: #6CC39A; }
.m-medium i:nth-child(-n+2) { background: var(--peach); }
.m-big i { background: var(--coral); }
.size-info { margin: 0; padding: 12px 14px; border-radius: var(--r-md); font-weight: 700; text-align: center; }
.size-info.m-small { background: #EAF8F1; } .size-info.m-medium { background: var(--t-peach); } .size-info.m-big { background: var(--t-coral); }
.react-row { display: grid; gap: 10px; margin-top: 8px; }
.react { padding: 14px 16px; border-radius: var(--r-lg); background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); font-weight: 800; text-align: left; transition: transform .25s var(--spring); }
.react:hover { transform: translateX(4px); }

@media (min-width: 640px) {
  .wh-types { grid-template-columns: repeat(3, 1fr); }
  .react-row { grid-template-columns: 1fr 1fr; }
  .g-row { grid-template-columns: repeat(6, 1fr); }
  .game.feature { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .game.feature .g-cover { height: 100%; aspect-ratio: auto; min-height: 240px; }
  .game.feature h3 { font-size: 1.6rem; }
}

/* v3.1 — show every picture in full (no cropping) */
.wh-front { background: var(--wb); }
.wh-scene { display: block; width: auto; max-width: calc(100% - 24px); height: auto; max-height: min(40vh, 340px); aspect-ratio: 1; object-fit: contain; margin: 12px auto 0; border-radius: 22px; background: #fff; }
.wh-front .wh-q { background: #fff; margin-top: 12px; }
.prob-card { background: var(--lav); }
.prob-card img { width: auto; max-width: calc(100% - 24px); height: auto; max-height: min(36vh, 300px); aspect-ratio: 1; object-fit: contain; margin: 12px auto 0; border-radius: 22px; background: #fff; display: block; }
.prob-card .prob-text { background: #fff; margin-top: 12px; }
.g-cover, .wh-type img { object-fit: contain; background: var(--tb, var(--wb)); padding: 6px; }
.svc > img, .book-perks img, .game-head img { object-fit: contain; background: #fff; }

/* ---------- Session timer ---------- */
.t-picks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.t-pick { display: grid; justify-items: center; padding: 14px 4px; border-radius: var(--r-lg); background: var(--t-plum); transition: transform .25s var(--spring); }
.t-pick:hover { transform: translateY(-3px); }
.t-pick b { font-family: var(--f-head); font-size: 1.8rem; color: var(--plum); line-height: 1; }
.t-pick small { font-weight: 800; color: var(--muted); }
.t-mascot { width: 140px; margin: 10px auto 0; border-radius: 28px; }
.t-ring { --p: 360; width: min(280px, 70vw); aspect-ratio: 1; margin: 6px auto 4px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--plum) calc(var(--p) * 1deg), var(--lav-2) 0); transition: background .3s; }
.t-ring.done { background: conic-gradient(#6CC39A 360deg, #6CC39A 0); }
.t-face { width: 78%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-sm); }
.t-time { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.6rem, 10vw, 3.6rem); color: var(--plum-d); line-height: 1; }
.t-face small { font-weight: 800; color: var(--muted); }

/* broken/missing picture: never show alt text as giant letters */
img { color: transparent; font-size: 0; }

/* ---------- Talk Cards (conversation starters, directions, manners) ---------- */
.talk-wrap { display: grid; gap: 14px; max-width: 640px; margin: 0 auto; }
.talk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.talk-top .g-count { margin-left: 0; }
.talk-stars { font-size: 1.25rem; letter-spacing: 3px; color: var(--peach); }
.talk-stars i { font-style: normal; color: var(--lav-2); }
.turn-pill { justify-self: center; padding: .45em 1.1em; border-radius: 999px; font-weight: 800; font-size: .9rem; background: var(--t-peach); color: #A4561B; animation: stepin .4s var(--ease); }
.turn-pill.t1 { background: var(--t-plum); color: var(--plum-d); }
.talk-card { position: relative; display: grid; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(160deg, var(--lav), var(--t-peach)); box-shadow: var(--shadow); animation: deal .55s var(--spring); }
.talk-card.deal { animation: deal .65s var(--spring); }
.talk-card.done::after { content: "★"; position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--peach); font-size: 1.3rem; box-shadow: var(--shadow-sm); }
.talk-card.cheer { animation: cheer .6s var(--spring); }
.talk-pic { display: grid; place-items: center; padding: 18px 18px 6px; }
.talk-pic img { width: min(260px, 62vw); aspect-ratio: 1; object-fit: contain; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.talk-text { display: flex; align-items: center; gap: 12px; margin: 10px 14px 14px; padding: 14px 16px; border-radius: var(--r-lg); background: #fff; text-align: left; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.15rem, 2.6vw, 1.45rem); color: var(--ink); }
.talk-text .wh-play { --wb: var(--t-plum); --wc: var(--plum); }
.talk-acts { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.talk-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; justify-content: safe center; }
.thumb { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); padding: 4px; opacity: .75; transition: transform .25s var(--spring), opacity .2s; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.on { opacity: 1; box-shadow: inset 0 0 0 3px var(--plum); transform: translateY(-3px); }
.thumb.got::after { content: "★"; position: absolute; right: -4px; top: -6px; font-size: .8rem; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: #fff; }
@keyframes deal { from { opacity: 0; transform: translateX(40px) rotate(6deg) scale(.95); } }
@keyframes cheer { 30% { transform: scale(1.04) rotate(-1.5deg); } 60% { transform: scale(.99) rotate(1deg); } }

.react { display: flex; align-items: center; gap: 10px; }
.react .wh-play { --wb: var(--t-plum); --wc: var(--plum); width: 32px; height: 32px; font-size: .75rem; }
.react.reading { box-shadow: inset 0 0 0 3px var(--orchid); background: #fff; transform: translateX(4px); }

.talk-acts .round { background: var(--t-plum); color: var(--plum); font-size: 1.7rem; line-height: 1; box-shadow: none; }
.talk-acts .round:hover { background: var(--lav-2); }

/* hero badges scale with the picture (container query units) */
.hero-art { container-type: inline-size; }
.float { gap: clamp(5px, 2cqw, 10px); padding: clamp(5px, 1.6cqw, 9px) clamp(7px, 2.8cqw, 14px) clamp(5px, 1.6cqw, 9px) clamp(5px, 1.6cqw, 9px); border-radius: clamp(10px, 3.4cqw, 18px); font-size: clamp(.58rem, 2.7cqw, .84rem); }
.float img { width: clamp(24px, 8.6cqw, 44px); height: clamp(24px, 8.6cqw, 44px); border-radius: clamp(7px, 2.4cqw, 12px); }
.float small { font-size: .85em; }
.f1 { left: 0; top: 7%; } .f2 { right: 0; bottom: 9%; }

/* contact buttons: never collapse */
.reach { display: grid; grid-template-columns: 1fr; gap: 10px; }
.reach-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; height: auto; padding: .7em 1.2em; white-space: nowrap; font-size: .98rem; }
.reach-btn img { flex: 0 0 28px; width: 28px; height: 28px; }
@media (min-width: 640px) { .reach { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* sound button: icon + text on wide screens, icon only on phones */
.sound-btn { display: inline-flex; align-items: center; gap: 6px; }
.sound-btn svg { flex: 0 0 auto; }
@media (max-width: 640px) {
  .sound-txt { display: none; }
  .sound-btn { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
}
/* very small phones only: stack the brand name */
@media (max-width: 350px) {
  .brand img { height: 36px; }
  .brand-name { font-size: .98rem; white-space: normal; width: 4.4em; line-height: 1.02; }
  .burger { width: 40px; height: 40px; }
  .topbar { gap: 8px; }
}

/* contact buttons: fixed compact size, never stretch */
.reach { align-items: start; grid-auto-rows: min-content; }
.reach-btn { height: 52px !important; min-height: 0; align-self: start; border-radius: 999px; }
.reach-btn .ig-ico { flex: 0 0 22px; }

/* language picker */
.lang-btn { height: 40px; min-width: 42px; padding: 0 10px; border-radius: 999px; font-weight: 800; font-size: .85rem; background: var(--t-plum); color: var(--plum-d); }
.lang-sheet { padding: 24px 18px 20px; }
.lang-sheet h3 { text-align: center; }
.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lang-opt { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); background: var(--cream); box-shadow: inset 0 0 0 2px var(--line); text-align: left; }
.lang-opt b { font-size: 1.1rem; }
.lang-opt small { color: var(--muted); font-weight: 700; }
.lang-opt.on { box-shadow: inset 0 0 0 3px var(--plum); background: #fff; }
@media (min-width: 640px) { .lang-grid { grid-template-columns: repeat(4, 1fr); } }

/* not-yet-drawn picture placeholder */
img.ph-pic { opacity: .35; filter: grayscale(.4); }
