/* Pizza Prosciutto — shared styles. Palette is taken from the pizza box and the tomato sauce. */
:root {
  --paper: #f6efe1;
  --paper-2: #ece1cb;
  --card: #fbf7ee;
  --kraft: #c9a77a;
  --line: #d9cbb0;
  --ink: #1f1612;
  --ink-2: #5a4b40;
  --tomato: #c4311b;
  --tomato-dark: #9c2412;
  --basil: #3d5a34;
  --cheese: #efb84a;
  --crust: #b9772f;
  --display: "Gloock", Georgia, "Times New Roman", serif;
  --accent: "Instrument Serif", Georgia, serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }

.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tomato); }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.fine { font-size: .9375rem; color: var(--ink-2); }
.love { font-family: var(--accent); font-style: italic; color: var(--tomato); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px;
  border-radius: 999px; border: 2px solid var(--ink);
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.btn-primary:hover { background: var(--tomato-dark); border-color: var(--tomato-dark); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 6px 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 239, 225, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { font-family: var(--display); font-size: 1.5rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--tomato); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .9875rem; text-decoration: none; }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; margin-left: auto; min-height: 44px; padding: 6px 16px; background: none; border: 2px solid var(--ink); border-radius: 999px; font: 600 .9375rem var(--body); color: var(--ink); cursor: pointer; }

/* Live open/closed status */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--kraft); flex: none; }
.status[data-open="true"]::before { background: #3e8e41; box-shadow: 0 0 0 3px rgba(62, 142, 65, .2); }
.status[data-open="false"]::before { background: var(--tomato); }
.status:empty { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: min(84vh, 760px); padding-block: 48px; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6.25rem); letter-spacing: -.01em; margin: 16px 0 24px; }
.hero h1 .love { display: block; font-size: 1.08em; line-height: 1; }
.hero .btn-row { margin-top: 32px; }
.hero .status { margin-top: 24px; }
.hero-pie { position: relative; justify-self: start; width: clamp(420px, 56vw, 820px); aspect-ratio: 1; margin-right: -22%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(60, 30, 10, .55); will-change: transform; }
.hero-pie img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }

