/* ═══════════════════════════════════════════════════════════
   julienlescure.io — "AI Brain research" homepage section
   Scoped under .research-teaser. Loads after styles.css /
   additions.css and only reuses their tokens (--purple,
   --turquoise, --white, --pad-x), .section/.section--purple,
   .tiret, .section-title and .btn/.btn--turq.
   ═══════════════════════════════════════════════════════════ */

/* Sits straight after the purple hero: a shorter top and an inset hairline
   keep it a separate band without breaking the purple → white rhythm. */
.research-teaser.section { padding-top: 0; }
.research-teaser .rt-inner {
  padding-top: 112px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.research-teaser .rt-eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 32px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--turquoise);
}
.research-teaser .rt-eyebrow .tiret { background: var(--turquoise); }

.research-teaser .rt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-areas:
    "title   figures"
    "teaser  figures"
    "desc    figures"
    "actions figures";
  column-gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.research-teaser .section-title { grid-area: title; margin: 0 0 36px; max-width: 16ch; text-wrap: balance; }

/* 1 · the hook */
.research-teaser .rt-teaser {
  grid-area: teaser;
  margin: 0 0 32px;
  font-weight: 700;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.38;
  color: var(--turquoise);
  max-width: 34ch;
  text-wrap: pretty;
}

/* 3 · supporting text, short measure */
.research-teaser .rt-desc {
  grid-area: desc;
  margin: 0 0 48px;
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
  color: rgba(255, 255, 255, .86);
  max-width: 54ch;
}

/* 4 · main button */
.research-teaser .rt-actions {
  grid-area: actions;
  display: flex;
}
.research-teaser a:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 4px;
  border-radius: 6px;
}
.research-teaser .btn--turq:focus-visible { outline-color: var(--white); }

/* 2 · key figures, set like the study's stat treatment */
.research-teaser .rt-figures {
  grid-area: figures;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.research-teaser .rt-figures li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.research-teaser .rt-figures li:first-child { padding-top: 0; border-top: 0; }
.research-teaser .rt-figures b {
  font-weight: 800;
  font-size: clamp(44px, 4.6vw, 80px);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--white);
  white-space: nowrap;
}
.research-teaser .rt-figures span {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--turquoise);
}

/* ── Tablet: one column, figures as a row under the teaser ── */
@media (max-width: 1100px) {
  .research-teaser .rt-inner { padding-top: 88px; }
  .research-teaser .rt-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "teaser" "figures" "desc" "actions";
  }
  .research-teaser .rt-figures {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 48px;
    margin: 4px 0 36px;
  }
  .research-teaser .rt-figures li,
  .research-teaser .rt-figures li:first-child { padding: 0 0 4px; border-top: 0; }
  .research-teaser .rt-figures b { font-size: clamp(40px, 6vw, 60px); }
}

/* ── Phone: compact figure rows, button kept high ── */
@media (max-width: 560px) {
  .research-teaser .rt-inner { padding-top: 64px; }
  .research-teaser .rt-eyebrow { margin-bottom: 24px; font-size: 14px; }
  .research-teaser .section-title { margin-bottom: 24px; }
  .research-teaser .rt-teaser { margin-bottom: 28px; }
  .research-teaser .rt-figures { flex-direction: column; margin: 0 0 28px; }
  .research-teaser .rt-figures li,
  .research-teaser .rt-figures li:first-child {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .research-teaser .rt-figures li:first-child { border-top: 0; padding-top: 0; }
  .research-teaser .rt-figures b { font-size: 34px; }
  .research-teaser .rt-figures span { font-size: 13px; }
  .research-teaser .rt-desc { margin-bottom: 32px; }
  .research-teaser .rt-actions .btn { width: 100%; justify-content: space-between; }
}
