/* Allison's golden-hour kitchen. Existing recipe content remains the book's heart. */
.cover-view{background:#b59369 url('assets/allisons-kitchen.webp') center center/cover fixed no-repeat}.cover-view #header{max-width:none;background:#fff8e8eb;box-shadow:0 2px 25px #30210e22}.cover-view #main{max-width:1600px}.cover-stage{min-height:calc(100svh - 170px);gap:7%;padding:30px 5%}.cover-intro{background:#fff4deed;padding:36px 38px 30px;max-width:430px;transform:rotate(-2deg);box-shadow:0 12px 35px #35221040;border:1px solid #fff9e9;position:relative}.cover-intro:before{content:'';position:absolute;top:-14px;left:calc(50% - 48px);width:96px;height:30px;background:#cba26ba6;transform:rotate(5deg);backdrop-filter:blur(4px)}.cover-intro h2{font-size:clamp(3rem,4.6vw,4.7rem)}.cover-intro>p{margin-bottom:18px}.cover-intro .handwritten{font-size:25px}.cover-footer{background:#fff4e5ed;border-radius:6px;padding:14px 22px;gap:15px}.closed-book-wrap{filter:drop-shadow(12px 25px 18px #20150660);animation:book-breathe 7s ease-in-out infinite}.closed-book{overflow:hidden}.closed-book:after{content:'';position:absolute;inset:-100%;background:linear-gradient(110deg,transparent 42%,#ffedb122 49%,transparent 56%);animation:gold-glance 10s ease-in-out infinite;pointer-events:none}.cover-ornament{animation:ornament-glow 4s ease-in-out infinite}.open-hint{background:#fff4e5f5;border-radius:30px;padding:10px 15px;width:max-content;max-width:100%;margin:40px auto 0;box-shadow:0 4px 15px #24180d33}.cover-ribbon{animation:ribbon-sway 5s ease-in-out infinite;transform-origin:top}.table-light{background:radial-gradient(ellipse at 15% 0%,#ffedb344,transparent 65%);animation:sunlight 9s ease-in-out infinite}.kitchen-motes{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}.kitchen-motes i{position:absolute;left:var(--x);top:var(--y);width:4px;height:4px;border-radius:50%;background:#fff1b4;box-shadow:0 0 10px #ffe9a5;animation:mote-rise var(--duration) var(--delay) ease-in-out infinite}
.book-spread{box-shadow:0 30px 70px #4b321d2c,0 4px 0 #d0bea0,0 8px 0 #f4ead5,0 11px 0 #c5b699;border-radius:4px 16px 16px 4px;isolation:isolate}.story-page{background:radial-gradient(ellipse at 25% 20%,#fffcf4 0,transparent 60%),linear-gradient(90deg,#faf4e7 85%,#e5d7bd)}.kitchen-page{background:linear-gradient(90deg,#ded0b5,#faf4e7 6%,#fff9ee 95%,#e9dec9)}.book-recipe-tabs button{transition:transform .25s,background .25s}.book-recipe-tabs button:hover{transform:translateY(-4px)}.living-scene{position:relative;border-radius:45% 45% 10px 10px;background:radial-gradient(ellipse at 50% 55%,#e4bd7040,transparent 65%)}.illustration{position:relative;overflow:hidden;isolation:isolate}.illustration>img{transform:rotate(var(--stir,0deg));transition:transform .35s ease;filter:drop-shadow(0 13px 12px #67513020);animation:dish-breathe 6s ease-in-out infinite}.kitchen-touch{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;z-index:2}.magic-spoon{position:absolute;z-index:3;font-size:clamp(34px,6vw,54px);pointer-events:none;opacity:0;transform:translate(-20%,-80%) rotate(var(--spoon-angle,-25deg));filter:drop-shadow(4px 8px 4px #432b1c45);transition:opacity .25s}.magic-spoon.shown{opacity:1}.kitchen-play{position:relative;margin:0 12px 12px;padding:16px 16px 12px;background:#fffaf0e6;border:1px solid #e1d4b7;border-radius:14px;box-shadow:0 4px 18px #79593310}.kitchen-play .eyebrow{font-size:9px;margin:0 0 4px}.play-instruction{font-family:var(--serif);font-size:23px;line-height:1.2;margin:0 0 12px}.play-buttons{display:flex;gap:7px}.play-buttons button{border-radius:30px;background:#f4ead7;min-height:44px;padding:9px 15px}.play-buttons button[aria-pressed=true]{color:#fff8e8;background:#425b47;border-color:#425b47;box-shadow:0 3px 0 #253d2b}.kitchen-play small{display:block;font-size:11px;margin-top:10px;line-height:1.5}.scene-tools{padding:0 12px 10px;flex-wrap:wrap}.scene-caption{font-size:24px}.scene-gesture{display:none}.scene-live{min-height:20px;font-size:12px;text-align:center;color:var(--copper)}.card-art{overflow:hidden;position:relative}.card-art img{transition:transform .6s,filter .6s}.card-art:hover img,.card-art:focus-visible img{transform:scale(1.045) rotate(-1deg);filter:drop-shadow(0 15px 10px #74502f33)}.recipe-card{transition:transform .35s,box-shadow .35s}.recipe-card:hover{transform:translateY(-5px);box-shadow:0 17px 30px #4c341c22}.ingredients label:has(input:checked){background:#d7e0cd55;border-radius:5px}.ingredients input:checked{animation:ingredient-pop .35s ease}.cook-shell{position:relative;overflow:hidden;border-top:5px solid #b38a54}.cook-progress button.current{box-shadow:0 0 0 6px #bb985222;animation:ornament-glow 3s ease-in-out infinite}.plating-reveal{position:relative;isolation:isolate}.plating-reveal>img{animation:plate-arrive 1.2s cubic-bezier(.2,.8,.2,1)}.kitchen-celebration{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3}.kitchen-celebration i{position:absolute;left:var(--x);top:-40px;color:#ba8c42;font-size:24px;font-style:normal;animation:table-confetti 3s var(--delay) ease-out both}.family-notes{transform:rotate(-.5deg);box-shadow:2px 5px 12px #4c341c12}
@keyframes book-breathe{50%{transform:translateY(-6px) rotate(.4deg)}}@keyframes gold-glance{0%,60%{transform:translateX(-30%)}100%{transform:translateX(35%)}}@keyframes ornament-glow{50%{filter:drop-shadow(0 0 8px #d9b974)}}@keyframes ribbon-sway{50%{transform:rotate(-2deg)}}@keyframes sunlight{50%{opacity:.45}}@keyframes mote-rise{0%,100%{transform:translate(0,20px);opacity:0}40%,65%{opacity:.75}90%{transform:translate(25px,-65px);opacity:0}}@keyframes dish-breathe{50%{filter:drop-shadow(0 17px 15px #67513035)}}@keyframes ingredient-pop{50%{transform:scale(1.2)}}@keyframes plate-arrive{from{opacity:0;transform:translateY(45px) scale(.88) rotate(-5deg)}to{opacity:1;transform:none}}@keyframes table-confetti{0%{opacity:0;transform:translateY(0) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translateY(500px) rotate(var(--twist))}}
@media(max-width:800px){.cover-stage{grid-template-columns:1fr;gap:18px;padding:24px 12px}.cover-intro{max-width:500px;margin:auto;padding:22px 28px;width:100%;text-align:center}.cover-intro h2{font-size:2.6rem;margin:8px 0 12px}.cover-intro h2 br{display:none}.cover-intro .eyebrow{max-width:none;margin-bottom:7px}.cover-intro>p{font-size:15px;margin-bottom:8px}.cover-intro>p br{display:none}.cover-intro .handwritten{font-size:21px}.closed-book-wrap{max-width:340px;padding:8px 0 25px}.closed-book{height:435px}.closed-book h1{font-size:3.15rem}.cover-small{margin-bottom:14px;font-size:8px}.cover-ornament{margin-bottom:10px}.cover-footer{flex-wrap:wrap;justify-content:center}.story-page{background:linear-gradient(90deg,#e8dcc6,#fff9ef 5%,#faf4e7 95%,#e8dcc6)}.book-spread{border-radius:2px 9px 9px 2px}.kitchen-page{border-top:1px dashed #c5b799}.cover-view{background-attachment:scroll;background-position:center top}}
@media(max-width:560px){#main{padding:12px 9px 125px}#header{padding:12px 14px;gap:8px}.cover-view #main{padding:8px 14px 20px}.cover-stage{padding:16px 4px;min-height:0}.cover-intro{padding:18px 20px}.cover-intro h2{font-size:2.2rem}.cover-intro .eyebrow{font-size:9px}.cover-intro>p{font-size:14px}.closed-book-wrap{width:82%;max-width:310px;margin:10px auto}.closed-book{height:390px;padding:24px 20px 22px 28px}.cover-border{padding:12px 8px}.closed-book h1{font-size:2.7rem;margin-bottom:17px}.cover-ornament{font-size:23px}.cover-rule{margin-bottom:17px}.cover-subtitle{font-size:16px}.cover-bottom{font-size:7px}.cover-small{font-size:7px;letter-spacing:.16em}.open-hint{margin-top:31px;font-size:12px}.cover-footer{font-size:11px;padding:12px}.recipe-heading h1{font-size:2.45rem;line-height:1.02;margin-bottom:12px}.book-page{padding:24px 20px}.story-page>.eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:10px}.recipe-description{font-size:18px;line-height:1.4;margin-bottom:12px}.recipe-facts{gap:8px;font-size:10px}.living-scene{margin:10px -15px 8px;width:calc(100% + 30px)}.illustration>img{width:100%;max-height:290px;object-fit:contain}.kitchen-play{margin:0 8px 8px;padding:12px}.play-instruction{font-size:21px}.play-buttons button{font-size:12px;padding:9px 13px}.scene-caption{font-size:20px}.story-actions .primary{flex:1}.recipe-navigation{margin-bottom:10px}.book-recipe-tabs button{padding:8px 5px;min-height:44px}.cook-shell{margin-top:0}.cook-step h1{font-size:2.4rem}.cook-step>p{font-size:21px}.collection{padding:26px 18px}.collection-top h1{font-size:2.9rem}}
.calm .closed-book-wrap,.calm .closed-book:after,.calm .cover-ornament,.calm .cover-ribbon,.calm .table-light,.calm .kitchen-motes i,.calm .illustration>img,.calm .ingredients input,.calm .cook-progress button,.calm .plating-reveal>img,.calm .kitchen-celebration i{animation:none!important}.calm .kitchen-motes,.calm .kitchen-celebration{display:none}.calm .illustration>img{transition:none}
@media(prefers-reduced-motion:reduce){.kitchen-motes,.kitchen-celebration{display:none}*{animation:none!important;transition:none!important}}
@media print{.kitchen-play,.kitchen-touch,.magic-spoon,.kitchen-motes,.kitchen-celebration{display:none!important}.book-spread,.family-notes{box-shadow:none;transform:none}.cover-view{background:white}}
.scene-canvas:not([hidden])~.scene-tools .scene-gesture{display:inline-flex}.living-scene.offscreen .illustration>img{animation-play-state:paused}
/* The family's supplied living meal films replace the procedural models. */
.meal-film{border-radius:12px;background:none;overflow:hidden}.meal-video{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#faf1dc;border-radius:12px;box-shadow:0 10px 28px #72502b18}.meal-film .scene-tools{padding:14px 10px 2px}.video-fallback{font-size:14px;padding:12px}.plating-reveal .meal-video{max-width:720px;margin:20px auto}.meal-video:focus-visible{outline:3px solid var(--copper);outline-offset:3px}@media print{.meal-video{display:none}}
