:root {
  --bg: #f4efe8;
  --panel: #fff8f0;
  --ink: #21201f;
  --muted: #5f5951;
  --primary: #b43a22;
  --primary-dark: #8f2f1c;
  --accent: #1f5a35;
  --line: #e5d8c9;
  --shadow: 0 20px 40px rgba(25, 20, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #fff3e1 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, #f7d9b5 0%, transparent 32%),
    radial-gradient(circle at 20% 80%, #f9efe2 0%, transparent 36%),
    var(--bg);
  line-height: 1.6;
  background-size: 120% 120%;
  animation: ambientShift 18s ease-in-out infinite alternate;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(244, 239, 232, 0.86);
  border-bottom: 1px solid rgba(126, 104, 84, 0.2);
  box-shadow: 0 8px 24px rgba(30, 19, 11, 0.08);
}

.site-header.scrolled {
  background: rgba(244, 239, 232, 0.95);
  box-shadow: 0 12px 28px rgba(30, 19, 11, 0.14);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #d76a2f);
}

.brand strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  background: linear-gradient(90deg, #d3502d, #eea23a);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-start;
  background: #ecece3;
  color: #1f2c15;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(146, 143, 132, 0.13) 1.4px, transparent 1.4px);
  background-size: 34px 34px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.55), transparent 36%),
    radial-gradient(circle at 86% 18%, rgba(217, 184, 152, 0.25), transparent 34%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4.8rem 0 0;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  animation: fadeUp 0.9s ease;
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

.hero-copy {
  padding: 1.4rem 0 4.6rem 0.8rem;
  position: relative;
  z-index: 3;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  margin: 0 0 0.8rem;
  background: linear-gradient(90deg, rgba(169, 99, 72, 0.94), rgba(194, 141, 93, 0.94));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(222, 119, 71, 0.28);
  animation: pulseGlow 3s ease-in-out infinite;
}

.hero-pill.is-open {
  background: linear-gradient(90deg, rgba(44, 156, 95, 0.95), rgba(99, 202, 123, 0.95));
}

.hero-pill.is-closing-soon {
  background: linear-gradient(90deg, rgba(234, 137, 56, 0.96), rgba(247, 178, 78, 0.96));
}

.hero-pill.is-closing {
  background: linear-gradient(90deg, rgba(215, 74, 49, 0.96), rgba(238, 115, 76, 0.96));
}

.hero-pill.is-opening-soon {
  background: linear-gradient(90deg, rgba(80, 135, 201, 0.96), rgba(122, 171, 229, 0.96));
}

.hero-pill.is-closed {
  background: linear-gradient(90deg, rgba(97, 90, 86, 0.95), rgba(127, 118, 110, 0.95));
}

.hero h1 {
  color: #1d2a13;
  font-size: clamp(2.4rem, 5.5vw, 5.1rem);
  line-height: 1.06;
  max-width: 11.5ch;
  margin-bottom: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.7rem;
}

.hero .eyebrow {
  color: #d2562b;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.hero-lead {
  max-width: 50ch;
  font-size: 1.08rem;
  color: #58574f;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.hero-main-photo {
  width: min(390px, 76%);
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  margin: 1.7rem auto 0;
  border: 8px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 26px 44px rgba(43, 39, 32, 0.2);
  position: relative;
  z-index: 2;
  animation: floatSoft 9s ease-in-out infinite;
}

.hero-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-rating {
  position: absolute;
  right: 0.8rem;
  top: 1.1rem;
  z-index: 4;
  text-align: right;
}

.hero-rating strong {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.22rem;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1;
  color: #1e2b13;
}

.hero-rating strong span {
  color: #e06b2a;
  font-size: 1.05rem;
  margin-top: 0.35rem;
}

.hero-rating p {
  margin: 0.3rem 0 0;
  color: #58574f;
  font-size: 1.02rem;
}

.hero-order-card {
  position: absolute;
  right: 0;
  bottom: 7.4rem;
  z-index: 5;
  width: min(320px, 84%);
  background: linear-gradient(145deg, #243718, #1b2e13);
  color: #f9f7f1;
  border-radius: 20px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 20px 35px rgba(23, 30, 16, 0.32);
  animation: driftCard 10s ease-in-out infinite;
}

.hero-order-card h3 {
  font-size: 1.76rem;
  margin-bottom: 0.55rem;
  font-family: "Playfair Display", serif;
  color: #fff;
}

.hero-order-card p {
  margin: 0;
  color: #d4dfce;
  font-size: 0.95rem;
}

.hero-order-card div {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.hero-order-card span {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.hero-order-card a {
  color: #ffc776;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-pizza-foreground {
  position: absolute;
  left: -8%;
  bottom: -300px;
  width: min(760px, 95%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 12px solid #eed8bf;
  box-shadow: 0 30px 48px rgba(47, 37, 27, 0.28);
  z-index: 1;
  animation: floatSoft 11s ease-in-out infinite reverse;
}

.hero-pizza-foreground img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-pizza-placeholder {
  position: absolute;
  left: -8%;
  bottom: -300px;
  width: min(760px, 95%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero .btn-secondary {
  border-color: #2d3825;
  color: #2d3825;
  background: transparent;
}

.hero .btn-secondary:hover {
  background: rgba(45, 56, 37, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(115deg, #cc4426, #eb7b2c);
  color: #fff;
  box-shadow: 0 10px 24px rgba(197, 74, 45, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(115deg, #c23b20, #f0923a);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(197, 74, 45, 0.4);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact .btn-secondary {
  color: var(--ink);
  border-color: #d7b99a;
  background: #fff3e6;
}

.contact .btn-secondary:hover {
  background: #f3e0cb;
}

.section {
  padding: 4.8rem 0;
  position: relative;
}

.flavor-marquee {
  position: relative;
  z-index: 8;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 45%),
    linear-gradient(90deg, #d9dfd2, #ecd5bf, #d1dfd4);
  color: #4e433a;
  border-top: 1px solid rgba(255, 255, 255, 0.52);
  border-bottom: 1px solid rgba(124, 109, 95, 0.2);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(120, 82, 61, 0.08);
}

.marquee-track {
  display: flex;
  gap: 0.8rem;
  width: max-content;
  min-width: 100%;
  padding: 0.65rem 0;
  animation: marqueeSlide 24s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.95;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.26);
}

.marquee-track span::after {
  content: "•";
  color: rgba(114, 97, 84, 0.65);
}

.feature-strip {
  margin-top: 1.2rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-strip article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.feature-strip article:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 36px rgba(36, 23, 11, 0.18);
}

.feature-strip h3 {
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
  font-family: "Playfair Display", serif;
}

.feature-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head .eyebrow {
  color: var(--primary);
}

.menu-grid,
.gallery-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

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

.menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 26px 42px rgba(25, 20, 17, 0.18);
}

.menu-photo-wrap {
  height: 230px;
  overflow: hidden;
  background: #f7efe4;
}

.menu-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.menu-card:hover .menu-photo {
  transform: scale(1.05);
}

.menu-card-body {
  padding: 1rem;
}

.menu-card h3 {
  margin-bottom: 0.3rem;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
}

.price {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--primary);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.about {
  background: linear-gradient(180deg, rgba(255, 247, 233, 0.76), rgba(255, 255, 255, 0.86));
}

.about-text p {
  color: var(--muted);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.delivery-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.delivery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 42px rgba(25, 20, 17, 0.16);
}

.quick-info {
  margin: 0.9rem 0 1.2rem;
  color: var(--muted);
}

.quick-info p {
  margin: 0.25rem 0;
}

.testimonials {
  background: linear-gradient(180deg, #fffaf2, #f9f1e8);
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

blockquote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
  color: var(--muted);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

blockquote:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 36px rgba(30, 22, 16, 0.17);
}

.review-stars {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #d49a3a;
  margin-bottom: 0.55rem;
  line-height: 1;
}

blockquote cite {
  margin-top: 0.7rem;
  display: block;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.contact {
  background: #fff;
}

.contact-list {
  padding-left: 0;
  list-style: none;
  color: var(--muted);
  margin: 1rem 0 0;
}

.contact-list li {
  margin: 0.45rem 0;
}

.image-placeholder {
  min-height: 220px;
  border: 2px dashed #d8b998;
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.9rem;
  color: #8a5e3f;
  background:
    linear-gradient(120deg, rgba(253, 229, 201, 0.72), rgba(255, 250, 243, 0.95), rgba(253, 229, 201, 0.72)),
    #fff;
  background-size: 200% 200%;
  font-weight: 700;
  animation: placeholderShimmer 6s ease-in-out infinite;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.image-placeholder:hover {
  transform: translateY(-5px);
  border-color: #cf9a6f;
}

.image-placeholder.tall {
  min-height: 340px;
}

.section-photo-wrap {
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6eee3;
  box-shadow: var(--shadow);
}

.section-photo-wrap.tall {
  min-height: 340px;
}

.section-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.section-photo-wrap:hover .section-photo {
  transform: scale(1.04);
}

.map-wrap {
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6eee3;
  box-shadow: var(--shadow);
}

.map-wrap.tall {
  height: 340px;
  min-height: 340px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #efe0d0, #f5eadd, #efe0d0);
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: #5a4f45;
  font-size: 0.9rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambientShift {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes driftCard {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-8px) translateX(-6px);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(222, 119, 71, 0.3);
  }
  50% {
    box-shadow: 0 14px 30px rgba(255, 158, 96, 0.48);
  }
}

@keyframes marqueeSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes placeholderShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.reveal-item {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 980px) {
  .feature-strip {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .menu-grid,
  .split,
  .gallery-grid,
  .delivery-card,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .image-placeholder.tall {
    min-height: 260px;
  }

  .section-photo-wrap.tall,
  .map-wrap.tall {
    height: 260px;
    min-height: 260px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 4rem 0 0;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .hero-copy {
    padding: 0 0 1rem;
  }

  .hero-visual {
    min-height: 600px;
  }

  .hero-main-photo {
    width: min(370px, 72%);
    margin-right: 1rem;
  }

  .hero-rating {
    right: 0.4rem;
  }

  .hero-order-card {
    width: min(330px, 88%);
    right: 0.2rem;
    bottom: 8.5rem;
  }

  .hero-pizza-foreground,
  .hero-pizza-placeholder {
    width: min(680px, 94%);
    left: 1%;
    bottom: -260px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 4vw;
    left: 4vw;
    padding: 0.8rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    padding-top: 3.1rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    gap: 0.8rem;
  }

  .hero-copy {
    padding-bottom: 0.2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 490px;
  }

  .hero-main-photo {
    width: min(300px, 70%);
    margin-top: 1.4rem;
    border-width: 6px;
  }

  .hero-rating {
    top: 0.2rem;
    right: 0.1rem;
  }

  .hero-rating p {
    font-size: 0.9rem;
  }

  .hero-order-card {
    width: min(290px, 92%);
    right: 0.1rem;
    bottom: 7.2rem;
    padding: 1rem;
  }

  .hero-order-card h3 {
    font-size: 1.45rem;
  }

  .hero-order-card span {
    font-size: 1.28rem;
  }

  .hero-pizza-foreground,
  .hero-pizza-placeholder {
    width: 96%;
    left: 2%;
    bottom: -205px;
  }

  .section {
    padding: 4rem 0;
  }

  .marquee-track {
    animation-duration: 18s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
