/* ==========================================================================
   Ember & Oak — demo restaurant site
   Palette: cream / charcoal / ember orange. Type: Fraunces + DM Sans.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --cream: #f6efe4;
  --cream-deep: #efe3d0;
  --paper: #fbf7f0;
  --charcoal: #221e1b;
  --charcoal-soft: #3a332e;
  --ink: #2a2420;
  --muted: #6b6058;
  --ember: #c9521b;          /* brand accent (fills, icons) */
  --ember-deep: #a63f10;     /* accent text on light backgrounds (AA) */
  --ember-glow: #e0662b;
  --gold: #f0b75a;
  --sage: #6e7b5b;
  --line: rgba(34, 30, 27, 0.14);
  --line-strong: rgba(34, 30, 27, 0.28);
  --danger: #b3261e;
  --success: #3f6b3a;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ribbon-h: 36px;
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(34, 30, 27, .06), 0 2px 8px rgba(34, 30, 27, .05);
  --shadow-md: 0 10px 30px -12px rgba(34, 30, 27, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Subtle paper grain generated from an inline SVG (no external images) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.13 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ribbon-h) + var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--ribbon-h);
  background: var(--cream) var(--noise);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip; /* safety net; layouts are built not to overflow */
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--ember-deep); text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
abbr[title] { text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--ember-glow);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 12px; top: calc(var(--ribbon-h) + 8px); z-index: 200;
  background: var(--charcoal); color: var(--paper);
  padding: 10px 16px; border-radius: 8px;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--paper); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px;
  padding: .7em 1.35em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 52px; padding: .85em 1.7em; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .88rem; }

.btn--ember { background: var(--ember); color: #fff; box-shadow: 0 6px 18px -8px rgba(201, 82, 27, .8); }
.btn--ember:hover { background: var(--ember-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(166, 63, 16, .9); }

.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--charcoal); background: rgba(34, 30, 27, .04); color: var(--charcoal); }

.btn--text { background: none; color: var(--charcoal); padding-left: .6em; padding-right: .6em; }
.btn--text:hover { color: var(--ember-deep); text-decoration: underline; }

