/**
 * Nuuu Editorial — design system.
 *
 * Bright, confident, blue-to-pink with orange sparks. Colour is used at full
 * strength on large surfaces (heroes, buttons, chips) and dropped to a deeper,
 * text-safe variant wherever it has to carry small text — so nothing on the
 * page falls below WCAG AA while the palette still reads vivid.
 *
 * Layout stays deliberately plain: one wide grid, generous space, large type.
 * The colour does the shouting so the structure does not have to.
 */

/* =====================================================================
   1. Palette
   ===================================================================== */
:root {
	/* Full-strength brand — large areas, fills, gradients, non-text UI. */
	--c-blue: #2F6BFF;
	--c-pink: #FF4D8F;
	--c-orange: #FF8A3D;

	/* Text-safe variants — anything small enough to read. */
	--c-blue-deep: #1B3FCC;   /* 7.9:1 on white */
	--c-pink-deep: #C71B60;   /* 5.6:1 on white */
	--c-orange-deep: #B04A09; /* 5.5:1 on white, 5.0:1 on tint */

	/* Button fills that keep white text at AA. */
	--c-blue-solid: #2456E0;  /* white text 6.1:1 */
	--c-pink-solid: #D62E70;  /* white text 4.7:1 */

	/* Light-on-dark variants for dark mode. */
	--c-blue-soft: #7BA0FF;   /* 7.4:1 on midnight */
	--c-pink-soft: #FF7FB0;   /* 8.0:1 on midnight */
	--c-orange-soft: #FFA463; /* 9.6:1 on midnight */

	--c-ink: #14141A;
	--c-midnight: #0D1024;
	/* A warm off-white rather than pure #FFF: paper stock, not a screen. */
	--c-paper: #FDFCFA;

	--grad-spectrum: linear-gradient(115deg, #2F6BFF 0%, #FF4D8F 62%, #FF8A3D 100%);
	--grad-button: linear-gradient(115deg, #2456E0 0%, #D62E70 100%);
	--grad-rule: linear-gradient(90deg, #2F6BFF 0%, #FF4D8F 55%, #FF8A3D 100%);

	--r-sm: 10px;
	--r-md: 18px;
	--r-lg: 28px;
	--r-pill: 999px;

	--ease: 280ms cubic-bezier(0.22, 0.61, 0.24, 1);

	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", "IBM Plex Sans Thai", "Leelawadee UI", Sarabun, Roboto, "Helvetica Neue", Arial, sans-serif;
	/*
	 * The display serif carries the editorial weight: names, section titles,
	 * article headlines. Latin takes Georgia; Thai has no reliable system
	 * serif, so it falls through to Noto Serif Thai where present and to the
	 * sans stack otherwise — which is the right outcome, not a compromise.
	 */
	--font-serif: Georgia, "Noto Serif Thai", "Times New Roman", Times, Sarabun, serif;

	--wrap: 1240px;
	--measure: 68ch;
	--gutter: clamp(1.25rem, 5vw, 3rem);
}

/* =====================================================================
   2. Surfaces
   ===================================================================== */

/* Bright surface — the default everywhere. */
body,
body.nuuu-surface--light,
body.nuuu-surface--dark {
	--surface: var(--c-paper);
	--surface-tint: #F4F1EC;
	--surface-tint-warm: #FBF0F1;
	--surface-raised: #FFFFFF;
	--text: var(--c-ink);
	--text-soft: #3A3A48;
	--text-muted: #63637A;
	--border: rgba(20, 20, 26, 0.10);
	--border-strong: rgba(20, 20, 26, 0.22);
	--link: var(--c-blue-deep);
	--link-hover: var(--c-pink-deep);
	--accent: var(--c-blue);
	--accent-2: var(--c-pink);
	--accent-3: var(--c-orange);
	--accent-text: var(--c-blue-deep);
	--accent-2-text: var(--c-pink-deep);
	--accent-3-text: var(--c-orange-deep);
	--on-accent: #FFFFFF;
	--ring: var(--c-blue);
	--shadow-sm: 0 1px 1px rgba(20, 20, 45, 0.04), 0 4px 12px rgba(20, 20, 45, 0.05);
	--shadow-lg: 0 2px 4px rgba(20, 20, 45, 0.04), 0 12px 28px rgba(20, 20, 45, 0.08), 0 32px 72px rgba(20, 20, 45, 0.10);
	--skeleton: rgba(20, 20, 26, 0.07);
	--skeleton-shine: rgba(47, 107, 255, 0.16);
}

/* Dark mode — the reader's explicit choice. Deep indigo, not black, so the
   blue and pink stay in the same family rather than fighting the ground. */
html[data-theme="dark"] body,
html[data-theme="dark"] body.nuuu-surface--light,
html[data-theme="dark"] body.nuuu-surface--dark {
	--surface: var(--c-midnight);
	--surface-tint: #151A33;
	--surface-tint-warm: #1E1630;
	--surface-raised: #161B33;
	--text: #F4F5FF;
	--text-soft: #C9CCE4;
	--text-muted: #9B9FBD;
	--border: rgba(244, 245, 255, 0.14);
	--border-strong: rgba(244, 245, 255, 0.30);
	--link: var(--c-blue-soft);
	--link-hover: var(--c-pink-soft);
	--accent-text: var(--c-blue-soft);
	--accent-2-text: var(--c-pink-soft);
	--accent-3-text: var(--c-orange-soft);
	--ring: var(--c-blue-soft);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 18px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5), 0 24px 60px rgba(0, 0, 0, 0.55);
	--skeleton: rgba(244, 245, 255, 0.08);
	--skeleton-shine: rgba(123, 160, 255, 0.22);
}

/* =====================================================================
   3. Base
   ===================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	/* Thai needs the extra leading so vowel and tone marks never collide. */
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background-color var(--ease), color var(--ease);
}

img,
picture,
video,
iframe {
	max-width: 100%;
}

img {
	display: block;
	height: auto;
}

a {
	color: var(--link);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
	transition: color var(--ease);
}

a:hover {
	color: var(--link-hover);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.18;
	/* Large serif needs tightening; small serif does not. */
	letter-spacing: -0.012em;
	margin: 0 0 0.5em;
	word-break: break-word;
	overflow-wrap: break-word;
}

/* Thai has no descender-light caps; give headings a touch more room. */
h1:lang(th), h2:lang(th), h3:lang(th) {
	line-height: 1.3;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	padding-inline-start: 1.25rem;
}

:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--ring);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection {
	background: var(--c-pink);
	color: #FFFFFF;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.nuuu-skip-link:focus {
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	position: fixed;
	inset-block-start: 1rem;
	inset-inline-start: 1rem;
	z-index: 999;
	background: var(--grad-button);
	color: #FFFFFF;
	padding: 0.85rem 1.5rem;
	border-radius: var(--r-pill);
	font-weight: 700;
	text-decoration: none;
}

