/* ===========================================================
   Mitts 2 Pits — Homepage Prototype
   Vanilla CSS, mobile-first, no framework.
   ----------------------------------------------------------- */

/* ---- Reset + base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; }
img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }

/* ---- Tokens ---- */
:root {
  /* Palette */
  --ember:    #C44A2A;
  --ember-2:  #9F3818;
  --ember-soft: rgba(196, 74, 42, 0.12);
  --charcoal: #1A1411;
  --charcoal-2: #2A2018;
  --cream:    #F5EDE0;
  --cream-2:  #EFE5D4;
  --smoke:    #6B5A4A;
  --smoke-soft: rgba(107, 90, 74, 0.18);
  --ink:      #2B221C;
  --ink-soft: rgba(43, 34, 28, 0.65);
  --paper:    #FAF6EF;
  --gold:     #C9A04A;

  /* Type */
  --font-display: 'DM Serif Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Scale (fluid) */
  --fs-h1: clamp(2.6rem, 7vw + 1rem, 6.5rem);
  --fs-h2: clamp(2rem, 4vw + 1rem, 3.75rem);
  --fs-h3: clamp(1.25rem, 0.6vw + 1.1rem, 1.5rem);
  --fs-body: clamp(1rem, 0.25vw + 0.95rem, 1.0625rem);
  --fs-lede: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  --fs-eyebrow: 0.75rem;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 600ms;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02";
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }

p { margin: 0 0 1em; }
em { font-style: italic; font-variation-settings: "SOFT" 50; }

/* ---- Primitives ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  margin: 0 0 0.85rem;
}
.eyebrow--ember { color: var(--ember); }
.eyebrow--light { color: rgba(245, 237, 224, 0.78); }

.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { margin-bottom: 0.4em; }
.section-head__lede { font-size: var(--fs-lede); color: var(--ink-soft); margin: 0; }
.section-head--light h2 { color: var(--cream); }
.section-head--light .section-head__lede { color: rgba(245, 237, 224, 0.75); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.72rem; letter-spacing: 0.12em; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 0.9rem; }
.btn--primary { background: var(--ember); color: var(--cream); border-color: var(--ember); }
.btn--primary:hover { background: var(--ember-2); border-color: var(--ember-2); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(196, 74, 42, 0.55); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(245, 237, 224, 0.6); }
.btn--ghost:hover { background: rgba(245, 237, 224, 0.1); border-color: var(--cream); transform: translateY(-1px); }
.btn--ghost.btn--dark { color: var(--ink); border-color: rgba(43, 34, 28, 0.25); }
.btn--ghost.btn--dark:hover { background: rgba(43, 34, 28, 0.05); border-color: var(--ink); }

/* ---- Boot ---- */
.boot {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  animation: bootOut 800ms 350ms var(--ease) forwards;
  pointer-events: none;
}
.boot__mark { position: relative; width: 96px; height: 96px; }
.boot__mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 20px rgba(196, 74, 42, 0.4)); animation: bootMark 1.2s var(--ease) both; }
.boot__ember {
  position: absolute; inset: -30px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 74, 42, 0.65) 0%, rgba(196, 74, 42, 0) 65%);
  animation: bootEmber 1.4s var(--ease) infinite alternate;
}
@keyframes bootOut { to { opacity: 0; visibility: hidden; } }
@keyframes bootMark { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes bootEmber { from { transform: scale(0.9); opacity: 0.6; } to { transform: scale(1.15); opacity: 1; } }
.boot.is-skip { display: none; }

/* ---- Ribbon ---- */
.ribbon {
  background: var(--charcoal);
  color: var(--cream);
  position: relative;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(245, 237, 224, 0.08);
}
.ribbon::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--ember), var(--ember-2));
}
.ribbon__inner {
  display: flex; align-items: center; gap: 0.85rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
}
.ribbon__inner p { margin: 0; font-size: 0.92rem; }
.ribbon__inner strong { color: var(--cream); }
.ribbon__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(196, 74, 42, 0.7);
  animation: pulse 2.4s var(--ease) infinite;
  flex: 0 0 auto;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 74, 42, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(196, 74, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 74, 42, 0); }
}
.ribbon__close {
  margin-left: auto;
  background: transparent; border: 0;
  color: rgba(245, 237, 224, 0.7);
  font-size: 1.5rem; line-height: 1;
  padding: 0 0.25rem;
  transition: color var(--t-fast) var(--ease);
}
.ribbon__close:hover { color: var(--cream); }
.ribbon.is-closed { display: none; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background var(--t-base) var(--ease), backdrop-filter var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--smoke-soft);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 1rem; padding-bottom: 1rem;
}
.site-header__brand {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--cream);
  transition: color var(--t-base) var(--ease);
}
.site-header.is-scrolled .site-header__brand { color: var(--ink); }
.site-header__brand img { width: 44px; height: 44px; }
.site-header__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-header__brand-line1 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.site-header__brand-line2 { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }

