:root {
  --tomato: #b3261e;
  --tomato-deep: #8c1c16;
  --cream: #f7f1e6;
  --cream-2: #efe5d3;
  --basil: #2f5d3a;
  --char: #1d1a17;
  --ink: #2b2622;
  --muted: #6f655b;
  --line: #e2d6c2;
  --gold: #e8b04a;
  --radius: 14px;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --pin: #059669;
  --pin-deep: #065f46;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 44px); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--tomato); margin: 0 0 10px; }
.lede { color: var(--muted); max-width: 60ch; font-size: 18px; }
.fine { font-size: 13px; color: var(--muted); }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 0; font: 600 15px var(--body); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--tomato); color: #fff; }
.btn-primary:hover { background: var(--tomato-deep); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost-dark { background: transparent; border: 1.5px solid var(--char); color: var(--char); }
.btn-block { width: 100%; }

.demo-bar { background: var(--char); color: #f3e9d8; font-size: 13px; text-align: center; padding: 8px 16px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247,241,230,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--tomato); color: var(--cream); display: grid; place-items: center; font: 900 22px var(--display); }
.brand-word { font: 900 24px var(--display); color: var(--char); }
.brand-word em { font-style: italic; font-weight: 500; color: var(--tomato); margin-left: 6px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--tomato); }
.cart-count { background: #fff; color: var(--tomato); border-radius: 999px; min-width: 22px; height: 22px; font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
.hamburger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.hamburger span { display: block; height: 2px; background: var(--char); margin: 5px 0; border-radius: 2px; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 16px 16px; gap: 4px; }
.mobile-nav a { padding: 12px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }

.hero { position: relative; min-height: min(720px, 88vh); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,14,10,.88) 0%, rgba(20,14,10,.62) 42%, rgba(20,14,10,.05) 75%); }
.hero-inner { position: relative; padding: 72px 0; }
.hero-copy { max-width: 560px; }
.hero .kicker { color: var(--gold); }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 900; }
.hero-sub { font-size: 19px; color: #f1e7d8; margin: 0 0 28px; }
.slot-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; background: rgba(247,241,230,.97); color: var(--char); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.slot-label { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--basil); }
.slot-time { margin: 0; font: 900 40px/1 var(--display); color: var(--char); }
.slot-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.slot-card .btn-ghost { background: transparent; color: var(--char); border: 1.5px solid var(--char); }
.proof { margin-top: 22px; font-size: 14px; color: #e9dcc7; }
.proof span { opacity: .5; margin: 0 6px; }

.deals { margin-top: -54px; position: relative; z-index: 2; }
.deal-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--char); color: var(--cream); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(40,20,10,.25); }
.deal-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.deal-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.deal-body .kicker { color: var(--gold); }
.deal-body p { color: #dccfbb; }
.deal-row { display: flex; align-items: center; gap: 20px; margin: 10px 0 12px; }
.price-big { font: 900 48px/1 var(--display); color: #fff; }
.deal-body .fine { color: #a89c8b; }

.menu { padding: 96px 0 40px; }
.section-head { margin-bottom: 28px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; position: sticky; top: 70px; z-index: 5; background: var(--cream); padding: 10px 0; }
.tab { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.tab.on { background: var(--char); border-color: var(--char); color: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(60,30,10,.12); }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--cream-2); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 22px; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.card-price { font-weight: 700; }
.card-price small { font-weight: 500; color: var(--muted); }
.tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.tag-v { background: #e3efe4; color: var(--basil); }
.tag-hot { background: #fbe3df; color: var(--tomato); }
.add { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--tomato); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

.story { background: var(--char); color: var(--cream); margin-top: 60px; }
.story-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 90px 0; }
.story img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; }
.story h2 { font-style: italic; font-weight: 500; font-size: clamp(26px, 3.2vw, 38px); }
.story p { color: #d8ccb8; font-size: 17px; }
.story .kicker { color: var(--gold); }
.sig { font: italic 500 22px var(--display); color: var(--gold) !important; }

.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 90px 0; }
.visit-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.visit-card h2 { font-size: 28px; }
.open-pill { font: 600 13px var(--body); background: #e3efe4; color: var(--basil); padding: 4px 10px; border-radius: 999px; vertical-align: middle; }
.open-pill.closed { background: #f3e5e3; color: var(--tomato); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hours li.today { font-weight: 700; color: var(--tomato); }
.pc-form, .enquiry { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.enquiry { flex-direction: column; }
input, select { font: 15px var(--body); padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); }
.pc-form input { width: 110px; }
.pc-result { font-weight: 600; min-height: 1.5em; }

.shopfront { position: relative; }
.shopfront img { width: 100%; height: 420px; object-fit: cover; }
.shopfront-copy { position: absolute; left: 0; right: 0; bottom: 24px; color: #fff; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.6); }

.site-footer { background: var(--char); color: #a89c8b; font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; }

.lobby { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.lobby-panel { width: min(330px, calc(100vw - 40px)); background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); padding: 16px; display: none; flex-direction: column; gap: 8px; }
.lobby.open .lobby-panel { display: flex; }
.lobby-head { margin: 0 0 4px; font: 700 18px var(--display); }
.bubble { padding: 10px 13px; border-radius: 14px; font-size: 14px; max-width: 88%; }
.bubble.me { align-self: flex-end; background: var(--tomato); color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: var(--cream-2); border-bottom-left-radius: 4px; }
.lobby-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--basil); color: #fff; font: 700 26px var(--display); cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.3); }

.builder { border: 0; border-radius: 22px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: 92vh; box-shadow: 0 40px 80px rgba(0,0,0,.35); background: #fff; color: var(--ink); }
.builder::backdrop { background: rgba(20,14,10,.55); }
.builder-inner { display: flex; flex-direction: column; }
.b-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.b-body { padding: 20px 24px 8px; display: flex; flex-direction: column; gap: 18px; }
.b-body h3 { font-size: 30px; margin: 0; }
.b-group p { margin: 0 0 8px; font-weight: 700; font-size: 14px; }
.b-group p span { font-weight: 500; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 500 14px var(--body); cursor: pointer; color: var(--ink); }
.chip.on { background: var(--char); color: #fff; border-color: var(--char); }
.chip.off { text-decoration: line-through; color: var(--muted); }
.b-foot { position: sticky; bottom: 0; background: #fff; padding: 14px 24px 20px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.b-foot .btn { flex: 1; }
.b-close { background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--muted); }
.allergens { font-size: 13px; color: var(--muted); }
.half-note { font-size: 13px; color: var(--basil); font-weight: 600; }

.cart { position: fixed; inset: 0 0 0 auto; width: min(420px, 100vw); background: var(--cream); z-index: 60; box-shadow: -20px 0 50px rgba(0,0,0,.25); overflow-y: auto; }
.cart-inner { padding: 22px; display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 30px; margin: 0; }
.x { background: none; border: 0; font-size: 32px; cursor: pointer; }
.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream-2); border-radius: 999px; padding: 4px; }
.mode-toggle button { border: 0; background: none; padding: 10px; border-radius: 999px; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.mode-toggle button.on { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.when { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.line { background: #fff; border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 12px; }
.line small { display: block; color: var(--muted); font-size: 13px; }
.totals { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font: 700 22px var(--display); }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .header-cta { margin-left: auto; }
  .deal-card, .story-inner { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,14,10,.35) 0%, rgba(20,14,10,.85) 55%); }
  .hero { align-items: flex-end; }
}
@media (max-width: 520px) {
  .header-cta { padding: 0 14px; height: 40px; font-size: 14px; }
  .brand-word { font-size: 20px; }
  .deal-body { padding: 24px; }
  .slot-time { font-size: 34px; }
}

/* ── "Live in DiscoverWorthy" pins (?pins=1) — the house pattern from the app's
      brand preview: a dashed outline and a badge saying what DW does there. ── */
html.pins [data-dw-feature] { position: relative; outline: 2.5px dashed var(--pin); outline-offset: 5px; }
html.pins [data-dw-feature]::after {
  content: "✓  " attr(data-pin);
  position: absolute; top: -16px; right: 12px; z-index: 30; max-width: min(380px, 80%);
  background: var(--pin-deep); color: #fff; font: 600 13px/1.35 var(--body); padding: 7px 13px;
  border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none;
}
html.pins .lobby[data-dw-feature]::after { top: auto; bottom: 70px; right: 0; white-space: normal; width: 260px; }
html.pins .lobby-panel { display: flex; }
html.pins .site-header { position: relative; }
html.pins .tabs { position: static; }

/* ── Hero: build your half-and-half ─────────────────────────────────── */
.hero2 { position: relative; background: var(--char); color: var(--cream); overflow: hidden; padding: 56px 0 96px; }
.hero2 .glow { position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(circle, rgba(232,120,40,.38) 0%, rgba(179,38,30,.16) 40%, transparent 68%); pointer-events: none; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .75; transform: scale(1.04); } }
.hero2-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; }
.hero2 .kicker { color: var(--gold); }
.hero2 h1 { font-size: clamp(54px, 8vw, 104px); font-weight: 900; line-height: .92; margin-bottom: 20px; }
.hero2 h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero2 .hero-sub { font-size: 19px; color: #e6d9c5; max-width: 30ch; margin: 0 0 26px; }
.order-card { background: var(--cream); color: var(--char); border-radius: 18px; padding: 18px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.4); max-width: 470px; }
.sizes { display: inline-grid; grid-auto-flow: column; background: var(--cream-2); border-radius: 999px; padding: 4px; margin-bottom: 12px; }
.sizes button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.sizes button.on { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.order-line { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.order-line strong { color: var(--char); font: 700 22px var(--display); display: block; }
.order-row { display: flex; align-items: center; gap: 18px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.ready { margin: 0; font-size: 14px; line-height: 1.3; }
.ready strong { font: 900 24px var(--display); }
.ready span { color: var(--muted); font-size: 13px; }
.hero2 .proof { color: #cbbda7; }

.stage { position: relative; display: grid; justify-items: center; }
.pizza { position: relative; width: min(560px, 86vw); aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.half { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; border-radius: 50%; }
.half-l { clip-path: inset(0 50% 0 0); }
.half-r { clip-path: inset(0 0 0 50%); }
.half img { width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .2s; }
.half:hover img { filter: brightness(1.08); }
.half img.spin-in { animation: spinIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes spinIn { from { transform: rotate(-110deg) scale(.9); opacity: .2; } to { transform: none; opacity: 1; } }
.cut { position: absolute; left: 50%; top: 2%; bottom: 2%; width: 3px; transform: translateX(-50%); background: linear-gradient(transparent, rgba(40,20,10,.55) 10%, rgba(40,20,10,.55) 90%, transparent); pointer-events: none; }
.half-label { position: absolute; top: 46%; margin: 0; font: italic 500 22px var(--display); color: var(--cream); background: rgba(29,26,23,.72); padding: 6px 14px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.half-label-l { left: 0; transform: translateX(-12%); }
.half-label-r { right: 0; transform: translateX(12%); }
.pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; width: min(600px, 100%); }
.picker { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.picker button { border: 1px solid rgba(247,241,230,.25); background: rgba(247,241,230,.06); color: var(--cream); border-radius: 999px; padding: 6px 12px; font: 500 13px var(--body); cursor: pointer; }
.picker button.on { background: var(--cream); color: var(--char); border-color: var(--cream); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: #cbbda7; text-decoration: none; font-size: 14px; }
.scroll-cue span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.hero2 + .deals { margin-top: 0; padding-top: 70px; }
@media (max-width: 900px) {
  .hero2 { padding: 32px 0 80px; }
  .hero2-grid { grid-template-columns: 1fr; }
  .stage { order: -1; }
  .half-label { font-size: 16px; top: auto; bottom: -6px; }
  .half-label-l { left: 4%; transform: none; } .half-label-r { right: 4%; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .glow, .scroll-cue span, .half img.spin-in { animation: none; } }
html.pins .stage[data-dw-feature]::after { top: 0; right: 0; }

/* fixes after first look */
[hidden] { display: none !important; }
.header-cta { white-space: nowrap; }
.hero2 h1 { font-size: clamp(48px, 6.2vw, 88px); }
.hero2 { padding-top: 44px; }
.pizza { width: min(520px, 86vw); }
@media (max-width: 900px) {
  .pickers { grid-template-columns: 1fr; gap: 8px; }
  .picker { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; }
  .picker::before { content: attr(aria-label); flex: none; align-self: center; font-size: 12px; color: #a89c8b; margin-right: 4px; }
  .picker button { flex: none; }
}
.hero2-grid > * { min-width: 0; }
@media (max-width: 900px) { .half-label { display: none; } .pickers { width: 100%; } }
@media (max-width: 900px) {
  .hero2-grid { grid-template-columns: minmax(0, 1fr); }
  .pickers { grid-template-columns: minmax(0, 1fr); }
  .pickers > *, .stage { min-width: 0; max-width: 100%; }
}
/* Each half is a real half-width button, so taps land on the side they look like. */
.half { inset: 0 auto 0 0; width: 50%; border-radius: 0; clip-path: none; }
.half-l { left: 0; border-radius: 999px 0 0 999px / 50% 0 0 50%; }
.half-r { left: 50%; border-radius: 0 999px 999px 0 / 0 50% 50% 0; }
.half img { position: absolute; top: 0; width: 200%; max-width: none; height: 100%; }
.half-l img { left: 0; }
.half-r img { left: -100%; }
html.pins .lobby[data-dw-feature] { position: fixed; }
.half img { pointer-events: none; }

/* live checkout (pay on pick-up or delivery) */
.co-form { display: grid; gap: 10px; margin: 12px 0 4px; }
.co-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted, #6b5e57); }
.co-form input { font: inherit; padding: 11px 12px; border-radius: 10px; border: 1.5px solid rgba(0,0,0,.15); background: #fff; }
.co-form input:focus { outline: 2px solid var(--tomato, #c8372d); border-color: transparent; }
.co-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.co-error { color: var(--tomato, #c8372d); font-size: 14px; margin: 0; min-height: 1em; }
.co-done { background: #f1f7ec; border-radius: 14px; padding: 16px; margin: 12px 0; }
.co-done strong { display: block; font-size: 18px; margin-bottom: 4px; }
.co-done p { margin: 4px 0 0; }
