/* Hi Dood — shared design system: tokens, type, chrome, components. Hand-authored; no build step.
   Page-specific sheets: home.css, play.css, lessons.css, book.css. (store.css belongs to the store widget.) */
:root {
  --sky: #8FD6FF; --sky-soft: #C6EAFF; --sky-deep: #5DBDF5;
  --sun: #FFE45C; --butter: #FFF0B3; --cream: #FFFBEF;
  --pink: #FFE9EB; --rose: #FF9DB8; --berry: #B4235A;
  --mint: #D6F5DB; --grass: #8EDB9B; --grass-deep: #6FCB80;
  --ink: #5B4636; --ink-soft: #6E5847; --grey: #A0907F; --white: #fff;
  --line: 3px solid var(--ink);
  --r-lg: 32px; --r-md: 22px;
  --pop: 0 6px 0 var(--ink);
  --display: "DynaPuff", "Baloo 2", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --wag: 1.5s;
  --gap: clamp(24px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); font-weight: 600; font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--sky); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong, b { font-weight: 900; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 4px; border-radius: 12px; box-shadow: 0 0 0 4px var(--white); }
section:focus, main:focus { outline: none; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
main { display: block; background: var(--cream); overflow-x: clip; }

/* ── type ── */
h1 { font: 700 clamp(2rem, 5vw, 2.8rem)/1.05 var(--display); letter-spacing: -.01em; }
h2 { font: 700 clamp(1.5rem, 3.2vw, 2rem)/1.1 var(--display); letter-spacing: -.01em; }
h3 { font: 700 1.4rem/1.15 var(--display); }
.t-hero { font: 700 clamp(2.9rem, 8.4vw, 5.8rem)/.96 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.t-1 { font: 700 clamp(2.3rem, 6vw, 4.2rem)/1 var(--display); letter-spacing: -.01em; margin-bottom: 18px; text-wrap: balance; }
.t-2 { font: 700 clamp(1.7rem, 3.6vw, 2.5rem)/1.06 var(--display); margin-bottom: 14px; text-wrap: balance; }
.sub { font-size: clamp(1.12rem, 2.1vw, 1.38rem); line-height: 1.5; max-width: 44ch; text-wrap: pretty; }
.center .sub, .sub.center { margin-inline: auto; }
.fine { font-size: .95rem; font-weight: 700; color: var(--ink-soft); margin-top: 14px; }
.eyebrow { font: 800 .9rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; display: inline-block; background: var(--white); border: var(--line); border-radius: 999px; padding: 9px 16px; margin-bottom: 18px; transform: rotate(-2deg); }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62% 92%, transparent 92%); padding-inline: .08em; }

