/* ==========================================================================
   Component: Hero
   Version: 3.2.6 (50+ Interaction Patch)
   Owner: assets/css/components/hero.css

   Scope
   - Global TDS hero system
   - Homepage barycenter hero
   - Pillar heroes
   - Service/detail heroes
   - Deep-space motif presentation

   Rules
   - Component-owned only
   - No page-specific composition
   - No legacy hero-section / carousel / banner systems
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--tds-hero-kicker-size: var(--tds-type-size-label);
	--tds-hero-kicker-line: var(--tds-type-line-label);
	--tds-hero-kicker-track: var(--tds-type-track-label);

	--tds-hero-title-size-feature: var(--tds-type-display);
	--tds-hero-title-size-standard: var(--tds-type-display);
	--tds-hero-title-size-compact: var(--tds-type-display);

	--tds-hero-title-line: var(--tds-type-line-display);
	--tds-hero-title-track: var(--tds-type-track-display);

	--tds-hero-subtitle-size-feature: var(--tds-type-size-lead);
	--tds-hero-subtitle-size-standard: var(--tds-type-size-lead);
	--tds-hero-subtitle-size-compact: var(--tds-type-size-lead);
	--tds-hero-subtitle-line: var(--tds-type-line-lead);

	--tds-hero-kicker-gap: 0.9rem;
	--tds-hero-title-gap: 1.15rem;
	--tds-hero-cta-gap: 1.5rem;

	--tds-hero-measure-title-feature: 13ch;
	--tds-hero-measure-title-standard: 14.5ch;
	--tds-hero-measure-title-compact: 16ch;
	--tds-hero-measure-subtitle: 54ch;

	--tds-hero-min-h-feature: 38rem;
	--tds-hero-min-h-standard: 31rem;
	--tds-hero-min-h-compact: 22rem;

	--tds-hero-copy-max: 40rem;
	--tds-hero-copy-max-home: 42rem;
	--tds-hero-copy-max-journal: 41rem;

	--tds-hero-copy-pad-y-feature: 3.75rem;
	--tds-hero-copy-pad-y-standard: 3.25rem;
	--tds-hero-copy-pad-y-compact: 2.5rem;

	--tds-hero-surface-light-start: rgba(248, 250, 252, 0.96);
	--tds-hero-surface-light-end: rgba(255, 255, 255, 1);
	--tds-hero-surface-dark-start: rgba(11, 17, 32, 0.78);
	--tds-hero-surface-dark-end: rgba(11, 17, 32, 0.9);

	--tds-hero-dark-kicker: #fca5a5;
	--tds-hero-dark-title: #ffffff;
	--tds-hero-dark-subtitle: rgba(255, 255, 255, 0.86);

	--tds-hero-motif-width-desktop: min(52vw, 52rem);
	--tds-hero-motif-width-wide: min(58vw, 58rem);
	--tds-hero-motif-opacity-mobile: 0.2;

	/* Shared motif visibility grammar
	   Uniform default, engaged, and deep-space presentation.
	   These govern visibility and color treatment only, not motif behavior. */
	--tds-hero-motif-blend: normal;
	--tds-hero-motif-canvas-opacity: 1;
	--tds-hero-motif-canvas-filter: contrast(1.22) saturate(1.1) brightness(1.14);

	--tds-hero-motif-deep-opacity: 1;
	--tds-hero-motif-deep-filter: invert(1) hue-rotate(180deg) brightness(1.6) contrast(1.3);
	--tds-hero-motif-deep-blend: screen;

	--tds-hero-motif-hover-filter: contrast(1.42) saturate(1.22) brightness(1.32);
	--tds-hero-motif-engaged-opacity: 1;

	--tds-hero-motif-drag-filter: contrast(1.56) saturate(1.28) brightness(1.4);

	--tds-hero-motif-mask-start: 4%;
	--tds-hero-motif-mask-solid: 82%;
	--tds-hero-motif-mask-end: 100%;

	--tds-hero-motif-focus-x: 76%;
	--tds-hero-motif-focus-y: 50%;
}

/* ==========================================================================
   2. Base shell
   ========================================================================== */

.uh-hero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: clip;
	isolation: isolate;
	background: #f8fafc;
	padding-top: var(--uh-dynamic-header-height, 4.5rem);
	min-height: var(--tds-hero-min-h-standard);
	border-bottom: none;
}

