:root {
  --red: #a92318;
  --red-dark: #6f140f;
  --tomato: #d64225;
  --yellow: #f5b52d;
  --cream: #fff5df;
  --paper: #fffcf4;
  --green: #1f5b3b;
  --ink: #17120e;
  --muted: #685d50;
  --line: rgba(23, 18, 14, 0.16);
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 15px clamp(18px, 4vw, 54px);
  color: white;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled,
.site-header.is-open,
.site-header.is-solid {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.brand,
.footer-brand {
  color: inherit;
  text-decoration: none;
}
.brand {
  display: block;
  width: clamp(84px, 9vw, 126px);
  flex: 0 0 auto;
}
.brand img,
.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 1;
}
.site-nav a,
.site-footer a {
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a[aria-current="page"] { color: var(--yellow); }
.site-header.is-solid .site-nav a[aria-current="page"],
.site-header.is-scrolled .site-nav a[aria-current="page"] { color: var(--red); }
.nav-cta {
  padding: 12px 16px;
  border: 2px solid currentColor;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.hero-gallery,
.hero-gallery img,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-gallery img {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 4200ms ease;
}
.hero-gallery img.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-scrim {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.28) 42%, rgba(0, 0, 0, 0.66)),
    radial-gradient(circle at center, rgba(214, 66, 37, 0.18), transparent 46%);
}
.hero-content {
  position: relative;
  display: grid;
  place-items: center;
  width: min(940px, calc(100% - 40px));
  padding-top: 80px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 11vw, 148px);
  line-height: 0.88;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 980px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.hero p,
.page-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}
.hero p { color: rgba(255, 255, 255, 0.92); }
.button-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 2px solid transparent;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.button-yellow { background: var(--yellow); }
.button-red { background: var(--red); color: white; }
.button-outline { border-color: white; color: white; }
.button-outline-dark { border-color: var(--ink); color: var(--ink); }
.motion-toggle {
  margin-top: 24px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--red);
  color: white;
}
.quick-strip a {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 620px;
}
.split-alt .split-copy { order: 2; }
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 88px);
}
.split-copy h2,
.section-heading h2,
.feature-band h2,
.menu-section h2,
.hours-panel h2,
.map-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 76px);
  line-height: 0.95;
  text-transform: uppercase;
}
.split-copy p,
.feature-band p,
.menu-card p,
.menu-section p,
.catering-grid p,
.map-panel p,
.hours-panel dd,
.check-list {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.split-image {
  min-height: 460px;
  margin: 0;
  overflow: hidden;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(44px, 7vw, 78px) clamp(22px, 7vw, 90px);
  background: var(--green);
  color: white;
}
.feature-band p { color: rgba(255, 255, 255, 0.82); }

.menu-preview,
.menu-layout,
.catering-grid,
.visit-layout {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 100px) 0;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}
.card-grid,
.catering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.menu-card,
.catering-grid article,
.hours-panel,
.map-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}
.menu-card span,
.catering-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.menu-card h3,
.menu-list h3,
.catering-grid h2 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.page-main { padding-top: 82px; }
.page-hero {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 8vw, 96px) clamp(22px, 7vw, 90px);
  background: var(--red-dark);
  color: white;
}
.page-hero p { color: rgba(255, 255, 255, 0.88); }
.page-hero > .button {
  align-self: flex-start;
  margin-top: 28px;
}
.menu-hero {
  background:
    linear-gradient(90deg, rgba(111, 20, 15, 0.94), rgba(111, 20, 15, 0.58)),
    url("assets/baby-johns-margherita-pizza.jpg") center/cover;
}
.catering-hero {
  background:
    linear-gradient(90deg, rgba(31, 91, 59, 0.94), rgba(31, 91, 59, 0.5)),
    url("assets/baby-johns-rigatoni-bolognese.jpg") center/cover;
}
.visit-hero {
  background:
    linear-gradient(90deg, rgba(23, 18, 14, 0.86), rgba(23, 18, 14, 0.48)),
    url("assets/baby-johns-storefront-front.jpg") center/cover;
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.menu-section {
  padding: 34px;
  border: 1px solid var(--line);
  background: white;
}
.menu-list {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.menu-list p { margin: 0; }

.check-list {
  display: grid;
  gap: 14px;
  padding-left: 20px;
}
.visit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}
.hours-panel dl {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
}
.hours-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.hours-panel dt { font-weight: 900; }
.hours-panel dd { margin: 0; text-align: right; }
.map-card {
  position: relative;
  min-height: 350px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 48%, rgba(169, 35, 24, 0.18) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 46%, rgba(31, 91, 59, 0.2) 46% 54%, transparent 54%),
    var(--cream);
}
.map-card strong {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 16px;
  background: var(--red);
  color: white;
  font-family: var(--serif);
  text-transform: uppercase;
}
.map-card span,
.map-card em {
  position: absolute;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}
.map-card span {
  top: 20px;
  left: 54%;
  writing-mode: vertical-rl;
}
.map-card em {
  left: 22px;
  bottom: 48%;
  font-style: normal;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: white;
}
.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  width: 86px;
}
.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 860px) {
  .site-header { min-height: 72px; }
  .brand { min-width: 126px; font-size: 20px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
  }
  .site-nav.is-open { display: grid; justify-content: stretch; }
  .site-nav a { padding: 12px; }
  .nav-cta { text-align: center; }
  .hero h1,
  .page-hero h1 { font-size: clamp(48px, 17vw, 86px); }
  .quick-strip,
  .split,
  .menu-layout,
  .card-grid,
  .catering-grid,
  .visit-layout {
    grid-template-columns: 1fr;
  }
  .split-alt .split-copy { order: initial; }
  .split { min-height: 0; }
  .split-image { min-height: 320px; }
  .feature-band,
  .site-footer {
    display: grid;
    text-align: left;
  }
  .site-footer nav { justify-content: flex-start; }
  .page-main { padding-top: 72px; }
}

@media (max-width: 560px) {
  .hero { min-height: 92vh; }
  .hero-content { width: min(100% - 28px, 940px); }
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 64px);
    overflow-wrap: break-word;
  }
  .button { width: 100%; }
  .quick-strip a { min-height: 62px; }
  .split-copy,
  .page-hero { padding-left: 22px; padding-right: 22px; }
  .hours-panel dl div {
    display: grid;
    gap: 4px;
  }
  .hours-panel dd { text-align: left; }
}

/* Sticky mobile order bar */
.sticky-order-bar {
  display: none;
}

@media (max-width: 860px) {
  body { padding-bottom: 64px; }
  .sticky-order-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    justify-content: center;
    align-items: center;
    padding: 12px 18px;
    background: var(--yellow);
    box-shadow: 0 -1px 0 var(--line);
  }
  .sticky-order-bar a {
    width: 100%;
    text-align: center;
  }
}
