/* Local visual refinement. Keep the existing artwork and editable photography separate. */
/* One continuous document: the completed table releases from sticky positioning
   into the brand story. Scrolling back restores the same scene without a reset. */
html { scroll-behavior:auto; }
.morning-stage { --handoff:0; }
.hero-heading { opacity:calc(1 - var(--handoff)); translate:0 calc(-28px * var(--handoff)); }
.table-world { translate:0 calc(-52px * var(--handoff)); scale:calc(1 - .04 * var(--handoff)); }
.play-zone,.recipe-steps,.site-header,.progress-line { opacity:calc(1 - var(--handoff)); }
.brand-pages { position:relative; }
.preview-note { padding:0 5vw 30px; }
.brand-opening { padding-top:45px; }
.no-motion .hero-heading,.no-motion .table-world { translate:none; scale:none; }
@media (prefers-reduced-motion:reduce) {
  .hero-heading,.table-world { translate:none; scale:none; }
}
@media (max-width:760px) {
  .brand-pages { margin-top:-30svh; }
  .brand-opening { padding-top:34px; }
  .preview-note { padding:0 6vw 30px; }
}
.language-switch button { min-width:44px; min-height:44px; }
.hero-heading h1 { white-space:pre-line; }
.milk-prop { right:27%; top:2%; width:17%; }
.pancake-stack .side-berries { inset:auto; left:-15%; top:0; width:130%; height:130%; opacity:0; }

/* Keep back and restart beside the main action, including on narrow touch screens. */
.play-zone { width:min(370px,92vw); min-width:0; }
.making-controls { display:grid; grid-template-columns:1fr 1.7fr 1fr; align-items:center; gap:8px; }
.making-controls button { min-width:0; min-height:44px; }
.making-controls .play-action { width:100%; padding:9px 10px; gap:10px; }
.previous-step,.start-over { display:flex; align-items:center; justify-content:center; gap:5px; padding:6px 0; border:0; background:transparent; color:var(--red); font:12px/1.35 var(--body); }
.previous-step span:last-child,.start-over span:first-child { text-decoration:underline; text-underline-offset:4px; }
.previous-step:disabled { opacity:.4; }

/* The photo stays replaceable; the menu-inspired frame is an independent transparent layer. */
.menu-picture-frame { position:relative; width:100%; aspect-ratio:3/4; isolation:isolate; }
.product-photo .frame-photo {
  position:absolute; left:17.5%; top:16.5%; width:68%; height:71%!important;
  object-fit:cover;
}
.product-photo .frame-art {
  position:absolute; inset:0; width:100%; height:100%!important;
  object-fit:fill; background:transparent; pointer-events:none; z-index:1;
}

@media (min-width:1000px) {
  .table-world { left:68%; width:min(740px,61vw,calc((100svh - 190px)*1.4)); }
}

@media (max-width:760px) {
  .play-zone { bottom:130px; }
  .recipe-steps { bottom:66px; gap:8px; }
  .recipe-steps button { min-width:44px; padding-inline:0; }
  .language-switch { bottom:10px; }
  .brand-footer { padding-bottom:75px; }
  .milk-prop { top:5%; }
}

@media (max-width:760px) and (max-height:740px) {
  .hero-heading { top:100px; }
  .hero-heading .eyebrow { margin-bottom:12px; }
  .hero-heading h1, body[data-language=en] .hero-heading h1 { font-size:36px; line-height:1.1; }
  .table-world { top:34%; width:98vw; }
}
