/* ── HERO ── */
.hero {
  height: 100vh;
  height: 100dvh; /* accounts for mobile browser chrome */
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(12px, 2.5vh, 48px));
  padding-bottom: clamp(20px, 3.5vh, 60px);
  gap: clamp(32px, 4vw, 60px);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pandan-pale);
  color: var(--pandan);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: clamp(12px, 1.8vh, 24px);
}

.hero-eyebrow span { width: 6px; height: 6px; background: var(--pandan); border-radius: 50%; }

.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3.5vw + 1vh, 4.2rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: clamp(12px, 1.8vh, 24px);
  letter-spacing: -1px;
}

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

.hero-body {
  font-size: clamp(0.88rem, 1vw + 0.2vh, 1rem);
  line-height: 1.65;
  color: var(--charcoal-light);
  max-width: 460px;
  margin-bottom: clamp(20px, 3vh, 40px);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  flex: 1 1 0;
  justify-content: center;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: clamp(20px, 2.8vh, 48px);
  padding-top: clamp(16px, 2vh, 32px);
  border-top: 1px solid var(--oat-darker);
}

.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}
.stat-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--charcoal-faint); }

/* ── HERO CARD DECK ── */
.hero-visual {
  position: relative;
  height: min(520px, calc(100dvh - var(--nav-h) - 100px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-deck {
  position: relative;
  width: 320px;
  height: 420px;
}

.food-card {
  position: absolute;
  width: 300px;
  height: 400px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  cursor: grab;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.food-card:nth-child(5) { transform: rotate(-9deg) translate(-28px, 20px); z-index: 1; }
.food-card:nth-child(4) { transform: rotate(6deg) translate(20px, -10px); z-index: 2; }
.food-card:nth-child(3) { transform: rotate(-5deg) translate(-14px, 9px); z-index: 3; }
.food-card:nth-child(2) { transform: rotate(3deg) translate(10px, -5px); z-index: 4; }
.food-card:nth-child(1) { transform: rotate(0deg); z-index: 5; }

.food-card:hover { transform: rotate(-2deg) scale(1.02) translateY(-8px) !important; box-shadow: 0 24px 64px rgba(51,51,51,0.2); }

.card-img {
  width: 100%;
  height: 58%;
  object-fit: cover;
  display: block;
}

/* Simulated food imagery using gradients + patterns */
.card-img-sim {
  width: 100%;
  height: 58%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.card-img-sim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: brightness(0.85);
}

.card-img-sim .food-emoji { position: relative; z-index: 1; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }

.card-body {
  background: white;
  padding: 18px 20px;
  height: 42%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pandan);
  background: var(--pandan-pale);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  width: fit-content;
}

.card-tag .dot { width: 5px; height: 5px; background: var(--pandan); border-radius: 50%; }

.card-dish-name {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.card-seller {
  font-size: 0.75rem;
  color: var(--charcoal-faint);
  font-weight: 500;
  margin-bottom: 10px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-price {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--terracotta);
}

.card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}

.card-rating em {
  font-style: normal;
  font-weight: 500;
  color: var(--charcoal-faint);
  font-size: 0.75rem;
}

.swipe-hint {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
}

.swipe-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--oat-darker);
  background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.swipe-btn.like { border-color: var(--terracotta); color: var(--terracotta); }
.swipe-btn.like:hover { background: var(--terracotta); color: white; transform: scale(1.1); }
.swipe-btn.pass:hover { background: var(--oat-dark); transform: scale(1.1); }

/* ── SCARCITY BAR ── */
.hero-scarcity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--charcoal-faint);
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-scarcity strong { color: var(--terracotta); font-weight: 700; }
