:root{--nav-height:84px}
:where(img[width="800"][height="800"]){height:auto}
.hero{overflow-x:clip}
.hero .hero-photo>img{object-position:center calc(var(--hero-image-position,46%) + var(--hero-background-y,0px))}
.product-hero{--hero-image-position:50%}
:where(.hero-pizza,.hero-script,.intro-paper,.ribbons>div){translate:var(--parallax-x,0px) var(--parallax-y,0px)}
.hero-pizza,.steps-pizza>img,.form-pizza{height:auto;aspect-ratio:1}
.scroll-scene{position:relative}
.track-window{min-width:0}
.sequence-footer{display:flex;align-items:center;gap:25px;margin-top:25px}
.sequence-footer .carousel-script{margin:0 auto 0 0}
.sequence-meter{display:none;flex:1;max-width:240px;height:2px;background:currentColor;position:relative;opacity:.8}
.sequence-meter>span{position:absolute;inset:-1px 0;height:4px;background:currentColor;transform:scaleX(var(--sequence-progress,0));transform-origin:left center}
.sequence-skip{font-size:10px;text-decoration:underline;text-underline-offset:5px;padding:12px 0;margin-left:auto}
.step-card{--card-tilt:2deg;--card-rise:0px;transform:translateY(var(--card-rise)) rotate(var(--card-tilt))!important}
.steps-pizza>img{transform:rotate(var(--process-rotation,-15deg))}
.header.is-scrolled{box-shadow:0 4px 16px #52121a0d}
.mega-menu:not([hidden]),.mobile-menu:not([hidden]){animation:menu-enter .28s cubic-bezier(.2,.7,.2,1)}
@keyframes menu-enter{from{opacity:0;translate:0 -12px}to{opacity:1;translate:0 0}}
.menu-wheel{height:clamp(780px,86vw,1220px);min-height:0;aspect-ratio:auto;padding:0;margin:20px 0 60px;overflow:clip;isolation:isolate}
.wheel-art{position:absolute;top:40px;left:50%;translate:-50% 0;width:min(90%,1140px);aspect-ratio:1/1;pointer-events:none}
.wheel-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(var(--wheel-ring-angle,30deg))}
.wheel-ring text{font:800 83px var(--heading);fill:var(--ink);letter-spacing:-2px}
.wheel-plate{fill:var(--pink)}
.wheel-checks{fill:none;stroke:var(--ink);stroke-width:23;stroke-dasharray:48 23}
.food-wheel{position:absolute;inset:14%;width:auto;height:auto;max-width:none;max-height:none;translate:none;margin:0;border:0;padding:0;border-radius:50%;overflow:hidden;background:var(--white);transform:rotate(var(--wheel-food-angle,15deg))}
.wheel-pizza,.wheel-pasta{inset:0;width:100%;height:100%;border-radius:0}
.wheel-pizza{object-fit:contain;clip-path:polygon(0 0,100% 0,100% 43%,0 67%)}
.wheel-pasta{object-fit:cover;object-position:center;clip-path:polygon(0 67%,100% 43%,100% 100%,0 100%)}
.wheel-seam{position:absolute;left:-5%;top:54%;width:110%;border-top:5px dashed var(--white);transform:rotate(-13.5deg)}
.wheel-ticket{width:clamp(250px,23vw,330px);z-index:2}
.pizza-ticket{top:38%;left:7%;bottom:auto;transform:translate(var(--pizza-ticket-x,0px),var(--pizza-ticket-y,0px)) rotate(-3deg)}
.pasta-ticket{top:38%;right:7%;bottom:auto;transform:translate(var(--pasta-ticket-x,0px),var(--pasta-ticket-y,0px)) rotate(var(--pasta-ticket-angle,4deg))}
.wheel-ticket h2{font-size:58px}
.wheel-ticket p{font-size:12px}
.wheel-ticket>.button{min-height:48px;font-size:20px}
.privacy-note{font-size:10px;text-align:left;margin:18px 0}
.privacy-note a,.legal-page a:not(.button){text-decoration:underline;text-underline-offset:3px}
.legal-page ul{padding-left:20px;line-height:1.8}
.legal-page li{margin-bottom:10px}
.legal-page .legal-status{padding:18px;border:1px solid currentColor;font-size:12px}
.legal-page dl{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:12px 20px;font-size:12px}
.legal-page dt{font-weight:bold}.legal-page dd{margin:0;overflow-wrap:anywhere}
.form-paper input::placeholder,.form-paper textarea::placeholder{color:#7d2027;opacity:.75}
.tempio-cursor{position:fixed;left:0;top:0;width:28px;height:28px;margin:-14px 0 0 -14px;border:1px solid var(--ink);border-radius:50%;background:#f3eee745;z-index:10000;pointer-events:none;opacity:0;display:grid;place-items:center;font-size:9px;white-space:nowrap;transition:width .2s,height .2s,margin .2s,background .2s,opacity .15s;box-shadow:0 0 0 1px #fff8}
.tempio-cursor.is-visible{opacity:1}.tempio-cursor.is-action{width:48px;height:48px;margin:-24px 0 0 -24px;background:#dfba703d}
.tempio-cursor.has-label{width:84px;height:84px;margin:-42px 0 0 -42px;background:var(--paper);color:var(--ink)}
.tempio-cursor.is-editing{opacity:0}
.button-word-clip{position:relative;display:block;overflow:hidden;line-height:1.25}
.button-word{display:block;transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.button-word+.button-word{position:absolute;inset:0;transform:translateY(120%)}
@media(hover:hover) and (pointer:fine){
 a.button,button.circle-button,button[data-pizza]{translate:var(--magnet-x,0px) var(--magnet-y,0px);transition:translate .16s ease-out,background .25s,box-shadow .25s}
 .button:hover .button-word:first-child{transform:translateY(-120%)}
 .button:hover .button-word+.button-word{transform:translateY(0)}
 .button:hover>span:last-child:not(:first-child){transition:transform .3s;transform:translate(2px,-2px)}
}
.button:focus-visible .button-word:first-child{transform:translateY(-120%)}
.button:focus-visible .button-word+.button-word{transform:translateY(0)}
/* A fine-pointer tablet/desktop can scrub the pizza row with native page scroll.
   Touch, reduced-motion and short viewports keep the normal horizontal carousel. */
@media(min-width:768px) and (min-height:760px){
 .pizza-scene.is-pinned{height:var(--scene-height,auto)}
 .pizza-scene.is-pinned>[data-scroll-stage]{position:sticky;top:var(--nav-height);height:calc(100svh - var(--nav-height));min-height:0;padding:clamp(20px,3vh,28px) var(--content-gutter,5.2vw);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:clamp(12px,1.8vh,20px);align-content:center;overflow:clip;contain:paint}
 .pizza-scene.is-pinned .carousel-heading{grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) auto 130px;gap:0 20px;min-height:0;align-items:center}
 .pizza-scene.is-pinned .carousel-heading>div{display:contents;width:auto}
 .pizza-scene.is-pinned .carousel-heading h2{grid-column:1/-1;font-size:clamp(40px,4.2vw,62px);max-width:100%;margin:0 0 12px}
 .pizza-scene.is-pinned .carousel-heading p{grid-column:1;font-size:11px;line-height:1.35;max-width:600px;margin:0}
 .pizza-scene.is-pinned .carousel-heading>.button{grid-column:2;grid-row:2;font-size:18px;min-height:44px;align-self:center}
 .pizza-scene.is-pinned .carousel-heading>.script{display:none}
 .pizza-scene.is-pinned .carousel-controls{grid-column:1;grid-row:1;position:static;justify-self:end;align-self:end;margin:0;z-index:2;gap:10px}
 .pizza-scene.is-pinned .track-window{grid-column:1;grid-row:2;width:100%;min-width:0;overflow:clip;margin:0}
 .pizza-scene.is-pinned .pizza-carousel{display:flex;width:max-content;max-width:none;overflow:visible;scroll-snap-type:none;scroll-behavior:auto;margin:0;padding:12px 10px 16px;gap:24px;will-change:transform;touch-action:pan-y}
 .pizza-scene.is-pinned .pizza-card{flex:0 0 clamp(250px,23vw,330px);min-width:0;max-width:none;padding:14px}
 .pizza-scene.is-pinned .pizza-card h3{font-size:36px;margin-bottom:12px}
 .pizza-scene.is-pinned .pizza-image{height:min(28vh,260px);aspect-ratio:auto;width:100%}
 .pizza-scene.is-pinned .pizza-image>img{height:100%;width:100%;object-fit:contain}
 .pizza-scene.is-pinned .pizza-meta{margin:10px 0}
 .pizza-scene.is-pinned .pizza-meta>span{font-size:24px}
 .pizza-scene.is-pinned .pizza-meta small{font-size:9px;margin-top:4px}
 .pizza-scene.is-pinned .pizza-card>.button{font-size:17px;min-height:44px;padding:8px 10px;width:100%}
 .pizza-scene.is-pinned .sequence-footer{grid-column:1;grid-row:3;margin:0;padding-block:18px;min-height:0;align-items:center;gap:20px}
 .pizza-scene.is-pinned .sequence-footer .carousel-script{font-size:28px;line-height:1.6;margin:0;max-width:150px}
 .pizza-scene.is-pinned .sequence-meter{display:block;max-width:180px}
 .pizza-scene.is-pinned .sequence-skip{display:inline;font-size:9px;max-width:210px;text-align:right}
 .pizza-scene.is-pinned .drag-hint{display:none}
}
.pizza-scene:not(.is-pinned) .pizza-carousel{touch-action:pan-x pan-y}
@media(min-width:1024px) and (min-height:760px){
 .scroll-scene.is-pinned{height:var(--scene-height,auto)}
 .process-scene.is-pinned{background:var(--ink)}
 .is-pinned>[data-scroll-stage]{position:sticky;top:var(--nav-height);height:calc(100svh - var(--nav-height));min-height:0;overflow:clip;contain:paint}
 .is-pinned .track-window{overflow:clip;width:100%}
 .is-pinned .scroll-track{display:flex;width:max-content;max-width:none;overflow:visible;scroll-snap-type:none;margin:0;will-change:transform}
 .process-scene.is-pinned .sequence-footer{margin-top:auto;flex-shrink:0;padding-top:10px}
 .process-scene.is-pinned .sequence-meter{display:block}
 .is-pinned .steps-section{padding:60px 5.2vw 30px;display:flex;flex-direction:column;isolation:isolate}
 /* Open the entire full-width section as one paper, including its contents.
    Its reserved spacer stays still; no inner floating panel or rounded inset. */
 .process-scene.is-pinned>.steps-section{background:var(--brown);clip-path:inset(0 0 calc((1 - var(--process-background,1))*100%) 0)}
 .process-scene.is-pinned>.steps-section>.checker{top:0}
 .is-pinned .steps-section>h2{font-size:clamp(48px,5vw,76px);max-width:1050px;position:relative;z-index:2}
 .process-scene.is-pinned .steps-section>h2{opacity:var(--process-title,1);transform:translateY(calc((1 - var(--process-title,1))*28px))}
 .is-pinned .steps-layout{display:block;margin:0;flex:1;min-height:0;position:static}
 /* The sticky stage clips the horizontal scene. The inner window must allow
    the entire rotated paper envelope to paint above and below its track. */
 .process-scene.is-pinned .steps-window{position:absolute;top:var(--process-card-top,30%);left:0;right:0;padding:0 5.2vw;z-index:2;overflow:visible}
 .is-pinned .step-cards{gap:0;padding:45px 28px;align-items:center}
 .is-pinned .step-card{flex:0 0 clamp(350px,36vw,480px);width:clamp(350px,36vw,480px);max-width:none;height:290px;min-height:290px;padding:45px 38px;margin:0 -12px 0 0}
 .is-pinned .step-card h3{font-size:42px;margin-bottom:18px}
 .is-pinned .step-card p{font-size:12px;line-height:1.55}
 .is-pinned .step-number{font-size:27px;margin-bottom:18px}
 .is-pinned .steps-pizza{position:absolute;width:min(34vw,480px);left:50%;bottom:-20%;translate:-50% 0;z-index:0;opacity:.95}
 .process-scene.is-pinned .steps-pizza{transform:translate3d(0,var(--process-drop-y,0px),0);will-change:transform}
 .is-pinned .steps-pizza>.script{display:none}
 .is-pinned .steps-section .sequence-footer{position:relative;z-index:3}
}
@media(max-width:1023px),(max-height:759px){
 .pizza-scene .track-window{overflow:visible}
 .pizza-carousel{scroll-behavior:smooth;scroll-padding-left:8px}
 .sequence-meter{display:none}
 .process-scene .steps-layout{display:flex;flex-direction:column-reverse;gap:50px}
 .process-scene .step-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;width:100%}
 .process-scene .steps-window{width:100%;max-width:900px;margin:auto}
 .process-scene .step-card{width:100%;max-width:none;margin:0;min-height:250px}
 .process-scene .steps-pizza{width:min(55%,350px);margin:20px auto}
}
@media(max-width:767.98px){
 .menu-wheel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;aspect-ratio:auto;height:auto;min-height:0;padding:30px 20px 70px;gap:18px;margin:0}
 .wheel-art{position:relative;top:auto;left:auto;translate:none;width:min(130vw,750px);grid-column:1/-1;justify-self:center;max-width:none}
 .food-wheel{inset:14%}
 .wheel-ticket{position:relative;inset:auto;max-width:none;width:100%;padding:20px;transform:rotate(-3deg);margin:-85px 0 0;align-self:start}
 .pasta-ticket{transform:rotate(4deg)}
 .wheel-ticket h2{font-size:43px}.wheel-ticket p{font-size:10px}
 .wheel-ticket>.button{font-size:18px;min-height:48px;padding:10px 8px}
 .sequence-footer{gap:15px;flex-wrap:wrap}
 .sequence-skip{font-size:10px;line-height:1.5;max-width:180px;text-align:right}
 .sequence-footer .carousel-script{font-size:36px}
 .legal-page dl{display:block}.legal-page dt{margin:18px 0 6px}.legal-page dd{font-size:11px}
}
@media(max-width:600px){
 .process-scene .step-cards{grid-template-columns:1fr;gap:20px;padding:15px 10px}
 .process-scene .step-card{max-width:350px;min-height:225px;margin:auto;padding:38px 32px}
 .process-scene .step-card h3{font-size:39px}
 .process-scene .step-card p{font-size:11px}
 .process-scene .steps-pizza{width:70%;margin:25px auto}
 .menu-wheel{padding-left:15px;padding-right:15px;gap:12px}
 .wheel-ticket{padding:18px 12px;margin-top:-55px}
 .wheel-ticket h2{font-size:35px}.wheel-ticket p{font-size:9px}
 .wheel-ticket>.button{font-size:15px;gap:5px}
}
@media(max-height:819px){.pizza-scene.is-pinned .pizza-image{height:min(25vh,200px)}}
@media(prefers-reduced-motion:reduce){
 .tempio-cursor{display:none!important}a.button,button.circle-button,button[data-pizza]{translate:none!important}
 .button-word{transform:none!important}.button-word+.button-word{display:none}
 .scroll-scene{height:auto!important}.scroll-track{transform:none!important;will-change:auto!important}
 .step-card{transform:none!important}.steps-pizza>img{transform:none}
 .process-scene.is-pinned>.steps-section{background:var(--brown);clip-path:none}
 .process-scene.is-pinned .steps-section>h2{opacity:1}
 .process-scene.is-pinned .steps-section>h2,.process-scene.is-pinned .steps-pizza{transform:none;will-change:auto}
 .wheel-ring,.food-wheel,.wheel-ticket{transform:none!important}
 .hero .hero-pizza,.hero .hero-script,.intro-paper{translate:none!important}
 .pizza-carousel{scroll-behavior:auto}.sequence-meter{display:none}
}
