:root {
  --ink: #16120f;
  --paper: #f6f2eb;
  --header-bg: #f6f2eb;
  --header-ink: #16120f;
  --header-phone: rgba(22, 18, 15, 0.62);
  --muted: #89847d;
  --menu-bg: var(--paper);
  --main-bg: var(--paper);
  --chalk: #fffaf2;
  --red: #8f1d18;
  --green: #1f4d39;
  --gold: #c99b45;
  --shadow: 0 24px 70px rgba(22, 18, 15, 0.18);
  --gallery-gap: clamp(6px, 0.55vw, 10px);
  --gallery-edge: clamp(14px, 2vw, 28px);
  --gallery-hint: clamp(68px, 6.2vw, 112px);
  --display: "Ruslan Display", "PT Serif", Georgia, serif;
  --serif: "PT Serif", Georgia, serif;
  --hero-eyebrow-size-desktop: clamp(0.95rem, 1.15vw, 1.4rem);
  --hero-title-size-desktop: clamp(2.2rem, 3.35vw, 4rem);
  --hero-eyebrow-size-mobile: 0.86rem;
  --hero-title-size-mobile: clamp(1.72rem, 6.8vw, 2.3rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--ink);
  background: var(--main-bg);
  font-family: var(--serif);
}

body::before {
  content: none;
}

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

:where(a, button):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.shell {
  display: grid;
  grid-template-columns: clamp(220px, 14vw, 280px) minmax(0, 1fr);
  width: 100vw;
  height: 100dvh;
  min-height: 520px;
  background: var(--main-bg);
}

.sidebar {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  height: 100%;
  padding: clamp(28px, 2.4vw, 42px) clamp(22px, 1.8vw, 36px);
  background: #f6f2eb !important;
  border-right: 1px solid rgba(22, 18, 15, 0.06);
  box-shadow: 12px 0 26px rgba(22, 18, 15, 0.06);
  z-index: 3;
}

.sidebar::after {
  content: none;
}

.brand {
  font-family: var(--display);
  line-height: 0.82;
  letter-spacing: 0;
  color: #16120f !important;
  text-align: center;
  max-width: 188px;
  justify-self: center;
  width: 100%;
}

.brand span {
  display: block;
  font-size: clamp(1.05rem, 1.08vw, 1.55rem);
}

.brand strong {
  display: block;
  font-size: clamp(1.28rem, 1.42vw, 2.05rem);
  font-weight: 400;
}

.brand-phone {
  display: none;
  justify-self: center;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(0.82rem, 0.94vw, 1.08rem);
  color: rgba(22, 18, 15, 0.62) !important;
}

.nav {
  align-self: center;
  transform: translateY(22px);
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-items: stretch;
  width: 100%;
  font-family: var(--display);
  font-size: clamp(0.92rem, 1vw, 1.18rem);
  text-transform: uppercase;
  border-top: 1px solid rgba(22, 18, 15, 0.08);
  border-bottom: 1px solid rgba(22, 18, 15, 0.08);
}

.nav a {
  position: relative;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(22, 18, 15, 0.66);
  border-bottom: 1px solid rgba(22, 18, 15, 0.06);
  transition: color 180ms ease, transform 180ms ease;
}

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

.nav a::after {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 0;
  border-bottom: 2px solid var(--red);
  content: "";
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.nav a:hover::after {
  width: 32px;
}

.phone {
  font-family: var(--display);
  color: rgba(22, 18, 15, 0.62) !important;
  font-size: clamp(0.86rem, 1.02vw, 1.18rem);
}

.side-bottom {
  display: grid;
  position: relative;
  z-index: 1;
  justify-items: center;
}

.stage {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 3vh, 34px);
  min-width: 0;
  height: 100%;
  padding: clamp(34px, 5.2vh, 68px) 0 clamp(22px, 3.2vh, 46px) clamp(28px, 4vw, 76px);
  background: var(--main-bg);
  overflow: hidden;
}

.anchor-target {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.intro {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 920px;
  padding-right: clamp(28px, 4vw, 76px);
}

.intro > * {
  min-width: 0;
}

.eyebrow,
.lead {
  margin: 0;
}

.eyebrow {
  color: var(--red);
  font-family: var(--display);
  font-size: var(--hero-eyebrow-size-desktop);
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: var(--hero-title-size-desktop);
  line-height: 0.86;
  max-width: 100%;
}

.lead {
  justify-self: end;
  max-width: 520px;
  color: rgba(22, 18, 15, 0.62);
  font-size: clamp(1rem, 1.35vw, 1.55rem);
  line-height: 1.28;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, calc((100% - var(--gallery-gap) - var(--gallery-hint) - var(--gallery-edge)) / 2));
  gap: var(--gallery-gap);
  min-height: 0;
  background: transparent;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-padding-right: var(--gallery-edge);
  padding: 0 var(--gallery-edge) 3px 0;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.dish-card {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background: var(--main-bg);
  box-shadow: none;
  scroll-snap-align: start;
  isolation: isolate;
  transform: translateY(0);
  transition: transform 360ms ease, box-shadow 360ms ease;
}

.dish-card::before {
  content: none;
}

.dish-card.featured {
  grid-column: auto;
}

.dish-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: scale(1.02);
  transition: transform 520ms ease, filter 520ms ease;
}

.dish-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 15, 0) 54%, rgba(22, 18, 15, 0.68) 100%);
  content: "";
  pointer-events: none;
  z-index: 1;
}

.dish-card:hover img {
  filter: saturate(1.02) contrast(1.03);
  transform: scale(1.065);
}

