/* The Pizza Factory & More: one light look, white / black / red, every color set explicitly */
:root {
  --red: #BD0909;
  --red-deep: #8E0707;
  --red-wash: #FBEDEC;
  --ink: #161212;
  --ink-soft: #3A3332;
  --muted: #6A605E;
  --paper: #FFFFFF;
  --flour: #F8F4F0;
  --line: #E6DDD8;
  --display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --label: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Libre Franklin", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1120px;
  --radius: 10px;
  --header-h: 72px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.call-inline { font-weight: 600; color: var(--ink-soft); }
.call-inline b { color: var(--ink); white-space: nowrap; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.label {
  font-family: var(--label);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--red);
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 12px; }

/* Checkered band: the red-and-white tablecloth */
.checks {
  height: 14px;
  background:
    conic-gradient(var(--red) 25%, var(--paper) 0 50%, var(--red) 0 75%, var(--paper) 0) 0 0 / 14px 14px;
}

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.head-row { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); padding-block: 6px; }
.brand { flex: none; display: block; }
.brand img { width: 128px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  font-family: var(--label); font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 10px 10px; border-radius: 6px;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.head-call { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.head-call small { font-family: var(--label); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.head-call a { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .88rem;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); cursor: pointer; line-height: 1;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--paper); }
.btn-sm { padding: 10px 16px; font-size: .78rem; box-shadow: none; }
.btn[aria-disabled="true"] { background: var(--flour); border-color: var(--line); color: var(--muted); box-shadow: none; cursor: default; }

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .head-row { flex-wrap: wrap; row-gap: 0; }
  .brand img { width: 96px; }
  .head-call { margin-left: auto; }
  .nav {
    order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--line); padding-block: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 10px 8px; font-size: .74rem; }
  .head-order { display: none; }
}

