/* ============================================================
   SAFFRRON — design system
   Red & black · Fraunces + Inter · no frameworks
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- 2. Design tokens ---------- */
:root {
  --bg: #100c0c; --bg-soft: #171112; --bg-card: #1f1515;
  --cream: #f6efe3; --cream-dim: rgba(246,239,227,.64); --cream-faint: rgba(246,239,227,.38);
  --brand: #c1272d; --ember: #e0574f; --line: rgba(214,72,72,.24);
  --font-display: 'Fraunces', Georgia, serif; --font-body: 'Inter', system-ui, sans-serif;
  --radius: 18px; --nav-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 3. Base ---------- */
html {
  scroll-padding-top: calc(var(--nav-h) + 18px);
}
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Fine film-grain for a printed-menu feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1200; pointer-events: none; opacity: .05;
  background-image: 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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; }

/* ---------- 4. Layout utilities ---------- */
.container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ember);
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: var(--ember); flex: none; }
.section {
  padding: clamp(1.6rem, 3.4vh, 2.5rem) 0; position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; scroll-margin-top: var(--nav-h);
}
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 42rem; margin-bottom: clamp(1rem, 2.2vh, 1.5rem); }
.section-head h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: .55rem 0 .5rem; }
.section-head p { color: var(--cream-dim); font-size: clamp(.95rem, 1.4vw, 1.05rem); }

/* ---------- 5. Draft banner ---------- */
.draft-banner {
  background: linear-gradient(90deg, #2a1f0e, #1e1813 60%);
  color: var(--ember);
  border-bottom: 1px solid var(--line);
  text-align: center; font-size: .7rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  padding: .62rem 1rem;
}

/* ---------- 6. Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 19, 16, .55);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.scrolled { background: rgba(22, 19, 16, .9); border-bottom-color: var(--line); }
.nav-inner { position: relative; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: .01em; color: var(--ember); }
.nav-tag {
  font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cream-faint); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .6rem;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) {
  position: relative; font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream-dim); transition: color .3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--cream); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--ember);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .6rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); transition: transform .35s var(--ease), opacity .3s; }

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .35s, color .35s;
}
.btn-primary {
  background: linear-gradient(135deg, #e0574f, var(--brand) 55%, #8e1b1b);
  color: #2a0d0d; box-shadow: 0 8px 30px -8px rgba(193, 39, 45, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -8px rgba(232, 150, 46, .7); }
.btn-ghost { border: 1px solid rgba(246, 239, 227, .35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }
.btn-small { padding: .68rem 1.35rem; font-size: .84rem; }

/* ---------- 8. Hero ---------- */
.hero { position: relative; min-height: calc(100svh - 110px); display: flex; align-items: flex-end; overflow: clip; scroll-margin-top: var(--nav-h); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 3%, rgba(22,19,16,.78) 28%, rgba(22,19,16,.22) 58%, rgba(22,19,16,.55) 100%),
    radial-gradient(120% 90% at 82% 12%, transparent 42%, rgba(22,19,16,.5) 100%);
}
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(2.5rem, 7vh, 4.5rem); max-width: 1200px; }
.hero h1 { font-size: clamp(2.25rem, 4.8vw, 4rem); line-height: 1.04; margin: .8rem 0 1rem; max-width: 12ch; }
.hero-sub { font-size: clamp(.98rem, 1.4vw, 1.12rem); color: var(--cream-dim); max-width: 34rem; margin-bottom: 1.2rem; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.hero-rating { font-size: .86rem; letter-spacing: .05em; color: var(--cream-faint); }
.hero-rating strong { color: var(--cream); font-weight: 600; }

/* ---------- 9. Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; padding: .7rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-chunk {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(.9rem, 2vw, 1.15rem); color: var(--cream-dim);
  white-space: nowrap;
}
.marquee-chunk i { font-style: normal; color: var(--ember); padding: 0 .9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10. Menu components ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: .9rem; }
.menu-tab {
  padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim);
  transition: all .3s var(--ease);
}
.menu-tab:hover { color: var(--cream); border-color: var(--ember); }
.menu-tab.active { background: var(--cream); border-color: var(--cream); color: #2a0d0d; font-weight: 600; }
.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeUp .55s var(--ease); }
.menu-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.menu-feature { position: relative; }
.menu-feature img {
  width: 100%; aspect-ratio: 4 / 5; max-height: 40vh; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  transition: opacity .22s ease;
}
.menu-feature img.is-fading { opacity: 0; }
.menu-feature figcaption { margin-top: .6rem; font-size: .82rem; color: var(--cream-faint); font-style: italic; }
.menu-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.dish { background: var(--bg-card); padding: .7rem .9rem; transition: background .35s var(--ease); }
.dish:hover { background: #241414; }
.dish-top { display: flex; align-items: baseline; gap: .7rem; }
.dish-name { font-family: var(--font-display); font-size: .92rem; font-weight: 600; }
.dish-dots { flex: 1 1 auto; min-width: 1.2rem; border-bottom: 1px dotted rgba(224,87,79,.45); transform: translateY(-5px); }
.dish-price { color: var(--ember); font-weight: 600; white-space: nowrap; font-size: .92rem; }
.dish-desc { color: var(--cream-dim); font-size: .76rem; margin-top: .2rem; line-height: 1.55; }

/* ---------- 11. Chef components ---------- */
.chef-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.chef-img { position: relative; z-index: 0; }
.chef-img img { width: 100%; aspect-ratio: 4 / 5; max-height: 40vh; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.chef-img::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid var(--line); border-radius: var(--radius); transform: translate(14px, 14px);
}
.chef-copy p { color: var(--cream-dim); margin-bottom: .5rem; font-size: .95rem; line-height: 1.6; }
.chef-copy p strong { color: var(--cream); font-weight: 600; }
.stat-row { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--ember); line-height: 1; }
.stat-label { display: block; margin-top: .35rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-faint); }

