/* Little Motif: a single-scene storybook interface, kept separate from the research wireframe. */
:root{
  --cream:#fcf7ed;--paper:#fffaf1;--ink:#263752;--muted:#667186;--coral:#e77e68;
  --coral-dark:#c96351;--sage:#9bbca8;--sage-deep:#648d7a;--sage-light:#d9e5ca;
  --lavender:#bfc0d9;--yellow:#ffd996;--line:#d8dccf;
  color:var(--ink);background:var(--cream);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis:none;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;overflow-x:hidden;background:var(--cream)}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{cursor:wait;opacity:.62}
button:focus-visible,a:focus-visible{outline:3px solid var(--coral-dark);outline-offset:4px}
a{color:inherit}
[hidden]{display:none!important}
.sr-only,.svg-sprites{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.topbar{position:relative;z-index:5;border-bottom:1px solid rgba(38,55,82,.13);background:var(--cream)}
.topbar-inner{height:78px;max-width:1180px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:inline-flex;align-items:center;gap:11px;font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:700;letter-spacing:-.055em;text-decoration:none;white-space:nowrap}
.brand-period{color:var(--coral)}
.brand-seed{width:38px;height:38px;display:grid;place-items:center;border:2px solid var(--ink);border-radius:48% 52% 47% 53%;background:var(--yellow);transform:rotate(-12deg)}
.brand-seed svg{width:29px;height:29px;color:var(--ink)}
.topbar-actions{display:flex;align-items:center;gap:22px}
.language-switch{display:flex;padding:3px;border:1px solid var(--line);border-radius:99px;background:#fffdf6;gap:1px}
.lang-btn{min-width:47px;min-height:36px;border:0;border-radius:99px;padding:0 9px;background:transparent;font-size:12px;font-weight:800;letter-spacing:.025em}
.lang-btn.is-active,.lang-btn[aria-pressed="true"]{background:var(--ink);color:#fffdf6;box-shadow:0 1px 2px rgba(38,55,82,.2)}
.grownup-trigger{border:0;background:transparent;padding:11px 2px;font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}

.story{max-width:1180px;min-height:calc(100vh - 136px);margin:0 auto;padding:24px 28px 80px}
.journey-progress{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 auto 30px;max-width:1050px}
.journey-progress__label,.eyebrow,.section-kicker{font-size:11px;font-weight:820;letter-spacing:.155em;text-transform:uppercase}
.journey-progress__label{color:var(--sage-deep)}
.journey-dots{display:flex;align-items:center;gap:8px}
.journey-dots span{display:block;width:7px;height:7px;background:#cfcec0;border-radius:99px;transition:width .25s,background .25s}
.journey-dots span.is-current{width:27px;background:var(--coral)}
.story-screen{width:100%;max-width:1050px;margin:auto;animation:page-arrive .35s ease-out both}
.story-copy{text-align:center;max-width:725px;margin:0 auto}
.eyebrow{color:var(--sage-deep);margin:0 0 13px;line-height:1.4}
.eyebrow-sparkle{color:var(--coral);margin-right:5px;font-size:17px}
h1,h2,h3,p{overflow-wrap:break-word}
.story-copy h1{font-family:Georgia,"Iowan Old Style","Palatino Linotype",serif;font-size:clamp(39px,5.5vw,67px);line-height:1.04;letter-spacing:-.052em;font-weight:700;margin:0 auto;max-width:800px;text-wrap:balance}
.lede{max-width:650px;margin:15px auto 0;color:#5b6679;font-size:clamp(15px,1.6vw,19px);line-height:1.48;text-wrap:balance}

.picture{position:relative;height:clamp(275px,32vw,375px);max-width:950px;margin:12px auto 0;overflow:hidden;isolation:isolate}
.picture-sun{position:absolute;top:27px;left:25%;width:83px;height:83px;border-radius:50%;background:#fbd58e;box-shadow:0 0 0 12px rgba(255,227,163,.29);z-index:-2}
.picture-sun--small{top:23px;left:16%;width:65px;height:65px}
.picture-cloud{position:absolute;width:114px;height:33px;background:#fffdf5;border-radius:100px;box-shadow:0 7px 18px rgba(81,98,96,.05);z-index:-1}
.picture-cloud:before,.picture-cloud:after{content:"";position:absolute;background:inherit;border-radius:50%}
.picture-cloud:before{width:53px;height:53px;left:18px;bottom:1px}
.picture-cloud:after{width:59px;height:59px;right:16px;bottom:0}
.cloud-a{top:65px;right:18%;transform:scale(.9)}
.cloud-b{top:42px;left:13%;transform:scale(.55);opacity:.8}
.landscape{position:absolute;left:-8%;width:116%;border-radius:50% 50% 0 0 / 60% 60% 0 0;z-index:0}
.hill-back{height:210px;bottom:-100px;background:#dfe9d3;transform:rotate(7deg)}
.hill-front{height:204px;bottom:-118px;background:#a9c7a9;transform:rotate(-6deg)}
.hill-close{height:156px;bottom:-108px;background:#83ab96;transform:rotate(6deg)}
.picture-character{position:absolute;z-index:2;left:50%;bottom:34px;width:clamp(190px,23vw,265px);height:auto;transform:translateX(-50%);filter:drop-shadow(0 14px 10px rgba(38,55,82,.11));animation:character-breathe 4s ease-in-out infinite;transform-origin:center bottom}
.floating-note{position:absolute;width:34px;height:34px;color:var(--coral);z-index:3;animation:note-float 3.5s ease-in-out infinite}
.note-a{left:26%;top:34%;transform:rotate(-15deg)}
.note-b{right:25%;top:32%;width:28px;color:#7e8fb9;animation-delay:-1.4s}
.note-c{right:34%;top:18%;width:19px;color:#d4a762;animation-delay:-2.5s}
.grass-sprig{position:absolute;bottom:25px;z-index:2;width:34px;height:50px;border-left:3px solid #598b72;transform:rotate(-12deg)}
.grass-sprig:before,.grass-sprig:after{content:"";position:absolute;width:22px;height:10px;border-radius:100% 0 100% 0;background:#598b72}
.grass-sprig:before{left:-22px;top:22px;transform:rotate(-17deg)}
.grass-sprig:after{left:1px;top:10px;transform:rotate(34deg)}
.sprig-left{left:15%}.sprig-right{right:13%;transform:scale(.75) rotate(10deg)}

.story-actions{max-width:560px;margin:18px auto 0;display:flex;flex-direction:column;align-items:center;gap:13px;text-align:center}
.story-actions--capture{margin-top:7px}
.big-button{min-height:62px;min-width:min(100%,310px);border:0;border-radius:100px;padding:11px 24px;display:inline-flex;justify-content:center;align-items:center;gap:12px;font-size:18px;font-weight:800;line-height:1.15;box-shadow:0 5px 0 #87382e,0 10px 18px rgba(169,87,72,.12);transition:transform .16s,box-shadow .16s,background .16s}
.big-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 7px 0 #87382e,0 13px 18px rgba(169,87,72,.13)}
.big-button:active:not(:disabled){transform:translateY(4px);box-shadow:0 1px 0 #87382e}
.button-coral{background:#b85446;color:#fff}
.button-coral:hover:not(:disabled){background:#a74639}
.button-icon{display:inline-grid;place-items:center;font-size:20px;font-weight:800}
.button-arrow{font-size:24px;font-weight:500;margin-left:4px}
.action-hint{font-size:13px;color:var(--muted);margin:1px 0;line-height:1.4}
.capture-meter{width:145px;height:32px;display:flex;align-items:center;justify-content:center;gap:5px;margin:-11px auto 0;opacity:.6}
.capture-meter span{width:6px;height:8px;background:#8eb5a2;border-radius:99px;transform-origin:center;transition:height .14s}
.capture-meter span:nth-child(2n){height:16px}.capture-meter span:nth-child(3n){height:23px}
.capture-meter.is-recording{opacity:1}
.sample-trail{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:17px;flex-wrap:wrap;margin:33px auto 0;padding:22px 0 0;max-width:780px}
.sample-trail__intro{color:var(--muted);font-size:13px}
.sample-trail__buttons{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.sample-link{border:0;background:none;padding:10px 2px;display:inline-flex;align-items:center;gap:7px;color:#416d5b;font-size:14px;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.sample-link span:first-child{font-size:20px;text-decoration:none}
.sample-link:hover{color:#1c4d3b}

.picture--contour{height:290px;max-width:900px}
.picture--contour .hill-front{bottom:-147px}
.contour-area{position:absolute;z-index:2;top:27px;left:9%;right:9%;height:190px;border:2px solid var(--ink);border-radius:26px;background:#fffdf4;box-shadow:0 9px 0 rgba(38,55,82,.09);padding:15px 28px 16px;text-align:center;overflow:hidden}
.contour-area:after{content:"";position:absolute;z-index:-1;inset:44px 0 15px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 29px,rgba(119,157,138,.16) 30px,transparent 31px)}
.contour-area svg{display:block;width:100%;height:103px;overflow:visible}
.contour-caption,.contour-summary{font-size:13px;line-height:1.3;color:#688175;margin:0 0 5px}
.contour-summary{margin-top:1px}
.picture-character--tiny{width:102px;bottom:0;left:79%}
.listening-pair{display:flex;gap:11px;align-items:center;justify-content:center;flex-wrap:wrap}
.listen-button{min-height:52px;min-width:138px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:2px solid var(--ink);border-radius:99px;background:#fffdf5;padding:9px 17px;font-size:14px;font-weight:750;box-shadow:0 3px 0 rgba(38,55,82,.13)}
.listen-button:hover{background:#fff3d9}
.listen-button span:first-child{color:var(--coral);font-size:17px}
.quiet-button{border:0;background:none;color:#486d62;padding:11px 18px;min-height:46px;font-weight:730;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.quiet-button:hover{color:#244e3e}

.mood-landscape{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;max-width:1000px;margin:34px auto 15px}
.mood-path{position:relative;height:255px;min-width:0;overflow:hidden;text-align:left;border:3px solid transparent;border-radius:34px 34px 36px 36px;background:#e1e2e9;padding:0;transition:transform .18s,border-color .18s,box-shadow .18s}
.mood-path:after{content:"";position:absolute;left:-20%;right:-20%;bottom:-100px;height:200px;border-radius:50%;background:#9cbca9;transform:rotate(-4deg)}
.mood-path:hover{transform:translateY(-5px)}
.mood-path.is-selected,.mood-path[aria-pressed="true"]{border-color:var(--ink);box-shadow:0 7px 0 rgba(38,55,82,.13)}
.mood-path--gentle{background:#c7c9df}.mood-path--gentle:after{background:#969ebd}
.mood-path--bright{background:#fae6ab}.mood-path--bright:after{background:#9abf83}
.mood-path--adventure{background:#c8d8d4}.mood-path--adventure:after{background:#7a9ca5}
.mood-art{display:block;position:absolute;inset:0;overflow:hidden}
.mood-moon{position:absolute;width:91px;height:91px;top:30px;left:35px;border-radius:50%;background:#fff4cd;box-shadow:0 0 0 12px rgba(255,244,205,.13)}
.mood-moon:after{content:"";position:absolute;left:29px;top:-17px;width:86px;height:89px;border-radius:50%;background:#c7c9df}
.mood-stars{position:absolute;top:46px;right:27px;font-size:32px;letter-spacing:14px;color:#fff6d4;transform:rotate(-10deg)}
.mood-sun{position:absolute;width:93px;height:93px;top:34px;left:calc(50% - 46px);background:#f8b966;border-radius:50%;box-shadow:0 0 0 10px rgba(248,185,102,.23)}
.mood-rays{position:absolute;right:27px;top:15px;color:#eaa363;font-size:38px}
.mood-mountain{position:absolute;left:25%;top:72px;width:135px;height:145px;background:#e7e4db;clip-path:polygon(50% 0,100% 100%,0 100%)}
.mood-mountain:after{content:"";position:absolute;left:43px;top:0;width:50px;height:53px;background:#fffefa;clip-path:polygon(50% 0,100% 100%,0 100%)}
.mood-flag{position:absolute;top:25px;left:calc(50% - 2px);color:var(--coral-dark);font-size:32px}
.mood-name{position:absolute;z-index:3;left:17px;bottom:15px;display:inline-flex;align-items:center;justify-content:center;min-height:43px;max-width:calc(100% - 30px);padding:8px 15px;border-radius:100px;background:#fffdf4;font-size:16px;font-weight:820;white-space:nowrap;box-shadow:0 3px 0 rgba(38,55,82,.08)}
.mood-indicator{position:absolute;z-index:4;right:17px;top:16px;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:var(--ink);color:white;opacity:0;font-weight:800}
.mood-path.is-selected .mood-indicator,.mood-path[aria-pressed="true"] .mood-indicator{opacity:1}

.picture--wait{margin-top:20px}
.picture--wait .picture-character{animation:character-breathe 2.2s ease-in-out infinite}
.growing-note{position:absolute;z-index:4;color:var(--coral);font-size:35px;top:36%;left:32%;animation:note-float 2.3s ease-in-out infinite}
.growing-note--two{top:23%;left:65%;color:#6678aa;animation-delay:-.8s}
.growing-note--three{top:16%;left:43%;color:#d6aa66;animation-delay:-1.5s}
.wait-progress{display:flex;align-items:center;gap:11px;color:#446f5b;font-weight:760;font-size:16px}
.wait-progress__dots{display:flex;gap:4px;align-items:center}
.wait-progress__dots i{width:8px;height:8px;border-radius:50%;background:var(--coral);animation:dot-bounce 1s ease-in-out infinite}
.wait-progress__dots i:nth-child(2){animation-delay:.18s}.wait-progress__dots i:nth-child(3){animation-delay:.36s}

.story-copy--listen h1{font-size:clamp(36px,4.6vw,58px)}
.music-theater{position:relative;height:clamp(300px,40vw,460px);max-width:1050px;margin:26px auto 0;border-radius:33px 33px 20px 20px;overflow:hidden;background:linear-gradient(#e0e3ed 0%,#f6eac8 65%,#dbebd5 100%);isolation:isolate;border:2px solid rgba(38,55,82,.2);box-shadow:0 11px 0 rgba(38,55,82,.08)}
.theater-sun{position:absolute;top:37px;right:17%;width:87px;height:87px;border-radius:50%;background:#ffda95;opacity:.85}
.theater-hill{position:absolute;left:-9%;width:118%;border-radius:50% 50% 0 0/60% 60% 0 0}
.theater-hill--back{height:260px;bottom:-130px;background:#b9cdb9;transform:rotate(-5deg)}
.theater-hill--front{height:230px;bottom:-148px;background:#8db39c;transform:rotate(7deg)}
.music-theater,.theater-sun,.theater-hill{transition:background .7s ease,filter .7s ease,transform .7s ease,box-shadow .7s ease}
.music-theater[data-place="gentle"]{background:linear-gradient(#b8bdd7 0%,#d9d9e7 55%,#eceadf 100%)}
.music-theater[data-place="gentle"]:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 14% 18%,#fff6d8 0 2px,transparent 3px),radial-gradient(circle at 64% 20%,#fff6d8 0 3px,transparent 4px),radial-gradient(circle at 83% 41%,#fff6d8 0 2px,transparent 3px),radial-gradient(circle at 42% 35%,#fff6d8 0 2px,transparent 3px);opacity:.8}
.music-theater[data-place="gentle"] .theater-sun{background:#fff1c7;box-shadow:0 0 0 11px rgba(255,244,208,.13);opacity:1}
.music-theater[data-place="gentle"] .theater-sun:after{content:"";position:absolute;left:31px;top:-18px;width:87px;height:87px;border-radius:50%;background:#b8bdd7}
.music-theater[data-place="gentle"] .theater-hill--back{background:#a9b1ce}
.music-theater[data-place="gentle"] .theater-hill--front{background:#828fae}
.music-theater[data-place="bright"]{background:linear-gradient(#f8e2a9 0%,#fff0c2 62%,#e6efd0 100%)}
.music-theater[data-place="bright"] .theater-sun{background:#f9ba69;box-shadow:0 0 0 13px rgba(249,186,105,.26),0 0 0 26px rgba(249,186,105,.11);opacity:1}
.music-theater[data-place="bright"] .theater-hill--back{background:#bdd69c}
.music-theater[data-place="bright"] .theater-hill--front{background:#90bb80}
.music-theater[data-place="adventure"]{background:linear-gradient(#abcad0 0%,#d0e3de 54%,#e9ead5 100%)}
.music-theater[data-place="adventure"] .theater-sun{background:#fff4dc;box-shadow:0 0 0 10px rgba(255,255,242,.16);opacity:.8}
.music-theater[data-place="adventure"] .theater-hill--back{background:#9bb8bd;border-radius:0;clip-path:polygon(0 100%,0 73%,10% 45%,20% 70%,37% 8%,53% 70%,66% 31%,83% 67%,100% 30%,100% 100%);bottom:-60px;height:250px}
.music-theater[data-place="adventure"] .theater-hill--front{background:#739ca3}
.music-theater[data-place="adventure"]:after{content:"";position:absolute;z-index:1;right:22%;bottom:72px;width:106px;height:100px;background:#eef0df;clip-path:polygon(0 100%,0 45%,18% 45%,18% 20%,34% 20%,34% 46%,48% 46%,48% 4%,63% 4%,63% 46%,78% 46%,78% 23%,94% 23%,94% 46%,100% 46%,100% 100%);opacity:.77}
.music-theater[data-phase="variation"] .theater-sun{transform:translate(12px,-6px)}
.music-theater[data-phase="variation"] .theater-hill--front{filter:saturate(.9) brightness(1.06)}
.music-theater[data-phase="return"] .theater-sun{transform:translate(-4px,2px);filter:brightness(1.07)}
.music-theater[data-phase="return"] .theater-hill--front{filter:saturate(1.16)}
.music-theater #journey-svg{position:absolute;z-index:3;inset:14% 7% 12%;display:block;width:86%;height:74%;overflow:visible;pointer-events:none}
.theater-character{position:absolute;z-index:4;left:8%;bottom:7%;width:clamp(95px,12vw,160px);height:auto;filter:drop-shadow(0 9px 6px rgba(38,55,82,.1))}
.theater-caption{position:absolute;z-index:5;bottom:18px;right:22px;max-width:min(65%,420px);padding:11px 18px;border-radius:22px;background:#fffdf4;color:var(--ink);font-size:15px;font-weight:760;line-height:1.25;box-shadow:0 4px 0 rgba(38,55,82,.1)}
.music-theater.echo-found .theater-caption{background:#fff0c5;box-shadow:0 4px 0 rgba(38,55,82,.1),0 0 0 7px rgba(255,245,204,.22)}
.music-theater.echo-found .theater-caption:before,.music-theater.echo-found .theater-caption:after{content:"✦";color:#d77861;margin-right:6px;display:inline-block;animation:star-pop .6s ease-out both}
.music-theater.echo-found .theater-caption:after{margin:0 0 0 6px;animation-delay:.12s}
.music-theater.echo-found #journey-svg{filter:drop-shadow(0 0 6px rgba(255,240,180,.8))}
.chapter-now{display:flex;align-items:center;justify-content:center;gap:7px;max-width:730px;margin:24px auto 10px;padding:0 5px}
.chapter-button{border:0;background:transparent;min-height:48px;display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:50px;color:#67716e;font-size:13px;font-weight:780;white-space:nowrap}
.chapter-number{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#d5dfd2;color:#4f6957;font-weight:850}
.chapter-button.is-active,.chapter-button[aria-pressed="true"]{background:#e6eee0;color:#2e5545}
.chapter-button.is-active .chapter-number,.chapter-button[aria-pressed="true"] .chapter-number{background:#619174;color:white}
.playback-control{max-width:720px;display:flex;align-items:center;gap:28px;margin:13px auto 0}
.playback-control .big-button{min-width:236px}
.playback-timeline{display:flex;align-items:center;gap:10px;flex:1;min-width:110px}
.playback-rail{width:100%;height:9px;border-radius:50px;background:#d9e2d3;overflow:hidden}
.playback-fill{height:100%;width:0;background:var(--coral);border-radius:50px;transition:width .08s linear}
#time-label{display:none}
.echo-prompt{text-align:center;min-height:20px;margin:10px 0}
.echo-button{min-height:46px;padding:7px 18px;border:2px solid #dfab69;border-radius:50px;background:#fff2d7;color:#6d5a3e;font-size:14px;font-weight:750}
.echo-feedback{color:#416d5b;font-size:14px;font-weight:750;margin:7px 0 0}
.listen-bottom{max-width:950px;margin:29px auto 0;padding:24px 0;display:flex;align-items:end;justify-content:space-between;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-kicker{color:#6a8b77;margin:0 0 11px}
.instrument-controls{display:flex;flex-wrap:wrap;gap:8px}
.instrument-chip{min-height:51px;min-width:92px;display:flex;align-items:center;justify-content:center;gap:7px;border:2px solid #b6c9b4;border-radius:30px;background:#fffdf5;padding:8px 12px;font-size:14px;font-weight:780}
.instrument-chip span:first-child{font-size:19px;color:var(--coral-dark)}
.instrument-chip.is-selected,.instrument-chip[aria-pressed="true"]{border-color:#49745d;background:#e5efe2}
.next-trail{max-width:295px;min-width:245px;min-height:81px;border:0;border-radius:22px;background:#dfe8d3;display:flex;align-items:center;gap:12px;padding:12px 18px;text-align:left;box-shadow:0 4px 0 #b7c7b4}
.next-trail:hover{background:#d3e3c9}
.next-trail__icon{font-size:24px;color:#567f67}
.next-trail strong,.next-trail small{display:block}
.next-trail strong{font-size:15px}.next-trail small{font-size:11px;color:#60736a;margin-top:3px}
.next-trail>span:last-child{font-size:25px;margin-left:auto}
.start-over{display:block;margin:24px auto 0}

.echo-scene{position:relative;max-width:820px;height:175px;margin:20px auto 0;overflow:hidden}
.echo-scene>svg:first-child{position:absolute;inset:0;width:100%;height:100%}
.echo-character{position:absolute;left:14%;bottom:-13px;width:110px;height:auto}
.echo-star{position:absolute;right:14%;top:22%;color:#d5a971;font-size:40px;animation:note-float 4s ease-in-out infinite}
.compare-lead{display:flex;align-items:center;justify-content:center;gap:18px;margin:4px auto 31px;font-family:Georgia,serif;font-size:19px;font-weight:700}
.discovery-heading{max-width:950px;margin:0 auto 11px;display:flex;align-items:center;gap:9px;color:#487259;font-size:14px;font-weight:850;letter-spacing:.015em}
.discovery-heading__arrow{font-size:26px;color:var(--coral)}
.recommendations{max-width:950px;margin:0 auto;display:grid;gap:16px}
.recommendation,.discovery-card{border:2px solid #ccdaca;border-radius:28px;background:#fffdf5;padding:22px;min-width:0;box-shadow:0 5px 0 rgba(93,128,105,.11)}
.recommendation{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1fr);column-gap:27px;align-items:start}
.recommendation-art{grid-column:1;grid-row:1 / span 5;display:block;width:100%;height:220px;padding:14px;border:0;border-radius:23px;background:radial-gradient(circle at 74% 22%,#fff1c7 0 32px,transparent 33px),linear-gradient(160deg,#e3dfeb,#eaf0d9 70%);overflow:visible}
.recommendation>h2,.recommendation>.composer,.recommendation>.echo-question,.recommendation>.listen-button,.recommendation>.quiet-button{grid-column:2}
.recommendation>h2{font-family:Georgia,serif;font-size:clamp(23px,2.6vw,31px);line-height:1.1;margin:4px 0 6px}
.recommendation>.composer{margin:0 0 10px;color:#5c7b64;font-size:14px;font-weight:760}
.recommendation>.echo-question{font-size:15px;line-height:1.45;color:var(--ink);margin:0 0 14px}
.recommendation>.listen-button{justify-self:start}
.recommendation>.quiet-button{justify-self:start;margin-top:7px}
.recommendation h3,.discovery-card h3{font-family:Georgia,serif;font-size:clamp(21px,2.5vw,29px);line-height:1.15;margin:3px 0 8px}
.recommendation p,.discovery-card p{font-size:14px;line-height:1.5;color:var(--muted)}
.recommendation .work{font-weight:740;color:#51745d;margin:0 0 8px}
.recommendation .reason,.discovery-card .reason{margin:7px 0 11px;color:var(--ink);font-size:15px}
.recommendation .actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.recommendation button,.discovery-card button{min-height:50px;border:2px solid var(--ink);border-radius:99px;background:#fff7e6;padding:10px 18px;font-size:14px;font-weight:770}
.recommendation .mini-contour{width:100%;height:90px;margin:9px 0 14px;background:#e8f0e4;border-radius:16px}
.recommendation a,.discovery-card a{color:#466a58;text-decoration:underline;text-underline-offset:3px;font-size:13px;font-weight:650}
.story-actions--discover{margin-top:30px}
.picture--error .picture-character{filter:grayscale(.14) drop-shadow(0 12px 10px rgba(38,55,82,.1))}

.footer{min-height:58px;padding:16px 25px;border-top:1px solid rgba(38,55,82,.12);display:flex;align-items:center;justify-content:center;gap:10px;color:#778575;font-size:12px;text-align:center}
.footer-flower{color:var(--coral);font-size:16px}
.parent-dialog{width:min(570px,calc(100vw - 28px));max-height:min(85vh,850px);border:2px solid var(--ink);border-radius:22px;padding:24px 25px;background:var(--paper);color:var(--ink);box-shadow:0 15px 55px rgba(26,42,52,.22);overflow:auto}
.parent-dialog::backdrop{background:rgba(25,39,46,.48)}
.parent-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.parent-dialog h2{font-family:Georgia,serif;font-size:29px;margin:0}
.parent-dialog__close{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:27px;line-height:1}
.parent-dialog p{font-size:14px;line-height:1.7;color:#566273;margin:19px 0}
.parent-link{display:inline-flex;padding:12px 0;color:#4c755e;font-size:14px;font-weight:750}
.studio-accordion{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}
.studio-launch{border:1px solid #9db7a1;border-radius:16px;background:#e7f0e6;min-height:51px;padding:9px 13px;font-size:13px;font-weight:750;text-align:left}
.studio-launch span:first-child{color:var(--coral);margin-right:5px}.studio-launch span:last-child{margin-left:5px}
.studio-accordion audio{display:block;width:100%;margin-top:14px}.studio-accordion p{font-size:12px}

@keyframes character-breathe{50%{transform:translateX(-50%) translateY(-7px) rotate(-2deg)}}
@keyframes note-float{50%{translate:0 -12px}}
@keyframes dot-bounce{50%{transform:translateY(-5px);opacity:.55}}
@keyframes star-pop{0%{opacity:0;transform:scale(.3) rotate(-35deg)}75%{transform:scale(1.3) rotate(7deg)}100%{opacity:1;transform:scale(1)}}
@keyframes page-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:760px){
  .topbar-inner{height:67px;padding:0 18px}.brand{font-size:22px}.brand-seed{width:34px;height:34px}
  .topbar-actions{gap:11px}.grownup-trigger{font-size:12px}
  .story{padding:21px 18px 57px;min-height:calc(100vh - 125px)}
  .journey-progress{margin-bottom:28px}
  .story-copy h1{font-size:clamp(38px,7.8vw,53px)}
  .picture{height:320px}.picture--contour{height:270px}
  .mood-landscape{gap:10px}.mood-path{height:210px;border-radius:22px}.mood-name{font-size:12px;white-space:normal;bottom:11px;left:9px;padding:7px 10px}
  .mood-moon,.mood-sun{transform:scale(.74);transform-origin:top left}.mood-mountain{left:10%;transform:scale(.8)}
  .listen-bottom{align-items:stretch;flex-direction:column}.next-trail{max-width:100%}
  .playback-control{gap:14px}
}
@media(max-width:500px){
  .topbar-inner{height:64px;padding:0 15px}.brand{font-size:19px;gap:6px}.brand-seed{width:31px;height:31px}.brand-seed svg{width:24px}
  .topbar-actions{gap:5px}.language-switch{padding:2px}.lang-btn{min-height:32px;min-width:37px;padding:0 5px;font-size:11px}
  .grownup-trigger{max-width:92px;font-size:11px;line-height:1.1;text-align:right}
  .story{padding:19px 15px 54px}.journey-progress{margin-bottom:24px}.journey-progress__label{font-size:9px}
  .story-copy h1{font-size:clamp(37px,10.4vw,48px);letter-spacing:-.055em;line-height:1.02}
  .eyebrow{font-size:10px;margin-bottom:11px}.lede{font-size:15px;line-height:1.43;margin-top:12px}
  .picture{height:289px;margin-top:3px}.picture-sun{left:13%;top:27px;width:62px;height:62px}.cloud-a{right:7%;top:53px;transform:scale(.6)}.cloud-b{display:none}
  .picture-character{width:205px;bottom:31px}.note-a{left:14%;top:37%}.note-b{right:15%;top:35%}
  .hill-back{height:165px;bottom:-78px}.hill-front{height:161px;bottom:-99px}.hill-close{height:138px;bottom:-101px}
  .grass-sprig{display:none}
  .story-actions{margin-top:6px;gap:9px}.big-button{width:100%;min-height:59px;font-size:17px}
  .sample-trail{margin-top:22px;padding-top:17px;gap:3px}.sample-trail__intro{font-size:12px}.sample-trail__buttons{gap:16px}
  .picture--contour{height:240px;margin-top:12px}.contour-area{top:16px;left:1%;right:1%;height:183px;padding:13px 14px;border-radius:20px}.picture-character--tiny{width:77px;left:88%;bottom:-5px}
  .mood-landscape{grid-template-columns:1fr;gap:10px;margin:23px auto 18px}.mood-path{height:112px;border-radius:25px}.mood-path:after{height:105px;bottom:-70px}.mood-art{width:130px}.mood-name{left:135px;bottom:32px;font-size:15px;white-space:nowrap;background:none;box-shadow:none;padding:0;max-width:calc(100% - 165px)}
  .mood-moon{top:20px;left:24px;transform:scale(.65)}.mood-stars{top:18px;right:-5px;font-size:23px}.mood-sun{top:15px;left:32px;transform:scale(.7)}.mood-rays{top:1px;right:0}.mood-mountain{top:26px;left:5px;transform:scale(.53);transform-origin:top left}.mood-flag{top:0;left:69px}
  .picture--wait{height:300px}
  .music-theater{height:307px;border-radius:23px;margin-top:19px}.theater-sun{right:15%;top:25px;width:62px;height:62px}.theater-hill--back{height:190px;bottom:-103px}.theater-hill--front{height:178px;bottom:-118px}
  .music-theater #journey-svg{inset:13% 2% 14%;width:96%;height:73%}.theater-character{left:4%;bottom:8%;width:86px}.theater-caption{right:10px;bottom:11px;max-width:72%;padding:8px 11px;font-size:11px}
  .chapter-now{margin:18px auto 7px;gap:0;justify-content:space-between}.chapter-button{padding:6px 4px;font-size:10px;gap:4px;min-height:42px}.chapter-number{width:22px;height:22px;font-size:11px}
  .playback-control{flex-wrap:wrap;justify-content:center;gap:15px;margin-top:9px}.playback-control .big-button{width:100%;min-width:0}.playback-timeline{width:100%;padding:0 7px}
  .listen-bottom{margin-top:19px;padding:19px 0;gap:20px}.instrument-controls{gap:6px}.instrument-chip{flex:1;min-width:0;padding:5px;gap:3px;font-size:12px}.instrument-chip span:first-child{font-size:16px}
  .next-trail{min-width:0;width:100%;min-height:71px}
  .echo-scene{height:135px}.echo-character{width:78px}.compare-lead{font-size:16px;gap:11px}.compare-lead .listen-button{min-width:0;font-size:12px}
  .recommendation,.discovery-card{padding:16px;border-radius:22px}.story-actions--discover{margin-top:25px}
  .recommendation{display:block}.recommendation-art{height:155px;margin:0 0 15px;padding:9px}.recommendation>h2{margin:0 0 5px}
}
@media(max-width:360px){
  .grownup-trigger{min-width:39px;min-height:44px;text-align:center;text-decoration:none;font-size:22px}
  .grownup-trigger span{display:none}
  .grownup-trigger:after{content:"ⓘ"}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