/* =====================================================================
   4. Layout
   ===================================================================== */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1 0 auto;
	padding-block-end: clamp(4rem, 10vw, 7rem);
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.layout {
	display: grid;
	gap: clamp(2.5rem, 6vw, 4rem);
	align-items: start;
}

@media (min-width: 62rem) {
	.layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.nuuu-no-sidebar .layout {
		grid-template-columns: minmax(0, 1fr);
		max-width: 880px;
	}
}

.layout__main {
	min-width: 0;
}

.layout__aside {
	min-width: 0;
	position: sticky;
	top: 1.5rem;
}

.section {
	margin-block: clamp(3rem, 6vw, 4.5rem);
}

.section:first-child {
	margin-block-start: clamp(1.5rem, 3vw, 2rem);
}

/* The hero butts straight against the header — no white band above it. */
.section--hero {
	margin-block-start: 0;
	margin-block-end: clamp(3rem, 6vw, 4.5rem);
}

/* A section header is a title, an optional link, and one gradient hairline. */
.section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	flex-wrap: wrap;
	margin-block-end: clamp(1.5rem, 3vw, 2.25rem);
	padding-block-end: 0.85rem;
	position: relative;
}

/*
 * A full-width gradient under every heading was the single loudest repeat on
 * the page. A hairline carries the same structure; the colour is reduced to a
 * short lead-in mark so it still reads as ours.
 */
.section__header::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	height: 1px;
	background: var(--border);
}

.section__header::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-end: 0;
	width: 44px;
	height: 2px;
	z-index: 1;
	background: var(--grad-rule);
}

.section__title {
	margin: 0;
	font-size: clamp(1.5rem, 3.4vw, 2.25rem);
}

.section__more {
	flex: 0 0 auto;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--accent-text);
}

.section__more:hover {
	color: var(--accent-2-text);
	text-decoration: underline;
}

/* =====================================================================
   5. Header and navigation
   ===================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--surface) 90%, transparent);
	backdrop-filter: saturate(180%) blur(14px);
	border-block-end: 1px solid var(--border);
}

@supports not (backdrop-filter: blur(1px)) {
	.site-header {
		background: var(--surface);
	}
}

/* The one hairline of brand colour that sits above everything. */
/* One restrained hairline of brand colour, not a slab. */
.site-header::before {
	content: "";
	display: block;
	height: 2px;
	background: var(--grad-spectrum);
	opacity: 0.9;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 74px;
}

.site-brand {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	margin-inline-end: auto;
	min-width: 0;
}

.site-brand__title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: clamp(1.4rem, 3vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.site-brand__title a {
	text-decoration: none;
	background: var(--grad-spectrum);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* If the gradient text cannot paint, fall back to solid ink. */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
	.site-brand__title a {
		color: var(--text);
		background: none;
	}
}

.site-brand__tagline {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--text-muted);
	line-height: 1.5;
}

.custom-logo-link img {
	max-height: 46px;
	width: auto;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 2px solid var(--border-strong);
	border-radius: var(--r-pill);
	background: transparent;
	color: inherit;
	cursor: pointer;
	flex: 0 0 auto;
	transition: border-color var(--ease), background var(--ease);
}

.nav-toggle:hover {
	border-color: var(--c-blue);
}

.nav-toggle__bars {
	display: grid;
	gap: 4px;
	width: 18px;
}

.nav-toggle__bars span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
	display: none;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
	order: 3;
	padding-block: 1.25rem 1.5rem;
	border-block-start: 1px solid var(--border);
}

.site-nav.is-open {
	display: flex;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.site-nav__list a {
	display: block;
	padding: 0.6rem 0;
	color: inherit;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.0625rem;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
	color: var(--accent-text);
}

.site-nav__tools {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

@media (min-width: 66rem) {
	.nav-toggle {
		display: none;
	}

	.site-nav {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 1.75rem;
		width: auto;
		order: 0;
		padding-block: 0;
		border: 0;
	}

	.site-nav__list {
		flex-direction: row;
		gap: 1.5rem;
	}

	.site-nav__list a {
		padding: 0;
		font-size: 0.9375rem;
	}
}

/* Discovery strip — colourful, scrollable, obviously tappable. */
.discovery-nav {
	border-block-start: 1px solid var(--border);
	overflow-x: auto;
	scrollbar-width: none;
	background: var(--surface);
}

.discovery-nav::-webkit-scrollbar {
	display: none;
}

.discovery-nav__list {
	list-style: none;
	margin: 0;
	padding-block: 0.65rem;
	display: flex;
	gap: 0.5rem;
	white-space: nowrap;
	align-items: center;
}

.discovery-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0.25rem 0.9rem;
	border-radius: var(--r-sm);
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text-soft);
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.discovery-nav__list a:hover,
.discovery-nav__list .current-menu-item > a {
	color: var(--on-accent);
	background: var(--c-blue-solid);
	border-color: var(--c-blue-solid);
}

html[data-theme="dark"] .discovery-nav__list a:hover,
html[data-theme="dark"] .discovery-nav__list .current-menu-item > a {
	color: #0D1024;
	background: var(--c-blue-soft);
	border-color: var(--c-blue-soft);
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 2px solid var(--border-strong);
	border-radius: var(--r-pill);
	background: transparent;
	color: inherit;
	cursor: pointer;
	flex: 0 0 auto;
	transition: border-color var(--ease), color var(--ease);
}

.theme-toggle:hover {
	border-color: var(--c-pink);
	color: var(--accent-2-text);
}

.theme-toggle__icon {
	display: none;
	line-height: 0;
}

.theme-toggle__icon--moon {
	display: block;
}

html[data-theme="dark"] .theme-toggle__icon--moon {
	display: none;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
	display: block;
}

/* =====================================================================
   6. Media — every box reserves its ratio so nothing shifts
   ===================================================================== */
.media {
	position: relative;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--surface-tint);
}