/* Open-now chip */
.status {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; background: var(--flour); color: var(--ink-soft); border: 1px solid var(--line);
}
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.status[data-state="open"]::before { background: #1F8A3B; box-shadow: 0 0 0 4px rgba(31,138,59,.18); }
.status[data-state="closed"]::before { background: var(--red); }

/* Hero */
.hero { padding-block: clamp(36px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero-copy h1 .r { color: var(--red); }
.hero-copy p.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hero-photo img { border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: 14px 14px 0 var(--red); aspect-ratio: 674 / 900; object-fit: cover; width: 100%; }
.hero-photo .tag {
  position: absolute; left: -14px; bottom: 28px; background: var(--paper); border: 3px solid var(--ink);
  padding: 10px 14px; border-radius: 8px; transform: rotate(-3deg); max-width: 220px;
}
.hero-photo .tag b { font-family: var(--display); font-weight: 400; display: block; font-size: 1.1rem; }
.hero-photo .tag span { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 340px; margin-right: 14px; }
  .hero-photo .tag { left: -6px; }
}

/* Sections */
.band { padding-block: clamp(48px, 8vw, 88px); }
.band-flour { background: var(--flour); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: var(--paper); }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 46em; }
.section-head p { color: var(--muted); }
.band-ink .section-head p { color: #D9D0CC; }

/* Made-here row */
.made { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.made div { border-top: 3px solid var(--red); padding-top: 14px; display: grid; gap: 6px; }
.made b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.made span { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 860px) { .made { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .made { grid-template-columns: 1fr; } }

/* Favorites */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card:hover { box-shadow: 6px 6px 0 var(--red); color: var(--ink); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-bottom: 2px solid var(--ink); }
.card-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.card-body h3 { font-size: 1.2rem; }
.card-body p { color: var(--ink-soft); font-size: .95rem; }
.card-body .price { font-family: var(--label); font-weight: 700; letter-spacing: .12em; color: var(--red); font-size: .85rem; text-transform: uppercase; }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* Size ladder */
.sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; }
.size { text-align: center; display: grid; gap: 8px; justify-items: center; }
.size .pie {
  border-radius: 50%; border: 3px solid var(--paper); aspect-ratio: 1; max-width: 100%;
  background: radial-gradient(circle, #F2C14E 0 58%, #D98B2B 59% 70%, #C9772A 71%);
}
.size .pie.cut {
  background:
    repeating-conic-gradient(from 0deg, transparent 0 calc(var(--slice) - 1.5deg), var(--ink) calc(var(--slice) - 1.5deg) var(--slice)),
    radial-gradient(circle, #F2C14E 0 58%, #D98B2B 59% 70%, #C9772A 71%);
}
.size b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.size .p { font-family: var(--label); font-weight: 700; letter-spacing: .1em; color: #FF8A80; }
.size span { color: #D9D0CC; font-size: .9rem; }
@media (max-width: 640px) { .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }

/* Gluten-free callout */
.gf { display: grid; grid-template-columns: auto 1fr; gap: 18px 24px; align-items: center; border: 2px dashed var(--red); border-radius: var(--radius); padding: 22px; background: var(--paper); }
.gf .badge { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--paper); background: var(--red); border-radius: 50%; width: 74px; height: 74px; display: grid; place-items: center; }
.gf ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--ink-soft); }
@media (max-width: 520px) { .gf { grid-template-columns: 1fr; } }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; margin: 0; }
.quote .stars { color: var(--red); letter-spacing: .15em; font-size: 1.05rem; }
.quote blockquote { margin: 0; font-size: 1.02rem; }
.quote figcaption { font-family: var(--label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
@media (max-width: 860px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.visit > div { min-width: 0; display: grid; gap: 16px; align-content: start; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 700; color: var(--red); }
.facts { display: grid; gap: 12px; }
.fact small { display: block; font-family: var(--label); font-weight: 700; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.fact .big { font-family: var(--display); font-weight: 400; font-size: 1.45rem; color: var(--ink); }
.fact a.big { text-decoration: none; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* Page heading band */
.page-head { padding-block: clamp(32px, 6vw, 60px) clamp(20px, 4vw, 36px); display: grid; gap: 12px; }
.page-head p { color: var(--ink-soft); max-width: 40em; font-size: 1.08rem; }

/* Menu */
.chips {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 3px); z-index: 40;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.chips .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.chips .wrap::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; font-family: var(--label); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border: 2px solid var(--ink); border-radius: 999px; padding: 7px 13px;
}
.chips a:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) { .chips { top: calc(env(safe-area-inset-top, 0px) + 109px); } }

.menu-sec { padding-block: 44px 8px; scroll-margin-top: 170px; }
.menu-sec + .menu-sec { border-top: 3px solid var(--ink); }
.menu-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.menu-sec-head p { color: var(--muted); max-width: 36em; }
.menu-cols { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.menu-cols > * { min-width: 0; }
.menu-cols figure { margin: 0; }
.menu-cols figure img { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--red); }
.menu-cols figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 860px) {
  .menu-cols { grid-template-columns: 1fr; }
  .menu-cols figure { max-width: 300px; }
}

.price-head {
  display: grid; grid-template-columns: 1fr repeat(var(--n), 4.6rem); gap: 8px; align-items: end;
  font-family: var(--label); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-bottom: 8px; border-bottom: 2px solid var(--ink);
}
.price-head span:not(:first-child) { text-align: right; }
.item {
  display: grid; grid-template-columns: 1fr repeat(var(--n), 4.6rem); gap: 4px 8px; padding: 14px 0;
  border-bottom: 1px dotted #BDB1AC;
}
.item h3 { font-size: 1.08rem; grid-column: 1; }
.item p { grid-column: 1; grid-row: 2; color: var(--ink-soft); font-size: .95rem; max-width: 40em; }
.item .pr { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; grid-row: 1; }
.item .pr small { display: none; }
.gf-tag { display: inline-block; font-family: var(--label); font-weight: 700; font-size: .66rem; letter-spacing: .14em; color: var(--red); border: 1.5px solid var(--red); border-radius: 4px; padding: 2px 5px 1px; margin-left: 6px; vertical-align: 3px; }
@media (max-width: 560px) {
  .price-head { display: none; }
  .item { grid-template-columns: 1fr; }
  .item .pr { grid-row: auto; text-align: left; display: inline; }
  .item .prices { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .item .pr small { display: inline; font-family: var(--label); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
}
.item .prices { display: contents; }
@media (max-width: 560px) { .item .prices { display: flex; } }

.simple { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.simple .row { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px dotted #BDB1AC; }
.simple .row span:first-child { font-weight: 600; }
.simple .row .lead { flex: 1; }
.simple .row .pr { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.simple .row em { display: block; font-style: normal; font-weight: 400; color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 640px) { .simple { grid-template-columns: 1fr; } }

.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 0; list-style: none; }
.pick li { background: var(--flour); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
.note { margin-top: 16px; color: var(--muted); font-size: .92rem; }
.subhead { font-family: var(--label); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; color: var(--ink); margin-top: 26px; }
.builder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
@media (max-width: 640px) { .builder { grid-template-columns: 1fr; } }
.fee { margin-block: 40px 8px; padding: 18px 20px; background: var(--flour); border-left: 4px solid var(--red); color: var(--ink-soft); font-size: .95rem; }

/* Order */
.order-box { border: 3px solid var(--ink); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; box-shadow: 10px 10px 0 var(--red); background: var(--paper); }
.order-box .phone-big { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--ink); text-decoration: none; user-select: all; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; gap: 6px; padding-top: 56px; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: var(--paper); font-family: var(--display); display: grid; place-items: center; font-size: 1.2rem; }
.steps b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.steps span { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.two { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.two > * { min-width: 0; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }

/* About */
.story { display: grid; gap: 18px; font-size: 1.08rem; max-width: 40em; }
.story p:first-child::first-letter { font-family: var(--display); float: left; font-size: 3.6em; line-height: .9; margin: 4px 10px 0 0; color: var(--red); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; border: 2px solid var(--ink); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 48em; }
.faq details { border: 2px solid var(--ink); border-radius: var(--radius); padding: 0 20px; background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #E9E2DF; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.foot-grid > div { min-width: 0; display: grid; gap: 8px; align-content: start; }
.foot-logo { background: var(--paper); border-radius: 8px; padding: 10px 14px; width: max-content; max-width: 100%; }
.foot-logo img { width: 150px; }
.site-footer h3 { font-family: var(--label); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: .76rem; color: #FF8A80; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: #FF8A80; text-decoration: underline; }
.site-footer p, .site-footer li { font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-base { border-top: 1px solid #3A3332; padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .85rem; color: #B7ACA8; }
.foot-base a { color: #E9E2DF; text-decoration: underline; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
