/* Header chrome — warm editorial tokens and accessible responsive navigation. */

:root {
	/* TW type scale (WDM-style interval, Garamond/Inter dialect) */
	--tw-ts-interval: 1.25;
	--tw-ts-0: 1rem;
	--tw-ts-1: calc(var(--tw-ts-0) * var(--tw-ts-interval));
	--tw-ts-2: calc(var(--tw-ts-1) * var(--tw-ts-interval));
	--tw-ts-3: calc(var(--tw-ts-2) * var(--tw-ts-interval));
	--tw-ts-4: calc(var(--tw-ts-3) * var(--tw-ts-interval));

	--tw-paper: #F1F1F1;
	--tw-slate: #1F1F1F;
	--tw-leaf: #1F1F1F;
	--tw-ink: #1F1F1F;
	--tw-bark: #585853;
	--tw-warm-body: #D4D2CF;
	--tw-brass: #C5B197;
	--tw-brass-paper: #725B2A;
	--tw-copper: #725B2A;
	--tw-cream: #FAF9F6;

	--tw-space-tight: 8px;
	--tw-space-inline: 12px;
	--tw-space-stack: 16px;
	--tw-space-object: 20px;
	--tw-space-pad: 32px;
	--tw-space-gutter: 40px;
	--tw-space-band: 56px;
}

/* Header 14 keeps every visible treatment-menu surface in native
   Cornerstone elements. These two states are not exposed by the element
   inspector, so the bridge supplies the accessibility layer only. */
[id^="tw-mega-"][id$="-anchor-toggle"]:focus-visible,
[id^="tw-mega-"][id$="-dropdown"] a:focus-visible,
#tw-main-menu-anchor-toggle:focus-visible,
#tw-main-menu-off-canvas a:focus-visible,
#tw-main-menu-off-canvas button:focus-visible,
#tw-main-menu-off-canvas input:focus-visible,
#tw-main-menu-off-canvas [tabindex]:not([tabindex="-1"]):focus-visible {
	outline: 3px solid var(--tw-copper);
	outline-offset: 3px;
}

/* Owner-approved dark navigation: the dark Copper ring is too subtle
   on its feature panels. Keep the light Search fields on their own styles. */
#tw-cinematic-header [id^="tw-mega-"][id$="-anchor-toggle"]:focus-visible,
#tw-cinematic-header [id^="tw-mega-"][id$="-dropdown"] a:focus-visible,
#tw-cinematic-header #tw-main-menu-anchor-toggle:focus-visible,
#tw-cinematic-header #tw-site-search-anchor-toggle:focus-visible,
#tw-cinematic-header #tw-main-menu-off-canvas a:focus-visible,
#tw-cinematic-header #tw-main-menu-off-canvas .x-acc-header:focus-visible,
#tw-cinematic-header #tw-main-menu-off-canvas .x-off-canvas-close:focus-visible {
	outline: 3px solid #C5B197;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	[id^="tw-mega-"][id$="-anchor-toggle"],
	[id^="tw-mega-"][id$="-anchor-toggle"] *,
	[id^="tw-mega-"][id$="-dropdown"],
	[id^="tw-mega-"][id$="-dropdown"] *,
	#tw-main-menu-anchor-toggle,
	#tw-main-menu-anchor-toggle *,
	#tw-main-menu-off-canvas,
	#tw-main-menu-off-canvas * {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Button geometry and typography now come from native Cornerstone elements.
   Keep text actions, topic pills and shared phone/insurance components editable. */


.tw-section-kicker .x-text-content-text-primary,
.tw-band-paper .tw-section-kicker .x-text-content-text-primary {
	color: var(--tw-brass-paper) !important;
	letter-spacing: 0.22em !important;
}

.tw-band-slate .tw-section-kicker .x-text-content-text-primary {
	color: var(--tw-brass) !important;
	letter-spacing: 0.22em !important;
}

.tw-header-bar .tw-header-inner.x-bar-container {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 12px;
	row-gap: 0;
	width: 100%;
}

.tw-header-wordmark {
	order: 1;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
}

.tw-header-wordmark .x-text-content-text-primary {
	white-space: nowrap;
}

.tw-header-bar .tw-header-ctas.x-bar-container {
	order: 3;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: flex-end;
	gap: var(--tw-space-inline);
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	margin-left: auto;
	white-space: nowrap;
}

.tw-header-ctas .x-anchor.x-anchor-button,
.tw-header-bar .x-bar-container > a.x-anchor-button {
	margin: 0 !important;
	flex: 0 0 auto;
	white-space: nowrap;
	box-shadow: none !important;
	filter: none !important;
}

.tw-header-ctas .x-anchor.x-anchor-button .x-anchor-content,
.tw-header-bar .x-bar-container > a.x-anchor-button .x-anchor-content {
	padding: 11px 18px !important;
}

.tw-header-ctas .x-anchor.x-anchor-button .x-anchor-text-primary,
.tw-header-bar .x-bar-container > a.x-anchor-button .x-anchor-text-primary {
	font-family: Inter, "Inter Fallback", sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.2 !important;
}

@media (min-width: 1101px) {
	.tw-header-wordmark {
		flex: 0 0 auto;
	}

	.tw-header-bar .x-menu-inline {
		order: 2;
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		min-width: 0;
	}

	.tw-header-ctas.x-bar-container {
		margin-left: 0;
	}
}

.tw-nav-toggle {
	display: none;
	order: 2;
	appearance: none;
	border: 1px solid rgba(197, 177, 151, 0.45);
	background: transparent;
	width: 42px;
	height: 36px;
	padding: 0;
	margin: 0 0 0 auto;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

.tw-nav-toggle span {
	display: block;
	width: 16px;
	height: 1.5px;
	background: #F1F1F1;
	transition: transform 180ms ease, opacity 180ms ease;
}

.tw-header-bar.tw-nav-open .tw-nav-toggle span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.tw-header-bar.tw-nav-open .tw-nav-toggle span:nth-child(2) {
	opacity: 0;
}

.tw-header-bar.tw-nav-open .tw-nav-toggle span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

.tw-header-bar .x-anchor.x-anchor-menu-item,
.tw-header-bar .x-anchor.x-anchor-menu-item .x-anchor-text-primary,
.tw-header-bar .x-anchor.x-anchor-menu-item .x-anchor-sub-indicator {
	color: #F1F1F1 !important;
}

.tw-header-bar .x-anchor.x-anchor-menu-item:hover .x-anchor-text-primary,
.tw-header-bar .x-anchor.x-anchor-menu-item:focus .x-anchor-text-primary,
.tw-header-bar .x-anchor.x-anchor-menu-item[class*="active"] .x-anchor-text-primary,
.tw-header-bar .x-anchor.x-anchor-menu-item:hover .x-anchor-sub-indicator,
.tw-header-bar .x-anchor.x-anchor-menu-item:focus .x-anchor-sub-indicator {
	color: #C5B197 !important;
}

.tw-header-bar li:not(.menu-item-has-children) > .x-anchor .x-anchor-sub-indicator {
	display: none !important;
}

.tw-header-bar .x-dropdown {
	background: #1F1F1F !important;
	border: 1px solid rgba(197, 177, 151, 0.28) !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38) !important;
	min-width: 16em !important;
	width: max-content !important;
	max-width: 22em !important;
	padding: 8px 0 !important;
	border-radius: 0 !important;
	transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
	transform: translate3d(0, 10px, 0);
}

