:root {
  color-scheme: light dark;
  --brand: #14342d;
  --brand-deep: #0a221d;
  --accent: #ef8f67;
  --background: #f3f1ec;
  --surface: #fffefa;
  --surface-muted: #e5e8e2;
  --text: #15342d;
  --text-muted: #5f746d;
  --line: rgba(21, 52, 45, .16);
  --on-brand: #fffefa;
  --display: "Bodoni 72", "Bodoni MT", Didot, Georgia, serif;
  --sans: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0d241e;
    --surface: #15342d;
    --surface-muted: #1b4036;
    --text: #eef3ee;
    --text-muted: #b6c4be;
    --line: rgba(238, 243, 238, .16);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:active { transform: translateY(1px); }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.page-shell { overflow: hidden; }
.hero {
  min-height: min(640px, 100dvh);
  padding: 24px clamp(24px, 6vw, 96px) 54px;
  color: var(--on-brand);
  background: var(--brand);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero__image, .hero__scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { z-index: -2; object-fit: cover; object-position: center; }
.hero__scrim {
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 22, 18, .94) 0%, rgba(5, 22, 18, .78) 38%, rgba(5, 22, 18, .18) 72%, rgba(5, 22, 18, .2) 100%);
}
.hero__topline { display: flex; align-items: center; justify-content: space-between; }
.brand-mark {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: -2px;
}
.language-switch { display: flex; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; overflow: hidden; }
.language-switch__button {
  min-width: 42px;
  padding: 7px 10px;
  border: 0;
  color: rgba(255, 255, 255, .78);
  background: transparent;
  font-family: var(--mono);
  font-size: .72rem;
  transition: background .2s ease, color .2s ease;
}
.language-switch__button.is-active { color: var(--brand-deep); background: var(--on-brand); }
.hero__content { width: min(650px, 80%); margin: auto 0; padding: 50px 0 18px; }
.eyebrow {
  margin: 0 0 11px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero h1, .menu h2, .allergens h2 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.045em; }
.hero h1 { max-width: 650px; font-size: clamp(4rem, 9vw, 6.8rem); line-height: .9; }
.hero__description { max-width: 440px; margin: 26px 0 23px; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 2vw, 1.16rem); line-height: 1.5; }
.hero__meta { display: flex; align-items: center; gap: 10px; font-size: .86rem; }
.status-dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(239, 143, 103, .16); }

.service-note {
  max-width: 1080px;
  padding: 18px clamp(24px, 6vw, 96px);
  margin: 0 auto;
  color: var(--text-muted);
  font-size: .86rem;
}
.service-note p { margin: 0; }

.menu { max-width: 1240px; padding: 44px clamp(24px, 6vw, 96px) 86px; margin: 0 auto; }
.menu__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.menu h2, .allergens h2 { font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: .98; }
.search-trigger {
  display: inline-flex;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  font-family: var(--mono);
  font-size: .78rem;
}
.search-panel { margin: 26px 0 0; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.search-panel label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.search-panel input { width: 100%; padding: 9px 0; outline: none; border: 0; border-bottom: 1px solid var(--text); color: var(--text); background: transparent; font-size: 1.1rem; }
.search-panel input::placeholder { color: var(--text-muted); opacity: 1; }
.search-panel input:focus { border-color: var(--accent); }

.category-nav { display: flex; margin: 39px 0 17px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav__item { flex: 0 0 auto; padding: 13px 17px; border: 0; border-bottom: 2px solid transparent; color: var(--text-muted); background: transparent; font-size: .92rem; transition: color .2s ease, border-color .2s ease; }
.category-nav__item:first-child { padding-left: 0; }
.category-nav__item.is-active { border-color: var(--accent); color: var(--text); font-weight: 700; }
.filters { display: flex; gap: 8px; margin-bottom: 30px; overflow-x: auto; }
.filter-chip { flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--line); border-radius: 20px; color: var(--text-muted); background: var(--surface); font-size: .78rem; transition: background .18s ease, color .18s ease; }
.filter-chip.is-active { border-color: var(--brand); color: var(--on-brand); background: var(--brand); }

.pairing-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin: 32px 0 48px; padding: 22px; color: var(--brand-deep); background: var(--accent); }
.pairing-card__visual { display: flex; align-items: center; gap: 8px; font-family: var(--mono); }
.pairing-card__visual span { min-width: 42px; padding: 10px 7px; border: 1px solid rgba(10, 34, 29, .45); text-align: center; font-size: .7rem; }
.pairing-card__visual b { font-size: .9rem; }
.pairing-card__label { margin: 0 0 7px; font-family: var(--mono); font-size: .7rem; }
.pairing-card h3 { margin: 0 0 4px; font-family: var(--display); font-size: 1.4rem; letter-spacing: -.02em; }
.pairing-card p:not(.eyebrow) { max-width: 520px; margin: 0; font-size: .86rem; line-height: 1.45; }
.pairing-card__total { align-self: flex-start; font-family: var(--mono); font-size: .82rem; white-space: nowrap; }

