/* =========================================
   TableForOne — Warm Kitchen Editorial
   Typography: Fraunces (display serif) + Instrument Sans
   Palette: Warm cream + near-black + terracotta
   ========================================= */

:root {
  --cream: #f5f0e8;
  --cream-dark: #ede8df;
  --charcoal: #1a1a18;
  --terracotta: #c4622d;
  --terracotta-light: #e07848;
  --espresso: #2d1f14;
  --warm-gray: #8a8278;
  --sage: #7a8c6d;
  --gold: #b8924a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Instrument Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 98, 45, 0.12);
}

.nav-wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--espresso);
}

.nav-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  font-weight: 500;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 48px;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.05;
  color: var(--espresso);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 440px;
  line-height: 1.7;
  font-weight: 400;
}

/* Hero Visual Panel */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--espresso);
  overflow: hidden;
}

.kitchen-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(196, 98, 45, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(184, 146, 74, 0.2) 0%, transparent 60%);
}

/* Plate stack illustration */
.plate-stack {
  position: relative;
  width: 280px;
  height: 280px;
  animation: float-plate 6s ease-in-out infinite;
}

@keyframes float-plate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.plate {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(245, 240, 232, 0.2);
}

.plate-1 {
  width: 260px;
  height: 260px;
  top: 10px;
  left: 10px;
  background: radial-gradient(circle at 40% 40%, rgba(245, 240, 232, 0.1) 0%, transparent 60%);
}

.plate-2 {
  width: 200px;
  height: 200px;
  top: 40px;
  left: 40px;
  background: radial-gradient(circle at 35% 35%, rgba(196, 98, 45, 0.15) 0%, transparent 55%);
  border-color: rgba(245, 240, 232, 0.3);
}

.plate-3 {
  width: 140px;
  height: 140px;
  top: 70px;
  left: 70px;
  background: radial-gradient(circle at 30% 30%, var(--terracotta) 0%, rgba(196, 98, 45, 0.6) 40%, transparent 70%);
  border-color: rgba(196, 98, 45, 0.5);
}

/* Steam lines */
.steam-lines {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.steam {
  width: 2px;
  height: 60px;
  background: linear-gradient(to top, rgba(245, 240, 232, 0.4), transparent);
  border-radius: 2px;
  animation: rise 2.5s ease-in-out infinite;
}

.s1 { animation-delay: 0s; height: 50px; }
.s2 { animation-delay: 0.8s; height: 70px; }
.s3 { animation-delay: 1.6s; height: 55px; }

@keyframes rise {
  0% { opacity: 0; transform: translateY(10px); }
  50% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-30px); }
}

/* Ingredient tags */
.ingredient-tags {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 30px;
}

.tag {
  display: inline-block;
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.2);
  color: rgba(245, 240, 232, 0.8);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.tag-1 { align-self: flex-start; animation: fade-in 1.2s 0.3s both; }
.tag-2 { align-self: center; animation: fade-in 1.2s 0.6s both; }
.tag-3 { align-self: flex-end; animation: fade-in 1.2s 0.9s both; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── PHILOSOPHY ── */
.philosophy {
  background: var(--espresso);
  color: var(--cream);
  padding: 100px 48px;
}

.philosophy-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-ornament {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}

.philosophy-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--cream);
}

.philosophy-body {
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.75;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--terracotta-light);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(245, 240, 232, 0.15);
}

/* ── HOW IT WORKS ── */
.howitworks {
  padding: 100px 48px;
  background: var(--cream);
}

.howitworks-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 16px;
}

.howitworks-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 600px;
  margin: 0 auto;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  flex: 1;
  max-width: 260px;
  padding: 0 32px;
}

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--cream-dark);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  -webkit-text-stroke: 1px var(--terracotta);
}

.step-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-body {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  min-width: 60px;
}

.connector-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--cream-dark), var(--terracotta), var(--cream-dark));
  margin-bottom: 8px;
}

.connector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.5;
}

/* ── THE CHEF ── */
.thechef {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: var(--cream-dark);
}

.thechef-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 48px;
}

.thechef-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 16px;
}

.thechef-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.thechef-bio {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 32px;
}

.thechef-quote {
  border-left: 3px solid var(--terracotta);
  padding-left: 20px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--espresso);
  line-height: 1.6;
  max-width: 400px;
}

.thechef-visual {
  background: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.chef-portrait-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: float-plate 7s ease-in-out infinite;
}

.chef-portrait-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 98, 45, 0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chef-silhouette {
  width: 200px;
  height: 240px;
  position: relative;
  z-index: 1;
}

.portrait-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(245, 240, 232, 0.5);
  position: relative;
  z-index: 1;
}

/* ── CLOSING ── */
.closing {
  padding: 100px 48px;
  background: var(--cream);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--terracotta), transparent);
  opacity: 0.4;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.closing-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--espresso);
  font-weight: 500;
}

.closing-detail-icon {
  flex-shrink: 0;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--espresso);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.footer-note {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.3);
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 20px 24px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    height: 320px;
    order: -1;
  }
  .hero-content { padding: 48px 24px; }
  .philosophy { padding: 72px 24px; }
  .howitworks { padding: 72px 24px; }
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
  .step { max-width: 400px; }
  .step-connector { display: none; }
  .thechef {
    grid-template-columns: 1fr;
  }
  .thechef-content { padding: 48px 24px; }
  .thechef-visual { height: 340px; }
  .closing { padding: 72px 24px; }
  .site-footer { padding: 32px 24px; flex-direction: column; gap: 16px; text-align: center; }
  .philosophy-stats { flex-direction: column; gap: 24px; }
  .stat-divider { width: 40px; height: 1px; }
}
