/* ==========================================================
   Typography layer — font sizes and line heights measured from
   goldmansachs.com (computed styles, Nov 2026).
   Breakpoints follow the original site: <768 / 768–1023 / ≥1024.
   Loaded after style.css and components.css, so it wins on equal
   specificity. Layout (spacing, grids) stays in those files.
   ========================================================== */

/* ---------- Display: GS Sans Condensed 36 → 50 → 60 ---------- */
.section-title, .hd-lg, .hd--sep .hd-lg, .sub-title, .sig-title, .ll-title, .ft-title, h2.fl-title, .ann-big, .tcard--block .tcard-title, .fbanner-card .fl-title, .art-title {
  font-family: var(--cond); font-weight: 400; font-size: 36px; line-height: 36px; letter-spacing: 0;
}
/* ---------- Title 02: Condensed 32 → 40 ---------- */
.card-title-cond, .insight-feature .card-title-cond, .ann-title, .hcg-title, .tcard--feature .tcard-title,
.gcard-title.ts-Title02 {
  font-family: var(--cond); font-weight: 400; font-size: 32px; line-height: 32px; letter-spacing: 0;
}
/* ---------- Title 03: Condensed 22 → 30 ---------- */
.card-title-cond.sm, .tcard-title, .tcard--h .tcard-title, .tcard--text .tcard-title, .vc-title, .ch-tile h2,
.gcard-title.ts-Title03 {
  font-family: var(--cond); font-weight: 400; font-size: 22px; line-height: 22px; letter-spacing: 0;
}
/* feature-list card title: 36 → 30 → 40 */
h3.fl-title, .fl-title--quote { font-family: var(--cond); font-weight: 400; font-size: 36px; line-height: 36px; }
.newsletter h3 { font-size: 36px; line-height: 36px; }

/* ---------- Serif headlines ---------- */
.ph-title, .ch-left .c-hero-title, .hd-serif, .firm-statement {
  font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 44px; letter-spacing: 0;
}
.c-hero-title, .hero h1 {
  font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 36px; letter-spacing: 0;
}

/* ---------- Subtitles: GS Sans ---------- */
.gcard-title, .hd-sm, .grid-head-title, .lgcard .gcard-title { font-family: var(--sans); font-weight: 700; font-size: 22px; line-height: 26px; }
.gcard-title.ts-Subtitle02Medium, .ftcard h3 { font-weight: 500; }
.gcard-title.ts-Subtitle03Bold, .gcard-title.ts-Subtitle03Medium, .biz-body h3 {
  font-family: var(--sans); font-weight: 700; font-size: 20px; line-height: 24px;
}
.gcard-title.ts-Subtitle03Medium { font-weight: 500; }
.ftcard h3 { font-family: var(--sans); font-size: 22px; line-height: 26px; }
.gcard-title.ts-Body02Regular { font-family: var(--sans); font-weight: 400; }
.lg-text b { font-size: 22px; line-height: 26px; font-weight: 500; }
.cl-title { font-size: 20px; line-height: 24px; font-weight: 500; }

/* ---------- Rich text: the CMS styles text with span classes; a heading tag
   that only wraps such a span keeps the span's look (as on the original) */
.rte :is(h2, h3, h4):has(> span[class^="text"]) {
  font-family: var(--sans); font-weight: 400; font-size: inherit; line-height: inherit; margin: 24px 0 0;
}
.rte .textBody02Regular, .rte .textBody03Regular { font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 24px; }
.rte .textBody01Regular { font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 24px; }
.rte .textSubtitle02Bold { font-family: var(--sans); font-weight: 700; font-size: 22px; line-height: 26px; color: var(--ink); }
.rte .textSubtitle03Bold { font-family: var(--sans); font-weight: 700; font-size: 20px; line-height: 24px; color: var(--ink); }

/* ---------- Lead: 22/32 → 28/42 ---------- */
.ph-desc, .ft-desc { font-size: 22px; line-height: 32px; }