.site-header__nav {
  display: none;
  margin-left: auto;
  gap: 2rem;
}
.site-header__nav a {
  color: var(--cream);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em;
  position: relative;
  transition: color var(--t-base) var(--ease);
}
.site-header.is-scrolled .site-header__nav a { color: var(--ink); }
.site-header__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.site-header__nav a:hover::after { transform: scaleX(1); }

.site-header__actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 1rem;
}
@media (min-width: 900px) { .site-header__actions { margin-left: 0; } .site-header__nav { display: flex; } }

.phone-link {
  display: none;
  align-items: center; gap: 0.45rem;
  color: var(--cream);
  font-weight: 500; font-size: 0.92rem;
  transition: color var(--t-base) var(--ease);
}
.site-header.is-scrolled .phone-link { color: var(--ink); }
.phone-link:hover { color: var(--ember); }
@media (min-width: 1100px) { .phone-link { display: inline-flex; } }

.site-header__menu-btn {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: transparent; border: 0; padding: 8px;
}
.site-header__menu-btn span { display: block; width: 22px; height: 2px; background: var(--cream); transition: background var(--t-base) var(--ease); }
.site-header.is-scrolled .site-header__menu-btn span { background: var(--ink); }
@media (min-width: 900px) { .site-header__menu-btn { display: none; } }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-header__nav.is-open {
  display: flex; flex-direction: column; gap: 1.25rem;
  position: fixed; inset: 0 0 0 25%;
  background: var(--charcoal);
  padding: 6rem 2rem 2rem;
  z-index: 40;
  animation: navIn var(--t-base) var(--ease);
}
.site-header__nav.is-open a { color: var(--cream); font-family: var(--font-display); font-size: 2rem; }
@keyframes navIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* Hide the "Call to Reserve" button on the smallest screens (callbar handles it) */
.site-header__actions .btn { display: none; }
@media (min-width: 700px) { .site-header__actions .btn { display: inline-flex; } }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  margin-top: -77px; /* slip under sticky header (matches header's computed height) */
  padding-top: 77px;
}
@media (max-width: 700px) { .hero { min-height: 92vh; } }

.hero__media {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: var(--charcoal);
}
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%;
  animation: heroPan 24s var(--ease) infinite alternate;
  filter: saturate(1.08) contrast(1.06) brightness(0.92);
}
@keyframes heroPan {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.14) translate(-2%, -1%); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 25% 75%, rgba(26, 20, 17, 0.85) 0%, rgba(26, 20, 17, 0.55) 35%, rgba(26, 20, 17, 0.1) 70%),
    linear-gradient(180deg, rgba(26, 20, 17, 0.55) 0%, rgba(26, 20, 17, 0) 25%, rgba(26, 20, 17, 0.4) 75%, rgba(26, 20, 17, 0.85) 100%),
    radial-gradient(ellipse at 85% 15%, rgba(196, 74, 42, 0.22), transparent 50%);
}

/* CSS-driven smoke wisps */
.hero__smoke { position: absolute; inset: 0; pointer-events: none; }
.hero__smoke span {
  position: absolute;
  bottom: -10%; left: var(--x, 50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245, 237, 224, 0.18) 0%, rgba(245, 237, 224, 0) 60%);
  filter: blur(20px);
  animation: smokeRise var(--dur, 14s) linear infinite;
  opacity: 0;
}
.hero__smoke span:nth-child(1) { --x: 12%; --dur: 16s; animation-delay: 0s; }
.hero__smoke span:nth-child(2) { --x: 32%; --dur: 13s; animation-delay: -3s; }
.hero__smoke span:nth-child(3) { --x: 55%; --dur: 18s; animation-delay: -7s; }
.hero__smoke span:nth-child(4) { --x: 74%; --dur: 15s; animation-delay: -10s; }
.hero__smoke span:nth-child(5) { --x: 88%; --dur: 17s; animation-delay: -1s; }
@keyframes smokeRise {
  0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
  15% { opacity: 0.7; }
  60% { opacity: 0.5; }
  100% { transform: translate(20px, -110vh) scale(1.6); opacity: 0; }
}