.menu-section { margin-top: 46px; }
.section-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.section-heading h3 { flex: 0 0 auto; margin: 0; font-family: var(--display); font-size: 1.8rem; font-weight: 600; letter-spacing: -.04em; }
.section-heading__line { width: 100%; height: 1px; background: var(--line); }
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.dish-card { min-height: 226px; padding: 18px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.dish-card:hover { transform: translateY(-3px); box-shadow: 7px 7px 0 var(--surface-muted); }
.dish-card--featured { color: var(--on-brand); background: var(--brand); border-color: var(--brand); }
.dish-card--unavailable { opacity: .56; }
.dish-card__topline { min-height: 38px; display: flex; align-items: flex-start; justify-content: flex-end; gap: 8px; }
.dish-card__badge { display: inline-flex; padding: 5px 8px; color: var(--brand-deep); background: var(--accent); font-family: var(--mono); font-size: .61rem; text-transform: uppercase; letter-spacing: .04em; }
.dish-card__badge--muted { color: var(--on-brand); background: var(--text-muted); }
.dish-card__body { margin-top: auto; }
.dish-card__title-row { display: flex; gap: 11px; align-items: flex-start; justify-content: space-between; }
.dish-card h4 { margin: 0; font-family: var(--display); font-size: 1.33rem; line-height: 1.08; letter-spacing: -.03em; }
.dish-card__title-row > span { padding-top: 3px; font-family: var(--mono); font-size: .78rem; white-space: nowrap; }
.dish-card__body > p { min-height: 41px; margin: 9px 0 15px; color: var(--text-muted); font-size: .82rem; line-height: 1.48; }
.dish-card--featured .dish-card__body > p { color: rgba(255, 255, 255, .74); }
.dish-card__footer { display: flex; align-items: center; }
.dish-card__tag { padding: 4px 7px; border: 1px solid currentColor; font-family: var(--mono); font-size: .6rem; letter-spacing: .03em; }
.dish-card__open {
  margin-left: auto;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font-size: .72rem;
  font-weight: 700;
}
.dish-card__open:disabled { cursor: not-allowed; opacity: .55; }
.empty-state { padding: 50px 18px; text-align: center; border: 1px dashed var(--line); }
.empty-state h3 { margin: 0 0 5px; font-family: var(--display); font-size: 1.7rem; }
.empty-state p { margin: 0; color: var(--text-muted); font-size: .88rem; }
.clear-filters {
  margin-top: 18px;
  padding: 10px 15px;
  border: 1px solid var(--brand);
  color: var(--on-brand);
  background: var(--brand);
  font-weight: 700;
}

.allergens { display: grid; grid-template-columns: .85fr 1fr; gap: 48px; padding: 72px max(24px, calc((100vw - 1048px) / 2)); color: var(--text); background: var(--surface-muted); }
.allergens > p { max-width: 450px; margin: 6px 0 0; color: var(--text-muted); font-size: .95rem; line-height: 1.6; }
.footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 25px clamp(24px, 6vw, 96px); background: var(--surface); font-size: .78rem; }
.brand-mark--small { width: 32px; height: 32px; color: var(--text); border-color: var(--line); font-size: .6rem; }
.footer p { color: var(--text-muted); }
.footer a { color: var(--text); }
.footer small { grid-column: 1 / -1; color: var(--text-muted); font-family: var(--mono); font-size: .62rem; }
.footer strong { color: var(--accent); }

.dish-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
}
.dish-dialog::backdrop { background: rgba(10, 34, 29, .72); backdrop-filter: blur(5px); }
.dish-dialog__panel {
  position: relative;
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(10, 34, 29, .28);
}
.dish-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface-muted);
  font-size: 1.35rem;
  line-height: 1;
}
.dish-dialog__price { margin: 0 48px 14px 0; color: var(--accent); font-family: var(--mono); font-weight: 700; }
.dish-dialog h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 8vw, 4rem); line-height: .98; letter-spacing: -.045em; }
.dish-dialog__description { margin: 20px 0 26px; color: var(--text-muted); line-height: 1.6; }
.dish-dialog__allergens { padding-top: 18px; border-top: 1px solid var(--line); }
.dish-dialog__allergens h3 { margin: 0 0 7px; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.dish-dialog__allergens p { margin: 0 0 26px; }
.dish-dialog small { color: var(--text-muted); line-height: 1.45; }

@media (max-width: 720px) {
  .hero { min-height: min(610px, 100dvh); padding-bottom: 38px; }
  .hero__image { object-position: 60% center; }
  .hero__scrim { background: linear-gradient(90deg, rgba(5, 22, 18, .94) 0%, rgba(5, 22, 18, .68) 64%, rgba(5, 22, 18, .28) 100%); }
  .hero__content { width: 92%; padding: 48px 0 10px; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5rem); }
  .menu { padding-top: 35px; }
  .menu__heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .category-nav { margin-top: 30px; }
  .pairing-card { grid-template-columns: 1fr; gap: 13px; }
  .pairing-card__total { justify-self: start; }
  .dish-grid { grid-template-columns: 1fr; }
  .dish-card { min-height: 205px; }
  .allergens { grid-template-columns: 1fr; gap: 20px; padding-top: 55px; padding-bottom: 55px; }
  .footer { grid-template-columns: auto 1fr; }
  .footer a { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .hero { padding-inline: 20px; }
  .hero__content { width: 100%; }
  .hero h1 { font-size: clamp(3.05rem, 15.5vw, 3.8rem); }
  .hero__description { font-size: .95rem; }
  .menu { padding-inline: 20px; }
}

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