/**
 * Typography — self-hosted variable fonts + the full type scale from
 * Phase 2A.5 §4. "LBM Serif" = Newsreader, "LBM Sans" = Roboto (self-hosted
 * Google Fonts, latin + latin-ext subsets, true variable-weight files).
 * font-display: swap avoids FOIT; unicode-range lets the browser skip the
 * latin-ext file unless the page actually needs those characters.
 */

@font-face {
	font-family: "LBM Serif";
	src: url("../../fonts/newsreader-normal-latin.woff2") format("woff2-variations"),
		url("../../fonts/newsreader-normal-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "LBM Serif";
	src: url("../../fonts/newsreader-normal-latin-ext.woff2") format("woff2-variations"),
		url("../../fonts/newsreader-normal-latin-ext.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "LBM Serif";
	src: url("../../fonts/newsreader-italic-latin.woff2") format("woff2-variations"),
		url("../../fonts/newsreader-italic-latin.woff2") format("woff2");
	font-weight: 400 500;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "LBM Serif";
	src: url("../../fonts/newsreader-italic-latin-ext.woff2") format("woff2-variations"),
		url("../../fonts/newsreader-italic-latin-ext.woff2") format("woff2");
	font-weight: 400 500;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "LBM Sans";
	src: url("../../fonts/roboto-normal-latin.woff2") format("woff2-variations"),
		url("../../fonts/roboto-normal-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "LBM Sans";
	src: url("../../fonts/roboto-normal-latin-ext.woff2") format("woff2-variations"),
		url("../../fonts/roboto-normal-latin-ext.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "LBM Sans";
	src: url("../../fonts/roboto-italic-latin.woff2") format("woff2-variations"),
		url("../../fonts/roboto-italic-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "LBM Sans";
	src: url("../../fonts/roboto-italic-latin-ext.woff2") format("woff2-variations"),
		url("../../fonts/roboto-italic-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body {
	font-family: var(--font-sans);
	font-size: var(--text-body);
	line-height: var(--leading-body);
	font-weight: 400;
}

h1,
h2,
h3,
.lbm-heading-serif {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: var(--leading-tight);
	color: var(--color-ink);
}

h4,
h5,
h6 {
	font-family: var(--font-sans);
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-ink);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
h5 { font-size: var(--text-h5); }
h6 { font-size: var(--text-h6); }

p {
	max-width: var(--content-max);
}

a {
	color: var(--color-accent);
	transition: color var(--duration-hover) var(--ease-standard);
}

a:hover {
	color: var(--color-accent-hover);
}

/* Meta text — byline, date, reading time. */
.lbm-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-2);
	font-size: var(--text-meta);
	letter-spacing: var(--tracking-meta);
	color: var(--color-neutral-600);
}

.lbm-meta__sep {
	width: 3px;
	height: 3px;
	border-radius: var(--radius-full);
	background-color: var(--color-neutral-400);
	display: inline-block;
}

/* Category kicker — the primary category-identity mechanism (2A.5 §5). */
.lbm-kicker,
.lbm-card__kicker {
	display: inline-block;
	font-family: var(--font-sans);
	font-size: var(--text-kicker);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--tracking-kicker);
	color: var(--color-accent);
	margin-bottom: var(--space-2);
}

.lbm-card__kicker--serif {
	font-family: var(--font-serif);
	font-style: italic;
	text-transform: none;
	letter-spacing: 0;
}

/* Pull quotes. */
blockquote,
.lbm-pullquote {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 500;
	font-size: var(--text-pullquote);
	line-height: 1.4;
	border-left: 2px solid var(--color-accent);
	padding-left: var(--space-6);
	margin: var(--space-7) 0;
	max-width: calc(var(--content-max) + var(--space-8));
	color: var(--color-ink);
}

/* Captions. */
figcaption,
.lbm-caption {
	font-size: var(--text-caption);
	font-style: italic;
	color: var(--color-neutral-600);
	margin-top: var(--space-2);
}

/* Global visible focus ring — never suppressed, styled deliberately. */
:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}
