/* How every section opens: the eyebrow that names its topic, the title that
   makes its claim, and the lead under it.

   Both the homepage and the OPTIZMO page take them from here, so a section on
   either opens the same way: the eyebrow in the
   heading face, sentence case, in the heading's ink and well below it in size;
   the title extrabold, tight and balanced; the lead muted, at a comfortable
   measure. None sets an alignment, so each follows the section it sits in. */

.eyebrow {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.3;
  color: var(--color-text);
}

.section-title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  font-weight: var(--font-extrabold);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

/* The paragraph under a section title: muted, a comfortable measure, and
   wrapped without leaving a word alone on the last line. */
.section-lead {
  margin: 0 0 var(--space-8);
  max-width: 44rem;
  font-size: clamp(1.05rem, 1.4vw, 1.125rem);
  line-height: 1.6;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

/* The masthead's headline, at the homepage hero's scale (index.html sets its H1
   to these values), so a reader moving between the two pages meets one size.
   It sets no width, margin or alignment; each masthead places it. */
.hero-title {
  font-family: var(--font-heading);
  font-weight: var(--font-extrabold);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
