/* Parma Pizza: redesign stylesheet
   Tokens: primitive -> semantic. Bright, appetizing light theme:
   warm-white "flour" backgrounds, tomato red from the storefront sign for actions,
   basil green, cheese yellow accents, and the espresso logo brown for text. */

:root {
  /* primitives */
  --espresso-900: #22120d;
  --espresso-800: #2a1610;
  --espresso-700: #3a2119;
  --espresso-500: #6b5448;
  --cream-50: #ffffff;
  --cream-100: #fffbf5;
  --cream-200: #fff4e4;
  --cream-300: #f1e2cc;
  --sun-100: #fff0d4;
  --tomato-50: #fdece7;
  --tomato-600: #c8321c;
  --tomato-700: #b52a15;
  --tomato-900: #8e2416;
  --basil-600: #2e7d32;
  --basil-700: #2f6e36;
  --cheese-400: #f6b93b;
  --cheese-500: #e9a21f;
  --crust-400: var(--cheese-400);
  --crust-500: var(--cheese-500);

  /* semantic */
  --bg: var(--cream-100);
  --bg-alt: var(--cream-200);
  --bg-warm: var(--sun-100);
  --surface: var(--cream-50);
  --text: #2a1a12;
  --text-muted: #6a574c;
  --text-on-dark: #fff8ee;
  --text-on-dark-muted: #f3d9c9;
  --brand: var(--espresso-800);
  --cta: var(--tomato-600);
  --cta-hover: var(--tomato-700);
  --accent: var(--cheese-400);
  --fresh: var(--basil-600);
  --border: var(--cream-300);
  --ring: #1d6fd6;

  /* type */
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --font-wordmark: "Cinzel", Georgia, serif; /* logo only: matches the original Trajan-style logo */
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --fs-h1: clamp(2.9rem, 1.8rem + 4.6vw, 5.5rem);

  /* space + shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgb(120 60 20 / 0.06), 0 8px 24px rgb(120 60 20 / 0.08);
  --shadow-lg: 0 2px 4px rgb(120 60 20 / 0.08), 0 24px 48px rgb(120 60 20 / 0.14);
  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 var(--space-4); font-weight: 600; letter-spacing: 0.005em; text-transform: uppercase; }
h3 { line-height: 1.15; letter-spacing: 0.02em; }
.hand { font-family: var(--font-hand); font-weight: 700; text-transform: none; letter-spacing: 0; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--space-4); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--espresso-800); color: var(--cream-100); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-3); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-9); }
.section--alt { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }
/* Section labels read like a note scribbled on the menu board */
.eyebrow {
  display: inline-block;
  font-family: var(--font-hand); font-weight: 700; font-size: 1.6rem; line-height: 1.1;
  color: var(--cta); margin-bottom: var(--space-2);
  transform: rotate(-2deg); transform-origin: left center;
}
.lede { font-size: var(--fs-lg); color: var(--text-muted); max-width: 60ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-5); margin-bottom: var(--space-7); }
.section-head > div { max-width: 640px; }
.section-head h2 { margin-bottom: var(--space-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5);
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-hover); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgb(42 26 18 / 0.06); }
.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: #fff; }
.btn:active { transform: translateY(1px); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.97);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgb(120 60 20 / 0.06);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(255 255 255 / 0.9); backdrop-filter: blur(10px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; min-height: 44px; }
.brand svg { height: 54px; width: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-2); }
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3);
  text-decoration: none; font-weight: 500; color: var(--text-muted); border-radius: var(--radius-sm);
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.primary-nav a:hover { color: var(--text); background: var(--tomato-50); }
.primary-nav a[aria-current="page"] { color: var(--cta); font-weight: 700; box-shadow: inset 0 -3px 0 var(--cta); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-call { white-space: nowrap; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: transparent; color: inherit; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-call .label-long { display: none; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: var(--space-3) var(--space-4) var(--space-5);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
  }
  .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { width: 100%; min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--cta); padding-left: var(--space-4); }
}
@media (max-width: 900px) {
  .header-call { padding: 0; width: 48px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -10%, rgb(246 185 59 / 0.28), transparent 62%),
    radial-gradient(760px 420px at -12% 110%, rgb(200 50 28 / 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  padding-block: var(--space-8) var(--space-9);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: var(--space-7); align-items: center; }
.hero h1 { margin-bottom: var(--space-5); }
.hero h1 em { font-family: var(--font-hand); font-style: normal; font-weight: 700; text-transform: none; color: var(--cta); font-size: 1.12em; letter-spacing: 0; display: inline-block; transform: rotate(-3deg); }
.hero .lede { color: var(--text-muted); margin-bottom: var(--space-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center; font-size: var(--fs-sm); color: var(--text-muted); }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { text-decoration: underline; }
.rating { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text); font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: var(--cheese-500); }
.stars svg { width: 16px; height: 16px; }
.status { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; color: var(--text); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa0a6; box-shadow: 0 0 0 3px rgb(154 160 166 / 0.3); }
.status[data-open="true"]::before { background: var(--basil-600); box-shadow: 0 0 0 3px rgb(46 125 50 / 0.2); }
.status[data-open="false"]::before { background: var(--tomato-600); box-shadow: 0 0 0 3px rgb(200 50 28 / 0.2); }

.hero-visual { position: relative; aspect-ratio: 16 / 11.5; }
.hero-photo { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--cream-300); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--main { inset: 0 0 24% 6%; }
.hero-photo--main img { object-position: 45% 40%; }
.hero-photo--inset { width: 42%; aspect-ratio: 4 / 3; left: 0; bottom: 0; border: 6px solid #fff; }
.hero-photo figcaption {
  position: absolute; left: var(--space-3); bottom: var(--space-3);
  background: rgb(34 18 13 / 0.78); color: var(--cream-100); font-size: 0.8125rem; font-weight: 600;
  padding: var(--space-1) var(--space-3); border-radius: 999px;
}
.hero-sketch { position: absolute; width: 190px; right: -24px; bottom: -36px; opacity: 0.55; pointer-events: none; transform: rotate(-8deg); }

@media (max-width: 900px) {
  .hero { padding-block: var(--space-7) var(--space-8); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-visual { aspect-ratio: 16 / 12.5; }
  .hero-sketch { width: 120px; right: -8px; bottom: -20px; }
}

/* ---------- info strip ---------- */
.info-strip { background: var(--basil-700); color: #fff; }
.info-strip ul { list-style: none; margin: 0; padding: var(--space-4) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.info-strip li { display: flex; align-items: center; gap: var(--space-3); font-weight: 600; }
.info-strip svg { width: 24px; height: 24px; flex: none; opacity: 0.9; }
.info-strip a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .info-strip ul { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- pizza cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.pizza-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.pizza-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pizza-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-200); }
.pizza-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.pizza-card:hover .media img { transform: scale(1.04); }
.pizza-card .body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.pizza-card h3 { margin: 0; }
.pizza-card p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.pizza-card .tag {
  align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fresh); background: rgb(62 107 58 / 0.1); padding: 2px var(--space-2); border-radius: 4px;
}
.pizza-card .price { margin-top: auto; padding-top: var(--space-3); font-weight: 700; color: var(--text); }
.sizes-note { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; color: var(--text-muted); font-size: var(--fs-sm); }
.size-chip { border: 1px solid var(--border); background: var(--surface); padding: var(--space-2) var(--space-3); border-radius: 999px; color: var(--text); font-weight: 600; }

/* ---------- specials ---------- */
.specials { position: relative; overflow: hidden; }
.specials-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-5); align-items: stretch; }
.special-intro { display: flex; flex-direction: column; justify-content: center; }
.special-card {
  position: relative; border-radius: var(--radius-lg); padding: var(--space-6);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: var(--space-3); overflow: hidden;
}
.special-card .amount { font-family: var(--font-display); font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); line-height: 1; color: var(--cta); font-weight: 600; margin: 0; }
.special-card .amount sup { font-size: 0.45em; vertical-align: 0.9em; margin-left: 2px; }
.special-card h3 { margin: 0; }
.special-card p { margin: 0; color: var(--text-muted); }
.special-card .ribbon {
  align-self: flex-start; background: var(--cta); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px var(--space-3); border-radius: 999px;
}
.specials-sketch { position: absolute; right: -40px; top: 24px; width: 260px; opacity: 0.1; pointer-events: none; }
@media (max-width: 960px) { .specials-grid { grid-template-columns: 1fr; } }

/* ---------- shop / gallery ---------- */
.shop-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--space-7); align-items: center; }
.shop-copy p { color: var(--text-muted); }
.shop-points { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-3); }
.shop-points li { display: flex; gap: var(--space-3); align-items: flex-start; }
.shop-points svg { width: 22px; height: 22px; color: var(--fresh); flex: none; margin-top: 3px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; gap: var(--space-3); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream-300); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: var(--space-2); bottom: var(--space-2);
  background: rgb(34 18 13 / 0.75); color: var(--cream-100); font-size: 0.75rem; font-weight: 600; padding: 2px var(--space-2); border-radius: 999px;
}
.g-1 { grid-column: span 4; grid-row: span 2; }
.g-2 { grid-column: span 2; grid-row: span 3; }
.g-3 { grid-column: span 2; grid-row: span 2; }
.g-4 { grid-column: span 2; grid-row: span 1; }
.g-5 { grid-column: span 6; grid-row: span 2; }
.g-5 img { object-position: 50% 45%; }
@media (max-width: 960px) {
  .shop-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
@media (max-width: 560px) {
  .gallery { grid-auto-rows: 90px; }
  .g-1 { grid-column: span 6; }
  .g-2 { grid-column: span 3; grid-row: span 3; }
  .g-3 { grid-column: span 3; grid-row: span 2; }
  .g-4 { grid-column: span 3; }
}

/* ---------- more than pizza ---------- */
.mtp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.dish { margin: 0; }
.dish .media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream-300); box-shadow: var(--shadow); }
.dish img { width: 100%; height: 100%; object-fit: cover; }
.dish figcaption { padding-top: var(--space-3); }
.dish strong { display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.2rem; }
.dish span { color: var(--text-muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .mtp-grid { grid-template-columns: repeat(2, 1fr); } }
.sketch-row { display: flex; justify-content: center; gap: var(--space-7); margin-top: var(--space-7); opacity: 0.75; }
.sketch-row img { height: 110px; width: auto; }
@media (max-width: 600px) { .sketch-row img { height: 72px; } .sketch-row { gap: var(--space-5); } }

/* ---------- reviews ---------- */
.reviews-wrap { display: grid; grid-template-columns: 300px 1fr; gap: var(--space-7); align-items: start; }
.score { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow); text-align: center; }
.score .big { font-family: var(--font-display); font-size: 5rem; line-height: 1; font-weight: 600; margin: 0; }
.score .stars { color: var(--crust-500); justify-content: center; margin: var(--space-2) 0; }
.score .stars svg { width: 22px; height: 22px; }
.score p { color: var(--text-muted); font-size: var(--fs-sm); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.quote blockquote { margin: 0; font-family: var(--font-hand); font-weight: 700; font-size: 1.75rem; line-height: 1.15; }
.quote figcaption { margin-top: auto; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 600; }
.review-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
@media (max-width: 960px) { .reviews-wrap { grid-template-columns: 1fr; } .quotes { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: stretch; }
.visit-card { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.visit-card h3 { margin: 0 0 var(--space-2); font-size: 1rem; font-family: var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cta); }
.visit-card address { font-style: normal; font-size: var(--fs-lg); }
.visit-card .phone { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; font-size: 2.25rem; text-decoration: none; display: inline-block; min-height: 44px; }
.visit-card .phone:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: var(--space-2) 0; border-bottom: 1px solid var(--border); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--text); font-weight: 700; background: var(--tomato-50); }
.hours tr.is-today th { padding-left: var(--space-2); }
.hours tr.is-today td { padding-right: var(--space-2); }
.hours tr.is-today th::after { content: " · Today"; color: var(--cta); font-weight: 600; }
.visit-note { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--cream-300); box-shadow: var(--shadow); }
.map-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load {
  position: absolute; left: 50%; bottom: var(--space-5); transform: translateX(-50%);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .map-wrap { min-height: 320px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--tomato-900); color: var(--text-on-dark-muted); padding: var(--space-8) 0 var(--space-6); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark); margin-bottom: var(--space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-1); }