.tw-header-bar .menu-item-has-children:focus-within > .x-dropdown,
.tw-header-bar .menu-item-has-children:hover > .x-dropdown {
	transform: none;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item {
	display: block !important;
	width: 100%;
}

.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item .x-anchor-content {
	justify-content: flex-start !important;
	padding: 10px 18px !important;
}

.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item .x-anchor-text-primary {
	color: #F1F1F1 !important;
	white-space: nowrap;
	font-size: 0.82em !important;
	letter-spacing: 0.04em;
}

.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item:hover,
.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item:focus {
	background: rgba(197, 177, 151, 0.14) !important;
}

.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item:hover .x-anchor-text-primary,
.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item:focus .x-anchor-text-primary {
	color: #C5B197 !important;
}

.tw-header-bar .x-dropdown .menu-item-has-children {
	position: relative;
}

.tw-header-bar .x-dropdown .x-dropdown {
	left: calc(100% - 6px);
	top: -8px;
	transform: translate3d(8px, 0, 0);
}

.tw-header-bar .x-dropdown .menu-item-has-children:focus-within > .x-dropdown,
.tw-header-bar .x-dropdown .menu-item-has-children:hover > .x-dropdown {
	transform: none;
}

@media (min-width: 1101px) {
	.tw-header-bar .x-menu-inline > .menu-item-has-children {
		position: relative;
	}

	.tw-header-bar .x-menu-inline > .menu-item-has-children > .x-dropdown {
		background: var(--tw-cream) !important;
		border: 1px solid rgba(31, 31, 31, 0.12) !important;
		box-shadow: 0 28px 48px rgba(31, 31, 31, 0.18) !important;
		min-width: 22em !important;
		width: max-content !important;
		max-width: 28em !important;
		padding: 22px 18px 20px !important;
		margin-top: 0 !important;
		top: calc(100% + 2px);
	}

	.tw-header-bar .x-menu-inline > .menu-item-has-children > .x-dropdown::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -16px;
		height: 16px;
	}

	.tw-header-bar .x-menu-inline > .menu-item-has-children:hover > .x-dropdown,
	.tw-header-bar .x-menu-inline > .menu-item-has-children:focus-within > .x-dropdown {
		display: block !important;
	}

	.tw-header-bar .x-menu-inline > .menu-item-has-children > a[href*="/levels-of-care/"] + .x-dropdown,
	.tw-header-bar .x-menu-inline > .menu-item-has-children > a[href*="/conditions/"] + .x-dropdown {
		grid-template-columns: repeat(2, minmax(14em, 1fr));
		column-gap: 28px;
		row-gap: 2px;
		min-width: 36em !important;
		max-width: 42em !important;
	}

	.tw-header-bar .x-menu-inline > .menu-item-has-children:hover > a[href*="/levels-of-care/"] + .x-dropdown,
	.tw-header-bar .x-menu-inline > .menu-item-has-children:focus-within > a[href*="/levels-of-care/"] + .x-dropdown,
	.tw-header-bar .x-menu-inline > .menu-item-has-children:hover > a[href*="/conditions/"] + .x-dropdown,
	.tw-header-bar .x-menu-inline > .menu-item-has-children:focus-within > a[href*="/conditions/"] + .x-dropdown {
		display: grid !important;
	}

	.tw-header-bar .x-menu-inline > .menu-item-has-children > a[href*="/locations/"] + .x-dropdown {
		min-width: 24em !important;
		max-width: 28em !important;
	}

	.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item .x-anchor-content {
		padding: 12px 10px !important;
	}

	.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item .x-anchor-text-primary {
		color: var(--tw-ink) !important;
		white-space: normal;
		font-family: Inter, "Inter Fallback", sans-serif !important;
		font-size: 0.92em !important;
		font-weight: 500 !important;
		letter-spacing: -0.01em;
		line-height: 1.3;
	}

	.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item:hover,
	.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item:focus {
		background: transparent !important;
	}

	.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item:hover .x-anchor-text-primary,
	.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item:focus .x-anchor-text-primary {
		color: var(--tw-brass-paper) !important;
	}

	.tw-header-bar .x-dropdown .x-dropdown {
		position: static !important;
		left: auto !important;
		top: auto !important;
		transform: none !important;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
		display: block !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		min-width: 0 !important;
		width: 100% !important;
		max-width: none !important;
		padding: 0 0 8px 8px !important;
		margin: 0 !important;
	}

	.tw-header-bar .x-dropdown .menu-item-has-children > .x-anchor .x-anchor-sub-indicator {
		display: none !important;
	}

	.tw-header-bar .x-dropdown .menu-item-has-children > .x-anchor .x-anchor-text-primary,
	.tw-header-bar .x-dropdown .menu-item-has-children > .x-anchor:hover .x-anchor-text-primary,
	.tw-header-bar .x-dropdown .menu-item-has-children > .x-anchor:focus .x-anchor-text-primary {
		color: var(--tw-brass-paper) !important;
		font-size: 0.68em !important;
		font-weight: 700 !important;
		letter-spacing: 0.16em !important;
		text-transform: uppercase;
		padding-top: 6px;
	}

	.tw-header-bar .x-dropdown .x-dropdown .x-anchor.x-anchor-menu-item .x-anchor-content {
		padding: 8px 10px 8px 12px !important;
	}

	.tw-header-bar .x-dropdown .x-dropdown .x-anchor.x-anchor-menu-item .x-anchor-text-primary {
		color: var(--tw-ink) !important;
		font-size: 0.88em !important;
		font-weight: 500 !important;
		letter-spacing: -0.01em !important;
		text-transform: none;
	}

	.tw-header-bar .x-dropdown .x-dropdown .x-anchor.x-anchor-menu-item:hover .x-anchor-text-primary,
	.tw-header-bar .x-dropdown .x-dropdown .x-anchor.x-anchor-menu-item:focus .x-anchor-text-primary {
		color: var(--tw-brass-paper) !important;
	}
}

@media (max-width: 1100px) {
	.tw-nav-toggle {
		display: flex;
		margin-left: 8px;
	}

	.tw-header-ctas.x-bar-container {
		order: 3;
		margin-left: 8px;
	}

	.tw-header-bar .x-menu-inline {
		display: none;
		order: 4;
		flex: 1 1 100%;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 8px 0 12px;
		border-top: 1px solid rgba(197, 177, 151, 0.22);
	}

	.tw-header-bar.tw-nav-open .x-menu-inline {
		display: flex;
	}

	.tw-header-bar .x-menu-inline > .menu-item {
		width: 100%;
	}

	.tw-header-bar .x-menu-inline > .menu-item > .x-anchor .x-anchor-content {
		justify-content: flex-start !important;
		padding: 12px 4px !important;
	}

	.tw-header-bar .x-dropdown {
		position: static !important;
		transform: none !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		box-shadow: none !important;
		border: 0 !important;
		border-left: 2px solid rgba(197, 177, 151, 0.35) !important;
		margin: 0 0 8px 12px !important;
		display: none;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}

	.tw-header-bar .menu-item-has-children.tw-sub-open > .x-dropdown,
	.tw-header-bar .menu-item-has-children:focus-within > .x-dropdown {
		display: block;
	}

	.tw-header-bar .x-dropdown .x-anchor.x-anchor-menu-item .x-anchor-text-primary {
		white-space: normal;
	}
}

@media (max-width: 600px) {
	.tw-header-bar.x-bar {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.tw-header-wordmark .x-text-content-text-primary {
		font-size: 1.05em !important;
	}

	.tw-header-ctas .x-anchor.x-anchor-button .x-anchor-content,
	.tw-header-bar .x-bar-container > a.x-anchor-button .x-anchor-content {
		padding: 9px 14px !important;
	}

	.tw-header-ctas .x-anchor.x-anchor-button .x-anchor-text-primary,
	.tw-header-bar .x-bar-container > a.x-anchor-button .x-anchor-text-primary {
		font-size: 10px !important;
		letter-spacing: 0.1em;
	}
}

/* Home — cinematic hero, spaced CTAs, two-up continuum. */

.tw-home-hero.x-section,
.x-section.tw-home-hero {
	position: relative;
	min-height: 88vh;
	overflow: hidden;
	background: #1F1F1F;
}

.tw-home-hero-bg,
.tw-home-hero .tw-home-hero-bg {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	margin: 0 !important;
	pointer-events: none;
}

.tw-home-hero-bg img,
.tw-home-hero .tw-home-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.38;
	animation: tw-ken 18s ease-out both;
}

