/* =========================================
   FoodHolic — Singapore's Local Kitchen
   Design: Editorial warmth, earthy palette
   Typography: Playfair Display + DM Sans
   ========================================= */

:root {
  --bg: #FDF6EE;
  --bg-alt: #F5EDE0;
  --fg: #2A1810;
  --fg-muted: #6B4F3A;
  --accent: #C8561E;
  --accent-light: #E8A84B;
  --border: #E0CEBC;
  --card-bg: #FFFDF9;
  --tag-bg: #F0E4D4;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─── Hero ─── */
.hero {
  padding: 80px 48px 96px;
  background: var(--bg);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 28px;
  font-weight: 900;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.65;
  font-weight: 300;
}

/* Card stack */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}
.hero-card-stack {
  position: relative;
  width: 340px;
  height: 380px;
}
.card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 24px 28px;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(42,24,16,0.08);
  transition: transform 0.3s ease;
}
.card-back {
  top: 0;
  left: -32px;
  transform: rotate(-6deg);
  opacity: 0.5;
  width: 280px;
}
.card-mid {
  top: 40px;
  left: -8px;
  transform: rotate(-2.5deg);
  opacity: 0.75;
  width: 300px;
}
.card-front {
  top: 24px;
  left: 16px;
  transform: rotate(1deg);
  z-index: 2;
  width: 300px;
}
.card:hover {
  transform: rotate(0deg) translateY(-4px) !important;
  z-index: 3;
  box-shadow: 0 16px 48px rgba(42,24,16,0.12);
}
.card-tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--fg-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}
.card-dish {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ─── Narrative ─── */
.narrative {
  background: var(--fg);
  color: #FDF6EE;
  padding: 96px 48px;
}
.narrative-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.narrative-quote blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.narrative-quote blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.4;
  color: #FDF6EE;
  font-style: italic;
  font-weight: 400;
}
.narrative-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #FDF6EE;
  margin-bottom: 20px;
}
.narrative-body p {
  color: #C8AFA0;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 300;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 96px 48px;
  background: var(--bg-alt);
}
.hiw-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
}
.hiw-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.hiw-step {
  padding: 40px 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
}
.hiw-number {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--tag-bg);
  line-height: 1;
  margin-bottom: 20px;
}
.hiw-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.hiw-step-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── Neighborhoods ─── */
.neighborhoods {
  padding: 96px 48px;
  background: var(--bg);
}
.n-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.n-header {}
.n-subtitle {
  margin-top: 16px;
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}
.n-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.n-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
.n-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.n-status.on { background: #4CAF50; }
.n-status.coming { background: var(--border); }
.n-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 8px;
  font-style: italic;
}

/* ─── Closing ─── */
.closing {
  padding: 112px 48px;
  background: var(--accent);
}
.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.closing-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: #FFFDF9;
  line-height: 1.15;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  color: rgba(255,253,249,0.8);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
}
.closing-cta {
  display: inline-block;
  padding: 16px 32px;
  border: 2px solid rgba(255,253,249,0.4);
  border-radius: 3px;
}
.closing-cta-text {
  font-size: 14px;
  color: rgba(255,253,249,0.7);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Footer ─── */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.footer-sep { color: var(--border); }
.footer-tag {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-note {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 56px 24px 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .narrative { padding: 64px 24px; }
  .narrative-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-it-works { padding: 64px 24px; }
  .hiw-steps { grid-template-columns: 1fr; }
  .neighborhoods { padding: 64px 24px; }
  .n-grid { grid-template-columns: 1fr; }
  .n-list { grid-template-columns: 1fr; }
  .closing { padding: 80px 24px; }
  .footer { padding: 24px; }
}