:root {
  --ink: #201713;
  --muted: #6f6159;
  --cream: #fff8e9;
  --paper: #fffdf7;
  --red: #c93426;
  --red-dark: #9f2018;
  --green: #1e563a;
  --gold: #f6b93b;
  --line: #e8dfcf;
  --shadow: 0 22px 70px rgba(58, 31, 18, 0.16);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #1d70b7; outline-offset: 3px; }

.demo-banner { min-height: 38px; padding: 8px 5vw; display: flex; justify-content: center; gap: 8px; align-items: center; color: white; background: var(--green); text-align: center; font-size: 13px; }
.site-header { min-height: 86px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; background: rgba(255,253,247,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; width: fit-content; }
.brand > span:last-child { display: grid; }
.brand strong { font-family: "Fraunces", serif; font-size: 20px; }
.brand small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--red); font-family: "Fraunces", serif; font-weight: 800; transform: rotate(-5deg); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.header-order { justify-self: end; }

.button { border: 0; border-radius: 999px; padding: 13px 20px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 8px 22px rgba(201,52,38,.22); }
.button-primary:hover { background: var(--red-dark); }
.button-quiet { background: white; color: var(--ink); border: 1px solid var(--line); }
.button-large { padding: 16px 24px; }
.button-block { width: 100%; border-radius: 14px; min-height: 52px; }

.hero { min-height: 690px; padding: 90px 7vw 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); align-items: center; gap: 6vw; overflow: hidden; background: radial-gradient(circle at 80% 35%, #ffe3a5 0 18%, transparent 45%), linear-gradient(135deg, var(--cream), #fffdf8); }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Fraunces", serif; line-height: .98; }
h1 { max-width: 730px; font-size: clamp(52px, 7vw, 98px); letter-spacing: -.055em; }
h2 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.035em; }
.hero-lead { max-width: 600px; margin: 26px 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 22px; list-style: none; color: var(--muted); font-size: 14px; }
.trust-row span { color: var(--green); font-weight: 800; }
.hero-art { min-height: 500px; position: relative; display: grid; place-items: center; }
.pizza { width: min(39vw, 480px); aspect-ratio: 1; position: relative; z-index: 2; border: 22px solid #d99638; border-radius: 50%; background: radial-gradient(circle, #ffd56b 0 58%, #efbc4d 59% 67%, #c97d27 68% 72%, #eeb955 73%); box-shadow: inset 0 0 0 7px #efae37, inset 0 0 38px rgba(119,48,16,.25), 0 32px 55px rgba(98,52,16,.25); transform: rotate(7deg); }
.pizza::before { content: ""; position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle at 18% 30%, #fff0a3 0 3%, transparent 4%), radial-gradient(circle at 65% 72%, #fff0a3 0 4%, transparent 5%); opacity: .8; }
.pizza-shadow { position: absolute; width: 78%; height: 20%; bottom: 4%; background: rgba(72,39,18,.22); border-radius: 50%; filter: blur(20px); transform: rotate(-5deg); }
.topping { position: absolute; display: block; z-index: 3; }
.pepperoni { width: 16%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ed6953 0 8%, transparent 9%), radial-gradient(circle at 70% 60%, #9c231b 0 7%, transparent 8%), #c93a2b; box-shadow: inset 0 -5px 8px rgba(79,7,0,.25); }
.p1 { left: 18%; top: 18%; }.p2 { right: 18%; top: 28%; }.p3 { left: 34%; bottom: 18%; }.p4 { right: 16%; bottom: 15%; }
.pepper { width: 18%; height: 7%; border: 8px solid #49854a; border-color: #49854a transparent transparent #49854a; border-radius: 50%; }
.g1 { left: 43%; top: 15%; transform: rotate(65deg); }.g2 { left: 14%; bottom: 32%; transform: rotate(-30deg); }.g3 { right: 31%; bottom: 36%; transform: rotate(140deg); }
.olive { width: 7%; aspect-ratio: 1; border: 7px solid #3c332b; border-radius: 50%; }
.o1 { left: 26%; top: 44%; }.o2 { right: 31%; top: 48%; }.o3 { left: 49%; bottom: 9%; }
.hero-card { position: absolute; right: 0; bottom: 12%; z-index: 3; min-width: 150px; padding: 18px 22px; display: grid; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-card strong { color: var(--red); font-family: "Fraunces", serif; font-size: 38px; line-height: 1; }
.hero-card span { color: var(--muted); font-size: 13px; }

.value-strip { margin: -26px 5vw 0; position: relative; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--green); color: white; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.value-strip article { min-height: 118px; padding: 28px; display: flex; align-items: center; gap: 18px; border-right: 1px solid rgba(255,255,255,.18); }
.value-strip article:last-child { border: 0; }
.value-strip article > span { color: #f5cf74; font-family: "Fraunces", serif; font-size: 30px; }
.value-strip strong { display: block; margin-bottom: 5px; }
.value-strip p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }

.menu-section { padding: 120px 6vw; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 36px; }
.section-heading > p { max-width: 430px; color: var(--muted); line-height: 1.6; }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 30px; padding-bottom: 4px; }
.category-tab { padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); white-space: nowrap; font-weight: 700; }
.category-tab.active { background: var(--ink); color: white; border-color: var(--ink); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.menu-card { min-height: 340px; padding: 24px; position: relative; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(61,37,24,.11); }
.menu-card::before { content: ""; width: 190px; height: 190px; position: absolute; right: -55px; top: -70px; border-radius: 50%; background: var(--card-color, #f6d574); opacity: .55; }
.menu-card-tag { width: fit-content; position: relative; z-index: 1; padding: 7px 10px; border-radius: 999px; background: var(--cream); color: var(--red); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.menu-card h3 { margin: 62px 0 10px; position: relative; font-family: "Fraunces", serif; font-size: 28px; }
.menu-card p { margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.menu-card-footer { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.menu-card-price span { display: block; color: var(--muted); font-size: 11px; }
.menu-card-price strong { font-family: "Fraunces", serif; font-size: 23px; }
.menu-card .button { padding: 12px 16px; }

.location-section { margin: 0 5vw 100px; padding: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; background: #f4ead8; border-radius: 32px; }
.location-note { max-width: 580px; color: var(--muted); line-height: 1.6; }
.location-card { padding: 10px 32px; background: white; border-radius: 22px; box-shadow: 0 15px 35px rgba(60,33,20,.1); }
.location-card > div { padding: 22px 0; display: grid; grid-template-columns: 90px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.location-card > div:last-child { border: 0; }
.location-card span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

footer { padding: 55px 6vw 80px; display: flex; justify-content: space-between; align-items: center; gap: 30px; color: white; background: var(--ink); }
footer p { max-width: 630px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.55; }
.footer-brand strong { color: white; }.footer-brand small { color: rgba(255,255,255,.58); }

.overlay { position: fixed; inset: 0; z-index: 100; padding: 20px; display: grid; place-items: center; background: rgba(32,23,19,.64); backdrop-filter: blur(8px); }
.overlay[hidden] { display: none; }
.dialog { width: min(620px, 100%); max-height: calc(100vh - 40px); padding: 34px; position: relative; overflow-y: auto; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); }
.dialog-close { position: absolute; right: 22px; top: 22px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 28px; line-height: 1; }
.dialog-header { padding-right: 50px; margin-bottom: 28px; }
.dialog-header h2, .cart-header h2 { font-size: 38px; }
.dialog-header > p:last-child { color: var(--muted); line-height: 1.5; }
fieldset { padding: 0; margin: 0 0 25px; border: 0; }
legend { margin-bottom: 12px; font-weight: 800; }
.option-list { display: grid; gap: 8px; }
.option-list label { min-height: 50px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.option-list label:has(input:checked) { border-color: var(--red); background: #fff6f4; box-shadow: inset 0 0 0 1px var(--red); }
.option-list input { margin-right: 9px; accent-color: var(--red); }
.option-list small { color: var(--muted); }
.quantity-row { margin: 28px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: white; overflow: hidden; }
.stepper button { width: 44px; height: 40px; border: 0; background: transparent; font-size: 22px; }
.stepper output { min-width: 38px; text-align: center; }

.cart-panel { width: min(480px, 100%); height: 100%; padding: 30px; justify-self: end; overflow-y: auto; background: var(--paper); border-radius: 24px 0 0 24px; box-shadow: var(--shadow); }
#cart-overlay { padding: 0; place-items: stretch; }
.cart-header { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.cart-items { display: grid; gap: 12px; padding: 22px 0; }
.cart-empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.cart-item { padding: 16px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.cart-item-top { display: flex; justify-content: space-between; gap: 16px; }
.cart-item p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.cart-item button { margin-top: 10px; padding: 0; border: 0; color: var(--red); background: transparent; font-weight: 700; }
.cart-summary { margin: auto 0 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.cart-summary > div, .total-breakdown > div { display: flex; justify-content: space-between; gap: 16px; }
.cart-summary p { color: var(--muted); font-size: 12px; }
.mobile-cart { display: none; }

.fulfillment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fulfillment-options label { padding: 16px; display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.fulfillment-options label:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.fulfillment-options input { accent-color: var(--red); }
.fulfillment-options span { display: grid; }.fulfillment-options small { margin-top: 4px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.form-grid label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input { min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.form-grid small { color: var(--muted); font-weight: 400; }
.tip-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tip-options label { position: relative; }
.tip-options input { position: absolute; opacity: 0; }
.tip-options span { min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: white; font-weight: 700; }
.tip-options input:checked + span { color: white; background: var(--green); border-color: var(--green); }
.total-breakdown { margin: 20px 0; padding: 18px; display: grid; gap: 9px; background: #f4ead8; border-radius: 14px; }
.total-breakdown .grand-total { padding-top: 10px; margin-top: 4px; border-top: 1px solid #d9ccb9; font-size: 18px; }
.remember { margin: 18px 0; display: flex; align-items: start; gap: 9px; font-size: 13px; }
.remember input { accent-color: var(--red); }
.fine-print { color: var(--muted); text-align: center; font-size: 11px; }
.success-dialog { max-width: 460px; text-align: center; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 34px; }
.success-dialog p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 74px; }
  .site-header nav { display: none; }
  .hero { min-height: 0; padding: 70px 6vw; grid-template-columns: 1fr; }
  .hero-art { min-height: 390px; }
  .pizza { width: min(76vw, 420px); }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-section { padding: 50px; grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 600px) {
  body { padding-bottom: 76px; }
  .demo-banner { align-items: center; flex-direction: column; gap: 0; }
  .site-header { padding: 0 18px; }
  .brand strong { font-size: 17px; }.brand-mark { width: 38px; height: 38px; font-size: 13px; }
  .header-order { padding: 11px 14px; font-size: 13px; }
  .hero { padding: 56px 22px 45px; }
  h1 { font-size: 52px; }
  .hero-actions { display: grid; }
  .trust-row { display: grid; gap: 10px; }
  .hero-art { min-height: 330px; }
  .hero-card { right: -5px; bottom: 5%; }
  .value-strip { margin: 0; border-radius: 0; }
  .value-strip article { min-height: 90px; padding: 22px; }
  .menu-section { padding: 78px 18px; }
  .section-heading { display: grid; gap: 16px; }
  .section-heading > p { margin: 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { min-height: 300px; }
  .location-section { margin: 0 18px 70px; padding: 35px 22px; border-radius: 22px; }
  .location-card { padding: 8px 18px; }
  .location-card > div { grid-template-columns: 70px 1fr; }
  footer { padding: 45px 22px; display: grid; }
  .mobile-cart { width: calc(100% - 24px); min-height: 58px; padding: 10px 16px; position: fixed; left: 12px; bottom: 10px; z-index: 30; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; border: 0; border-radius: 16px; color: white; background: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.28); text-align: left; }
  .cart-count { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--red); font-size: 12px; }
  .overlay { padding: 0; align-items: end; }
  .dialog { width: 100%; max-height: 92vh; padding: 26px 20px; border-radius: 24px 24px 0 0; }
  .dialog-header h2, .cart-header h2 { font-size: 34px; }
  .cart-panel { width: 100%; border-radius: 24px 24px 0 0; }
  .form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }
  .fulfillment-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
