/* Brand voice, not the user's record. Deliberately opt-in: never style all headings. */
@font-face {
  font-family: "BBH Hegarty";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/bbh-hegarty-latin-v1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.brand-wordmark,
main > .brand-heading,
#public-preview .brand-heading,
.empty-state .brand-heading {
  font-family: "BBH Hegarty", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
}

#public-preview .brand-wordmark,
main > .brand-wordmark {
  margin: 0 0 28px;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: none;
}

main > .brand-heading,
#public-preview .brand-heading,
.empty-state .brand-heading {
  line-height: 1.12;
  text-wrap: balance;
}

#public-preview #preview-title {
  font-size: clamp(32px, 4.2vw, 54px);
  max-width: 16ch;
}

/* Balance each sentence independently: no lonely “goal.” on narrower columns. */
#preview-title > span { display: block; text-wrap: balance; }

#public-preview .preview-story .brand-heading {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.empty-state .brand-heading { max-width: 30ch; }

/* Keep the original fluid size transition and difference blend on the home h1. */
@media (max-width: 600px) {
  #public-preview .brand-wordmark,
  main > .brand-wordmark { margin-bottom: 24px; }
}
