:root {
  --cream-1: #f8f2e8;
  --cream-2: #efe2cf;
  --ink: #16110e;
  --ink-soft: #534841;
  --wine: #6b1f2f;
  --wine-bright: #8d2a3e;
  --gold: #d6a056;
  --olive: #4d5d33;
  --card: #fffaf2;
  --line: rgba(69, 45, 26, 0.18);
  --radius: 18px;
  --shadow-lg: 0 20px 50px rgba(34, 21, 12, 0.2);
  --shadow-sm: 0 8px 24px rgba(34, 21, 12, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% 2%, #fff3dc 0, transparent 28%),
    radial-gradient(circle at 92% 8%, #ecd7b8 0, transparent 26%), var(--cream-1);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: relative;
  z-index: 30;
  isolation: isolate;
  overflow: visible;
  border-bottom: 1px solid rgba(48, 27, 20, 0.58);
  background: linear-gradient(
    180deg,
    rgba(122, 73, 56, 0.96) 0%,
    rgba(96, 57, 43, 0.95) 52%,
    rgba(74, 45, 34, 0.94) 100%
  );
  backdrop-filter: blur(10px) saturate(100%);
  box-shadow: inset 0 1px 0 rgba(232, 196, 165, 0.16), 0 12px 30px rgba(41, 21, 14, 0.36);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(223, 187, 156, 0.09) 0%, rgba(51, 28, 20, 0) 62%),
    repeating-linear-gradient(106deg, rgba(226, 197, 171, 0.06) 0 2px, transparent 2px 24px),
    repeating-linear-gradient(-106deg, rgba(54, 29, 20, 0.09) 0 1px, transparent 1px 28px);
  opacity: 0.58;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 11px;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 11px -2px,
      rgba(46, 25, 18, 0.63) 0 9px,
      transparent 9.6px
    )
    0 0 / 22px 11px repeat-x;
  box-shadow:
    inset 0 1px 0 rgba(214, 179, 150, 0.12),
    0 1px 0 rgba(43, 24, 18, 0.46);
  opacity: 0.62;
}

.site-header .shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 182, 152, 0.36) 24%,
    rgba(198, 149, 110, 0.4) 50%,
    rgba(217, 182, 152, 0.36) 76%,
    transparent 100%
  );
  opacity: 0.44;
}

.site-header .shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 168px;
  position: relative;
  z-index: 1;
}

.brand {
  position: absolute;
  left: 0;
  top: 2px;
  width: 150px;
  line-height: 0;
  flex: 0 0 auto;
  z-index: 3;
}

.brand img {
  width: 100%;
  height: auto;
  max-width: none;
  -webkit-clip-path: polygon(6% 0, 94% 0, 94% 86%, 50% 100%, 6% 86%);
  clip-path: polygon(6% 0, 94% 0, 94% 86%, 50% 100%, 6% 86%);
  filter: drop-shadow(0 12px 20px rgba(24, 14, 9, 0.5));
}

.site-nav {
  display: flex;
  gap: 1.02rem;
  align-items: center;
  margin-top: -2px;
}

.site-nav a {
  position: relative;
  color: #e9d2b7;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.46rem 0.58rem;
  border-radius: 12px;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  right: 0.32rem;
  bottom: -0.14rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #d8a97a, #b06f52, transparent);
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a.current {
  color: #fff;
  background: rgba(244, 215, 190, 0.11);
}

.site-nav a.current {
  background: linear-gradient(180deg, rgba(249, 230, 211, 0.32), rgba(156, 108, 82, 0.68));
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 224, 0.42),
    0 8px 16px rgba(39, 21, 14, 0.34),
    0 0 14px rgba(224, 154, 95, 0.18);
}

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

.nav-toggle {
  display: none;
  border: 1px solid rgba(221, 188, 158, 0.4);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(116, 69, 53, 0.92), rgba(77, 46, 34, 0.9));
  width: 46px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #edd5bc;
}

main {
  min-height: calc(100vh - 170px);
}

.eyebrow {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--olive);
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.08;
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 0.8rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.18rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--wine), var(--wine-bright));
}

.btn-primary:hover {
  filter: brightness(1.07);
}

