:root {
  --ink: #1c1712;
  --muted: #6f6458;
  --paper: #f4eee4;
  --paper-deep: #e7dccb;
  --gold: #9c7840;
  --gold-bright: #c6a36a;
  --terra: #8c3d2c;
  --line: rgba(28, 23, 18, 0.1);
  --night: #100d0b;
  --cream: #f7f1e7;
  --nav: 3.5rem;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 0.75rem);
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 0% 18%, rgba(156, 120, 64, 0.09), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-150%);
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.hero {
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--cream);
}

.hero-photo {
  position: relative;
  height: min(48vh, 420px);
  min-height: 280px;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.hero-shade {
  display: none;
}

.hero-frame {
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(198, 163, 106, 0.42);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem 1.35rem 1.45rem;
  background: var(--night);
  animation: rise 0.7s ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.mark {
  width: 0.85rem;
  height: 0.85rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.5rem, 14vw, 4.8rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-place {
  margin: 1rem 0 0;
  max-width: 18rem;
  color: rgba(247, 241, 231, 0.82);
  font-size: 1rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(247, 241, 231, 0.78);
  font-size: 0.95rem;
}

.hero-facts a {
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 163, 106, 0.7);
}

.to-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  align-self: flex-start;
  margin-top: 1.45rem;
  min-height: 44px;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.to-menu::after {
  content: "";
  width: 2.1rem;
  height: 1px;
  background: var(--gold-bright);
}

.cats {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav);
  background: rgba(16, 13, 11, 0.94);
  border-bottom: 1px solid rgba(198, 163, 106, 0.28);
  backdrop-filter: blur(16px);
}

.cats-track {
  display: flex;
  height: 100%;
  gap: 0.15rem;
  margin: 0;
  padding: 0 0.45rem;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.cats-track::-webkit-scrollbar {
  display: none;
}

.cats a {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 44px;
  padding: 0 0.85rem;
  color: rgba(247, 241, 231, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.cats a[aria-current="true"] {
  color: var(--gold-bright);
}

.cats a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.45rem;
  height: 1px;
  background: var(--gold-bright);
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.category {
  padding: 2.35rem 0 0.35rem;
  scroll-margin-top: calc(var(--nav) + 0.4rem);
}

.cat-head {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  margin-bottom: 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.index {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 8vw, 4.4rem);
  line-height: 0.75;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(156, 120, 64, 0.72);
}

.tone-terra .index {
  -webkit-text-stroke-color: rgba(140, 61, 44, 0.72);
}

.cat-head h2 {
  margin: 0 0 0.15rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 5.4vw, 3.15rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.dishes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dishes:not(.wide) {
  max-width: 42rem;
}

.dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  align-items: baseline;
  padding: 0.82rem 0;
  border-bottom: 1px solid var(--line);
}

.name {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--terra);
  white-space: nowrap;
}

.price abbr {
  margin-left: 0.12em;
  font-family: var(--sans);
  font-size: 0.68em;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--gold);
}

.interlude {
  position: relative;
  margin: 2.6rem 0 0.2rem;
}

.interlude img {
  display: block;
  width: 100%;
  height: min(68vw, 420px);
  object-fit: cover;
  object-position: center 45%;
}

.interlude figcaption {
  position: absolute;
  left: 1.15rem;
  bottom: 0.9rem;
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: -0.03em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.site-footer {
  margin-top: 2.5rem;
  padding: 2.4rem 0 2.8rem;
  background: var(--night);
  color: rgba(247, 241, 231, 0.78);
}

.site-footer .wrap {
  display: grid;
  gap: 0.35rem;
}

.footer-name {
  margin: 0 0 0.2rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer a {
  color: var(--gold-bright);
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 0.85rem;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (hover: hover) {
  .dish {
    margin-inline: -0.45rem;
    padding-inline: 0.45rem;
    border-bottom-color: transparent;
    box-shadow: inset 0 -1px 0 var(--line);
    transition: background 0.18s ease;
  }

  .dish:hover {
    background: rgba(231, 220, 203, 0.65);
  }

  .cats a:hover {
    color: var(--cream);
  }

  .to-menu:hover::after {
    width: 3rem;
    transition: width 0.2s ease;
  }
}

@media (min-width: 720px) {
  .dishes.wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3.25rem;
    grid-auto-flow: column;
  }
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) 1.18fr;
    grid-template-rows: 100vh;
    min-height: 100vh;
  }

  .hero-photo {
    grid-column: 2;
    grid-row: 1;
    height: 100vh;
    min-height: 0;
    max-height: none;
  }

  .hero-inner {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-end;
    min-height: 0;
    padding: 3.2rem 3.2rem 11vh;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 6vw, 7rem);
  }

  .hero-place {
    max-width: 16rem;
    font-size: 1.08rem;
  }

  .cats-track {
    justify-content: safe center;
    padding-inline: 1rem;
  }

  .category {
    padding-top: 3.1rem;
  }

  .interlude img {
    height: min(52vh, 560px);
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-inner {
    animation: none;
  }

  .to-menu::after,
  .dish {
    transition: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
