:root {
  --rosso: #ff3434;
  --rosso-dark: #9e161b;
  --basil: #15b66a;
  --cream: #fff4df;
  --gold: #f0b35b;
  --ink: #080808;
  --smoke: rgba(255, 255, 255, 0.72);
  --panel: rgba(12, 12, 12, 0.58);
  --panel-strong: rgba(18, 18, 18, 0.86);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

#pizza-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 67% 48%, rgba(240, 179, 91, 0.16), transparent 31%),
    linear-gradient(115deg, rgba(6, 6, 6, 0.96), rgba(35, 10, 10, 0.72) 48%, rgba(4, 16, 13, 0.84));
}

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

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

button,
input,
a {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(8, 8, 8, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--basil) 0 33%, #fff 33% 66%, var(--rosso) 66%),
    #fff;
  color: #0a0a0a;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.brand small {
  color: var(--smoke);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a,
.phone-link,
.site-footer a {
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.phone-link:hover,
.site-footer a:hover {
  color: #fff;
}

.phone-link {
  display: inline-flex;
  justify-content: center;
  min-width: 136px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  z-index: 3;
}

.hero-section {
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 142px clamp(22px, 8vw, 112px) 88px;
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(4rem, 12vw, 10.5rem);
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.hero-lede {
  width: min(660px, 100%);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--rosso);
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 52, 52, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.button.full-width {
  width: 100%;
}

.price-band {
  padding: 22px clamp(22px, 7vw, 96px);
  background: rgba(0, 0, 0, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-band p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  text-align: center;
}

.price-band strong {
  color: var(--basil);
}

.price-band span {
  width: 1px;
  min-height: 20px;
  background: rgba(255, 255, 255, 0.16);
}

.content-section {
  padding: clamp(72px, 10vw, 130px) clamp(22px, 7vw, 96px);
  background: rgba(6, 6, 6, 0.58);
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 38px;
}

.section-heading h2,
.quote-section h2 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.section-heading p:not(.eyebrow) {
  color: var(--smoke);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.6;
}

.builder-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(280px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
}

.glass-panel,
.story-panel,
.menu-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.pizza-builder {
  padding: clamp(22px, 4vw, 36px);
}

fieldset {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.segmented-control button {
  min-height: 48px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.segmented-control button:last-child {
  border-right: 0;
}

.segmented-control button.is-active {
  background: var(--rosso);
  color: #fff;
}

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

.topping-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
}

.topping-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--basil);
  flex: 0 0 auto;
}

.builder-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 20px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.builder-total span {
  color: rgba(255, 255, 255, 0.72);
}

.builder-total strong {
  font-size: 1.8rem;
  color: var(--gold);
}

.story-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(24px, 4vw, 44px);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.metric-row div {
  min-height: 116px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.metric-row strong {
  display: block;
  color: var(--basil);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.metric-row span,
.story-panel p,
.menu-item p,
.contact-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.menu-section {
  background: rgba(245, 239, 226, 0.94);
  color: #121212;
}

.menu-section .eyebrow,
.gallery-section .eyebrow,
.contact-section .eyebrow {
  color: var(--rosso-dark);
}

.menu-section .section-heading p,
.menu-item p {
  color: rgba(18, 18, 18, 0.66);
}

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

.menu-item {
  overflow: hidden;
  background: #fff;
  color: #151515;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.menu-item.dish.active,
.menu-item.dish:focus-visible {
  border-color: rgba(158, 22, 27, 0.72);
  box-shadow: 0 22px 70px rgba(158, 22, 27, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.menu-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.menu-item div {
  padding: 22px;
}

.menu-item h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.menu-item strong {
  color: var(--rosso-dark);
}

.quote-section {
  display: grid;
  place-items: center;
  min-height: 42vh;
  padding: 80px 22px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.72)),
    url("https://images.unsplash.com/photo-1579751626657-72bc17010498?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.quote-section h2 {
  max-width: 900px;
  margin: 0;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.54);
}

.gallery-section {
  background: #f7f1e6;
  color: #171717;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.contact-section {
  background: rgba(10, 10, 10, 0.88);
}

.contact-card {
  padding: clamp(24px, 4vw, 40px);
}

.contact-card .label {
  margin: 24px 0 8px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card .label:first-child {
  margin-top: 0;
}

.contact-card strong,
.contact-card a {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.16;
}

.contact-card a {
  color: #fff;
  font-weight: 800;
}

.map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(15, 15, 15, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 15, 15, 0.2) 1px, transparent 1px),
    linear-gradient(145deg, #3b3b3b, #191919);
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: var(--shadow);
}

.map-card::before,
.map-card::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.14);
}

.map-card::before {
  left: -10%;
  top: 45%;
  width: 120%;
  height: 18px;
  transform: rotate(-16deg);
}

.map-card::after {
  left: 46%;
  top: -10%;
  width: 18px;
  height: 120%;
  transform: rotate(26deg);
}

.map-card strong,
.map-card small,
.map-pin {
  position: relative;
  z-index: 1;
}

.map-card strong {
  margin-bottom: 8px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.map-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.map-pin {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--rosso);
  transform: rotate(-45deg);
  box-shadow: 0 14px 28px rgba(255, 52, 52, 0.32);
}

.map-pin::after {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 7vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.reveal {
  will-change: transform, opacity;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section {
    min-height: 88vh;
    padding-top: 172px;
  }

  .builder-grid,
  .contact-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .phone-link {
    min-width: 0;
    padding: 11px 12px;
  }

  .hero-section {
    min-height: 86vh;
    padding: 170px 18px 64px;
  }

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

  .price-band span {
    display: none;
  }

  .content-section {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .segmented-control button {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .topping-grid,
  .metric-row,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

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