/*
 * sections.css
 * ReyBelen Standalone Theme — Homepage Sections (Class 2)
 *
 * Authority: REYBELEN-COMPONENT-BLUEPRINT-SYSTEM.md §01 (Class 2 Section Components)
 *            REYBELEN-VISUAL-SYSTEM-ARCHITECTURE.md §06 (Spacing), §08.1 (Homepage sequence)
 *            REYBELEN-ARCHITECTURAL-AMENDMENTS.md AM-07 (Pulse removed), AM-08 (FAQ added)
 *
 * Owns: .rb-problem, .rb-what-i-do, .rb-quote, .rb-ftw,
 *       .rb-who-for, .rb-newsletter (including Vbout form overrides),
 *       .rb-faq-section (wrapper + header only; items are components.css),
 *       .rb-cta-section.
 *
 * Does not own: .rb-btn (components.css), .rb-label (components.css),
 *               .rb-faq-item (components.css), nav/hero/footer (own files),
 *               insight cards (archive.css), entity block (page.css),
 *               @media rules (responsive.css).
 *
 * Surface rhythm: Light -> Dark -> Light -> Dark -> Light -> Light -> Light -> Light -> Dark
 * Sections: Problem -> Auth Break -> What I Do -> Quote -> From the Work ->
 *           Who For -> Newsletter -> FAQ -> CTA
 *
 * No gradients. No icons. No secondary accent colors. No GeneratePress selectors.
 * No AM-07 (Pulse) references.
 */


/* ══════════════════════════════════════════════════════════════════════════
   PROBLEM
   ══════════════════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════════════════
   PROOF BAR
   ══════════════════════════════════════════════════════════════════════════ */

/* Horizontal stats bar directly below hero. Dark surface continuous with hero. */

.rb-proof {
  width: 100%;
  background-color: var(--rb-navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}

.rb-proof__inner {
  display: flex;
  gap: var(--sp-10);
  align-items: flex-start;
}

.rb-proof-item {
  display: flex;
  flex-direction: column;
}

.rb-proof-item__number {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(44px, 5.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
}

.rb-proof-item__unit {
  font-family: var(--rb-font-mono);
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--rb-cognac);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-1);
}


/* ══════════════════════════════════════════════════════════════════════════
   PROBLEM
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Problem: Shell ──────────────────────────────────────────────────────── */

.rb-problem {
  width: 100%;
  background-color: var(--rb-bg);
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
}

/* Two-column: headline+body left, symptom list right */
.rb-problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

/* ── Problem: Headline ───────────────────────────────────────────────────── */

.rb-problem__headline {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--rb-ink);
  margin: 0 0 var(--sp-3);
  padding: 0;
}

/* ── Problem: Body ───────────────────────────────────────────────────────── */

.rb-problem__body {
  margin-top: 0;
}

.rb-problem__body p {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.78;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
}

.rb-problem__body p + p {
  margin-top: var(--sp-3);
}


/* ── Problem: Symptom List ───────────────────────────────────────────────── */

.rb-problem__list {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
}

.rb-problem__list li {
  font-family: var(--rb-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--rb-ink);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--rb-border);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.rb-problem__list li::before {
  content: '—';
  color: var(--rb-cognac);
  font-family: var(--rb-font-mono);
  font-size: 12px;
  flex-shrink: 0;
}

.rb-problem__list li:first-child {
  border-top: 1px solid var(--rb-border);
}


/* ══════════════════════════════════════════════════════════════════════════
   PIPELINE
   ══════════════════════════════════════════════════════════════════════════ */

/* Dark surface. Centered. Visual flow + Gap cards. */

.rb-pipeline {
  width: 100%;
  background-color: var(--rb-navy);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
}

.rb-pipeline__inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.rb-pipeline__headline {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 var(--sp-2);
}

.rb-pipeline__sub {
  font-family: var(--rb-font);
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.50);
  margin: 0 0 var(--sp-8);
}

/* Flow diagram */

.rb-pipeline__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: var(--sp-8);
}

.rb-pipeline__step {
  font-family: var(--rb-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 22px;
}

.rb-pipeline__arrow {
  font-size: 14px;
  color: var(--rb-cognac);
  padding: 0 14px;
  line-height: 1;
  flex-shrink: 0;
}

/* Gap cards */

.rb-pipeline__gaps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  text-align: left;
  margin-bottom: var(--sp-6);
}

.rb-pipeline__gap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: var(--sp-4);
}

.rb-pipeline__gap-num {
  display: block;
  font-family: var(--rb-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-cognac);
  margin-bottom: var(--sp-1);
}

.rb-pipeline__gap-title {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 var(--sp-1);
}

.rb-pipeline__gap-body {
  font-family: var(--rb-font);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}