/* A hairline ring keeps a light photo from bleeding into a light page. */
.media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(20, 20, 45, 0.07);
	pointer-events: none;
}

html[data-theme="dark"] .media::after {
	box-shadow: inset 0 0 0 1px rgba(244, 245, 255, 0.10);
}

.media--portrait {
	aspect-ratio: 4 / 5;
}

.media--landscape {
	aspect-ratio: 16 / 9;
}

.media--square {
	aspect-ratio: 1 / 1;
}

.media__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.22, 0.61, 0.24, 1);
}

.media--empty {
	background: var(--grad-spectrum);
	opacity: 0.16;
}

/* =====================================================================
   7. Cards
   ===================================================================== */
.card-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1.25rem, 3vw, 2rem);
}

.card-grid--grid,
.card-grid--mixed {
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

@media (min-width: 40rem) {
	.card-grid--grid,
	.card-grid--mixed {
		/* auto-fit, so a section holding fewer items than a full row stretches
		   to fill it rather than leaving dead columns on the right. */
		grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	}
}

.card-grid--articles {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid--videos {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Instagram's own embed tops out at 658px wide (Meta's inline max-width), so
   the grid caps its columns wider than the video grid rather than squeezing
   several narrow embeds side by side. */
.card-grid--instagram {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	max-width: 700px;
}

.card-grid--horizontal {
	grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
	.card-grid--horizontal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.card__link {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.card__link .media {
	transition: transform var(--ease), box-shadow var(--ease);
}

.card__link:hover .media {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card__link:hover .media__img {
	transform: scale(1.05);
}

.card__body {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.card__title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: -0.012em;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.card__link:hover .card__title {
	color: var(--accent-text);
}

.card__handle,
.card__meta {
	margin: 0;
	font-size: 0.875rem;
	color: var(--text-muted);
	font-weight: 500;
}

.card__kicker {
	margin: 0 0 0.15rem;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--accent-3-text);
}

.card__excerpt {
	margin: 0.3rem 0 0;
	font-size: 0.9375rem;
	color: var(--text-soft);
	line-height: 1.65;
}

.card--article .card__title {
	font-size: 1.125rem;
}

/* Horizontal card — a tinted tile, colour-coded on hover. */
.card--horizontal .card__link {
	flex-direction: row;
	align-items: center;
	gap: 1.15rem;
	padding: 0.9rem 1.15rem 0.9rem 0.9rem;
	border-radius: var(--r-lg);
	background: var(--surface-tint);
	transition: background var(--ease), transform var(--ease);
}

.card--horizontal .card__link:hover {
	background: var(--surface-tint-warm);
	transform: translateY(-2px);
}

.card--horizontal .card__link:hover .media {
	transform: none;
	box-shadow: none;
}

.card--horizontal .media {
	flex: 0 0 76px;
	width: 76px;
	border-radius: var(--r-pill);
}

/* Lead story */
.lead-story {
	margin-block-end: clamp(2.5rem, 6vw, 3.5rem);
}

.lead-story__link {
	display: grid;
	gap: 1.5rem;
	color: inherit;
	text-decoration: none;
}

@media (min-width: 48rem) {
	.lead-story__link {
		grid-template-columns: 1.35fr 1fr;
		align-items: center;
		gap: 2.5rem;
	}
}

.lead-story__link:hover .media__img {
	transform: scale(1.04);
}

.lead-story__title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.75rem, 4.4vw, 2.75rem);
}

.lead-story__link:hover .lead-story__title {
	color: var(--accent-text);
}

.lead-story__excerpt {
	color: var(--text-soft);
	margin-block-end: 0.6rem;
}

/* =====================================================================
   8. Hero
   ===================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--surface-tint);
	border-radius: 0 0 var(--r-lg) var(--r-lg);
	padding-block: clamp(2.75rem, 7vw, 4.75rem);
}

/* A soft spectrum wash so the hero reads as the brightest thing on the page. */
.hero::before {
	content: "";
	position: absolute;
	inset-block-start: -30%;
	inset-inline-end: -15%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--grad-spectrum);
	opacity: 0.10;
	filter: blur(90px);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
}

@media (min-width: 52rem) {
	.hero__inner {
		grid-template-columns: 1fr 1.05fr;
	}
}

.hero__media .media {
	box-shadow: var(--shadow-lg);
}

/* A quiet lettered label reads more considered than a filled pill. */
.hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.15rem;
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--accent-2-text);
}

.hero__kicker::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--grad-rule);
}