.hero__content {
  /* Anchor to viewport left rather than the centered container, so the
     headline reads as a left-of-page composition rather than mid-page. */
  max-width: none;
  margin: 0;
  padding-left: clamp(1.5rem, 6vw, 5rem);
  padding-right: var(--gutter);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  padding-top: clamp(4rem, 10vh, 7rem);
  position: relative;
  animation: fadeUp 900ms 600ms var(--ease) both;
}
.hero__content > * { max-width: 640px; margin-left: 0; }
.hero__content > .hero__pit { max-width: 480px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0 0 1.2rem;
  font-variation-settings: "SOFT" 30;
}
.hero__headline span { display: block; }
.hero__headline em {
  font-weight: 700;
  font-style: italic;
  color: var(--ember);
  font-variation-settings: "SOFT" 100;
}

.hero__sub {
  font-size: var(--fs-lede);
  color: rgba(245, 237, 224, 0.85);
  max-width: 580px;
  margin: 0 0 1.8rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.hero__pit {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem 1.1rem;
  background: rgba(26, 20, 17, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 237, 224, 0.22);
  border-radius: 999px;
  font-size: 0.85rem;
  max-width: 100%;
  flex-wrap: wrap;
}
.hero__pit-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ember);
}
.hero__pit-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember);
  box-shadow: 0 0 8px var(--ember);
  animation: pulse 2.4s var(--ease) infinite;
}
.hero__pit-items { color: rgba(245, 237, 224, 0.88); }

.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.5px solid rgba(245, 237, 224, 0.45);
  border-radius: 999px;
  display: flex; justify-content: center;
}
.hero__scroll span {
  width: 2px; height: 8px; background: var(--cream); margin-top: 6px;
  animation: scrollHint 1.6s ease-in-out infinite;
}
@keyframes scrollHint { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: 0; } }
.hero__scroll { display: none; }

/* ---- Three Doors ---- */
.doors { padding: 5rem 0 4rem; background: var(--cream); position: relative; }
.doors::before {
  content: ''; position: absolute; left: 50%; top: -2px; transform: translateX(-50%);
  width: 60px; height: 4px; background: var(--ember);
}
.doors__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .doors__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.door {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--smoke-soft);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.door:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(26, 20, 17, 0.25); }
.door__media { aspect-ratio: 16 / 10; overflow: hidden; }
.door__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.door:hover .door__media img { transform: scale(1.05); }
.door__body { padding: 1.6rem 1.6rem 1.8rem; }
.door__body h3 { color: var(--ink); margin-bottom: 0.5rem; }
.door__body p { color: var(--ink-soft); margin: 0; }
.door__more { display: inline-block; margin-top: 1.2rem; color: var(--ember); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: gap 200ms var(--ease); }
.door:hover .door__more { letter-spacing: 0.2em; }

/* ---- Chef ---- */
.chef {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(4rem, 8vh, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.chef::before {
  content: ''; position: absolute; inset: -10%;
  background: radial-gradient(ellipse at 30% 20%, rgba(196, 74, 42, 0.25), transparent 50%);
  pointer-events: none;
}
.chef__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .chef__inner { grid-template-columns: 5fr 7fr; } }

.chef__portrait { margin: 0; }
.chef__portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 25%;
  border-radius: var(--radius);
  filter: contrast(1.05) saturate(0.9);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}
.chef__quote blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.5vw + 1rem, 2.2rem);
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 1.5rem;
  font-variation-settings: "SOFT" 80;
  position: relative;
  padding-left: 0;
}
.chef__qmark {
  display: block;
  font-size: 5rem; line-height: 0.6;
  color: var(--ember);
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}
.chef__attribution { font-size: 0.95rem; color: rgba(245, 237, 224, 0.7); letter-spacing: 0.04em; }
.chef__attribution strong { color: var(--cream); }