.uh-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.uh-hero__row {
	min-height: inherit;
	align-items: center;
}

.uh-hero__copy,
.uh-hero__body {
	position: relative;
	min-width: 0;
	max-width: var(--tds-hero-copy-max);
}

/* ==========================================================================
   3. Surface layers
   ========================================================================== */

.uh-hero__surface {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(
		180deg,
		var(--tds-hero-surface-light-start) 0%,
		var(--tds-hero-surface-light-end) 100%
	);
	pointer-events: none;
}

/* ==========================================================================
   4. Content typography
   ========================================================================== */

.uh-hero__kicker {
	margin: 0 0 var(--tds-hero-kicker-gap);
	font-family: var(--tds-font-system);
	font-size: var(--tds-hero-kicker-size);
	line-height: var(--tds-hero-kicker-line);
	font-weight: var(--tds-weight-medium);
	letter-spacing: var(--tds-hero-kicker-track);
	text-transform: uppercase;
	color: var(--tds-brand-strong);
}

.uh-hero__title {
	display: block;
	margin: 0;
	font-family: var(--tds-font-system);
	font-weight: var(--tds-weight-semibold);
	font-size: var(--tds-hero-title-size-standard);
	line-height: var(--tds-hero-title-line);
	letter-spacing: var(--tds-hero-title-track);
	color: var(--tds-text-main);
	max-width: var(--tds-hero-measure-title-standard);
	text-wrap: balance;
}

.uh-hero__subtitle {
	margin: var(--tds-hero-title-gap) 0 0;
	max-width: var(--tds-hero-measure-subtitle);
	font-size: var(--tds-hero-subtitle-size-standard);
	line-height: var(--tds-hero-subtitle-line);
	color: var(--tds-text-muted);
	text-wrap: pretty;
}

.uh-hero__actions {
	margin-top: var(--tds-hero-cta-gap);
}