/* ---------- Body: 16/24 → 18/28 → 20/30 ---------- */
.rte, .hd-desc, .gcard-desc, .lgcard .gcard-desc, .fl-desc, .card-body, .careers-lede, .sg-intro p,
.sig p, .fbanner-text p:not(.eyebrow), .fbanner-card p:not(.eyebrow), .ftcard p, .ft-cards--one .ftcard p,
.sub-lede, .newsletter-text p:not(.eyebrow), .jd-intro .jd-desc, .tcard-desc, .acc-body,
.ll-item span:first-child, .lg-text span, .stat-label, .stat p, .acc-item summary {
  font-size: 16px; line-height: 24px;
}
.ll-item span:first-child, .acc-item summary { font-weight: 500; }
.ll-item { font-weight: 500; }
.stat-label, .stat p { font-weight: 700; }
.rte li, .gcard-desc li, .firm-card p { font-size: 16px; line-height: 24px; }
.hero-content p { font-size: 16px; line-height: 24px; }
.c-hero-desc, .ch-tile p { font-size: 16px; line-height: 24px; }

/* ---------- Small text ---------- */
.rte .textBody04Regular, .rte .textCaption01Regular, .rte .textCaption02Regular, .stock-val small {
  font-family: var(--sans); font-size: 14px; line-height: 20px;
}
.tcard .meta, .meta { font-size: 16px; line-height: 24px; }
.sources, .stats-disc, .stat-sub, .sub-disc, .sub-disc a, .stock-date, .rte .textCaption02Regular { font-size: 12px; line-height: 16px; }
.stock-date { font-weight: 500; }

/* ---------- Eyebrows / labels (uppercase, 1px tracking) ---------- */
.eyebrow { font-size: 14px; line-height: 18px; letter-spacing: 1px; }
.card-eyebrow, .tcard .card-eyebrow, .cl-date, .cl .card-eyebrow {
  font-size: 12px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase;
}

/* ---------- Links & buttons ---------- */
.text-link { font-size: 16px; line-height: 20px; font-weight: 500; }
.gcard .text-link, .lgcard .text-link, .biz-body .text-link { font-weight: 400; }
.big-link, .plain-link { font-size: 18px; line-height: 22px; }
.big-link { font-weight: 500; }
.plain-link { font-weight: 400; }
.btn, .sub-row button { font-size: 18px; line-height: 22px; font-weight: 500; }
.btn-sm, .mega-intro .btn, .header .btn, .btn-login { font-size: 16px; line-height: 20px; font-weight: 500; }
.hero .btn, .c-hero .btn { font-size: 16px; line-height: 20px; }
.sub-form label { font-size: 18px; line-height: 22px; font-weight: 400; }
.ann-link { font-size: 16px; line-height: 20px; font-weight: 500; }

.aln-more summary { font-size: 16px; line-height: 20px; }

/* ---------- Tabs ---------- */
.tab, .tab[aria-selected="true"] { font-size: 14px; line-height: 18px; font-weight: 400; }
.c-tabs:has(.lt) .tab { font-size: 18px; line-height: 22px; }

/* ---------- Stats ---------- */
.stat-num { font-family: var(--cond); font-weight: 300; font-size: 72px; line-height: 72px; letter-spacing: 0; }

/* ---------- Footer: every link and line 16/20 ---------- */
.footer-col a, .footer-bottom, .footer-bottom a, .footer-bottom p { font-size: 16px; line-height: 20px; }

/* ==========================================================
   ≥ 768px
   ========================================================== */
