/*
 * SIGMAN — display typography (Bebas Neue).
 *
 * Part of the global type system (fonts.css + tokens.css + base.css): base.css
 * gives every h1–h4 the display face; this sheet covers display elements that
 * are not plain headings (hero, product/collection titles, card names, cart
 * drawer heading) and applies per-component tracking. Body copy, paragraphs,
 * buttons, form labels, nav links and review text stay on DM Sans.
 *
 * An explicit allowlist rather than a blanket `h1, h2` rule, so nothing is
 * restyled by accident. To revert: dequeue 'sigman-display-type' in
 * inc/assets.php — no other file depends on it.
 *
 * Only font-family, font-weight, text-transform and letter-spacing are set.
 * font-size, color, margins, line-height and layout are deliberately NOT
 * touched, so spacing and responsive behaviour are unchanged.
 *
 * Bebas Neue notes:
 *  - single weight (400); font-weight is pinned to 400 so browsers never
 *    synthesise a fake bold, which would smear the condensed strokes.
 *  - caps-only glyphs, so text-transform: uppercase is the natural setting.
 */

.hb-title,
.sgm-collection-header__title,
.sgm-pdp__title,
.sgm-article__title,
.sgm-vrev__heading,
.sgm-info__heading,
.sgm-bundle-editorial__h,
.sgm-shopby__l1,
.sgm-shopby__l2,
.sgm-ed-hero__content h2,
.sgm-newsletter__inner h2,
.sgm-home-list__head h2,
.sgm-section-title,
.sgm-studio__title,
.sgm-pb__title,
.sgm-sb__title,
.sgm-bb__title,
.sgm-section > h2,
.page-width > h1 {
	font-family: var(--font-display-family);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: var(--font-display-tracking);
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
}

/* The hero wordmark is the largest type on the site — the biggest sizes need
   the least tracking. */
.hb-title { letter-spacing: 0.04em; }

/* Product, collection and article titles sit next to small body copy, so they
   carry a touch more tracking to stay legible against the condensed forms. */
.sgm-pdp__title,
.sgm-collection-header__title,
.sgm-article__title { letter-spacing: 0.06em; }

/* Mid-size section headings — upper end of the range, editorial feel. */
.sgm-vrev__heading,
.sgm-info__heading,
.sgm-home-list__head h2,
.sgm-section > h2,
.sgm-studio__title,
.sgm-pb__title,
.sgm-sb__title,
.sgm-bb__title { letter-spacing: 0.07em; }

/* Mobile: condensed caps tighten up on small screens, so ease the tracking
   back slightly to stop the letters looking sparse. */
@media screen and (max-width: 749px) {
	.hb-title { letter-spacing: 0.03em; }
	.sgm-pdp__title,
	.sgm-collection-header__title,
	.sgm-article__title { letter-spacing: 0.045em; }
	.sgm-vrev__heading,
	.sgm-info__heading,
	.sgm-home-list__head h2,
	.sgm-section > h2,
	.sgm-studio__title,
	.sgm-pb__title,
	.sgm-sb__title,
	.sgm-bb__title { letter-spacing: 0.05em; }
}

/* ── Hero specificity ─────────────────────────────────────────
   sgm-hero.css targets `.hb .hb-title` (two classes), so the single-class rule
   above cannot reach it — matched here at equal specificity. The live hero
   variables ask for weight 900 and negative tracking; Bebas ships one weight
   and needs positive tracking, so both are overridden. */
.hb .hb-title {
	font-family: var(--font-display-family);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
}
@media screen and (max-width: 749px) {
	.hb .hb-title { letter-spacing: 0.03em; }
}

/* ── Product card names ───────────────────────────────────────
   Display face on card titles; sized up over the ux-fixes base rule because
   Bebas runs optically smaller than the bold face it replaces. */
.sgm-card__title,
.sgm-card__title a {
	font-family: var(--font-display-family);
	font-weight: 400;
	text-transform: uppercase;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
}
/* Card name leads the price clearly — the product name is the card's headline. */
.sgm-card__title { font-size: 1.35rem; letter-spacing: 0.05em; line-height: 1.15; }
@media screen and (max-width: 749px) {
	.sgm-card__title { font-size: 1.15rem; letter-spacing: 0.04em; }
}

/* ── Cart drawer heading ────────────────────────────────────── */
.sgm-cd__title {
	font-family: var(--font-display-family);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 1.45rem;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
}

/* ── One section-heading role ─────────────────────────────────
   Rails, community, collections, bundle, reviews/FAQ, testimonials and the
   newsletter all title a section, so they share one size and one tracking
   (they had drifted to 36px h3 vs 48px h2 and four tracking values).
   Alignment still follows each layout; margins stay with each section. */
.sgm-section-title,
.sgm-home-list__head h2,
.sgm-vrev__heading,
.sgm-info__heading,
.sgm-bundle-editorial__h,
.sgm-newsletter__inner h2,
.sgm-section > h2 {
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.05;
	letter-spacing: 0.06em;
	text-wrap: balance;
}
.sgm-section-title { margin: 0 0 var(--sgm-space-24); }
.sgm-section-title--center { text-align: center; }
@media screen and (max-width: 749px) {
	.sgm-section-title,
	.sgm-home-list__head h2,
	.sgm-vrev__heading,
	.sgm-info__heading,
	.sgm-bundle-editorial__h,
	.sgm-newsletter__inner h2,
	.sgm-section > h2 { letter-spacing: 0.05em; }
	.sgm-section-title { margin-bottom: var(--sgm-space-16); }
}
