:root {
  --bg: #f7f1e8;
  --bg-deep: #101213;
  --text: #101010;
  --muted: #6b6259;
  --accent: #b86b44;
  --accent-soft: #e9c3a6;
  --olive: #5c6a57;
  --line: rgba(16, 16, 16, 0.12);
  --radius: 22px;
  --shadow: 0 30px 60px rgba(18, 18, 18, 0.12);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 20%, #fbe9d8 0, transparent 45%),
    radial-gradient(circle at 80% 10%, #e6efe2 0, transparent 45%),
    linear-gradient(180deg, #fbf6ef 0%, #f5ece0 45%, #f1e7d7 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

.bg-orb {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.orb--one {
  background: radial-gradient(circle, #d8895f, transparent 60%);
  top: -140px;
  left: -120px;
}

.orb--two {
  background: radial-gradient(circle, #7d9070, transparent 60%);
  bottom: -160px;
  right: -140px;
  animation-delay: -4s;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
      rgba(0, 0, 0, 0.08) 1px,
      transparent 0
    );
  background-size: 3px 3px;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.container {
  width: min(var(--max-width), 90vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  color: var(--olive);
  margin-bottom: 16px;
  font-weight: 600;
}

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

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

p {
  line-height: 1.7;
  color: var(--muted);
}

.lead {
  font-size: 1.05rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(251, 246, 239, 0.75);
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

section[id] {
  scroll-margin-top: 120px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background 0.3s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 30px rgba(184, 107, 68, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(184, 107, 68, 0.4);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.theme-toggle {
  white-space: nowrap;
}

.hero {
  padding-top: 140px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.media-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--image, linear-gradient(140deg, #f6d9c1, #e7dfd6));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 180px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.media-card::after {
  content: attr(data-label);
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.7);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card.has-image::after {
  display: none;
}

.media-card.media-tall {
  grid-row: span 2;
  min-height: 380px;
}

.media-card.media-wide {
  grid-column: span 2;
  min-height: 210px;
}

.media-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.media-note span {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-weight: 600;
}

.marquee {
  margin-top: 70px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  gap: 60px;
  padding: 18px 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--olive);
  width: max-content;
  flex-wrap: nowrap;
  animation: marquee var(--marquee-duration, 18s) linear infinite;
  will-change: transform;
}

.marquee-track span {
  white-space: nowrap;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: end;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 16, 16, 0.06);
}

.menu {
  background: #fff;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.dish-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 16, 16, 0.08);
  height: 100%;
  width: 100%;
}

.dish-swiper {
  --slides-gap: 18px;
  --slide-width: 280px;
  overflow: hidden;
  position: relative;
}

.dish-swiper .swiper-wrapper {
  display: flex;
  gap: var(--slides-gap);
  align-items: stretch;
  will-change: transform;
  transform: translateX(0);
  transition: transform 0.6s ease;
}

.dish-swiper .swiper-slide {
  flex: 0 0 auto;
  width: var(--slide-width);
  min-width: var(--slide-width);
  max-width: var(--slide-width);
  display: flex;
}

.dish-media {
  border-radius: calc(var(--radius) - 6px);
  min-height: 200px;
  aspect-ratio: 4 / 3;
  background: var(--image, linear-gradient(160deg, #f4d7c6, #e7e1da));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.dish-media::after {
  content: attr(data-label);
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.7);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dish-media.has-image::after {
  display: none;
}

.dish-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.dish-info p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chip {
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

.swiper-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  gap: 16px;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  font-size: 18px;
  font-weight: 700;
}

.swiper-button-prev::after {
  content: "<";
}

.swiper-button-next::after {
  content: ">";
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: translateY(-2px);
}

.swiper-button-prev.is-disabled,
.swiper-button-next.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.swiper-pagination {
  position: static;
  flex: 1;
  text-align: center;
}

.swiper-pagination-bullet {
  background: var(--muted);
  opacity: 0.4;
  border: 0;
  cursor: pointer;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  margin: 0 4px;
  padding: 0;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
}

.chef {
  background: radial-gradient(circle at top left, #f3e6dc, transparent 55%),
    #f7f1e8;
}

.chef-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  align-items: center;
}

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

.chef-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.signature {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.gallery-card {
  min-height: 220px;
  border-radius: var(--radius);
  background: var(--image, linear-gradient(135deg, #f1d2b8, #e9e1d8));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.gallery-card::after {
  content: attr(data-label);
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.7);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card.has-image::after {
  display: none;
}

.site-footer {
  background: #111111;
  color: #fff;
  padding: 60px 0 30px;
}

.site-footer p,
.site-footer .label {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

body.theme-dark {
  --bg: #0f1011;
  --bg-deep: #070808;
  --text: #f6f1e8;
  --muted: #b8b0a6;
  --accent: #d58b5d;
  --accent-soft: #3b2b22;
  --olive: #a9b9a2;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  background: radial-gradient(circle at 15% 20%, #2b2017 0, transparent 45%),
    radial-gradient(circle at 80% 10%, #182117 0, transparent 45%),
    linear-gradient(180deg, #0f1112 0%, #0c0d0e 45%, #0b0c0d 100%);
}

body.theme-dark .site-header {
  background: rgba(12, 13, 14, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-dark .menu {
  background: #0f1112;
}

body.theme-dark .feature-card,
body.theme-dark .dish-card {
  background: #141516;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

body.theme-dark .media-card,
body.theme-dark .dish-media,
body.theme-dark .gallery-card {
  background-image: var(--image, linear-gradient(140deg, #2b2520, #191614));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

body.theme-dark .chef {
  background: radial-gradient(circle at top left, #1b1a18, transparent 55%),
    #0f1011;
}

body.theme-dark .site-footer {
  background: #0b0c0d;
}

body.theme-dark .bg-orb {
  opacity: 0.22;
}

body.theme-dark .orb--one {
  background: radial-gradient(circle, #6f3d27, transparent 60%);
}

body.theme-dark .orb--two {
  background: radial-gradient(circle, #364031, transparent 60%);
}

body.theme-dark .noise {
  opacity: 0.05;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -30px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--marquee-distance, -50%));
  }
}

@media (max-width: 1000px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    order: 3;
  }

  .theme-toggle {
    order: 2;
    margin-left: auto;
  }

  .hero-grid,
  .about-grid,
  .section-head,
  .chef-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .section {
    padding: 90px 0;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.85rem;
  }

  .theme-toggle {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .media-stack {
    grid-template-columns: 1fr;
  }

  .media-card.media-wide {
    grid-column: span 1;
  }

  .feature-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

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

  .marquee-track {
    animation-duration: var(--marquee-duration, 18s) !important;
    animation-iteration-count: infinite !important;
  }
}