.tw-home-hero::after {
	content: "Woods";
	position: absolute;
	right: -0.06em;
	bottom: -0.22em;
	z-index: 1;
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: clamp(6rem, 16vw, 13rem);
	line-height: 0.8;
	letter-spacing: -0.04em;
	color: rgba(241, 241, 241, 0.05);
	pointer-events: none;
}

.tw-home-hero-inner,
.tw-home-hero .tw-home-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin-left: clamp(24px, 6vw, 80px) !important;
	margin-right: auto !important;
	padding: 120px 24px 80px !important;
	text-align: left;
}

.tw-home-ctas {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tw-space-inline);
}

.tw-home-ctas .x-anchor,
.tw-home-continuum .x-anchor,
.tw-header-ctas .x-anchor,
.tw-header-bar .x-bar-container > a.x-anchor-button {
	box-shadow: none !important;
	filter: none !important;
}

.tw-home-ctas .x-anchor.x-anchor-button .x-anchor-content {
	padding: 11px 18px !important;
}

.tw-home-ctas .x-anchor.x-anchor-button .x-anchor-text-primary {
	font-family: Inter, "Inter Fallback", sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tw-stream-dropzone {
	opacity: 0.7;
}


@media (max-width: 782px) {
	.tw-home-hero-inner,
	.tw-home-hero .tw-home-hero-inner {
		padding: 72px 20px 56px !important;
	}
}

@media (max-width: 420px) {
	.tw-header-ctas a[href*="insurance"] .x-anchor-text-primary {
		font-size: 9px !important;
		letter-spacing: 0.04em !important;
	}

	.tw-header-ctas a[href*="insurance"] .x-anchor-text-primary::after {
		content: none;
	}
}

/*
 * Progressive reveal — static content is the default. The footer runtime adds
 * tw-fx-active only after every observer has attached successfully, so missing
 * or failed JavaScript can never leave visitor content invisible.
 */
.tw-fx {
	animation: none !important;
	animation-timeline: auto !important;
}

html.tw-fx-active .tw-fx {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
}

html.tw-fx-active .tw-fx.is-in {
	animation: tw-fx-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
	animation-delay: var(--tw-fx-delay, 0ms) !important;
}

@keyframes tw-fx-in {
	from {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Cornerstone preview re-renders the tree; IntersectionObserver never keeps .is-in. */
body.tco-preview .tw-fx,
body.tco-preview .tw-fx.is-in,
body.tco-preview .tw-line,
body.tco-preview .tw-line.is-in {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}

@keyframes tw-ken {
	from {
		transform: scale(1.08);
	}
	to {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tw-header-bar .x-dropdown {
		transition: none;
		transform: none;
	}

	.tw-fx,
	.tw-fx.is-in,
	.tw-line.tw-fx,
	.tw-line.tw-fx.is-in {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}

@keyframes tw-line-pop {
	from {
		opacity: 0;
		transform: translate3d(0, 16px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.tw-hub-hero.x-section,
.x-section.tw-hub-hero {
	position: relative;
	overflow: hidden;
	background-color: #1F1F1F !important;
	background-image: none !important;
}

.tw-hub-hero::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 96px;
	width: 36px;
	height: 1px;
	background: #C5B197;
}

.tw-hub-body.x-section,
.x-section.tw-hub-body {
	background-color: var(--tw-slate) !important;
	background-image: none !important;
}

.tw-hub-body.tw-band-paper.x-section,
.x-section.tw-hub-body.tw-band-paper {
	background-color: var(--tw-paper) !important;
}

.tw-hub-list .x-row-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.tw-line.x-col,
.x-col.tw-line {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 14px 8px 14px 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-top: 1px solid rgba(241, 241, 241, 0.08) !important;
	transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease;
}

html.tw-fx-active .tw-line.tw-fx {
	opacity: 0;
	transform: translate3d(-16px, 8px, 0);
}

html.tw-fx-active .tw-line.tw-fx.is-in {
	animation: tw-line-pop 620ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
	animation-delay: var(--tw-fx-delay, 0ms) !important;
}

.tw-line.is-in:hover,
.tw-line.tw-fx.is-in:hover {
	transform: translateX(8px);
	background: rgba(241, 241, 241, 0.04) !important;
	animation: none !important;
	opacity: 1;
}

.tw-hub-list .tw-line h2,
.tw-hub-list .tw-line h3,
.tw-hub-list .tw-line .x-text-content-text-primary {
	color: #F1F1F1 !important;
}

.tw-hub-list .tw-line .x-text,
.tw-hub-list .tw-line .x-text p,
.tw-hub-list .tw-line a {
	color: #D4D2CF !important;
}

/* Paper bands (location programs list, etc.) — ink on cream */
.tw-band-paper .tw-hub-list .tw-line h2,
.tw-band-paper .tw-hub-list .tw-line h3,
.tw-band-paper .tw-hub-list .tw-line .x-text-content-text-primary {
	color: #1F1F1F !important;
}

.tw-band-paper .tw-hub-list .tw-line .x-text,
.tw-band-paper .tw-hub-list .tw-line .x-text p,
.tw-band-paper .tw-hub-list .tw-line a {
	color: #585853 !important;
}

.tw-band-paper .tw-line.x-col,
.tw-band-paper .x-col.tw-line {
	border-top-color: rgba(31, 31, 31, 0.1) !important;
}

.tw-line-link.x-anchor,
.tw-hub-list .tw-line-link {
	background: var(--tw-cream) !important;
	box-shadow: none !important;
	filter: none !important;
	width: auto !important;
}

.tw-line-link .x-anchor-content {
	padding: 11px 18px !important;
}

.tw-line-link .x-anchor-text-primary {
	font-family: Inter, "Inter Fallback", sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tw-ink) !important;
}

.tw-line-link .x-anchor-text-primary::after {
	content: none;
}

.tw-stream-dropzone {
	opacity: 0.45;
	letter-spacing: 0.04em;
}

.tw-faq.x-acc,
.x-acc.tw-faq {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	max-width: 46rem;
}

.tw-faq .x-acc-header,
.tw-faq .x-accordion-header {
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid rgba(241, 241, 241, 0.1) !important;
	padding: 18px 0 !important;
}

.tw-faq .x-acc-header-text,
.tw-faq .x-accordion-header-text,
.tw-faq .x-acc-header .x-text-content-text-primary {
	font-family: Inter, "Inter Fallback", sans-serif !important;
	font-size: 1.35em !important;
	color: #F1F1F1 !important;
}

.tw-faq .x-acc-content,
.tw-faq .x-accordion-content {
	background: transparent !important;
	color: #D4D2CF !important;
	padding: 0 0 20px 0 !important;
}

.tw-home-hero-video,
.tw-home-hero .tw-home-hero-video,
.tw-home-hero .x-video {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	margin: 0 !important;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden;
}

.tw-home-hero-video iframe,
.tw-home-hero .tw-home-hero-video iframe,
.tw-home-hero .x-video iframe {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 177.78vh;
	height: 56.25vw;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
	opacity: 0.42;
}

.tw-contact-note {
	margin: 16px 0 0;
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #D4D2CF;
}

.tw-contact-note a {
	color: #F1F1F1;
	text-decoration: none;
	border-bottom: 1px solid rgba(197, 177, 151, 0.45);
}

.tw-insure-lede,
.tw-insure-lede p {
	max-width: 22em;
}

.tw-insure-copy,
.tw-insure-copy p {
	max-width: 34em;
}

.tw-insure-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.tw-lessons-grid .tw-insure-card {
	min-height: 220px;
}

.tw-band-paper .tw-insure-name {
	color: #F1F1F1;
}

a.tw-insure-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

a.tw-insure-card:hover .tw-insure-name {
	color: #F1F1F1;
}

.tw-insure-card {
	min-height: 148px;
	padding: 28px 26px 24px;
	border: 1px solid rgba(241, 241, 241, 0.07);
	border-radius: 22px;
	background: #1F1F1F;
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), border-color 320ms ease;
}

.tw-insure-card:hover {
	transform: translateY(-3px);
	border-color: rgba(197, 177, 151, 0.32);
}

.tw-insure-name {
	margin: 0 0 8px;
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 1.55em;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #F1F1F1;
}

.tw-insure-meta {
	margin: 0;
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #C5B197;
}

.tw-insure-card-quiet {
	background: transparent;
}

@media (max-width: 900px) {
	.tw-insure-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.tw-insure-grid {
		grid-template-columns: 1fr;
	}

	.tw-insure-card {
		min-height: 0;
	}
}

.x-bar.tw-store-rail,
.x-section.tw-store-rail,
.x-div.tw-store-rail,
.tw-store-rail.x-div {
	--tw-store-gutter: max(24px, calc((100vw - 1200px) / 2));
	position: relative;
	display: block !important;
	width: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
	background-color: #FAF9F6 !important;
	background-image: none !important;
}

.x-section:has(.tw-store-rail) {
	overflow-x: hidden;
}

.tw-store-head .x-row-inner {
	align-items: flex-end;
}

.tw-store-nav.x-col,
.x-col.tw-store-nav {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding-bottom: 8px;
}

.tw-store-prev,
.tw-store-next,
.x-div.tw-store-prev,
.x-div.tw-store-next {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #E7E5E1 !important;
	box-shadow: none !important;
	cursor: pointer;
	color: transparent !important;
}

.tw-store-prev::before,
.tw-store-next::before {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 1.5px solid #1F1F1F;
	border-left: 1.5px solid #1F1F1F;
}

.tw-store-prev::before {
	transform: rotate(-45deg);
	margin-left: 3px;
}

.tw-store-next::before {
	transform: rotate(135deg);
	margin-right: 3px;
}

.tw-store-prev:hover,
.tw-store-next:hover {
	background: #D4D2CF !important;
}

.tw-store-prev[disabled],
.tw-store-next[disabled],
.tw-store-prev:disabled,
.tw-store-next:disabled {
	opacity: 0.38;
	pointer-events: none;
	cursor: default;
}

.tw-store-track.x-slide-container,
.tw-store-track.x-slide-container-viewport,
.tw-store-rail [data-x-slide-container] {
	width: 100vw !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-top: 16px;
	padding-bottom: 8px;
	overflow: hidden;
}

.tw-store-rail .x-slide-container-content,
.tw-store-rail .x-slide-container-content.x-container {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: var(--tw-store-gutter) !important;
	padding-right: 0 !important;
}

.tw-store-card.x-slide,
.x-slide.tw-store-card {
	display: flex !important;
	flex-direction: column;
	justify-content: flex-start;
	width: clamp(280px, calc((100vw - var(--tw-store-gutter) - 32px) / 2.35), 560px) !important;
	min-height: 380px !important;
	padding: 32px 28px 28px !important;
	border-radius: 22px !important;
	border: 0 !important;
	background: #1F1F1F !important;
	box-shadow: none !important;
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tw-store-rail .x-slide:nth-child(even),
.tw-store-rail .x-slide:nth-child(even).tw-store-card {
	background: #F1F1F1 !important;
}

.tw-store-card:hover {
	transform: translateY(-3px);
}

.tw-store-card .tw-store-kicker .x-text-content-text-primary {
	color: #C5B197 !important;
}

.tw-store-card .tw-store-name .x-text-content-text-primary {
	color: #F1F1F1 !important;
}

.tw-store-rail .x-slide:nth-child(even) .tw-store-name .x-text-content-text-primary {
	color: #1F1F1F !important;
}

.tw-store-card .x-text p,
.tw-store-lede {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #D4D2CF;
}

.tw-store-rail .x-slide:nth-child(even) .x-text p,
.tw-store-rail .x-slide:nth-child(even) .tw-store-lede {
	color: #585853;
}

.tw-store-card a.x-div,
.tw-store-link.x-div {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

@media (max-width: 766px) {
	.tw-store-card.x-slide,
	.x-slide.tw-store-card {
		min-height: 320px !important;
		padding: 26px 22px 22px !important;
	}

	.tw-store-nav.x-col,
	.x-col.tw-store-nav {
		justify-content: flex-start;
		padding-top: 12px;
	}
}

.tw-cta-row.x-div,
.x-div.tw-cta-row {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tw-space-inline);
}

.tw-lib-hero.x-section,
.x-section.tw-lib-hero,
.x-bar.tw-lib-hero {
	position: relative;
}

/* Theme.co Advanced Background — keep content above the native video layer. */
.x-bar.tw-lib-hero > .x-bar-container,
.x-bar.tw-lib-hero > .x-container,
.x-section.tw-lib-hero > .x-container,
.x-section.tw-lib-hero > .x-row {
	position: relative;
	z-index: 1;
}

.x-bg-layer-lower-video:has([src*="stream.com//downloads"]) {
	display: none !important;
}

/* Native Section/Bar color pickers own paper and forest surfaces, including
   gradients. Band classes identify text context; they never replace the fill. */

.tw-crumbs.x-crumbs,
.x-crumbs.tw-crumbs {
	font-family: Inter, "Inter Fallback", sans-serif !important;
	font-size: 0.72em !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 20px 0 !important;
}

.tw-crumbs .x-crumbs-link,
.tw-crumbs .x-crumbs-delimiter {
	color: #D4D2CF !important;
}

.tw-band-paper .tw-crumbs .x-crumbs-link,
.tw-band-paper .tw-crumbs .x-crumbs-delimiter {
	color: #585853 !important;
}

.tw-crumbs .x-crumbs-current,
.tw-crumbs .x-crumbs-current .x-crumbs-link {
	color: #C5B197 !important;
}

/* Program single — Pass A Apple bands */
.x-bar.tw-program-band,
.x-section.tw-program-band {
	overflow: visible;
}

@media (min-width: 901px) {
	/* Page scroll must pass through; only L/R arrows advance slides */
	.tw-slider-desk-static .x-slide-container-viewport,
	.tw-slider-desk-static [data-x-slide-container],
	.tw-stage-16x9.tw-slider-desk-static .tw-stage-track,
	.tw-store-rail.tw-slider-desk-static .tw-store-track {
		touch-action: pan-y;
		cursor: default !important;
		overscroll-behavior: auto;
	}
}


.tw-stage-16x9,
.x-slide.tw-stage-slide {
	background-image: linear-gradient(168deg, #1F1F1F 0%, #1F1F1F 55%, #1F1F1F 100%);
}

@media (prefers-reduced-motion: reduce) {
	.tw-stage-16x9,
	.x-slide.tw-stage-slide {
		background-image: none !important;
	}
}


.tw-band-paper .tw-faq .x-acc-header,
.tw-band-paper .tw-faq .x-accordion-header {
	border-top-color: rgba(31, 31, 31, 0.1) !important;
}

.tw-band-paper .tw-faq.x-acc,
.tw-band-paper .x-acc.tw-faq,
.tw-band-paper .tw-faq .x-acc-item,
.tw-band-paper .tw-faq .tw-faq-item {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	border-radius: 0 !important;
}

.tw-band-paper .tw-faq .x-acc-header-text,
.tw-band-paper .tw-faq .x-accordion-header-text,
.tw-band-paper .tw-faq .x-acc-header .x-text-content-text-primary {
	color: #1F1F1F !important;
}

.tw-band-paper .tw-faq .x-acc-content,
.tw-band-paper .tw-faq .x-accordion-content,
.tw-band-paper .tw-faq .x-acc-content p,
.tw-band-paper .tw-faq .x-accordion-content p {
	color: #585853 !important;
}

.tw-band-paper .tw-faq .x-acc-header-indicator,
.tw-band-paper .tw-faq .x-accordion-header-indicator {
	color: #725B2A !important;
}

.tw-band-paper .tw-line-link.x-anchor,
.tw-band-paper .tw-hub-list .tw-line-link {
	background: var(--tw-ink) !important;
}

.tw-band-paper .tw-line-link .x-anchor-text-primary {
	color: var(--tw-cream) !important;
}

.tw-band-slate .tw-line.x-col,
.tw-band-slate .x-col.tw-line {
	padding: 14px 0 !important;
	border-top: 1px solid rgba(241, 241, 241, 0.1) !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Program bands — soft opacity only (no pop / lift / bounce) */
@keyframes tw-soft-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

html.tw-fx-active .x-bar.tw-program-band .tw-fx,
html.tw-fx-active .x-section.tw-program-band .tw-fx,
html.tw-fx-active .x-bar.tw-program-band .tw-line.tw-fx,
html.tw-fx-active .x-section.tw-program-band .tw-line.tw-fx {
	opacity: 0;
	transform: none !important;
}

html.tw-fx-active .x-bar.tw-program-band .tw-fx.is-in,
html.tw-fx-active .x-section.tw-program-band .tw-fx.is-in,
html.tw-fx-active .x-bar.tw-program-band .tw-line.tw-fx.is-in,
html.tw-fx-active .x-section.tw-program-band .tw-line.tw-fx.is-in {
	animation: tw-soft-fade 780ms ease both !important;
	animation-delay: var(--tw-fx-delay, 0ms) !important;
	transform: none !important;
}

.x-bar.tw-program-band .tw-line.is-in:hover,
.x-section.tw-program-band .tw-line.is-in:hover,
.x-bar.tw-program-band .tw-line.tw-fx.is-in:hover,
.x-section.tw-program-band .tw-line.tw-fx.is-in:hover {
	transform: none !important;
	animation: none !important;
	opacity: 1;
}

@media (max-width: 767px) {
	.x-bar.tw-lib-hero.tw-program-band,
	.x-section.tw-lib-hero.tw-program-band {
		padding-top: 88px !important;
		padding-bottom: 64px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.x-bar.tw-program-band .tw-fx,
	.x-section.tw-program-band .tw-fx,
	.x-bar.tw-program-band .tw-fx.is-in,
	.x-section.tw-program-band .tw-fx.is-in,
	.x-bar.tw-program-band .tw-line.tw-fx,
	.x-section.tw-program-band .tw-line.tw-fx,
	.x-bar.tw-program-band .tw-line.tw-fx.is-in,
	.x-section.tw-program-band .tw-line.tw-fx.is-in {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}


/* Stage media — fills parent on desktop frames; ratio box when standalone / mobile */
.x-div.tw-stage-16x9,
.tw-stage-16x9.x-div {
	position: relative !important;
	display: grid !important;
	width: 100% !important;
	max-width: 100% !important;
	aspect-ratio: 16 / 9;
	min-height: 0;
	overflow: hidden !important;
	background: #1F1F1F !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tw-stage-film-frame,
.tw-stage-film-embed {
	position: absolute !important;
	inset: 0;
	margin: 0 !important;
	overflow: hidden;
	container-type: size;
}

.tw-stage-film-scale {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(100cqw, calc(100cqh * 16 / 9));
	aspect-ratio: 16 / 9;
	transform: translate(-50%, -50%);
}

.tw-stage-film-frame iframe,
.tw-stage-film-scale iframe {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	border: 0;
}

/* Stream embed — square object. Do not pill ancestor bands. */
.tw-stream-pill {
	position: relative;
	width: 100%;
	max-width: 640px;
	aspect-ratio: 1 / 1;
	height: auto;
	border-radius: 24px;
	overflow: hidden;
	background: #1F1F1F;
	container-type: size;
}

.tw-stream-pill iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(100cqw, 100cqh);
	height: max(100cqw, 100cqh);
	transform: translate(-50%, -50%);
	border: 0;
	display: block;
}


.tw-sample-still {
	display: none !important;
}

@media (min-width: 901px) {
	.x-div.tw-stage-16x9.tw-slider-desk-static {
		aspect-ratio: auto !important;
		height: 100% !important;
		min-height: 100% !important;
	}
}

.tw-stage-16x9 > .x-slide-container,
.tw-stage-16x9 > .x-slide-container-viewport,
.tw-stage-16x9 > [data-x-slide-container] {
	grid-area: 1 / 1;
	z-index: 1;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tw-stage-16x9 .tw-stage-track,
.tw-stage-16x9 .x-slide-container-viewport,
.tw-stage-16x9 [data-x-slide-container],
.tw-stage-16x9 .x-slide-container,
.tw-stage-16x9 .x-slide-container-content {
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tw-stage-16x9 .x-slide.tw-stage-slide,
.tw-stage-16x9 .tw-stage-slide.x-slide {
	position: relative !important;
	overflow: hidden !important;
	width: 100% !important;
	min-width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	padding: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.tw-stage-slide-inner.x-div,
.x-div.tw-stage-slide-inner {
	position: relative !important;
	z-index: 2;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-end !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 100% !important;
	padding: clamp(32px, 5vw, 72px) clamp(24px, 6vw, 96px) !important;
	box-sizing: border-box !important;
	background: linear-gradient(180deg, rgba(31, 31, 31, 0.15) 0%, rgba(31, 31, 31, 0.72) 55%, rgba(31, 31, 31, 0.92) 100%) !important;
}

.tw-stage-slide-media.x-div,
.x-div.tw-stage-slide-media {
	position: absolute !important;
	inset: 0 !important;
	z-index: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #1F1F1F !important;
}

.tw-stage-slide-media .x-image,
.tw-stage-slide-media img,
.tw-stage-slide-media .tw-stage-still {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	margin: 0 !important;
}

.tw-stage-slide-media .x-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.tw-stage-nav.x-div,
.x-div.tw-stage-nav,
.tw-stage-16x9 > .tw-stage-nav {
	position: absolute !important;
	top: clamp(16px, 2.5vw, 28px) !important;
	right: clamp(16px, 2.5vw, 28px) !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 6;
	grid-area: unset !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 10px;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	pointer-events: auto;
}

.tw-stage-16x9 .tw-store-prev,
.tw-stage-16x9 .tw-store-next {
	background: rgba(241, 241, 241, 0.14) !important;
}

.tw-stage-16x9 .tw-store-prev::before,
.tw-stage-16x9 .tw-store-next::before {
	border-color: #F1F1F1;
}

@media (max-width: 767px) {
	.x-div.tw-stage-16x9,
	.tw-stage-16x9.x-div {
		aspect-ratio: 4 / 5;
	}
}


/* Program content bands breathe instead of filling the screen. */
.x-section.tw-program-band,
.x-bar.tw-program-band {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
	padding: clamp(56px, 8vh, 96px) clamp(20px, 4vw, 48px) !important;
}

/* Home v2 — reader need → proof → path → place → continuum → call. */
.tw-home2-hero.x-section {
	position: relative;
	min-height: min(900px, 92vh);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	isolation: isolate;
	background: #1F1F1F;
}

.tw-home2-hero-media {
	position: absolute !important;
	inset: 0;
	z-index: -3;
	margin: 0 !important;
}

.tw-home2-hero-film,
.tw-home2-hero-film-frame {
	position: absolute !important;
	inset: 0;
	z-index: -2;
	margin: 0 !important;
	overflow: hidden;
	container-type: size;
}

.tw-home2-hero-film-scale {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(100cqw, calc(100cqh * 16 / 9));
	aspect-ratio: 16 / 9;
	transform: translate(-50%, -50%);
}

.tw-home2-hero-film iframe,
.tw-home2-hero-film-frame iframe,
.tw-home2-hero-film-scale iframe {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	border: 0;
	pointer-events: none;
}

.tw-home2-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
	filter: saturate(0.72) contrast(1.05);
	animation: tw-ken 22s ease-out both;
}

.tw-home2-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(10, 15, 12, 0.92) 0%, rgba(10, 15, 12, 0.72) 45%, rgba(10, 15, 12, 0.18) 78%),
		linear-gradient(0deg, rgba(10, 15, 12, 0.65), transparent 48%);
}

.tw-home2-hero-row {
	width: 100% !important;
	padding: clamp(112px, 16vh, 180px) 0 clamp(72px, 10vh, 112px) !important;
}

.tw-home2-hero-copy {
	max-width: 760px !important;
}

.tw-home2-title,
.tw-home2-title .x-text-content-text-primary {
	max-width: 740px;
	text-wrap: balance;
}

.tw-home2-hero-lede {
	max-width: 650px;
}

.tw-home2-ctas {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.tw-home2-ctas .x-anchor,
.tw-home2-close .x-anchor {
	box-shadow: none !important;
	filter: none !important;
}

.tw-home2-hours p {
	margin: 0 !important;
}

.tw-home2-narrow {
	max-width: 660px;
}

.tw-home2-proof > .x-row,
.tw-home2-paths > .x-row,
.tw-home2-campus > .x-row,
.tw-home2-first-call > .x-row {
	position: relative;
	z-index: 1;
}

.tw-home2-proof > .x-component,
.tw-home2-proof > [data-x-component] {
	display: block;
	max-width: 1180px;
	margin: 0 auto;
}

.tw-home2-paths {
	position: relative;
	overflow: hidden;
}

.tw-home2-paths::after {
	content: "02";
	position: absolute;
	right: -0.02em;
	top: 0.08em;
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: clamp(9rem, 26vw, 25rem);
	line-height: 0.8;
	color: rgba(241, 241, 241, 0.025);
	pointer-events: none;
}

.tw-home2-routes > .x-row-inner {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 1px !important;
	background: rgba(241, 241, 241, 0.18);
	border: 1px solid rgba(241, 241, 241, 0.18);
}

.tw-home2-route.x-col {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(30px, 4vw, 52px) !important;
	background: #1F1F1F;
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
}

.tw-home2-route .tw-home2-link {
	margin-top: auto !important;
}

.tw-home2-link.x-anchor {
	width: auto !important;
	box-shadow: none !important;
	filter: none !important;
}

.tw-home2-link .x-anchor-text-primary {
	font-family: Inter, "Inter Fallback", sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.11em !important;
	text-transform: uppercase !important;
}

.tw-home2-campus-stage {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	min-height: 560px;
	overflow: hidden;
	background: #1F1F1F;
}

.tw-home2-campus-stage:has(.tw-stream-pill) {
	width: min(100%, 640px);
	max-width: 640px;
	min-height: 0;
	aspect-ratio: 1 / 1;
	border-radius: 24px;
}

.tw-home2-campus-stage:has(.tw-stream-pill) .x-frame-video-embed,
.tw-home2-campus-stage:has(.tw-stream-pill) .x-frame-inner,
.tw-home2-campus-stage:has(.tw-stream-pill) .x-video,
.tw-home2-campus-stage:has(.tw-stream-pill) .x-video-embed,
.tw-home2-campus-stage:has(.tw-stream-pill) .tw-stream-pill {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	aspect-ratio: auto;
	border-radius: 0;
	margin: 0;
	padding: 0 !important;
}

.tw-home2-campus-stage .tw-home2-campus-image,
.tw-home2-campus-stage .tw-home2-campus-image .x-image,
.tw-home2-campus-stage .tw-home2-campus-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 560px;
	object-fit: cover;
}

.tw-home2-campus-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(10, 15, 12, 0.78) 0%, rgba(10, 15, 12, 0.28) 62%, rgba(10, 15, 12, 0.12) 100%),
		linear-gradient(0deg, rgba(10, 15, 12, 0.72) 0%, transparent 52%);
}

.tw-home2-campus-lockup {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	max-width: 38rem;
	padding: clamp(28px, 5vw, 56px) !important;
}

.tw-home2-campus-houses {
	margin-top: 56px !important;
}

.tw-home2-journey.x-section {
	overflow: hidden;
}

.tw-home2-journey > .x-component,
.tw-home2-journey > [data-x-component] {
	width: 100%;
}

.tw-home2-steps > .x-row-inner {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 0 !important;
	border-top: 1px solid rgba(31, 31, 31, 0.18);
	border-bottom: 1px solid rgba(31, 31, 31, 0.18);
}

.tw-home2-step.x-col {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 32px 28px 36px !important;
	border-right: 1px solid rgba(31, 31, 31, 0.18);
}

.tw-home2-step.x-col:last-child {
	border-right: 0;
}

.tw-home2-close-row {
	margin-top: 40px !important;
}

.tw-home2-close {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

.tw-home2-close > .x-component {
	margin: 0 !important;
}

@media (max-width: 899px) {
	.tw-home2-hero.x-section {
		min-height: 760px;
	}

	.tw-home2-hero::before {
		background:
			linear-gradient(90deg, rgba(10, 15, 12, 0.91), rgba(10, 15, 12, 0.52)),
			linear-gradient(0deg, rgba(10, 15, 12, 0.75), transparent 55%);
	}

	.tw-home2-routes > .x-row-inner,
	.tw-home2-steps > .x-row-inner {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.tw-home2-step.x-col {
		border-right: 0;
		border-bottom: 0;
	}

	.tw-home2-campus-stage,
	.tw-home2-campus-stage .tw-home2-campus-image,
	.tw-home2-campus-stage .tw-home2-campus-image .x-image,
	.tw-home2-campus-stage .tw-home2-campus-image img {
		min-height: 460px;
	}

	.tw-home2-campus-stage:has(.tw-stream-pill) {
		min-height: 0;
	}

	.tw-home2-campus-lockup {
		max-width: none;
		padding: 28px 20px 32px !important;
	}
}

@media (max-width: 520px) {
	.tw-home2-hero-row {
		padding-top: 104px !important;
		padding-bottom: 64px !important;
	}

	.tw-home2-ctas,
	.tw-home2-close {
		align-items: stretch;
		flex-direction: column !important;
	}

	.tw-home2-ctas .x-anchor,
	.tw-home2-close .x-anchor,
	.tw-home2-close > .x-component {
		width: 100% !important;
	}
}

/* Brief: omit empty relational sections */
.tw-approach-band:not(:has(.tw-approach-card)),
.tw-program-resources:not(:has(.tw-resource-card)),
.tw-approach-band:not(:has(.tw-approach-card h3)),
.tw-approach-card:not(:has(h3)) {
	display: none;
}

.tw-home-conditions .tw-finder-card.x-col {
	display: flex !important;
	flex-direction: column;
	height: 100%;
}

.tw-home-conditions .tw-finder-card .x-anchor {
	margin-top: auto !important;
}

.tw-home2-door,
.tw-home2-why,
.tw-which-door {
	padding: 8px 4px 8px 0;
}

.tw-home2-door .x-text-content-text-primary,
.tw-which-door .x-text-content-text-primary {
	letter-spacing: -0.02em;
}

.tw-sched-present {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px 40px;
}

.tw-sched-box {
	border: 1px solid rgba(197, 177, 151, 0.28);
	padding: 20px 24px;
	margin: 0 0 16px;
}

.tw-sched-verify {
	color: #C5B197;
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 0.78em;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 10px;
}

.tw-sched-candidates,
.tw-sched-ask {
	color: #D4D2CF;
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 0.98em;
	margin: 0 0 8px;
}

.tw-sched-box[data-status=""],
.tw-sched-box:not([data-status="conflicting"]):not([data-status="needs_verification"]) {
	display: none;
}

.tw-sched-present:not(:has(.tw-sched-box[data-status="conflicting"])):not(:has(.tw-sched-box[data-status="needs_verification"])) {
	display: none;
}

.tw-home-featured .tw-finder-card,
.tw-home-conditions .tw-finder-card,
.tw-approach-card {
	padding: 8px 8px 24px;
}

.tw-home-featured .tw-finder-card {
	border-top: 1px solid rgba(197, 177, 151, 0.22);
	padding-top: 24px;
}

/* Display face, color, and tracking live on the CS tree; the variation axes below are inert for EB Garamond */
.tw-home2-title .x-text-content-text-primary {
	font-variation-settings: "SOFT" 40, "WONK" 0.7;
}

.tw-band-paper .x-text:not(.x-text-headline),
.tw-band-paper .x-text:not(.x-text-headline) p {
	color: var(--tw-bark);
}

.tw-band-paper .tw-section-kicker .x-text-content-text-primary {
	color: #725B2A;
}

.tw-band-slate .x-text:not(.x-text-headline),
.tw-band-slate .x-text:not(.x-text-headline) p {
	color: var(--tw-warm-body);
}


/* Tiles sit on the band. No second cream fill. */
.tw-home2-door.x-col,
.tw-home2-why.x-col,
.tw-which-door.x-col,
.tw-approach-card.x-col,
.tw-home-conditions .tw-finder-card.x-col,
.tw-home-featured .tw-finder-card.x-col,
.tw-home-approaches .tw-finder-card.x-col,
.tw-home-house-card.x-col {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 32px 16px 48px 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-top: 1px solid rgba(31, 31, 31, 0.16) !important;
	border-radius: 0;
	box-shadow: none !important;
}

.tw-program-band .tw-finder-card.x-col {
	width: auto !important;
	max-width: none !important;
	overflow: hidden;
	box-shadow: none;
}

.tw-band-slate .tw-finder-card.x-col,
.tw-band-slate .tw-approach-card.x-col,
.tw-band-slate .tw-which-door.x-col,
.tw-home-featured .tw-finder-card.x-col,
.tw-home-approaches .tw-finder-card.x-col {
	background: transparent !important;
	border-color: rgba(250, 249, 246, 0.22) !important;
	box-shadow: none;
}

.x-row:has(> .x-row-inner > .tw-which-door) > .x-row-inner,
.x-row:has(> .x-row-inner > .tw-finder-card) > .x-row-inner {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 40px !important;
	margin: 0 !important;
}

.tw-program-band .x-row:has(> .x-row-inner > .tw-finder-card) > .x-row-inner,
.tw-related-grid > .x-row-inner {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px !important;
}

.x-row:has(> .x-row-inner > .tw-which-door:nth-child(4)) > .x-row-inner {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.x-row:has(> .x-row-inner > .tw-which-door) > .x-row-inner > .x-col,
.x-row:has(> .x-row-inner > .tw-finder-card) > .x-row-inner > .x-col {
	width: auto !important;
	max-width: none !important;
	flex: none !important;
}

.x-row:has(> .x-row-inner > .tw-which-door) + .x-row:has(> .x-row-inner > .tw-which-door),
.x-row:has(> .x-row-inner > .tw-finder-card) + .x-row:has(> .x-row-inner > .tw-finder-card) {
	margin-top: 56px !important;
}

.tw-home2-door h3 .x-text-content-text-primary,
.tw-home2-why h3 .x-text-content-text-primary,
.tw-which-door h3 .x-text-content-text-primary,
.tw-finder-card h3 .x-text-content-text-primary {
	font-variation-settings: "SOFT" 40, "WONK" 0.7;
}

.tw-home2-doors > .x-row-inner,
.tw-home2-clinical .tw-home2-doors > .x-row-inner {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 40px !important;
	margin: 0 !important;
}

.tw-home2-door .x-anchor,
.tw-which-door .x-anchor,
.tw-finder-card .x-anchor,
.tw-home2-door .tw-home2-link,
.tw-home-conditions .tw-finder-card .x-anchor {
	border-radius: 999px !important;
	padding: 0 !important;
	background: var(--tw-ink) !important;
	box-shadow: none !important;
	filter: none !important;
	width: auto !important;
}

.tw-home2-door .x-anchor .x-anchor-text-primary,
.tw-which-door .x-anchor .x-anchor-text-primary,
.tw-finder-card .x-anchor .x-anchor-text-primary {
	color: var(--tw-cream) !important;
	font-family: Inter, "Inter Fallback", sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
}

.tw-band-slate .tw-finder-card .x-anchor,
.tw-band-slate .tw-which-door .x-anchor,
.tw-home-featured .tw-finder-card .x-anchor,
.tw-home-approaches .tw-finder-card .x-anchor {
	background: var(--tw-cream) !important;
}

.tw-band-slate .tw-finder-card .x-anchor .x-anchor-text-primary,
.tw-band-slate .tw-which-door .x-anchor .x-anchor-text-primary,
.tw-home-featured .tw-finder-card .x-anchor .x-anchor-text-primary,
.tw-home-approaches .tw-finder-card .x-anchor .x-anchor-text-primary {
	color: var(--tw-ink) !important;
}

.tw-home2-steps > .x-row-inner {
	gap: 48px 40px !important;
	border: 0 !important;
	background: transparent !important;
}

.tw-home2-step.x-col {
	border-right: 0 !important;
	border-radius: 0;
	background: transparent !important;
	padding: 32px 20px 40px 0 !important;
	box-shadow: none !important;
	border-top: 1px solid rgba(31, 31, 31, 0.16) !important;
}

.tw-home2-why-band .tw-home2-step.x-col,
.tw-home2-why-band .tw-home2-why.x-col {
	background: transparent !important;
	box-shadow: none;
	border: 0 !important;
	border-top: 1px solid rgba(250, 249, 246, 0.22) !important;
}

.tw-hims-chips-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.tw-door-plate-wrap {
	margin: 0 0 18px !important;
}

.tw-door-plate {
	display: grid;
	justify-items: start;
	gap: 4px;
	max-width: 220px;
	padding: 18px 20px 16px;
	border: 1px solid rgba(31, 31, 31, 0.16);
	background: rgba(250, 249, 246, 0.72);
	box-shadow: 8px 10px 0 rgba(31, 31, 31, 0.08);
	transform: rotate(-1.25deg);
}

.tw-door-plate-num {
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 3.4rem;
	line-height: 0.85;
	letter-spacing: -0.06em;
	color: var(--tw-slate);
	font-weight: 500;
}

.tw-door-plate-cap {
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tw-brass-paper);
}

.tw-door-plate-line {
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 0.95rem;
	font-style: italic;
	color: #585853;
}

.tw-house-pips-wrap {
	max-width: 1180px;
	margin: 36px auto 0;
	padding: 0 24px;
}

.tw-house-pips {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 32px;
}

.tw-house-pips a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px 12px 8px 0;
	border-radius: 0;
	border: 0;
	border-top: 1px solid rgba(31, 31, 31, 0.16);
	background: transparent;
	box-shadow: none;
	text-decoration: none;
	color: inherit;
}

.tw-house-pips b {
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 1.85rem;
	letter-spacing: -0.04em;
	color: var(--tw-ink);
	font-weight: 500;
}

.tw-house-pips span {
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 1.05rem;
	color: var(--tw-ink);
}

.tw-house-pips small {
	font-family: Inter, "Inter Fallback", sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tw-brass-paper);
}

@media (max-width: 899px) {
	.tw-house-pips {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tw-door-plate {
		transform: none;
	}

	.x-row:has(> .x-row-inner > .tw-which-door) > .x-row-inner,
	.x-row:has(> .x-row-inner > .tw-finder-card) > .x-row-inner,
	.x-row:has(> .x-row-inner > .tw-which-door:nth-child(4)) > .x-row-inner,
	.tw-home2-doors > .x-row-inner,
	.tw-home2-clinical .tw-home2-doors > .x-row-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 28px !important;
	}
}

@media (max-width: 639px) {
	.x-row:has(> .x-row-inner > .tw-which-door) > .x-row-inner,
	.x-row:has(> .x-row-inner > .tw-finder-card) > .x-row-inner,
	.x-row:has(> .x-row-inner > .tw-which-door:nth-child(4)) > .x-row-inner,
	.tw-home2-doors > .x-row-inner,
	.tw-home2-clinical .tw-home2-doors > .x-row-inner,
	.tw-house-pips {
		grid-template-columns: 1fr !important;
	}
}
#tw-is-fallback[hidden] { display: none !important; }

/* Keep a real admissions destination visible beside the mobile menu. */
@media (max-width: 767px) {
  [data-tw-usability-header] { gap: 8px !important; }
  [data-tw-usability-header] [data-tw-logo-motion] { width: 128px !important; gap: 8px !important; }
  [data-tw-usability-header] [data-tw-logo-motion] .x-image,
  [data-tw-usability-header] [data-tw-logo-motion] img { width: 40px !important; height: 40px !important; min-width: 40px !important; }
  [data-tw-usability-header] [data-tw-logo-motion] .x-text { width: 80px !important; font-size: 16px !important; }
  [data-tw-mobile-admissions] { flex: 0 0 96px !important; width: 96px !important; min-width: 96px; padding-inline: 0 !important; margin-left: auto; }
  [data-tw-mobile-admissions] .x-anchor-content { padding: 10px 6px !important; }
}

/* 7 Sep 2026 consistency pass: accessibility layer shared by every page. */
.tw-skip {
	position: absolute; left: 16px; top: -100px; z-index: 100000; padding: 12px 18px;
	background: #F1F1F1; color: #1F1F1F; border-radius: 999px; font: 500 15px/1.2 Inter, "Inter Fallback", sans-serif; text-decoration: none;
	box-shadow: 0 0 0 1px rgba(31, 31, 31, 0.28);
}
.tw-skip:focus, .tw-skip:focus-visible { top: 16px; outline: 3px solid #C5B197; outline-offset: 3px; }
#tw-content:focus { outline: none; }

/* Breadcrumbs: 12px minimum and 24px tall targets. */
.tw-crumbs.x-crumbs, .x-crumbs.tw-crumbs { font-size: 12px !important; }
.x-crumbs .x-crumbs-link { display: inline-block; padding: 5px 0; min-height: 24px; line-height: 14px; }

/* Focus rings on the hand-built controls that had none. */
.x-search-input:focus-visible, .x-search-btn:focus-visible, .mejs-overlay-button:focus-visible, .mejs-controls button:focus-visible,
.x-anchor:focus-visible, button.x-acc-header:focus-visible, [role="tab"]:focus-visible, .x-slide-container-pagination a:focus-visible {
	outline: 3px solid #C5B197; outline-offset: 3px;
}
.tw-band-paper .x-anchor:focus-visible, .tw-band-paper [role="tab"]:focus-visible { outline-color: #725B2A; }

/* Headings that arrive inside rich text (staff bios, legal pages) use the display face too. */
.x-text h1, .x-text h2, .x-text h3, .x-text h4, .x-text h5 { font-family: Inter, "Inter Fallback", sans-serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: #1F1F1F; }
.x-text h2 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
.x-text h3 { font-size: clamp(1.4rem, 1.8vw, 1.75rem); }

/* The shared Verify Insurance pill is paper on dark grounds; on paper bands it reads as outlined. */
.tw-band-paper a.x-anchor[href$="#insurance-form"] { background-color: transparent !important; border: 1px solid rgba(31, 31, 31, 0.28) !important; }
.tw-band-paper a.x-anchor[href$="#insurance-form"] .x-anchor-text-primary { color: #1F1F1F !important; }

/* Article bodies rendered through the-content carry the display face on their headings too. */
.x-the-content h2, .x-the-content h3, .x-the-content h4, .entry-content h2, .entry-content h3 { font-family: Inter, "Inter Fallback", sans-serif !important; font-weight: 500 !important; letter-spacing: -0.02em; line-height: 1.1; color: #1F1F1F; }
.x-the-content h2, .entry-content h2 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); }
.x-the-content h3, .entry-content h3 { font-size: clamp(1.5rem, 1.9vw, 1.85rem); }

/* Insurance form status line: bark on cream passes AA; the grey it shipped with did not. */
#tw-insurance-form-status { color: #585853 !important; }

/* Grounds behind the footer and the video frames were pure white; nothing should ever show white there. */
.x-colophon, .x-frame-video-player { background-color: #1F1F1F; }

/* Focus rings that must beat Cornerstone's own :focus resets (search field, schedule tabs). */
.x-search .x-search-input:focus-visible, .x-search .x-search-btn:focus-visible, #tw-content button:focus-visible, #tw-content [role="tab"]:focus-visible, #tw-content .x-anchor:focus-visible { outline: 3px solid #1F1F1F !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #FAF9F6 !important; }
/* A two-tone indicator remains visible on native light and dark surfaces,
   including sections without the old .tw-band-paper helper class. */

/* Inline links inside running text keep a 24px tap box without changing the line. */
#tw-content p a:not(.x-anchor) { padding: 2px 0; display: inline-block; }

/* One container: the theme's global 1200px max matches the 1320px page field used everywhere else. */
.x-container.max { max-width: 1320px !important; }

/* Approved photo bands (.twp-photo-section: treatment approaches, glossary, lessons, find care).
   Two-up from 768 px, one column on phones. Each photo box holds its ratio before the lazy image
   arrives, so nothing below it shifts. The ratio is the photo's own (--twp-r, set on the figure by
   TW_Bridge_Lighthouse::photo_ratios), 3:2 when unknown, so portraits are not cropped; a pair shares
   one row height by giving each figure a width in proportion to its ratio. */
body .twp-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: 100%; min-width: 0; align-items: start; }
body .twp-photo-grid.twp-photo-single, body .twp-photo-grid.twp-photo-card { grid-template-columns: minmax(0, 1fr); }
body .twp-figure { display: block; width: 100%; min-width: 0; margin: 0; }
body .twp-figure .twp-photo.x-image { display: block; width: 100%; height: auto !important; aspect-ratio: var(--twp-r, 3 / 2); overflow: hidden; border-radius: 8px; background: #e7e1d7; }
body .twp-figure .twp-photo.x-image img { display: block; width: 100%; height: 100% !important; aspect-ratio: auto; object-fit: cover; object-position: 50% 45%; }
body .twp-wide-figure .twp-photo.x-image { aspect-ratio: 16 / 7; }
body .twp-photo-card .twp-photo.x-image { aspect-ratio: 4 / 3; }
body .twp-caption { margin-top: 12px; }
body .twp-caption .twp-caption-text, body .twp-caption p { margin: 0; font-family: Inter, "Inter Fallback", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; }
@media (max-width: 767px) {
  body .twp-photo-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body .twp-wide-figure .twp-photo.x-image { aspect-ratio: 3 / 2; }
  body .twp-caption { margin-top: 10px; }
}
@media (min-width: 768px) and (max-width: 978px) { body .twp-photo-grid { gap: 24px; } }
@media (min-width: 768px) {
  body .twp-photo-grid.twp-photo-pair { display: flex; align-items: flex-start; }
  body .twp-photo-grid.twp-photo-pair > .twp-figure { flex: var(--twp-r, 1.5) 1 0%; width: auto; }
}
