:root {
  --paper: #fff7eb;
  --surface: #fffdf8;
  --ink: #231814;
  --charcoal: #17110f;
  --muted: #7b6a5e;
  --tomato: #c6382a;
  --tomato-dark: #8f2119;
  --agave: #2f7352;
  --clay: #b45f3d;
  --gold: #d6a23c;
  --cream: #fffaf1;
  --line: rgba(35, 24, 20, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12px 12px, rgba(180, 95, 61, 0.12) 1px, transparent 1.5px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  /* width/height attributes reserve space; keep the real aspect ratio when CSS changes the width */
  height: auto;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  min-height: 88px;
  padding: 10px clamp(18px, 4vw, 66px);
  color: var(--cream);
  background: rgba(20, 14, 12, 0.84);
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  backdrop-filter: blur(16px);
}

.site-header.animate-in {
  animation: headerDrop 700ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand img {
  width: 104px;
  height: 66px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--cream);
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand:hover img,
.brand:focus-visible img {
  filter: drop-shadow(0 8px 18px rgba(214, 162, 60, 0.25));
  transform: translateY(-1px) scale(1.04);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 46px);
  font-size: 1.12rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--tomato);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current]::after {
  transform: scaleX(1);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 250, 241, 0.45);
  border-radius: 999px;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 700;
}

.language-toggle a {
  display: inline-block;
  padding: 2px;
  color: inherit;
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.language-toggle a.active {
  color: var(--gold);
}

.language-toggle a:hover,
.language-toggle a:focus-visible {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 250, 241, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  overflow: hidden;
  padding: 150px clamp(18px, 4vw, 66px) clamp(40px, 6vw, 72px);
  color: var(--cream);
}

.hero-bg,
.hero-carousel,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 950ms ease,
    transform 6200ms ease;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1.09);
  z-index: 1;
  animation: heroPhotoZoom 6200ms ease-out both;
}

.hero-bg-tacos {
  object-position: 72% center;
}

.hero-bg-dining {
  object-position: center 58%;
}

.hero-bg-margaritas {
  object-position: 62% center;
}

@keyframes heroPhotoZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.09);
  }
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 7, 5, 0.86) 0%, rgba(12, 7, 5, 0.7) 30%, rgba(12, 7, 5, 0.28) 55%, transparent 72%),
    linear-gradient(0deg, rgba(12, 7, 5, 0.4), transparent 30%);
}

.hero-content {
  position: relative;
  max-width: 900px;
  z-index: 2;
}

.hero-content > * {
  animation: heroRise 800ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-content > :nth-child(1) {
  animation-delay: 180ms;
}

.hero-content > :nth-child(2) {
  animation-delay: 280ms;
}

.hero-content > :nth-child(3) {
  animation-delay: 410ms;
}

.hero-content > :nth-child(4) {
  animation-delay: 540ms;
}

.hero-content > :nth-child(5) {
  animation-delay: 660ms;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--agave);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--gold);
}

.hero .eyebrow {
  margin-bottom: 18px;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

h1,
h2 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.45rem, 8.4vw, 8.35rem);
  text-wrap: balance;
}

.hero h1 {
  max-width: 11ch;
  color: #fff6e6;
  font-size: clamp(3.2rem, 6.6vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.55);
}

h2 {
  font-size: clamp(2.15rem, 4.85vw, 4.65rem);
  text-wrap: balance;
}

.hero-text {
  max-width: 760px;
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero-actions,
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button.primary {
  background: var(--tomato);
  border-color: var(--tomato);
  color: var(--cream);
}

.button.ghost {
  background: rgba(255, 250, 241, 0.1);
  border-color: rgba(255, 250, 241, 0.5);
  color: var(--cream);
}

.button.ghost.dark {
  background: transparent;
  border-color: rgba(255, 250, 241, 0.38);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--tomato-dark);
}

.hero .hero-actions {
  gap: 22px;
  margin-top: 40px;
}

.hero .button {
  gap: 14px;
  min-height: 66px;
  padding: 0 clamp(30px, 3.2vw, 52px);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero .button::after {
  content: "\2192";
  font-size: 1.25em;
  line-height: 1;
  transition: transform 180ms ease;
}

.hero .button:hover::after,
.hero .button:focus-visible::after {
  transform: translateX(4px);
}

.hero .button.primary {
  background: #d7262c;
  border-color: #d7262c;
}

.hero .button.ghost {
  background: rgba(12, 7, 5, 0.25);
  border: 2px solid #fff;
  color: #fff;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-notes span {
  padding: 10px 24px;
  border: 1px solid rgba(255, 250, 241, 0.55);
  border-radius: 999px;
  background: rgba(12, 7, 5, 0.35);
  color: #fff;
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  font-weight: 500;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.hero-notes span:hover {
  border-color: rgba(214, 162, 60, 0.7);
  transform: translateY(-2px);
}

.hero-carousel-controls {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: clamp(22px, 4vw, 44px);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-carousel-controls button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.38);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    width 180ms ease;
}

.hero-carousel-controls button:hover,
.hero-carousel-controls button:focus-visible {
  background: rgba(255, 250, 241, 0.78);
  transform: translateY(-1px);
}

.hero-carousel-controls button.is-active {
  width: 48px;
  background: var(--gold);
}

section {
  scroll-margin-top: 96px;
}

.story,
.menu-preview,
.gallery,
.visit {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 5vw, 76px);
}

