:root {
  --main-brown: #1c1208;
  --header-brown: #24170c;
  --deep-espresso: #120a04;
  --warm-brown: #3a2513;
  --dark-panel: rgba(28, 18, 8, 0.82);
  --cream: #f8eed2;
  --gold: #d9a441;
  --bright-gold: #f5c15d;
  --white: #ffffff;
  --muted-beige: #e8d8b8;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --accent-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Inter", Arial, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--deep-espresso);
  font-family: var(--sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

main {
  display: flex;
  flex-direction: column;
}

.menu-section {
  order: 1;
}

.welcome {
  order: 2;
}

.hero {
  order: 3;
}

.quality {
  order: 4;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--deep-espresso);
  background: var(--bright-gold);
  border-radius: 4px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-brown);
  border-bottom: 1px solid rgba(217, 164, 65, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  max-width: 154px;
  height: 62px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  width: 100%;
  margin-left: auto;
}

.site-nav a {
  color: var(--cream);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--bright-gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(245, 193, 93, 0.48);
  border-radius: 4px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep-espresso);
}

@supports (height: 100svh) {
  .hero {
    min-height: min(720px, calc(100svh - 96px));
  }
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  align-items: center;
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 800ms ease, transform 800ms ease, visibility 800ms ease;
  visibility: hidden;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(28, 18, 8, 0.16) 0%,
    rgba(28, 18, 8, 0.06) 38%,
    rgba(28, 18, 8, 0) 72%
  );
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(1.02);
  background-image: var(--hero-image);
  background-position: center right;
  background-size: cover;
  transition: transform 5600ms ease;
}

.hero-slide.is-active .hero-background {
  transform: scale(1.07);
}

.hero-background-burger {
  /* Replace this hero food image in /assets/hero-burger.jpg. */
  --hero-image: url("/assets/hero-burger.jpg");
}

.hero-background-breakfast {
  /* Replace this hero food image in /assets/hero-breakfast.jpg. */
  --hero-image: url("/assets/hero-breakfast.jpg");
  background-position: center;
}

.hero-background-mexican {
  /* Replace this hero food image in /assets/hero-mexican.jpg. */
  --hero-image: url("/assets/hero-mexican.jpg");
  background-position: center;
}

.hero::before {
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
  margin: 86px 0 110px;
  padding: 34px 38px 40px;
  background: rgba(28, 18, 8, 0.78);
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
}

.kicker,
.small-heading {
  margin: 0 0 14px;
  color: var(--bright-gold);
  font-family: var(--accent-serif);
  font-size: 1.42rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
}

.small-heading {
  color: var(--gold);
  font-size: 1.24rem;
}

.gold-line {
  position: relative;
  width: 136px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--gold);
}

.gold-line::after {
  position: absolute;
  top: -3px;
  right: -8px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--bright-gold);
  border-radius: 50%;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 800;
  line-height: 0.98;
}

h1 {
  max-width: 650px;
  font-size: 5.6rem;
}

h1 span,
.hero-heading span {
  display: block;
}

.hero-heading {
  max-width: 650px;
  font-size: 5.6rem;
}

h2 {
  font-size: 3.45rem;
}

h3 {
  font-size: 1.7rem;
}

p {
  margin: 0;
}

.hero-text {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted-beige);
  font-size: 1.04rem;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--cream);
  background: rgba(28, 18, 8, 0.58);
  border: 1px solid rgba(245, 193, 93, 0.64);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  color: var(--deep-espresso);
  background: var(--bright-gold);
  border-color: var(--bright-gold);
  transform: translateY(-50%) scale(1.04);
}

.hero-arrow span {
  display: block;
  margin-top: -3px;
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
}

.hero-arrow-prev {
  left: max(16px, calc((100vw - 1230px) / 2));
}

.hero-arrow-next {
  right: max(16px, calc((100vw - 1230px) / 2));
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-dot {
  width: 34px;
  height: 4px;
  padding: 0;
  background: rgba(248, 238, 210, 0.42);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.hero-dot.is-active,
.hero-dot:hover,
.hero-dot:focus-visible {
  width: 48px;
  background: var(--bright-gold);
}

.button-row,
.center-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.center-action {
  justify-content: center;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--deep-espresso);
  background: var(--gold);
  border-color: var(--bright-gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--bright-gold);
}

.btn-secondary {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(245, 193, 93, 0.72);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--deep-espresso);
  background: var(--bright-gold);
}

