/**
 * Hero split / centered — field-driven layout (desktop ratio, mobile overlay).
 * Companion to app.css; input.css is root-owned on this host so these rules live here.
 */
.tw-hero-split,
.tw-hero-centered {
	gap: var(--tw-intro-panel-gap, calc(var(--tw-content-gap, 1rem) * 2));
}

.tw-hero-split {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tw-hero-split__copy,
.tw-hero-split__media,
.tw-hero-split__form {
	min-width: 0;
}

.tw-hero-form {
	width: 100%;
	min-width: 0;
}

.tw-hero-form__shell--plain {
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

/* Hero layout split_float only — never Split / Centered / other sections. */
[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"] {
	position: relative;
	isolation: isolate;
	overflow: visible;
	width: 100%;
}

[data-section="hero"][data-style="split_float"] .tw-hero-split-float__copy,
[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media {
	min-width: 0;
}

[data-section="hero"][data-style="split_float"] .tw-hero-split-float__copy {
	justify-content: center;
}

[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media {
	position: relative;
	overflow: visible;
	z-index: 2;
}

[data-section="hero"][data-style="split_float"] .tw-hero-split-float__chip {
	position: absolute;
	z-index: 3;
	max-inline-size: calc(100% - (var(--tw-content-gap) * 2));
}

[data-section="hero"][data-style="split_float"] {
	overflow: visible;
	padding-block: 0;
	padding-top: 0;
	padding-bottom: 0;
}

[data-section="hero"][data-style="split_float"] > .tw-container {
	max-width: none;
	padding-inline: 0;
}

[data-section="hero"][data-style="split_float"].tw-section--full {
	display: flex;
	flex-direction: column;
	justify-content: stretch;
}

[data-section="hero"][data-style="split_float"].tw-section--full > .tw-container {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
}

[data-section="hero"][data-style="split_float"].tw-section--full [data-tw-hero-layout="split_float"] {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
}

/* Hero layout editorial_rail only — never Split / Split float / other families. */
[data-section="hero"][data-style="editorial_rail"],
[data-section="hero"][data-style="editorial_rail"].tw-section--bleed-bg,
[data-section="hero"][data-style="editorial_rail"].tw-section--bleed-band {
	--tw-hero-rail-inset: calc(var(--tw-content-gap) + var(--tw-card-padding) * 2);
	overflow: visible;
}

[data-section="hero"][data-style="editorial_rail"] > .tw-container,
[data-section="hero"][data-style="editorial_rail"] [data-tw-hero-layout="editorial_rail"] {
	overflow: visible;
}

[data-section="hero"][data-style="editorial_rail"] [data-tw-hero-layout="editorial_rail"] {
	width: 100%;
	min-width: 0;
}

[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__band,
[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__media {
	min-width: 0;
}

[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__media {
	position: relative;
	overflow: visible;
}

[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__rail {
	position: relative;
	z-index: 2;
	width: 100%;
}

.tw-hero-media-frame {
	position: relative;
	width: 100%;
}

.tw-hero-media-frame[data-tw-hero-aspect-desktop="16_9"] { aspect-ratio: 16 / 9; }
.tw-hero-media-frame[data-tw-hero-aspect-desktop="4_3"] { aspect-ratio: 4 / 3; }
.tw-hero-media-frame[data-tw-hero-aspect-desktop="1_1"] { aspect-ratio: 1 / 1; }
.tw-hero-media-frame[data-tw-hero-aspect-desktop="4_5"] { aspect-ratio: 4 / 5; }

.tw-hero-media-frame img,
.tw-hero-media-frame video,
.tw-hero-media-frame .tw-lazy-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tw-hero-copy-card {
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: inherit;
	padding: var(--tw-card-padding, 1.5rem);
	border-radius: var(--tw-radius-card, 1.5rem);
	box-shadow: var(--tw-shadow-soft, 0 1px 2px rgb(15 23 42 / 0.06));
}

.tw-hero-copy-card[data-tw-intro-align="center"] {
	align-self: center;
}

.tw-hero-copy-card[data-tw-intro-align="end"] {
	align-self: end;
}

.tw-hero-copy-card .tw-section-intro,
.tw-hero-copy-card [data-tw-hero-actions] {
	width: auto;
	max-width: 100%;
}

.tw-hero-copy-card[data-tw-hero-copy-card-fill="page"] {
	background-color: color-mix(in srgb, var(--tw-color-page, #fff) var(--tw-hero-copy-card-alpha, 75%), transparent);
}

.tw-hero-copy-card[data-tw-hero-copy-card-fill="surface"] {
	background-color: color-mix(in srgb, var(--tw-color-surface, #fff) var(--tw-hero-copy-card-alpha, 75%), transparent);
}

.tw-hero-copy-card[data-tw-hero-copy-card-fill="soft"] {
	background-color: color-mix(in srgb, var(--tw-color-surface-alt, #f8fafc) var(--tw-hero-copy-card-alpha, 75%), transparent);
}

.tw-hero-copy-card[data-tw-hero-copy-card-fill="dark"],
.tw-hero-copy-card[data-tw-hero-copy-card-fill="ink"] {
	background-color: color-mix(in srgb, var(--tw-color-text, #0f172a) var(--tw-hero-copy-card-alpha, 75%), transparent);
}

.tw-hero-copy-card[data-tw-hero-copy-card-fill="brand"] {
	background-color: color-mix(in srgb, var(--tw-color-brand-primary, #4f46e5) var(--tw-hero-copy-card-alpha, 75%), transparent);
}

.tw-hero-copy-card[data-tw-hero-copy-card-fill="secondary"] {
	background-color: color-mix(in srgb, var(--tw-color-brand-secondary, #0ea5e9) var(--tw-hero-copy-card-alpha, 75%), transparent);
}

.tw-hero-copy-card[data-tw-hero-copy-card-fill="accent"] {
	background-color: color-mix(in srgb, var(--tw-color-brand-accent, #f97316) var(--tw-hero-copy-card-alpha, 75%), transparent);
}

.tw-hero-border {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	min-height: 0;
	background: transparent;
}

.tw-hero-border__shader {
	background: transparent !important;
}

.tw-hero-border__shader canvas {
	background: transparent;
}

.tw-hero-border__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	width: max-content;
	max-width: 100%;
	gap: inherit;
	padding: var(--tw-hero-border-pad, 2rem);
	text-align: center;
}

@media (max-width: 767.98px) {
	.tw-hero-border__inner {
		padding: var(--tw-hero-border-pad-mobile, var(--tw-hero-border-pad, 2rem));
	}
}

.tw-hero-border__copy {
	min-width: 0;
	max-width: 36rem;
}

.tw-hero-border__media {
	min-width: 0;
	width: min(28rem, 100%);
}

.tw-hero-border[data-tw-hero-border-shape="circle"] {
	max-width: none;
	margin-inline: auto;
}

/* LCP first section: photo + bg + shader stay painted. Intro / CTAs / form still enter. */
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-section-bg,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-section-bg *,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-hero-media-frame,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-hero-media-frame *,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-hero-border__shader,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-hero-border__shader canvas,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-section-bg__shader,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-section-bg__shader canvas,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-section-bg__fx,
html.tw-entrance-pending.tw-js [data-section][data-tw-lcp] .tw-section-bg__fx canvas {
	opacity: 1 !important;
	transform: none !important;
}

.tw-section-bg__shader {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	pointer-events: none;
}

.tw-section-bg__shader canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

/* input.css is root-owned here — override the old reduce-motion video hide so still-frames paint. */
@media (prefers-reduced-motion: reduce) {
	[data-tw-lazy-video],
	[data-tw-lazy-embed],
	video.tw-lazy-video,
	iframe.tw-lazy-embed {
		display: block;
	}
}

.tw-section--has-motion {
	position: relative;
}

.tw-motion-toggle {
	position: absolute;
	z-index: 20;
	inset-inline-start: max(1rem, env(safe-area-inset-inline-start, 0px));
	bottom: max(1rem, env(safe-area-inset-bottom, 0px));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid color-mix(in srgb, var(--tw-color-page, #fff) 28%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--tw-color-text, #0f172a) 55%, transparent);
	color: var(--tw-color-page, #fff);
	box-shadow: var(--tw-shadow-soft, 0 8px 24px rgb(15 23 42 / 0.18));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	cursor: pointer;
}

.tw-motion-toggle:focus-visible {
	outline: 2px solid var(--tw-color-brand-primary, #4f46e5);
	outline-offset: 3px;
}

.tw-motion-toggle[aria-disabled="true"] {
	cursor: default;
	opacity: 0.88;
}

.tw-motion-toggle[aria-pressed="true"] .tw-motion-toggle__icon--pause,
.tw-motion-toggle:not([aria-pressed="true"]) .tw-motion-toggle__icon--play {
	display: none;
}

.tw-motion-toggle svg {
	width: 1.25rem;
	height: 1.25rem;
	display: block;
}

/* Lucide pause is two rects. Keep bars painted even if a build stripped width/height. */
.tw-motion-toggle__icon--pause rect {
	width: 4px;
	height: 16px;
	fill: currentColor;
	stroke: none;
}

/* Stay off the a11y FAB when Design parked it on the start edge. */
body.tw-has-a11y-menu:has(.tw-a11y-root[data-position-desktop$="_start"]) .tw-motion-toggle {
	inset-inline-start: auto;
	inset-inline-end: max(1rem, env(safe-area-inset-inline-end, 0px));
}

@media (max-width: 767.98px) {
	body.tw-has-a11y-menu:has(.tw-a11y-root[data-position-desktop$="_start"]) .tw-motion-toggle {
		inset-inline-start: max(1rem, env(safe-area-inset-inline-start, 0px));
		inset-inline-end: auto;
	}
	body.tw-has-a11y-menu:has(.tw-a11y-root[data-position-mobile$="_start"]) .tw-motion-toggle {
		inset-inline-start: auto;
		inset-inline-end: max(1rem, env(safe-area-inset-inline-end, 0px));
	}
}

@media (max-width: 1023.98px) {
	.tw-hero-media-frame[data-tw-hero-aspect-mobile="16_9"] { aspect-ratio: 16 / 9; }
	.tw-hero-media-frame[data-tw-hero-aspect-mobile="4_3"] { aspect-ratio: 4 / 3; }
	.tw-hero-media-frame[data-tw-hero-aspect-mobile="1_1"] { aspect-ratio: 1 / 1; }
	.tw-hero-media-frame[data-tw-hero-aspect-mobile="4_5"] { aspect-ratio: 4 / 5; }

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="under"] .tw-hero-split__media {
		order: -1;
	}

	[data-tw-hero-layout="split"][data-tw-hero-has-media="1"][data-tw-hero-mobile-copy="overlay"] {
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		overflow: hidden;
		border-radius: var(--tw-radius-card, 1.5rem);
		/* Fallback only while the photo loads — never a visible letterbox. */
		background: var(--tw-color-text, #0f172a);
	}

	/* Min height = chosen mobile aspect so short copy still has a photo. */
	[data-tw-hero-layout="split"][data-tw-hero-has-media="1"][data-tw-hero-mobile-copy="overlay"]::before {
		content: "";
		grid-area: 1 / 1;
		width: 100%;
		padding-bottom: 75%;
		pointer-events: none;
	}

	[data-tw-hero-layout="split"][data-tw-hero-has-media="1"][data-tw-hero-mobile-copy="overlay"][data-tw-hero-aspect-mobile="16_9"]::before {
		padding-bottom: 56.25%;
	}

	[data-tw-hero-layout="split"][data-tw-hero-has-media="1"][data-tw-hero-mobile-copy="overlay"][data-tw-hero-aspect-mobile="4_3"]::before {
		padding-bottom: 75%;
	}

	[data-tw-hero-layout="split"][data-tw-hero-has-media="1"][data-tw-hero-mobile-copy="overlay"][data-tw-hero-aspect-mobile="1_1"]::before {
		padding-bottom: 100%;
	}

	[data-tw-hero-layout="split"][data-tw-hero-has-media="1"][data-tw-hero-mobile-copy="overlay"][data-tw-hero-aspect-mobile="4_5"]::before {
		padding-bottom: 125%;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-split__media,
	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-split__copy {
		grid-area: 1 / 1;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-split__media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		align-self: stretch;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-split__media figure {
		height: 100%;
		gap: 0;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-split__media figcaption {
		display: none;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-media-frame,
	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-media-frame[data-tw-hero-aspect-mobile],
	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-media-frame[data-tw-hero-aspect-desktop] {
		position: relative;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
		aspect-ratio: auto;
		height: 100%;
		min-height: 100%;
		width: 100%;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-media-frame > *,
	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-media-frame picture,
	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-media-frame img,
	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-media-frame video,
	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-media-frame .tw-lazy-video {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-split__media::after {
		content: "";
		position: absolute;
		inset: 0;
		pointer-events: none;
		background: linear-gradient(to top, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.28) 55%, rgba(15, 23, 42, 0.12));
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"] .tw-hero-split__copy {
		position: relative;
		z-index: 10;
		padding: var(--tw-card-padding, 1.5rem);
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"]:not([data-tw-hero-copy-card="1"]) .tw-hero-split__copy {
		color: #fff;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"]:not([data-tw-hero-copy-card="1"]) .tw-hero-split__copy h1,
	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"]:not([data-tw-hero-copy-card="1"]) .tw-hero-split__copy p {
		color: #fff;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"]:not([data-tw-hero-copy-card="1"]) .tw-hero-split__copy .tw-section-intro > p:first-child {
		background: rgba(255, 255, 255, 0.12);
		color: #fff;
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"][data-tw-hero-copy-card="1"] .tw-hero-split__copy {
		align-self: end;
		padding: 0.75rem;
	}

	[data-tw-hero-layout="split"][data-tw-hero-mobile-copy="overlay"][data-tw-hero-copy-card="1"] .tw-hero-split__media::after {
		background: linear-gradient(to top, rgba(15, 23, 42, 0.36), rgba(15, 23, 42, 0.1) 55%, transparent);
	}

	[data-tw-hero-layout="split_form"][data-tw-hero-form-stack="above"] .tw-hero-split__form {
		order: -1;
	}

	[data-tw-hero-layout="split_form"][data-tw-hero-form-stack="below"] .tw-hero-split__form {
		order: 0;
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media {
		order: -1;
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__chip {
		inset-inline-start: 50%;
		inset-inline-end: auto;
		bottom: 0;
		transform: translateX(-50%) translateY(50%);
	}

	[dir="rtl"] [data-section="hero"][data-style="split_float"] .tw-hero-split-float__chip {
		transform: translateX(50%) translateY(50%);
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__copy {
		padding-block: var(--tw-section-padding-hero-mobile, var(--tw-content-gap));
		padding-inline: 0;
	}

	[data-section="hero"][data-style="split_float"][data-section-density="compact"] .tw-hero-split-float__copy {
		padding-block: var(--tw-section-padding-compact-mobile, var(--tw-section-padding-compact));
		padding-inline: 0;
	}

	[data-section="hero"][data-style="split_float"][data-section-density="roomy"] .tw-hero-split-float__copy {
		padding-block: var(--tw-section-padding-roomy-mobile, var(--tw-section-padding-roomy));
		padding-inline: 0;
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-has-float="1"] .tw-hero-split-float__copy {
		padding-block-start: calc(var(--tw-section-padding-hero-mobile, var(--tw-content-gap)) + var(--tw-card-padding) + var(--tw-content-gap));
	}

	[data-section="hero"][data-style="split_float"][data-section-density="compact"] [data-tw-hero-layout="split_float"][data-tw-hero-has-float="1"] .tw-hero-split-float__copy {
		padding-block-start: calc(var(--tw-section-padding-compact-mobile, var(--tw-section-padding-compact)) + var(--tw-card-padding) + var(--tw-content-gap));
	}

	[data-section="hero"][data-style="split_float"][data-section-density="roomy"] [data-tw-hero-layout="split_float"][data-tw-hero-has-float="1"] .tw-hero-split-float__copy {
		padding-block-start: calc(var(--tw-section-padding-roomy-mobile, var(--tw-section-padding-roomy)) + var(--tw-card-padding) + var(--tw-content-gap));
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-actions] {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-actions] > * {
		width: 100%;
		justify-content: center;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__rail {
		align-items: stretch;
		text-align: start;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__text {
		text-align: start;
	}

	[data-section="hero"][data-style="editorial_rail"] [data-tw-hero-actions] {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		margin-inline-start: 0;
	}

	[data-section="hero"][data-style="editorial_rail"] [data-tw-hero-actions] > * {
		width: 100%;
		justify-content: center;
	}

	[data-tw-hero-stack-mobile="above"] .tw-hero-centered__media,
	[data-tw-hero-stack-mobile="above"] .tw-hero-border__media {
		order: -1;
	}

	[data-tw-hero-stack-mobile="below"] .tw-hero-centered__media,
	[data-tw-hero-stack-mobile="below"] .tw-hero-border__media {
		order: 0;
	}
}

@media (min-width: 1024px) {
	.tw-hero-split {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
	}

	.tw-hero-split[data-tw-hero-has-media="0"]:not([data-tw-hero-has-form="1"]) {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
	}

	.tw-hero-split[data-tw-hero-split-ratio="60_40"] {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	.tw-hero-split[data-tw-hero-split-ratio="75_25"] {
		grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
	}

	.tw-hero-split[data-tw-hero-media-side="start"][data-tw-hero-split-ratio="60_40"] {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}

	.tw-hero-split[data-tw-hero-media-side="start"][data-tw-hero-split-ratio="75_25"] {
		grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	}

	.tw-hero-split[data-tw-hero-media-side="start"] .tw-hero-split__media,
	.tw-hero-split[data-tw-hero-media-side="start"] .tw-hero-split__form {
		order: -1;
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"] {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: stretch;
		gap: 0;
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__copy {
		padding: var(--tw-section-padding-hero);
	}

	[data-section="hero"][data-style="split_float"][data-section-density="compact"] .tw-hero-split-float__copy {
		padding: var(--tw-section-padding-compact);
	}

	[data-section="hero"][data-style="split_float"][data-section-density="roomy"] .tw-hero-split-float__copy {
		padding: var(--tw-section-padding-roomy);
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media {
		align-self: stretch;
		display: flex;
		flex-direction: column;
		min-height: 0;
		height: 100%;
	}

	[data-section="hero"][data-style="split_float"].tw-section--full [data-tw-hero-layout="split_float"] {
		min-height: 0;
		height: 100%;
	}

	[data-section="hero"][data-style="split_float"].tw-section--full .tw-hero-split-float__copy,
	[data-section="hero"][data-style="split_float"].tw-section--full .tw-hero-split-float__media {
		min-height: 0;
		height: 100%;
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media > figure,
	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media .tw-hero-media-frame,
	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media .tw-hero-media-frame > * {
		position: relative;
		flex: 1 1 auto;
		height: 100%;
		min-height: 0;
		overflow: hidden;
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-has-media="0"] {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-split-ratio="60_40"] {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-split-ratio="75_25"] {
		grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-media-side="start"][data-tw-hero-split-ratio="60_40"] {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-media-side="start"][data-tw-hero-split-ratio="75_25"] {
		grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-media-side="start"] .tw-hero-split-float__media {
		order: -1;
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media,
	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media > figure,
	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media .tw-hero-media-frame,
	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media .tw-hero-media-frame[data-tw-hero-aspect-desktop] {
		height: 100%;
		min-height: 0;
		aspect-ratio: auto;
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-split-float__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	[data-section="hero"][data-style="split_float"] .tw-hero-media-frame {
		border-radius: 0;
		box-shadow: none;
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-media-side="end"] .tw-hero-split-float__chip {
		inset-inline-start: 0;
		inset-inline-end: auto;
		bottom: calc(var(--tw-content-gap) + var(--tw-card-padding) * 2);
		transform: translateX(-50%);
	}

	[data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-media-side="start"] .tw-hero-split-float__chip {
		inset-inline-start: auto;
		inset-inline-end: 0;
		bottom: calc(var(--tw-content-gap) + var(--tw-card-padding) * 2);
		transform: translateX(50%);
	}

	[dir="rtl"] [data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-media-side="end"] .tw-hero-split-float__chip {
		transform: translateX(50%);
	}

	[dir="rtl"] [data-section="hero"][data-style="split_float"] [data-tw-hero-layout="split_float"][data-tw-hero-media-side="start"] .tw-hero-split-float__chip {
		transform: translateX(-50%);
	}

	[data-section="hero"][data-style="editorial_rail"] [data-tw-hero-layout="editorial_rail"] {
		max-height: calc(100dvh - var(--tw-section-padding-hero) - var(--tw-section-padding-hero));
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__band {
		flex: 0 0 auto;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail .tw-section-intro {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		column-gap: var(--tw-intro-panel-gap, calc(var(--tw-content-gap) * 2));
		row-gap: var(--tw-content-gap);
		align-items: start;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail .tw-section-intro > p:not(.tw-hero-editorial-rail__lede) {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		min-width: 0;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail .tw-section-intro > h1 {
		grid-column: 1;
		grid-row: 2;
		min-width: 0;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail .tw-section-intro > .tw-hero-editorial-rail__lede {
		grid-column: 2;
		grid-row: 2;
		align-self: start;
		min-width: 0;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail .tw-section-intro:not(:has(> p:not(.tw-hero-editorial-rail__lede))) > h1,
	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail .tw-section-intro:not(:has(> p:not(.tw-hero-editorial-rail__lede))) > .tw-hero-editorial-rail__lede {
		grid-row: 1;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__media {
		flex: 1 1 auto;
		min-height: 0;
		padding-bottom: var(--tw-hero-rail-inset);
		gap: 0;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__media > figure,
	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__media .tw-hero-media-frame {
		flex: 1 1 auto;
		min-height: 0;
		height: 100%;
		max-height: 100%;
		aspect-ratio: auto;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__media img {
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__rail {
		position: absolute;
		inset-inline: var(--tw-content-gap);
		width: auto;
		bottom: var(--tw-content-gap);
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		text-align: start;
	}

	/* Bordered / Glass sit on theme-page in every other section. On desktop this rail hangs on the photo — paint that same page fill (not overlay white, not a different bottom). */
	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__rail[data-tw-hero-rail-card="outline"] {
		background-color: var(--tw-color-page);
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__rail[data-tw-hero-rail-card="glass"] {
		background-color: color-mix(in srgb, var(--tw-color-surface) 70%, var(--tw-color-page));
	}

	[data-section="hero"][data-style="editorial_rail"] .tw-hero-editorial-rail__text {
		flex: 1 1 0;
		text-align: start;
		min-width: 0;
	}

	[data-section="hero"][data-style="editorial_rail"] [data-tw-hero-actions] {
		flex: 0 0 auto;
		flex-shrink: 0;
		width: auto;
		margin-inline-start: auto;
	}

	[data-tw-hero-stack-desktop="above"] .tw-hero-centered__media,
	[data-tw-hero-stack-desktop="above"] .tw-hero-border__media {
		order: -1;
	}

	[data-tw-hero-stack-desktop="below"] .tw-hero-centered__media,
	[data-tw-hero-stack-desktop="below"] .tw-hero-border__media {
		order: 0;
	}
}

/* Hero layout offset_frame only — never Split float / Editorial rail / other families. */
[data-section="hero"][data-style="offset_frame"] {
	overflow: visible;
}

[data-section="hero"][data-style="offset_frame"] [data-tw-hero-layout="offset_frame"] {
	position: relative;
	isolation: isolate;
	overflow: visible;
	width: 100%;
}

[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__copy,
[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__media {
	min-width: 0;
}

[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__media {
	position: relative;
	overflow: visible;
	z-index: 2;
}

[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__chip {
	position: absolute;
	z-index: 3;
	top: 0;
	inset-inline-start: var(--tw-content-gap);
	transform: translateY(-50%);
	max-inline-size: calc(100% - (var(--tw-content-gap) * 2));
}

[data-section="hero"][data-style="offset_frame"] .tw-hero-media-frame {
	border-start-start-radius: var(--tw-radius-card);
	border-start-end-radius: var(--tw-radius-card);
	border-end-start-radius: 0;
	border-end-end-radius: 0;
	overflow: hidden;
}

[data-section="hero"][data-style="offset_frame"].tw-section--full {
	justify-content: stretch;
}

[data-section="hero"][data-style="offset_frame"].tw-section--full > .tw-container {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
}

[data-section="hero"][data-style="offset_frame"].tw-section--full [data-tw-hero-layout="offset_frame"] {
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
}

@media (max-width: 1023.98px) {
	[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__media {
		padding-inline: var(--tw-content-gap);
		padding-block-start: calc(var(--tw-card-padding) + var(--tw-content-gap));
	}

	[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__chip {
		top: calc(var(--tw-card-padding) + var(--tw-content-gap));
		inset-inline-start: calc(var(--tw-content-gap) * 2);
	}

	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-actions] {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-actions] > * {
		width: 100%;
		justify-content: center;
	}
}

@media (min-width: 1024px) {
	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-layout="offset_frame"] {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: stretch;
		min-height: calc(100dvh - var(--tw-section-padding-hero) * 2);
	}

	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-layout="offset_frame"][data-tw-hero-has-media="0"] {
		display: flex;
		flex-direction: column;
		grid-template-columns: none;
		min-height: 0;
	}

	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-layout="offset_frame"][data-tw-hero-split-ratio="60_40"] {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-layout="offset_frame"][data-tw-hero-split-ratio="75_25"] {
		grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
	}

	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-layout="offset_frame"][data-tw-hero-media-side="start"][data-tw-hero-split-ratio="60_40"] {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}

	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-layout="offset_frame"][data-tw-hero-media-side="start"][data-tw-hero-split-ratio="75_25"] {
		grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	}

	[data-section="hero"][data-style="offset_frame"] [data-tw-hero-layout="offset_frame"][data-tw-hero-media-side="start"] .tw-hero-offset-frame__media {
		order: -1;
	}

	[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__copy {
		align-self: start;
	}

	[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__media {
		align-self: end;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		min-height: 0;
		height: calc(100% - var(--tw-section-padding-hero));
		max-height: 100%;
	}

	[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__media > figure,
	[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__media .tw-hero-media-frame,
	[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__media .tw-hero-media-frame[data-tw-hero-aspect-desktop] {
		width: 100%;
		height: 100%;
		min-height: 0;
		aspect-ratio: auto;
	}

	[data-section="hero"][data-style="offset_frame"] .tw-hero-offset-frame__media img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	[data-section="hero"][data-style="offset_frame"].tw-section--full [data-tw-hero-layout="offset_frame"] {
		min-height: 0;
		height: 100%;
	}

	[data-section="hero"][data-style="offset_frame"].tw-section--full .tw-hero-offset-frame__copy,
	[data-section="hero"][data-style="offset_frame"].tw-section--full .tw-hero-offset-frame__media {
		min-height: 0;
	}

	[data-section="hero"][data-style="offset_frame"].tw-section--full .tw-hero-offset-frame__media > figure,
	[data-section="hero"][data-style="offset_frame"].tw-section--full .tw-hero-offset-frame__media .tw-hero-media-frame,
	[data-section="hero"][data-style="offset_frame"].tw-section--full .tw-hero-offset-frame__media .tw-hero-media-frame > * {
		position: relative;
		height: 100%;
		min-height: 0;
		overflow: hidden;
	}

	[data-section="hero"][data-style="offset_frame"].tw-section--full .tw-hero-offset-frame__media img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}