/* ---- Menu ---- */
.menu { padding: clamp(4rem, 8vh, 6.5rem) 0; background: var(--cream); }
.menu__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .menu__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .menu__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.dish {
  background: var(--paper);
  border: 1px solid var(--smoke-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.dish:hover { transform: translateY(-3px); box-shadow: 0 24px 36px -18px rgba(26, 20, 17, 0.22); }
.dish__media { aspect-ratio: 4 / 3; overflow: hidden; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 3.5s var(--ease); }
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__body { padding: 1.4rem 1.5rem 1.6rem; }
.dish__body h3 { margin: 0 0 0.4rem; }
.dish__body > p:not(.dish__price) { color: var(--ink-soft); margin: 0 0 0.9rem; font-size: 0.95rem; }
.dish__price { color: var(--ember); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin: 0; }
.dish__price span { color: var(--smoke); font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; margin-right: 0.3rem; }
.dish__or { color: var(--smoke-soft) !important; margin: 0 0.45rem; }

/* Catering teaser card: structurally identical to the other dish cards
   (image on top, solid body block below) but with a dark body so it
   reads as a CTA, not a menu item. */
.dish--link {
  display: flex; flex-direction: column;
  text-decoration: none;
  background: var(--charcoal);
  border-color: rgba(26, 20, 17, 0.9);
}
.dish--link .dish__media { aspect-ratio: 4 / 3; }
.dish--link .dish__media img { transition: transform 4s var(--ease); }
.dish--link:hover .dish__media img { transform: scale(1.08); }
.dish__body--cta {
  padding: 1.4rem 1.5rem 1.6rem;
  color: var(--cream);
}
.dish__body--cta h3 { color: var(--cream); margin: 0 0 0.4rem; }
.dish__body--cta > p:not(.dish__price) { color: rgba(245, 237, 224, 0.78); margin: 0 0 0.9rem; font-size: 0.95rem; line-height: 1.5; }
.dish__body--cta .eyebrow { margin-bottom: 0.5rem; color: var(--ember); }
.dish__price--cta { color: var(--ember) !important; font-weight: 700; letter-spacing: 0.06em; transition: letter-spacing 200ms var(--ease); }
.dish--link:hover .dish__price--cta { letter-spacing: 0.12em; }

.menu__cta { text-align: center; margin-top: 3rem; }

/* ---- How We Cook ---- */
.how {
  background: var(--charcoal-2);
  color: var(--cream);
  padding: clamp(4rem, 8vh, 6.5rem) 0;
  overflow: hidden;
}
.how__rail {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 800px) { .how__rail { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.how__card {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(245, 237, 224, 0.04);
  border: 1px solid rgba(245, 237, 224, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  transition: border-color var(--t-base) var(--ease);
}
.how__card:hover { border-color: rgba(196, 74, 42, 0.5); }
.how__num {
  position: absolute; top: 1rem; left: 1.2rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--ember);
  letter-spacing: 0.08em;
  z-index: 1;
}
.how__step {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3vw + 1rem, 2.6rem);
  color: var(--cream);
  margin: 3.5rem 1.5rem 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.how__media { aspect-ratio: 4 / 3; overflow: hidden; margin: 0 1.5rem; border-radius: 2px; }
.how__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 5s var(--ease); }
.how__card:hover .how__media img { transform: scale(1.08); }
.how__caption {
  padding: 1.4rem 1.5rem 1.8rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(245, 237, 224, 0.78);
  font-style: italic;
  font-variation-settings: "SOFT" 80;
  margin: 0;
  line-height: 1.4;
}

/* ---- Social proof marquee ---- */
.proof {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 2rem 0;
  border-top: 1px solid var(--smoke-soft);
  border-bottom: 1px solid var(--smoke-soft);
  overflow: hidden;
  position: relative;
}
.proof__rail {
  display: flex; gap: 2rem;
  width: max-content;
  animation: marquee 50s linear infinite;
  padding: 0 1rem;
}
.proof:hover .proof__rail { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.proof__chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
  padding: 0.4rem 0.2rem;
}
.proof__chip em { color: var(--smoke); font-style: normal; font-size: 0.82rem; letter-spacing: 0.04em; }
.proof__chip--gold { color: var(--ink); font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 0.05em; font-size: 0.95rem; }

/* ---- Catering ---- */
.catering {
  background: var(--cream);
  padding: clamp(4rem, 8vh, 7rem) 0;
}
.catering__head { max-width: 820px; margin: 0 0 3rem; }
.catering__head h2 { font-size: clamp(2rem, 2.5vw + 1.2rem, 3.25rem); }
.catering__head .section-head__lede { font-size: var(--fs-lede); color: var(--ink-soft); margin: 0; }

.catering__gallery {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 720px) { .catering__gallery { grid-template-columns: repeat(3, 1fr); } }
.catering__gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.catering__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 5s var(--ease); }
.catering__gallery figure:hover img { transform: scale(1.06); }

/* Quote configurator */
.quote {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(26, 20, 17, 0.45);
}
.quote::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--ember-2), var(--ember));
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 200% 0; } }