.btn-dark {
  color: var(--cream);
  background: var(--main-brown);
  border-color: var(--gold);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  color: var(--deep-espresso);
  background: var(--gold);
}

.section-light {
  padding: 96px 0;
  color: var(--deep-espresso);
  background: var(--cream);
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 58px;
}

.welcome-copy h2 {
  color: var(--deep-espresso);
}

.welcome-copy p:not(.small-heading) {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(28, 18, 8, 0.82);
  font-weight: 500;
}

.image-panel,
.menu-card-image {
  margin: 0;
  overflow: hidden;
  background: var(--deep-espresso);
}

.image-panel {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(58, 37, 19, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(28, 18, 8, 0.24);
}

.image-panel img,
.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-section {
  padding: 98px 0 104px;
  background: linear-gradient(180deg, var(--main-brown) 0%, var(--deep-espresso) 100%);
}

.section-heading {
  max-width: 730px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:not(.kicker) {
  margin-top: 18px;
  color: var(--muted-beige);
}

.menu-carousel {
  position: relative;
}

.menu-carousel-viewport {
  overflow: hidden;
  margin: 0 62px;
}

.menu-track {
  display: flex;
  gap: 24px;
  transition: transform 620ms ease;
  will-change: transform;
}

.menu-card {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--main-brown);
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu-card-image {
  aspect-ratio: 4 / 3;
}

.menu-card-body {
  min-height: 170px;
  padding: 26px 26px 28px;
}

.menu-card-body p {
  margin-top: 14px;
  color: var(--muted-beige);
}

.menu-carousel-arrow {
  position: absolute;
  top: 43%;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--cream);
  background: rgba(28, 18, 8, 0.78);
  border: 1px solid rgba(245, 193, 93, 0.66);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.menu-carousel-arrow:hover,
.menu-carousel-arrow:focus-visible {
  color: var(--deep-espresso);
  background: var(--bright-gold);
  transform: translateY(-50%) scale(1.04);
}

.menu-carousel-arrow span {
  display: block;
  margin-top: -3px;
  font-family: Georgia, serif;
  font-size: 2.45rem;
  line-height: 1;
}

.menu-carousel-prev {
  left: 0;
}

.menu-carousel-next {
  right: 0;
}

.menu-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.menu-carousel-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  background: rgba(248, 238, 210, 0.34);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.menu-carousel-dot.is-active,
.menu-carousel-dot:hover,
.menu-carousel-dot:focus-visible {
  width: 42px;
  background: var(--bright-gold);
}

.quality {
  color: var(--deep-espresso);
  background: var(--cream);
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 560px;
}

.quality-panel {
  display: flex;
  align-items: center;
  padding: 96px 58px 96px max(24px, calc((100vw - 1180px) / 2));
  background: var(--cream);
}

.quality-panel > div {
  max-width: 520px;
}

.quality-panel h2 {
  color: var(--deep-espresso);
}

.quality-panel p:not(.kicker) {
  margin: 22px 0 32px;
  color: rgba(28, 18, 8, 0.82);
}

.quality-media {
  display: flex;
  align-items: center;
  padding: 82px max(24px, calc((100vw - 1180px) / 2)) 82px 58px;
  background: var(--cream);
}

.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--deep-espresso);
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.site-footer {
  scroll-margin-top: 90px;
  background: var(--deep-espresso);
  border-top: 1px solid rgba(217, 164, 65, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.86fr 1.2fr 1fr;
  gap: 28px;
  padding: 74px 0 52px;
}

.footer-column {
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(217, 164, 65, 0.46);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  width: auto;
  max-width: 172px;
  max-height: 116px;
  object-fit: contain;
}

.footer-column h2 {
  margin-bottom: 20px;
  color: var(--bright-gold);
  font-size: 1.45rem;
  line-height: 1.1;
}

.footer-column p,
.footer-column address,
.footer-column a {
  color: var(--muted-beige);
  font-size: 0.92rem;
  font-style: normal;
  text-decoration: none;
}

.footer-column p + p,
.social-links + p {
  margin-top: 18px;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--bright-gold);
}

.social-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.map-frame {
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--deep-espresso);
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 8px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
}