.hero__name {
	margin: 0 0 0.6rem;
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: -0.022em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.hero__name a {
	color: inherit;
	text-decoration: none;
}

.hero__name a:hover {
	color: var(--accent-text);
}

.hero__meta {
	margin: 0 0 1rem;
	color: var(--accent-2-text);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hero__bio {
	color: var(--text-soft);
	font-size: 1.125rem;
	max-width: 44ch;
}

.hero__badges {
	margin-block: 1.25rem;
}

.hero__cta {
	margin-block-start: 0.5rem;
}

/* =====================================================================
   9. Badges and chips
   ===================================================================== */
.badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.3rem 0.8rem;
	border-radius: var(--r-pill);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	border: 1px solid transparent;
	background: var(--surface-tint);
	color: var(--accent-text);
	white-space: nowrap;
	transition: background var(--ease), color var(--ease);
}

a.badge:hover {
	background: var(--c-blue-solid);
	color: #FFFFFF;
}

html[data-theme="dark"] a.badge:hover {
	background: var(--c-blue-soft);
	color: #0D1024;
}

/* Verified — a blue check beside the name, label for screen readers. */
.badge--verified {
	background: transparent;
	border-color: transparent;
	color: var(--accent-text);
	padding: 0;
	flex: 0 0 auto;
}

.badge__icon {
	flex: 0 0 auto;
}

.badge--verified .badge__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* Trending — the orange spark. Ink text, not white: white on the orange end
   of this gradient is only 2.3:1, while ink clears 5.8:1 at the pink end and
   7.8:1 at the orange end. */
.badge--trending {
	background: linear-gradient(115deg, var(--c-pink) 0%, var(--c-orange) 100%);
	color: #14141A;
	border-color: transparent;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.badge__rank {
	opacity: 0.9;
}

.badge--style {
	background: var(--surface-tint-warm);
	color: var(--accent-2-text);
}

a.badge--style:hover {
	background: var(--c-pink-solid);
	color: #FFFFFF;
}

.badge--tag {
	background: transparent;
	border-color: var(--border);
	color: var(--text-muted);
}

/* =====================================================================
   10. Profile
   ===================================================================== */
.profile-hero {
	position: relative;
	margin-block-end: clamp(2rem, 5vw, 3rem);
	background: var(--surface-tint);
	border-radius: 0 0 var(--r-lg) var(--r-lg);
	overflow: hidden;
}

.profile-hero__cover {
	position: relative;
	aspect-ratio: 16 / 6;
	max-height: 320px;
	overflow: hidden;
}

.profile-hero__cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-hero__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(47, 107, 255, 0.1) 0%, transparent 40%, var(--surface-tint) 100%);
}

.profile-hero__inner {
	padding-block: clamp(1.5rem, 4vw, 2.25rem) clamp(2rem, 5vw, 3rem);
}

.profile-hero--has-cover .profile-hero__inner {
	position: relative;
	margin-block-start: -72px;
}

.profile-hero__content {
	display: grid;
	gap: clamp(1.5rem, 3.5vw, 2.5rem);
}

@media (min-width: 46rem) {
	.profile-hero__content {
		grid-template-columns: 240px minmax(0, 1fr);
		align-items: end;
	}
}

.profile-hero__portrait .media {
	max-width: 240px;
	box-shadow: var(--shadow-lg);
}

.profile-hero__photo-credit {
	margin: 0.5rem 0 0;
	max-width: 240px;
	font-size: 0.75rem;
	color: var(--text-muted);
}

.profile-hero__photo-credit a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.profile-hero__photo-credit a:hover {
	color: var(--accent-text);
}

.profile-hero__name {
	margin: 0 0 0.5rem;
	font-size: clamp(2.25rem, 7vw, 4rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.profile-hero__handle {
	margin: 0 0 0.65rem;
	color: var(--accent-text);
	font-size: 1rem;
	font-weight: 700;
}

.profile-hero__aliases {
	margin: 0 0 0.85rem;
	font-size: 0.9375rem;
	color: var(--text-muted);
}

.profile-hero__aliases-label {
	font-weight: 800;
	color: var(--text-soft);
	margin-inline-end: 0.4rem;
}

.profile-hero__bio {
	margin: 0 0 1rem;
	color: var(--text-soft);
	max-width: 58ch;
	font-size: 1.0625rem;
}

.profile-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.profile-hero__verified {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.profile__layout {
	display: grid;
	gap: clamp(2.5rem, 6vw, 3.5rem);
	align-items: start;
}

@media (min-width: 66rem) {
	.profile__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

.profile__main {
	min-width: 0;
	max-width: 780px;
}

.profile__aside {
	position: sticky;
	top: 1.5rem;
}

.profile__section {
	margin-block-end: clamp(2.5rem, 6vw, 3.5rem);
	scroll-margin-top: 100px;
}

/* Each profile heading gets a short colour bar instead of a full rule. */
.profile__heading {
	font-size: clamp(1.375rem, 3.2vw, 1.75rem);
	margin: 0 0 1.15rem;
	padding-block-start: 0.9rem;
	position: relative;
}

.profile__heading::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 32px;
	height: 2px;
	background: var(--grad-rule);
}

.profile__lede {
	font-size: 1.1875rem;
	line-height: 1.75;
	color: var(--text-soft);
}

.profile__prose {
	max-width: var(--measure);
}

.profile__prose > * + * {
	margin-block-start: 1.25em;
}

.profile__prose h2,
.profile__prose h3 {
	margin-block-start: 1.8em;
}

.profile__prose blockquote {
	margin-inline: 0;
	padding-inline-start: 1.5rem;
	border-inline-start: 4px solid var(--c-pink);
	font-family: var(--font-serif);
	font-size: 1.1875rem;
	color: var(--text-soft);
}

.profile__verified,
.profile__correction {
	font-size: 0.9375rem;
	color: var(--text-muted);
}

.profile__correction a {
	font-weight: 700;
}

/* Fact table — tinted rows, no heavy chrome. */
.fact-table__wrap {
	overflow-x: auto;
	border-radius: var(--r-md);
}

.fact-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.fact-table__row:nth-child(odd) {
	background: var(--surface-tint);
}

.fact-table__label,
.fact-table__value {
	padding: 0.85rem 1.15rem;
	text-align: start;
	vertical-align: top;
}

.fact-table__label {
	width: 38%;
	min-width: 140px;
	font-weight: 700;
	color: var(--text-muted);
	font-size: 0.9375rem;
}

.fact-table__value {
	color: var(--text);
	font-weight: 500;
}

.fact-table__source {
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--accent-3-text);
	margin-inline-start: 0.2rem;
}

.fact-table__source:hover {
	text-decoration: underline;
}

/* Known-for list */
.known-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.known-list__item {
	position: relative;
	padding-inline-start: 1.6rem;
	color: var(--text-soft);
}

.known-list__item::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 0.72em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--grad-rule);
}