.quote__head { margin-bottom: 1.8rem; }
.quote__head h3 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.4rem);
  color: var(--cream);
  margin: 0 0 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.quote__head .eyebrow { color: var(--ember); margin-bottom: 0.6rem; }

.quote__progress {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(245, 237, 224, 0.5);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
}
.quote__progress li {
  display: flex; align-items: center; gap: 0.5rem;
  transition: color var(--t-base) var(--ease);
}
.quote__progress li::after { content: ''; width: 30px; height: 1px; background: rgba(245, 237, 224, 0.2); margin: 0 0.5rem; }
.quote__progress li:last-child::after { display: none; }
.quote__progress li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(245, 237, 224, 0.08);
  font-size: 0.7rem; font-weight: 700;
}
.quote__progress li.is-active { color: var(--cream); }
.quote__progress li.is-active span { background: var(--ember); color: var(--cream); }
.quote__progress li.is-complete span { background: var(--ember-2); color: var(--cream); }
.quote__progress li.is-complete span::before { content: '✓'; }

.quote__step { display: none; animation: stepIn var(--t-base) var(--ease-out); }
.quote__step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.quote__events {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .quote__events { grid-template-columns: repeat(3, 1fr); } }
.event-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem;
  padding: 1.4rem 1.2rem;
  background: rgba(245, 237, 224, 0.04);
  border: 1px solid rgba(245, 237, 224, 0.14);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: left;
  font-weight: 500;
  transition: all var(--t-base) var(--ease);
}
.event-card:hover { background: rgba(196, 74, 42, 0.16); border-color: var(--ember); transform: translateY(-2px); }
.event-card__icon { font-size: 1.6rem; line-height: 1; }

.quote__count { padding: 1rem 0 0.5rem; }
.quote__count-readout {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw + 1rem, 5rem);
  font-weight: 600;
  color: var(--cream);
  text-align: center; margin: 0 0 1.5rem;
  line-height: 1;
}
.quote__count-readout #countValue { color: var(--ember); }
.quote__count-suffix {
  display: block; font-family: var(--font-sans); font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245, 237, 224, 0.6); margin-top: 0.3rem;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: rgba(245, 237, 224, 0.18);
  border-radius: 999px;
  outline: none;
  margin: 1rem 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ember);
  border: 3px solid var(--cream);
  box-shadow: 0 4px 14px rgba(196, 74, 42, 0.5);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ember); border: 3px solid var(--cream);
  cursor: pointer;
}
.quote__count-scale {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: rgba(245, 237, 224, 0.4);
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.quote__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.quote__nav .btn--ghost.btn--dark { color: rgba(245, 237, 224, 0.7); border-color: rgba(245, 237, 224, 0.18); }
.quote__nav .btn--ghost.btn--dark:hover { color: var(--cream); border-color: var(--cream); background: rgba(245, 237, 224, 0.05); }

.quote__estimate {
  background: linear-gradient(135deg, rgba(196, 74, 42, 0.18), rgba(196, 74, 42, 0.05));
  border: 1px solid rgba(196, 74, 42, 0.4);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.8rem;
  animation: estimatePop 500ms var(--ease-out);
}
@keyframes estimatePop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.quote__estimate .eyebrow { color: var(--ember); margin-bottom: 0.4rem; }
.quote__estimate-range {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 0.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.quote__estimate-fine { font-size: 0.9rem; color: rgba(245, 237, 224, 0.65); margin: 0; }

.quote__form { display: grid; gap: 1rem; }
.quote__row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .quote__row { grid-template-columns: 1fr 1fr; } }
.quote__form label {
  display: flex; flex-direction: column;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245, 237, 224, 0.65);
  font-weight: 600;
  gap: 0.45rem;
}
.quote__form input, .quote__form select {
  background: rgba(245, 237, 224, 0.06);
  border: 1px solid rgba(245, 237, 224, 0.16);
  color: var(--cream);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  font-family: var(--font-sans);
  font-weight: 400;
  color-scheme: dark;
}
.quote__form input:focus, .quote__form select:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(196, 74, 42, 0.2);
}
.quote__form input::placeholder { color: rgba(245, 237, 224, 0.35); }

