/* ==========================================================================
   Ciro's Pizza — styles.css
   A premium, minimal restaurant site. Organized as:
   1.  Design tokens (CSS variables)
   2.  Base / reset
   3.  Layout helpers
   4.  Buttons
   5.  Header / navigation
   6.  Hero
   7.  Sections (intro, highlights, about, hours, CTA)
   8.  Contact page
   9.  Footer
   10. Responsive (tablet + mobile)
   To re-theme: edit the variables in section 1.
   ========================================================================== */

/* 1. DESIGN TOKENS ---------------------------------------------------------- */
:root {
  /* Brand palette */
  --green: #068048;
  --green-dark: #045c33;
  --green-deep: #03301b;
  --red: #bf0000;
  --red-dark: #990000;
  --white: #ffffff;

  /* Neutrals */
  --cream: #faf7f2;          /* warm page background */
  --cream-2: #f3ede3;        /* alternating section background */
  --ink: #1c1a17;            /* primary text */
  --ink-soft: #5b554d;       /* secondary text */
  --line: rgba(28, 26, 23, 0.10);

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing + shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(28, 26, 23, 0.06);
  --shadow: 0 14px 40px rgba(28, 26, 23, 0.12);
  --shadow-lg: 0 28px 70px rgba(28, 26, 23, 0.20);
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. BASE / RESET ----------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

/* Accessible focus ring for keyboard users */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 3. LAYOUT HELPERS --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--cream-2); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); }

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* 4. BUTTONS ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(6, 128, 72, 0.30);
}
.btn--primary:hover { background: var(--green-dark); box-shadow: 0 16px 32px rgba(6, 128, 72, 0.38); }

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(191, 0, 0, 0.28);
}
.btn--red:hover { background: var(--red-dark); box-shadow: 0 16px 32px rgba(191, 0, 0, 0.36); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(28, 26, 23, 0.04); }

/* On dark/photo backgrounds the ghost button needs light borders */
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); }

.btn--sm { padding: 12px 22px; font-size: 0.92rem; }

/* 5. HEADER / NAVIGATION ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
/* .is-scrolled is toggled in script.js once the page scrolls */
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.nav__logo img {
  height: 56px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .nav__logo img { height: 48px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--green); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 12px; }

/* Mobile hamburger button — hidden on desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
/* Animate hamburger into an X when open */
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6. HERO ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/pizza-ny.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
/* Layered overlay: warm darkening + a hint of brand green for depth */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      105deg,
      rgba(3, 48, 27, 0.86) 0%,
      rgba(20, 18, 14, 0.74) 45%,
      rgba(20, 18, 14, 0.40) 100%
    );
}
.hero .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }

.hero__inner { max-width: 660px; }

.hero__flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  margin-bottom: 26px;
}
.hero__flag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero h1 .accent { color: #ffd9d9; }

.hero__lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 7. SECTIONS --------------------------------------------------------------- */

/* Intro */
.intro { text-align: center; }
.intro__text {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}
.intro__rule {
  width: 64px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--green), var(--red));
  margin: 0 auto 28px;
}

/* Featured highlights */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }

.card__body { padding: 26px 26px 30px; }
.card__body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card__body p { color: var(--ink-soft); font-size: 0.98rem; }

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  color: var(--green);
  font-size: 0.95rem;
  transition: gap 0.25s var(--ease);
}
.menu-link:hover { gap: 14px; }

.cards-cta { text-align: center; margin-top: 48px; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
/* Decorative green frame offset behind the photo */
.about__media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  z-index: -1;
}
.about__content h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 20px; }
.about__content p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.05rem; }
.about__list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}
.about__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about__list svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }

/* Hours */
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 22px;
  border: 1px solid transparent;
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; position: relative; }
/* Pulsing ring around the live status dot */
.status__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.5;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.status--open {
  background: rgba(6, 128, 72, 0.10);
  color: var(--green-dark);
  border-color: rgba(6, 128, 72, 0.25);
}
.status--open .status__dot { background: var(--green); color: var(--green); }
.status--closed {
  background: rgba(191, 0, 0, 0.08);
  color: var(--red-dark);
  border-color: rgba(191, 0, 0, 0.22);
}
.status--closed .status__dot { background: var(--red); color: var(--red); }
.status--closed .status__dot::after { animation: none; }