/* ── Dood rig (client art, split into parts so the tail can wag and the ears can flop) ── */
.f-g { fill: #818080; } .f-w { fill: #fff; } .f-y { fill: #FFEDB0; } .f-b { fill: #E9D288; } .f-p { fill: #FFE1E8; } .f-k { fill: #3D3B3C; }
.d-kl { display: none; }
.dood--sticker .d-kl { display: inline; }
.d-kl path { fill: #fff; stroke: #fff; stroke-width: 26px; stroke-linejoin: round; }
.dood { overflow: visible; }
.d-tail, .d-earl, .d-earr, .d-brow, .d-nose, .d-cheek { transform-box: view-box; }
.d-tail { transform-origin: 503px 860px; animation: wag var(--wag) ease-in-out infinite; }
.d-earl { transform-origin: 468px 400px; animation: earl 5.2s ease-in-out infinite; }
.d-earr { transform-origin: 732px 400px; animation: earr 5.2s ease-in-out infinite; }
.d-eye { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 4.6s infinite; }
.d-brow, .d-cheek, .d-nose { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), fill .35s; }
.d-cheek-l { transform-origin: 501px 581px; } .d-cheek-r { transform-origin: 700px 574px; }
@keyframes wag { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(11deg); } }
@keyframes earl { 0%, 86%, 100% { transform: none; } 90% { transform: skewY(6deg) scaleX(1.06); } 94% { transform: skewY(-3deg) scaleX(.97); } }
@keyframes earr { 0%, 88%, 100% { transform: none; } 92% { transform: skewY(-6deg) scaleX(1.06); } 96% { transform: skewY(3deg) scaleX(.97); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.12); } }
/* moods, set on any ancestor: happy = perked brow, rosy cheeks, quick wag; sleepy = eyes closed, slow tail */
[data-mood="happy"] { --wag: .42s; }
[data-mood="happy"] .d-brow { transform: translateY(-9px); }
[data-mood="happy"] .d-cheek { fill: #FFC2D2; transform: scale(1.12); }
[data-mood="happy"] .d-earl { animation: earl-happy 1.1s ease-in-out infinite; }
[data-mood="happy"] .d-earr { animation: earr-happy 1.1s ease-in-out infinite; }
@keyframes earl-happy { 0%, 100% { transform: none; } 50% { transform: skewY(7deg) scaleX(1.07); } }
@keyframes earr-happy { 0%, 100% { transform: none; } 50% { transform: skewY(-7deg) scaleX(1.07); } }
[data-mood="sleepy"] { --wag: 4s; }
[data-mood="sleepy"] .d-eye { animation: none; transform: scaleY(.12); }
[data-mood="sleepy"] .d-brow { transform: translateY(5px); }
[data-mood="curious"] .d-brow { transform: translateY(-6px); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ── buttons, chips, panels ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 56px; padding: 12px 26px; border: var(--line); border-radius: 999px; font: 700 1.15rem/1.1 var(--display); color: var(--ink); text-decoration: none; cursor: pointer; box-shadow: var(--pop); transition: transform .12s, box-shadow .12s, background-color .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn-sun { background: var(--sun); } .btn-white { background: var(--white); } .btn-rose { background: var(--rose); }
.btn-sm { min-height: 48px; padding: 8px 20px; font-size: 1rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn .arr { transition: translate .2s; } .btn:hover .arr { translate: 4px 0; }
.more { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font: 700 1.1rem/1.1 var(--display); text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 4px; text-underline-offset: .3em; }
.more:hover { text-decoration-color: var(--ink); }
.more .arr { transition: translate .2s; } .more:hover .arr { translate: 4px 0; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.center .cta, .cta.center { justify-content: center; }
.chip-btn { min-height: 44px; padding: 6px 14px; border: var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 800 .9rem/1 var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.chip-btn[aria-pressed="true"], .chip-btn[aria-expanded="true"] { background: var(--ink); color: #fff; }
.ico-pause { width: 12px; height: 14px; border-inline: 4px solid currentColor; flex: none; }
[aria-pressed="true"] .ico-pause { width: 0; height: 0; border: 0; border-block: 7px solid transparent; border-left: 12px solid currentColor; }
.panel { background: var(--white); border: var(--line); border-radius: var(--r-lg); box-shadow: var(--pop); }
.tag { display: inline-block; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; font: 800 .9rem/1 var(--body); }

/* ── top bar ── */
.bar { position: sticky; top: 10px; z-index: 50; width: min(1200px, 100% - 20px); margin: 10px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 10px 8px 18px; background: rgba(255, 255, 255, .95); border: var(--line); border-radius: 36px; box-shadow: var(--pop); }
.bar-logo { display: flex; align-items: center; min-height: 44px; width: 128px; flex: none; border-radius: 14px; }
.bar-logo img { width: 100%; }
.bar-nav { margin-left: auto; }
.bar-nav ul { display: flex; flex-wrap: wrap; gap: 2px; }
.bar-nav a { display: block; font: 800 1rem/1 var(--body); text-decoration: none; padding: 14px 14px; border-radius: 999px; border: 3px solid transparent; white-space: nowrap; transition: background-color .15s; }
.bar-nav a:hover { background: var(--butter); }
.bar-nav a[aria-current="page"] { background: var(--sun); border-color: var(--ink); }
.bar-tools { display: flex; gap: 8px; align-items: center; }
.bar-menu { display: none; }

/* ── sky dressing ── */
.cloud { position: absolute; display: block; width: 180px; aspect-ratio: 2 / 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cpath fill='%23fff' d='M40 92a30 30 0 0 1-4-60 44 44 0 0 1 82-12 36 36 0 0 1 54 30 21 21 0 0 1-6 42z'/%3E%3C/svg%3E") center / contain no-repeat; animation: drift 38s linear infinite; }
@keyframes drift { from { transform: translateX(-12vw); } to { transform: translateX(112vw); } }
.twinkle { position: absolute; width: 26px; aspect-ratio: 1; background: var(--white); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.4) rotate(0deg); opacity: .5; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sky .c1 { top: 16%; left: 0; width: 210px; animation-duration: 46s; animation-delay: -8s; }
.sky .c2 { top: 44%; left: 0; width: 130px; animation-duration: 60s; animation-delay: -34s; opacity: .9; }
.sky .c3 { top: 58%; left: 0; width: 260px; animation-duration: 52s; animation-delay: -22s; }
.sky .c4 { top: 9%; left: 0; width: 110px; animation-duration: 70s; animation-delay: -52s; opacity: .85; }
.t1 { left: 12%; top: 30%; } .t2 { left: 84%; top: 46%; animation-delay: -.8s; width: 18px; } .t3 { left: 22%; top: 68%; animation-delay: -1.5s; width: 16px; } .t4 { left: 70%; top: 17%; animation-delay: -.4s; }
.sunball { position: absolute; width: clamp(84px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); border: var(--line); box-shadow: 0 0 0 14px rgba(255, 228, 92, .35), 0 0 0 34px rgba(255, 228, 92, .18); }
.hill { position: absolute; left: -10%; right: -10%; bottom: -1px; height: clamp(60px, 9vw, 120px); background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0; border-top: var(--line); }

/* ── page hero (every page except home) ── */
.phero { position: relative; margin-top: -78px; padding: clamp(140px, 15vw, 190px) 0 clamp(110px, 13vw, 180px); overflow: hidden; background: linear-gradient(var(--sky) 55%, var(--sky-soft)); }
.phero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: center; }
.phero-in--solo { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.phero .sub { margin-top: 20px; font-weight: 700; }
.phero-art { position: relative; justify-self: center; width: min(100%, 400px); }
.phero-art .dood { width: 100%; }
.phero .sunball { right: 5%; top: 104px; }
.crumbs { font: 800 .9rem/1 var(--body); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── sections ── */
.sec { position: relative; padding: clamp(72px, 9vw, 124px) 0 clamp(92px, 11vw, 144px); background: var(--sec, var(--cream)); }
.sec::before { content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; background: radial-gradient(circle at 50% 100%, var(--sec, var(--cream)) 0 26px, transparent 27px) center bottom / 56px 28px repeat-x; z-index: 1; }
.sec--flat::before, .phero + .sec::before, .hero + .sec::before { display: none; }
.phero + .sec, .hero + .sec { padding-top: clamp(36px, 5vw, 64px); }
.sec--cream { --sec: var(--cream); } .sec--butter { --sec: var(--butter); } .sec--sky { --sec: var(--sky); } .sec--soft { --sec: var(--sky-soft); }
.sec--mint { --sec: var(--mint); } .sec--pink { --sec: var(--pink); } .sec--sun { --sec: var(--sun); }
.sec-head { margin-bottom: clamp(30px, 5vw, 56px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.split--art-l { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split--art-r { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

/* ── Dood on a blob, with stickers ── */
.meet-art { position: relative; display: grid; place-items: center; padding: 6% 4%; }
.blob { position: absolute; inset: 4% 2%; background: var(--sky); border: var(--line); border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; box-shadow: var(--pop); animation: morph 9s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 44% 56% 42% 58% / 56% 44% 56% 44%; } }
.meet-dood { position: relative; width: min(84%, 420px); }
.meet-dood .dood { width: 100%; }
.stk { position: absolute; width: clamp(54px, 7vw, 84px); aspect-ratio: 1; background: center / contain no-repeat; filter: drop-shadow(0 4px 0 rgba(91, 70, 54, .25)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; rotate: 6deg; } }
.stk-bone { left: 0; top: 8%; rotate: -18deg; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg stroke-linejoin='round'%3E%3Cpath fill='%23fff' stroke='%23fff' stroke-width='14' d='M22 30a8 8 0 1 0-8 10 8 8 0 1 0 8 10h36a8 8 0 1 0 8-10 8 8 0 1 0-8-10Z'/%3E%3Cpath fill='%23FFE45C' stroke='%235B4636' stroke-width='4' d='M22 30a8 8 0 1 0-8 10 8 8 0 1 0 8 10h36a8 8 0 1 0 8-10 8 8 0 1 0-8-10Z'/%3E%3C/g%3E%3C/svg%3E"); }
.stk-heart, .pt-heart2 { right: 2%; top: 4%; animation-delay: -1s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg stroke-linejoin='round'%3E%3Cpath fill='%23fff' stroke='%23fff' stroke-width='14' d='M40 66C12 46 14 18 29 18c6 0 11 5 11 9 0-4 5-9 11-9 15 0 17 28-11 48Z'/%3E%3Cpath fill='%23FF9DB8' stroke='%235B4636' stroke-width='4' d='M40 66C12 46 14 18 29 18c6 0 11 5 11 9 0-4 5-9 11-9 15 0 17 28-11 48Z'/%3E%3C/g%3E%3C/svg%3E"); }
.stk-paw, .pt-paw { left: 2%; bottom: 6%; animation-delay: -2s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='34' fill='%23fff'/%3E%3Ccircle cx='40' cy='40' r='27' fill='%23FFE9EB' stroke='%235B4636' stroke-width='4'/%3E%3Cg fill='%235B4636'%3E%3Cellipse cx='40' cy='48' rx='10' ry='8'/%3E%3Ccircle cx='27' cy='38' r='4.500'/%3E%3Ccircle cx='53' cy='38' r='4.500'/%3E%3Ccircle cx='35' cy='29' r='4.500'/%3E%3Ccircle cx='45' cy='29' r='4.500'/%3E%3C/g%3E%3C/svg%3E"); }
.stk-star, .pt-star { right: 0; bottom: 12%; animation-delay: -3s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg stroke-linejoin='round'%3E%3Cpath fill='%23fff' stroke='%23fff' stroke-width='14' d='m40 12 8 18 20 2-15 13 5 20-18-10-18 10 5-20-15-13 20-2Z'/%3E%3Cpath fill='%23fff' stroke='%235B4636' stroke-width='4' d='m40 12 8 18 20 2-15 13 5 20-18-10-18 10 5-20-15-13 20-2Z'/%3E%3C/g%3E%3C/svg%3E"); }
.blob--sun { background: var(--sun); } .blob--pink { background: var(--rose); } .blob--mint { background: var(--grass); } .blob--white { background: var(--white); }
.flip { transform: scaleX(-1); }
.tilt-l { rotate: -7deg; } .tilt-r { rotate: 7deg; }

/* ── profile card ── */
.profile { margin-top: 26px; padding: 8px 24px; transform: rotate(.6deg); }
.profile div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 13px 0; align-items: baseline; }
.profile div + div { border-top: 3px dotted rgba(91, 70, 54, .3); }
.profile dt { font: 800 .82rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.profile dd { font: 600 1.18rem/1.25 var(--display); }
.secret { background: var(--pink); border-radius: 999px; padding: 4px 12px; display: inline-block; }

/* ── tiles ── */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.tiles--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tiles--5 > * { grid-column: span 2; }
.tiles--5 > :nth-child(4) { grid-column: 2 / span 2; }
.tile { position: relative; padding: 26px 24px 28px; display: grid; align-content: start; gap: 10px; }
.tile h3 { font-size: 1.35rem; }
.tile p { font-size: 1.05rem; line-height: 1.5; }
.tile-n { position: absolute; right: 18px; top: 10px; font: 700 3.4rem/1 var(--display); color: var(--sky-soft); }
.ico { position: relative; display: grid; place-items: center; width: 84px; aspect-ratio: 1; border-radius: 50%; background: var(--sky-soft); border: var(--line); margin-bottom: 6px; }
.ico svg { width: 68%; }
.ico--sun { background: var(--butter); } .ico--pink { background: var(--pink); } .ico--mint { background: var(--mint); } .ico--white { background: #fff; }
.i-ink { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
a.tile { text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.tile:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 10px 0 var(--ink); }

/* ── facts (pill list) ── */
.facts { display: grid; gap: 10px; margin: 26px 0; }
.facts li { display: flex; align-items: center; gap: 14px; background: var(--white); border: var(--line); border-radius: 999px; padding: 8px 20px 8px 8px; font-weight: 800; width: fit-content; max-width: 100%; }
.facts b { font: 700 1.1rem/1 var(--display); background: var(--sun); border-radius: 999px; padding: 10px 16px; white-space: nowrap; }

/* ── paper, contents page, numbered how-to ── */
.paper { position: relative; background: var(--cream); border: var(--line); border-radius: 10px 26px 26px 10px; box-shadow: var(--pop); }
.contents { padding: 30px 46px 34px 34px; background: var(--cream) linear-gradient(90deg, rgba(91, 70, 54, .1), transparent 6%); transform: rotate(.8deg); }
.contents-h { font: 700 1.7rem/1 var(--display); text-align: center; margin-bottom: 10px; }
.toc li { position: relative; display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 4px 14px; padding: 18px 34px 18px 0; align-items: baseline; }
.toc li + li { border-top: 3px dotted rgba(91, 70, 54, .35); }
.toc .ch { font: 800 .82rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.toc .t { font-size: 1.05rem; line-height: 1.45; }
.toc .t b { display: block; font: 700 1.35rem/1.15 var(--display); margin-bottom: 4px; }
.mark { position: absolute; right: -66px; top: 16px; min-width: 76px; padding: 9px 14px 9px 12px; font: 700 .95rem/1 var(--display); text-align: center; background: var(--sun); border: var(--line); border-radius: 4px 14px 14px 4px; box-shadow: 0 4px 0 var(--ink); }
.toc .now .mark { background: var(--rose); }
.toc .later .mark { background: #fff; border-style: dashed; box-shadow: none; }
.toc .later .t { color: var(--ink-soft); }
.note { margin-top: clamp(44px, 6vw, 72px); padding: clamp(26px, 4vw, 44px); border-radius: 26px; }
.howto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 34px; counter-reset: how; }
.howto li { position: relative; padding-left: 50px; min-height: 38px; font-size: 1.08rem; line-height: 1.45; counter-increment: how; }
.howto li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--sky-soft); font: 700 1rem/1 var(--display); }
.howto b { font-family: var(--display); font-weight: 700; }

/* ── questions & answers (native disclosure; works without JS) ── */
.qa { display: grid; gap: 14px; }
.qa details { background: var(--white); border: var(--line); border-radius: var(--r-md); box-shadow: 0 4px 0 var(--ink); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 64px; font: 700 clamp(1.12rem, 2.2vw, 1.3rem)/1.2 var(--display); border-radius: 19px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--sun); font: 700 1.5rem/1 var(--display); transition: rotate .25s, background-color .25s; }
.qa details[open] summary::after { rotate: 45deg; background: var(--rose); }
.qa .a { padding: 0 22px 22px; display: grid; gap: 12px; max-width: 68ch; }
.qa-group + .qa-group { margin-top: clamp(40px, 6vw, 64px); }
.qa-group > h2 { margin-bottom: 20px; }

/* ── long-form copy ── */
.prose { display: grid; gap: 18px; font-size: 1.15rem; line-height: 1.65; }
.prose h2 { margin-top: 26px; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 34px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); }
.prose a { font-weight: 800; }
.big-quote { font: 600 clamp(1.5rem, 3.6vw, 2.4rem)/1.25 var(--display); text-wrap: balance; }

/* ── "next stop" band at the foot of each page ── */
.next-stop { position: relative; overflow: hidden; }
.next-stop .wrap { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.peek { position: relative; width: min(46vw, 250px); margin-bottom: -6px; }
.peek .dood { width: 100%; animation: bob 3.2s ease-in-out infinite; }
.peek-ledge { width: min(100%, 640px); padding: clamp(26px, 4vw, 44px); position: relative; }

/* ── footer ── */
.foot { position: relative; background: var(--ink); color: #fff; padding: 76px 0 34px; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; background: radial-gradient(circle at 50% 100%, var(--ink) 0 26px, transparent 27px) center bottom / 56px 28px repeat-x; z-index: 1; }
.foot-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px var(--gap); }
.foot-logo { display: block; width: min(250px, 70%); border-radius: 14px; }
.foot-line { font: 600 1.15rem/1.3 var(--display); color: var(--sun); margin-top: 16px; max-width: 18ch; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-h { font: 800 .82rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 6px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: none; border-radius: 8px; }
.foot-nav a:hover { text-decoration: underline; }
.foot-nav a[aria-current="page"] { color: var(--sun); }
.foot :focus-visible { outline-color: var(--sun); box-shadow: none; }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 2px solid rgba(255, 255, 255, .22); font-size: .92rem; color: #E6E1DC; }
.foot-by { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

/* ── reveal on scroll (only when JS is on) ── */
.js .rv { opacity: 0; translate: 0 34px; transition: opacity .6s, translate .7s cubic-bezier(.3, 1.4, .5, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; translate: 0 0; }

/* ── pause + reduced motion ── */
html.paused *, html.paused *::before, html.paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; translate: none; }
}

/* ── responsive ── */
@media (max-width: 1060px) {
  .bar { border-radius: 30px; }
  .bar-tools { margin-left: auto; }
  .bar-nav { order: 3; flex: 1 0 100%; margin: 0; padding: 4px 0 6px; }
  .js .bar-menu { display: inline-flex; }
  .js .bar-nav { display: none; position: absolute; left: -3px; right: -3px; top: calc(100% + 10px); background: var(--white); border: var(--line); border-radius: 26px; padding: 10px; box-shadow: var(--pop); }
  .js .bar-nav.open { display: block; }
  .js .bar-nav ul { flex-direction: column; }
  .js .bar-nav a { padding: 16px 18px; font-size: 1.1rem; }
}
@media (max-width: 860px) {
  .phero-in, .split, .split--art-l, .split--art-r { grid-template-columns: minmax(0, 1fr); }
  .phero-in { text-align: center; justify-items: center; }
  .phero-art { width: min(64%, 300px); }
  .phero .sunball { top: 96px; right: -20px; }
  .split--art-r > :last-child { order: -1; }
  .tiles--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--5 > *, .tiles--5 > :nth-child(4) { grid-column: auto; }
  .tiles--5 > :last-child { grid-column: 1 / -1; }
  .contents { margin-right: 60px; }
  .howto { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 1.06rem; }
  .bar { padding: 6px 8px 6px 14px; }
  .bar-logo { width: 108px; }
  #motionLabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .chip-btn { padding: 6px 13px; }
  .phero { padding-top: 124px; }
  .cta .btn { flex: 1 1 100%; }
  .tiles--5 { grid-template-columns: minmax(0, 1fr); }
  .profile { padding: 4px 18px; }
  .profile div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .facts li { border-radius: 26px; }
  .contents { margin-right: 0; padding: 22px 18px 24px 22px; transform: none; }
  .toc li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 0; }
  .toc .ch { min-height: 34px; padding-right: 84px; display: flex; align-items: center; }
  .mark { right: -27px; top: 14px; min-width: 0; padding: 8px 12px 8px 11px; font-size: .88rem; }
  .toc .t { font-size: 1rem; }
  .toc .t b { font-size: 1.25rem; }
  .note { padding: 22px 20px 24px; }
  .howto li { padding-left: 44px; font-size: 1.02rem; }
  .howto li::before { width: 32px; height: 32px; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa summary { padding: 14px 16px; }
  .qa .a { padding: 0 16px 18px; }
}
.phero--short { padding-bottom: clamp(100px, 11vw, 150px); }
.phero--short .t-hero { font-size: clamp(2.7rem, 7vw, 5rem); }
.phero-in--solo { gap: 0; }
ul.prose li { position: relative; padding-left: 34px; }
ul.prose li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); border: 3px solid var(--ink); }
@media (max-width: 860px) {
  .meet-art { width: min(100%, 440px); margin-inline: auto; }
}