.btn-outline {
  color: #fff7eb;
  border-color: rgba(255, 231, 199, 0.76);
  background: rgba(255, 244, 229, 0.07);
}

.btn-outline:hover {
  background: rgba(255, 244, 229, 0.18);
}

.text-link {
  color: var(--wine);
  font-weight: 700;
}

.hero-immersive {
  position: relative;
  min-height: min(76vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 2.2rem;
}

.hero-immersive-media {
  position: absolute;
  inset: -2%;
  z-index: 0;
  overflow: hidden;
}

.hero-immersive-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-immersive-bg-fallback {
  filter: saturate(1.06) brightness(0.8);
}

.hero-immersive-bg-video {
  z-index: 1;
  transform: scale(1.08);
  filter: blur(2px) saturate(1.14) brightness(0.75);
  animation: hero-video-drift 24s ease-in-out infinite alternate;
}

.hero-immersive-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 10, 7, 0.88) 6%, rgba(15, 10, 7, 0.42) 52%, rgba(15, 10, 7, 0.82) 100%),
    radial-gradient(circle at 74% 30%, rgba(219, 140, 58, 0.2) 0, rgba(219, 140, 58, 0) 34%),
    linear-gradient(180deg, rgba(24, 15, 11, 0.24) 0%, rgba(24, 15, 11, 0.62) 100%);
}

.hero-immersive-content {
  position: relative;
  z-index: 2;
  color: #fff7eb;
  max-width: 740px;
  padding: 5.8rem 0 4.2rem;
}

.hero-immersive-content .eyebrow {
  color: #ffd998;
}

.hero-immersive-content p {
  color: #f6e8d8;
  max-width: 58ch;
}

.hero-metrics {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-metrics div {
  min-width: 150px;
  padding: 0.65rem 0.85rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 228, 193, 0.34);
  background: rgba(255, 238, 216, 0.09);
}

.hero-metrics strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
}

.hero-metrics span {
  font-size: 0.82rem;
  color: #f2dcc0;
}

@keyframes hero-video-drift {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.14) translate3d(-1.5%, 1%, 0);
  }
}

.quick-grid {
  margin: 0 auto 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quick-card {
  background: linear-gradient(170deg, #fff9f0, #f6e7d1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.18rem;
  box-shadow: var(--shadow-sm);
}

.quick-card h2 {
  font-size: 1.65rem;
}

.quick-card p {
  color: var(--ink-soft);
  margin: 0.32rem 0;
}

.section {
  margin: 2.7rem auto;
}

.section-head p {
  margin-bottom: 0.25rem;
}

.dish-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dish-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.dish-card img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.dish-card h3,
.dish-card p {
  padding-inline: 1rem;
}

.dish-card h3 {
  margin-top: 0.8rem;
}

.dish-card p {
  color: var(--ink-soft);
  padding-bottom: 1rem;
}

.story-panel {
  margin: 2.8rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.story-panel figure,
.story-panel > div {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

.story-panel figure img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.story-panel > div {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, #fff8ee, #f3e4d2);
}

.story-panel .btn-outline {
  color: var(--wine);
  border-color: rgba(107, 31, 47, 0.4);
  background: transparent;
}

.story-panel .btn-outline:hover {
  background: rgba(107, 31, 47, 0.08);
}

.photo-strip {
  margin: 1.4rem auto 2.6rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 0.8rem;
}

.photo-strip img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.cta-band {
  margin: 2rem auto 3.3rem;
  padding: 1.45rem;
  border-radius: var(--radius);
  border: 1px solid rgba(107, 31, 47, 0.2);
  background: linear-gradient(95deg, #f8e8d3, #f3debf 42%, #efd4af);
}

.cta-band p {
  color: #4f4034;
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(67, 47, 30, 0.2);
  background: #f0e1ce;
}

.footer-grid {
  padding: 1.5rem 0 0.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-grid p {
  margin: 0.3rem 0;
  color: #4f443d;
}

.tiny-row {
  padding: 0.8rem 0 1rem;
}

.page-pad {
  padding-block: 3rem 2.4rem;
}

.page-hero {
  margin-bottom: 1.5rem;
  max-width: 70ch;
  background: linear-gradient(160deg, #fff8ec, #f4e3cb);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.2rem;
  isolation: isolate;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 9, 7, 0.2) 0%, rgba(14, 9, 7, 0.68) 100%);
}

.inner-hero .eyebrow {
  color: #ffd998;
}

.inner-hero h1,
.inner-hero p {
  color: #fff8ef;
}

.inner-hero-menu::before {
  background-image: url("../img/photos/pasta.webp");
}

.inner-hero-order::before {
  background-image: url("../img/photos/pizza.jpg");
}

.inner-hero-private::before {
  background-image: url("../img/photos/interior.webp");
}

.inner-hero-about::before {
  background-image: url("../img/photos/chef.jpg");
}

.inner-hero-contact::before {
  background-image: url("../img/photos/hero.webp");
}

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

.menu-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.08rem;
}

.menu-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-section li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dotted rgba(89, 63, 39, 0.35);
}

.menu-section li:last-child {
  border-bottom: 0;
}

.integration-note {
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, #fff7e9, #f2e1cc);
  padding: 0.85rem 1rem;
}

.muted {
  color: var(--ink-soft);
}

.order-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.order-catalog,
.order-cart {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1rem;
}

.order-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.order-item {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.order-item .body {
  padding: 0.7rem 0.8rem 0.85rem;
}

.order-item h3 {
  margin-bottom: 0.3rem;
  font-size: 1.32rem;
}

.order-item p {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.order-item .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  background: rgba(77, 93, 51, 0.14);
  color: #384a1d;
  font-size: 0.78rem;
  font-weight: 700;
}

.mini-btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 0.42rem 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--wine);
}

.cart-list {
  margin: 0.8rem 0;
  padding: 0;
  list-style: none;
  max-height: 290px;
  overflow: auto;
}

.cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.48rem 0;
  border-bottom: 1px dashed rgba(89, 63, 39, 0.33);
}

.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fff8ee, #f1e2cf);
  padding: 1rem;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #413832;
}

