/* Design 12 - The Carvery: the menu's look, with a 3D spit you carve by moving the mouse over it. */
.hero { padding: 40px 0 70px; background: linear-gradient(180deg, var(--blue-l), #fff); }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
h1 { font-size: clamp(38px, 5.2vw, 72px); color: var(--blue); }
h1 em { font-style: normal; color: var(--red); }
.hero .lead { margin: 16px 0 0; max-width: 46ch; }
.rise { opacity: 0; animation: rise .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--d) * 110ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; } }

.stage-in { position: relative; height: min(70vh, 620px); padding: 0; overflow: hidden; background: radial-gradient(circle at 78% 45%, #3f8fdc, var(--blue) 46%, var(--blue-d)); }
.heater { position: absolute; right: 5%; top: 20%; bottom: 22%; width: 13%; display: grid; gap: 6px; padding: 8px; border-radius: 8px; background: #0c2f57; transform: perspective(600px) rotateY(-30deg); box-shadow: 0 0 90px 20px rgba(255, 122, 26, .55); }
.heater i { border-radius: 4px; background: linear-gradient(90deg, #ff3d00, #ffc21a, #ff3d00); animation: glow 1.8s ease-in-out infinite; }
.heater i:nth-child(2n) { animation-delay: -.7s; }
@keyframes glow { 50% { filter: brightness(1.35); } }
.hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 7px 16px; border-radius: 999px; background: #fff; color: var(--blue); font: 900 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: opacity .5s; }
.hint.done { opacity: 0; }

/* the pita that fills up as you carve: layers stack over each other */
.build { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; margin-top: 24px; padding: 16px; border: 2px solid var(--blue); border-radius: 14px; background: #fff; max-width: 520px; }
.build-pita { position: relative; aspect-ratio: 1; }
.build-pita img { position: absolute; inset: 0; margin: auto; filter: drop-shadow(0 6px 5px rgba(20, 35, 59, .25)); }
.l-pita { width: 100%; }
.l-meat { width: 72%; scale: var(--fill, 0); transition: scale .25s cubic-bezier(.2, .9, .3, 1.5); }
.l-x { scale: 0; opacity: 0; transition: scale .5s cubic-bezier(.2, .9, .3, 1.6), opacity .3s; }
.l-lettuce { width: 62%; translate: -10% -8%; } .l-tomato { width: 52%; translate: 12% 4%; transition-delay: .15s !important; }
.l-onion { width: 42%; translate: -6% 10%; transition-delay: .3s !important; } .l-tz { width: 34%; translate: 6% -10%; transition-delay: .45s !important; }
.build.ready .l-x { scale: 1; opacity: 1; }
.build.ready .build-pita { animation: wiggle .6s .8s; }
@keyframes wiggle { 30% { rotate: -6deg; } 60% { rotate: 5deg; } }
.progress { height: 14px; margin: 8px 0 6px; border-radius: 999px; background: var(--blue-l); border: 2px solid var(--blue); overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--pct, 0%); background: repeating-linear-gradient(45deg, var(--red) 0 10px, #f0504c 10px 20px); transition: width .2s; }
.count { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.build .btn { padding: 11px 16px; font-size: 13px; }
.build .btn:disabled { background: var(--blue-m); border-color: var(--blue-m); color: var(--blue-d); cursor: default; transform: none; box-shadow: none; }

.twocol { columns: 2 420px; column-gap: 44px; }
.twocol .mk-cat { break-inside: avoid; margin-bottom: 36px; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .stage { order: -1; }
  .stage-in { height: 420px; }
}
@media (max-width: 600px) { .build { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; } }
