:root {
  --bg: #0f0f12;
  --panel: #17181d;
  --text: #f7f2ec;
  --muted: rgba(247, 242, 236, 0.78);
  --button: #5f7975;
  --button-hover: #73908b;
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(180deg, #111216 0%, #0c0d10 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 7px 7px;
}

.page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0 0 40px;
}

.preview-banner {
  position: sticky;
  top: 14px;
  z-index: 5;
  width: fit-content;
  margin: 14px auto -8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 22, 28, 0.72);
  color: rgba(247, 242, 236, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.hero {
  position: relative;
  min-height: 980px;
  padding: 24px 22px 60px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background:
    linear-gradient(180deg, rgba(12, 10, 9, 0.18) 0%, rgba(12, 10, 9, 0.5) 38%, rgba(8, 8, 10, 0.96) 78%),
    url("https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1400&q=80")
      center top / cover no-repeat;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 12%, transparent 0%, transparent 20%, rgba(11, 11, 14, 0.2) 42%, rgba(11, 11, 14, 0.9) 84%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(9, 9, 12, 0.92) 76%, #0b0c10 100%);
}

.back-link {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
}

.hero-copy {
  width: 100%;
  text-align: center;
  padding-top: 330px;
}

.hero-copy h1,
.menu-section h2,
.card h3,
.hero-panel h2 {
  font-family: "Cormorant Garamond", serif;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 24px var(--shadow);
}

.hero-copy em {
  font-style: italic;
  font-weight: 500;
}

.place {
  margin: 28px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--muted);
}

.address {
  margin: 0;
  line-height: 1.6;
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  color: rgba(247, 242, 236, 0.86);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  margin-top: 170px;
  padding: 20px 28px;
  border-radius: 14px;
  background: rgba(95, 121, 117, 0.9);
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
  transition: background 180ms ease, transform 180ms ease;
}

.cta:hover {
  background: rgba(115, 144, 139, 0.96);
  transform: translateY(-2px);
}

.hero-panel {
  display: none;
}

.menu-section {
  margin-top: -8px;
  padding: 0 22px;
}

.menu-section h2 {
  margin: 0 0 26px;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 0.95;
}

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

.card {
  text-align: center;
}

.thumb {
  width: 100%;
  aspect-ratio: 0.92;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  background-size: cover;
  background-position: center;
}

.thumb.pizza {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.18)),
    url("https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=900&q=80");
}

.thumb.pasta {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16)),
    url("https://images.unsplash.com/photo-1621996346565-e3dbc646d9a9?auto=format&fit=crop&w=900&q=80");
}

.thumb.dessert {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2)),
    url("https://images.unsplash.com/photo-1571877227200-a0d98ea607e9?auto=format&fit=crop&w=900&q=80");
}

.card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.7vw, 1.55rem);
  line-height: 1.08;
  font-weight: 500;
}

@media (max-width: 700px) {
  .hero {
    min-height: 930px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy {
    padding-top: 270px;
  }

  .cta {
    min-width: 0;
    width: 100%;
    margin-top: 160px;
  }

  .menu-section {
    padding: 0 18px;
  }
}

@media (min-width: 900px) {
  .page {
    width: min(100%, 1400px);
    padding: 0 0 56px;
  }

  .preview-banner {
    margin-top: 18px;
  }

  .hero {
    min-height: 760px;
    padding: 30px 34px 40px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .hero-image {
    transform: scale(1);
    background:
      linear-gradient(90deg, rgba(8, 8, 10, 0.2) 0%, rgba(8, 8, 10, 0.28) 35%, rgba(8, 8, 10, 0.72) 100%),
      linear-gradient(180deg, rgba(12, 10, 9, 0.08) 0%, rgba(8, 8, 10, 0.86) 92%),
      url("https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1800&q=80")
        center center / cover no-repeat;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 8, 10, 0.06) 0%, rgba(8, 8, 10, 0.22) 45%, rgba(8, 8, 10, 0.9) 100%);
  }

  .hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
    gap: 32px;
    align-items: end;
  }

  .hero-copy {
    text-align: left;
    padding-top: 170px;
    max-width: 760px;
  }

  .hero-copy h1 {
    font-size: clamp(4.8rem, 8vw, 7rem);
    max-width: 9ch;
  }

  .place {
    font-size: 2rem;
  }

  .address {
    font-size: 1.25rem;
    max-width: 28ch;
  }

  .cta {
    margin-top: 44px;
    min-width: 280px;
  }

  .hero-panel {
    display: block;
    align-self: end;
    padding: 26px;
    border-radius: 22px;
    background: rgba(13, 14, 18, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .panel-kicker {
    margin: 0 0 10px;
    color: rgba(247, 242, 236, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
  }

  .hero-panel h2 {
    margin: 0 0 12px;
    font-size: 2.2rem;
    line-height: 0.95;
  }

  .hero-panel p:last-child {
    margin: 0;
    color: rgba(247, 242, 236, 0.8);
    line-height: 1.65;
    font-size: 1rem;
  }

  .menu-section {
    margin-top: 24px;
    padding: 0 34px;
  }

  .menu-section h2 {
    margin-bottom: 24px;
    font-size: 3.2rem;
  }

  .menu-grid {
    gap: 24px;
  }

  .thumb {
    aspect-ratio: 1.2;
    border-radius: 20px;
  }

  .card h3 {
    font-size: 2rem;
  }
}

@media (max-width: 540px) {
  .hero {
    min-height: 900px;
  }

  .hero-copy h1 {
    font-size: 4.2rem;
  }

  .place {
    font-size: 1.45rem;
  }

  .address {
    font-size: 1.05rem;
  }

  .menu-grid {
    gap: 12px;
  }
}
