/* ============ Baba — base ============ */
:root {
  --cream: #FAF6F0;
  --cream-soft: #F3ECE2;
  --ink: #17130F;
  --ink-soft: #241E19;
  --red: #BE242A;
  --red-dark: #94191E;
  --line: rgba(23, 19, 15, 0.12);
  --line-light: rgba(250, 246, 240, 0.16);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { line-height: 1.7; margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--red);
  margin: 0 0 1em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.55; }
}
.eyebrow-light { color: #E28E88; }
.eyebrow-light::before { background: var(--red); }

.btn {
  display: inline-block;
  padding: 0.9em 1.8em;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(190,36,42,0.35);
}
.btn-primary:active { transform: translateY(-1px); }

/* ============ Nav ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(23, 19, 15, 0.92);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-mark { position: relative; display: block; height: 28px; }
.nav-logo {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
  transition: opacity 0.3s ease;
}
.nav-logo-light {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.nav-logo-dark { opacity: 1; }
.site-nav.scrolled .nav-logo-dark { opacity: 0; }
.site-nav.scrolled .nav-logo-light { opacity: 1; }
.nav-links {
  display: flex;
  gap: 36px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav.scrolled .nav-links a { color: var(--cream); }
.nav-links a:hover { border-color: var(--red); color: var(--red); }

.nav-cta { white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: background 0.2s ease, transform 0.25s ease, opacity 0.25s ease;
}
.site-nav.scrolled .nav-toggle span { background: var(--cream); }

/* ============ Hero ============ */
.hero {
  position: relative;
  width: 100%;
  padding-top: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 28px 0 8px;
  opacity: 0;
  animation: heroCtaIn 0.8s ease 0.3s forwards;
}
.hero-cta {
  box-shadow: 0 8px 24px rgba(23,19,15,0.15);
  animation: ctaPulse 2.6s ease-in-out 2.2s infinite;
}
.hero-urgency {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--red-dark);
  background: #fff;
  border: 1px solid rgba(190,36,42,0.2);
  box-shadow: 0 2px 10px rgba(23,19,15,0.06);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
@keyframes heroCtaIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(23,19,15,0.15), 0 0 0 0 rgba(190,36,42,0.45); }
  50% { box-shadow: 0 8px 24px rgba(23,19,15,0.15), 0 0 0 10px rgba(190,36,42,0); }
}

.scroll-cue {
  position: relative;
  width: 26px; height: 42px;
  margin: 4px 0 40px;
  border: 1px solid rgba(23,19,15,0.4);
  border-radius: 20px;
  opacity: 0;
  animation: heroCtaIn 0.8s ease 0.6s forwards;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--red);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ============ Intro ============ */
.intro {
  padding: 140px 32px;
  text-align: center;
  background: var(--cream);
}
.intro-inner { max-width: 720px; margin: 0 auto; }
.intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 500;
}
.intro h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  background: var(--red);
  margin: 0.5em auto 0;
}
.intro-copy {
  font-size: 1.08rem;
  color: #4a423b;
  max-width: 600px;
  margin: 1.5em auto 0;
}

/* ============ Chef section ============ */
.chef-section {
  background: var(--ink);
  color: var(--cream);
  padding: 0;
}
.chef-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  gap: 0;
  border-left: 4px solid var(--red);
}
.chef-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}
.chef-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}
.chef-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 7px 14px;
  border-radius: 2px;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.chef-copy { padding: 60px 60px 60px 52px; }
