/* Typography — headings, body text, eyebrows, section titles */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings:
    "SOFT" 50,
    "WONK" 0;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6vw + 1rem, 5.25rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2rem, 3.4vw + 1rem, 3.4rem);
}
h3 {
  font-size: clamp(1.35rem, 1.2vw + 1rem, 1.7rem);
  line-height: 1.18;
}

p {
  color: var(--ink-soft);
}

/* Display italic in gold marks the emphasised word in every headline */
h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-bright);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.section__title {
  max-width: 20ch;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Pulls up under the title, whose margin is sized for content, not for a lede */
.section__lede {
  max-width: 60ch;
  margin: calc(-1 * clamp(1rem, 2vw, 2rem)) 0 clamp(2rem, 4vw, 3rem);
  font-size: 1.05rem;
}
.section__lede strong {
  color: var(--ink);
  font-weight: 600;
}

.link {
  color: var(--gold);
  text-underline-offset: 0.2em;
}
