/**
 * Front page v2: hero eyebrow and hero overrides.
 *
 * Loaded by functions.php for page-front-v2.php alone. Everything reuses the
 * theme tokens in style.css.
 */

/* Display headings take the theme's tracking back. style.css sets
   `h1, h2 { letter-spacing: var(--tracking-tight) }` globally, then
   `.landing h1, .landing h2, .landing h3` resets it to normal — so landing
   pages render looser than articles do. This restores it for h1/h2 on the
   draft only, leaving h3 alone: below ~20px the tightening costs legibility.
   Needs .landing to match the specificity of the rule it overrides. */
.landing h1,
.landing h2 {
	letter-spacing: var(--tracking-tight);
}

/* Hero eyebrow — the product/format list above the h1. .eyebrow already
   handles uppercase, weight and tracking; this only sets the colour and lets
   the separators sit inline. */
.eyebrow-red {
	color: var(--color-red);
	flex-wrap: wrap;
}

.eyebrow-red span {
	color: inherit;
}

/* Tighter heading-to-list gap in the split section than the theme's 36px. */
.hero-split h2 {
	margin: 0 0 var(--space-5);
}

/* ==========================================================================
   Hero overrides
   --------------------------------------------------------------------------
   .hero-stack is shared with the live front page (page-front.php), so these
   stay scoped to the draft rather than changing style.css.
   ========================================================================== */

.hero-stack h1 {
	max-width: 800px;
}

/* Lede runs well inside the headline measure. */
.hero-stack .hero-lede {
	max-width: 560px;
}

/* 20% deeper than the theme's 4em landing-section padding. Needs all three
   classes to outrank `.landing .section`. */
.landing .section.hero-band {
	padding-block: 4.8em;
}

/* Lede matches body copy rather than the theme's larger medium-weight lede.
   1em rather than var(--text-base): the root is scaled to 90%, so that token
   resolves to 14.4px while body copy on the page renders at 16px. */
.hero-stack .hero-lede {
	font-size: 1em;
	font-weight: var(--weight-normal);
	line-height: 1.5;
}

/* Tighter around the headline: the eyebrow sits closer above it and the lede
   closer below. Theme defaults are 1.5em and 30px respectively. */
.hero-stack .eyebrow {
	margin-bottom: var(--space-3);
}

.hero-stack h1 {
	margin-bottom: var(--space-4);
}
