/* ══════════════════════════════════════
   RaceMind – Q&A / Self-Selection Concept
   Layers on top of style.css. Only new components live here.
   Reuses existing tokens: --primary, --secondary, --bg, --card, etc.
   ══════════════════════════════════════ */

/* ── Hero: taller + wider so the questions can breathe ── */

.hero--fullbleed {
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.hero-split {
  max-width: 1220px;
  grid-template-columns: 1.4fr 1.1fr;
}

.hero-split .hero-text {
  padding-right: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Taller frosted card so the enlarged mockup fits without cropping */
.hero-content.hero-split {
  padding: 3.25rem;
  min-height: 660px;
}

/* Larger hero mockup, fully visible inside the taller card */
.hero-mockup img {
  height: 100%;
}

/* Stacked hero shots that crossfade in sync with the active question */
.hero-shot {
  opacity: 0;
  transition: opacity 0.55s ease;
}

.hero-shot.is-active {
  opacity: 1;
}

/* ── Hero: eyebrow + scope line ── */

.hero-eyebrow {
  margin-bottom: 0.6rem;
}

.hero-scope {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0 0 0.25rem;
}

/* ── Hero: rotating self-selection questions ── */

.hero-questions {
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  margin: 2.5rem 0 2.5rem;
}

.hero-q {
  display: block;
  text-decoration: none;
  cursor: pointer;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
  padding-left: 1.15rem;
  border-left: 3px solid transparent;
  opacity: 0.3;
  transition: opacity 0.5s ease, border-color 0.5s ease;
}

.hero-q:hover {
  opacity: 1;
}

.hero-q span {
  color: var(--muted);
  font-weight: 400;
}

.hero-q.active {
  opacity: 1;
  border-left-color: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .hero-q { opacity: 1; }
  .hero-q.active { border-left-color: transparent; }
}

/* ── Hero: immediate answer block ── */

.hero-answer {
  border-left: 4px solid var(--primary);
  background: linear-gradient(90deg, rgba(255, 138, 0, 0.09), rgba(255, 138, 0, 0));
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.25rem;
}

.hero-answer-lead {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.hero-answer p:not(.hero-answer-lead) {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ── Alternating section background for rhythm ── */

.section--surface-alt { background: var(--surface); }

/* ── Q&A section eyebrow with step number ── */

.qa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.qa-eyebrow .qa-num {
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}

.qa-lead {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.qa-lead strong { color: var(--foreground); }

/* ── For-whom (standalone, no image) ── */

.audience-standalone {
  max-width: 920px;
  margin: 0 auto;
}

/* ── Mobile: reset the desktop hero overrides so it doesn't blow up ── */

@media (max-width: 768px) {
  .hero--fullbleed {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .hero-split {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-content.hero-split {
    min-height: 0;
    padding: 1.75rem;
  }

  .hero-split .hero-text {
    padding-right: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .hero-scope {
    font-size: 0.8rem;
  }

  .hero-questions {
    gap: 1.1rem;
    margin: 1.5rem 0 1.75rem;
  }

  .hero-q {
    font-size: 1.1rem;
    line-height: 1.35;
    padding-left: 0.9rem;
  }

  /* Show the rotating mockup below the CTAs (auto-swap keeps running) */
  .hero-mockup {
    display: block;
    height: 56vh;
    min-height: 420px;
    max-height: 540px;
    margin-top: 2.5rem;
  }

  .hero-mockup img {
    height: 100%;
  }
}
