/* ============================================================
   Omou Publishing — type.css
   Typography scale
   ============================================================ */

/* ------- Headings ------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-text);
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 12px;
}

/* ------- Body copy ------- */
p {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
}

p + p {
  margin-top: 1em;
}

/* ------- Eyebrow / Label ------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: 16px;
}

/* ------- Muted text ------- */
.text-muted {
  color: var(--color-muted);
}

/* ------- Serif body ------- */
.text-serif {
  font-family: var(--font-serif);
}

/* ------- Links in body ------- */
article a,
main a:not([class]) {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
  transition: color 120ms ease;
}

article a:hover,
main a:not([class]):hover {
  color: var(--color-muted);
}

/* ------- Lists ------- */
ul, ol {
  padding-left: 1.2em;
}

ul li,
ol li {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 6px;
  max-width: var(--line-length);
}

/* ------- Caption / small ------- */
.caption,
figcaption {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 8px;
}

/* ------- Section heading + body pairing ------- */
.section-intro {
  margin-bottom: 24px;
}

.section-intro h2 {
  margin-bottom: 12px;
}
