/* Canonical public typography — Plus Jakarta Sans only (WI-015864) */
:root {
  --font-primary: "Plus Jakarta Sans", sans-serif;
  --font: var(--font-primary);
  --display: var(--font-primary);

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --text-display-xl: clamp(2.2rem, 6vw, 5rem);
  --text-display-lg: clamp(1.8rem, 4.6vw, 3.6rem);
  --text-heading: clamp(1.45rem, 2.8vw, 2.25rem);
  --text-subheading: clamp(1.15rem, 2.2vw, 1.55rem);
  --text-body: 1.05rem;
  --text-small: 0.9rem;
  --text-label: 0.72rem;
}

/* Global inheritance — kill browser / system / serif drift */
html, body,
button, input, select, textarea, optgroup,
.btn, .gc-btn, .gc-lane, .gc-chip, .door, .nav a, .brand,
label, summary, .kicker, .eyebrow, .chip, .fin-thesis, .fin-lab {
  font-family: var(--font-primary) !important;
}

body {
  font-family: var(--font-primary) !important;
  font-weight: var(--font-weight-regular);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Weight system (override legacy 400-display / 800-everywhere drift) */
.nav a { font-weight: var(--font-weight-medium) !important; }
.brand { font-weight: var(--font-weight-extrabold) !important; }
.btn, .btn-primary, .btn-secondary, .gc-btn, .gc-btn-primary, .gc-btn-ghost {
  font-weight: var(--font-weight-semibold) !important;
  font-family: var(--font-primary) !important;
}
.kicker, .eyebrow, .chip, .gc-kicker, .gc-prepared, .fin-lab, .gc-narr li,
.sig-k, .cascade-n, .spine-n, .preview-chapters span, .brief-rail a span, .brief-rail-h a span {
  font-weight: var(--font-weight-medium) !important;
}
label { font-weight: var(--font-weight-semibold) !important; }

h1, h2, h3,
.bw h1, .bw-card h2,
.gc-panel h1, .gc-fin-path h2,
.scene-roles h2, .scene-apex h2, .scene-apex .apex-line,
.door-k, .scene-close .cl, .scene-fly .payoff, .scene-fly .fly-now,
.scene-ghana .place, .thesis, .prepared-name, .cover-kind,
.brief h1, .intake-copy h1, .ready-copy h1, .brief-chapter h2,
.fin-thesis, .lane-door h3, .eq-compact, .cover-meta dd,
.intake-preview > .kicker {
  font-family: var(--font-primary) !important;
}

/* Hero / high-impact */
h1, .bw h1, .gc-panel h1, .scene-close .cl, .scene-roles h2, .scene-apex h2,
.brief h1, .intake-copy h1, .ready-copy h1 {
  font-weight: var(--font-weight-extrabold) !important;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h2, h3, .brief-chapter h2, .bw-card h2, .gc-fin-path h2, .fin-thesis, .lane-door h3,
.door-k, .prepared-name, .intake-preview > .kicker {
  font-weight: var(--font-weight-bold) !important;
}

/* Grow cinema */
body.grow-cinema,
body.grow-cinema .gc-panel,
body.grow-cinema .gc-btn,
body.grow-cinema input,
body.grow-cinema select,
body.grow-cinema textarea,
body.grow-cinema button {
  font-family: var(--font-primary) !important;
}

/* Forms — never browser default */
input, select, textarea, .input, .intake-form .input,
.gc-form-grid input, .gc-form-grid select, .gc-else textarea,
.brief-form input, .brief-form select, .brief-form textarea {
  font-family: var(--font-primary) !important;
  font-size: inherit;
}

.gc-lede, .lede, .brief-l1 { font-size: var(--text-body); line-height: 1.5; }
.kicker, .gc-kicker { font-size: var(--text-label); }

/* Print must not introduce a second family on screen; print stays Jakarta */
@media print {
  body, h1, h2, h3, p, li, button, input, select, textarea, .brief, .bw {
    font-family: var(--font-primary) !important;
  }
}

@media (max-width: 430px) {
  h1, .bw h1, .gc-panel h1 { letter-spacing: -0.02em; }
  .btn, .gc-btn { font-size: 0.95rem; }
}
