/* Ember & Leaf — restaurant. Reference pattern: Amrit Palace (cream + charcoal, split serif headline, signature plates with prices). */
:root {
  --bg: #efe6d8; --fg: #231c17; --muted: #6a5a4c; --surface: #e5d9c6; --card: #f6efe4; --line: #d3c3ab;
  --accent: #231c17; --accent-fg: #f6efe4; --ember: #a3401c;
  --font-head: "Fraunces", Georgia, serif; --font-body: "Inter", system-ui, sans-serif;
  --h-weight: 400; --h-track: -0.02em; --radius: 4px;
}
.btn { border-radius: 999px; }
.display-title { font: 400 clamp(2.25rem, 1.4rem + 3vw, 4rem)/1 var(--font-head); letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 1.25rem; }
.display-title em { font-style: italic; text-transform: none; color: var(--ember); }
.text-link { display: inline-block; margin-top: 1.5rem; font-weight: 600; color: var(--ember); text-underline-offset: .3em; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgb(35 28 23 / .94); color: #f6efe4; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav__brand { margin-inline: 0; font: italic 400 1.75rem/1 var(--font-head); }
.nav__actions { display: flex; justify-content: flex-end; gap: .5rem; }
.nav .btn { background: #e9a356; color: #231c17; }
.nav .btn--line { background: transparent; color: #f6efe4; border-color: rgb(246 239 228 / .5); }

/* Hero */
.hero { position: relative; min-height: calc(100svh - 7rem); display: grid; color: #f6efe4; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 115%; object-fit: cover; transform: translateY(calc(var(--py, 0px) * -.3)); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(25 18 14 / .78), rgb(25 18 14 / .45) 45%, rgb(25 18 14 / .8)); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; padding-block: 3rem; min-height: inherit; }
.hero__title { grid-column: 1 / -1; display: grid; font: 400 clamp(3.5rem, 1.5rem + 8vw, 9.5rem)/.85 var(--font-head); letter-spacing: -.04em; text-transform: uppercase; }
.hero__line--end { justify-self: end; font-style: italic; text-transform: none; color: #f0b06a; }
.hero__est { grid-column: 2; grid-row: 2; align-self: center; justify-self: start; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__intro { grid-column: 1; grid-row: 3; max-width: 30rem; font-size: 1.0625rem; }

/* Spirit */
.spirit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.spirit__img { aspect-ratio: 3 / 2; border-radius: 120px 4px 4px 4px; }

/* Signature plates */
.plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.plate__img { aspect-ratio: 1; border-radius: 50%; margin-bottom: 1.25rem; box-shadow: 0 30px 50px -30px rgb(35 28 23 / .6); }
.plate__row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.plate h3 { font: 600 1.25rem/1.2 var(--font-head); }
.plate p { color: var(--muted); font-size: .9375rem; margin-top: .4rem; }
.price { font: 600 1rem/1 var(--font-head); color: var(--ember); white-space: nowrap; }

/* Menu */
.menu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.menu-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.menu-filter button { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg); font: 500 .875rem/1 var(--font-body); cursor: pointer; }
.menu-filter button:hover { border-color: var(--fg); }
.menu-filter button[aria-pressed="true"] { background: var(--fg); color: var(--accent-fg); border-color: var(--fg); }
.menu-list { columns: 2; column-gap: 4rem; }
.menu-list li { break-inside: avoid; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.menu-list li[hidden] { display: none; }
.menu-list__row { display: flex; align-items: baseline; gap: .75rem; }
.menu-list__row b { font: 600 1.25rem/1.25 var(--font-head); }
.menu-list__row i { flex: 1; border-bottom: 1px dotted var(--muted); transform: translateY(-.3rem); }
.menu-list p { color: var(--muted); font-size: .9375rem; }
.menu-note { margin-top: 1.25rem; font-size: .8125rem; }

/* Hours */
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--line); }

/* Reserve */
.reserve { background: var(--accent); color: var(--accent-fg); }
.reserve .display-title em { color: #f0b06a; }
.reserve .demo-note { background: transparent; border-color: rgb(246 239 228 / .3); }
.reserve a { color: #f0b06a; font-weight: 600; }

@media (max-width: 1000px) { .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__brand { order: -1; }
  .nav .btn--line { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__est { grid-column: 1; }
  .spirit__grid { grid-template-columns: 1fr; }
  .menu-list { columns: 1; }
}
@media (max-width: 520px) { .plates { grid-template-columns: 1fr; } }