/* Actions: Responsive Motor-Control Safety */
.uh-actions--split-2 {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.uh-actions--split-2 .btn {
	width: 100%;
	min-height: var(--tds-tap-target-min);
}

.uh-hero__actions.uh-actions--single:has(.btn:nth-of-type(2)) {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.uh-hero__actions.uh-actions--single:has(.btn:nth-of-type(2)) .btn {
	width: 100%;
	min-height: var(--tds-tap-target-min);
}

@media (min-width: 992px) {
	.uh-actions--split-2,
	.uh-hero__actions.uh-actions--single:has(.btn:nth-of-type(2)) {
		flex-direction: row;
		align-items: center;
		width: auto;
	}

	.uh-actions--split-2 .btn,
	.uh-hero__actions.uh-actions--single:has(.btn:nth-of-type(2)) .btn {
		width: auto;
		min-width: 180px;
	}
}

/* ==========================================================================
   5. Title line control
   Two authored lines only. Prevent unintended internal wrapping.
   ========================================================================== */

.uh-hero__title-line {
	display: block;
	max-width: 100%;
	white-space: nowrap;
	text-wrap: normal;
	overflow-wrap: normal;
	word-break: keep-all;
	hyphens: none;
}

.uh-hero__title-line + .uh-hero__title-line {
	margin-top: 0.04em;
}

.uh-hero--feature .uh-hero__title-line + .uh-hero__title-line {
	margin-top: 0.02em;
}

/* ==========================================================================
   6. Background media
   ========================================================================== */

.uh-hero__bg-video,
.uh-hero__video-overlay,
.uh-hero__motif {
	position: absolute;
	inset: 0;
}

.uh-hero__bg-video {
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.uh-hero__video-overlay {
	z-index: 1;
	background: rgba(11, 17, 32, 0.74);
	pointer-events: none;
}

/* ==========================================================================
   7. Motif system
   ========================================================================== */

.uh-hero__motif {
	top: 0;
	right: 0;
	left: auto;
	z-index: 1;
	width: var(--tds-hero-motif-width-desktop);
	height: 100%;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(
		circle at var(--tds-hero-motif-focus-x) var(--tds-hero-motif-focus-y),
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.28) var(--tds-hero-motif-mask-start),
		rgba(0, 0, 0, 0.92) var(--tds-hero-motif-mask-solid),
		rgba(0, 0, 0, 0) var(--tds-hero-motif-mask-end)
	);
	mask-image: radial-gradient(
		circle at var(--tds-hero-motif-focus-x) var(--tds-hero-motif-focus-y),
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.28) var(--tds-hero-motif-mask-start),
		rgba(0, 0, 0, 0.92) var(--tds-hero-motif-mask-solid),
		rgba(0, 0, 0, 0) var(--tds-hero-motif-mask-end)
	);
}

.uh-hero__motif canvas {
	display: block;
	width: 100%;
	height: 100%;
	opacity: var(--tds-hero-motif-canvas-opacity);
	filter: var(--tds-hero-motif-canvas-filter);
	mix-blend-mode: var(--tds-hero-motif-blend);
	transition:
		filter 0.35s ease,
		opacity 0.35s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.uh-hero:hover .uh-hero__motif canvas,
	.uh-hero:focus-within .uh-hero__motif canvas,
	.uh-hero.is-motif-active .uh-hero__motif canvas {
		filter: var(--tds-hero-motif-hover-filter);
		opacity: var(--tds-hero-motif-engaged-opacity);
	}

	.uh-hero.is-motif-dragging .uh-hero__motif canvas {
		filter: var(--tds-hero-motif-drag-filter);
		opacity: var(--tds-hero-motif-engaged-opacity);
	}
}

/* ==========================================================================
   8. Size variants
   ========================================================================== */

.uh-hero--feature {
	min-height: var(--tds-hero-min-h-feature);
}

.uh-hero--feature .uh-hero__copy,
.uh-hero--feature .uh-hero__body {
	padding-block: var(--tds-hero-copy-pad-y-feature);
}

.uh-hero--feature .uh-hero__title {
	font-size: var(--tds-hero-title-size-feature);
	max-width: var(--tds-hero-measure-title-feature);
}

.uh-hero--feature .uh-hero__subtitle {
	font-size: var(--tds-hero-subtitle-size-feature);
}

.uh-hero--standard {
	min-height: var(--tds-hero-min-h-standard);
}

.uh-hero--standard .uh-hero__copy,
.uh-hero--standard .uh-hero__body {
	padding-block: var(--tds-hero-copy-pad-y-standard);
}

.uh-hero--standard .uh-hero__title {
	font-size: var(--tds-hero-title-size-standard);
	max-width: var(--tds-hero-measure-title-standard);
}

.uh-hero--standard .uh-hero__subtitle {
	font-size: var(--tds-hero-subtitle-size-standard);
}

.uh-hero--compact {
	min-height: var(--tds-hero-min-h-compact);
}

.uh-hero--compact .uh-hero__copy,
.uh-hero--compact .uh-hero__body {
	padding-block: var(--tds-hero-copy-pad-y-compact);
}

.uh-hero--compact .uh-hero__title {
	font-size: var(--tds-hero-title-size-compact);
	max-width: var(--tds-hero-measure-title-compact);
}

.uh-hero--compact .uh-hero__subtitle {
	font-size: var(--tds-hero-subtitle-size-compact);
}

/* ==========================================================================
   9. Intent modifiers
   ========================================================================== */

.uh-hero--home .uh-hero__copy,
.uh-hero--home .uh-hero__body {
	max-width: var(--tds-hero-copy-max-home);
}

.uh-hero--journal .uh-hero__copy,
.uh-hero--journal .uh-hero__body {
	max-width: var(--tds-hero-copy-max-journal);
}

.uh-hero--journal .uh-hero__subtitle {
	max-width: 56ch;
}

.uh-hero--about .uh-hero__subtitle {
	max-width: 58ch;
}

/* ==========================================================================
   10. Deep-space / video states
   ========================================================================== */

section.uh-hero.uh-hero--deep-space {
	background: #0b1120 !important;
	background-color: #0b1120 !important;
	background-image: none !important;
	border-bottom: none !important;
}

section.uh-hero.uh-hero--deep-space::before,
section.uh-hero.uh-hero--deep-space::after {
	display: none !important;
	background: none !important;
}

section.uh-hero.uh-hero--deep-space .uh-hero__surface,
section.uh-hero.uh-hero--has-video .uh-hero__surface {
	background: linear-gradient(
		180deg,
		var(--tds-hero-surface-dark-start) 0%,
		var(--tds-hero-surface-dark-end) 100%
	);
}

section.uh-hero.uh-hero--deep-space h1,
section.uh-hero.uh-hero--deep-space p:not(.uh-hero__identifiers),
section.uh-hero.uh-hero--deep-space .uh-hero__title,
section.uh-hero.uh-hero--deep-space .uh-hero__subtitle,
section.uh-hero.uh-hero--has-video .uh-hero__title,
section.uh-hero.uh-hero--has-video .uh-hero__subtitle {
	color: var(--tds-hero-dark-title);
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

section.uh-hero.uh-hero--deep-space .uh-kicker,
section.uh-hero.uh-hero--deep-space #uh-hero-kicker,
section.uh-hero.uh-hero--deep-space .uh-hero__kicker,
section.uh-hero.uh-hero--has-video .uh-hero__kicker {
	color: var(--tds-hero-dark-kicker) !important;
}

section.uh-hero.uh-hero--deep-space .uh-hero__motif {
	width: 100% !important;
	--tds-hero-motif-focus-x: 76%;
	--tds-hero-motif-focus-y: 50%;
	--tds-hero-motif-mask-start: 8%;
	--tds-hero-motif-mask-solid: 68%;
	--tds-hero-motif-mask-end: 100%;
}

section.uh-hero.uh-hero--deep-space .uh-hero__motif canvas {
	filter: var(--tds-hero-motif-deep-filter) !important;
	mix-blend-mode: var(--tds-hero-motif-deep-blend) !important;
	opacity: var(--tds-hero-motif-deep-opacity) !important;
}

/* ==========================================================================
   11. Motif canvas mapping
   Basic uniformity pass:
   - preserve engine behavior
   - unify visibility, color treatment, and emphasis
   - keep only compositional differences that help layout
   ========================================================================== */

#uh-home-convergent-canvas,
#uh-uxlab-cortex-canvas,
#uh-institute-motif-canvas,
#uh-journal-nexus-canvas,
#uh-about-blueprint-canvas {
	opacity: 1 !important;
	filter: var(--tds-hero-motif-canvas-filter);
	mix-blend-mode: var(--tds-hero-motif-blend) !important;
	image-rendering: auto;
}

.uh-hero:has(#uh-home-convergent-canvas) .uh-hero__motif {
	width: var(--tds-hero-motif-width-wide);
}

.uh-hero:has(#uh-uxlab-cortex-canvas) .uh-hero__motif,
.uh-hero:has(#uh-institute-motif-canvas) .uh-hero__motif,
.uh-hero:has(#uh-journal-nexus-canvas) .uh-hero__motif,
.uh-hero:has(#uh-about-blueprint-canvas) .uh-hero__motif {
	width: 100%;
}

/* ==========================================================================
   12. Motion
   ========================================================================== */

.uh-hero__body,
.uh-hero__copy,
.uh-hero__motif {
	animation: uhHeroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes uhHeroFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   13. Onboarding signifier
   ========================================================================== */

.uh-hero__signifier {
	position: absolute;
	right: 40px;
	bottom: 96px;
	font-family: var(--tds-font-system);
	font-size: var(--tds-type-size-label);
	font-weight: var(--tds-weight-medium);
	letter-spacing: var(--tds-type-track-label);
	color: rgba(255, 255, 255, 0.96);
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
	z-index: 3;
	opacity: 0;
	transform: translateY(8px);
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.45),
		0 0 6px rgba(0, 0, 0, 0.25);
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
	transition:
		opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.uh-hero.is-onboarding-visible .uh-hero__signifier {
	opacity: 1;
	transform: translateY(0);
}

.uh-hero.is-onboarding-exit .uh-hero__signifier {
	opacity: 0;
	transform: translateY(4px);
}

.uh-hero.is-onboarding-visible.is-onboarding-stable .uh-hero__signifier {
	animation: uhSignifierPulse 3.2s ease-in-out infinite;
}

@keyframes uhSignifierPulse {
	0%,
	100% {
		filter: brightness(1);
	}

	50% {
		filter: brightness(1.18);
	}
}

/* ==========================================================================
   14. Adaptive hero experience
   Mobile-only cinematic and clarity tiers.
   Desktop behavior remains unchanged.
   ========================================================================== */

@media (max-width: 767.98px) {
	.uh-hero--adaptive-experience {
		min-height: clamp(34rem, 82svh, 42rem);
	}

	.uh-hero--adaptive-experience .uh-hero__motif,
	.uh-hero--adaptive-experience .uh-hero__motif canvas {
		pointer-events: none !important;
		touch-action: pan-y;
	}

	.uh-hero--adaptive-experience .uh-hero__motif {
		width: 100%;
		opacity: 0.2;
		transform: none;
		transform-origin: 75% 45%;
		-webkit-mask-image: radial-gradient(
			circle at 78% 42%,
			rgba(0, 0, 0, 0.82) 0%,
			rgba(0, 0, 0, 0.56) 42%,
			rgba(0, 0, 0, 0) 76%
		);
		mask-image: radial-gradient(
			circle at 78% 42%,
			rgba(0, 0, 0, 0.82) 0%,
			rgba(0, 0, 0, 0.56) 42%,
			rgba(0, 0, 0, 0) 76%
		);
	}

	section.uh-hero.uh-hero--deep-space.uh-hero--adaptive-experience .uh-hero__motif canvas {
		opacity: 0.34 !important;
	}

	.uh-hero--adaptive-experience .uh-hero__subtitle,
	.uh-hero--adaptive-experience #uh-hero-subtitle {
		max-width: 24ch;
		font-size: clamp(1.15rem, 5vw, 1.45rem);
		line-height: var(--tds-type-line-lead);
	}

	.uh-hero--adaptive-experience .uh-home-system-note {
		max-width: 28ch;
		margin-top: 1.35rem;
		font-size: var(--tds-type-size-body);
		line-height: var(--tds-type-line-body);
		opacity: 0.82;
	}

}

@media (max-width: 375px), (max-height: 720px) {
	.uh-hero.uh-hero--adaptive-experience {
		min-height: auto;
	}

	.uh-hero--adaptive-experience .uh-hero__signifier {
		display: none !important;
	}

	.uh-hero--adaptive-experience .uh-hero__motif {
		opacity: 0.16;
		transform: none;
	}
}

/* ==========================================================================
   15. Responsive
   ========================================================================== */

@media (max-width: 1199.98px) {
	.uh-hero__motif {
		width: min(48vw, 42rem);
	}
}

@media (max-width: 991.98px) {
	.uh-hero {
		min-height: 400px;
		padding: 3rem 0;
	}

	.uh-hero__copy,
	.uh-hero__body,
	.uh-hero--home .uh-hero__copy,
	.uh-hero--home .uh-hero__body,
	.uh-hero--journal .uh-hero__copy,
	.uh-hero--journal .uh-hero__body {
		max-width: 100%;
	}

	.uh-hero__title,
	.uh-hero--feature .uh-hero__title,
	.uh-hero--standard .uh-hero__title,
	.uh-hero--compact .uh-hero__title {
		max-width: 100%;
		margin-bottom: 1.5rem;
	}

	.uh-hero__title-line {
		white-space: normal;
		text-wrap: balance;
	}

	.uh-hero__motif {
		width: 100%;
		opacity: 0.22;
		-webkit-mask-image: none;
		mask-image: none;
	}
}

@media (max-width: 767.98px) {
	.uh-hero {
		min-height: auto;
	}

	.uh-hero--feature .uh-hero__copy,
	.uh-hero--feature .uh-hero__body,
	.uh-hero--standard .uh-hero__copy,
	.uh-hero--standard .uh-hero__body {
		padding-block: 3.25rem 2.85rem;
	}

	.uh-hero--compact .uh-hero__copy,
	.uh-hero--compact .uh-hero__body {
		padding-block: 2.5rem 2.35rem;
	}

	.uh-hero__title-line + .uh-hero__title-line {
		margin-top: 0.03em;
	}

	.uh-hero__subtitle {
		max-width: 100%;
	}

	.uh-hero__actions {
		max-width: 100%;
	}
}

@media (max-width: 575.98px) {
	.uh-hero--feature .uh-hero__copy,
	.uh-hero--feature .uh-hero__body,
	.uh-hero--standard .uh-hero__copy,
	.uh-hero--standard .uh-hero__body {
		padding-block: 2.85rem 2.5rem;
	}

	.uh-hero--compact .uh-hero__copy,
	.uh-hero--compact .uh-hero__body {
		padding-block: 2.15rem 2rem;
	}

	.uh-hero__kicker {
		margin-bottom: 0.8rem;
	}

	.uh-hero__subtitle {
		margin-top: 1rem;
	}

	.uh-hero__motif {
		opacity: var(--tds-hero-motif-opacity-mobile);
	}
}

/* ==========================================================================
   16. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.uh-hero__body,
	.uh-hero__copy,
	.uh-hero__motif {
		animation: none;
	}

	.uh-hero__motif canvas {
		transition: none;
	}

}

/* ==========================================================================
   17. Print
   ========================================================================== */

@media print {
	.uh-hero {
		min-height: auto !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		background: #fff !important;
	}

	.uh-hero__surface,
	.uh-hero__motif,
	.uh-hero__bg-video,
	.uh-hero__video-overlay {
		display: none !important;
	}

	.uh-hero__copy,
	.uh-hero__body {
		padding-block: 1.25rem !important;
		max-width: none !important;
	}

	.uh-hero__title,
	.uh-hero__subtitle,
	.uh-hero__kicker {
		color: #000 !important;
		text-shadow: none !important;
	}
}
/* =========================================================
   Compact archive hero
   Shared institutional header for archive/taxonomy pages.
   ========================================================= */

.uh-archive-hero {
	position: relative;
	padding: clamp(4rem, 6vw, 6rem) 0 clamp(2.5rem, 4vw, 3.75rem);
	background:
		linear-gradient(180deg, rgba(248, 250, 252, 0.86) 0%, #ffffff 100%);
	border-bottom: 1px solid var(--tds-border);
}

.uh-archive-hero__kicker {
	margin: 0 0 1rem;
	color: var(--tds-brand-accessible);
	font-family: var(--tds-font-system);
	font-size: var(--tds-type-size-label);
	font-weight: var(--tds-weight-medium);
	letter-spacing: var(--tds-type-track-label);
	line-height: var(--tds-type-line-label);
	text-transform: uppercase;
}

.uh-archive-hero__title {
	max-width: 22ch;
	margin: 0;
	color: var(--tds-text-main);
	font-family: var(--tds-font-system);
	font-size: var(--tds-type-display);
	font-weight: var(--tds-weight-semibold);
	letter-spacing: var(--tds-type-track-display);
	line-height: var(--tds-type-line-display);
	text-wrap: balance;
}

.uh-archive-hero__description {
	max-width: 42rem;
	margin: 1rem 0 0;
	color: var(--tds-text-muted);
	font-family: var(--tds-font-system);
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	line-height: var(--tds-type-line-body);
}

@media (max-width: 767.98px) {
	.uh-archive-hero {
		padding: 3.5rem 0 2.5rem;
	}

	.uh-archive-hero__title {
		max-width: 100%;
		font-size: var(--tds-type-display);
	}
}

.uh-archive-hero--journal {
	background:
		linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, #ffffff 100%);
}

/* MOTIF-CORE-01: content-sized opt-in, after every inherited min-height rule. */
.uh-hero.uh-hero--content,
.uh-hero.uh-hero--content .uh-hero__row {
	min-height: 0;
}
.uh-hero--figure {
	padding-block: 0;
}
.uh-hero--figure .uh-hero__body {
	padding-block: 2.25rem;
	animation: none;
}
.uh-hero--figure .uh-hero__title {
	max-width: 100%;
}
.uh-hero--figure .uh-hero__subtitle {
	max-width: 54ch;
}
@media (max-width: 991.98px) {
	.uh-hero.uh-hero--content { min-height: 0; }
	.uh-hero--figure .uh-hero__body { padding-block: 1.5rem 2rem; }
}

/* MOTIF-ALL-01: homepage hero budget (<= 494 px at 1366x650) met with the hero's own padding.
   MOTIF-FIX-01: the router is the figure legend (motif.css); the identifier line sits under the CTA. */
.uh-hero--home.uh-hero--figure .uh-hero__body {
	padding-block: 1.25rem 0.75rem;
}
/* The deep-space hero forces white paragraphs; the identifier line is the muted meta line. */
section.uh-hero.uh-hero--deep-space p.uh-hero__identifiers {
	color: var(--tds-ds-text-muted);
	text-shadow: none;
}
section.uh-hero .uh-hero__identifiers {
	margin: var(--tds-space-xs) 0 0;
	font-family: var(--tds-font-system);
	font-size: var(--tds-type-size-meta);
	line-height: var(--tds-type-line-meta);
	color: var(--tds-ds-text-muted);
}
.uh-hero .uh-hero__identifiers a {
	color: inherit;
	white-space: nowrap;
	text-decoration: underline;
	text-decoration-color: var(--tds-motif-rule);
	text-underline-offset: 3px;
}
.uh-hero .uh-hero__identifiers a:hover,
.uh-hero .uh-hero__identifiers a:focus-visible {
	color: var(--tds-ds-text-main);
	text-decoration-color: currentColor;
}
/* MOTIF-ALL-01: the homepage hero is content-height now, so reserve its three-line phone title to stop the web-font swap from moving the content below. */
@media (max-width: 575.98px) {
	.uh-hero--home .uh-hero__title {
		min-height: 3lh;
	}
	.uh-hero--home .uh-hero__kicker {
		min-height: 2lh;
	}
}

/* MOTIF-ALL-02: secondary hero padding and figure budgets only. */
.uh-hero--structure .uh-hero__body { padding-block: 1rem; }
.uh-hero--structure .uh-motif-fig--desktop { padding-block: 0.5rem; }
.uh-motif-structure.uh-course-hero .uh-course-hero__inner { padding-block: 1rem; }
.uh-motif-structure.uh-journal-record__header { padding-block: 0.5rem; }
.uh-motif-structure.uh-journal-record__header .uh-motif--desktop { max-width: 9.5rem; }
@media (min-width: 992px) {
	.uh-motif-structure.uh-course-hero .uh-course-hero__inner,
	.uh-motif-structure.uh-journal-record__header { padding-block: 0; }
	.uh-motif-structure.uh-journal-record__header .uh-journal-record__ledger-wrap { padding-top: 0; }
}

/* MOTIF-FIX-01: the compact structure figures gain a legend and a foot; keep the course and article headers within budget (<= 494 px at 1366x650). */
.uh-motif-structure.uh-course-hero .uh-motif-structure-figure .uh-motif-fig--desktop .uh-motif-stage {
	max-width: 17rem;
}
@media (min-width: 992px) {
	.uh-motif-structure.uh-journal-record__header .uh-motif-structure-figure .uh-motif-fig--desktop {
		display: grid;
		grid-template-columns: 8.5rem minmax(0, 1fr);
		column-gap: 0.5rem;
		align-items: start;
	}
	.uh-motif-structure.uh-journal-record__header .uh-motif-structure-figure .uh-motif-stage {
		grid-column: 1;
		grid-row: 1 / span 2;
		max-width: 8.5rem;
		margin: 0;
	}
	.uh-motif-structure.uh-journal-record__header .uh-motif-structure-figure .uh-motif-legend {
		grid-column: 2;
		grid-row: 1;
		flex-direction: column;
		gap: 0;
		max-width: none;
		margin: 0;
		padding-top: 0;
		border-top: 0;
	}
	.uh-motif-structure.uh-journal-record__header .uh-motif-structure-figure .uh-motif-foot {
		grid-column: 2;
		grid-row: 2;
		min-height: 0;
		justify-content: flex-start;
	}
	.uh-motif-structure.uh-journal-record__header .uh-motif-structure-figure .uh-motif-legend a {
		white-space: nowrap;
	}
	.uh-motif-structure.uh-journal-record__header .uh-motif-structure-figure .uh-motif-legend small {
		display: none;
	}
	.uh-motif-structure.uh-journal-record__header .uh-motif-structure-figure .uh-motif-fig__tools {
		flex-direction: column;
		align-items: flex-start;
		margin-left: 0;
	}
}

/* TYPE-01: tighten ledger padding to keep the article header within 494px. */
@media (min-width: 992px) {
    .uh-motif-structure.uh-journal-record__header .uh-journal-record__ledger {
        padding-top: var(--tds-space-02);
    }
}