/* A · Tricolore: taken from their own menu sheet. White paper, thick green frame, red rule and prices, chunky menu lettering. */
:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --alt: #ece7dc;
  --ink: #1f2420;
  --muted: #535a53;
  --title: #c0182b;
  --accent: #16723a;
  --accent-deep: #0f5329;
  --on-accent: #ffffff;
  --red: #c0182b;
  --footer: #14532b;
  --on-footer: #ffffff;
  --header: 64px;
  --bar-h: 60px;
  --display: 'Lilita One', 'Arial Rounded MT Bold', Impact, sans-serif;
  --sans: 'Nunito', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
figure { margin: 0; }
section[id], main { scroll-margin-top: calc(var(--header) + 8px); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }

.label {
  display: inline-block;
  font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title { font-size: clamp(34px, 8vw, 54px); color: var(--title); text-transform: uppercase; margin-bottom: .45em; letter-spacing: .01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--display); font-size: 19px; letter-spacing: .03em; text-decoration: none;
  border: 3px solid var(--accent);
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost { background: var(--surface); color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--on-accent); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.frame { border-radius: 14px; overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 0 0 3px var(--accent); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Menu sheet: the white page with the thick green border */
.sheet {
  background: var(--surface);
  border: 10px solid var(--accent);
  box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 6px var(--red);
  border-radius: 6px;
  padding: 18px 16px 24px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 16px;
  background: var(--surface);
  border-bottom: 4px solid var(--red);
  box-shadow: 0 4px 0 var(--accent);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 26px; color: var(--accent); text-decoration: none; text-transform: uppercase; letter-spacing: .02em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 800; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--red); }
.site-nav .nav-cta { background: var(--accent); color: var(--on-accent); padding: 8px 18px; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--accent-deep); color: var(--on-accent); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .js .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; color: var(--accent); cursor: pointer;
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 26px; height: 3px; border-radius: 2px; background: currentColor; position: relative;
  }
  .bars::before, .bars::after { content: ''; position: absolute; left: 0; }
  .bars::before { top: -8px; }
  .bars::after { top: 8px; }

  .site-nav {
    position: absolute; top: calc(var(--header) + 4px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 6px solid var(--accent);
  }
  .js .site-nav { display: none; }
  html:not(.js) .site-header { height: auto; min-height: var(--header); flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .site-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; border: 0; background: none; width: 100%; }
  html:not(.js) .site-nav a { padding: 4px 0; border: 0; }
  html:not(.js) .site-nav .nav-cta { margin: 4px 0; padding: 4px 12px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 16px; border-top: 1px solid var(--alt); }
  .site-nav .nav-cta { margin: 12px 16px 16px; text-align: center; }
}

/* Hero: status line and call button must sit above the fold at 390x844 */
.hero { padding: 16px 0 36px; }
.sheet-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  border-bottom: 4px solid var(--red);
  padding-bottom: 10px; margin-bottom: 14px;
}
.sheet-addr { margin: 0; color: var(--red); font-weight: 800; font-size: 13px; line-height: 1.35; }
.sheet-phone { font-family: var(--display); color: var(--red); font-size: clamp(22px, 6vw, 40px); text-decoration: none; white-space: nowrap; line-height: 1; }
.hero-grid { display: grid; gap: 20px; }
.hero h1 {
  font-size: clamp(54px, 16vw, 104px); color: var(--accent); text-transform: uppercase;
  line-height: .92; margin-bottom: 6px; letter-spacing: .01em;
}
.slogan { font-family: var(--display); font-size: clamp(19px, 5vw, 26px); color: var(--red); margin-bottom: 14px; }
.hero-lead { font-size: 17px; max-width: 30em; color: var(--muted); margin: 16px 0 0; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); border: 2px solid var(--alt); padding: 6px 14px; border-radius: 14px;
  font-weight: 800; margin-bottom: 14px;
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--muted); flex: none; }
.status:has([data-state='open']) .dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(22, 114, 58, .2); }
.status:has([data-state='closed']) .dot { background: var(--red); }