/* Timeline */
.timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.4rem;
}

.timeline__item {
	display: grid;
	gap: 0.3rem 1.4rem;
	padding-inline-start: 1.4rem;
	border-inline-start: 3px solid var(--surface-tint);
	position: relative;
}

@media (min-width: 36rem) {
	.timeline__item {
		grid-template-columns: 92px minmax(0, 1fr);
	}
}

.timeline__item::before {
	content: "";
	position: absolute;
	inset-inline-start: -7px;
	inset-block-start: 0.55em;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--c-pink);
}

.timeline__year {
	font-weight: 800;
	color: var(--accent-text);
	font-variant-numeric: tabular-nums;
}

.timeline__title {
	margin: 0;
	font-weight: 700;
}

.timeline__detail {
	margin: 0.15rem 0 0;
	color: var(--text-soft);
	font-size: 0.9375rem;
}

.timeline__source {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--accent-3-text);
}

/* Official accounts */
.social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.7rem;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.social-link {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 0.9rem 1.15rem;
	border-radius: var(--r-md);
	text-decoration: none;
	color: inherit;
	background: var(--surface-tint);
	transition: background var(--ease), transform var(--ease);
}

.social-link:hover {
	background: var(--surface-tint-warm);
	transform: translateY(-2px);
	color: inherit;
}

.social-link__platform {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--accent-2-text);
}

.social-link__handle {
	font-weight: 700;
	word-break: break-all;
}

/* Sources */
.source-list {
	margin: 0 0 1.15rem;
	padding-inline-start: 1.35rem;
	font-size: 0.9375rem;
	display: grid;
	gap: 0.6rem;
}

.source-list__item a {
	word-break: break-word;
	font-weight: 600;
}

.source-list__date {
	color: var(--text-muted);
	font-size: 0.8125rem;
	margin-inline-start: 0.4rem;
}

/* FAQ */
.faq {
	display: grid;
	gap: 0.6rem;
}

.faq__item {
	border-radius: var(--r-md);
	background: var(--surface-tint);
	overflow: hidden;
}

.faq__question {
	cursor: pointer;
	padding: 1rem 3rem 1rem 1.25rem;
	font-weight: 700;
	list-style: none;
	position: relative;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question::after {
	content: "+";
	position: absolute;
	inset-inline-end: 1.25rem;
	inset-block-start: 0.85rem;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--accent-2-text);
	font-weight: 700;
}

.faq__item[open] .faq__question::after {
	content: "−";
}

.faq__answer {
	padding: 0 1.25rem 1.15rem;
	color: var(--text-soft);
}

.faq__answer p {
	margin: 0;
}

/* =====================================================================
   11. Gallery grid (lightbox lives in gallery.css)
   ===================================================================== */
.gallery__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.gallery__trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	border-radius: var(--r-md);
}

.gallery__trigger .media {
	transition: transform var(--ease), box-shadow var(--ease);
}

.gallery__trigger:hover .media {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.gallery__trigger:hover .media__img {
	transform: scale(1.05);
}

.gallery__credits {
	margin-block-start: 1.15rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.gallery__credits-label {
	font-weight: 800;
	color: var(--text-soft);
	margin-inline-end: 0.3rem;
}

/* =====================================================================
   11b. Photo albums — mobile first
   ===================================================================== */

/* Photo count beside the section heading. */
.profile__heading-count {
	display: inline-flex;
	align-items: center;
	margin-inline-start: 0.7rem;
	color: var(--text-muted);
	font-family: var(--font-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	vertical-align: middle;
}

.albums {
	display: grid;
	gap: clamp(2rem, 5vw, 3rem);
}

.album__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-block-end: 0.9rem;
}

.album__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: -0.015em;
}

.album__meta {
	margin: 0.1rem 0 0;
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	font-weight: 700;
}

.album__description {
	margin: 0 0 0.9rem;
	color: var(--text-soft);
	font-size: 0.9375rem;
}

/*
 * Two columns on a phone: big enough to actually see a face, and a
 * comfortable tap target. Wider screens simply fit more of the same size
 * rather than stretching each photo.
 */
.album__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/*
 * The opening photo runs full width and wide, the way a magazine opens a
 * spread. Everything after it falls into the regular grid, so the set still
 * reads as one album rather than a wall of equal tiles.
 */
.album__item:first-child {
	grid-column: 1 / -1;
}

.album__item:first-child .media {
	aspect-ratio: 4 / 3;
}

@media (min-width: 30rem) {
	.album__grid {
		gap: 0.75rem;
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}

	.album__item:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}

	.album__item:first-child .media {
		aspect-ratio: 1 / 1;
	}
}

@media (min-width: 48rem) {
	.album__grid {
		gap: 0.85rem;
		grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
	}
}

.album__item[hidden] {
	display: none;
}

.album__trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	border-radius: var(--r-sm);
	overflow: hidden;
	/* Comfortably above the 44px minimum at every breakpoint. */
	min-height: 44px;
}