.quote__success { text-align: center; padding: 2rem 0.5rem; }
.quote__success-mark {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(196, 74, 42, 0.18);
  color: var(--ember);
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  animation: markPop 600ms var(--ease-out);
}
@keyframes markPop { 0% { transform: scale(0); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }
.quote__success h3 { color: var(--cream); font-size: 1.6rem; margin-bottom: 0.8rem; }
.quote__success p { color: rgba(245, 237, 224, 0.7); }
.quote__success a { color: var(--ember); }

.catering__trust { margin-top: 1.5rem; text-align: center; font-size: 0.85rem; color: var(--smoke); letter-spacing: 0.04em; }

/* ---- Dine in ---- */
.dinein {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(4rem, 8vh, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.dinein__inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .dinein__inner { grid-template-columns: 5fr 6fr; } }

.dinein__photo { position: relative; }
.dinein__placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ember-2), var(--charcoal) 70%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
  isolation: isolate;
}
.placeholder-ribbon {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--ember); color: var(--cream);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0.7rem; font-weight: 700;
  border-radius: 2px;
}
.placeholder-tag {
  display: inline-block;
  background: rgba(196, 74, 42, 0.15);
  color: var(--ember);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  margin-left: 0.4rem;
  border-radius: 2px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.dinein__placeholder-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.dinein__glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  filter: blur(60px);
  background: var(--ember);
  opacity: 0.4;
  top: 20%; left: -10%;
  animation: glowDrift 12s ease-in-out infinite alternate;
}
.dinein__glow--alt {
  background: var(--gold);
  top: auto; bottom: 10%; left: auto; right: -10%;
  width: 250px; height: 250px;
  animation-duration: 14s;
  animation-direction: alternate-reverse;
  opacity: 0.25;
}
@keyframes glowDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(40px, -30px); }
}
.dinein__placeholder-msg {
  position: relative; z-index: 1;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  font-variation-settings: "SOFT" 80;
  margin: 0;
  line-height: 1.4;
  max-width: 280px;
}
.dinein__placeholder-msg a { color: var(--ember); font-style: normal; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; display: inline-block; margin-top: 1rem; }
.dinein__placeholder-msg a:hover { color: var(--cream); }

.dinein__body h2 { color: var(--cream); }
.dinein__body p { color: rgba(245, 237, 224, 0.78); }