/* The logo ring: pizza photo inside a green-white-red circle */
.hero-photo {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; max-width: 460px; width: 100%; justify-self: center;
  padding: 10px;
  background: conic-gradient(from -90deg, var(--accent) 0 50%, var(--red) 50% 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid var(--surface); }

@media (max-width: 899px) {
  .hero-photo { max-width: 300px; }
}
@media (min-width: 900px) {
  .sheet { padding: 26px 36px 36px; }
  .hero { padding: 28px 0 56px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
  .sheet-addr { font-size: 15px; }
}

/* Split layouts */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
}

.about { padding: 40px 0 56px; }
.about .oven { aspect-ratio: 4 / 5; max-height: 620px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.facts li { background: var(--surface); border: 2px solid var(--alt); border-radius: 10px; padding: 12px 8px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--red); line-height: 1.1; }

/* Menu: tabs only show once JS marks them ready; without JS every panel stays visible */
.menu { padding: 16px 0 56px; }
.menu-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 0 14px; margin-bottom: 4px;
  border-bottom: 4px solid var(--red);
  scrollbar-width: thin;
}
.menu-tabs button {
  flex: none;
  font: inherit; font-weight: 800; font-size: 15px;
  padding: 8px 16px; border-radius: 999px;
  border: 3px solid var(--accent); background: var(--surface); color: var(--accent);
  cursor: pointer;
}
.menu-tabs button[aria-selected='true'] { background: var(--accent); color: var(--on-accent); }
.menu-tabs:not(.is-ready) { display: none; }
.menu-panel { padding-top: 14px; }
.menu-panel + .menu-panel { border-top: 4px solid var(--red); margin-top: 18px; }
.menu-tabs.is-ready ~ .menu-panel { border-top: 0; margin-top: 0; }

.group-title { font-size: 28px; color: var(--accent); text-transform: uppercase; margin: 4px 0 8px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 10px 0; border-bottom: 1px dashed var(--alt); break-inside: avoid; }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.price { color: var(--red); white-space: nowrap; }
.items p { margin: 2px 0 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
@media (min-width: 800px) {
  .two-col { columns: 2; column-gap: 48px; }
}

.extras { margin-top: 22px; text-align: center; border-top: 4px solid var(--red); padding-top: 16px; }
.extras-title { font-family: var(--display); color: var(--red); font-size: clamp(18px, 4.6vw, 26px); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; }
.extras p:last-child { color: var(--ink); font-weight: 600; font-style: italic; margin: 0; }
.menu-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* Hours */
.hours { padding: 56px 0; background: var(--surface); border-top: 8px solid var(--accent); border-bottom: 8px solid var(--red); }
.week { list-style: none; margin: 0 0 22px; padding: 0; max-width: 440px; }
.week li { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 2px dashed var(--alt); font-weight: 600; }
.week li.is-today { background: var(--accent); color: var(--on-accent); font-weight: 800; border-radius: 999px; border-bottom-color: transparent; }
.deliver { max-width: 440px; }
.deliver-title { font-family: var(--display); color: var(--red); font-size: 22px; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; margin-bottom: 8px; }
.deliver a { color: var(--accent); font-weight: 800; }
.frame.tall { aspect-ratio: 4 / 3; }

/* Gallery */
.gallery { padding: 56px 0; }
.gallery-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gallery-grid figure { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1; background: var(--alt); border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--alt); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .g-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-grid .g-tall { grid-row: span 2; aspect-ratio: auto; }
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid .g-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery-grid figure:last-child.g-wide { grid-column: span 4; grid-row: auto; aspect-ratio: 21 / 9; }
}

/* Reviews: themes from real reviews, never invented quotes */
.reviews { padding: 56px 0; background: var(--alt); }
.stars { color: #9a6800; letter-spacing: .05em; }
.reviews-sub { color: var(--muted); }
.themes { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.themes li { background: var(--surface); padding: 18px; border-radius: 12px; border-left: 8px solid var(--accent); }
.themes li:nth-child(3) { border-left-color: var(--red); }
.themes h3 { font-size: 24px; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.themes p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .themes { grid-template-columns: repeat(3, 1fr); } }

/* Find us */
.find { padding: 56px 0; background: var(--surface); }
.find-grid { display: grid; gap: 28px; }
address { font-style: normal; font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.directions { color: var(--muted); max-width: 30em; }
.map { border-radius: 14px; overflow: hidden; min-height: 320px; border: 6px solid var(--accent); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 900px) { .find-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }

/* Footer */
.site-footer { background: var(--footer); color: var(--on-footer); padding-bottom: 24px; border-top: 8px solid var(--red); }
.footer-grid { display: grid; gap: 24px; padding-top: 32px; }
.footer-brand { font-family: var(--display); font-size: 40px; text-transform: uppercase; margin: 0; }
.footer-sub { margin: 0; }
.site-footer h2 { font-family: var(--sans); font-weight: 800; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.site-footer a { color: var(--on-footer); }
.copyright { text-align: center; font-size: 13px; margin: 24px 16px 0; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1.3fr 1fr;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .12);
  border-top: 4px solid var(--red);
}
.mobile-bar a {
  display: grid; place-items: center;
  font-family: var(--display); font-size: 19px; letter-spacing: .03em; text-decoration: none;
  background: var(--accent); color: var(--on-accent);
}
.mobile-bar .mobile-bar-alt { background: var(--surface); color: var(--accent); }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
