/* SAFFRON EMBER — live-fire tasting counter
   charcoal #171310 · ember #ff7a2f · cream #f5e9dc */

:root {
  --char: #171310;
  --char-2: #201a15;
  --char-3: #2a221b;
  --ember: #ff7a2f;
  --ember-hot: #ffb066;
  --ember-deep: #c2451d;
  --cream: #f5e9dc;
  --cream-dim: #c9b8a6;
  --ash: #8b8178;
  --line: rgba(245, 233, 220, 0.12);
  --display: "Fraunces", serif;
  --body: "Figtree", system-ui, sans-serif;
  --ease-flicker: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; } /* Lenis owns scrolling when active */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--char);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ember); color: var(--char); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ember); color: var(--char); padding: 0.6rem 1.2rem;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

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

/* ---------- ember canvas ---------- */
#embers {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 6; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { #embers { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(23, 19, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.75rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.nav-mark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--cream); text-decoration: none;
  font-family: var(--display); font-style: italic; font-weight: 640;
  font-size: 1.25rem; letter-spacing: 0.01em;
}
.nav-flame { color: var(--ember); flex: none; }
.nav nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.nav nav a {
  color: var(--cream-dim); text-decoration: none; font-size: 0.92rem; font-weight: 400;
  letter-spacing: 0.04em; transition: color 0.3s;
}
.nav nav a:hover { color: var(--ember-hot); }
.nav-cta {
  color: var(--char) !important; background: var(--ember);
  padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 600 !important;
  transition: background 0.3s, transform 0.3s;
}
.nav-cta:hover { background: var(--ember-hot); transform: translateY(-1px); }

/* ---------- buttons ---------- */
.btn-fire {
  display: inline-block; background: linear-gradient(160deg, var(--ember-hot), var(--ember) 45%, var(--ember-deep));
  color: var(--char); text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 0.95rem 2rem; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 0 0 rgba(255, 122, 47, 0), 0 8px 28px -10px rgba(255, 122, 47, 0.55);
  transition: transform 0.35s var(--ease-flicker), box-shadow 0.35s;
}
.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(255, 122, 47, 0.35), 0 12px 34px -10px rgba(255, 122, 47, 0.7);
}
.btn-ghost {
  display: inline-block; color: var(--cream); text-decoration: none; font-weight: 500;
  padding: 0.95rem 1.6rem; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: var(--ember); color: var(--ember-hot); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(6rem, 12vh, 9rem) clamp(1.2rem, 5vw, 4rem) 5rem;
  background:
    radial-gradient(120% 55% at 50% 108%, rgba(194, 69, 29, 0.34), rgba(255, 122, 47, 0.10) 42%, transparent 70%),
    var(--char);
}
.hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--cream-dim); font-size: 0.88rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 400; margin-bottom: 2rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 12px 2px rgba(255, 122, 47, 0.7);
  animation: dot-flicker 2.8s infinite;
}
@keyframes dot-flicker {
  0%, 100% { opacity: 1; } 42% { opacity: 0.55; } 46% { opacity: 1; } 71% { opacity: 0.7; } 74% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero-eyebrow .dot { animation: none; } }

.hero-title {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(2.4rem, 9.2vw, 7.6rem);
  line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 2.1rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line-in { display: inline-block; transform: translateY(115%); }
.no-js .hero-title .line-in, .motion-off .hero-title .line-in { transform: none; }
.hero-title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--ember-hot) 10%, var(--ember) 45%, var(--ember-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--cream-dim); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46rem; margin-bottom: 2.6rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 1.6rem;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 clamp(1.2rem, 5vw, 4rem);
  color: var(--ash); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-temp { font-variant-numeric: tabular-nums; }

/* ---------- manifesto ---------- */
.manifesto {
  padding: clamp(6rem, 14vh, 11rem) clamp(1.2rem, 5vw, 4rem);
  max-width: 62rem; margin: 0 auto;
}
.manifesto-kicker {
  color: var(--ember); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 1.6rem;
}
.manifesto-text {
  font-family: var(--display); font-weight: 500; font-style: normal;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.35; letter-spacing: -0.01em;
}
.manifesto-text em { font-style: italic; color: var(--ember-hot); }
.manifesto-text .w { opacity: 0.22; transition: opacity 0.4s; }
.manifesto-text .w.lit { opacity: 1; }
.motion-off .manifesto-text .w { opacity: 1; }

