/* ─────────────────────────────────────────────────────────────────────────
 * clever-prep-interview-prep.css
 * /interview-prep/ — FRANCO-style full-viewport video hero (adapted to
 * Clever Prep tokens) + recipe-driven body sections.
 * ───────────────────────────────────────────────────────────────────────── */

/* The Bricks `html` wrapper must not impose flex/width constraints. */
.cp-iv-hero-host,
.brxe-section.cp-iv-hero-section {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.cp-iv-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;
}
.cp-iv-hero__video,
.cp-iv-hero__overlay { position: absolute; inset: 0; }
.cp-iv-hero__video { z-index: 0; }
.cp-iv-hero__video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Brand-navy overlay (vs FRANCO's #231f20) for legibility over the video. */
.cp-iv-hero__overlay {
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(40, 53, 74, 0.30) 0%,
    rgba(40, 53, 74, 0.45) 60%,
    rgba(40, 53, 74, 0.62) 100%);
}

.cp-iv-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(88px, 12vw, 110px) clamp(20px, 5vw, 56px) clamp(56px, 8vw, 80px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* Top: wordmark + labels */
.cp-iv-hero__top { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.cp-iv-hero__wordmark {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-weight: 400;
  font-size: clamp(56px, 13vw, 200px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}
.cp-iv-hero__labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 16px;
}
.cp-iv-hero__label { color: rgba(255, 255, 255, 0.85); opacity: 1; }

/* Bottom: rising-word headline + CTAs */
.cp-iv-hero__bottom { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.cp-iv-hero__headline {
  margin: 0;
  max-width: 680px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.28em;
  font-family: var(--cp-font-heading, Georgia, serif);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}
/* Each word clips + rises in, staggered. CSS-only; honors reduced motion. */
.cp-iv-hero__word {
  display: inline-block;
  animation: cp-iv-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 80ms);
  will-change: transform, opacity;
}
@keyframes cp-iv-rise {
  from { opacity: 0; transform: translate3d(0, 90%, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.cp-iv-hero__ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  animation: cp-iv-fade 0.7s ease-out calc(var(--cta-delay, 0.8s)) both;
}
@keyframes cp-iv-fade { from { opacity: 0; } to { opacity: 1; } }
/* Glassy secondary button on the dark hero (FRANCO's transparent CTA). */
.cp-iv-hero__btn--glass {
  background: rgba(255, 255, 255, 0.16) !important;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  color: #fff !important;
  border: 0 !important;
}
.cp-iv-hero__btn--glass:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  filter: none;
}

/* Watch-video card, bottom-right */
.cp-iv-hero__card {
  position: absolute;
  z-index: 3;
  bottom: 24px; right: 24px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.cp-iv-hero__card:hover { transform: translateY(-2px); }
.cp-iv-hero__card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.cp-iv-hero__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cp-text-headline, #28354A);
  font-size: 14px;
  padding-left: 3px;
}
.cp-iv-hero__card-label { color: #fff; text-align: center; }

/* ── Body sections (recipe-driven) ────────────────────────────────────── */
.cp-iv-cover, .cp-iv-how, .cp-iv-faq {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px);
}
.cp-iv-cover { background: var(--cp-cream-bg, #F7F4ED); }
.cp-iv-how   { background: #fff; }
.cp-iv-faq   { background: var(--cp-cream-bg, #F7F4ED); }
.cp-iv-cover__inner, .cp-iv-how__inner, .cp-iv-faq__inner {
  max-width: 1120px; margin: 0 auto;
}
[class*="cp-iv-"][class*="__head"] {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; margin-bottom: clamp(36px, 5vw, 56px);
}
[class*="cp-iv-"][class*="__title"] {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cp-text-headline, #28354A);
  margin: 0; max-width: 720px;
}
.cp-iv-final-cta {
  --cp-r-dot-color: #ffffff;
  --cp-r-dot-size: 22px;
  --cp-r-dot-opacity: 0.32;
  max-width: 1120px;
  margin: clamp(48px, 8vw, 96px) auto;
  overflow: hidden;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .cp-iv-hero__inner { padding-bottom: 200px; }   /* room for the card */
  .cp-iv-hero__wordmark { white-space: normal; }
  .cp-iv-hero__card { width: auto; left: 16px; right: 16px; bottom: 16px; }
  .cp-iv-hero__card-thumb { height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-iv-hero__word,
  .cp-iv-hero__ctas { animation: none !important; opacity: 1 !important; transform: none !important; }
}