.hours__note { color: var(--ink-soft); margin-top: 6px; font-size: 0.98rem; }

.hours-table {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hours-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}
.hours-table li:last-child { border-bottom: 0; }
.hours-table .day { font-weight: 600; }
.hours-table .time { color: var(--ink-soft); }
/* script.js adds .is-today to highlight the current day's row */
.hours-table li.is-today {
  background: rgba(6, 128, 72, 0.07);
}
.hours-table li.is-today .day { color: var(--green-dark); }
.hours-table li.is-today .time { color: var(--green-dark); font-weight: 600; }

/* CTA banner */
.cta {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/pizza-sicilian.jpg");
  background-size: cover;
  background-position: center;
}
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Deep-green wash: darker at top/bottom for text legibility and a clean
     blend into the footer, lighter through the middle so the pizza shows.
     A soft warm glow behind the buttons adds depth without the muddy red. */
  background:
    radial-gradient(90% 70% at 50% 42%, rgba(244, 196, 96, 0.10) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(3, 48, 27, 0.88) 0%,
      rgba(4, 70, 41, 0.58) 48%,
      rgba(3, 38, 22, 0.92) 82%,
      rgba(3, 48, 27, 0.97) 100%);
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: 16px; text-shadow: 0 2px 18px rgba(3, 30, 17, 0.55); }
.cta p { font-size: 1.12rem; color: rgba(255, 255, 255, 0.92); max-width: 560px; margin: 0 auto 34px; text-shadow: 0 1px 12px rgba(3, 30, 17, 0.5); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta .btn--primary { background: var(--white); color: var(--green-dark); }
.cta .btn--primary:hover { background: #f0ece4; }

/* 8. CONTACT PAGE ----------------------------------------------------------- */
.page-hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: clamp(90px, 14vw, 150px) 0 clamp(70px, 10vw, 110px);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/storefront.jpg");
  background-size: cover;
  background-position: center;
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.55), rgba(3, 48, 27, 0.82));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-bottom: 16px; }
.page-hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.92); max-width: 560px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

/* Stack of info cards (address, phone, ordering) */
.info-cards { display: grid; gap: 22px; }
.info-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(6, 128, 72, 0.10);
  color: var(--green);
}
.info-card__icon svg { width: 24px; height: 24px; }
.info-card h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.info-card p { font-size: 1.1rem; font-weight: 500; }
.info-card a { transition: color 0.2s var(--ease); }
.info-card a:hover { color: var(--green); }
.info-card .muted { font-size: 0.95rem; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }
.info-card .btn { margin-top: 16px; align-self: flex-start; }

/* Map */
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--white);
}
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.map-card__bar .addr { font-weight: 600; }
.map-card__bar .addr span { display: block; color: var(--ink-soft); font-weight: 400; font-size: 0.92rem; }

/* Contact message strip */
.contact-note {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.contact-note p { color: var(--ink-soft); font-size: 1.08rem; }

/* Social row */
.social-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--green); }