.rb-pipeline__close {
  font-family: var(--rb-font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.40);
  margin: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   FROM THE WORK — PROOF STATS
   Inline proof anchors above the narrative. Light surface.
   Numbers at editorial scale — distinct from the display-scale Proof Bar.
   ══════════════════════════════════════════════════════════════════════════ */


/* ── From the Work: Proof Stats Row ─────────────────────────────────────── */

/*
 * Three inline stats above the narrative.
 * Fraunces 300 at editorial scale (clamp 36–48px) — heavier than body,
 * lighter than the Proof Bar's display numbers. Ink on light surface.
 */

.rb-ftw__proof {
  display: flex;
  gap: var(--sp-8);
  align-items: flex-start;
  margin-bottom: var(--sp-6);
}

.rb-ftw__stat {
  display: flex;
  flex-direction: column;
}

.rb-ftw__stat-number {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
}

.rb-ftw__stat-unit {
  font-family: var(--rb-font-mono);
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--rb-cognac);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-1);
}


/* ══════════════════════════════════════════════════════════════════════════
   WHAT I DO
   ══════════════════════════════════════════════════════════════════════════ */


/* ── What I Do: Shell ────────────────────────────────────────────────────── */

.rb-what-i-do {
  width: 100%;
  background-color: var(--rb-bg);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
}

.rb-what-i-do__header {
  max-width: 680px;
}

.rb-what-i-do__headline {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
}

.rb-what-i-do__intro {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.70;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-3);
}


/* ── What I Do: Pillars Grid ─────────────────────────────────────────────── */

/*
 * Three-column grid. AM-07 narrows three-column permission to process pillars only.
 * Exactly three pillars — structurally enforced in the template.
 */

.rb-what-i-do__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
}

.rb-pillar {
  display: flex;
  flex-direction: column;
}

.rb-pillar__number {
  font-family: var(--rb-font-mono);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--rb-cognac);
  margin: 0;
  padding: 0;
  margin-bottom: var(--sp-2);
}

.rb-pillar__title {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
  margin-bottom: var(--sp-2);
}

.rb-pillar__body {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.78;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
}

.rb-pillar__body p {
  margin: 0;
  padding: 0;
}

.rb-pillar__body p + p {
  margin-top: var(--sp-3);
}


/* ══════════════════════════════════════════════════════════════════════════
   QUOTE
   ══════════════════════════════════════════════════════════════════════════ */


/* ── Quote: Shell ────────────────────────────────────────────────────────── */

/*
 * Compositional pause. No section label — quote stands alone.
 */

.rb-quote {
  width: 100%;
  background-color: var(--rb-navy);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
}

/*
 * 760px: editorial proportion. Full 1120px reads as a header, not a quotation.
 */

.rb-quote__inner {
  max-width: 760px;
  margin-inline: auto;
}

.rb-quote__text {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  padding: 0;
}

.rb-quote__attribution {
  font-family: var(--rb-font-mono);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--rb-cognac);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-4);
}


/* ══════════════════════════════════════════════════════════════════════════
   FROM THE WORK
   ══════════════════════════════════════════════════════════════════════════ */


/* ── From the Work: Shell ────────────────────────────────────────────────── */

.rb-ftw {
  width: 100%;
  background-color: var(--rb-bg);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
}

/*
 * 1fr content column, 340px fixed portrait column.
 * Fixed portrait width maintains visual mass regardless of container size.
 */

.rb-ftw__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-8);
  align-items: start;
}

.rb-ftw__content {
  display: flex;
  flex-direction: column;
}

.rb-ftw__headline {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
}

/*
 * Weight 500: primary evidence claim. Heavier than body — a measured statement.
 */

.rb-ftw__outcome {
  font-family: var(--rb-font);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.67;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-3);
}

.rb-ftw__body {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.78;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-2);
}

.rb-ftw__body p {
  margin: 0;
  padding: 0;
}

.rb-ftw__body p + p {
  margin-top: var(--sp-3);
}

/* ── From the Work: Approach Link ────────────────────────────────────────── */

.rb-ftw__link {
  display: inline-block;
  font-family: var(--rb-font-mono);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--rb-cognac);
  text-decoration: none;
  margin-top: var(--sp-4);
  transition: color 150ms ease;
}

.rb-ftw__link:hover {
  color: var(--rb-cognac-lt);
}

/*
 * Container enforces 3:4 ratio. saturate(0.75) integrates portrait
 * into the desaturated color palette. Round crop is prohibited.
 */

.rb-ftw__image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 480px;
  overflow: hidden;
}

.rb-ftw__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.75);
}


/* ══════════════════════════════════════════════════════════════════════════
   WHO THIS IS FOR
   ══════════════════════════════════════════════════════════════════════════ */


/* ── Who For: Shell ──────────────────────────────────────────────────────── */

