/* Whole bakes at rest; their ingredients separate on hover, tap or keyboard. */
.hero-showcase { --bake-color: #dfbdeb; }
.hero-showcase[data-bake="rusk"] { --bake-color: #e6cb97; }
.hero-showcase[data-bake="cookie"] { --bake-color: #f1c7b4; }
.hero-showcase .hero-circle { background: var(--bake-color); transition: background .65s ease; }
.hero-reveal { position: absolute; inset: 0 0 76px; display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.hero-reveal:focus-visible { outline: 2px dashed var(--cocoa); outline-offset: 3px; border-radius: 48%; }
.hero-bake { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(28px) rotate(3deg); transition: opacity .55s ease, transform .65s ease, visibility .55s; pointer-events: none; }
.hero-bake.is-active { opacity: 1; visibility: visible; transform: translateX(0) rotate(0); }
.hero-whole, .hero-part { position: absolute; display: block; object-fit: contain; filter: drop-shadow(9px 17px 12px rgba(66,24,18,.13)); user-select: none; -webkit-user-drag: none; }
.hero-whole { left: 8%; top: 12%; width: 88%; height: 76%; transform: rotate(-6deg) scale(1); opacity: 1; transition: opacity .32s ease .12s, transform .7s cubic-bezier(.2,.65,.25,1); }
.hero-part { left: 16%; top: 35%; width: 76%; height: 31%; opacity: 0; transform: scale(.72) rotate(-6deg); transition: opacity .3s ease, top .85s cubic-bezier(.2,.65,.25,1), transform .85s cubic-bezier(.2,.65,.25,1); }
.hero-part-top { z-index: 4; }
.hero-part-ingredient { z-index: 3; width: 57%; left: 26%; height: 24%; }
.hero-part-mix { z-index: 2; width: 61%; left: 24%; height: 25%; }
.hero-part-base { z-index: 1; }
.hero-showcase:is(.is-hovering,.is-exploded) .hero-whole { opacity: 0; transform: rotate(-6deg) scale(.8); transition-delay: 0s; }
.hero-showcase:is(.is-hovering,.is-exploded) .hero-part { opacity: 1; transform: scale(1) rotate(-6deg); transition-delay: .08s; }
.hero-showcase:is(.is-hovering,.is-exploded) .hero-part-top { top: -2%; }
.hero-showcase:is(.is-hovering,.is-exploded) .hero-part-ingredient { top: 25%; transform: rotate(4deg); }
.hero-showcase:is(.is-hovering,.is-exploded) .hero-part-mix { top: 45%; transform: rotate(-3deg); }
.hero-showcase:is(.is-hovering,.is-exploded) .hero-part-base { top: 67%; }
.hero-showcase .hero-annotation { pointer-events: none; transition: transform .5s ease; }
.hero-showcase .annotation-top { top: 6%; left: 0; }
.hero-showcase .annotation-top > [data-hero-top], .hero-showcase .annotation-bottom > [data-hero-bottom] { display: inline; font: inherit; margin: 0; transform: none; }
.hero-showcase .annotation-bottom { bottom: 21%; right: -3%; }
.hero-showcase:is(.is-hovering,.is-exploded) .annotation-bottom { transform: translateY(35px) rotate(8deg); }
.hero-showcase .hero-home-label { pointer-events: none; }
.hero-instruction { position: absolute; bottom: 62px; left: 0; width: 100%; margin: 0; text-align: center; font-size: 10px; color: var(--cocoa-soft); letter-spacing: .03em; pointer-events: none; }
.hero-touch-hint { display: none; }
.hero-browse { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid rgba(66,24,18,.17); border-radius: 40px; background: rgba(255,248,238,.88); white-space: nowrap; }
.hero-bake-choices { display: flex; align-items: center; gap: 2px; }
.hero-bake-choices button, .hero-step, .hero-autoplay { display: grid; place-items: center; min-height: 35px; border: 0; color: var(--cocoa); background: transparent; cursor: pointer; border-radius: 24px; transition: color .2s, background .2s; }
.hero-bake-choices button { padding: 8px 12px; font: 600 11px var(--body); }
.hero-bake-choices button[aria-pressed="true"] { background: var(--cocoa); color: var(--cream); }
.hero-bake-choices button:hover:not([aria-pressed="true"]), .hero-step:hover, .hero-autoplay:hover { background: #efdfd4; }
.hero-step, .hero-autoplay { width: 30px; padding: 0; flex-shrink: 0; }
.hero-autoplay { border-left: 1px solid rgba(66,24,18,.17); border-radius: 0 20px 20px 0; width: 26px; font-size: 12px; }
.hero-browse button:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 2px; }
@media (max-width: 1100px) and (min-width: 641px) {
  .hero-browse { gap: 3px; padding-inline: 5px; }
  .hero-bake-choices button { padding-inline: 9px; font-size: 10px; }
  .hero-step { width: 25px; }
}
@media (max-width: 640px) {
  .hero-showcase { height: 470px; }
  .hero-showcase .hero-circle { top: 9%; }
  .hero-reveal { bottom: 80px; }
  .hero-whole { left: 6%; top: 12%; width: 88%; height: 76%; }
  .hero-part { left: 15%; width: 72%; height: 30%; }
  .hero-part-ingredient { left: 23%; width: 57%; height: 24%; }
  .hero-part-mix { left: 22%; width: 60%; height: 25%; }
  .hero-showcase .annotation-top { left: 1%; top: 3%; }
  .hero-showcase .annotation-bottom { right: 0; bottom: 22%; }
  .hero-showcase .hero-home-label { right: 2%; }
  .hero-instruction { bottom: 65px; font-size: 9px; }
  .hero-browse { bottom: 8px; gap: 3px; padding: 6px; }
  .hero-bake-choices button { padding-inline: 10px; }
  .hero-step { width: 28px; }
}
@media (max-width: 370px) {
  .hero-showcase { height: 430px; }
  .hero-bake-choices button { padding-inline: 7px; font-size: 10px; }
  .hero-step { width: 25px; }
}
@media (hover: none) {
  .hero-hover-hint { display: none; }
  .hero-touch-hint { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-showcase *, .hero-showcase *::before { transition: none !important; animation: none !important; }
}
