/* ============================================================================
   Saffron & Smoke — site-local styles (Menu / restaurant template)
   Scoped under .theme-saffron. Warm Mediterranean palette overrides the house
   neutrals; terracotta is the workhorse, saffron the spark. Editorial serif.
   ============================================================================ */

.theme-saffron {
  /* Warm palette (overrides the shared slate neutrals on this template only) */
  --bg: #FAF4EC;            /* warm cream paper */
  --surface: #FFFFFF;
  --text: #2B201A;          /* warm near-black ink */
  --text-muted: #6B5E52;    /* darkened for AA on cream (≈5:1) */
  --border: #EADFD1;        /* warm hairline */
  --accent: #C2410C;        /* burnt terracotta */
  --accent-soft: #FBEDE4;
  --accent-contrast: #FFFFFF;
  --accent-deep: #9A3412;
  --accent-2: #B45309;      /* saffron spark (darkened for AA text on cream) */
  --ink: #241A14;           /* warm espresso for the one dark band */
  --font-display: Georgia, "Times New Roman", "Times", serif;
}

.theme-saffron body, .theme-saffron { background: var(--bg); color: var(--text); }
.theme-saffron h1, .theme-saffron h2, .theme-saffron h3 { font-family: var(--font-display); font-weight: 700; }

.theme-saffron .eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700;
  font-size: var(--fs-sm); letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font-sans);
}

/* ---- Nav ---- */
.theme-saffron .nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,244,236,0.85); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.theme-saffron .nav.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px rgba(36,26,20,.06); }
.theme-saffron .nav__brand { font-family: var(--font-display); }
.theme-saffron .nav__links a[aria-current="page"] { color: var(--accent); }
.theme-saffron .nav__links a.btn--primary {
  color: var(--accent-contrast); padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md); min-height: 44px;
}
.theme-saffron .nav__links a.btn--primary:hover {
  color: var(--accent-contrast); background-color: var(--accent-deep); border-color: var(--accent-deep);
}
.theme-saffron .nav__links a.btn--primary[aria-current="page"] { color: var(--accent-contrast); }

/* ---- Hero helpers (pages use hero__* classes without a .hero wrapper) ---- */
.theme-saffron .hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.theme-saffron .hero__lede { font-size: var(--fs-lg); color: var(--text-muted); max-width: 60ch; }

/* ============================================================================
   SIGNATURE — "Daily Menu" broadsheet masthead
   ============================================================================ */
