:root {
  --red: #b52222;
  --red-dark: #771414;
  --cream: #fff6e6;
  --cream-2: #fffaf0;
  --green: #157a3b;
  --black: #17120f;
  --ink: #2c211c;
  --muted: #6f625b;
  --line: rgba(44, 33, 28, 0.14);
  --shadow: 0 22px 60px rgba(62, 24, 12, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: white;
  color: var(--red);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 7px 16px;
  color: white;
  background: var(--red);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 96px;
  height: 52px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--red);
  font-size: 1.2rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
}

.nav-links a:not(.button) {
  color: var(--ink);
}

.nav-links a:not(.button):hover {
  color: var(--red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  color: white;
  background: var(--red);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(181, 34, 34, 0.24);
}

.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-small {
  min-height: 40px;
  padding: 10px 14px;
}

.button-light {
  color: var(--red);
  background: white;
  border-color: white;
}

.button-outline,
.button-outline-dark {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

.button-outline-dark {
  color: var(--red);
  border-color: var(--red);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 12, 9, 0.84), rgba(18, 12, 9, 0.52), rgba(18, 12, 9, 0.22)),
    url("assets/hero-pizza.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--green), white, var(--red));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 370px;
  align-items: center;
  gap: 42px;
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #6cff9d;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 9vw, 6.9rem);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quick-card img {
  width: 180px;
  margin-bottom: 18px;
}

.quick-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.quick-card dt {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.quick-card dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

.split,
.catering-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: start;
}

.intro {
  background: white;
}

.intro p:last-child,
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.menu-section {
  background: var(--cream);
}

.menu-tools {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-bottom: 24px;
}

.menu-tools label,
.form-card label {
  color: var(--ink);
  font-weight: 900;
}

.menu-tools input,
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 30px rgba(82, 39, 19, 0.08);
}

.menu-card h3 {
  padding-bottom: 12px;
  color: var(--red);
  border-bottom: 3px solid var(--green);
  font-family: Georgia, "Times New Roman", serif;
}

.menu-card ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.menu-card li {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(44, 33, 28, 0.16);
}

.menu-card span {
  font-weight: 850;
}

.menu-card strong {
  color: var(--green);
  font-size: 0.93rem;
}

.menu-card.is-hidden {
  display: none;
}

.original-menu {
  background: white;
}

.original-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.menu-scan {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.menu-scan img {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
}

.order-section {
  color: white;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.order-section .eyebrow {
  color: #bff8ce;
}

.order-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.order-panel p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catering {
  background: var(--cream-2);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px white;
}

.form-card,
.hours-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.form-card {
  display: grid;
  gap: 14px;
}

.gallery {
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-grid img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.contact {
  background: var(--cream);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  font-size: 1.08rem;
  font-weight: 850;
}

.contact-list a {
  color: var(--red);
}

.hours-card {
  margin: 22px 0;
}

.hours-card p {
  margin: 8px 0 0;
}

.map-card {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(rgba(23, 18, 15, 0.26), rgba(23, 18, 15, 0.5)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, var(--green), var(--red));
  box-shadow: var(--shadow);
}

.map-card div {
  display: grid;
  gap: 10px;
  max-width: 300px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(23, 18, 15, 0.72);
  text-align: center;
}

.map-card a {
  color: #fff1bf;
  font-weight: 900;
  text-decoration: underline;
}

.site-footer {
  padding: 36px 0 86px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer strong {
  color: white;
}

.site-footer a {
  display: block;
  color: white;
  font-weight: 850;
  margin-bottom: 8px;
}

.demo-note {
  color: #f6d98a;
  font-size: 0.9rem;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--black);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.18);
}

.mobile-cta a {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 950;
}

.mobile-cta a:last-child {
  background: var(--red);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 60px 16px 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 92vh;
  width: min(1200px, 100%);
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--black);
  background: white;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .top-strip {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .hero-grid,
  .split,
  .catering-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .quick-card {
    max-width: 460px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-panel,
  .footer-grid {
    display: grid;
  }
}

@media (max-width: 680px) {
  .top-strip span {
    display: none;
  }

  .nav-shell {
    min-height: 72px;
  }

  .brand img {
    width: 78px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  .hero-grid {
    padding: 54px 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions .button,
  .order-actions .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .menu-grid,
  .original-menu-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .map-card {
    min-height: 340px;
  }

  .mobile-cta {
    display: grid;
  }
}