@media (min-width: 768px) {
  .section-title, .hd-lg, .hd--sep .hd-lg, .sub-title, .sig-title, .ll-title, .ft-title, h2.fl-title, .ann-big, .tcard--block .tcard-title, .fbanner-card .fl-title, .art-title { font-size: 50px; line-height: 50px; }
  .card-title-cond, .insight-feature .card-title-cond, .ann-title, .hcg-title, .tcard--feature .tcard-title,
  .gcard-title.ts-Title02 { font-size: 40px; line-height: 40px; }
  .card-title-cond.sm, .tcard-title, .tcard--h .tcard-title, .tcard--text .tcard-title, .vc-title,
  .gcard-title.ts-Title03 { font-size: 30px; line-height: 30px; }
  h3.fl-title, .fl-title--quote { font-size: 30px; line-height: 30px; }
  .newsletter h3 { font-size: 30px; line-height: 30px; }
  .ph-title, .ch-left .c-hero-title, .hd-serif, .firm-statement { font-size: 60px; line-height: 60px; }
  .c-hero-title, .hero h1 { font-size: 50px; line-height: 50px; }

  .rte, .hd-desc, .gcard-desc, .lgcard .gcard-desc, .fl-desc, .card-body, .careers-lede, .sg-intro p,
  .sig p, .fbanner-text p:not(.eyebrow), .fbanner-card p:not(.eyebrow), .ftcard p, .ft-cards--one .ftcard p,
  .sub-lede, .newsletter-text p:not(.eyebrow), .jd-intro .jd-desc, .tcard-desc, .acc-body,
  .ll-item span:first-child, .lg-text span, .stat-label, .stat p, .acc-item summary { font-size: 18px; line-height: 28px; }
  .rte .textBody02Regular, .rte .textBody03Regular { font-size: 18px; line-height: 28px; }
  .tcard .meta, .meta { font-size: 18px; line-height: 28px; }

  .eyebrow { font-size: 16px; line-height: 20px; }
  .card-eyebrow, .tcard .card-eyebrow, .cl-date, .cl .card-eyebrow { font-size: 14px; line-height: 18px; }
  .tab, .tab[aria-selected="true"] { font-size: 16px; line-height: 20px; }
  .c-tabs:has(.lt) .tab { font-size: 18px; line-height: 22px; }
  .stat-num { font-size: 88px; line-height: 88px; }
}

/* ==========================================================
   ≥ 1024px
   ========================================================== */
@media (min-width: 1024px) {
  .section-title, .hd-lg, .hd--sep .hd-lg, .sub-title, .sig-title, .ll-title, .ft-title, h2.fl-title, .ann-big, .tcard--block .tcard-title, .fbanner-card .fl-title, .art-title { font-size: 60px; line-height: 60px; }
  h3.fl-title, .fl-title--quote { font-size: 40px; line-height: 40px; }
  .newsletter h3 { font-size: 40px; line-height: 40px; }
  .ch-tile h2 { font-size: 30px; line-height: 30px; }
  .ph-title, .ch-left .c-hero-title, .hd-serif, .firm-statement { font-size: 100px; line-height: 100px; }
  .c-hero-title, .hero h1 { font-size: 80px; line-height: 80px; }

  .gcard-title, .hd-sm, .grid-head-title, .lgcard .gcard-title, .ftcard h3 { font-size: 26px; line-height: 32px; }
  .gcard-title.ts-Subtitle03Bold, .gcard-title.ts-Subtitle03Medium { font-size: 20px; line-height: 24px; }
  .gcard-title.ts-Title03 { font-size: 30px; line-height: 30px; }
  .gcard-title.ts-Title02 { font-size: 40px; line-height: 40px; }
  .lg-text b { font-size: 20px; line-height: 30px; }
  .ph-desc, .ft-desc { font-size: 28px; line-height: 42px; }

  .rte, .hd-desc, .gcard-desc, .lgcard .gcard-desc, .fl-desc, .card-body, .careers-lede, .sg-intro p,
  .sig p, .fbanner-text p:not(.eyebrow), .fbanner-card p:not(.eyebrow), .ftcard p, .ft-cards--one .ftcard p,
  .sub-lede, .newsletter-text p:not(.eyebrow), .jd-intro .jd-desc, .tcard-desc, .acc-body,
  .ll-item span:first-child, .stat-label, .stat p, .acc-item summary { font-size: 20px; line-height: 30px; }
  .lg-text span { font-size: 16px; line-height: 24px; }
  .rte li, .gcard-desc li, .firm-card p { font-size: 18px; line-height: 28px; }
  .rte .textBody02Regular, .rte .textBody03Regular { font-size: 20px; line-height: 30px; }
  .rte .textBody01Regular { font-size: 18px; line-height: 28px; }
  .rte .textSubtitle02Bold { font-size: 26px; line-height: 32px; }
  .c-hero-desc, .ch-tile p { font-size: 18px; line-height: 28px; }
  .rte .textBody04Regular, .rte .textCaption01Regular, .stock-val small { font-size: 16px; line-height: 24px; }
  .tcard .meta, .meta { font-size: 20px; line-height: 30px; }
  .hero .btn, .c-hero .btn { font-size: 18px; line-height: 22px; }

  .tab, .tab[aria-selected="true"] { font-size: 18px; line-height: 22px; }
  .stat-num { font-size: 100px; line-height: 100px; }
}
