/* ---------- BASE ---------- */
:root {
  --ink: #17110d;
  --ink-2: #241a14;
  --cream: #f8f1e6;
  --paper: #fffaf2;
  --accent: #d9783a;
  --accent-dark: #b95d23;
  --herb: #5d7a4a;
  --text: #2c2119;
  --muted: #75675a;
  --line: #e7dbc9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

section { padding: 88px 0; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .95rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-line { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .1); }
.btn-line-dark { border-color: var(--line); background: none; color: var(--text); }
.full { width: 100%; grid-column: 1 / -1; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font: 1.2rem var(--serif);
  text-decoration: none;
}

/* A flame cut from a circle with border-radius */
.logo-mark {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #f2b45a, var(--accent));
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) { color: #dcd0c2; font-size: .95rem; text-decoration: none; }
.main-nav a:not(.btn):hover { color: #fff; }
.main-nav .btn { padding: 9px 20px; }

.menu-btn { display: none; }

/* ---------- HERO ---------- */
.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(600px 420px at 78% 45%, rgba(217, 120, 58, .28), transparent 70%),
    var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin: 18px 0; }
.hero h1 em { color: #f2b45a; }
.lead { max-width: 30rem; margin: 0 0 30px; color: #d9cdbf; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The status pill: its dot colour comes from the data-state attribute */
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 6px 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #eadfd2;
  font-size: .86rem;
}
.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a89888;
}
.status[data-state="open"]::before { background: #6fd08c; box-shadow: 0 0 0 4px rgba(111, 208, 140, .22); }
.status[data-state="soon"]::before { background: #f2b45a; box-shadow: 0 0 0 4px rgba(242, 180, 90, .22); }
.status[data-state="closed"]::before { background: #e0736a; }

.hero-art svg { display: block; width: 100%; max-width: 440px; margin-inline: auto; }
.plate { fill: #f5ecdf; }
.plate-rim { fill: #fffaf2; stroke: #e7dbc9; stroke-width: 2; }
.steak { fill: #6b3219; }
.grill path { fill: none; stroke: #3a1a0c; stroke-width: 6; stroke-linecap: round; }
.tomato { fill: #c9402c; }
.herb path { fill: none; stroke: var(--herb); stroke-width: 4; stroke-linecap: round; }
.sauce { fill: #8f3f1f; }

.steam path {
  fill: none;
  stroke: rgba(255, 255, 255, .5);
  stroke-width: 4;
  stroke-linecap: round;
  animation: steam 3.2s ease-in-out infinite;
}
.steam path:nth-child(2) { animation-delay: .6s; }
.steam path:nth-child(3) { animation-delay: 1.2s; }

@keyframes steam {
  0%   { opacity: 0; transform: translateY(14px); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-14px); }
}

/* ---------- STORY ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}
.story p:not(.eyebrow) { color: var(--muted); }

.facts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts strong { color: var(--accent-dark); font: 2rem var(--serif); }
.facts span { color: var(--muted); font-size: .92rem; text-align: right; }

/* ---------- MENU ---------- */
.menu-section { background: var(--cream); }

.menu-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text);
  font: 600 .9rem var(--sans);
  cursor: pointer;
}
.tab[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.menu-search { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.menu-search input[type="search"] {
  width: 200px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
}
.check { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; cursor: pointer; }
.check input { accent-color: var(--herb); width: 17px; height: 17px; }

.menu-count { margin: 18px 0 6px; color: var(--muted); font-size: .9rem; }

.dishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* h3 and price share the first row; the description spans both columns */
.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  padding: 18px 0;
  border-bottom: 1px dotted #cdbfaa;
  animation: dishIn .3s ease backwards;
}
.dish[hidden] { display: none; }
.dish h3 { font-size: 1.2rem; }
.dish p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .94rem; }
.price { color: var(--accent-dark); font: 1.15rem var(--serif); }

.tag {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--herb);
  color: #fff;
  font: 700 .66rem/20px var(--sans);
  text-align: center;
  vertical-align: 3px;
}

@keyframes dishIn {
  from { opacity: 0; transform: translateY(8px); }
}

.menu-empty { padding: 36px 0; color: var(--muted); text-align: center; }
.link-btn {
  border: 0;
  background: none;
  color: var(--accent-dark);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- RESERVE ---------- */
.reserve { background: var(--ink); color: #fff; }

.reserve-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: start;
  gap: 56px;
}
.reserve .eyebrow { color: #f2b45a; }
.reserve-intro p:not(.eyebrow) { color: #d9cdbf; }
.reserve-phone a { color: #fff; font: 1.6rem var(--serif); text-decoration: none; }

.reserve-form, .confirm {
  padding: 30px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--text);
}

.reserve-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.confirm[hidden], .reserve-form[hidden] { display: none; }

.field { min-width: 0; }
.field label, .label { display: block; margin-bottom: 5px; font-size: .88rem; font-weight: 600; }
.field input, .field select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}
.field select:disabled { background: #f3ece1; color: var(--muted); }
.field [aria-invalid="true"] { border-color: #c5392b; }

.error { min-height: 1.2em; margin: 4px 0 0; color: #b42f22; font-size: .82rem; line-height: 1.2; }

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.stepper button {
  width: 46px;
  height: 100%;
  border: 0;
  background: none;
  color: var(--accent-dark);
  font-size: 1.3rem;
  cursor: pointer;
}
.stepper button:disabled { color: #ccc; cursor: not-allowed; }
.stepper output { font-weight: 700; font-variant-numeric: tabular-nums; }

.confirm { text-align: center; }
.confirm:focus { outline: none; }
.confirm h3 { margin: 12px 0 8px; font-size: 1.7rem; }
.confirm p { margin: 0 0 10px; color: var(--muted); }
.confirm-ref strong { color: var(--text); letter-spacing: .06em; }
.confirm-tick {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--herb);
  color: #fff;
  font-size: 1.5rem;
}

/* ---------- REVIEWS ---------- */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.car-btns { display: flex; gap: 8px; margin-bottom: 20px; }
.car-btns button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.car-btns button:disabled { opacity: .35; cursor: default; }

/* Native scrolling does the work; snap settles each card into place */
.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }

.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  scroll-snap-align: start;
}
.review blockquote { flex: 1; margin: 0 0 16px; font: 1.05rem/1.55 var(--serif); }
.review figcaption { color: var(--muted); font-size: .9rem; }

/* ---------- VISIT AND FOOTER ---------- */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
address { color: var(--muted); font-style: normal; font-size: 1.05rem; }
address a { color: var(--accent-dark); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; }
.hours td { color: var(--muted); text-align: right; }
.hours tr.today { background: #fff; }
.hours tr.today th, .hours tr.today td { color: var(--accent-dark); font-weight: 700; }

.site-footer { padding: 28px 0; background: var(--ink); color: #b8aa9b; }
.site-footer .logo { color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-row p { margin: 0; font-size: .86rem; }

/* ---------- ANIMATIONS ---------- */
.js .reveal:not(.visible) { opacity: 0; }
.js .reveal.visible { animation: rise .55s ease both; }
.js .reveal.visible:nth-child(2) { animation-delay: .1s; }
.js .reveal.visible:nth-child(3) { animation-delay: .2s; }

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

/* ---------- SMALL SCREENS ---------- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .story-grid, .reserve-grid, .visit-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art svg { max-width: 300px; }
  .dishes { grid-template-columns: 1fr; }
  .review-track { grid-auto-columns: calc((100% - 20px) / 2); }

  .menu-btn {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform .2s, background .2s;
  }
  .menu-btn span { top: 21px; }
  .menu-btn span::before, .menu-btn span::after { content: ""; left: 0; }
  .menu-btn span::before { top: -7px; }
  .menu-btn span::after { top: 7px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 22px;
    background: var(--ink);
    box-shadow: 0 16px 24px rgba(0, 0, 0, .35);
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 10px 0; }
  .main-nav .btn { margin-top: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .reserve-form { grid-template-columns: 1fr; padding: 22px; }
  .review-track { grid-auto-columns: 86%; }
  .menu-search, .menu-search input[type="search"] { width: 100%; }
  .hero-actions .btn { flex: 1; text-align: center; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .steam path { opacity: .5; }
}