/* ---------- 12. Awards ---------- */
.awards-strip {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .75rem; scrollbar-width: thin; scrollbar-color: var(--ember) transparent;
}
.award {
  flex: 0 0 auto; width: min(300px, 78vw);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; transition: transform .35s var(--ease), border-color .35s;
}
@media (min-width: 1200px) {
  .awards-strip { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; scroll-snap-type: none; }
  .award { width: auto; }
}
.award:hover { transform: translateY(-4px); border-color: var(--ember); }
.award-year { font-size: .72rem; font-weight: 600; letter-spacing: .26em; color: var(--ember); }
.award h3 { font-size: 1rem; margin: .5rem 0 .3rem; }
.award p { color: var(--cream-dim); font-size: .84rem; }

/* ---------- 13. Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote {
  position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.quote:hover { transform: translateY(-4px); border-color: rgba(224,87,79,.45); }
.quote::before {
  content: "\201C"; position: absolute; top: -.4rem; right: .9rem;
  font-family: var(--font-display); font-size: 5rem; color: var(--ember); opacity: .16; line-height: 1;
}
.stars { color: var(--ember); letter-spacing: .22em; font-size: .88rem; }
.quote blockquote { font-family: var(--font-display); font-size: .94rem; line-height: 1.5; font-weight: 500; }
.quote cite { font-style: normal; color: var(--cream-faint); font-size: .85rem; margin-top: auto; }
.quote cite strong { display: block; color: var(--cream-dim); font-weight: 600; }

/* ---------- 14. Visit + reservation form ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.visit-info > img {
  width: 100%; aspect-ratio: 16 / 10; max-height: 30vh; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  margin-bottom: .9rem;
}
.info-block { margin-bottom: .9rem; }
.info-block h3 { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ember); margin-bottom: .6rem; }
.info-block p { color: var(--cream-dim); margin-bottom: .25rem; font-size: .95rem; }
.info-block a:hover { color: var(--ember); }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed rgba(224,87,79,.30); font-size: .92rem; }
.hours-row span:last-child { color: var(--cream-dim); text-align: right; }
.reserve {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 2.4vh, 1.35rem);
}
.reserve h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.reserve > p { color: var(--cream-dim); font-size: .9rem; margin-bottom: .75rem; }
.form-field { margin-bottom: .55rem; }
.form-field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: .35rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: #161011; border: 1px solid var(--line); border-radius: 12px;
  color: var(--cream); padding: .55rem .8rem; font: inherit; font-size: .92rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e0574f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.form-field textarea { min-height: 60px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--cream-faint); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(193,39,45,.22);
}
.form-field .field-error, .field-error { border-color: #d9534f !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .78rem; color: var(--cream-faint); margin-top: .8rem; }
.note-center { text-align: center; margin-top: 1.4rem; }
.form-success { text-align: center; padding: 3rem 1.5rem; }
.form-success h3 { font-size: 1.8rem; margin-bottom: .8rem; }
.form-success p { color: var(--cream-dim); max-width: 26rem; margin: 0 auto; }

/* ---------- 15. Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer .wordmark { font-size: 1.8rem; margin-bottom: .7rem; }
.footer-blurb { color: var(--cream-dim); font-size: .95rem; max-width: 22rem; }
.footer h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ember); margin-bottom: 1rem; }
.footer-grid p { color: var(--cream-dim); font-size: .95rem; margin-bottom: .35rem; }
.footer-grid a { transition: color .3s; }
.footer-grid a:hover { color: var(--ember); }
.footer-tiny {
  border-top: 1px solid var(--line); padding: 1.4rem 0;
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  font-size: .78rem; color: var(--cream-faint);
}

/* ---------- 16. Reveal system ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js [data-reveal].revealed { opacity: 1; transform: none; }
html.js [data-reveal="1"] { transition-delay: .1s; }
html.js [data-reveal="2"] { transition-delay: .2s; }
html.js [data-reveal="3"] { transition-delay: .3s; }
html.js [data-reveal="4"] { transition-delay: .4s; }

/* ---------- 17. Keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-feature img { aspect-ratio: 16 / 9; max-height: 24vh; }
  .chef-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .chef-img { max-width: 520px; }
  .chef-img img { aspect-ratio: 16 / 9; max-height: 26vh; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; gap: 2rem; }
  .visit-info > img { aspect-ratio: 16 / 8; max-height: 24vh; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(22, 19, 16, .97);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem clamp(20px, 4vw, 40px) 1.4rem;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: .9rem .25rem; border-bottom: 1px solid rgba(224,87,79,.14); font-size: .9rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .nav-cta { margin-top: 1.1rem; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab { white-space: nowrap; flex: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-content { padding-bottom: 4.5rem; }
}
@media (max-width: 480px) {
  .nav-tag { display: none; }
  .wordmark { font-size: 1.3rem; }
  .hero h1 { font-size: clamp(2rem, 9.5vw, 2.5rem); }
  .hero-content { padding-bottom: 2.75rem; }
  .hero-sub { margin-bottom: 1rem; }
  .hero-ctas { margin-bottom: 1rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .dish { padding: .6rem .7rem; }
  .dish-name { font-size: .84rem; }
  .dish-price { font-size: .84rem; }
  .dish-desc { font-size: .7rem; }
  .dish-top { gap: .5rem; }
  .chef-copy p { font-size: .9rem; }
  .chef-img img { max-height: 20vh; }
  .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: .85rem; padding-top: .75rem; }
  .stat-num { font-size: 1.25rem; }
  .stat-label { font-size: .62rem; letter-spacing: .12em; }
  .quote { padding: .9rem 1rem; gap: .5rem; }
  .quote blockquote { font-size: .88rem; }
  .note-center { margin-top: 1rem; }
  .form-row { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .section { padding: 1rem 0; }
  .section-head { margin-bottom: .9rem; }
  .section-head h2 { font-size: 1.35rem; }
  .visit-grid { gap: 1rem; }
  .visit-info > img { aspect-ratio: 21 / 9; max-height: 12vh; margin-bottom: .5rem; }
  .info-block { margin-bottom: .6rem; }
  .info-block h3 { margin-bottom: .4rem; }
  .info-block p { font-size: .88rem; line-height: 1.5; margin-bottom: .2rem; }
  .hours-row { font-size: .85rem; padding: .22rem 0; }
  .visit-info .info-block:last-of-type { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .9rem; margin-bottom: 0; }
  .visit-info .info-block:last-of-type h3 { grid-column: 1 / -1; }
  .reserve { padding: .8rem; }
  .reserve h3 { font-size: 1.15rem; }
  .reserve > p { margin-bottom: .35rem; font-size: .85rem; }
  .form-field { margin-bottom: .32rem; }
  .form-field label { margin-bottom: .25rem; }
  .form-field input, .form-field select { padding: .45rem .7rem; font-size: .88rem; }
  .form-field textarea { min-height: 44px; }
  .reserve .btn { padding: .6rem 1.4rem; width: 100%; }
  .form-note { margin-top: .35rem; }
  .footer-tiny { flex-direction: column; }
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