/* ---------- sections shared ---------- */
.section-head { max-width: 1100px; margin: 0 auto 3.5rem; }
.section-index {
  color: var(--ember); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1.05; letter-spacing: -0.01em;
}
.section-title em {
  background: linear-gradient(100deg, var(--ember-hot), var(--ember) 55%, var(--ember-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub { color: var(--cream-dim); max-width: 40rem; margin-top: 1.4rem; font-size: 1.05rem; }

/* ---------- the fire ---------- */
.fire {
  padding: clamp(4rem, 10vh, 8rem) clamp(1.2rem, 5vw, 4rem);
  background: linear-gradient(var(--char-2), var(--char));
  border-top: 1px solid var(--line);
}
.fire-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.fire-stat {
  background: var(--char); padding: 2rem 1.6rem 2.2rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  transition: background 0.4s;
}
.fire-stat:hover { background: var(--char-2); }
.fire-num {
  font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.fire-label { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.5; }
.fire-note {
  max-width: 1100px; margin: 3rem auto 0; color: var(--cream-dim);
  font-size: 1.1rem; max-width: 44rem; margin-left: auto; margin-right: auto;
  border-left: 2px solid var(--ember); padding-left: 1.4rem;
}

/* ---------- menu ---------- */
.menu {
  position: relative;
  padding: clamp(5rem, 12vh, 10rem) clamp(1.2rem, 5vw, 4rem);
}
.firing-line {
  position: absolute; top: 0; bottom: 0; left: clamp(1.2rem, 5vw, 4rem);
  width: 2px; background: var(--line); z-index: 0;
}
.firing-heat {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--ember-hot), var(--ember) 60%, var(--ember-deep));
  box-shadow: 0 0 14px 1px rgba(255, 122, 47, 0.5);
}
.motion-off .firing-heat, .no-js .firing-heat { height: 100%; }

.courses {
  list-style: none; max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: clamp(3rem, 8vh, 6rem);
  position: relative; z-index: 1;
}
.course {
  display: grid; grid-template-columns: 9rem 1fr 1.2fr;
  gap: clamp(1.2rem, 3vw, 3rem); align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 2.2rem;
  position: relative;
}
.course-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.course-no {
  font-family: var(--display); font-style: italic; font-weight: 640;
  font-size: 1.3rem; color: var(--ash);
}
.course-temp {
  color: var(--ash); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.course-stage {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--char-3);
  -webkit-text-stroke: 1px rgba(245, 233, 220, 0.28);
  transition: color 1.1s var(--ease-flicker), text-shadow 1.1s var(--ease-flicker), -webkit-text-stroke-color 1.1s;
}
.course.lit .course-stage,
.motion-off .course-stage,
.no-js .course-stage {
  color: var(--cream);
  -webkit-text-stroke-color: transparent;
  text-shadow: 0 0 32px rgba(255, 122, 47, 0.35);
}
.course.lit .course-stage { animation: stage-flicker 0.9s var(--ease-flicker); }
@keyframes stage-flicker {
  0% { opacity: 0.3; } 18% { opacity: 1; } 30% { opacity: 0.55; }
  42% { opacity: 1; } 60% { opacity: 0.8; } 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .course.lit .course-stage { animation: none; } }
.course-dish {
  font-family: var(--display); font-style: italic; font-weight: 640;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--ember-hot); margin-bottom: 0.7rem;
  line-height: 1.25;
}
.course-desc { color: var(--cream-dim); font-size: 1rem; max-width: 34rem; }
.menu-fine {
  max-width: 1100px; margin: 4.5rem auto 0; color: var(--ash); font-size: 0.92rem;
  border-top: 1px solid var(--line); padding-top: 1.6rem;
}

/* ---------- reserve ---------- */
.reserve {
  position: relative;
  padding: clamp(5rem, 14vh, 11rem) clamp(1.2rem, 5vw, 4rem);
  background:
    radial-gradient(90% 70% at 50% 115%, rgba(194, 69, 29, 0.4), rgba(255, 122, 47, 0.08) 50%, transparent 75%),
    linear-gradient(var(--char), var(--char-2));
  border-top: 1px solid var(--line);
}
.reserve-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.reserve-title {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; margin-bottom: 1.4rem;
}
.reserve-title em {
  background: linear-gradient(100deg, var(--ember-hot), var(--ember) 55%, var(--ember-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reserve-sub { color: var(--cream-dim); max-width: 34rem; margin: 0 auto 3rem; font-size: 1.05rem; }

.reserve-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.1rem;
  text-align: left;
  background: rgba(32, 26, 21, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
fieldset.field { min-width: 0; border: 0; padding: 0; margin: 0; }
.seating-opts { flex-wrap: wrap; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-dim); font-weight: 500;
}
.field input, .field select {
  background: var(--char); color: var(--cream);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; font-family: var(--body); font-size: 1rem;
  width: 100%; min-height: 48px;
  transition: border-color 0.3s;
  color-scheme: dark;
}
.field input:focus, .field select:focus { border-color: var(--ember); outline: none; }
.field input::placeholder { color: var(--ash); }

.field-seating { grid-column: 1 / -1; border: 0; }
.seating-opts { display: flex; gap: 0.8rem; margin-top: 0.45rem; }
.seat-chip { flex: 1; cursor: pointer; }
.seat-chip { position: relative; }
.seat-chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.seat-chip span {
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 0.6rem;
  font-weight: 500; font-size: 1.02rem; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.seat-chip small { color: var(--ash); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.seat-chip input:checked + span {
  border-color: var(--ember); background: rgba(255, 122, 47, 0.09);
  box-shadow: 0 0 20px -6px rgba(255, 122, 47, 0.5);
}
.seat-chip input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }

.btn-submit { grid-column: 1 / -1; margin-top: 0.4rem; font-size: 1.05rem; }
.reserve-confirm { margin-top: 1.4rem; color: var(--ember-hot); font-weight: 500; min-height: 1.6em; }
.reserve-fine { margin-top: 1.6rem; color: var(--ash); font-size: 0.88rem; }
.reserve-fine a { color: var(--cream-dim); }
.reserve-fine a:hover { color: var(--ember-hot); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem clamp(1.2rem, 5vw, 4rem) 2.5rem;
  background: var(--char);
  position: relative; z-index: 7; /* above ember canvas so links stay clickable-looking crisp */
}
.footer-cols {
  max-width: 1100px; margin: 0 auto 2.4rem;
  display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  color: var(--cream-dim); font-size: 0.95rem;
}
.footer-mark {
  font-family: var(--display); font-style: italic; font-weight: 640;
  font-size: 1.3rem; color: var(--cream); margin-bottom: 0.6rem;
}
.footer-cols nav { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.footer-cols nav a { color: var(--cream-dim); text-decoration: none; transition: color 0.3s; }
.footer-cols nav a:hover { color: var(--ember-hot); }
.footer-fine {
  max-width: 1100px; margin: 0 auto; color: var(--ash); font-size: 0.85rem;
  border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.footer-fine a { color: var(--cream-dim); }

/* ---------- reduced motion: static ember glows ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero, .reserve {
    background-image:
      radial-gradient(60% 30% at 30% 104%, rgba(255, 122, 47, 0.22), transparent 70%),
      radial-gradient(50% 26% at 72% 103%, rgba(194, 69, 29, 0.28), transparent 70%),
      radial-gradient(120% 55% at 50% 108%, rgba(194, 69, 29, 0.3), transparent 70%);
    background-color: var(--char);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .fire-grid { grid-template-columns: repeat(2, 1fr); }
  .course { grid-template-columns: 1fr; gap: 0.9rem; }
  .course-meta { flex-direction: row; align-items: baseline; gap: 0.9rem; }
}
@media (max-width: 640px) {
  .br-d { display: none; }
  .nav nav a:not(.nav-cta) { display: none; }
  .fire-grid { grid-template-columns: 1fr; }
  .reserve-form { grid-template-columns: 1fr; }
  .hero-foot { justify-content: center; }
  .hero-temp { display: none; }
  .firing-line { left: 0.9rem; }
  .seating-opts { flex-direction: row; }
}
@media (max-width: 400px) {
  .hero-actions .btn-ghost { padding: 0.85rem 1.2rem; }
}
