html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
}

.font-display {
  font-family: "Manrope", sans-serif;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -10% -8rem auto;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(216, 200, 168, 0.32), rgba(216, 200, 168, 0));
  filter: blur(10px);
}

.hero-background {
  overflow: hidden;
}

.hero-background__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: heroCarousel 42s linear infinite;
}

.hero-background__slide {
  position: relative;
  width: 78vw;
  min-width: 78vw;
  height: 100vh;
  overflow: hidden;
}

.hero-background__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.62);
}

.hero-background__overlay {
  background:
    radial-gradient(circle at top left, rgba(216, 200, 168, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(12, 21, 12, 0.8), rgba(20, 32, 19, 0.62) 38%, rgba(18, 30, 18, 0.76));
}

@keyframes heroCarousel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-312vw);
  }
}

.glass-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-lockup__logo {
  /* width: 3rem; */
  height: 6rem;
  flex: none;
  border-radius: 999px;
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-lockup__name {
  color: #f5efe4;
  font-family: "Amatic SC", cursive;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.font-brand-script {
  font-family: "Amatic SC", cursive;
}

.brand-lockup__tag {
  margin-top: 0.3rem;
  color: rgba(216, 200, 168, 0.92);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 180ms ease;
}

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

.feature-card,
.menu-card {
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 2rem;
  box-shadow: 0 24px 80px rgba(15, 24, 14, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #f7f2e8;
}

.feature-card p:first-child {
  color: rgba(245, 239, 228, 0.78);
}

.feature-card h2,
.feature-card h3 {
  color: #fffaf1;
}

.feature-card p:not(:first-child) {
  color: rgba(255, 248, 236, 0.88);
}

.hero-gallery {
  display: grid;
  gap: 1.2rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 1.3rem;
  box-shadow: 0 24px 80px rgba(15, 24, 14, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-gallery__lead {
  padding: 0.25rem 0.3rem 0;
}

.hero-gallery__grid {
  display: grid;
  gap: 0.9rem;
}

.hero-gallery__card {
  overflow: hidden;
  border-radius: 1.4rem;
  background: #d7ccb8;
  box-shadow: 0 18px 36px rgba(20, 28, 19, 0.14);
}

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

.form-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(49, 80, 46, 0.18);
  background: #fcfaf6;
  padding: 1rem 1rem;
  color: #292524;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-input:focus {
  border-color: #31502e;
  box-shadow: 0 0 0 4px rgba(49, 80, 46, 0.12);
  transform: translateY(-1px);
}

.menu-label {
  margin-bottom: 1.5rem;
  color: #31502e;
  font-family: "Amatic SC", cursive;
  font-size: 2rem;
  font-weight: 700;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(49, 80, 46, 0.12);
  padding: 0.85rem 0;
  font-size: 0.98rem;
}

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

@media (max-width: 1023px) {
  #menu-panel.is-open {
    display: flex;
  }
}

@media (min-width: 768px) {
  .hero-background__slide {
    width: 40vw;
    min-width: 40vw;
  }

  @keyframes heroCarousel {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-160vw);
    }
  }

  .hero-gallery {
    padding: 1.5rem;
  }

  .hero-gallery__grid {
    grid-template-columns: 1.02fr 0.98fr;
    grid-template-rows: 12rem 12rem 10rem;
  }

  .hero-gallery__card--tall {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .hero-gallery__card--top {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-gallery__card--bottom {
    grid-column: 2;
    grid-row: 2;
  }

  .hero-gallery__card--wide {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  .hero-gallery__card--wide .hero-gallery__image {
    object-position: center 35%;
  }
}

@media (max-width: 420px) {
  .brand-lockup__tag {
    display: none;
  }

  .brand-lockup__name {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background__track {
    animation: none;
  }
}