.rb-who-for {
  width: 100%;
  background-color: var(--rb-bg);
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
}

.rb-who-for__header {
  max-width: 760px;
}

.rb-who-for__headline {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
}

/*
 * Two-column grid. Max 6 audience items.
 */

.rb-who-for__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--sp-6);
  row-gap: var(--sp-4);
  margin-top: var(--sp-5);
}

/*
 * Em-dash marker in cognac — not an icon, not a bullet.
 * Flex aligns marker to the first line of content.
 */

.rb-who-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rb-who-item__marker {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--rb-cognac);
  flex-shrink: 0;
}

.rb-who-item__content {
  display: flex;
  flex-direction: column;
}

.rb-who-item__title {
  font-family: var(--rb-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
}

.rb-who-item__desc {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
  margin-top: 4px;
}


/* ══════════════════════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════════════════════ */


/* ── Newsletter: Shell ───────────────────────────────────────────────────── */

.rb-newsletter {
  width: 100%;
  background-color: var(--rb-navy);
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
}

.rb-newsletter__inner {
  max-width: 560px;
  margin-inline: auto;
}

/*
 * CBS §11: label-to-title gap is 16px (--sp-2), not the default 24px.
 * Scoped override of .rb-label margin-bottom within this section.
 */

.rb-newsletter .rb-label {
  margin-bottom: var(--sp-2);
}

/*
 * Fraunces 300 italic — editorial invitation, not a command.
 */

.rb-newsletter__title {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
}

.rb-newsletter__desc {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-2);
}

.rb-newsletter__form {
  margin-top: var(--sp-4);
}


/* ── Newsletter: Vbout Form Overrides ────────────────────────────────────── */

/*
 * Vbout injects inline styles on the submit button that override stylesheets.
 * !important neutralizes those injected values. CBS §11 explicitly permits this.
 * This is the only permitted !important in sections.css.
 */

.rb-newsletter__form input[type="email"] {
  width: 100%;
  font-family: var(--rb-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--rb-ink);
  background-color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  padding: 14px 16px;
  margin-bottom: var(--sp-2);
  transition: border-color 150ms ease;
}

.rb-newsletter__form input[type="email"]:focus {
  outline: 2px solid var(--rb-cognac);
  outline-offset: 0;
  border-color: var(--rb-cognac);
}

.rb-newsletter__form input[type="submit"],
.rb-newsletter__form button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--rb-font-mono) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  padding: 14px 28px !important;
  background-color: var(--rb-cognac) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 2px !important;
  cursor: pointer !important;
  transition: background-color 150ms ease !important;
}

.rb-newsletter__form input[type="submit"]:hover,
.rb-newsletter__form button[type="submit"]:hover {
  background-color: #8B4526 !important;
}


/* ══════════════════════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════════════════════ */


/* ── FAQ Section: Shell ──────────────────────────────────────────────────── */

/*
 * Class 2 wrapper. Individual .rb-faq-item styling is in components.css.
 * AM-08: FAQ added at sequence position 10. Light surface.
 */

.rb-faq-section {
  width: 100%;
  background-color: var(--rb-bg);
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
}

.rb-faq-section__header {
  max-width: 680px;
  margin-bottom: var(--sp-8);
}

.rb-faq-section__headline {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
}

.rb-faq-section__sub {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.70;
  color: var(--rb-ink);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-3);
}

/*
 * .rb-faq-item styles (borders, question, answer) live in components.css.
 */

.rb-faq-section__items {
  max-width: 760px;
}


/* ══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════════════════ */


/* ── CTA Section: Shell ──────────────────────────────────────────────────── */

/*
 * Closing conversion moment. Dark navy. Single centered column.
 * Exactly one CTA button (.rb-btn--large from components.css).
 */

.rb-cta-section {
  width: 100%;
  background-color: var(--rb-navy);
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
}

.rb-cta-section__inner {
  max-width: 640px;
  margin-inline: auto;
}

/*
 * em renders as Fraunces italic — the second clause carries the hook.
 */

.rb-cta-section__headline {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
}

.rb-cta-section__headline em {
  font-family: var(--rb-font-heading);
  font-weight: 300;
  font-style: italic;
}

.rb-cta-section__body {
  font-family: var(--rb-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  padding: 0;
  margin-top: var(--sp-3);
}

/* ── CTA Section: Scope Items ────────────────────────────────────────────── */

/* What the first conversation covers — three items in DM Mono */

.rb-cta-section__scope {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
}

.rb-cta-section__scope li {
  font-family: var(--rb-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.30);
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/*
 * Visual treatment of the button is in components.css via .rb-btn--large.
 * This wrapper provides only the spacing gap above the button.
 */

.rb-cta-section__cta {
  margin-top: var(--sp-6);
}