.theme-saffron .masthead { text-align: center; padding-block: var(--space-9) var(--space-6); }
.theme-saffron .masthead__rule { height: 0; border-top: 1px solid var(--text); max-width: 920px; margin: 0 auto; }
.theme-saffron .masthead__kicker {
  font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--text-muted); margin: var(--space-4) 0 var(--space-2);
}
.theme-saffron .masthead__title {
  font-size: clamp(2.75rem, 8vw, 5.5rem); line-height: 1; letter-spacing: -0.01em; margin: 0;
}
.theme-saffron .masthead__emblem { display: block; width: 30px; height: 30px; margin: var(--space-3) auto 0; color: var(--accent-2); }
.theme-saffron .masthead__dateline {
  display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-2) var(--space-4);
  font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin: var(--space-4) 0;
}
.theme-saffron .masthead__status { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; color: var(--text); }
.theme-saffron .status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-muted); flex: 0 0 auto; }
.theme-saffron .status-dot.is-open { background: #15803D; }
.theme-saffron .status-dot.is-closed { background: var(--accent); }

/* ============================================================================
   DIETARY FILTER CHIPS
   ============================================================================ */
.theme-saffron .diet-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.theme-saffron .diet-chip {
  min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.theme-saffron .diet-chip[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================================================
   MENU SECTIONS (editorial two-column)
   ============================================================================ */
.theme-saffron .menu-section { margin-top: var(--space-8); }
.theme-saffron .menu-section[hidden] { display: none; }
.theme-saffron .menu-section__head {
  display: flex; align-items: center; gap: var(--space-3);
  border-bottom: 2px solid var(--text); padding-bottom: var(--space-2); margin-bottom: var(--space-5);
}
.theme-saffron .menu-section__head h2 { font-size: var(--fs-2xl); margin: 0; }
.theme-saffron .menu-section__icon { width: 26px; height: 26px; color: var(--accent); flex: 0 0 auto; }
.theme-saffron .menu-section__note { margin-left: auto; font-family: var(--font-sans); font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

.theme-saffron .menu-list { columns: 2; column-gap: var(--space-9); }
.theme-saffron .menu-item { break-inside: avoid; padding: var(--space-3) 0; border-bottom: 1px dotted var(--border); }
.theme-saffron .menu-item[hidden] { display: none; }
.theme-saffron .menu-item__head { display: flex; align-items: baseline; gap: var(--space-2); }
.theme-saffron .menu-item__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); }
.theme-saffron .menu-item__leader { flex: 1 1 auto; border-bottom: 1px dotted var(--text-muted); transform: translateY(-4px); margin: 0 var(--space-1); opacity: .5; }
.theme-saffron .menu-item__price { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--accent); }
.theme-saffron .menu-item__desc { color: var(--text-muted); font-size: var(--fs-sm); margin: var(--space-1) 0 0; }
.theme-saffron .menu-item__tags { display: inline-flex; gap: 6px; margin-left: var(--space-2); vertical-align: middle; }

/* Chef's-pick saffron star */
.theme-saffron .pick {
  color: var(--accent-2); font-size: var(--fs-sm); margin-left: 6px;
}
/* Dietary marks */
.theme-saffron .diet-tag {
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.04em;
  border: 1px solid currentColor; border-radius: var(--radius-sm); padding: 2px 6px; color: #15803D;
}
.theme-saffron .diet-tag--gf { color: #B45309; }

/* ============================================================================
   FEATURE / DISH CARDS (home + about)
   ============================================================================ */
.theme-saffron .dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.theme-saffron .dish {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.theme-saffron .dish__media { aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--g1, #C2410C), var(--g2, #7C2D12)); }

/* Real-photo media panels */
.theme-saffron .has-photo { background-size: cover !important; background-position: center !important; background-repeat: no-repeat; }
.theme-saffron .warm-media.has-photo::before, .theme-saffron .warm-media.has-photo::after { display: none; }
.theme-saffron .warm-media > img, .theme-saffron .dish__media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.theme-saffron .dish__body { padding: var(--space-4) var(--space-5) var(--space-5); }
.theme-saffron .dish__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); }
.theme-saffron .dish__desc { color: var(--text-muted); font-size: var(--fs-sm); margin: var(--space-2) 0 0; }

/* Warm CSS media block for hero/story (no photography) */
.theme-saffron .warm-media {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(80% 70% at 80% 15%, rgba(245,158,11,.55) 0%, transparent 55%),
    radial-gradient(70% 80% at 10% 95%, rgba(154,52,18,.6) 0%, transparent 60%),
    linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.theme-saffron .warm-media::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px);
  background-size: 22px 22px; mask-image: linear-gradient(135deg, #000, transparent 72%);
}
/* Faint centered mark so the no-photo panels read as designed, not empty. */
.theme-saffron .warm-media::before {
  content: "✦"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5rem);
  color: rgba(255,247,237,.22); z-index: 1;
}

/* ---- Hours / info band ---- */
.theme-saffron .hours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.theme-saffron .hours-grid h3 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.theme-saffron .hours-grid p, .theme-saffron .hours-grid li { color: var(--text-muted); }
.theme-saffron .hours-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.theme-saffron .hours-list li { display: flex; justify-content: space-between; gap: var(--space-4); }

/* ============================================================================
   DARK BAND (the one dark moment — reserve CTA)
   ============================================================================ */
.theme-saffron .smoke-band { background: var(--ink); color: #F4E9DF; }
.theme-saffron .smoke-band h2 { color: #fff; }
.theme-saffron .smoke-band p { color: #C9B8AA; }
.theme-saffron .smoke-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.theme-saffron .smoke-band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ============================================================================
   RESERVATION FORM
   ============================================================================ */
.theme-saffron .res-form { display: grid; gap: var(--space-4); }
.theme-saffron .res-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-4); }
.theme-saffron .res-field { display: grid; gap: var(--space-2); }
.theme-saffron .res-field label { font-weight: 600; font-size: var(--fs-sm); }
.theme-saffron .res-field input, .theme-saffron .res-field select, .theme-saffron .res-field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
}
.theme-saffron .res-field input:focus-visible, .theme-saffron .res-field select:focus-visible, .theme-saffron .res-field textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent);
}
.theme-saffron .res-form__ok { display: none; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.theme-saffron .res-form__ok.is-shown { display: block; }

/* ============================================================================
   REVEAL
   ============================================================================ */
.theme-saffron .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.theme-saffron .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .theme-saffron .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 860px) {
  .theme-saffron .menu-list { columns: 1; }
  .theme-saffron .menu-section__head h2 { font-size: var(--fs-xl); }
  .theme-saffron .dish-grid { grid-template-columns: 1fr; }
  .theme-saffron .hours-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .theme-saffron .res-row { grid-template-columns: 1fr; }
}
