/**
 * Site typeface — Almendra Display.
 *
 * The FACE only: no tracking change, no shadow stack, no case change. That is the whole
 * distinction between this file and lettering-global.css, which applied the full effect
 * to every string and was rejected. Keeping them separate means the face can stay while
 * the effects stay rare.
 *
 * The @font-face rule lives in lettering.css, which this depends on.
 *
 * READABILITY CAVEAT: Almendra Display is a display face — designed for headings, not for
 * paragraphs. It has one weight, so nothing here can be emphasised with weight, and its
 * figures are not tabular, so prices and SKUs will never align in a column. Worth
 * watching on the sizing notice and the size chart specifically, since those are the
 * strings that prevent returns.
 */

body.aethyrdancer-typeface,
body.aethyrdancer-typeface h1,
body.aethyrdancer-typeface h2,
body.aethyrdancer-typeface h3,
body.aethyrdancer-typeface h4,
body.aethyrdancer-typeface h5,
body.aethyrdancer-typeface h6,
body.aethyrdancer-typeface p,
body.aethyrdancer-typeface a,
body.aethyrdancer-typeface li,
body.aethyrdancer-typeface td,
body.aethyrdancer-typeface th,
body.aethyrdancer-typeface label,
body.aethyrdancer-typeface button,
body.aethyrdancer-typeface input,
body.aethyrdancer-typeface select,
body.aethyrdancer-typeface textarea,
body.aethyrdancer-typeface .site-footer,
body.aethyrdancer-typeface .site-footer * {
	font-family: 'Amarante', serif;
}

/*
 * PRICES KEEP ALMENDRA DISPLAY (operator, 2026-09-15).
 *
 * The site face moved to Amarante because Almendra Display is a display face doing a text
 * face's job — see the caveat at the top of this file. Prices are the one place where that
 * caveat does not bite: they are three or four glyphs, never a sentence, and the operator
 * judged them both legible and better looking in the display face. So this is a deliberate
 * exception rather than a rule that was missed.
 *
 * THE NON-TABULAR FIGURES ARE THE KNOWN COST and they are accepted here. Almendra Display
 * has no tabular numerals, so a column of prices in the cart or an order table will not
 * align on the decimal. That was already recorded as a drawback of the face; keeping prices
 * on it means keeping that drawback in the one place it is most visible.
 *
 * SPECIFICITY IS THE LOAD-BEARING PART. `<p class="price">` on the single-product template
 * matches the `p` in the element list above at (0,1,1), so a bare `.price` at (0,1,0) would
 * lose. Leading with the body class takes this to (0,2,1) and it wins everywhere.
 *
 * The currency symbol is named even though it sits inside `.woocommerce-Price-amount` and
 * would inherit anyway: "the $ in front of them" is half of what was asked for, and an
 * inherited value is not something the next reader of this file can see.
 *
 * NO GLOW, AND THAT IS UNCHANGED. Prices are held back from `--ad-glow` on purpose — see
 * the note on that token in tokens.css and the archive-price rule in text-fx.css. This
 * changes the face only.
 */
body.aethyrdancer-typeface :is(
	.price,
	.woocommerce-Price-amount,
	.woocommerce-Price-currencySymbol
) {
	font-family: 'Almendra Display', serif;
}

/*
 * Astra emits its own font stack as inline custom properties. Re-pointing them means
 * anything of Astra's that reads the variable follows, rather than needing a matching
 * selector here for every component.
 */
body.aethyrdancer-typeface {
	--ast-body-font-family: 'Almendra Display', serif;
	--ast-heading-font-family: 'Almendra Display', serif;
}

/*
 * The admin bar is not part of the site, and the SVG lettering sets its own face on the
 * <g> element.
 */
body.aethyrdancer-typeface #wpadminbar,
body.aethyrdancer-typeface #wpadminbar * {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