input,
textarea {
  font: inherit;
  border: 1px solid rgba(88, 60, 35, 0.28);
  border-radius: 10px;
  background: #fff;
  padding: 0.58rem 0.7rem;
}

textarea {
  resize: vertical;
}

.form-feedback {
  margin: 0;
  color: var(--olive);
  font-weight: 700;
}

.map-block {
  margin: 1.2rem 0;
}

.map-placeholder {
  border: 1px dashed #b88c57;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(135deg, #f6e8d3, #efd9ba);
  padding: 2.2rem 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .quick-grid,
  .dish-grid,
  .menu-board,
  .footer-grid,
  .order-items {
    grid-template-columns: 1fr 1fr;
  }

  .story-panel,
  .order-shell {
    grid-template-columns: 1fr;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    overflow: hidden;
  }

  .site-header .shell {
    min-height: 92px;
    padding-left: 0;
  }

  .brand {
    position: static;
    width: 104px;
  }

  .brand img {
    width: 100%;
    filter: drop-shadow(0 6px 10px rgba(24, 14, 9, 0.34));
  }

  .site-nav {
    position: absolute;
    top: 92px;
    left: 4vw;
    right: 4vw;
    border-radius: 12px;
    border: 1px solid rgba(218, 186, 158, 0.28);
    background: linear-gradient(165deg, rgba(113, 68, 52, 0.97), rgba(70, 42, 32, 0.96));
    box-shadow: 0 14px 30px rgba(38, 20, 14, 0.38);
    padding: 1.08rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .nav-toggle {
    display: inline-block;
    width: 56px;
    height: 48px;
    padding: 10px;
  }

  .nav-toggle span {
    margin: 6px 0;
  }

  .quick-grid,
  .dish-grid,
  .menu-board,
  .photo-strip,
  .order-items,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-immersive {
    min-height: 70vh;
  }

  .hero-immersive-bg-video {
    filter: blur(1.3px) saturate(1.12) brightness(0.74);
    transform: scale(1.12);
  }

  .hero-immersive-content {
    padding: 4.3rem 0 3.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-immersive-bg-video {
    display: none;
    animation: none;
  }
}