.album__trigger .media {
	border-radius: var(--r-sm);
	transition: transform var(--ease);
}

.album__trigger:hover .media__img,
.album__trigger:focus-visible .media__img {
	transform: scale(1.06);
}

.album__more {
	margin-block-start: 1rem;
	text-align: center;
}

/* Hover lift is a pointer affordance; on touch it just causes jitter. */
@media (hover: none) {
	.album__trigger:hover .media__img {
		transform: none;
	}
}

/* Source link inside the lightbox. */
.lightbox__source {
	color: #7BA0FF;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.lightbox__source[hidden] {
	display: none;
}

/* =====================================================================
   12. Video click-to-load
   ===================================================================== */
.video__poster {
	position: relative;
	cursor: pointer;
	background: var(--surface-tint);
}

.video__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: linear-gradient(to top, rgba(13, 16, 36, 0.55), rgba(13, 16, 36, 0.05));
	cursor: pointer;
	color: #FFFFFF;
	width: 100%;
}

.video__play-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--grad-button);
	box-shadow: 0 6px 24px rgba(47, 107, 255, 0.45);
	transition: transform var(--ease);
}

.video__play:hover .video__play-icon {
	transform: scale(1.1);
}

.video__frame {
	width: 100%;
	height: 100%;
	border: 0;
	position: absolute;
	inset: 0;
}

.video-note {
	margin-block-start: 1.15rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}

/* Instagram click-to-load card. No poster photo is available before the
   click (the tokenless oEmbed response carries none) so the card itself is
   the brand's own gradient tile rather than a photo standing in for one. */
.card--instagram {
	border-radius: var(--r-md);
	overflow: hidden;
}

.instagram-poster {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	aspect-ratio: 4 / 5;
	padding: 1.5rem;
	text-align: center;
	background: linear-gradient(145deg, var(--c-blue) 0%, var(--c-pink) 55%, var(--c-orange) 100%);
	color: #FFFFFF;
}

.instagram-poster__play {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	padding: 0;
	font: inherit;
}

.instagram-poster__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, 0.18);
	border: 2px solid rgba(255, 255, 255, 0.55);
	transition: transform var(--ease), background var(--ease);
}

.instagram-poster__play:hover .instagram-poster__icon {
	transform: scale(1.08);
	background: rgba(255, 255, 255, 0.3);
}

.instagram-poster__label {
	font-size: 0.9375rem;
	font-weight: 800;
}

.instagram-poster__caption {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.9);
	max-width: 30ch;
}

.card--instagram template {
	display: none;
}

/* Once revealed, Instagram's own blockquote replaces the poster — reset the
   wrapper so its embed can size itself. */
.card--instagram blockquote.instagram-media {
	margin: 0 !important;
	width: 100% !important;
}

/* =====================================================================
   13. Search and autocomplete
   ===================================================================== */
.search-form {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.search-form__field {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border: 2px solid transparent;
	border-radius: var(--r-pill);
	padding-inline: 1rem;
	background: var(--surface-tint);
	transition: border-color var(--ease), background var(--ease);
}

.search-form__field:focus-within {
	border-color: var(--c-blue);
	background: var(--surface);
}

.search-form__icon {
	flex: 0 0 auto;
	color: var(--accent-text);
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1rem;
	padding-block: 0.65rem;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.search-form__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.search-form__submit {
	border: 0;
	background: transparent;
	color: var(--accent-text);
	cursor: pointer;
	font-size: 1.1rem;
	font-weight: 800;
	padding: 0.4rem;
	line-height: 1;
}

.search-form__submit:hover {
	color: var(--accent-2-text);
}

.search-suggest {
	position: absolute;
	inset-inline: 0;
	inset-block-start: calc(100% + 0.6rem);
	background: var(--surface-raised);
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-lg);
	z-index: 60;
	overflow: hidden auto;
	max-height: 62vh;
}

.search-suggest[hidden] {
	display: none;
}

.suggest__item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.7rem 1rem;
	text-decoration: none;
	color: inherit;
	border-block-end: 1px solid var(--border);
}

.suggest__item:last-child {
	border-block-end: 0;
}

.suggest__item:hover,
.suggest__item.is-active {
	background: var(--surface-tint);
	color: var(--accent-text);
}

.suggest__thumb {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	background: var(--surface-tint);
}

.suggest__body {
	min-width: 0;
}

.suggest__title {
	display: block;
	font-weight: 700;
	font-size: 0.9375rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.suggest__sub {
	display: block;
	font-size: 0.8125rem;
	color: var(--text-muted);
}

.suggest__empty {
	padding: 1rem;
	color: var(--text-muted);
	font-size: 0.9375rem;
	margin: 0;
}

/* =====================================================================
   14. Filter bar
   ===================================================================== */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem 1.25rem;
	padding: 1.25rem;
	margin-block-end: clamp(2rem, 4vw, 2.75rem);
	border-radius: var(--r-lg);
	background: var(--surface-tint);
}

.filter-bar__group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	flex: 1 1 auto;
}

.filter-bar__field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	flex: 1 1 140px;
	min-width: 0;
}

.filter-bar__label {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--text-muted);
}

.filter-bar__select {
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	padding: 0.6rem 0.8rem;
	border: 2px solid transparent;
	border-radius: var(--r-pill);
	background: var(--surface);
	color: inherit;
	min-height: 44px;
	cursor: pointer;
	transition: border-color var(--ease);
}

.filter-bar__select:hover {
	border-color: var(--border-strong);
}

.filter-bar__select:focus {
	border-color: var(--c-blue);
	outline: none;
}

.filter-bar__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.filter-bar__reset {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--accent-2-text);
}

/* =====================================================================
   15. Buttons
   ===================================================================== */
