/* Neighborhood Park LLC — shared styles
   Seed 6-3-5-2-1-1-7: warm pizzeria colours (tomato, crust gold, basil, oven brown) · pale tomato-tint base ·
   editorial columns with a narrow side column · humanist sans · logo left, nav right, thin rule ·
   price tables · diagonal section dividers · motif: scattered pepperoni and basil */

@font-face { font-family: "Second Ave Sans"; src: url("fonts/second-ave-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Second Ave Sans"; src: url("fonts/second-ave-sans-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Second Ave Sans"; src: url("fonts/second-ave-sans-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --pale: #fcf1ea;
  --white: #ffffff;
  --tomato: #c8442a;
  --tomato-dark: #a8361f;
  --crust: #e0a43a;
  --basil: #356b31;
  --ink: #3a2418;
  --muted: #6e5547;
  --burgundy: #3a1410;
  --line: rgba(58, 36, 24, 0.14);
  --slant: clamp(28px, 4vw, 60px);
  --sans: "Second Ave Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --toppings: url("assets/motif-toppings.svg") 0 0 / 140px 140px repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pale) var(--toppings);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
strong { font-weight: 600; }

h1, h2, h3 { font-weight: 800; line-height: 1.08; margin: 0 0 0.45em; color: var(--tomato-dark); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }

a { color: var(--tomato-dark); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { color: var(--basil); }
:focus-visible { outline: 3px solid var(--basil); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2.25rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.5rem 1rem; background: var(--tomato-dark); color: var(--white); font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- header: logo left, nav right, thin rule ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 2rem; padding-block: 0.8rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; color: var(--tomato-dark); text-decoration: none; }
.brand img { width: 64px; height: auto; flex: none; }
.brand-name { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.05; }
.brand:hover .brand-name { color: var(--basil); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.3rem 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--tomato-dark); }
.main-nav a[aria-current="page"] { color: var(--tomato-dark); text-decoration: underline; text-decoration-color: var(--crust); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }

/* ---------- slabs with diagonal dividers ---------- */
.slab { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.slab-tomato {
  margin-block: calc(var(--slant) * -0.5);
  padding-block: calc(clamp(2.25rem, 5vw, 3.5rem) + var(--slant));
  background: var(--tomato); color: var(--white);
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  position: relative; z-index: 1;
}
.slab-tomato h2, .slab-tomato h3 { color: var(--white); }
.slab-tomato a:not(.btn) { color: var(--white); }
.slab-white {
  padding-block: calc(clamp(2.25rem, 5vw, 3.5rem) + var(--slant) * 0.6);
  background: var(--white);
  clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 calc(100% - var(--slant)));
}
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: start; }
.side { display: grid; gap: 1rem; }
.side.sticky { position: sticky; top: 1.25rem; }
.box { padding: 1.1rem 1.25rem; background: var(--white); border-top: 5px solid var(--tomato); }
.box-title { margin: 0 0 0.5rem; font-weight: 800; font-size: 1.3rem; line-height: 1.1; color: var(--tomato-dark); }
.box p:last-child { margin-bottom: 0; }
.box-basil { border-top-color: var(--basil); }
.slab-tomato .box { color: var(--ink); }
.slab-tomato .box a:not(.btn) { color: var(--tomato-dark); }
.big-phone { display: block; margin: 0.1rem 0 0.5rem; font-weight: 800; font-size: 1.7rem; line-height: 1.1; color: var(--tomato-dark); text-decoration: none; }
.big-phone:hover { color: var(--basil); }

.tag { display: inline-block; margin: 0 0 1rem; padding: 0.25rem 0.75rem; background: var(--white); color: var(--muted); font-weight: 600; font-size: 0.92rem; line-height: 1.45; box-shadow: 4px 4px 0 var(--crust); }
.lede { font-size: clamp(1.15rem, 2vw, 1.32rem); color: var(--muted); max-width: 44ch; }
.hero-art { display: block; width: 100%; margin-top: 1.5rem; }
.kicker { margin: 0 0 0.4rem; color: var(--basil); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.slab-tomato .kicker { color: #ffe1b3; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.35rem; background: var(--tomato-dark); color: var(--white);
  font-weight: 800; line-height: 1.2; text-decoration: none; text-align: center;
  max-width: 100%; overflow-wrap: anywhere; box-shadow: 4px 4px 0 var(--crust);
}
.btn:hover { background: var(--burgundy); color: var(--white); }
.btn-light { background: var(--white); color: var(--tomato-dark); }
.btn-light:hover { background: var(--pale); color: var(--tomato-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }

/* ---------- home ---------- */
.oven { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.oven a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0.1rem 0.9rem; align-items: center; height: 100%; padding: 0.85rem 1rem; background: var(--white); color: var(--ink) !important; text-decoration: none; }
.oven a:hover { box-shadow: inset 0 -4px 0 var(--crust); }
.oven img { grid-row: span 2; width: 56px; height: 56px; }
.oven-name { font-weight: 800; letter-spacing: 0.03em; color: var(--tomato-dark); }
.oven-count { color: var(--muted); font-size: 0.95rem; }
.ticks { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.ticks li { break-inside: avoid; position: relative; padding: 0 0 0.9rem 1.5rem; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: var(--tomato); box-shadow: inset 0 0 0 3px #e46a4c; }
.ticks strong { color: var(--ink); }
.hours-mini { margin: 0; }
.hours-mini div { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.28rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours-mini div:last-child { border-bottom: 0; }
.hours-mini dt { font-weight: 600; }
.hours-mini dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.closed { color: var(--tomato-dark); font-weight: 800; }

/* ---------- menu price tables ---------- */
.group { scroll-margin-top: 1rem; }
.group + .group { margin-top: clamp(2.25rem, 4.5vw, 3rem); }
.group-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.8rem; }
.group-head img { width: 56px; height: 56px; flex: none; }
.group-head h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 1.95rem); letter-spacing: 0.02em; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: 6px 6px 0 rgba(224, 164, 58, 0.55); }
.price-table th, .price-table td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; }
.price-table thead th { background: var(--tomato); color: var(--white); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.price-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.price-table tbody th { width: 34%; font-weight: 800; color: var(--ink); }
.price-table .det { color: var(--muted); font-size: 1.02rem; }
.price-table .pr { width: 9rem; text-align: right; font-weight: 800; font-size: 1.15rem; color: var(--tomato-dark); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.price-table thead .pr { color: var(--white); font-size: 0.85rem; }
.pr.quote { white-space: normal; font-size: 0.98rem; line-height: 1.35; }
.pr .qual { display: block; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.pr .call { display: block; margin-top: 0.25rem; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.jump { list-style: none; margin: 0; padding: 0; }
.jump li + li { border-top: 1px solid var(--line); }
.jump a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0.6rem; align-items: center; padding: 0.42rem 0; color: var(--ink); font-weight: 600; line-height: 1.25; text-decoration: none; }
.jump a:hover { color: var(--tomato-dark); }
.jump img { width: 32px; height: 32px; }
.jump .dot { justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: var(--crust); }
.offers { display: grid; gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.offers li { padding: 1rem 1.2rem; background: var(--white); color: var(--ink); border-left: 6px solid var(--crust); }
.offers h3 { margin-bottom: 0.2rem; color: var(--tomato-dark); font-size: 1.25rem; }
.offers p { margin: 0; color: var(--muted); }

/* ---------- about / contact ---------- */
.story p { color: var(--muted); }
.story .first { color: var(--ink); font-size: 1.22rem; }
.story .kicker { color: var(--basil); }
.facts { margin: 0; }
.facts div { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--basil); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 600; }
.details { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.details div { padding: 1rem 1.1rem; background: var(--white); border-top: 5px solid var(--tomato); }
.details div:first-child { grid-row: span 2; }
.details dt { color: var(--basil); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.details dd { margin: 0; font-weight: 600; font-size: 1.08rem; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.4rem; font-weight: 800; font-size: 1.3rem; color: var(--tomato-dark); }
.hours th, .hours td { padding: 0.42rem 0.15rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours tbody tr:last-child > * { border-bottom: 0; }
.hours thead th { color: var(--basil); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hours tbody th { font-weight: 600; }
.hours td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.map-frame { display: block; width: 100%; height: 400px; border: 0; background: var(--white); box-shadow: 6px 6px 0 rgba(224, 164, 58, 0.55); }
.map-link { margin-top: 0.85rem; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--slant);
  background: var(--burgundy); color: #ecd6cc; font-size: 1rem;
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--crust); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 2rem; padding-block: 2rem 1.4rem; }
.footer-name { margin: 0 0 0.35rem; font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--crust); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.45rem; color: var(--crust); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { margin: 0; padding-block: 1rem 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.9rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .side.sticky { position: static; }
  .jump-box { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .brand img { width: 54px; }
  .main-nav ul { gap: 0.2rem 1.2rem; }
  .oven, .details { grid-template-columns: 1fr; }
  .details div:first-child { grid-row: auto; }
  .ticks { columns: 1; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .price-table, .price-table tbody { display: block; }
  .price-table tbody tr { display: grid; grid-template-columns: 1fr; padding: 0.85rem 1rem; }
  .price-table tbody tr + tr { border-top: 1px solid var(--line); }
  .price-table tbody tr + tr > * { border-top: 0; }
  .price-table tbody th, .price-table tbody td { display: block; width: auto; padding: 0; }
  .price-table .det { margin-top: 0.2rem; }
  .price-table .pr { width: auto; margin-top: 0.4rem; text-align: left; }
  .pr .qual { display: inline; }
  .map-frame { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
}

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

/* ---------- red-slab variants ---------- */
.lede.on-red { color: #ffe9e1; }
.ticks-red li { color: #ffe9e1; }
.ticks-red strong { color: var(--white); }
.ticks-red li::before { background: var(--crust); box-shadow: inset 0 0 0 3px #f2c56f; }