/* Our Story: heading, photo and story are separate grid areas so the photo
   lines up with the top of the text on desktop and the heading leads on phones. */
.story {
  --story-max: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas:
    "photo heading"
    "photo copy";
  grid-template-rows: auto 1fr;
  column-gap: clamp(48px, 5vw, 72px);
  align-items: start;
  padding-inline: max(clamp(18px, 5vw, 76px), calc((100% - var(--story-max)) / 2));
  background: var(--cream);
}

.story-heading {
  grid-area: heading;
}

.story-heading h2 {
  position: relative;
  max-width: 17ch;
  padding-bottom: 22px;
  font-size: clamp(2.2rem, 3.3vw, 3.4rem);
  line-height: 1.04;
}

.story-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--tomato);
  content: "";
}

.story-photo {
  grid-area: photo;
  position: sticky;
  top: 112px;
  margin: 6px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(35, 24, 20, 0.12);
}

.story-main {
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
  transition:
    filter 260ms ease,
    transform 420ms ease;
}

.story-photo:hover .story-main {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.story-copy {
  grid-area: copy;
  max-width: 64ch;
  padding-top: 24px;
}

.story-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

.story-body strong {
  color: var(--ink);
  font-weight: 800;
}

.story-note {
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--tomato);
  color: var(--ink);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700;
}

.visit-copy p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 1160px;
  gap: 28px;
}

.section-intro h2 {
  max-width: 850px;
}

.menu-preview {
  background:
    linear-gradient(135deg, rgba(47, 115, 82, 0.12), transparent 28%),
    linear-gradient(315deg, rgba(198, 56, 42, 0.1), transparent 30%),
    var(--paper);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 320px;
  gap: 16px;
  margin-top: 40px;
}

.menu-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1160px;
  margin-top: 22px;
}

.download-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--agave);
  border-radius: 999px;
  background: var(--agave);
  color: var(--cream);
  font-weight: 900;
  padding: 11px 18px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.download-link.secondary {
  background: transparent;
  color: var(--agave);
}

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

.download-link.secondary:hover,
.download-link.secondary:focus-visible {
  background: var(--agave);
  color: var(--cream);
}

.menu-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--cream);
  cursor: pointer;
  transition:
    box-shadow 240ms ease,
    transform 240ms ease;
}

.menu-card.tall {
  grid-row: span 2;
}

.menu-card.special {
  grid-column: span 2;
}

.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition:
    transform 300ms ease,
    opacity 300ms ease;
}

.menu-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 10, 8, 0.88), transparent 62%);
  content: "";
}

.menu-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
}

.menu-card span {
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.36rem, 2.35vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
}

.menu-card p {
  max-width: 360px;
  margin: 12px 0 0;
  color: rgba(255, 250, 241, 0.84);
  font-size: 0.94rem;
}

.menu-card:hover img,
.menu-card:focus-within img {
  opacity: 0.92;
  transform: scale(1.06);
}

.menu-card:hover,
.menu-card:focus-within {
  box-shadow: 0 20px 45px rgba(35, 24, 20, 0.24);
  transform: translateY(-5px);
}

.gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 250px;
  gap: 16px;
  margin-top: 40px;
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--clay);
  transition:
    box-shadow 240ms ease,
    transform 240ms ease;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 260ms ease,
    transform 420ms ease;
}

.gallery-grid figure:hover {
  box-shadow: 0 18px 38px rgba(35, 24, 20, 0.2);
  transform: translateY(-4px);
}

.gallery-grid figure:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.gallery-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

/* Full-size photo viewer for the gallery */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(16, 11, 9, 0.94);
  color: var(--cream);
}