.chef-copy h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  position: relative;
  padding-bottom: 18px;
}
.chef-copy h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: var(--red);
}
.chef-copy p { color: #CFC6BB; max-width: 500px; }
.chef-copy em { color: var(--cream); font-style: italic; }
.text-link {
  display: inline-block;
  margin-top: 0.5em;
  color: var(--red);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

/* ============ Menu ============ */
.menu {
  background: var(--ink-soft);
  color: var(--cream);
  padding: 120px 32px;
}
.menu-inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.menu-heading { color: var(--cream); font-size: clamp(2rem, 4vw, 2.8rem); }
.menu-sub { color: #C9BFB3; max-width: 520px; margin: 0 auto 3.5em; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}
.dish-card {
  background: rgba(250,246,240,0.03);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--red);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.dish-card:hover { transform: translateY(-4px); border-color: rgba(190,36,42,0.5); border-top-color: var(--red); }
.dish-img { aspect-ratio: 4/3; overflow: hidden; }
.dish-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dish-card:hover .dish-img img { transform: scale(1.09); }
.dish-card h3 {
  font-size: 1.05rem;
  color: var(--cream);
  padding: 18px 18px 0;
}
.dish-card p {
  color: #B7ADA0;
  font-size: 0.88rem;
  padding: 0 18px;
  min-height: 3.4em;
}
.dish-card .price {
  display: block;
  color: var(--red);
  font-family: var(--serif);
  font-size: 1rem;
  padding: 0 18px 20px;
}
.menu-note {
  margin-top: 3em;
  font-size: 0.78rem;
  color: #8b8178;
  font-style: italic;
}

/* ============ Order ============ */
.order {
  background: var(--ink);
  color: var(--cream);
  padding: 130px 32px 110px;
  text-align: center;
  border-top: 1px solid var(--line-light);
}
.order-inner { max-width: 640px; margin: 0 auto; }
.order h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 2.8rem); }
.order-copy { color: #CFC6BB; margin-bottom: 1.2em; }
.order-urgency {
  display: inline-block;
  color: var(--cream);
  background: rgba(190,36,42,0.18);
  border: 1px solid rgba(190,36,42,0.5);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-bottom: 2.5em;
  animation: badgeGlow 2.6s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { border-color: rgba(190,36,42,0.5); }
  50% { border-color: rgba(190,36,42,1); }
}

.order-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 4em;
}
.order-btn {
  display: block;
  padding: 1.05em 1.5em;
  border: 1px solid rgba(250,246,240,0.3);
  border-left: 3px solid var(--red);
  border-radius: 3px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.order-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateX(6px);
}

.order-hours h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.6em;
}
.order-hours p { color: #B7ADA0; margin: 0.2em 0; font-size: 0.92rem; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--red);
  padding: 40px 32px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo { height: 22px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.82rem;
  color: #C9BFB3;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--red); }
.footer-copy {
  width: 100%;
  text-align: center;
  color: #6f665d;
  font-size: 0.76rem;
  margin: 24px 0 0;
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

.chef-image.reveal {
  transform: translateX(-24px);
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.chef-image.reveal.in-view { opacity: 1; transform: translateX(0); }

/* underlines draw in once their heading is revealed */
.intro h2::after,
.chef-copy h2::after {
  width: 0;
  transition: width 0.7s ease 0.3s;
}
.intro h2.in-view::after,
.chef-copy h2.in-view::after { width: 64px; }
.chef-copy h2.in-view::after { width: 56px; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .chef-inner { grid-template-columns: 1fr; border-left: none; border-top: 4px solid var(--red); }
  .chef-image { min-height: 420px; }
  .chef-copy { padding: 36px 32px 60px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(23,19,15,0.97);
    padding: 0 32px;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav-links.open { max-height: 300px; padding: 24px 32px; }
  .nav-links a { color: var(--cream) !important; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 78px; }
  .hero-cta-wrap { margin: 20px 0 28px; }
  .scroll-cue { display: none; }
  .intro { padding: 72px 24px; }
  .menu, .order { padding-left: 24px; padding-right: 24px; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dish-card p { min-height: 0; }
  .order-btn { font-size: 0.88rem; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img,
  .eyebrow::before,
  .hero-cta,
  .hero-cta-wrap,
  .order-urgency,
  .scroll-cue span {
    animation: none !important;
  }
  .reveal {
    transition: none !important;
  }
  .dish-card,
  .dish-img img,
  .btn,
  .order-btn {
    transition: none !important;
  }
}
