/* ==========================================================================
   Franko's 12 Buck Pizza - homepage (loaded on / only, after site.css)
   1. Display font + shared homepage pieces
   2. Hero: copy, pizza visual, glass cards, floating ingredients
   3. Marquee
   4. Menu tabs + food cards
   5. Special offers (dark)
   6. Why choose Franko's
   7. "Made to Crave" showcase
   8. About
   9. Reviews
   10. Location + contact
   11. Motion states (html.motion is set in <head>; see home-motion.js)
   Critical entrances (pizza, headline, intro, buttons) are CSS keyframes that
   never start from opacity 0, so they paint immediately and keep LCP fast.
   ========================================================================== */

/* 1. Display font + shared pieces ------------------------------------------ */
@font-face {
    font-family: "Anton";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/anton-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Anton Fallback";
    src: local("Impact"), local("Arial Narrow Bold"), local("Arial Bold");
    size-adjust: 94%;
}
.home-page { --display: "Anton", "Anton Fallback", Impact, "Arial Narrow", sans-serif; }
.display {
    font-family: var(--display);
    font-weight: 400;
    line-height: .98;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.home-head { max-width: 760px; margin-bottom: 30px; }
.home-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.home-head h2 { margin: 12px 0 0; font-size: clamp(2.35rem, 8vw, 4.1rem); line-height: 1.02; }
.home-head p { margin: 14px 0 0; color: var(--muted); font-size: 1.05rem; }
.home-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(214, 40, 40, .09);
    color: var(--red-deep);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.home-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.on-dark .home-label { background: rgba(255, 200, 87, .14); color: var(--yellow); }
.on-dark .home-head h2 { color: #fff; }
.on-dark .home-head p { color: #d8d2c8; }
/* Shared blocks (blog teaser, FAQ) use the same heading style as the rest of the homepage */
.home-page .heading h2 { margin-top: 12px; font-family: var(--display); font-weight: 400; font-size: clamp(2.35rem, 8vw, 4.1rem); line-height: .98; letter-spacing: .01em; text-transform: uppercase; }
.home-page .heading .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(214, 40, 40, .09);
    color: var(--red-deep);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
}
.home-page .heading .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.home-page .heading-line { display: none; }

.btn { transition: background-color .25s, color .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease-spring); }
.btn-primary { box-shadow: 0 14px 28px -14px rgba(214, 40, 40, .85); }
.btn-primary:hover { box-shadow: 0 18px 32px -14px rgba(166, 30, 30, .9); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-xl { min-height: 60px; padding: 8px 26px; font-size: 1.05rem; }
.btn-xl.btn-primary { padding-left: 8px; }
.btn-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.btn-ico .ico { width: 22px; height: 22px; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-stack small { font-family: var(--body); font-size: .8rem; font-weight: 600; }
.btn:hover .btn-ico .ico { animation: phoneRing .7s ease; }

/* 2. Hero ------------------------------------------------------------------ */
.hero2 {
    --vis-w: min(calc(100vw - 32px), 520px);
    --vis-h: calc(var(--vis-w) * .86);
    --hero-pb: 64px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 26px 0 var(--hero-pb);
    background: var(--cream);
}
@supports (overflow: clip) { .hero2 { overflow: clip; } }
.hero2-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero2-blob { position: absolute; border-radius: 50%; }
.hero2-blob--a { width: 70vmax; height: 70vmax; right: -30vmax; top: -24vmax; background: radial-gradient(closest-side, rgba(255, 200, 87, .55), rgba(255, 200, 87, 0)); }
.hero2-blob--b { width: 46vmax; height: 46vmax; left: -22vmax; bottom: -26vmax; background: radial-gradient(closest-side, rgba(214, 40, 40, .16), rgba(214, 40, 40, 0)); }
.hero2-blob--c { width: 30vmax; height: 30vmax; left: 38%; top: 30%; background: radial-gradient(closest-side, rgba(56, 142, 60, .09), rgba(56, 142, 60, 0)); }
.hero2-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image: radial-gradient(rgba(24, 24, 24, .08) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
    mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero2-grid { position: relative; z-index: 2; display: grid; gap: 30px; align-items: center; }
.hero2-copy { position: relative; max-width: 620px; }

.hero2-deal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 5px 16px 5px 5px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px -14px rgba(24, 24, 24, .45);
    color: var(--ink);
    font-size: .95rem;
    font-weight: 600;
}
.hero2-deal strong { color: var(--red); }
.hero2-deal-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px 5px 9px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.hero2-deal-tag .ico { width: 15px; height: 15px; }

.hero2-title { margin: 0; font-family: var(--display); font-weight: 400; color: var(--ink); text-transform: uppercase; letter-spacing: .005em; }
.hero2-kicker {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    font-family: var(--body);
    font-size: clamp(.86rem, 2.6vw, 1rem);
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--basil-ink);
}
.hero2-line { display: block; font-size: clamp(3.05rem, 15.4vw, 6.4rem); line-height: .94; white-space: nowrap; }
.hero2-line .w { display: inline-block; }
.hero2-line .is-red { color: var(--red); }
.hero2-hl {
    position: relative;
    display: inline-block;
    margin-top: 14px;
    padding: 4px 16px 2px;
    font-size: clamp(1.8rem, 8.6vw, 3.1rem);
    line-height: 1.05;
    color: var(--ink);
    white-space: nowrap;
    transform: rotate(-2deg);
}
.hero2-hl::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 6px 14px 8px 16px;
    background: var(--yellow);
    box-shadow: 6px 6px 0 var(--red);
}
.hero2-lead { max-width: 33em; margin: 22px 0 0; font-size: 1.08rem; color: #3a3a3a; }
.hero2-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero2-ctas .btn { flex: 1 1 100%; }
.hero2-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .93rem; font-weight: 600; color: var(--ink); }
.hero2-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero2-trust .ico { width: 18px; height: 18px; color: var(--red); }
.hero2-trust a { color: var(--ink); }

/* Pizza visual */
.hero2-visual { position: relative; width: var(--vis-w); aspect-ratio: 1 / .86; margin: 0 auto; }
.hero2-glow {
    position: absolute;
    left: 8%;
    top: 6%;
    width: 84%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 200, 87, .95), rgba(255, 170, 60, .45) 55%, rgba(255, 200, 87, 0));
    animation: fadeIn 1.2s ease .05s backwards, glowPulse 5s ease-in-out 1.3s infinite;
}
/* Rotating circular-text badge */
.hero2-ring-badge {
    position: absolute;
    z-index: 4;
    left: -1%;
    bottom: 3%;
    display: grid;
    place-items: center;
    width: 112px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 18px 30px -16px rgba(24, 24, 24, .6);
}
.hero2-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 22s linear infinite; }
.hero2-ring text { font-family: var(--display); font-size: 27px; letter-spacing: .1em; fill: #fff; text-transform: uppercase; }
.ring-core { display: grid; place-items: center; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); color: var(--red); }
.ring-core .ico { width: 52%; height: 52%; }
.hero2-pizza { position: absolute; left: 0; right: 0; top: 9%; }
.hero2-pizza img { width: 100%; filter: drop-shadow(0 30px 30px rgba(120, 40, 10, .3)); }
.glass-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 9px 16px 9px 9px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 18px;
    background: rgba(255, 255, 255, .62);
    -webkit-backdrop-filter: blur(12px) saturate(1.5);
    backdrop-filter: blur(12px) saturate(1.5);
    box-shadow: 0 18px 34px -18px rgba(24, 24, 24, .45);
    line-height: 1.15;
}
.glass-card--price { left: 0; top: 4%; }
.glass-card--delivery { right: 0; bottom: 2%; }
.glass-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff; flex: none; }
.glass-card--delivery .glass-ico { background: var(--basil); }
.glass-ico .ico { width: 21px; height: 21px; }
.glass-text { display: flex; flex-direction: column; }
.glass-text small { font-size: .74rem; font-weight: 600; color: #4a4a4a; }
.glass-text strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: .02em; color: var(--ink); }
.price-burst {
    position: absolute;
    z-index: 4;
    right: 2%;
    top: 0;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
}
.price-burst::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--red);
    clip-path: polygon(50% 0%, 61% 11%, 75% 6%, 79% 21%, 94% 25%, 89% 39%, 100% 50%, 89% 61%, 94% 75%, 79% 79%, 75% 94%, 61% 89%, 50% 100%, 39% 89%, 25% 94%, 21% 79%, 6% 75%, 11% 61%, 0% 50%, 11% 39%, 6% 25%, 21% 21%, 25% 6%, 39% 11%);
    animation: spin 18s linear infinite;
}
.price-burst-inner { position: relative; display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-size: 1.5rem; line-height: .9; color: #fff; transform: rotate(-8deg); }
.price-burst-inner small { font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }

/* Floating ingredients: .ing (position + GSAP entrance) > .ing-par (mouse parallax) > .ing-float (idle float) */
.hero2-ings { position: absolute; inset: 0; pointer-events: none; }
.ing {
    position: absolute;
    z-index: 1;
    left: var(--mx);
    bottom: calc(var(--hero-pb) + var(--vis-h) * var(--my));
    width: var(--mw);
}
.ing.is-front { z-index: 3; }
.ing-par, .ing-float { display: block; }
.ing img { width: 100%; height: auto; filter: drop-shadow(0 12px 10px rgba(80, 30, 10, .22)); }
.ing.is-far img { filter: blur(1.2px) drop-shadow(0 8px 8px rgba(80, 30, 10, .15)); opacity: .9; }
.ing--desktop, .ing--tablet { display: none; }
/* Left of the headline column: its right edge stays --gap px clear of the text */
.hero2 { --text-x: max(16px, calc((100vw - var(--container)) / 2 + 24px)); }
.ing--basil .ing-float { transform: rotate(28deg); }
.ing--chili .ing-float { transform: rotate(-24deg); }
.ing--slice .ing-float { transform: rotate(16deg); }
.ing--pepper .ing-float { transform: rotate(-12deg); }
.ing--box .ing-float { transform: rotate(-6deg); }

/* CSS hero entrance (runs without JavaScript; transform only, never hidden) */
.hero2-pizza-par { animation: pizzaIn 1.15s cubic-bezier(.2, 1.15, .35, 1) .05s both; }
.hero2-kicker { animation: riseIn .8s var(--ease-out) .15s backwards; }
.hero2-line .w { animation: wordIn .9s var(--ease-out) backwards; animation-delay: calc(.3s + var(--i) * .08s); }
.hero2-hl { animation: hlIn .8s var(--ease-spring) .68s backwards; }
.hero2-lead { animation: riseIn .9s var(--ease-out) .75s backwards; }
.hero2-ctas, .hero2-trust { animation: riseIn .9s var(--ease-out) .85s backwards; }
.hero2-trust { animation-delay: .95s; }
@keyframes pizzaIn { from { transform: translateX(16%) scale(.75) rotate(-28deg); } to { transform: none; } }
@keyframes wordIn { from { transform: translateY(.42em) rotate(4deg); } to { transform: none; } }
@keyframes hlIn { from { transform: rotate(-9deg) scale(.82); } to { transform: rotate(-2deg); } }
@keyframes riseIn { from { transform: translateY(18px); } to { transform: none; } }
@keyframes glowPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 3. Marquee --------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--red); color: #fff; border-block: 3px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-run { display: flex; align-items: center; flex: none; }
.marquee-run span { padding: 13px 0; font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.marquee-run span:not(.marquee-dot) { padding-inline: 22px; }
.marquee-dot { color: var(--yellow); font-size: 1.1rem !important; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pause decorative loops when they can't be seen (classes set by home.js / site.js) */
.is-offscreen .hero2-glow, .is-offscreen .hero2-ring, .is-offscreen .price-burst::before,
.is-offscreen.marquee .marquee-track, .is-offscreen .crave-ring, .is-offscreen .crave-orbit, .is-offscreen .orb img,
.is-page-hidden .hero2-glow, .is-page-hidden .hero2-ring, .is-page-hidden .price-burst::before,
.is-page-hidden .marquee-track, .is-page-hidden .crave-ring, .is-page-hidden .crave-orbit, .is-page-hidden .orb img {
    animation-play-state: paused;
}

/* 4. Menu tabs + cards ------------------------------------------------------ */
.home-menu { background: #fff; }
.menu-tabs-wrap { display: flex; justify-content: center; margin-bottom: 26px; }
.menu-tabs {
    position: relative;
    display: flex;
    gap: 4px;
    max-width: 100%;
    padding: 6px;
    overflow-x: auto;
    border-radius: 999px;
    background: var(--cream);
    border: 1px solid var(--line);
    scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--ink);
    font: 600 .98rem/1 var(--body);
    white-space: nowrap;
    cursor: pointer;
    transition: color .3s ease;
}
.menu-tab .ico { width: 19px; height: 19px; color: var(--red); transition: color .3s ease, transform .4s var(--ease-spring); }
.menu-tab:hover .ico { transform: rotate(-12deg) scale(1.15); }
.menu-tab[aria-selected="true"] { color: #fff; }
.menu-tab[aria-selected="true"] .ico { color: var(--yellow); }
.menu-tab-indicator {
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 0;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0 10px 20px -10px rgba(214, 40, 40, .9);
    transition: transform .5s var(--ease-out), width .5s var(--ease-out), height .3s ease;
}
html:not(.js) .menu-tabs-wrap { display: none; }
.js .menu-panel[data-inactive] { display: none; }
.menu-panel:focus-visible { outline-offset: 6px; border-radius: 8px; }
.js .menu-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-panel + .menu-panel { margin-top: 40px; }
.js .menu-panel + .menu-panel { margin-top: 0; }
.menu-panel-title { font-size: 1.5rem; }
.menu-panel-intro { margin: 0 0 18px; text-align: center; color: var(--muted); }

/* Cards stack on phones, 2 per row on tablets, 3-4 per row on desktop (never a sideways scroller) */
.food-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.food-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.food-card:hover { transform: translateY(-6px); border-color: rgba(214, 40, 40, .35); box-shadow: 0 26px 40px -26px rgba(24, 24, 24, .45); }
.food-media { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden; background: radial-gradient(circle at 50% 55%, #fff3d6, var(--cream) 70%); }
.food-art { width: 78%; transition: transform .8s var(--ease-out); }
.food-card:hover .food-art { transform: rotate(24deg) scale(1.06); }
.food-media picture { display: contents; }
.food-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.food-card:hover .food-photo { transform: scale(1.06); }
.food-ribbon {
    position: absolute;
    z-index: 1;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.food-ribbon .ico { width: 14px; height: 14px; }
.food-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 18px 18px 20px; }
.food-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.food-title { margin: 0; font-family: var(--head); font-size: 1.12rem; line-height: 1.25; }
.food-title a { color: var(--ink); text-decoration: none; }
.food-title a:hover { color: var(--red); text-decoration: underline; }
.food-qty { display: block; font-family: var(--body); font-size: .82rem; font-weight: 600; color: var(--muted); }
.food-price { display: flex; flex-direction: column; align-items: flex-end; margin: 0; font-family: var(--display); font-size: 1.55rem; line-height: 1; color: var(--red); white-space: nowrap; }
.food-price small { font-family: var(--body); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.food-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.food-tags li { padding: 3px 10px; border-radius: 999px; background: #f6f1e7; color: #3d3d3d; font-size: .8rem; font-weight: 600; }
.food-tags li.is-base { background: rgba(56, 142, 60, .12); color: var(--basil-ink); }
.food-note { margin: 0; font-size: .88rem; color: var(--muted); }
.food-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    margin-top: auto;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-family: var(--head);
    font-weight: 600;
    text-decoration: none;
    transition: background-color .25s;
}
.food-cta:hover { background: var(--red); color: #fff; }
.food-cta .ico { width: 18px; height: 18px; }
.size-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; }
.size-prices div { padding: 7px 4px; border-radius: 12px; background: #f6f1e7; text-align: center; }
.size-prices dt { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.size-prices dd { margin: 0; font-weight: 700; font-size: .92rem; color: var(--ink); }
.size-prices .is-deal { background: var(--yellow); }
.size-prices .is-deal dt { color: var(--ink); }
.topping-row { margin-top: 10px; padding: 20px; border-radius: 20px; background: var(--cream); }
.topping-row h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.05rem; }
.topping-row h4 .ico { color: var(--basil); }
.topping-row .tag-list { margin: 0; }

.deal-grid { display: grid; gap: 14px; }
.deal-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 14px;
    padding: 18px 18px 18px 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.deal-card:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -24px rgba(24, 24, 24, .45); }
.deal-card h4 { margin: 0; font-family: var(--head); font-size: 1.05rem; }
.deal-card p { margin: 0; font-size: .88rem; color: var(--muted); grid-column: 1; }
.deal-card .deal-price { grid-column: 2; grid-row: 1 / span 3; font-family: var(--display); font-size: 1.9rem; color: var(--red); }
.deal-card .food-cta { grid-column: 1 / -1; margin-top: 10px; }
.deal-ico { display: flex; gap: 4px; color: var(--red); grid-column: 1; }
.deal-ico .ico { width: 20px; height: 20px; }
.deal-label { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.deal-card.is-mega { background: var(--ink); border-color: var(--ink); color: #fff; }
.deal-card.is-mega h4 { color: #fff; font-size: 1.3rem; }
.deal-card.is-mega p { color: #d9d4ca; }
.deal-card.is-mega .deal-price { color: var(--yellow); font-size: 2.4rem; }
.deal-card.is-mega .food-cta { background: var(--red); }
.deal-card.is-mega .food-cta:hover { background: #fff; color: var(--ink); }
.deal-card.is-meal { background: var(--cream); }

.more-list { display: grid; gap: 0 32px; margin: 10px 0 0; padding: 8px 20px; list-style: none; border-radius: 20px; background: var(--cream); }
.more-list li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed #e2d6c1; font-weight: 600; color: var(--ink); }
.more-list li:last-child { border-bottom: 0; }
.more-list .dots { flex: 1; }
.more-list strong { color: var(--red); white-space: nowrap; }
.home-menu-foot { margin-top: 28px; text-align: center; }
.home-menu-foot .note { margin: 0; }
.home-menu-foot .btn-row { justify-content: center; }

/* 5. Special offers -------------------------------------------------------- */
.offers { position: relative; overflow: hidden; background: var(--ink); color: #e9e4da; }
.offers-glow { position: absolute; width: 60vmax; height: 60vmax; right: -20vmax; top: -20vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 40, 40, .38), rgba(214, 40, 40, 0)); pointer-events: none; }
.offers .container { position: relative; }
.offers-grid { display: grid; gap: 34px; align-items: center; }
.offers-media { position: relative; }
.offers-mask { overflow: hidden; border-radius: 28px; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .8); }
.offers-mask img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.offers-sticker {
    position: absolute;
    right: -6px;
    bottom: -18px;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(10deg);
    box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .7);
}
.offers-sticker strong { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 400; line-height: .9; }
.offers-title { margin: 0; font-size: clamp(2.6rem, 9vw, 4.6rem); color: #fff; }
.offers-price { display: flex; align-items: flex-start; margin: 4px 0 8px; font-family: var(--display); font-size: clamp(5rem, 22vw, 9rem); line-height: .9; color: var(--yellow); }
.offers-cur { margin-top: .12em; font-size: .42em; }
.offers-cents { margin-top: .1em; font-size: .42em; }
.offers-desc { max-width: 30em; font-size: 1.1rem; color: #ece6dc; }
.deal-strip { display: grid; gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; }
.deal-strip li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    transition: transform .4s var(--ease-out), background-color .3s, border-color .3s;
}
.deal-strip li:hover { transform: translateY(-4px); background: rgba(255, 200, 87, .08); border-color: rgba(255, 200, 87, .4); }
.deal-strip strong { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--yellow); }
.deal-strip span { color: #e6e0d5; }
.offers-party { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 0; text-align: center; color: #e6e0d5; }
.offers-party .ico { color: var(--yellow); }
.offers .btn-outline { color: #fff; }
.offers .btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* 6. Why choose ------------------------------------------------------------ */
.why { background: var(--cream); }
.why-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.why-card {
    position: relative;
    overflow: hidden;
    padding: 26px 22px 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.why-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 200, 87, .25);
    transition: transform .6s var(--ease-out);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -26px rgba(24, 24, 24, .4); }
.why-card:hover::after { transform: scale(1.8); }
.why-ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; border-radius: 18px; background: var(--red); color: #fff; transition: transform .5s var(--ease-spring); }
.why-card:nth-child(2) .why-ico { background: var(--ink); color: var(--yellow); }
.why-card:nth-child(3) .why-ico { background: var(--basil); }
.why-card:nth-child(4) .why-ico { background: var(--yellow); color: var(--ink); }
.why-card:hover .why-ico { transform: rotate(-10deg) scale(1.08); }
.why-ico .ico { width: 28px; height: 28px; }
.why-card h3 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 1.2rem; }
.why-card p { position: relative; z-index: 1; margin: 0; color: #444; }

/* 7. Made to Crave ---------------------------------------------------------- */
.crave { position: relative; overflow: hidden; background: radial-gradient(circle at 30% 40%, #e43a32, var(--red) 45%, #8f1919); color: #fff; }
.crave-grid { display: grid; gap: 20px; align-items: center; }
.crave-stage { position: relative; width: min(100%, 460px); margin: 0 auto; perspective: 1100px; }
.crave-scroll, .crave-tilt { position: relative; transform-style: preserve-3d; }
.crave-tilt { aspect-ratio: 1; }
.crave-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 30s linear infinite reverse; }
.crave-ring text { font-family: var(--display); font-size: 17px; letter-spacing: .16em; fill: var(--yellow); text-transform: uppercase; }
.crave-tilt::before { content: ""; position: absolute; inset: 9%; border: 2px dashed rgba(255, 200, 87, .35); border-radius: 50%; }
.crave-pizza { position: absolute; left: 11%; right: 11%; top: 9%; transform: translateZ(40px); }
.crave-pizza img { width: 100%; filter: drop-shadow(0 34px 30px rgba(60, 0, 0, .45)); }
.crave-orbit { position: absolute; inset: 15%; animation: spin 24s linear infinite; }
.orb { position: absolute; width: 13%; }
.orb img { width: 100%; animation: spin 24s linear infinite reverse; filter: drop-shadow(0 8px 8px rgba(60, 0, 0, .35)); }
.orb--1 { left: 43%; top: -6%; }
.orb--2 { right: -6%; top: 43%; }
.orb--3 { left: 43%; bottom: -6%; }
.orb--4 { left: -6%; top: 43%; }
.crave-title { margin: 14px 0 16px; font-size: clamp(3.2rem, 13vw, 6.4rem); color: #fff; }
.crave-title span { color: var(--yellow); }
.crave-copy > p { max-width: 32em; color: #fff3ee; font-size: 1.06rem; }
.crave-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.crave-stats li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; background: rgba(24, 24, 24, .16); }
.crave-stats strong { font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--yellow); }
.crave-stats span { font-size: .9rem; font-weight: 600; line-height: 1.25; }
.crave .btn-light { color: var(--red); }
.crave .btn-light:hover { background: var(--ink); color: #fff; }

/* 8. About ----------------------------------------------------------------- */
.about2 { background: #fff; }
.about2-grid { display: grid; gap: 40px; align-items: center; }
.about2-media { position: relative; padding: 0 14px 14px 0; }
.about2-frame { position: relative; }
.about2-frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--red); border-radius: 30px; }
.about2-mask { position: relative; overflow: hidden; border-radius: 28px; }
.about2-mask img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about2-badge {
    position: absolute;
    left: -6px;
    bottom: -10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 18px 12px 14px;
    border-radius: 20px;
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 18px 30px -16px rgba(24, 24, 24, .5);
}
.about2-badge strong { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.about2-badge span { max-width: 6.5em; font-size: .85rem; font-weight: 700; line-height: 1.2; }
.about2-copy h2 { margin: 14px 0 18px; font-size: clamp(2.35rem, 7vw, 3.8rem); }
.about2-copy p { color: #3a3a3a; }

/* 9. Reviews --------------------------------------------------------------- */
.reviews2 { background: var(--cream); }
.reviews-cta {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 34px;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    text-align: center;
    box-shadow: 0 30px 50px -36px rgba(24, 24, 24, .5);
}
.reviews-cta::before, .reviews-cta::after { content: ""; position: absolute; border-radius: 50%; }
.reviews-cta::before { width: 180px; height: 180px; left: -70px; top: -70px; background: rgba(255, 200, 87, .3); }
.reviews-cta::after { width: 140px; height: 140px; right: -50px; bottom: -60px; background: rgba(214, 40, 40, .1); }
.reviews-cta > * { position: relative; z-index: 1; }
.reviews-cta-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--red); color: #fff; }
.reviews-cta-ico .ico { width: 30px; height: 30px; }
.reviews-cta-lead { margin: 0 0 8px; font-family: var(--head); font-size: clamp(1.25rem, 3.4vw, 1.6rem); color: var(--ink); }
.reviews-cta .btn-row { justify-content: center; }
.reviews-carousel { position: relative; max-width: 900px; margin: 0 auto; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-slide { margin: 0; padding: 34px 28px; border-radius: 28px; background: #fff; scroll-snap-align: center; transition: opacity .4s, transform .4s var(--ease-out); }
.review-slide:not(.is-active) { opacity: .55; transform: scale(.96); }
.review-quote { width: 40px; height: 40px; color: var(--red); }
.review-slide blockquote { margin: 14px 0 18px; font-family: var(--head); font-size: 1.2rem; color: var(--ink); }
.review-slide figcaption { display: flex; flex-direction: column; color: var(--muted); }
.review-slide figcaption strong { color: var(--ink); }
.reviews-nav { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.reviews-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
.reviews-btn:hover { background: var(--red); }
.reviews-btn:disabled { opacity: .35; cursor: default; }
.reviews-more { margin-top: 14px; text-align: center; }

/* 10. Location -------------------------------------------------------------- */
.location { background: #fff; }
.location-grid { display: grid; gap: 18px; }
.loc-cards { display: grid; gap: 14px; }
.loc-card { position: relative; min-width: 0; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); }
.loc-card h3 { margin: 12px 0 6px; font-size: 1.12rem; }
.loc-card p { margin: 8px 0 0; font-size: .95rem; }
.loc-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--red); color: #fff; }
.loc-ico .ico { width: 22px; height: 22px; }
.loc-phone { display: inline-block; font-family: var(--display); font-size: 1.9rem; letter-spacing: .02em; color: var(--red); text-decoration: none; }
.loc-phone:hover { color: var(--red-deep); text-decoration: underline; }
.loc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; }
.loc-link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.loc-link:hover .ico { transform: translateX(4px); }
.loc-card .hours { margin-top: 4px; font-size: .95rem; }
.loc-list { margin: 4px 0 0; padding: 0; list-style: none; }
.loc-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 8px 0; border-bottom: 1px dashed #e2d6c1; }
.loc-list span { font-weight: 600; color: var(--ink); }
.loc-list strong { color: var(--red); white-space: nowrap; }
.loc-list small { grid-column: 1 / -1; color: var(--muted); }
/* No aspect-ratio here: with a min-height it would force the box wider than a phone screen */
.location-map { min-width: 0; min-height: 320px; aspect-ratio: auto; border-radius: 22px; }

/* Below-the-fold sections are laid out only when they get near the screen, so the first paint
   only has to lay out the hero (the page is long and text-heavy). "auto" remembers each real height.
   Only with JavaScript, and switched off (html.no-cv) when the page opens at a #fragment or an
   in-page link is used, so the jump lands exactly on its target. */
html.js:not(.no-cv) .home-page main > section:not(.hero2) { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
/* An instant jump, so nothing (like ScrollTrigger measuring the page) can interrupt it half way */
html.no-cv { scroll-behavior: auto; }

/* 11. Motion states --------------------------------------------------------- */
html.motion [data-reveal], html.motion [data-badge], html.motion .ing, html.motion .hero2-blob { opacity: 0; }
html.motion .site-footer:not(.is-revealed) .footer-top > *, html.motion .site-footer:not(.is-revealed) .footer-contact > * { opacity: 0; }
html.motion [data-reveal="mask"] { opacity: 1; }
html.motion [data-reveal="mask"] > * { clip-path: inset(0 0 100% 0 round 28px); }
.ing, .ing-par, .ing-float, .hero2-pizza-par, .crave-tilt { will-change: transform; }

/* Breakpoints --------------------------------------------------------------- */
@media (min-width: 480px) {
    .hero2-ctas .btn { flex: 0 1 auto; }
    .deal-grid { grid-template-columns: repeat(2, 1fr); }
    .deal-card.is-mega { grid-column: 1 / -1; }
}

@media (max-width: 639px) {
    /* shorter picture area so the stacked cards stay compact */
    .food-media { aspect-ratio: 16 / 10; }
    .food-art { width: 58%; }
}

@media (max-width: 767px) {
    /* Menu tabs: one row of four equal tabs, icon above the label, all on screen */
    .menu-tabs-wrap { display: block; }
    .menu-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 20px; overflow: visible; }
    .menu-tab {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        min-height: 66px;
        padding: 8px 4px;
        border-radius: 15px;
        font-size: .78rem;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }
    .menu-tab .ico { width: 22px; height: 22px; }
    .menu-tab-indicator { border-radius: 15px; }
}

@media (min-width: 640px) {
    .food-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .deal-strip { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .more-list { grid-template-columns: repeat(2, 1fr); }
    .more-list li:nth-last-child(2) { border-bottom: 0; }
    .loc-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .hero2 { --vis-w: min(calc(100vw - 48px), 560px); --hero-pb: 72px; padding-top: 40px; }
    .ing--tablet { display: block; }
    .price-burst { width: 108px; height: 108px; }
    .price-burst-inner { font-size: 1.8rem; }
    .glass-card { padding: 11px 20px 11px 11px; }
    .glass-ico { width: 46px; height: 46px; }
    .glass-text strong { font-size: 1.7rem; }
}

@media (min-width: 900px) {
    .offers-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
    .deal-strip { grid-template-columns: repeat(4, 1fr); }
    .crave-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
    .crave-stage { width: min(100%, 520px); }
    .about2-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
    .location-grid { grid-template-columns: 1.25fr 1fr; gap: 24px; }
    .location-map { min-height: 100%; }
    .why-grid { grid-template-columns: repeat(6, 1fr); }
    .why-card { grid-column: span 2; }
    .why-card:nth-child(4) { grid-column: 2 / span 2; }
    .why-card:nth-child(5) { grid-column: 4 / span 2; }
}

@media (min-width: 1080px) {
    .hero2 { --hero-pb: 64px; display: flex; align-items: center; min-height: min(calc(100vh - 117px), 860px); padding-top: 48px; }
    .hero2 > .container { width: 100%; }
    .hero2-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 24px; }
    .hero2-line { font-size: clamp(5rem, 7.2vw, 7.2rem); }
    .hero2-hl { font-size: clamp(2.4rem, 3.4vw, 3.3rem); }
    .hero2-visual { width: 100%; }
    .hero2 { --text-x: max(24px, calc((100vw - var(--container)) / 2 + 24px)); }
    .ing { left: var(--x); top: var(--y); bottom: auto; width: var(--w); }
    .ing.is-gutter { left: calc(var(--text-x) - var(--w) - var(--gap)); }
    .ing--desktop { display: block; }
    .hero2-ring-badge { width: 150px; left: -3%; bottom: 5%; }
    .menu-tab { padding: 0 22px; font-size: 1rem; }
    .food-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .food-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .deal-grid { grid-template-columns: repeat(4, 1fr); }
    .deal-card.is-mega { grid-column: span 2; grid-row: span 2; align-content: center; padding: 30px; }
    .deal-card.is-mega .deal-price { font-size: 3.4rem; }
    .deal-card.is-meal { grid-column: span 2; }
    .more-list { grid-template-columns: repeat(4, 1fr); }
    .more-list li:nth-last-child(-n+4) { border-bottom: 0; }
    .loc-cards { grid-template-columns: repeat(2, 1fr); }
    .home-head h2 { font-size: 4.4rem; }
}