.site-footer a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.hero-meta .rating, .info-strip a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.18); margin-top: var(--space-7); padding-top: var(--space-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgb(120 60 20 / 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 60px; color: var(--text); text-decoration: none; font-size: 0.8125rem; font-weight: 700;
  }
  .action-bar a:first-child { background: var(--cta); color: #fff; }
  .action-bar svg { width: 22px; height: 22px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* ---------- menu page ---------- */
.page-hero { background: radial-gradient(900px 420px at 90% -20%, rgb(246 185 59 / 0.3), transparent 60%), var(--bg-alt); color: var(--text); padding: var(--space-8) 0 var(--space-7); position: relative; overflow: hidden; }
.page-hero .lede { color: var(--text-muted); }
.page-hero-sketch { position: absolute; right: 4%; top: 50%; transform: translateY(-50%) rotate(-6deg); width: 300px; opacity: 0.18; pointer-events: none; }
@media (max-width: 760px) { .page-hero-sketch { width: 160px; right: -30px; opacity: 0.12; } }
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--border);
}
.menu-nav ul { list-style: none; margin: 0; padding: var(--space-2) 0; display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: thin; }
.menu-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); white-space: nowrap;
  border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--text-muted); border: 1px solid transparent;
}
.menu-nav a:hover { color: var(--text); border-color: var(--border); }
.menu-nav a.is-active { background: var(--cta); color: #fff; }
.menu-section { padding-block: var(--space-8) var(--space-6); border-bottom: 1px solid var(--border); }
.menu-section:last-of-type { border-bottom: 0; }
.menu-section-head { display: grid; grid-template-columns: 1fr auto; gap: var(--space-5); align-items: end; margin-bottom: var(--space-6); }
.menu-section-head img { height: 96px; width: auto; opacity: 0.8; }
@media (max-width: 600px) { .menu-section-head img { height: 64px; } }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1) var(--space-7); list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item { padding: var(--space-4) 0; border-bottom: 1px solid var(--cream-300); }
.menu-item-top { display: flex; align-items: baseline; gap: var(--space-3); }
.menu-item h3 { font-size: 1.2rem; margin: 0; }
.menu-item .dots { flex: 1; }
.menu-item .price { font-weight: 700; white-space: nowrap; }
.menu-item p { margin: var(--space-1) 0 0; color: var(--text-muted); font-size: var(--fs-sm); }
.menu-item .note { color: var(--fresh); font-weight: 700; font-size: 0.8125rem; }
.size-table { width: 100%; max-width: 680px; border-collapse: collapse; margin-bottom: var(--space-6); background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.size-table caption { text-align: left; font-weight: 700; padding-bottom: var(--space-2); }
.size-table th, .size-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--border); }
.size-table thead th { background: var(--tomato-50); color: var(--text); font-size: var(--fs-sm); }
.size-table td:not(:first-child), .size-table th:not(:first-child) { text-align: right; }
.table-scroll { overflow-x: auto; }
.topping-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.topping-groups div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); }
.topping-groups h3 { font-size: 1.125rem; }
.topping-groups p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 760px) { .topping-groups { grid-template-columns: 1fr; } }
.menu-disclaimer { color: var(--text-muted); font-size: var(--fs-sm); padding-block: var(--space-6); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Multi-page components
   ========================================================= */
.page-hero h1 { margin-bottom: var(--space-3); }
.page-hero .hand-note { font-family: var(--font-hand); font-size: 1.75rem; color: var(--cta); margin: 0 0 var(--space-2); transform: rotate(-2deg); display: inline-block; }
.page-hero--photo { padding-block: var(--space-9) var(--space-8); }
.page-hero--photo .page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--photo .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 251 245 / 0.97) 0%, rgb(255 251 245 / 0.9) 48%, rgb(255 251 245 / 0.1) 100%); }
@media (max-width: 760px) { .page-hero--photo .page-hero-bg::after { background: rgb(255 251 245 / 0.9); } }
.page-hero--photo .container { position: relative; z-index: 1; }
.page-hero a { color: inherit; }
.breadcrumbs { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: var(--space-2); opacity: 0.6; }
.breadcrumbs a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumbs a:hover { text-decoration: underline; }

