/* Generated storybook imagery · original AI learning forest, informed by the REA layout study. */
:root{--color-forest:oklch(31% .065 155);--color-forest-deep:oklch(24% .05 155);--color-parchment:oklch(97% .028 90);--color-gold:oklch(85% .15 85);--color-wood:oklch(48% .07 65);--color-forest-shadow:oklch(15% .035 155 / .3);--color-parchment-soft:oklch(97% .028 90 / .96)}
body.forest-theme{background:var(--color-forest) url('assets/generated/forest-hero.webp') center center/cover fixed no-repeat;color:var(--color-forest-deep)}
.forest-theme #shell{min-height:100svh;padding-top:12px}.forest-theme .topbar{position:relative;z-index:2;min-height:72px;width:calc(100% - 32px);max-width:1440px;padding:10px 24px;background:var(--color-parchment);border:3px solid var(--color-forest);border-radius:24px;box-shadow:0 5px 0 var(--color-forest-shadow)}
.forest-theme .brand-symbol{background:var(--color-gold);border-color:var(--color-forest)}.forest-theme .brand strong{font-family:var(--font-display);font-size:1.3rem;font-weight:400}.forest-theme .topbar nav{gap:8px}.forest-theme .nav-link{padding:8px 12px;border:1px solid var(--color-rule);border-radius:12px;background:var(--color-paper);font-size:.82rem}.forest-theme .nav-link:hover{background:var(--color-mint);color:var(--color-forest);text-decoration:none}
.landing-stage{max-width:1440px;min-height:calc(100svh - 96px);margin:auto;position:relative;display:flex;align-items:center;padding:40px clamp(24px,6vw,96px)}
.landing-copy{max-width:550px;padding:32px 36px 28px;background:var(--color-parchment-soft);border:3px solid var(--color-forest);border-radius:30px;box-shadow:0 8px 0 var(--color-forest-shadow)}
.landing-kicker{font-size:.83rem;font-weight:800;color:var(--color-green);letter-spacing:.04em;margin-bottom:16px}.landing-copy h1{font-family:var(--font-display);font-size:clamp(2.7rem,5vw,5rem);line-height:1.1;font-weight:400;letter-spacing:-.04em;color:var(--color-forest)}.landing-copy h1 span{color:var(--color-green)}.landing-description{font-size:1.07rem;margin-top:20px;font-weight:700;line-height:1.8}.landing-copy .grade-select{margin-top:20px}.landing-copy .grade-select button{background:var(--color-parchment);color:var(--color-forest);border:2px solid var(--color-forest)}.landing-copy .grade-select button[aria-pressed=true]{background:var(--color-forest);color:var(--color-paper)}.landing-copy .hero-actions{margin-top:24px}.landing-note{font-size:.74rem;margin-top:20px;color:var(--color-muted)}.expedition-start{font-size:1.15rem;font-family:var(--font-display);font-weight:400;padding:12px 26px}.forest-guide-note{position:absolute;right:6%;bottom:32px;background:var(--color-parchment);border:3px solid var(--color-forest);padding:14px 24px;border-radius:24px;text-align:center;box-shadow:0 4px 0 var(--color-forest-shadow)}.forest-guide-note span{display:block;font-size:.7rem;font-weight:700}.forest-guide-note strong{font-family:var(--font-display);font-size:1.15rem;font-weight:400;line-height:1.5;display:block;margin-top:4px}
.forest-theme .journey{background:var(--color-parchment);border:3px solid var(--color-forest);border-radius:28px;margin:28px auto 48px;width:calc(100% - 40px);padding:36px;box-shadow:0 6px 0 var(--color-forest-shadow)}.forest-theme .section-heading h2{font-family:var(--font-display);font-weight:400}.illustrated-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.journey-tile{position:relative;padding:0;overflow:clip;text-align:left;border:2px solid var(--color-forest);border-radius:20px;background:var(--color-surface);color:var(--color-forest-deep);box-shadow:0 4px 0 var(--color-forest-shadow);transition:transform var(--dur-fast) var(--ease-out)}.journey-tile:hover{transform:translateY(-3px)}.journey-tile>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block}.journey-number{position:absolute;left:12px;top:12px;width:36px;height:36px;display:grid;place-items:center;border:2px solid var(--color-forest);border-radius:50%;background:var(--color-gold);font-weight:800}.journey-copy{display:block;padding:18px}.journey-copy small{font-size:.72rem;color:var(--color-muted)}.journey-copy strong{display:block;font-size:1.08rem;font-family:var(--font-display);font-weight:400;margin:6px 0;line-height:1.5}.journey-copy>span{font-size:.76rem;font-weight:700}
.forest-theme[data-scene=activity] #main{padding:24px 20px 48px}.forest-theme[data-scene=activity] #main>.wrap{width:100%;max-width:1100px;background:var(--color-parchment);border:3px solid var(--color-forest);border-radius:26px;padding:28px 36px;box-shadow:0 6px 0 var(--color-forest-shadow)}
.forest-theme .mission-screen .story-header h1{font-family:var(--font-display);font-weight:400;font-size:clamp(1.65rem,3vw,2.35rem)}.forest-theme .mission-screen .story{font-size:1.02rem;padding:12px 0;background:var(--color-transparent);border:0}.forest-theme .mission-screen .question-title{font-family:var(--font-display);font-weight:400;font-size:1.3rem}.forest-theme .path-head{background:var(--color-forest);color:var(--color-paper);border-radius:16px;padding:10px 16px}.forest-theme .path-head .back{background:var(--color-parchment);color:var(--color-forest);border-color:var(--color-parchment)}.forest-theme .progress{background:var(--color-wood)}.forest-theme .progress>span{background:var(--color-gold)}
.forest-theme .picture-choices{gap:24px}.forest-theme .picture-choice{padding:8px;border:3px solid var(--color-forest);border-radius:22px;background:var(--color-surface);box-shadow:0 4px 0 var(--color-forest-shadow)}.forest-theme .generated-scene{display:block;object-fit:cover;aspect-ratio:3/2;width:100%;height:auto;border-radius:14px}.forest-theme .picture-choice .letter{left:18px;top:18px;background:var(--color-parchment);color:var(--color-forest);border-color:var(--color-forest)}.forest-theme .picture-choice[aria-checked=true],.forest-theme .picture-choice[aria-pressed=true]{border-color:var(--color-forest);background:var(--color-gold);box-shadow:0 6px 0 var(--color-wood)}.forest-theme .picture-choice[aria-checked=true] .letter,.forest-theme .picture-choice[aria-pressed=true] .letter{background:var(--color-forest);color:var(--color-paper)}.forest-theme .choice-copy{padding:14px 10px 12px}.forest-theme .choice-copy strong{font-family:var(--font-display);font-weight:400;font-size:1.3rem}.forest-theme .choice-copy small{font-size:.88rem}.forest-theme .perspective{border:2px solid var(--color-forest)}.forest-theme .perspective strong{font-family:var(--font-display);font-weight:400;font-size:1rem}
.forest-theme footer{width:calc(100% - 40px);max-width:1240px;margin:24px auto;background:var(--color-parchment);border:2px solid var(--color-forest);border-radius:24px;padding:24px 32px}.forest-theme footer>p{font-family:var(--font-display);font-weight:400}.forest-theme .screen-title h1,.forest-theme .result-hero h1{font-family:var(--font-display);font-weight:400}.forest-theme .field-label{color:var(--color-forest)}
@media(max-width:60rem){.landing-stage{padding:28px;min-height:720px;align-items:flex-start}.landing-copy{max-width:470px}.forest-guide-note{right:24px;bottom:24px}.illustrated-journey{grid-template-columns:repeat(2,minmax(0,1fr))}.forest-theme .topbar{padding:10px 16px}.forest-theme .topbar nav{gap:4px}.forest-theme .nav-link{font-size:.75rem;padding:7px 9px}}
@media(max-width:40rem){body.forest-theme{background-position:64% top;background-attachment:scroll;background-size:auto 100svh}.forest-theme .topbar{width:calc(100% - 16px);border-radius:18px;gap:8px}.forest-theme .topbar nav{width:100%;gap:5px}.forest-theme .nav-link{font-size:.7rem;padding:6px 8px;min-height:38px}.forest-theme .sound{font-size:.66rem;min-height:38px}.forest-theme .brand{width:auto}.landing-stage{padding:28px 16px 160px;min-height:calc(100svh - 130px);align-items:flex-start}.landing-copy{width:100%;padding:24px;border-radius:24px;background:var(--color-parchment-soft)}.landing-copy h1{font-size:clamp(2.5rem,10vw,3.5rem)}.landing-description{font-size:.95rem;margin-top:16px}.landing-copy .hero-actions{gap:12px}.landing-copy .btn{padding-inline:16px;font-size:1rem}.landing-note{font-size:.68rem}.forest-guide-note{right:16px;bottom:16px;padding:10px 18px}.forest-guide-note strong{font-size:1rem}.forest-theme .journey{width:calc(100% - 24px);padding:24px 18px}.illustrated-journey{gap:14px}.journey-copy{padding:12px}.journey-copy strong{font-size:.95rem}.journey-copy small{font-size:.65rem}.journey-copy>span{font-size:.65rem}.journey-number{width:28px;height:28px;left:8px;top:8px;font-size:.8rem}.forest-theme[data-scene=activity] #main{padding:16px 10px 28px}.forest-theme[data-scene=activity] #main>.wrap{padding:18px 14px;border-radius:20px}.forest-theme .path-head{padding:8px 10px;gap:10px}.forest-theme .path-info p{font-size:.7rem}.forest-theme .step-count{font-size:.75rem}.forest-theme .picture-choices{gap:12px}.forest-theme .picture-choice{padding:4px;border-width:2px;border-radius:16px}.forest-theme .generated-scene{border-radius:10px}.forest-theme .choice-copy{padding:12px 5px 10px}.forest-theme .choice-copy strong{font-size:1rem}.forest-theme .choice-copy small{font-size:.74rem;margin-top:7px}.forest-theme .picture-choice .letter{left:10px;top:10px;height:26px;width:26px;font-size:.7rem}.forest-theme footer{width:calc(100% - 24px);padding:24px}.forest-theme .mission-screen .story{font-size:.94rem}.forest-theme .mission-screen .question-title{font-size:1.15rem}}
@media(prefers-reduced-motion:reduce){.journey-tile{transition:none}.journey-tile:hover{transform:none}}
@media print{body.forest-theme{background:var(--color-white)}.forest-theme #shell{padding:0}.forest-theme[data-scene=activity] #main{padding:0}.forest-theme[data-scene=activity] #main>.wrap{border:0;border-radius:0;box-shadow:none;padding:0}.landing-stage,.illustrated-journey{display:none}.forest-theme footer,.forest-theme .topbar{display:none}}