.lightbox::backdrop {
  background: rgba(16, 11, 9, 0.6);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox-frame {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 64px clamp(16px, 6vw, 96px) 56px;
  align-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100dvh - 170px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  max-width: 60ch;
  color: rgba(255, 250, 241, 0.85);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-count {
  position: absolute;
  top: 18px;
  left: 50%;
  margin: 0;
  color: rgba(255, 250, 241, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateX(-50%);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 250, 241, 0.35);
  border-radius: 999px;
  background: rgba(16, 11, 9, 0.55);
  color: var(--cream);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox-close {
  top: 12px;
  right: 12px;
}

.lightbox-prev {
  left: clamp(8px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: clamp(8px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .lightbox-frame {
    padding-inline: 10px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 14px;
    transform: none;
  }
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.gallery-grid .low {
  min-height: 210px;
}

.quote-tile {
  display: flex;
  align-items: end;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(214, 162, 60, 0.2), transparent),
    var(--agave) !important;
  color: var(--cream);
}

.quote-tile span {
  max-width: 12ch;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.45rem, 2.45vw, 2.3rem);
  font-weight: 700;
  line-height: 1.05;
}

.visit {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(198, 56, 42, 0.22), transparent 42%),
    var(--charcoal);
  color: var(--cream);
}

.visit-copy p {
  max-width: 580px;
  color: rgba(255, 250, 241, 0.76);
}

.visit-locations-note {
  margin-top: 18px !important;
  color: var(--gold) !important;
  font-weight: 800;
}

/* Two restaurant locations, each with its own phone, map and directions. */
.visit-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.location-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.07);
}

.location-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-card h3 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.location-city {
  margin: 4px 0 0;
  color: rgba(255, 250, 241, 0.76);
}

.location-phone {
  align-self: flex-start;
  margin-top: 12px;
  color: #ff8a7a;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.location-phone:hover,
.location-phone:focus-visible {
  color: var(--gold);
}

.location-hours {
  margin: 12px 0 0;
  color: rgba(255, 250, 241, 0.76);
  font-size: 0.92rem;
  line-height: 1.5;
}

.location-hours span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.location-hours strong {
  color: var(--cream);
}

.map-panel {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: var(--radius);
  background: #241a16;
}

/* Maps sit at the bottom of each card so they line up even when one card has hours. */
.location-card .map-panel {
  margin-top: auto;
}

.location-card > :nth-last-child(3) {
  margin-bottom: 16px;
}

.map-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.location-actions .button {
  flex: 1 1 140px;
  min-height: 46px;
  padding: 10px 16px;
}

.js .reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

.reveal-section.is-visible .reveal-item:nth-child(2),
.menu-grid .reveal-item:nth-child(2),
.gallery-grid .reveal-item:nth-child(2) {
  transition-delay: 90ms;
}

.menu-grid .reveal-item:nth-child(3),
.gallery-grid .reveal-item:nth-child(3) {
  transition-delay: 150ms;
}

.menu-grid .reveal-item:nth-child(4),
.gallery-grid .reveal-item:nth-child(4) {
  transition-delay: 210ms;
}

.menu-grid .reveal-item:nth-child(5),
.gallery-grid .reveal-item:nth-child(5) {
  transition-delay: 270ms;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 76px);
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  color: rgba(255, 250, 241, 0.7);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-weight: 800;
  text-transform: uppercase;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.social-link:hover span,
.social-link:focus-visible span {
  text-decoration: underline;
}

footer {
  flex-wrap: wrap;
  align-items: center;
}

footer p {
  margin-right: auto;
}

@media (max-width: 1180px) {
  .brand span {
    max-width: 15ch;
    white-space: normal;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    min-height: 76px;
  }

  .brand img {
    width: 88px;
    height: 56px;
  }

  .brand span {
    max-width: none;
    white-space: nowrap;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 16px;
    background: rgba(23, 17, 15, 0.96);
    border: 1px solid rgba(255, 250, 241, 0.18);
    border-radius: var(--radius);
  }

  .site-nav.open {
    display: flex;
    animation: mobileMenuIn 180ms ease both;
  }

  .site-nav a {
    padding: 14px 0;
  }

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

  .story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px;
  }

  .story-photo {
    top: 96px;
  }

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

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

@media (max-width: 899px) {
  .story {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "photo"
      "copy";
    grid-template-rows: auto;
  }

  .story-photo {
    position: static;
    margin-top: 26px;
  }

  .story-main {
    aspect-ratio: 3 / 2;
  }

  .story-copy {
    max-width: none;
    padding-top: 28px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    padding: 8px 12px;
    gap: 10px;
  }

  .brand {
    gap: 10px;
    font-size: 0.98rem;
  }

  .brand img {
    width: 70px;
    height: 46px;
  }

  .brand span {
    max-width: 11ch;
    white-space: normal;
  }

  .language-toggle {
    padding: 7px 12px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 110px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.6rem);
  }

  .hero .hero-actions {
    gap: 12px;
    margin-top: 30px;
  }

  .hero .button {
    min-height: 56px;
  }

  .hero-notes {
    gap: 10px;
  }

  .hero-notes span {
    padding: 8px 16px;
  }

  .hero-carousel-controls {
    right: 20px;
    bottom: 18px;
  }

  .hero-carousel-controls button {
    width: 24px;
  }

  .hero-carousel-controls button.is-active {
    width: 36px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(12, 7, 5, 0.9), rgba(12, 7, 5, 0.58) 60%, rgba(12, 7, 5, 0.3)),
      linear-gradient(90deg, rgba(12, 7, 5, 0.6), rgba(12, 7, 5, 0.15));
  }

  h1 {
    max-width: 10ch;
  }

  .hero-actions,
  .visit-actions,
  .button {
    width: 100%;
  }

  .section-intro {
    display: block;
  }

  .menu-grid,
  .gallery-grid,
  .visit-locations {
    grid-template-columns: 1fr;
  }

  .menu-card,
  .menu-card.tall,
  .menu-card.special,
  .gallery-grid .wide,
  .gallery-grid .tall,
  .map-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .menu-grid {
    grid-auto-rows: 300px;
  }

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  footer {
    display: block;
  }

  footer a {
    display: inline-block;
    margin-top: 10px;
  }
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .js .reveal-item {
    opacity: 1;
    transform: none;
  }

  .hero-bg {
    transition: none;
  }
}
