:root {
  --alpine: #1f3a2c;
  --slate-green: #5b755d;
  --copper: #b87730;
  --cream: #f5f0e6;
  --charcoal: #1c251f;
  --mist: #fffdf8;
  --bark: #3f3126;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 580px at 105% -10%, rgba(184, 119, 48, 0.2), transparent 55%),
    radial-gradient(900px 500px at -15% 12%, rgba(91, 117, 93, 0.23), transparent 48%),
    linear-gradient(180deg, #fffdf8 0%, #f9f4e8 58%, #f5f0e6 100%),
    var(--cream);
}

.ambient-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(91, 117, 93, 0.1), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(184, 119, 48, 0.12), transparent 26%),
    linear-gradient(rgba(31, 58, 44, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 58, 44, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}

.hero-shell {
  position: relative;
}

.hero-stage {
  position: relative;
}

.hero-slideshow {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 1300ms ease;
}

.hero-slide img {
  box-shadow: 0 20px 40px -30px rgba(31, 58, 44, 0.6);
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: 75%;
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.88);
  padding: 0.75rem 0.95rem;
  backdrop-filter: blur(4px);
}

.hero-caption span {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-green);
}

.hero-caption p {
  margin: 0.15rem 0 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--alpine);
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  border-radius: 0.95rem;
  border: 1px solid rgba(31, 58, 44, 0.14);
  background: rgba(255, 253, 248, 0.95);
  padding: 0.7rem 0.9rem;
  box-shadow: 0 14px 26px -18px rgba(31, 58, 44, 0.55);
  animation: floaty 3.2s ease-in-out infinite;
}

.hero-floating-card p {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-green);
}

.hero-floating-card strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.95rem;
  color: var(--alpine);
}

.hero-floating-card-left {
  left: -1rem;
  top: 1.6rem;
}

.hero-floating-card-right {
  bottom: 1.6rem;
  right: -1rem;
  animation-delay: 0.9s;
}

.menu-card {
  animation: rise-in 0.45s ease both;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -26px rgba(31, 58, 44, 0.65);
  border-color: rgba(184, 119, 48, 0.35);
}

.menu-image-frame {
  position: relative;
  margin: 1rem 1rem 0;
  height: 13rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(245, 240, 230, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 24px -20px rgba(31, 58, 44, 0.5);
  overflow: hidden;
}

.menu-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(31, 58, 44, 0.1);
  pointer-events: none;
}

.menu-dish-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: saturate(1.04) contrast(1.03);
}

.menu-image-empty {
  color: rgba(31, 58, 44, 0.68);
}

.featured-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 1.3rem;
}

.featured-track {
  display: flex;
  gap: 1rem;
  transition: transform 430ms ease;
  will-change: transform;
}

.featured-card {
  min-width: min(86vw, 19.5rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(31, 58, 44, 0.12);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 24px -18px rgba(31, 58, 44, 0.5);
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 11.5rem;
  object-fit: cover;
}

.featured-card-body {
  padding: 0.9rem;
}

.featured-card-body h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--alpine);
}

.featured-card-body p {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  color: rgba(28, 37, 31, 0.76);
}

.featured-meta {
  margin-top: 0.45rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.featured-meta span {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-green);
}

.featured-meta strong {
  font-size: 0.82rem;
  color: var(--copper);
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #e7e3d8;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 1024px) {
  .hero-floating-card-left,
  .hero-floating-card-right {
    position: static;
    display: inline-block;
    margin-top: 0.8rem;
    margin-right: 0.45rem;
  }

  .hero-stage {
    padding-bottom: 0.3rem;
  }
}

@media (min-width: 768px) {
  .featured-card {
    min-width: min(42vw, 20.5rem);
  }
}

@media (min-width: 1280px) {
  .featured-card {
    min-width: 23rem;
  }
}

@media (max-width: 640px) {
  .ambient-layer {
    background-size: auto, auto, 30px 30px, 30px 30px;
  }

  .hero-caption {
    max-width: calc(100% - 1.6rem);
  }

  .hero-caption p {
    font-size: 1.2rem;
  }

  .featured-card img {
    height: 10.8rem;
  }

  .menu-image-frame {
    margin: 0.85rem 0.85rem 0;
    height: 10.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-card,
  .skeleton::after,
  .hero-floating-card {
    animation: none;
  }

  .menu-card,
  .featured-track,
  .hero-slide {
    transition: none;
  }
}
