/* Pizza Pit, Budgewoi: shared styles
   Palette comes from the logo: basil green, tomato red, oven orange.
   Change colours in one place, in :root below. */

:root {
  --basil: #1e5b3a;
  --basil-deep: #123a25;
  --tomato: #c9302c;
  --tomato-dark: #a82420;
  --oven: #f0930f;
  --flour: #ffffff;
  --mist: #edf3ea;
  --ink: #1b2a20;
  --muted: #4f6155;
  --line: #b9c8bb;
  --font-display: "Lilita One", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--flour);
}

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--basil-deep);
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; max-width: 65ch; }
a { color: var(--basil); text-underline-offset: 0.2em; }
a:hover { color: var(--tomato); }

:focus-visible { outline: 3px solid var(--oven); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--oven); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand img { height: 52px; width: auto; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500;
  padding: 0.4rem 0; border-bottom: 3px solid transparent;
}
.site-nav a:not(.btn):hover { border-color: var(--oven); color: var(--ink); }
.site-nav a[aria-current="page"] { border-color: var(--tomato); }

.nav-toggle {
  display: none; font: inherit; font-weight: 700; cursor: pointer;
  background: var(--basil); color: #fff; border: 0; border-radius: 999px; padding: 0.55rem 1.1rem;
}

.gingham {
  height: 16px; background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(201, 48, 44, 0.5) 50%, transparent 50%),
    linear-gradient(rgba(201, 48, 44, 0.5) 50%, transparent 50%);
  background-size: 32px 32px;
}

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; padding: 0.5rem 1.25rem 1.5rem; border-bottom: 1px solid var(--mist);
    box-shadow: 0 14px 20px rgba(0, 0, 0, 0.08);
  }
  .js .site-nav.open { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav li a:not(.btn) { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--mist); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-order { background: var(--tomato); color: #fff; }
.btn-order:hover { background: var(--tomato-dark); color: #fff; }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: inherit; }
.btn-green { background: var(--basil); color: #fff; }
.btn-green:hover { background: var(--basil-deep); color: #fff; }
.btn-outline { border-color: var(--basil); color: var(--basil); background: transparent; }
.btn-outline:hover { background: var(--basil); color: #fff; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* ---------- Hero ---------- */
.hero { background: var(--basil-deep); color: #fff; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.25rem; color: #e4efe6; }
.hero-note { font-size: 0.95rem; color: #bfd4c4; margin: 1.25rem 0 0; }

.hero-side { display: grid; min-height: 440px; }
.hero-side > * { grid-area: 1 / 1; }
.hero-pizza { justify-self: end; align-self: center; width: min(500px, 105%); transform: translateX(20%); }

.docket-wrap {
  justify-self: start; align-self: center; z-index: 1; width: min(330px, 90%);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}
.docket {
  background: #fff; color: var(--ink); padding: 1.4rem 1.4rem 2.2rem;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  animation: print 0.9s ease-out both;
}
@keyframes print {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
.docket h2 { font-size: 1.6rem; margin: 0; color: var(--basil-deep); }
.docket-day { color: var(--muted); font-size: 0.95rem; margin: 0 0 0.9rem; }
.docket-rows { list-style: none; margin: 0; padding: 0; border-top: 2px dashed var(--line); }
.docket-rows li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 2px dashed var(--line);
}
.docket-rows span:first-child { font-weight: 700; }
.docket-rows span:last-child { text-align: right; }
.docket-deal {
  margin: 1rem 0 0; padding: 0.6rem 0.8rem; background: var(--oven);
  color: var(--ink); font-weight: 700; border-radius: 6px;
}
.docket-foot { margin: 0.9rem 0 0; font-size: 0.92rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { min-height: 400px; }
  .hero-pizza { width: 420px; transform: translateX(28%); }
}
@media (prefers-reduced-motion: reduce) {
  .docket { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tint { background: var(--mist); }
.section-dark { background: var(--basil-deep); color: #e4efe6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #fff; }

.page-head { background: var(--mist); padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.4rem; }
.page-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.note {
  border-left: 5px solid var(--oven); background: var(--mist);
  padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; margin: 1.5rem 0;
}
.note p:last-child { margin-bottom: 0; }
.section-tint .note { background: #fff; }

/* Three ways to order: reads like a docket, divided by dashed lines */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }
.way { padding: 0 1.75rem; }
.way:first-child { padding-left: 0; }
.way:last-child { padding-right: 0; }
.way + .way { border-left: 2px dashed var(--line); }
.way h3 { margin-bottom: 0.3em; }
@media (max-width: 800px) {
  .ways { grid-template-columns: 1fr; }
  .way, .way:first-child, .way:last-child { padding: 1.25rem 0; }
  .way + .way { border-left: 0; border-top: 2px dashed var(--line); }
}

/* Deals */
.deals { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 1.5rem; }
.deal { border-top: 6px solid var(--oven); padding-top: 1.25rem; }
.deal p { color: #e4efe6; }
.sizes { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 1rem 0; }
.sizes div { display: flex; flex-direction: column; }
.big-price { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--oven); line-height: 1; }
.size-label { font-size: 0.95rem; color: #e4efe6; }
@media (max-width: 800px) { .deals { grid-template-columns: 1fr; } }

/* Priced lists with dotted leaders, like a printed menu */
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 0.5rem 0; }
.menu-list .line { display: flex; align-items: baseline; gap: 0.6rem; }
.menu-list .name { font-weight: 700; }
.menu-list .leader { flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted #a9b9ac; transform: translateY(-0.25em); }
.menu-list .price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-list .desc { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.97rem; max-width: 60ch; }
.menu-cols { columns: 2; column-gap: clamp(1.5rem, 5vw, 3.5rem); }
.menu-cols li { break-inside: avoid; }
@media (max-width: 800px) { .menu-cols { columns: 1; } }

.tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 0.05rem 0.55rem;
  border-radius: 999px; background: var(--mist); color: var(--basil); vertical-align: middle; margin-left: 0.35rem;
}
.section-tint .tag { background: #fff; }

/* ---------- Menu page ---------- */
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 40; background: #fff;
  border-bottom: 1px solid var(--mist); overflow-x: auto;
}
.menu-nav ul { display: flex; gap: 0.4rem; list-style: none; margin: 0; padding: 0.6rem 0; white-space: nowrap; }
.menu-nav a {
  display: block; padding: 0.35rem 0.9rem; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 600; background: var(--mist);
}
.menu-nav a:hover { background: var(--oven); color: var(--ink); }
.menu-nav a[aria-current="true"] { background: var(--basil); color: #fff; }
.menu-section { scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-section h2 { margin-bottom: 0.3em; }
.menu-section h3 { margin-top: 1.75rem; }
.sub { color: var(--muted); margin-bottom: 1.25rem; }

.table-scroll { overflow-x: auto; margin: 1rem 0 1.5rem; }
.sizes-table { border-collapse: collapse; width: 100%; min-width: 460px; background: #fff; }
.sizes-table caption { text-align: left; font-weight: 700; padding-bottom: 0.4rem; }
.sizes-table th, .sizes-table td { padding: 0.55rem 0.8rem; text-align: left; border-bottom: 2px dashed var(--line); }
.sizes-table thead th { border-bottom: 3px solid var(--basil); }
.sizes-table td.price-cell { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.dish-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(1.5rem, 5vw, 3.5rem); }
.dish-list li { break-inside: avoid; padding: 0.45rem 0; }
.dish-list b { display: block; }
.dish-list span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 800px) { .dish-list { columns: 1; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0.5rem 0 1rem; padding: 0; }
.chips li { background: var(--mist); border-radius: 999px; padding: 0.2rem 0.75rem; font-size: 0.95rem; }

/* ---------- Feasts ---------- */
.feast { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem 2.5rem; padding: 2.25rem 0; border-top: 2px dashed var(--line); scroll-margin-top: 90px; }
.feast:first-of-type { border-top: 0; padding-top: 0; }
.feast-price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--tomato); }
.feast-meta { color: var(--muted); }
.feast h3 { margin-bottom: 0.3em; }
@media (max-width: 700px) { .feast { grid-template-columns: 1fr; } }

.rules { padding-left: 1.2rem; margin: 0 0 1.25rem; max-width: 70ch; }
.rules li { margin-bottom: 0.5rem; padding-left: 0.2rem; }

/* ---------- Delivery ---------- */
.zone { border-left: 6px solid var(--oven); padding: 0.25rem 0 0.25rem 1.25rem; margin-bottom: 1.5rem; }
.zone:nth-child(even) { border-color: var(--tomato); }
.zone h3 { margin-bottom: 0.3em; }
.zone ul { margin: 0; padding-left: 1.1rem; }

.checker { background: #fff; border: 2px dashed var(--line); padding: 1.25rem; border-radius: 10px; }
.checker label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.checker select {
  width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 2px solid var(--basil);
  border-radius: 8px; background: #fff; color: var(--ink);
}
.checker-result { margin: 1rem 0 0; font-weight: 700; min-height: 1.6em; }

/* ---------- About ---------- */
.timeline { list-style: none; margin: 1.5rem 0; padding: 0; border-left: 4px solid var(--oven); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.75rem; }
.timeline li::before {
  content: ""; position: absolute; left: -11px; top: 0.5rem; width: 18px; height: 18px;
  border-radius: 50%; background: var(--tomato); border: 4px solid #fff; box-sizing: content-box; margin-left: -4px;
}
.timeline .year { font-family: var(--font-display); font-size: 1.5rem; color: var(--tomato); display: block; line-height: 1.2; }
.timeline p { margin-bottom: 0; }

/* ---------- Contact ---------- */
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.6rem 0; border-bottom: 2px dashed var(--line); }
.hours li span:first-child { font-weight: 700; }
.hours li span:last-child { text-align: right; }
.map-frame { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; background: var(--mist); }

/* ---------- Footer ---------- */
.site-footer { background: var(--basil-deep); color: #dce8df; padding-block: 3rem 2rem; }
.site-footer h2 { font-size: 1.3rem; color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--oven); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 0.8fr; gap: 2rem; }
.footer-grid ul.plain { list-style: none; margin: 0; padding: 0; }
.footer-grid ul.plain li { padding: 0.15rem 0; }
.site-footer .hours li { border-color: rgba(255, 255, 255, 0.25); padding: 0.4rem 0; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 2rem; padding-top: 1rem; font-size: 0.9rem; }
.footer-legal p { max-width: none; margin: 0 0 0.4rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  }
  body { padding-bottom: 4.6rem; }
}
/* Footer social links */
.footer-social { margin-top: 2rem; }
.footer-social h2 { margin-bottom: 0.6rem; }
.social { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 700;
}
.social a:hover { border-color: var(--oven); color: var(--oven); }