/* 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; }

/* The approved signature is outlined SVG: no font loading or synthesis needed. */
.brand-logo { display: block; width: min(240px, 100%); height: auto; }
.brand-home { display: inline-block; max-width: 100%; }
.brand-home .brand-logo { width: 210px; }
.brand-logo-on-light { display: none; }
/* Goal wording feedback replaces the dusk image with a pale red/green field. */
body.access-live.creating:not(.neutral) main > .brand-wordmark .brand-logo-on-dark { display: none; }
body.access-live.creating:not(.neutral) main > .brand-wordmark .brand-logo-on-light { display: block; }
@media (max-width: 600px) {
  .brand-logo { width: 200px; }
}

/* 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; }
}