.button,
button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.85rem 1.85rem;
	min-height: 48px;
	border: 2px solid transparent;
	border-radius: var(--r-pill);
	background: var(--grad-button);
	color: #FFFFFF;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.button:hover {
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(214, 46, 112, 0.35);
}

/*
 * `button.button` above carries an element selector, so it outranks a bare
 * `.button--ghost`. The modifier has to match that specificity or a <button>
 * silently keeps the filled style while an <a> honours the modifier.
 */
.button--ghost,
button.button--ghost {
	background: none;
	background-color: transparent;
	border-color: var(--border-strong);
	color: var(--text);
}

.button--ghost:hover,
button.button--ghost:hover {
	background: none;
	background-color: transparent;
	border-color: var(--c-blue);
	color: var(--accent-text);
	box-shadow: none;
	transform: translateY(-1px);
}

.button--small,
button.button--small {
	padding: 0.6rem 1.35rem;
	font-size: 0.9375rem;
	min-height: 44px;
}

/* =====================================================================
   16. Breadcrumb, pagination, load more
   ===================================================================== */
.breadcrumb {
	margin-block-end: 1.5rem;
	font-size: 0.875rem;
}

.breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	color: var(--text-muted);
}

.breadcrumb__link {
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 600;
}

.breadcrumb__link:hover {
	color: var(--accent-text);
	text-decoration: underline;
}

.breadcrumb__sep {
	color: var(--border-strong);
}

.breadcrumb__current {
	color: var(--text);
	font-weight: 700;
}

.pagination {
	margin-block-start: clamp(2.5rem, 5vw, 3.5rem);
}

.pagination__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: center;
}

.pagination__item .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	min-height: 46px;
	padding-inline: 0.6rem;
	border-radius: var(--r-pill);
	background: var(--surface-tint);
	text-decoration: none;
	color: var(--text);
	font-size: 1rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	transition: background var(--ease), color var(--ease);
}

.pagination__item .page-numbers:hover {
	background: var(--c-blue-solid);
	color: #FFFFFF;
}

.pagination__item .page-numbers.current {
	background: var(--c-blue-solid);
	color: #FFFFFF;
}

.pagination__item .page-numbers.dots {
	background: transparent;
	color: var(--text-muted);
}

.load-more {
	margin-block-start: 2rem;
	text-align: center;
}

.load-more__status {
	margin: 0.85rem 0 0;
	font-size: 0.9375rem;
	color: var(--text-muted);
	min-height: 1.5em;
}

/* =====================================================================
   17. Share
   ===================================================================== */
.share {
	margin-block: clamp(2.5rem, 5vw, 3.5rem);
	padding: 1.5rem;
	border-radius: var(--r-lg);
	background: var(--surface-tint);
}

.share__title {
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	font-weight: 800;
}

.share__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.share__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 1.15rem;
	border: 2px solid transparent;
	border-radius: var(--r-pill);
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--ease), color var(--ease);
}

.share__link:hover {
	background: var(--c-blue-solid);
	color: #FFFFFF;
}

.share__copy:hover {
	background: var(--c-pink-solid);
}

.share__status {
	margin: 0.7rem 0 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--accent-3-text);
	min-height: 1.4em;
}

/* =====================================================================
   18. Entry / archive headers
   ===================================================================== */
.entry {
	min-width: 0;
}

.entry__header {
	margin-block-end: 1.75rem;
	max-width: var(--measure);
}

.entry__kicker {
	margin: 0 0 0.7rem;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 800;
}

.entry__kicker a {
	color: var(--accent-3-text);
	text-decoration: none;
}

.entry__kicker a:hover {
	text-decoration: underline;
}