/* 9. FOOTER ----------------------------------------------------------------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(56px, 8vw, 84px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, 0.72); max-width: 320px; font-size: 0.98rem; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a, .footer-col li { color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-col .time { color: rgba(255, 255, 255, 0.55); }
.footer-col .row { display: flex; justify-content: space-between; gap: 12px; }

.footer-socials { display: flex; gap: 12px; margin-top: 8px; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--green); transform: translateY(-3px); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* 10. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin: 0 auto 16px; }
  .about__media::before { inset: 16px -16px -16px 16px; }
  .hours { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  /* Mobile navigation: slide-down panel */
  .nav__toggle { display: flex; }
  .nav__cta .btn--call-desktop { display: none; }

  .nav__links {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a { display: block; padding: 16px 4px; font-size: 1.05rem; }
  .nav__links a::after { display: none; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .cta__actions .btn { flex: 1 1 auto; }
  .map-card__bar { flex-direction: column; align-items: flex-start; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Simple fade/slide-in used by the IntersectionObserver in script.js */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   11. MENU PAGE
   - Sticky category quick-nav
   - Item lists with dotted "leader" lines
   - Pizza price grid
   ========================================================================== */

/* Sticky category jump-nav (sits directly under the main header) */
.menu-nav {
  position: sticky;
  top: 84px;               /* height of the main sticky header */
  z-index: 90;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.menu-nav__scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;            /* Firefox */
  -webkit-overflow-scrolling: touch;
}
.menu-nav__scroll::-webkit-scrollbar { display: none; } /* WebKit */
.menu-cat {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--white);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
  white-space: nowrap;
}
.menu-cat:hover { color: var(--green); border-color: var(--green); }
.menu-cat.is-active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* Wrapper holding the stack of category cards */
.menu-wrap { padding-block: clamp(40px, 6vw, 72px); }

/* Each category is a self-contained card */
.menu-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: clamp(24px, 3vw, 36px);
  padding-bottom: clamp(22px, 3vw, 34px);
  scroll-margin-top: 150px;            /* offset for the two stacked sticky bars */
  transition: box-shadow 0.35s var(--ease);
}
.menu-block:hover { box-shadow: var(--shadow); }
.menu-block:last-child { margin-bottom: 0; }

/* Inset padding for everything that sits directly inside the card,
   so the colored header can run full-bleed while content stays inset. */
.menu-block > .menu-grid,
.menu-block > .pizza-wrap,
.menu-block > .menu-sub,
.menu-block > .menu-callout,
.menu-block > .menu-block__note { padding-inline: clamp(22px, 4vw, 40px); }
.menu-block > .menu-block__note { margin-top: 16px; }

/* Base note style (used both in the header and inline under sub-lists) */
.menu-block__note { color: var(--ink-soft); font-size: 0.95rem; font-style: italic; }

/* Colored card header banner */
.menu-block__head {
  position: relative;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: clamp(26px, 4vw, 38px) clamp(22px, 4vw, 40px);
  margin-bottom: clamp(24px, 3vw, 34px);
  overflow: hidden;
}
/* Decorative translucent circles for a little depth */
.menu-block__head::before,
.menu-block__head::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.menu-block__head::after { right: -50px; top: -60px; width: 180px; height: 180px; }
.menu-block__head::before { right: 90px; bottom: -90px; width: 130px; height: 130px; }
.menu-block__head .eyebrow { color: rgba(255, 255, 255, 0.85); margin-bottom: 8px; }
.menu-block__head h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); position: relative; }
.menu-block__head .menu-block__note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 660px;
  position: relative;
}

/* Subsection label (e.g. "Appetizers" within Catering) */
.menu-sub {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-dark);
  margin: 30px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(6, 128, 72, 0.16);
}
.menu-sub:first-of-type { margin-top: 4px; }

/* Two-column item grid on wider screens */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px clamp(40px, 6vw, 72px);
}
.menu-grid--single { grid-template-columns: 1fr; }

/* Optional column headers (for Half/Whole price pairs) */
.menu-colhead {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.menu-colhead span { width: 70px; text-align: right; }

/* A single menu item with dotted leader line */
.menu-item {
  padding: 11px 12px;
  margin-inline: -12px;
  border-radius: 10px;
  transition: background-color 0.2s var(--ease);
}
.menu-item:hover { background: rgba(6, 128, 72, 0.05); }
.menu-item__row { display: flex; align-items: baseline; gap: 10px; }
.menu-item__name { font-weight: 600; font-size: 1.05rem; }
.leader {
  flex: 1 1 auto;
  align-self: center;
  border-bottom: 2px dotted var(--line);
  min-width: 16px;
  transform: translateY(2px);
}
.menu-item__prices { display: flex; gap: 24px; flex: 0 0 auto; }
.menu-item__price {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}
.menu-item__prices .menu-item__price { width: 70px; text-align: right; }
.menu-item__desc {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: italic;
  max-width: 46ch;
}

/* Pizza price grid */
.pizza-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pizza-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.pizza-table thead th {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
  padding: 0 0 14px;
  border-bottom: 2px solid var(--line);
}
.pizza-table thead th:first-child { text-align: left; }
.pizza-table tbody td {
  padding: 14px 0;
  text-align: right;
  border-bottom: 1px solid var(--line);
  color: var(--green-dark);
  font-weight: 600;
  white-space: nowrap;
}
.pizza-table tbody td:first-child {
  text-align: left;
  color: var(--ink);
  font-weight: 600;
  padding-right: 24px;
}
.pizza-table .pizza-name { font-size: 1.05rem; }
.pizza-table .pizza-desc {
  display: block;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: 2px;
}
.pizza-table tbody tr:hover td { background: rgba(6, 128, 72, 0.04); }

/* Little info callout used for toppings / dressings notes */
.menu-callout {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 28px;
}
.menu-callout h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 8px;
}
.menu-callout p { color: var(--ink-soft); font-size: 0.95rem; }
.menu-callout strong { color: var(--ink); }