/* ---------- Demo ribbon ---------- */
.demo-ribbon {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--ribbon-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 clamp(12px, 3vw, 24px);
  background: #121212;
  color: #cfcfcf;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 12.5px; line-height: 1;
  border-bottom: 1px solid #2a2a2a;
}
.demo-ribbon__text { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-ribbon__short { display: none; }
.demo-ribbon__link {
  flex: none; color: #fff; text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 4px;
}
.demo-ribbon__link:hover { color: #fff; text-decoration: underline; }
.demo-ribbon__link:focus-visible { outline-color: #fff; outline-offset: 0; }
@media (max-width: 640px) {
  .demo-ribbon__long { display: none; }
  .demo-ribbon__short { display: inline; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: var(--ribbon-h); z-index: 90;
  height: var(--header-h);
  background: rgba(246, 239, 228, .88);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(34, 30, 27, .5); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--charcoal); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--charcoal); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.brand__name em, .site-footer__logo em { color: var(--ember); font-style: italic; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--charcoal); text-decoration: none; font-weight: 500;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px;
  background: var(--ember); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px;
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-weight: 600; font-size: .9rem;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 859.98px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px clamp(16px, 4vw, 40px) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(34, 30, 27, .35);
    max-height: calc(100vh - var(--ribbon-h) - var(--header-h));
    overflow-y: auto;
    /* closed state */
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { width: 100%; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav__list a::after { display: none; }
  .site-nav__cta { width: 100%; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1.2rem; }
  .brand__mark { width: 32px; height: 32px; }
  .nav-toggle__label { display: none; }
}

/* ---------- Shared section styles ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--paper { background: var(--paper) var(--noise); }
.section--dark { background: var(--charcoal) var(--noise); color: #eadfcf; }
.section--dark .section-title { color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ember-deep);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.section-lede { font-size: 1.08rem; color: var(--muted); margin: 0; }

/* ---------- Upcoming reservation banner ---------- */
.upcoming {
  background: var(--charcoal); color: #eadfcf;
  border-bottom: 3px solid var(--ember);
  animation: slideDown .45s var(--ease);
}
.upcoming__inner { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.upcoming__icon { width: 34px; height: 34px; flex: none; color: var(--gold); }
.upcoming__text { flex: 1 1 260px; min-width: 0; }
.upcoming__title { font-size: 1.05rem; color: var(--paper); margin-bottom: 2px; }
.upcoming__summary { margin: 0; font-size: .92rem; }
.upcoming__summary strong { color: var(--paper); font-weight: 600; }
.upcoming__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.upcoming .btn--ghost { color: var(--paper); border-color: rgba(255, 255, 255, .35); }
.upcoming .btn--ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, .08); }
.upcoming .btn--text { color: #f1c9b3; }
.upcoming .btn--text:hover { color: #fff; }
.upcoming .btn--text.is-confirming { color: #fff; background: var(--danger); border-radius: 999px; text-decoration: none; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(60% 70% at 85% 40%, rgba(224, 102, 43, .16), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(240, 183, 90, .14), transparent 70%),
    var(--noise),
    var(--cream);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 400; margin-bottom: 22px; letter-spacing: -.02em; }
.hero__title em { color: var(--ember-deep); font-style: italic; }
.hero__pitch { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.open-status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; padding: 8px 16px 8px 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-sm);
}
.open-status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.open-status.is-open .open-status__dot { background: #3f9b4a; box-shadow: 0 0 0 0 rgba(63, 155, 74, .5); animation: pulse 2.2s infinite; }
.open-status.is-closed .open-status__dot { background: var(--ember); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 155, 74, .5); } 70% { box-shadow: 0 0 0 10px rgba(63, 155, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 155, 74, 0); } }

.hero__art { position: relative; }
.oven { width: 100%; max-width: 520px; margin-left: auto; height: auto; }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 2.4s ease-in-out infinite; }
.flame--2 { animation-duration: 1.7s; animation-delay: -.4s; }
.flame--3 { animation-duration: 2s; animation-delay: -.9s; }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  25% { transform: scale(.96, 1.06) skewX(2deg); }
  50% { transform: scale(1.03, .95) skewX(-2deg); }
  75% { transform: scale(.98, 1.04) skewX(1deg); }
}
.smoke path { animation: drift 5s ease-in-out infinite; }
.smoke__b { animation-delay: -2.5s !important; }
@keyframes drift { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(-6px); opacity: .4; } }