.entry__title {
	margin: 0 0 0.85rem;
	font-size: clamp(2.125rem, 5.4vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.entry__lede {
	font-size: 1.1875rem;
	color: var(--text-soft);
	line-height: 1.7;
}

.entry__meta {
	margin: 0;
	font-size: 0.875rem;
	color: var(--text-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	font-weight: 600;
}

.entry__sep {
	color: var(--c-pink);
}

.entry__media {
	margin: 0 0 2.25rem;
}

.entry__image {
	width: 100%;
	border-radius: var(--r-lg);
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.entry__caption {
	margin-block-start: 0.7rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.entry__content {
	font-size: 1.0625rem;
}

.entry__related {
	margin-block-start: clamp(2.5rem, 5vw, 3.5rem);
}

.page-links {
	margin-block-start: 1.75rem;
	font-size: 0.9375rem;
	display: flex;
	gap: 0.6rem;
}

.archive-header {
	margin-block-end: clamp(1.75rem, 4vw, 2.5rem);
	max-width: var(--measure);
}

.archive-header__kicker {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--accent-3-text);
}

.archive-header__title {
	margin: 0 0 0.6rem;
	font-size: clamp(2rem, 5.2vw, 3rem);
}

.archive-header__intro {
	color: var(--text-soft);
	font-size: 1.0625rem;
}

.archive-header__count {
	margin: 0.5rem 0 0;
	display: inline-flex;
	padding: 0.2rem 0.8rem;
	border-radius: var(--r-pill);
	background: var(--surface-tint);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--accent-text);
	font-variant-numeric: tabular-nums;
}

.archive-header__search {
	margin-block-start: 1.5rem;
	max-width: 440px;
}

.archive-header--404 .archive-header__kicker {
	font-size: clamp(3rem, 12vw, 5rem);
	letter-spacing: -0.04em;
	line-height: 1;
	background: var(--grad-spectrum);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-transform: none;
	margin-block-end: 0.5rem;
}

.author-card {
	display: flex;
	gap: 1.4rem;
	align-items: flex-start;
}

.author-card__avatar {
	border-radius: 50%;
	flex: 0 0 auto;
	border: 3px solid var(--c-pink);
}

.author-card__bio {
	color: var(--text-soft);
	margin: 0;
	max-width: 58ch;
}

/* =====================================================================
   19. Browse-by chips
   ===================================================================== */
.term-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.term-chip {
	display: inline-flex;
	align-items: baseline;
	gap: 0.55rem;
	padding: 0.7rem 1.35rem;
	border-radius: var(--r-pill);
	text-decoration: none;
	color: var(--text);
	background: var(--surface-tint);
	transition: background var(--ease), color var(--ease), transform var(--ease);
	min-height: 48px;
}

.term-chip:hover {
	background: var(--c-blue-solid);
	color: #FFFFFF;
	transform: translateY(-2px);
}

.term-chip__name {
	font-weight: 700;
	font-size: 1rem;
}

.term-chip__count {
	font-size: 0.8125rem;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.term-chip:hover .term-chip__count {
	color: rgba(255, 255, 255, 0.85);
}

/* =====================================================================
   20. Empty state, skeleton, advisory, ads
   ===================================================================== */
.empty-state {
	text-align: center;
	padding: clamp(3rem, 9vw, 5rem) 1.5rem;
	border-radius: var(--r-lg);
	background: var(--surface-tint);
}

.empty-state__title {
	margin: 0 0 0.6rem;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.empty-state__message {
	margin: 0 auto 1.75rem;
	max-width: 46ch;
	color: var(--text-muted);
}

.skeleton-grid {
	margin-block-start: 1.75rem;
}

.skeleton__media {
	aspect-ratio: 4 / 5;
	border-radius: var(--r-md);
	margin-block-end: 0.85rem;
}

.skeleton__line {
	height: 0.7rem;
	border-radius: var(--r-pill);
	margin-block-end: 0.5rem;
	width: 70%;
}

.skeleton__line--title {
	height: 0.95rem;
	width: 90%;
}

.skeleton__media,
.skeleton__line {
	background: linear-gradient(90deg, var(--skeleton) 25%, var(--skeleton-shine) 37%, var(--skeleton) 63%);
	background-size: 400% 100%;
	animation: nuuu-shimmer 1.4s ease-in-out infinite;
}

@keyframes nuuu-shimmer {
	0% { background-position: 100% 50%; }
	100% { background-position: 0 50%; }
}

.advisory {
	margin: 0 0 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.3rem 0.9rem;
	border-radius: var(--r-pill);
	background: var(--surface-tint-warm);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--accent-2-text);
}

.advisory__mark {
	font-size: 1.1em;
	line-height: 1;
}

/* Slots reserve height up front so a late ad never shifts the page. */
.ad {
	margin-block: 2.5rem;
	text-align: center;
}

.ad__label {
	margin: 0 0 0.45rem;
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	font-weight: 700;
}

.ad__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--surface-tint);
	border-radius: var(--r-md);
}

.ad--leaderboard .ad__inner {
	min-height: 100px;
}

@media (min-width: 48rem) {
	.ad--leaderboard .ad__inner {
		min-height: 90px;
	}
}

.ad--rectangle .ad__inner {
	min-height: 250px;
}

.ad--inline .ad__inner {
	min-height: 120px;
}

/* =====================================================================
   21. Widgets, comments, footer
   ===================================================================== */
.widget {
	margin-block-end: 2.25rem;
}

.widget__title {
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--text-muted);
	margin: 0 0 0.85rem;
	padding-block-end: 0.6rem;
	position: relative;
}

.widget__title::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-end: 0;
	width: 28px;
	height: 2px;
	background: var(--grad-rule);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
	font-size: 0.9375rem;
}

.comments {
	margin-block-start: clamp(3rem, 6vw, 4rem);
}

.comments__title {
	font-size: 1.375rem;
	margin: 0 0 1.35rem;
}

.comments__list {
	list-style: none;
	margin: 0 0 2.25rem;
	padding: 0;
	display: grid;
	gap: 1.5rem;
}

.comments__list .children {
	list-style: none;
	margin: 1.35rem 0 0;
	padding-inline-start: clamp(1rem, 4vw, 2rem);
	border-inline-start: 3px solid var(--surface-tint);
	display: grid;
	gap: 1.35rem;
}

.comment-body {
	font-size: 1rem;
}

.comment-meta {
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-block-end: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	font: inherit;
	padding: 0.8rem 1rem;
	border: 2px solid transparent;
	border-radius: var(--r-sm);
	background: var(--surface-tint);
	color: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--c-blue);
	outline: none;
}

.comment-form__notes {
	font-size: 0.9375rem;
	color: var(--text-muted);
}

.comment-form .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.85rem;
	min-height: 48px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--grad-button);
	color: #FFFFFF;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.site-footer {
	flex: 0 0 auto;
	background: var(--surface-tint);
	padding-block: clamp(3rem, 7vw, 4.5rem) 2.25rem;
	font-size: 1rem;
	position: relative;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 1px;
	background: var(--border);
}

.site-footer__note {
	max-width: 58ch;
	color: var(--text-soft);
	font-size: 0.9375rem;
	margin-block-end: 2.25rem;
}

.site-footer__widgets {
	display: grid;
	gap: 2.25rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-block-end: 2.75rem;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.25rem;
	align-items: center;
	justify-content: space-between;
	padding-block-start: 1.75rem;
	border-block-start: 1px solid var(--border);
}

.site-footer__copyright {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.875rem;
	font-weight: 600;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.35rem;
	font-size: 0.875rem;
}

.site-footer__list a {
	color: var(--text-soft);
	text-decoration: none;
	font-weight: 600;
}

.site-footer__list a:hover {
	color: var(--accent-text);
	text-decoration: underline;
}

/* =====================================================================
   22. Print
   ===================================================================== */
@media print {
	.site-header,
	.site-footer,
	.share,
	.ad,
	.load-more,
	.pagination,
	.filter-bar,
	.discovery-nav {
		display: none !important;
	}

	body {
		background: #FFFFFF;
		color: #000000;
	}
}