@media (max-width: 720px) {
  .menu-nav { top: 84px; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12. DELIVERY AREAS  (hub page + individual town pages)
   ========================================================================== */

/* Hub intro */
.area-intro { text-align: center; max-width: 760px; margin: 0 auto; }
.area-intro p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 14px; }

/* Grid of town cards */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: clamp(40px, 6vw, 60px);
}
.area-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(6, 128, 72, 0.35);
}
.area-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(6, 128, 72, 0.10);
  color: var(--green);
  margin-bottom: 18px;
}
.area-card__icon svg { width: 26px; height: 26px; }
.area-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.area-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 18px; }
.area-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--green);
  font-size: 0.95rem;
  transition: gap 0.25s var(--ease);
}
.area-card__link svg { width: 16px; height: 16px; }
.area-card:hover .area-card__link { gap: 14px; }

/* Readable prose column for town pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* Green delivery-radius banner (reused on every town page + the hub) */
.delivery-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow);
}
.delivery-banner::before,
.delivery-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.delivery-banner::after { right: -60px; top: -70px; width: 200px; height: 200px; }
.delivery-banner::before { left: -50px; bottom: -80px; width: 160px; height: 160px; }
.delivery-banner__icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.30);
}
.delivery-banner__icon svg { width: 28px; height: 28px; }
.delivery-banner h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; position: relative; }
.delivery-banner p { color: rgba(255, 255, 255, 0.92); max-width: 580px; margin: 0 auto 28px; position: relative; }
.delivery-banner .btn--primary { background: var(--white); color: var(--green-dark); position: relative; }
.delivery-banner .btn--primary:hover { background: #f0ece4; }

@media (max-width: 960px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }

/* Feedback page — card that holds the embedded review form */
.feedback-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
  min-height: 200px;
}
.feedback-card emr-collect-review-form { display: block; width: 100%; }

/* Homepage reviews carousel wrapper */
.reviews-embed { max-width: 1040px; margin: 0 auto; min-height: 120px; }
.reviews-embed emr-simple-carousel { display: block; width: 100%; }

/* Compact review-avatars badge inside hero sections */
.hero-reviews { margin-top: 26px; min-height: 44px; }
.page-hero .hero-reviews { display: flex; justify-content: center; }
.hero-reviews emr-avatars { display: inline-block; }

/* ==========================================================================
   13. MARKETPLACE PAGES — "order direct" comparison
   ========================================================================== */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 28px);
  margin-top: clamp(36px, 5vw, 52px);
  align-items: start;
}
.compare__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.compare__card--good {
  background: rgba(6, 128, 72, 0.05);
  border-color: rgba(6, 128, 72, 0.30);
  box-shadow: var(--shadow);
}
.compare__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.compare__card--bad .compare__tag { background: rgba(191, 0, 0, 0.10); color: var(--red-dark); }
.compare__card--good .compare__tag { background: rgba(6, 128, 72, 0.12); color: var(--green-dark); }
.compare__card h3 { font-size: 1.45rem; margin-bottom: 18px; }
.compare__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.compare__list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.compare__card--bad .compare__list svg { color: var(--red); }
.compare__card--good .compare__list svg { color: var(--green); }
.compare__card--good .compare__list li { color: var(--ink); }
.compare__card .btn { margin-top: 26px; }

/* Highlight the headline fee stat */
.fee-stat {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
}

@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* ==========================================================================
   14. FAQ ACCORDION (homepage) — uses native <details>/<summary>
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 2px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 20px; color: var(--ink-soft); }
.faq__a p { margin: 0; }
.faq__a a { color: var(--green-dark); font-weight: 600; }
.faq__a a:hover { text-decoration: underline; }