.footer-bottom {
  border-top: 1px solid rgba(217, 164, 65, 0.28);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  color: rgba(248, 238, 210, 0.78);
  font-size: 0.82rem;
}

.designer-credit {
  color: rgba(245, 193, 93, 0.78);
}

@media (max-width: 980px) {
  .header-inner {
    height: 74px;
  }

  .brand-logo {
    height: 56px;
    max-width: 136px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    width: auto;
    margin: 0;
    padding: 12px;
    pointer-events: none;
    background: rgba(36, 23, 12, 0.98);
    border: 1px solid rgba(217, 164, 65, 0.38);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(248, 238, 210, 0.1);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 620px;
  }

  @supports (height: 100svh) {
    .hero {
      min-height: min(650px, calc(100svh - 90px));
    }
  }

  .hero-background {
    background-position: 64% center;
  }

  .hero-copy {
    max-width: 590px;
  }

  h1,
  .hero-heading {
    font-size: 4.45rem;
  }

  h2 {
    font-size: 2.9rem;
  }

  .welcome-grid,
  .quality-layout {
    grid-template-columns: 1fr;
  }

  .quality-panel,
  .quality-media {
    padding: 72px 24px;
  }

  .quality-panel > div,
  .quality-media .video-frame {
    width: min(100%, 720px);
    margin: 0 auto;
  }

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

  .menu-carousel-viewport {
    margin: 0 58px;
  }

  .menu-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .section-inner,
  .header-inner {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    height: 70px;
  }

  .brand-logo {
    height: 52px;
    max-width: 120px;
  }

  .hero {
    min-height: 610px;
  }

  @supports (height: 100svh) {
    .hero {
      min-height: min(640px, calc(100svh - 86px));
    }
  }

  .hero-background {
    background-image: var(--hero-image);
    background-position: 68% center;
  }

  .hero-background-burger {
    --hero-image: url("/assets/hero-burger.jpg");
  }

  .hero-background-breakfast {
    --hero-image: url("/assets/hero-breakfast.jpg");
    background-position: center;
  }

  .hero-background-mexican {
    --hero-image: url("/assets/hero-mexican.jpg");
    background-position: center;
  }

  .hero-copy {
    max-width: 100%;
    margin: 58px 0 92px;
    padding: 26px 22px 30px;
    text-align: center;
    background: rgba(28, 18, 8, 0.76);
  }

  .hero-copy .gold-line {
    margin-right: auto;
    margin-left: auto;
  }

  h1,
  .hero-heading {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  h3 {
    font-size: 1.48rem;
  }

  .kicker {
    font-size: 1.28rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .button-row,
  .center-action {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-arrow {
    top: auto;
    bottom: 30px;
    width: 42px;
    height: 42px;
  }

  .hero-arrow-prev {
    left: 16px;
  }

  .hero-arrow-next {
    right: 16px;
  }

  .hero-arrow span {
    font-size: 2.2rem;
  }

  .hero-dots {
    bottom: 48px;
  }

  .hero-dot {
    width: 26px;
  }

  .hero-dot.is-active,
  .hero-dot:hover,
  .hero-dot:focus-visible {
    width: 38px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
  }

  .section-light,
  .menu-section {
    padding: 72px 0;
  }

  .welcome-grid {
    gap: 36px;
  }

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

  .menu-carousel-viewport {
    margin: 0;
  }

  .menu-card {
    flex-basis: 100%;
  }

  .menu-carousel-arrow {
    top: 34%;
    width: 42px;
    height: 42px;
  }

  .menu-carousel-prev {
    left: 10px;
  }

  .menu-carousel-next {
    right: 10px;
  }

  .menu-carousel-dot {
    width: 24px;
  }

  .menu-carousel-dot.is-active,
  .menu-carousel-dot:hover,
  .menu-carousel-dot:focus-visible {
    width: 36px;
  }

  .menu-card-body {
    min-height: auto;
  }

  .quality-panel,
  .quality-media {
    padding: 64px 16px;
  }

  .video-frame {
    aspect-ratio: 4 / 3;
  }

  .footer-grid {
    padding-top: 56px;
  }

  .footer-bottom-inner {
    display: block;
    padding: 22px 0;
  }

  .footer-bottom-inner p + p {
    margin-top: 8px;
  }
}