/* split feature rows (about, specials) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.split + .split { margin-top: var(--space-8); }
.split--flip > :first-child { order: 2; }
.split-media { position: relative; margin: 0; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .sketch-tag { position: absolute; width: 130px; right: -20px; bottom: -30px; transform: rotate(8deg); pointer-events: none; box-shadow: none; aspect-ratio: auto; border-radius: 0; }
.split p { color: var(--text-muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--space-5); } .split--flip > :first-child { order: 0; } .split-media .sketch-tag { width: 90px; right: 0; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-6); }
.feature svg { width: 32px; height: 32px; color: var(--cta); margin-bottom: var(--space-3); }
.feature h3 { font-size: 1.35rem; margin-bottom: var(--space-2); }
.feature p { margin: 0; color: var(--text-muted); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-6); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--cta); display: block; margin-bottom: var(--space-3); }
.steps h3 { font-size: 1.3rem; margin-bottom: var(--space-2); }
.steps p { margin: 0; color: var(--text-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.cta-band { background: var(--tomato-600); color: #fff; border-radius: var(--radius-lg); padding: var(--space-7); display: grid; grid-template-columns: 1fr auto; gap: var(--space-5); align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin: 0 0 var(--space-2); }
.cta-band p { margin: 0; color: #fff; }
.cta-band .btn--light { color: var(--tomato-700); position: relative; }
.cta-band-sketch { position: absolute; right: 22%; top: -30px; width: 200px; opacity: 0.16; pointer-events: none; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: var(--space-6); } .cta-band-sketch { right: -40px; } }

/* gallery page */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filter-bar button {
  min-height: 44px; padding: 0 var(--space-4); border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font: 500 0.9375rem var(--font-body); color: var(--text-muted); cursor: pointer; transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.filter-bar button:hover { color: var(--text); }
.filter-bar button[aria-pressed="true"] { background: var(--cta); color: #fff; border-color: var(--cta); }
.masonry { columns: 3 260px; column-gap: var(--space-4); }
.masonry .tile { break-inside: avoid; margin: 0 0 var(--space-4); }
.masonry .tile[hidden] { display: none; }
.tile button { display: block; width: 100%; padding: 0; border: 0; background: var(--cream-300); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform 400ms var(--ease); }
.tile button:hover img { transform: scale(1.03); }
.tile figcaption { font-size: var(--fs-sm); color: var(--text-muted); padding: var(--space-2) var(--space-1) 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(20 10 7 / 0.9); }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { color: var(--cream-100); text-align: center; margin: var(--space-3) 0 0; }
.lightbox-close, .lightbox-nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--cream-100); color: var(--espresso-800); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.lightbox-close { top: -58px; right: 0; }
.lightbox-close svg, .lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
@media (max-width: 1240px) { .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-6); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.faq { display: grid; gap: var(--space-3); max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-4) var(--space-5); min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--cta); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); }
.faq details > div p:last-child { margin: 0; }

/* prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: var(--space-7); }
.prose p, .prose li { color: var(--text-muted); }
.prose a { color: var(--cta); }

/* 404 */
.notfound { text-align: center; padding-block: var(--space-9); }
.notfound img { width: 240px; margin: 0 auto var(--space-5); }
.notfound .big { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--cta); margin: 0; font-weight: 600; }
.notfound .btns { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-5); }

/* consent banner (only rendered when analytics is configured) */
.consent {
  position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 60; max-width: 560px;
  background: #fff; color: var(--text); border-radius: var(--radius); padding: var(--space-5);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.consent p { margin: 0 0 var(--space-4); font-size: var(--fs-sm); color: var(--text-muted); }
.consent a { color: var(--cta); }
.consent .btns { display: flex; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 760px) { .consent { bottom: calc(68px + env(safe-area-inset-bottom)); } }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.link-button:hover { color: #fff; text-decoration: underline; }