@media (max-width: 899.98px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 300px; margin: 0 auto; width: 66%; }
  .oven { margin: 0 auto; }
}
@media (max-width: 420px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Menu ---------- */
.menu-controls { display: grid; gap: 16px; margin-bottom: 24px; }
.menu-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 6px; background: var(--cream-deep); border-radius: 999px; width: fit-content; max-width: 100%;
}
.tab {
  min-height: 42px; padding: 0 18px;
  border: 0; border-radius: 999px; background: transparent;
  font-weight: 600; font-size: .92rem; color: var(--charcoal-soft);
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.tab:hover { background: rgba(255, 255, 255, .6); }
.tab[aria-pressed="true"] { background: var(--charcoal); color: var(--paper); box-shadow: var(--shadow-sm); }
@media (max-width: 640px) {
  .menu-tabs { border-radius: var(--radius); width: 100%; }
  .tab { flex: 1 1 calc(33.333% - 6px); padding: 0 8px; }
}

.menu-controls__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.diet-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 14px 0 8px;
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-weight: 500; font-size: .9rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--charcoal); }
.chip__badge {
  display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 5px;
  border-radius: 999px; background: var(--cream-deep); font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chip[aria-pressed="true"] { background: #eef1e6; border-color: var(--sage); color: #2f3a22; }
.chip[aria-pressed="true"] .chip__badge { background: var(--sage); color: #fff; }

.menu-search { position: relative; flex: 1 1 260px; max-width: 360px; }
.menu-search__icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.menu-search__input { padding-left: 42px; border-radius: 999px; }
@media (max-width: 640px) { .menu-search { max-width: none; flex-basis: 100%; } }

.menu-count { margin: 0; font-size: .9rem; color: var(--muted); font-weight: 500; min-height: 1.6em; }

/* Results area keeps a minimum height so filtering never collapses the page */
.menu-results { position: relative; min-height: 34rem; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.menu-grid.is-filtering { opacity: 0; transform: translateY(6px); }

.dish {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 20px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.dish::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.dish:hover::before { transform: scaleX(1); }
.dish__cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.dish__head { display: flex; align-items: baseline; gap: 10px; }
.dish__name { font-size: 1.22rem; font-weight: 500; }
.dish__leader { flex: 1; min-width: 12px; border-bottom: 1.5px dotted var(--line-strong); transform: translateY(-4px); }
.dish__price { font-family: var(--font-display); font-size: 1.15rem; color: var(--ember-deep); font-variant-numeric: tabular-nums; }
.dish__desc { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.dish__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 0; }
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  background: #eef1e6; color: #3d4a2c;
}
.tag--spicy { background: #fbe6da; color: #8c3310; }
.tag svg { width: 12px; height: 12px; }

.menu-empty {
  display: grid; justify-items: center; text-align: center; gap: 6px;
  padding: 48px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  background: rgba(255, 255, 255, .5);
  animation: fadeIn .3s var(--ease);
}
.menu-empty svg { width: 120px; height: 80px; margin-bottom: 8px; }
.menu-empty__title { font-family: var(--font-display); font-size: 1.35rem; margin: 0; }
.menu-empty__text { color: var(--muted); margin: 0 0 10px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.menu-legend {
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.menu-legend span { display: inline-flex; align-items: center; gap: 6px; }
.menu-legend abbr { font-weight: 700; color: var(--charcoal); }
.spice-icon { width: 14px; height: 14px; color: var(--ember); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__story p { font-size: 1.06rem; color: #d9cdbb; max-width: 36em; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.highlight {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: start;
  padding: 22px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.highlight:hover { border-color: rgba(240, 183, 90, .45); transform: translateX(4px); }
.highlight__icon { grid-row: span 2; width: 56px; height: 56px; color: #eadfcf; }
.highlight__title { font-size: 1.3rem; color: var(--paper); margin-bottom: 6px; }
.highlight p { margin: 0; color: #c9bca9; font-size: .96rem; }
@media (max-width: 899.98px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .highlight { grid-template-columns: 1fr; row-gap: 10px; }
  .highlight__icon { grid-row: auto; width: 44px; height: 44px; }
}

/* ---------- Hours & location ---------- */
.hours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.hours-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 1rem; }
.hours-table th, .hours-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 500; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.is-closed td { color: var(--muted); font-style: italic; }
.hours-table tr.is-today { background: var(--charcoal); color: var(--paper); }
.hours-table tr.is-today th, .hours-table tr.is-today td { border-bottom-color: transparent; color: var(--paper); }
.hours-table tr.is-today th:first-child { border-radius: 10px 0 0 10px; }
.hours-table tr.is-today td:last-child { border-radius: 0 10px 10px 0; }
.today-badge {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  background: var(--ember); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px;
}
.hours__note { font-size: .88rem; color: var(--muted); }
.hours__address { font-style: normal; line-height: 1.7; padding: 18px 20px; border-left: 3px solid var(--ember); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.hours__address a { display: inline-block; padding: 8px 0; margin: -8px 0; }

.map { margin: 0; }
.map svg { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.map__pin { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translate(310px, 176px); } 50% { transform: translate(310px, 170px); } }
@media (max-width: 899.98px) { .hours { grid-template-columns: 1fr; } }

/* ---------- Reservation ---------- */
.section--reserve {
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(224, 102, 43, .28), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(240, 183, 90, .12), transparent 70%),
    var(--noise),
    var(--charcoal);
  color: #eadfcf;
}
.section--reserve .section-title { color: var(--paper); }
.reserve { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.reserve__intro p { color: #d9cdbb; font-size: 1.06rem; }
.reserve__art { width: 100%; max-width: 280px; margin-top: 28px; opacity: .95; }
@media (max-width: 959.98px) {
  .reserve { grid-template-columns: 1fr; }
  .reserve__art { display: none; }
}

.booking {
  background: var(--paper); color: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  min-width: 0;
}

/* Progress indicator */
.progress {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  counter-reset: none;
}
.progress__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .8rem; color: var(--muted); }
.progress__step::before {
  content: ""; position: absolute; top: 16px; right: 50%; width: calc(100% + 8px); height: 2px;
  background: var(--line); z-index: 0;
}
.progress__step:first-child::before { display: none; }
.progress__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-strong);
  font-weight: 700; font-size: .85rem;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.progress__label { font-weight: 500; line-height: 1.2; }
.progress__step.is-done { color: var(--charcoal); }
.progress__step.is-done::before, .progress__step.is-current::before { background: var(--ember); }
.progress__step.is-done .progress__num { background: var(--ember); border-color: var(--ember); color: #fff; }
.progress__step.is-current { color: var(--charcoal); }
.progress__step.is-current .progress__num { border-color: var(--ember); color: var(--ember-deep); box-shadow: 0 0 0 4px rgba(201, 82, 27, .15); }
@media (max-width: 480px) { .progress__label { font-size: .7rem; } }

.booking__panel { animation: stepIn .38s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.booking__panel.is-back { animation-name: stepBack; }
@keyframes stepBack { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

.booking__title { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 18px; }
.booking__title:focus { outline: none; }
.booking__title:focus-visible { outline: 3px solid var(--ember-glow); outline-offset: 4px; }
.booking__context { margin: -8px 0 18px; color: var(--muted); }
.booking__context strong { color: var(--charcoal); }

.booking__actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}
.booking__actions .btn--ember { margin-left: auto; }
@media (max-width: 420px) {
  .booking__actions .btn--ember { width: 100%; }
  .booking__actions > span:empty { display: none; }
}

.field-group { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.field-label { display: block; margin-bottom: 10px; padding: 0; font-weight: 600; font-size: .95rem; color: var(--charcoal); }
.field-hint { font-size: .85rem; color: var(--muted); font-weight: 400; margin: 8px 0 0; }
legend .field-hint, label .field-hint { margin: 0; }
.field-hint--right { text-align: right; }

/* Party size buttons */
.party-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.party-btn {
  min-height: 48px; padding: 0 4px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.party-btn:hover { border-color: var(--charcoal); transform: translateY(-1px); }
.party-btn[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }
.party-btn--call { font-size: .8rem; line-height: 1.15; }
.party-btn--call[aria-pressed="true"] { background: var(--cream-deep); color: var(--charcoal); border-color: var(--ember); }
@media (max-width: 600px) {
  .party-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .party-btn--call { grid-column: span 4; font-size: .9rem; }
}
.call-note {
  margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: #fbe6da; color: #6e2a0c; font-size: .92rem;
  animation: fadeIn .25s var(--ease);
}
.call-note a { color: #6e2a0c; font-weight: 700; }

/* Day chips */
.days { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; }
.days__scroller {
  flex: 1; min-width: 0;
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  padding: 6px 2px 10px; margin: -6px 0 -10px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  padding-left: 10px; padding-right: 10px;
}
.days__nav {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 50%;
  transition: border-color .15s var(--ease), opacity .15s var(--ease);
}
.days__nav:hover { border-color: var(--charcoal); }
.days__nav:disabled { opacity: .35; cursor: default; }
.days__nav svg { width: 18px; height: 18px; }
@media (pointer: coarse) and (max-width: 600px) { .days__nav { display: none; } }

.day-chip {
  flex: none; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  width: 64px; min-height: 76px; padding: 8px 4px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  line-height: 1.1;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.day-chip__dow { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day-chip__num { font-family: var(--font-display); font-size: 1.45rem; }
.day-chip__mon { font-size: .72rem; color: var(--muted); }
.day-chip:hover:not(:disabled) { border-color: var(--charcoal); transform: translateY(-2px); }
.day-chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }
.day-chip[aria-pressed="true"] .day-chip__dow, .day-chip[aria-pressed="true"] .day-chip__mon { color: #d9cdbb; }
.day-chip:disabled {
  cursor: not-allowed; color: #a59a90; border-style: dashed; border-color: var(--line);
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(34, 30, 27, .04) 6px 12px);
}
.day-chip:disabled .day-chip__dow, .day-chip:disabled .day-chip__mon { color: #a59a90; }
.day-chip__closed { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Time slots */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot {
  min-height: 48px; padding: 6px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-weight: 600; font-variant-numeric: tabular-nums;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.slot:hover:not(:disabled) { border-color: var(--charcoal); transform: translateY(-1px); }
.slot[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: #fff; }
.slot:disabled { cursor: not-allowed; color: #a59a90; text-decoration: line-through; border-style: dashed; border-color: var(--line); background: transparent; }
.slot__full { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; display: inline-block; }
.slot-empty { grid-column: 1 / -1; padding: 16px; border-radius: var(--radius-sm); background: var(--cream-deep); margin: 0; }

/* Form fields */
.input {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .98rem; color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #9b8f85; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px rgba(201, 82, 27, .18); }
.input[aria-invalid="true"] { border-color: var(--danger); background: #fff8f7; }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }
.input--area { min-height: 96px; resize: vertical; line-height: 1.5; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }

.details-form { display: grid; gap: 4px; }
.field { margin-bottom: 14px; min-width: 0; }
.field .field-label { margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .86rem; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "! "; font-weight: 800; }

.form-error { margin: 0; color: var(--danger); font-weight: 500; font-size: .92rem; }
.form-error:empty { display: none; }
.form-summary { margin: 0 0 8px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fdecea; color: #7a1c15; font-size: .92rem; font-weight: 500; }
.form-summary:empty { display: none; }

/* Confirmation */
.confirm { text-align: center; }
.confirm__icon { width: 64px; height: 64px; margin: 0 auto 16px; animation: pop .5s var(--ease); }
.confirm__tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .25s var(--ease) forwards; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm__ref { margin: -6px 0 20px; color: var(--muted); }
.confirm__ref strong {
  display: inline-block; margin-left: 6px; padding: 4px 12px; border-radius: 8px;
  background: var(--charcoal); color: var(--paper);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .12em;
}
.confirm__summary {
  display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0 auto 24px; max-width: 460px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff;
}
.confirm__summary dt, .confirm__summary dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.confirm__summary dt { color: var(--muted); font-size: .88rem; }
.confirm__summary dd { font-weight: 500; overflow-wrap: anywhere; }
.confirm__summary dt:nth-last-of-type(1), .confirm__summary dd:last-of-type { border-bottom: 0; }
.confirm__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.demo-note {
  display: inline-flex; align-items: flex-start; gap: 8px; text-align: left;
  margin: 0; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--cream-deep); color: var(--charcoal-soft); font-size: .86rem;
}
.demo-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: #171412 var(--noise); color: #c9bca9; padding: 64px 0 24px; font-size: .95rem; }
.site-footer a { color: #f1dcc6; }
.site-footer a:hover { color: #fff; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__logo { font-family: var(--font-display); font-size: 1.8rem; color: var(--paper); margin-bottom: 4px; }
.site-footer__tag { margin-bottom: 18px; }
.site-footer__heading { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__hours { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.site-footer__hours span { color: #8f8375; }
.socials { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); color: #eadfcf;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--ember); border-color: var(--ember); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.site-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 20px; font-size: .84rem; color: #8f8375; }
.site-footer__base p { margin: 0; }
.site-footer__base > a { display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 440px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.highlights .reveal:nth-child(2) { transition-delay: .08s; }
.highlights .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- Touch devices: bigger targets, no iOS zoom on focus ---------- */
@media (pointer: coarse) {
  .input, .menu-search__input, textarea { font-size: 16px; }
  .tab, .chip, .btn--sm, .days__nav { min-height: 44px; }
  .days__nav { width: 44px; height: 44px; }
  .demo-ribbon__link { min-height: 36px; }
  .site-footer address a, .site-footer__base p a, .hours__address a { display: inline-block; padding: 10px 0; margin: -10px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .confirm__tick { stroke-dashoffset: 0; }
  .flame, .smoke path, .map__pin { animation: none !important; }
}
