/**
 * Futura PT — the three heavier faces used only by trip pages that resolve to a
 * travel style (EX-2276).
 *
 * These live in their own stylesheet rather than in futurapt.css because that file is
 * enqueued site-wide from inc/core.php. Demi, Extra Bold and Heavy are needed on styled
 * trip pages and nowhere else, so putting them there would ship ~180KB of faces to every
 * page on the site.
 *
 * All three join the single "Futura PT" family declared in futurapt.css rather than the
 * design system's second "Future PT" family (spec Decision 22).
 *
 * **The one-letter family split is the thing to understand before touching any weight
 * here.** The design system declares two families whose names differ by a single
 * character, and they overlap at weight 700:
 *
 *   "Future PT" (no "a")  700 → FuturaPT-Bold.woff2   → Bold  → 700 in this theme
 *   "Futura PT" (with "a") 700 → FuturaPT-Demi.woff2  → Demi  → 600 in this theme
 *
 * So a design-system rule reading `font-family: "Futura PT"; font-weight: 700` means
 * **Demi**, and porting that 700 across literally renders Bold — a full step too heavy.
 * Slice 01 flagged this trap; slice 03 fell into it on the shared h3–h5 tier and on
 * Signature's h2/h6 tier, and corrected both. Check which family a rule names before
 * trusting its number.
 */

/**
 * Futura PT Demi — every heading below the panel-title scale, on all four travel styles,
 * and the panel titles themselves on Signature.
 *
 * The design system calls this face "Futura PT" 700. It is 600 here because the
 * single-family collapse already spends 700 on Bold.
 */
@font-face {
	font-family: "Futura PT";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src:
		local(""),
		url(futuraptdemi/font.woff2) format("woff2");
}

/**
 * Futura PT Demi Oblique — every heading on a Superior trip page, and nowhere else.
 *
 * The oblique companion to the Demi above: same family, same weight, `italic` style. The
 * design system consolidated Superior onto this one face for h1–h6 and both bespoke
 * titles (exodus-helix#23), replacing a three-way split of Bold Oblique, upright Demi and
 * Bold Oblique caps.
 *
 * **`font-style` is the whole reason this is a separate face rather than a weight.**
 * "Futura PT" already carries a weight-600 *normal* face directly above, so weight
 * matching alone resolves to upright Demi and the slant is synthesised — an oblique the
 * browser fakes by shearing the upright outlines, which is visibly not this typeface.
 * Any rule reaching for it must set `font-style: italic` explicitly.
 *
 * Note this is 600 where the design system writes 700 — the one-letter family split at
 * the top of this file. The `"Futura PT"` 700 *italic* slot is already spent on Bold
 * Oblique in the site-wide `futurapt.css`, which stays declared: the `travel-style-tag`
 * Superior chip renders it on trip cards across the site, well outside this stylesheet's
 * trip-only enqueue.
 *
 * Ships as OTF for the same reason as Extra Bold and Heavy below — no woff2 of this
 * weight and style exists in the design repo. ~134KB, and only on Superior trip pages.
 */
@font-face {
	font-family: "Futura PT";
	font-style: italic;
	font-weight: 600;
	font-display: swap;
	src:
		local(""),
		url(futuraptdemioblique/font.otf) format("opentype");
}

/**
 * Futura PT Extra Bold — the Originals trip title and panel titles.
 *
 * Ships as TTF because that is the only format the design system holds for this face.
 * ~69KB against ~50KB for the woff2 faces around it. Converting would need
 * fonttools/woff2 added to the toolchain (phase 1 Decision 7).
 */
@font-face {
	font-family: "Futura PT";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src:
		local(""),
		url(futuraptextrabold/font.ttf) format("truetype");
}

/**
 * Futura PT Heavy — Originals `h2` and `h6` only.
 *
 * The design system's `"Future PT"` 900. Slice 01 left this face out on the reasoning that
 * the rule reaching for it is always outranked by the panel-title rule, so it would never
 * paint. That is wrong: the panel-title rule is scoped to the panel-title *size class*, so
 * it only wins on headings that carry it. Every other `h2` and `h6` on an Originals page —
 * and there are plenty — resolves to this face.
 *
 * The cost of leaving it out was that Originals sat at Extra Bold (800) where the design
 * puts it at Heavy (900), which read as barely distinct from Classic's Bold (700). The
 * design intends a two-step gap between those two styles and we were shipping one.
 *
 * Ships as TTF for the same reason as Extra Bold — no woff2 exists for it in the design
 * repo. ~64KB, and only on Originals trip pages.
 */
@font-face {
	font-family: "Futura PT";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src:
		local(""),
		url(futuraptheavy/font.ttf) format("truetype");
}