.dish-card.is-active {
  box-shadow: none;
  transform: none;
}

.dish-copy {
  position: absolute;
  left: clamp(20px, 2.2vw, 34px);
  right: clamp(20px, 4vw, 78px);
  bottom: clamp(20px, 2.6vw, 42px);
  color: var(--chalk);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  max-width: min(78%, 540px);
  padding: clamp(12px, 1.05vw, 18px) clamp(14px, 1.35vw, 24px);
  background: none;
  border-left: 3px solid rgba(201, 155, 69, 0.9);
  box-shadow: none;
}

.dish-copy span {
  display: inline-block;
  color: #f1c978;
  font-family: var(--display);
  font-size: clamp(0.82rem, 0.82vw, 1.02rem);
  text-transform: uppercase;
  line-height: 1;
  background: none;
  padding: 0;
  text-shadow: 0 2px 12px rgba(22, 18, 15, 0.8);
}

.dish-copy h2 {
  max-width: 13ch;
  font-size: clamp(1.72rem, 2.05vw, 3.05rem);
  line-height: 0.92;
  color: #fffaf2;
  background: none;
  padding: 0;
  text-shadow: 0 2px 8px rgba(22, 18, 15, 0.94), 0 0 2px rgba(22, 18, 15, 0.9);
}

.dish-copy p {
  max-width: 34ch;
  margin: 0;
  color: rgba(255, 250, 242, 0.94);
  font-size: clamp(0.88rem, 0.94vw, 1.05rem);
  line-height: 1.28;
  background: none;
  padding: 0;
  text-shadow: 0 2px 8px rgba(22, 18, 15, 0.95), 0 0 1px rgba(22, 18, 15, 0.92);
}

.mobile-bar {
  display: none;
}

@media (min-width: 1300px) {
  .gallery {
    grid-auto-columns: minmax(0, calc((100% - var(--gallery-gap) - var(--gallery-hint) - var(--gallery-edge)) / 2));
  }

  .dish-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sidebar {
    position: absolute;
    inset: 0 0 auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
    justify-items: start;
    height: 62px;
    padding: 10px 18px;
    border-right: 0;
    background: var(--header-bg);
    box-shadow: 0 8px 18px rgba(22, 18, 15, 0.06);
  }

  .brand {
    text-align: left;
    line-height: 0.92;
    justify-self: start;
    max-width: 150px;
    width: 150px;
  }

  .brand span {
    font-size: 0.78rem;
  }

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

  .nav,
  .phone {
    display: none;
  }

  .side-bottom {
    display: none;
  }

  .brand-phone {
    display: block;
    position: absolute;
    right: 18px;
    top: 20px;
    margin-top: 0;
    justify-self: auto;
    font-size: 0.86rem;
    line-height: 1.05;
  }

  .stage {
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 74px 14px calc(74px + env(safe-area-inset-bottom, 0px));
    gap: 14px;
  }

  .intro {
    max-width: none;
    padding-right: 0;
    padding-top: 10px;
    text-align: left;
  }

  .eyebrow {
    font-size: var(--hero-eyebrow-size-mobile);
  }

  h1 {
    font-size: var(--hero-title-size-mobile);
    line-height: 0.9;
    text-align: left;
  }

  .lead {
    justify-self: start;
    width: 100%;
    max-width: 32rem;
    font-size: clamp(0.92rem, 3.8vw, 1.08rem);
    overflow-wrap: break-word;
  }

  .gallery {
    grid-auto-columns: 88vw;
    gap: 12px;
  }

  .dish-card {
    min-height: 0;
    border-radius: 0;
  }

  .dish-card.is-active {
    transform: none;
  }

  .dish-copy h2 {
    font-size: clamp(1.62rem, 8.2vw, 2.7rem);
  }

  .dish-copy p {
    font-size: 0.88rem;
  }

  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-height: 52px;
    position: fixed;
    left: 14px;
    right: max(14px, calc(env(safe-area-inset-right, 0px) + 14px));
    width: auto;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    z-index: 45;
    padding: 8px;
    background: var(--main-bg);
    border: 1px solid rgba(22, 18, 15, 0.08);
    border-radius: 10px;
    box-shadow: 0 -8px 20px rgba(22, 18, 15, 0.08);
    font-family: var(--display);
    text-transform: uppercase;
  }

  .mobile-bar a {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 52px;
    background: var(--menu-bg);
    border: 1px solid rgba(22, 18, 15, 0.08);
    color: rgba(22, 18, 15, 0.72);
    font-size: 0.88rem;
    border-radius: 8px;
  }

  .mobile-bar a[aria-current="page"] {
    border-color: rgba(143, 29, 24, 0.62);
    color: var(--red);
    -webkit-text-fill-color: var(--red);
    box-shadow: inset 0 0 0 1px rgba(143, 29, 24, 0.15);
  }

}

@media (max-width: 460px) {
  .stage {
    padding-top: 74px;
  }

  .gallery {
    grid-auto-columns: 88vw;
  }

  .dish-copy {
    left: 14px;
    right: 24px;
    bottom: 16px;
    max-width: calc(100% - 38px);
  }
}

@media (max-height: 680px) and (min-width: 921px) {
  .shell {
    min-height: 0;
  }

  .stage {
    grid-template-rows: auto minmax(0, 1fr);
    padding-top: 22px;
  }

  .intro {
    position: static;
    width: 100%;
    color: var(--ink);
    pointer-events: auto;
  }

  .intro .lead,
  .intro .eyebrow {
    color: inherit;
  }

  .gallery {
    grid-row: auto;
  }
}

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