.hours {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(245, 237, 224, 0.12);
  border-bottom: 1px solid rgba(245, 237, 224, 0.12);
}
@media (min-width: 600px) { .hours { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.hours .eyebrow { color: rgba(245, 237, 224, 0.55); margin-bottom: 1rem; }
.hours ul { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--cream);
  border-bottom: 1px dotted rgba(245, 237, 224, 0.12);
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: rgba(245, 237, 224, 0.65); }

.dinein__policy { font-size: 0.95rem; color: rgba(245, 237, 224, 0.7); }
.dinein__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.dinein__cta .btn--ghost.btn--dark { color: var(--cream); border-color: rgba(245, 237, 224, 0.4); }
.dinein__cta .btn--ghost.btn--dark:hover { background: rgba(245, 237, 224, 0.08); border-color: var(--cream); }

/* ---- Visit ---- */
.visit {
  position: relative;
  background: var(--charcoal);
  min-height: 480px;
}
.visit__map { height: 560px; filter: saturate(0.5) contrast(1.05) brightness(0.85); }
.visit__map iframe { width: 100%; height: 100%; border: 0; }
.visit__card-wrap {
  position: relative;
  margin-top: -200px;
  padding-bottom: 4rem;
  pointer-events: none;
}
.visit__card {
  background: var(--paper);
  color: var(--ink);
  padding: 2.2rem 2rem 2.4rem;
  max-width: 380px;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -25px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}
.visit__card h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2rem); margin-bottom: 1rem; }
.visit__phone { font-size: 1.3rem; font-family: var(--font-display); font-weight: 600; margin: 0 0 1.5rem; }
.visit__phone a { color: var(--ember); }
.visit__hours { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.visit__hours li { padding: 0.35rem 0; font-size: 0.92rem; border-bottom: 1px dotted var(--smoke-soft); }
.visit__hours li:last-child { border-bottom: 0; }
.visit__hours li strong { display: inline-block; min-width: 100px; color: var(--smoke); font-weight: 500; }

/* ---- Footer ---- */
.site-footer {
  background: var(--charcoal);
  color: rgba(245, 237, 224, 0.7);
  padding: 4rem 0 0;
}
.site-footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer img { filter: brightness(1.15); }
.site-footer__tag { font-family: var(--font-display); font-size: 1.1rem; color: var(--cream); margin-top: 1rem; font-style: italic; }
.site-footer .eyebrow { color: rgba(245, 237, 224, 0.45); margin-bottom: 0.8rem; }
.site-footer p { margin: 0 0 0.4rem; line-height: 1.55; }
.site-footer a { color: var(--cream); transition: color var(--t-fast) var(--ease); }
.site-footer a:hover { color: var(--ember); }
.site-footer__credit { font-size: 0.8rem; margin-top: 1.5rem; color: rgba(245, 237, 224, 0.4); }
.site-footer__rule { border-top: 1px solid rgba(245, 237, 224, 0.1); padding: 1.5rem 0; }
.site-footer__legal {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.8rem;
  color: rgba(245, 237, 224, 0.35);
  flex-wrap: wrap;
}

/* ---- Mobile sticky call bar ---- */
.callbar {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 30;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--ember); color: var(--cream);
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 20px 40px -10px rgba(196, 74, 42, 0.6);
  transform: translateY(120%); opacity: 0;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.callbar.is-visible { transform: translateY(0); opacity: 1; }
.callbar:hover { background: var(--ember-2); }
@media (max-width: 700px) {
  .callbar.is-visible { left: 1rem; right: 1rem; justify-content: center; }
}
@media (min-width: 1100px) {
  .callbar { display: none; } /* desktop already has phone in header */
}

/* ---- Reveal animations ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 60ms; }
.reveal:nth-child(3) { transition-delay: 120ms; }
.reveal:nth-child(4) { transition-delay: 180ms; }
.reveal:nth-child(5) { transition-delay: 240ms; }
.reveal:nth-child(6) { transition-delay: 300ms; }

/* ---- Tablet polish: cap orphaned single-column heights ---- */
/* Between 701-899px the dine-in grid has collapsed to a single column
   (two-col grid kicks in at 900px) so the placeholder card stretches
   to ~aspect-ratio 4/5 of the full container width and dominates the
   page. Cap it to a sane landscape ratio in this range. Also dial back
   the header CTA weight and the visit section's bottom padding so the
   tablet view doesn't have a tall dead band below the address card. */
@media (min-width: 701px) and (max-width: 899px) {
  .dinein__placeholder { aspect-ratio: 16 / 9; max-height: 520px; }
  .visit { padding-bottom: 0; }
  .visit__card-wrap { padding-bottom: 3rem; }
  .site-header__actions .btn--sm {
    font-size: 0.7rem;
    padding: 0.55rem 0.9rem;
    letter-spacing: 0.08em;
  }
}

/* ---- Mobile polish: callbar safe area + dine-in reorder ---- */
@media (max-width: 700px) {
  body { padding-bottom: 80px; } /* leaves room for sticky callbar */

  /* Put the news above the placeholder photo on mobile so customers see content first */
  .dinein__inner { display: flex; flex-direction: column; }
  .dinein__photo { order: 2; }
  .dinein__body  { order: 1; }
  .dinein__placeholder { aspect-ratio: 16 / 10; }

  /* Smaller hero scroll affordance not needed on mobile */
  .hero__scroll { display: none; }

  /* Visit card not constrained */
  .visit__card-wrap { margin-top: -180px; padding-bottom: 2.5rem; }

  /* Sections with bottom CTAs need extra padding so the sticky callbar
     (80px tall) doesn't clip the call-to-action buttons. */
  .visit__card-wrap { padding-bottom: 6rem; }
  .dinein { padding-bottom: 5rem; }
  .chef__quote { padding-bottom: 5rem; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__img { animation: none; }
  .hero__smoke { display: none; }
  .proof__rail { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
