/* ==========================================================================
   Sal-Cal Pizza — LaBelle, FL
   Small-town pizzeria. Red, green & cream. Gingham and slab type.
   ========================================================================== */

:root {
  --red: #c8272d;
  --red-dark: #9e1c21;
  --green: #1f6b3a;
  --green-dark: #154d29;
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #2a211c;
  --ink-soft: #5c4f46;
  --line: #e6dccb;
  --gold: #e8a33d;

  --font-display: "Alfa Slab One", "Rockwell", Georgia, serif;
  --font-serif: "Lora", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(42, 33, 28, 0.35);
  --shadow-sm: 0 4px 14px -6px rgba(42, 33, 28, 0.3);
  --max: 1180px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 70px); }

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

img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }
h3 { font-family: var(--font-serif); font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Gingham & tricolor details ---------- */
.gingham {
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(200, 39, 45, .55) 50%, transparent 50%),
    linear-gradient(rgba(200, 39, 45, .55) 50%, transparent 50%);
  background-size: 28px 28px;
}
.tricolor {
  height: 8px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #f3eadb;
  font-size: .9rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-info { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }

.status { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.status-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #999;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
}
.status.is-open .status-dot { background: #46c46f; animation: pulse 2s infinite; }
.status.is-closed .status-dot { background: #e2564f; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(70, 196, 111, .6); }
  70% { box-shadow: 0 0 0 7px rgba(70, 196, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 196, 111, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--red);
  font-style: italic; transform: skewX(-6deg);
  text-shadow: 1.5px 1.5px 0 var(--ink);
  letter-spacing: .01em;
}
.logo-sub {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); font-weight: 700; margin-top: .3rem;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  padding: .55rem .85rem; border-radius: 999px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: #f4ebdc; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--red); background: #fbe9e6; }
.nav .btn { margin-left: .4rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 30px; height: 30px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .topbar-addr { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--paper); padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .18s, transform .18s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: .8rem 1rem; font-size: 1.1rem; }
  .nav .btn { margin: .5rem 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .12s, background .15s, color .15s, box-shadow .15s;
  line-height: 1.1;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff !important; box-shadow: 0 4px 0 var(--red-dark); }
.btn-red:hover { background: #d8343a; }
.btn-green { background: var(--green); color: #fff !important; box-shadow: 0 4px 0 var(--green-dark); }
.btn-green:hover { background: #26804a; }
.btn-outline { border-color: currentColor; color: var(--ink) !important; background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink) !important; }
.btn-light:hover { background: var(--cream); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 18, 14, .92) 0%, rgba(25, 18, 14, .72) 45%, rgba(25, 18, 14, .15) 100%);
}
.hero .container { position: relative; padding: clamp(4rem, 10vw, 8rem) 0 clamp(4.5rem, 10vw, 7.5rem); }
.hero-content { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  margin-bottom: .35em;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .35);
}
.hero h1 .accent { color: #ff6b5f; }
.hero-lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #f1e7d8; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }
.hero .btn-outline { color: #fff !important; }
.hero .btn-outline:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }
.hero-note {
  font-family: var(--font-hand); font-size: 1.6rem; color: #fff; margin-top: 1.6rem;
  transform: rotate(-2deg); display: inline-block;
}

.since-badge {
  position: absolute; right: clamp(1rem, 6vw, 5rem); bottom: clamp(1.5rem, 5vw, 3.5rem);
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-content: center; text-align: center;
  border: 4px dashed rgba(255, 255, 255, .7);
  outline: 6px solid var(--red);
  transform: rotate(-10deg);
  box-shadow: var(--shadow);
}
.since-badge small { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.since-badge strong { font-family: var(--font-display); font-size: 2.3rem; font-weight: 400; line-height: 1; }
@media (max-width: 900px) { .since-badge { display: none; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative; color: #fff; text-align: center;
  background: var(--ink); overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero .container { position: relative; padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .2em; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.page-hero p { font-size: 1.2rem; color: #f1e7d8; max-width: 640px; margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Ways-to-eat strip ---------- */
.ways {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.ways ul {
  list-style: none; margin: 0; padding: 1.4rem 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.ways li { display: flex; align-items: center; gap: .8rem; justify-content: center; font-weight: 700; }
.ways .icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: #fbe9e6; color: var(--red);
}
.ways li:nth-child(even) .icon { background: #e3f0e7; color: var(--green); }
.ways .icon svg { width: 24px; height: 24px; }
.ways span small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 760px) {
  .ways ul { grid-template-columns: 1fr 1fr; }
  .ways li { justify-content: flex-start; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-paper { background: var(--paper); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.75rem; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--ink); }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }
.section-head .eyebrow { color: var(--red); justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.script { font-family: var(--font-hand); font-size: 1.7rem; color: var(--green); line-height: 1.2; }

/* ---------- Favorites ---------- */
.favorites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fav-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.fav-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fav-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.fav-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.fav-body h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.fav-body p { color: var(--ink-soft); flex: 1; }
.fav-price { font-family: var(--font-display); color: var(--red); font-size: 1.15rem; }
.fav-price small { font-family: var(--font-body); color: var(--ink-soft); font-size: .85rem; }
@media (max-width: 900px) { .favorites { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem;
  padding: 1.6rem 1rem; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s, background .2s;
}
.cat:hover { transform: translateY(-3px); border-color: var(--red); background: #fff; color: var(--ink); }
.cat-emoji { font-size: 2.2rem; line-height: 1; margin-bottom: .4rem; }
.cat strong { font-family: var(--font-serif); font-size: 1.12rem; }
.cat small { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.split p { color: var(--ink-soft); font-size: 1.1rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.photo-stack { position: relative; padding: 0 0 3rem 3rem; }
.photo-stack img { border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-stack .back { width: 88%; aspect-ratio: 4/3; object-fit: cover; }
.photo-stack .front {
  position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 3/4; object-fit: cover;
  border: 6px solid #fff; transform: rotate(-4deg);
}
.photo-stack .tape {
  position: absolute; left: 14%; bottom: calc(52% * 4 / 3 - 8px); width: 90px; height: 26px;
  background: rgba(232, 163, 61, .55); transform: rotate(-12deg); z-index: 2;
}

.check-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: .15rem;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Sweets / promo ---------- */
.promo {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr 1fr;
}
.promo-copy { padding: clamp(2rem, 5vw, 3.5rem); position: relative; z-index: 1; }
.promo-copy h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.promo-copy p { color: var(--ink-soft); font-size: 1.1rem; }
.tag-new {
  display: inline-block; background: var(--red); color: #fff;
  font-weight: 800; letter-spacing: .14em; font-size: .75rem; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 6px; transform: rotate(-3deg); margin-bottom: 1rem;
}
.flavors { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.flavor {
  background: var(--cream); border: 1px dashed #d9c9ae; border-radius: 12px; padding: .9rem 1rem;
}
.flavor strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; }
.flavor span { font-size: .92rem; color: var(--ink-soft); }
.promo-media {
  position: relative; min-height: 380px;
  background: #f6e6c9;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.promo-media figure { margin: 0; position: relative; overflow: hidden; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Crop into just the cups of the promo flyers, hiding the poster text */
.promo-media .crop-pb img { object-position: 77% 75%; transform: scale(2.1); transform-origin: 77% 75%; }
.promo-media .crop-cc img { object-position: 71% 74%; transform: scale(2.2); transform-origin: 71% 74%; }
.promo-media figcaption {
  position: absolute; left: .75rem; bottom: .75rem;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  font-weight: 700; font-size: .85rem; padding: .35rem .7rem; border-radius: 999px;
}
.promo .gingham-edge { position: absolute; inset: 0 auto 0 0; width: 14px; }
@media (max-width: 860px) {
  .promo { grid-template-columns: 1fr; }
  .promo-media { min-height: 280px; order: -1; }
  .flavors { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
}
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem;
  color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide, .gallery .tall { grid-column: auto; grid-row: auto; }
}

/* ---------- Hours / visit card ---------- */
.visit-band { background: var(--green); color: #fff; position: relative; }
.visit-band::before, .visit-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.9) 50%, transparent 50%),
    linear-gradient(rgba(255,255,255,.9) 50%, transparent 50%);
  background-size: 14px 14px; background-color: var(--red);
}
.visit-band::before { top: 0; }
.visit-band::after { bottom: 0; }
.visit-band .container {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding: 4rem 0;
}
.visit-band h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: #fff; }
.visit-band p, .visit-band li { color: #e5f1e8; }
.visit-band a { color: #fff; }
.visit-band .big { font-family: var(--font-display); font-size: 1.7rem; text-decoration: none; display: inline-block; margin-bottom: .3rem; }
@media (max-width: 860px) { .visit-band .container { grid-template-columns: 1fr; gap: 2.25rem; text-align: center; } }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem .7rem; border-radius: 8px;
}
.hours-list li.is-today { background: rgba(255,255,255,.14); font-weight: 700; color: #fff; }
.hours-list .closed { opacity: .75; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm);
}
.card h2 { font-size: 1.8rem; }
.card .hours-list li { color: var(--ink); }
.card .hours-list li:nth-child(odd) { background: var(--cream); }
.card .hours-list li.is-today { background: #fbe9e6; color: var(--red-dark); }

.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.75rem; align-items: start; }
.visit-grid .stack { display: grid; gap: 1.75rem; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

.contact-line { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-line .icon {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: #fbe9e6; color: var(--red); display: grid; place-items: center;
}
.contact-line .icon svg { width: 20px; height: 20px; }
.contact-line strong { display: block; }
.contact-line a { font-weight: 700; }

.map-wrap {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; background: #ddd; aspect-ratio: 4 / 3.4;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.status-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: #eee; margin-bottom: 1rem;
}
.status-pill.is-open { background: #e3f4e8; color: var(--green-dark); }
.status-pill.is-closed { background: #fbe9e6; color: var(--red-dark); }
.status-pill .status-dot { width: 10px; height: 10px; }
.status-pill.is-open .status-dot { background: #2fa85a; animation: pulse 2s infinite; }
.status-pill.is-closed .status-dot { background: var(--red); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 0 1.25rem;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); color: var(--red); font-size: 1.5rem; line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.1rem; margin: 0; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value {
  background: var(--paper); border-radius: var(--radius); padding: 2rem 1.6rem;
  border-top: 6px solid var(--red); box-shadow: var(--shadow-sm);
}
.value:nth-child(2) { border-top-color: var(--green); }
.value:nth-child(3) { border-top-color: var(--gold); }
.value h3 { font-size: 1.35rem; }
.value p { color: var(--ink-soft); margin: 0; }
.value .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--red); line-height: 1; margin-bottom: .5rem; }
.value:nth-child(2) .num { color: var(--green); }
.value:nth-child(3) .num { color: var(--gold); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red); color: #fff; text-align: center;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.cta-band p { font-size: 1.15rem; color: #ffe4df; max-width: 560px; margin: 0 auto 1.75rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.cta-band .btn-outline { color: #fff !important; }
.cta-band .btn-outline:hover { background: #fff; color: var(--red) !important; border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d7cbbb; font-size: .98rem; }
.site-footer .container {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .logo-name { text-shadow: 1.5px 1.5px 0 #000; }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .hours-list li { padding: .15rem 0; color: #d7cbbb; }
.site-footer .hours-list li.is-today { background: none; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0; font-size: .88rem; color: #a99b8a;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: 0; }
@media (max-width: 860px) { .site-footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .container { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.call-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px -10px rgba(0,0,0,.3);
  gap: .6rem;
}
.call-bar .btn { flex: 1; justify-content: center; }
@media (max-width: 700px) {
  .call-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ==========================================================================
   MENU PAGE
   ========================================================================== */
.menu-page { background: var(--cream); }

.menu-toolbar {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(251, 246, 236, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.menu-toolbar .container { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; }
.menu-tabs {
  display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; flex: 1;
  scroll-snap-type: x proximity; padding: .15rem;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a {
  flex: none; scroll-snap-align: start;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem;
  padding: .5rem .95rem; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.menu-tabs a:hover { border-color: var(--red); color: var(--red); }
.menu-tabs a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.menu-search { position: relative; flex: none; width: 240px; }
.menu-search input {
  width: 100%; font: inherit; font-size: .95rem;
  padding: .55rem .9rem .55rem 2.3rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.menu-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,39,45,.15); }
.menu-search svg { position: absolute; left: .8rem; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--ink-soft); }
@media (max-width: 760px) {
  .menu-toolbar .container { flex-direction: column-reverse; align-items: stretch; gap: .6rem; }
  .menu-search { width: 100%; }
}

.menu-layout { padding: 2.5rem 0 4rem; }
.menu-note {
  display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--paper); border: 1px dashed #d4c3a6; border-radius: 12px;
  padding: 1rem 1.25rem; margin-bottom: 2.5rem;
}
.menu-note p { margin: 0; color: var(--ink-soft); }
.menu-note strong { color: var(--ink); }

.menu-section {
  background: var(--paper);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}
.menu-section::before {
  content: ""; display: block; height: 7px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, #fff 33.33% 66.66%, var(--red) 66.66%);
  border-bottom: 1px solid var(--line);
}
.menu-section-inner { padding: clamp(1.5rem, 4vw, 2.75rem); }
.menu-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-bottom: 2px solid var(--ink); padding-bottom: .85rem; margin-bottom: 1.5rem;
}
.menu-section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0; color: var(--ink); }
.menu-section-head h2 .em { color: var(--red); }
.menu-section-head p { margin: 0; color: var(--ink-soft); font-style: italic; font-family: var(--font-serif); }
.menu-section-head .script { font-size: 1.5rem; margin: 0; }

.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 3rem; list-style: none; margin: 0; padding: 0; }
.menu-items.cols-1 { grid-template-columns: 1fr; }
.menu-items.cols-3 { grid-template-columns: repeat(3, 1fr); gap: .2rem 2.25rem; }
@media (max-width: 960px) { .menu-items.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .menu-items, .menu-items.cols-3 { grid-template-columns: 1fr; } }

.menu-item { padding: .7rem 0; border-bottom: 1px dotted #e0d4bf; }
.menu-item-row { display: flex; align-items: baseline; gap: .5rem; }
.menu-item-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; }
.menu-item-dots { flex: 1; border-bottom: 2px dotted #cdbda2; transform: translateY(-4px); min-width: 1rem; }
.menu-item-price { font-family: var(--font-display); color: var(--red); font-size: 1.05rem; white-space: nowrap; }
.menu-item-desc { color: var(--ink-soft); font-size: .96rem; margin: .2rem 0 0; }
.menu-item-tag {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .12rem .45rem; border-radius: 4px; margin-left: .35rem; vertical-align: .15em;
  background: var(--gold); color: var(--ink); font-family: var(--font-body);
}
.menu-item-tag.new { background: var(--red); color: #fff; }
.menu-item-tag.fav { background: var(--green); color: #fff; }

/* Price tables */
.price-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.price-table th, .price-table td { padding: .75rem .6rem; text-align: center; }
.price-table thead th {
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom: 2px solid var(--ink); font-weight: 800;
}
.price-table tbody tr:nth-child(odd) { background: var(--cream); }
.price-table tbody th { text-align: left; font-family: var(--font-serif); font-weight: 700; }
.price-table td { font-family: var(--font-display); color: var(--red); }
.price-table td.muted { color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; }
.price-table .size-label small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.table-scroll { overflow-x: auto; }

/* Pizza size visual */
.pizza-builder { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 960px) { .pizza-builder { grid-template-columns: 1fr; } }

.size-picker { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; align-items: end; margin-bottom: 1.5rem; }
.size-btn {
  background: none; border: 2px solid transparent; border-radius: 12px; cursor: pointer;
  padding: .6rem .2rem; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font: inherit; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.size-btn:hover { background: var(--cream); }
.size-btn[aria-pressed="true"] { border-color: var(--red); background: #fdf0ee; }
.size-btn .pie {
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, #b5332a 0 7%, transparent 8%),
    radial-gradient(circle at 65% 30%, #b5332a 0 7%, transparent 8%),
    radial-gradient(circle at 55% 65%, #b5332a 0 7%, transparent 8%),
    radial-gradient(circle at 28% 68%, #b5332a 0 6%, transparent 7%),
    radial-gradient(circle, #f2c25c 0 78%, #d58f3a 80% 100%);
  box-shadow: 0 3px 6px rgba(0,0,0,.18);
}
.size-btn strong { font-size: .9rem; line-height: 1.1; }
.size-btn small { color: var(--ink-soft); font-size: .78rem; }

.size-readout {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; text-align: center;
}
.size-readout div { background: var(--cream); border-radius: 12px; padding: 1rem .5rem; }
.size-readout span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--ink-soft); }
.size-readout strong { font-family: var(--font-display); font-weight: 400; color: var(--red); font-size: 1.6rem; }

.toppings-box { background: var(--cream); border-radius: 14px; padding: 1.5rem; }
.toppings-box h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.toppings-box > p { color: var(--ink-soft); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .32rem .8rem; font-size: .92rem; font-weight: 600;
}
.chips.meat li:not(.veg) { border-color: #f0c9c4; }
.chips li.veg { border-color: #bcdcc6; }
.chip-legend { display: flex; gap: 1rem; font-size: .82rem; color: var(--ink-soft); margin-top: .85rem; }
.chip-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .35rem; vertical-align: -.05em; }
.chip-legend .m::before { background: #f0c9c4; }
.chip-legend .v::before { background: #bcdcc6; }

.specialties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.25rem; }
@media (max-width: 960px) { .specialties { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .specialties { grid-template-columns: 1fr; } }
.specialty {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem 1.25rem; background: #fff;
  position: relative;
}
.specialty h4 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: .3rem; color: var(--ink); }
.specialty p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.specialty-icon { position: absolute; top: 1rem; right: 1rem; font-size: 1.3rem; }

.sub-head { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin: 2.25rem 0 1rem; color: var(--ink); }
.sub-head:first-child { margin-top: 0; }

.info-box {
  background: var(--cream); border-left: 5px solid var(--green); border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem; margin-top: 1.5rem;
}
.info-box h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: .35rem; }
.info-box p { margin: 0; color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 1.5rem; } }

.wing-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin: 1.25rem 0; }
@media (max-width: 760px) { .wing-prices { grid-template-columns: 1fr 1fr; } }
.wing-prices div { background: var(--cream); border-radius: 12px; padding: 1rem; text-align: center; }
.wing-prices span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--ink-soft); }
.wing-prices strong { display: block; font-size: 1.15rem; margin: .15rem 0; font-family: var(--font-serif); }
.wing-prices em { font-style: normal; font-family: var(--font-display); color: var(--red); font-size: 1.4rem; }

.menu-photo {
  border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; margin-bottom: 1.75rem;
}
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }

.no-results {
  display: none; text-align: center; padding: 3rem 1rem; color: var(--ink-soft);
  background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line);
}
.no-results.is-visible { display: block; }
.is-hidden { display: none !important; }
mark { background: #ffe58a; color: inherit; padding: 0 .1em; border-radius: 3px; }


/* ---------- Print styles: make the menu printable ---------- */
@media print {
  .topbar, .site-header, .menu-toolbar, .call-bar, .site-footer, .cta-band, .page-hero img, .menu-note .btn { display: none !important; }
  body { background: #fff; padding: 0; }
  .page-hero { background: #fff; color: #000; }
  .page-hero h1, .page-hero p { color: #000; text-shadow: none; }
  .menu-section { box-shadow: none; break-inside: avoid; }
}

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Search hit inside chip lists */
.chips li.chip-hit { background: #ffe58a; border-color: var(--gold); }

/* Handwritten taglines inside menu section headers */
.menu-section-head .script { font-family: var(--font-hand); font-style: normal; color: var(--green); }
.price-table .size-label small { display: inline; margin-left: .35rem; }

@media (max-width: 600px) {
  .size-picker { grid-template-columns: repeat(3, 1fr); }
  .size-readout strong { font-size: 1.25rem; }
  .size-readout span { font-size: .66rem; letter-spacing: .06em; }
  .menu-section-head { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .price-table th, .price-table td { padding: .65rem .35rem; }
  .menu-note .btn { width: 100%; justify-content: center; }
}

/* ---------- Brand logo (SVG symbol #sc-logo) ---------- */
.brand-logo { height: 66px; width: auto; flex: none; overflow: visible; }
.logo .logo-text .logo-sub { margin-top: 0; line-height: 1.35; max-width: none; }
.site-footer .brand-logo { height: 96px; }
@media (max-width: 520px) { .brand-logo { height: 54px; } }

.hero-logo {
  position: absolute; right: clamp(1.5rem, 6vw, 6rem); top: 50%; transform: translateY(-50%) rotate(-3deg);
  width: clamp(260px, 30vw, 400px);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55));
  text-align: center;
}
.hero-logo svg { width: 100%; height: auto; overflow: visible; }
.since-chip {
  display: inline-block; margin-top: .6rem;
  background: var(--red); color: #fff; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem;
  padding: .45rem 1rem; border-radius: 999px; border: 2px dashed rgba(255,255,255,.7);
}
@media (max-width: 1000px) { .hero-logo { display: none; } }

/* Single real photo in the cookie dough promo */
.promo-media.single { grid-template-columns: 1fr; }
.promo-media.single img { object-position: center 45%; }