/* Fact strip */
.facts { background: var(--ink); color: var(--paper); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 20px; border-left: 1px solid rgba(246, 239, 225, .18); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 400 1.75rem/1.1 var(--display); color: var(--cheese); }
.facts span { font-size: .9375rem; opacity: .85; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-kraft { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .lede, .section-dark .fine { color: #cfc2b1; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-top: 8px; }
.link-arrow { font-weight: 600; text-underline-offset: 4px; }

/* Signature pizza list */
.pie-feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.pie-feature li { padding: 24px 0; border-top: 2px solid var(--ink); }
.pie-feature h3 { font-size: 1.625rem; margin-bottom: 8px; }
.pie-feature p { color: var(--ink-2); font-size: 1rem; }
.pie-feature .from { display: block; margin-top: 10px; font-weight: 600; color: var(--tomato); font-size: .9375rem; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story figure { margin: 0; }
.story img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.story blockquote { margin: 16px 0 24px; font: 400 clamp(1.875rem, 3.6vw, 3rem)/1.12 var(--display); }
.story p + p { margin-top: 16px; }
.story .body { color: var(--ink-2); }

/* Deal cards */
.deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deal { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.deal h3 { font-size: 1.625rem; }
.deal .price { font: 400 2.5rem/1 var(--display); color: var(--tomato); }
.deal .price small { font: 500 .9375rem var(--body); color: var(--ink-2); }
.deal p { color: var(--ink-2); font-size: 1rem; }
.deal.is-hot { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.deal.is-hot .price, .deal.is-hot p, .deal.is-hot .price small { color: #fff; }

/* Photo gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); grid-column: span 4; aspect-ratio: 4 / 3; background: var(--paper-2); }
.gallery figure.wide { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.gallery figure.wide img { position: absolute; inset: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .875rem; font-weight: 500; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.visit h3 { font-size: 1.375rem; margin-bottom: 8px; }
.visit address { font-style: normal; }
.visit-block + .visit-block { margin-top: 28px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.section-dark .hours th, .section-dark .hours td { border-color: rgba(246, 239, 225, .2); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.hours tr.today th::after { content: " · today"; font-weight: 500; color: var(--tomato); }
.section-dark .hours tr.today th::after { color: var(--cheese); }
.map { width: 100%; min-height: 340px; height: 100%; border: 0; border-radius: var(--radius); background: var(--paper-2); }
.storefront { border-radius: var(--radius); width: 100%; max-width: 465px; }

/* Page intro */
.page-intro { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 40px); }
.page-intro h1 { font-size: clamp(2.75rem, 6.5vw, 5rem); margin: 10px 0 16px; }

/* Sticky jump nav */
.jump { position: sticky; top: 72px; z-index: 40; background: var(--paper); border-block: 1px solid var(--line); }
.jump ul { display: flex; gap: 6px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: block; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.jump a:hover { background: var(--ink); color: var(--paper); }

/* Sizes drawn to scale */
.sizes { display: grid; grid-template-columns: 10fr 12fr 14fr 16fr 21fr; align-items: end; gap: clamp(12px, 2vw, 24px); }
.size { text-align: center; min-width: 0; }
.size-pic { margin-inline: auto 0; width: 100%; margin-bottom: 14px; }
.disc { display: block; width: 100%; height: auto; overflow: visible; }
.disc circle { fill: var(--cheese); stroke: var(--crust); stroke-width: 3; }
.disc line { stroke: rgba(150, 90, 25, .6); stroke-width: .8; }
.slab { aspect-ratio: 21 / 15; border-radius: 8px; border: 6px solid var(--crust); background: repeating-linear-gradient(90deg, rgba(150, 90, 25, .55) 0 2px, transparent 2px 16.66%), repeating-linear-gradient(0deg, rgba(150, 90, 25, .55) 0 2px, transparent 2px 25%), var(--cheese); }
.size b { display: block; font: 400 1.25rem/1.2 var(--display); }
.size .amt { display: block; font: 400 1.875rem/1.15 var(--display); color: var(--tomato); }
.size small { display: block; font-size: .875rem; color: var(--ink-2); line-height: 1.35; }

/* Rules disclosure */
.rules { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.rules summary { padding: 14px 20px; font-weight: 600; cursor: pointer; }
.rules > div { padding: 0 20px 20px; }
.rules li { position: relative; padding: 6px 0 6px 20px; font-size: 1rem; color: var(--ink-2); }
.rules li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); }

/* Search */
.search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; }
.search input { flex: 1 1 280px; max-width: 460px; min-height: 50px; padding: 10px 20px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink); font: 400 1rem var(--body); }
.search input::placeholder { color: var(--ink-2); }
.search output { font-size: .9375rem; color: var(--ink-2); }

/* Menu lists */
.menu-group { margin-top: clamp(40px, 5vw, 64px); }
.menu-group > h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.menu-group > .fine { margin-top: 10px; }
.pies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.pie { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pie h4 { font-size: 1.3125rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 4px; }
.pie p { font-size: 1rem; color: var(--ink-2); line-height: 1.5; }
.pie .note { margin-top: 6px; }
.pie .cost { margin-left: auto; color: var(--tomato); }
.tag { padding: 1px 9px; border-radius: 999px; background: var(--paper-2); font: 600 .75rem/1.5 var(--body); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
[hidden] { display: none !important; }

/* Goodies */
.goody { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; padding-block: 32px; border-top: 2px solid var(--ink); }
.goody > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.goody.no-pic { grid-template-columns: 1fr; }
.goody h3 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); margin-bottom: 8px; }
.goody .fine { margin-top: 10px; }

/* Price rows */
.prices { display: grid; gap: 0; margin-top: 12px; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.prices b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices small { color: var(--ink-2); font-size: .875rem; }

.table-wrap { overflow-x: auto; }
.price-table { width: 100%; min-width: 520px; margin-top: 12px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; font-size: 1rem; }
.price-table thead th { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.price-table td { font-variant-numeric: tabular-nums; }
.price-table td.strong { font-weight: 700; }

.two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px clamp(32px, 5vw, 64px); }

/* Toppings */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .9375rem; }
.chips li.dbl { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips li.free { background: var(--basil); border-color: var(--basil); color: #fff; }

.steps { counter-reset: s; margin: 16px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .875rem; display: grid; place-items: center; }

.callout { padding: 20px 24px; border-radius: var(--radius); background: var(--tomato); color: #fff; font-weight: 500; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pay li { padding: 4px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-weight: 600; font-size: .9375rem; }

/* CTA band */
.cta { background: var(--tomato); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 64px); }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.cta .btn { background: #fff; border-color: #fff; color: var(--tomato-dark); }
.cta .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 56px 32px; font-size: .9875rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font: 600 .8125rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--cheese); margin-bottom: 12px; }
.foot-grid .brand { font-size: 1.875rem; display: inline-block; margin-bottom: 10px; }
.foot-grid .brand span { color: #f0705a; }
.foot-grid li { margin-bottom: 4px; }
.foot-grid a { text-underline-offset: 3px; }
.foot-grid address { font-style: normal; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(246, 239, 225, .18); font-size: .875rem; opacity: .75; }

/* Mobile action bar */
.action-bar { display: none; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 40px 0; gap: 32px; }
  .hero-pie { justify-self: center; width: min(110vw, 680px); margin: 0 calc((100% - min(110vw, 680px)) / 2) -32%; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li { padding: 20px 16px; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid rgba(246, 239, 225, .18); }
  .pie-feature, .deals { grid-template-columns: repeat(2, 1fr); }
  .story, .visit, .two-col { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .gallery figure { grid-column: span 6; }
  .gallery figure.wide { grid-column: span 12; grid-row: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--gutter) 16px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px 14px; font-size: 1.0625rem; }
  .header-call { display: none; }
  .brand { font-size: 1.3125rem; }
  .header-in { min-height: 64px; }
  .jump { top: 64px; }

  .sizes { grid-template-columns: 1fr; gap: 0; }
  .size { display: grid; grid-template-columns: 136px 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .size-pic { margin: 0 auto; width: calc(var(--in) * 6px); }
  .size .amt { font-size: 1.625rem; }
  .pies { grid-template-columns: 1fr; }
  .goody { grid-template-columns: 1fr; gap: 16px; }

  body { padding-bottom: 68px; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.2fr 1fr 1fr; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: grid; place-items: center; min-height: 60px; color: var(--paper); font-weight: 600; font-size: .9375rem; text-decoration: none; border-left: 1px solid rgba(246, 239, 225, .18); }
  .action-bar a:first-child { background: var(--tomato); border-left: 0; }
}

@media (max-width: 560px) {
  .pie-feature, .deals { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure.wide { grid-column: span 12; aspect-ratio: 4 / 3; }
  .hero h1 { font-size: clamp(2.75rem, 13.5vw, 4rem); }
  .btn-row .btn { flex: 1 1 100%; }
  .section-head { align-items: start; }
}

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

@media print {
  .site-header, .action-bar, .jump, .search, .cta, .site-footer, .map { display: none !important; }
  body { background: #fff; padding: 0; font-size: 11pt; }
  .section { padding-block: 16px; }
}
