/* Display typeface: Alfa Slab One (--font-display), a heavy slab with ONE weight (400). It is used only
   for page titles, the wordmark and public headlines, at about 20px and larger. Never for body text,
   navigation links, buttons, chords or lyrics. Because it has no bold, every heading that uses it asks for
   weight 400 (a synthesised bold on top of it smears), with slightly loosened spacing and a tight line.
   Selectors repeat the ones that set --font-display elsewhere; this file loads last so the weight wins.
   Fallback if the font fails to load: Fraunces, then Georgia, at regular weight. */
.public-header__brand,
.member-nav__brand,
.share-interface__brand,
.member-page-heading h1,
.editor-page__header h1,
.library-sidebar h1,
.chart-stage__identity h1,
.public-hero h1,
.public-main h1,
.public-features h2,
.public-page h1,
.auth-card h1,
.settings-task-group > h2,
.band-header__name,
.band-date__day,
.band-hero h2,
.group-members-page__header h1,
.context-bar__name,
.library-finder__heading h1,
.library-empty-import__heading,
.library-finder__filters-panel::before,
.set-builder__header h1,
.transition-guide__heading h1,
.shared-set__header h1,
.shared-chart-page .chart-stage__identity h1,
.shared-unavailable h1,
.print-controls__head h1,
.pd-title,
.chords-intro h1,
.chord-head h1 {
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
}

/* The same title inside the song view's print scope (print_ink.css restates the display face there). */
.chart-print-root.chart-print-root .pd-title { font-weight: 400; }

/* The wordmark is a single line: the bar wordmark is sized to fit beside the badge, and gives way with an
   ellipsis rather than wrapping or overflowing if a fallback font is wider. */
.member-nav__brand-label,
.public-header__brand-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Page titles in the display face: a slab at 4rem+ reads very heavy. Cap them at 2.25rem on a desktop and 1.75rem on a
   phone (the same clamp the library title already uses), so the title looks deliberate under the bar. The size
   never goes below 20px, the display face's floor. */
.member-page-heading h1,
.editor-page__header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.01em;
}

/* Display-face titles on the shared chart page and the /try page (the display face is always weight 400). */
.sheet-bar__word,
.sheet-song__title,
.sheet-brand__line,
.try-hero h1,
.try-intro h1,
.group-schedule__header h1,
.group-schedule__section h2,
.schedule-event__date strong { font-weight: 400; }
