/* ─────────────────────────────────────────────────────────────────────────
 * clever-prep-undergrad-tutoring.css
 * Page-scoped styles for /undergraduate-tutoring/.
 *
 * Page rhythm: every section overrides the recipe defaults to break the
 * "centered head + content below" pattern into something with flow:
 *   - alternating background colors (white / cream / white / cream …)
 *   - asymmetric 2-col layouts (sticky head left, content right)
 *   - full-bleed bands for stats + testimonials + faq
 * ───────────────────────────────────────────────────────────────────────── */

/* ─── Base typography for all section heads ─────────────────────────── */
.cp-utut-subjects__title,
.cp-utut-stats__title,
.cp-utut-process__title,
.cp-utut-testimonials__title,
.cp-utut-selection__title,
.cp-utut-faq__title {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0;
  font-weight: 400;
  color: var(--cp-text-headline, #28354A);
  letter-spacing: -0.02em;
}

.cp-utut-subjects__blurb,
.cp-utut-stats__blurb,
.cp-utut-process__blurb,
.cp-utut-testimonials__blurb,
.cp-utut-selection__blurb,
.cp-utut-faq__blurb {
  font-size: 17px;
  line-height: 1.5;
  color: var(--cp-text-secondary, #555);
  margin: 0;
  max-width: 520px;
}

/* All sections use the same vertical rhythm so the alternating bgs read
   cleanly as bands. */
.cp-utut-subjects,
.cp-utut-stats,
.cp-utut-process,
.cp-utut-testimonials,
.cp-utut-selection,
.cp-utut-faq { padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 64px); }

/* ─── 1. HERO — centered display moment ─────────────────────────────── */
.cp-utut-hero {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px);
}
.cp-utut-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cp-utut-hero__label { opacity: 0.7; }
.cp-utut-hero__title {
  font-family: var(--cp-font-heading, Georgia, serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin: 8px 0 4px;
  font-weight: 400;
  color: var(--cp-text-headline, #28354A);
  letter-spacing: -0.03em;
}
.cp-utut-hero__body {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.5;
  color: var(--cp-text-secondary, #555);
  margin: 0;
  max-width: 680px;
  align-self: center;
}
.cp-utut-hero__ctas {
  display: flex; flex-direction: row;
  align-items: center;           /* Bricks .brxe-block defaults to flex-start — override */
  gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 8px;
}

/* ─── 2. SUBJECTS — asymmetric: sticky head left, bento right ───────── */
.cp-utut-subjects__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cp-utut-subjects__head {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: sticky;
  top: 100px;
}
/* Override bento's default 4-col grid when nested in this narrower right column */
.cp-utut-subjects .cp-r-bento { grid-template-columns: 1fr 1fr; padding: 0; }
.cp-utut-subjects__cta-wrap {
  display: flex; flex-direction: row; justify-content: flex-start; margin-top: 8px;
}
@media (max-width: 1024px) {
  .cp-utut-subjects__inner { grid-template-columns: 1fr; }
  .cp-utut-subjects__head { position: static; }
  .cp-utut-subjects .cp-r-bento { grid-template-columns: repeat(2, 1fr); }
}

/* ─── 3. STATS — full-bleed CREAM band, asymmetric 2-col ────────────── */
.cp-utut-stats {
  background: var(--cp-cream-bg, #f7f4ed);
}
.cp-utut-stats__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.cp-utut-stats__head {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
/* Stats inside this section: drop padding (band already provides it) */
.cp-utut-stats .cp-r-stats { padding: 0; gap: 32px; }
@media (max-width: 1024px) {
  .cp-utut-stats__inner { grid-template-columns: 1fr; }
}

/* ─── 5. PROCESS — left-aligned head, full-width HIW tabs below ─────── */
.cp-utut-process__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
}
.cp-utut-process__head {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 760px;
}
.cp-utut-process .cp-r-hiw-tabs { padding: 0; }

/* ─── 7. TESTIMONIALS — full-bleed CREAM, left-aligned head ─────────── */
.cp-utut-testimonials {
  background: var(--cp-cream-bg, #f7f4ed);
  padding-left: 0;
  padding-right: 0;
}
.cp-utut-testimonials__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
  max-width: none;
}
.cp-utut-testimonials__head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
/* The marquee bleeds full viewport width inside the cream band */
.cp-utut-testimonials .cp-r-testim-marquee { padding: 0; }

/* ─── 8. SELECTION (stack) — sticky head left, cards right ──────────── */
.cp-utut-selection__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cp-utut-selection__head {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: sticky;
  top: 100px;
}
.cp-utut-selection .cp-r-stack { padding: 0; }
/* Stacked cards need top:100px sticky offset adjusted for narrower column */
.cp-utut-selection .cp-r-stack__card { padding: clamp(24px, 3vw, 40px); }
@media (max-width: 1024px) {
  .cp-utut-selection__inner { grid-template-columns: 1fr; }
  .cp-utut-selection__head { position: static; }
}

/* ─── 9. FAQ — full-bleed CREAM, sticky head left, accordion right ──── */
.cp-utut-faq {
  background: var(--cp-cream-bg, #f7f4ed);
}
.cp-utut-faq__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cp-utut-faq__head {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: sticky;
  top: 100px;
}
.cp-utut-faq .cp-r-faq { padding: 0; max-width: none; margin: 0; }
/* FAQ items on cream: adjust border + answer text for contrast */
.cp-utut-faq .cp-r-faq__item { border-bottom-color: rgba(40, 53, 74, 0.12); }
@media (max-width: 1024px) {
  .cp-utut-faq__inner { grid-template-columns: 1fr; }
  .cp-utut-faq__head { position: static; }
}
