:root {
	--page: #f6f8fc;
	--page-deep: #eaf2f8;
	--ink: #10243a;
	--ink-soft: #1c3f5e;
	--muted: #4f6476;
	--line: rgba(158, 65, 65, 0.2);
	--line-strong: rgba(158, 65, 65, 0.32);
	--maroon-border: #9e4141;
	--maroon-border-soft: rgba(158, 65, 65, 0.24);
	--maroon-border-mid: rgba(158, 65, 65, 0.32);
	--maroon-border-strong: rgba(158, 65, 65, 0.42);
	--surface: #ffffff;
	--surface-warm: #f1f6fb;
	--blog-primary: #6c5ce7;
	--blog-secondary: #00d2ff;
	--blog-gradient: linear-gradient(135deg, #6c5ce7 0%, #00d2ff 100%);
	--accent: #007bff;
	--accent-hover: #0056b3;
	--accent-soft: rgba(0, 123, 255, 0.14);
	--slate-deep: #005a84;
	--slate-mid: #157aa8;
	--radius-lg: 28px;
	--radius-md: 18px;
	--radius-sm: 12px;
	--shadow-soft: 0 24px 56px rgba(26, 24, 20, 0.1);
	--shadow-card: 0 12px 36px rgba(26, 24, 20, 0.07);
	--shadow-lift: 0 4px 20px rgba(26, 24, 20, 0.06);
	--font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: var(--font);
	--content-pad: clamp(0.6rem, 2.5vw, 1.05rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	margin: 0;
	padding: 0;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	font-family: var(--font);
	color: var(--ink);
	line-height: 1.65;
	background: var(--page);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
	font-family: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* One horizontal rhythm: header + all sections align to the same inset */
.container {
	max-width: min(1360px, 100%);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: max(var(--content-pad), env(safe-area-inset-left, 0px));
	padding-right: max(var(--content-pad), env(safe-area-inset-right, 0px));
	box-sizing: border-box;
}

/*
	Counseling: minimal layout — light hero, flat surfaces, wider column (see .container above).
*/
.page-inner--counseling {
	background: var(--page);
}

.page-inner--counseling .page-hero {
	padding: clamp(1.35rem, 3.5vw, 2rem) 0;
	background: #ffffff;
	border-bottom: 1px solid var(--line);
}

.page-inner--counseling .page-hero-inner {
	max-width: min(90rem, 100%);
	text-align: center;
}

.page-inner--counseling .page-hero-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 2.8vw + 0.85rem, 2.5rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: 0.04em;
	color: var(--slate-mid);
}

.page-inner--counseling .counseling-toc {
	background-color: #0a4769;
	background-image: linear-gradient(135deg, #0a4769 0%, #0c5f88 48%, #0a6e98 100%);
	border-top: none;
	border-bottom: none;
}

.page-inner--counseling .counseling-toc-scroll a {
	background: rgba(126, 209, 248, 0.18);
	border: 1px solid rgba(127, 215, 255, 0.5);
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.95);
	box-shadow: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.page-inner--counseling .counseling-toc-scroll a:hover {
		background: rgba(126, 209, 248, 0.28);
		border-color: rgba(148, 225, 255, 0.72);
	}
}

.page-inner--counseling .page-links {
	background: var(--page);
	border-bottom: none;
	padding-top: clamp(1.1rem, 2.8vw, 1.55rem);
	padding-bottom: clamp(1.1rem, 2.8vw, 1.55rem);
}

.page-inner--counseling .page-links .container,
.page-inner--counseling .page-articles .container {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding-top: clamp(1.15rem, 2vw, 1.55rem);
	padding-bottom: clamp(1.15rem, 2vw, 1.55rem);
	box-shadow: 0 1px 3px rgba(13, 79, 92, 0.08);
}

.page-inner--counseling .page-links-title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1.25rem;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	font-weight: 700;
	color: var(--slate-deep);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-left: 4px solid var(--maroon-border);
	padding-left: 0.85rem;
}

.page-inner--counseling .page-links-title-icon {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 6px;
	background: #f0f7f9;
	border: 1px solid var(--line);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1rem 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6a7b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 1 0-7l1-1a5 5 0 0 1 7 7l-1 1'/%3E%3Cpath d='M14 11a5 5 0 0 1 0 7l-1 1a5 5 0 0 1-7-7l1-1'/%3E%3C/svg%3E");
}

.page-inner--counseling .page-links-grid {
	gap: 0.85rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.page-inner--counseling .page-link-card {
	position: relative;
	padding: 0.78rem 2rem 0.78rem 0.85rem;
	min-height: 0;
	border-radius: 6px;
	border: 1px solid var(--line);
	box-shadow: none;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 0.7rem;
	align-items: center;
}

.page-inner--counseling .page-link-card::before {
	content: "";
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 6px;
	background: #f0f7f9;
	border: 1px solid var(--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.15rem 1.15rem;
}

/* Match guest static-module icon mapping per card */
.page-inner--counseling .page-links-grid .page-link-card:nth-child(1)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6a7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.page-inner--counseling .page-links-grid .page-link-card:nth-child(2)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6a7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cline x1='8' y1='2.5' x2='8' y2='6.5'/%3E%3Cline x1='16' y1='2.5' x2='16' y2='6.5'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3C/svg%3E");
}

.page-inner--counseling .page-links-grid .page-link-card:nth-child(3)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6a7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13'/%3E%3Cpath d='M22 2L15 22L11 13L2 9L22 2Z'/%3E%3C/svg%3E");
}

.page-inner--counseling .page-links-grid .page-link-card:nth-child(4)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d6a7b'%3E%3Cpath d='M12 2.5l2.85 5.78 6.38.93-4.62 4.5 1.09 6.36L12 17.08l-5.7 2.99 1.09-6.36-4.62-4.5 6.38-.93L12 2.5z'/%3E%3C/svg%3E");
}

.page-inner--counseling .page-link-card::after {
	content: "\203A";
	position: absolute;
	right: 0.72rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--slate-mid);
	font-size: 1rem;
	font-weight: 700;
}

.page-inner--counseling .page-link-card strong {
	font-size: 0.93rem;
	color: var(--slate-deep);
}

.page-inner--counseling .page-link-card span {
	grid-column: 2;
	font-size: 0.78rem;
	line-height: 1.35;
}

.page-inner--counseling .page-articles {
	background: var(--page);
	border-bottom: none;
	padding-top: 0;
	padding-bottom: clamp(1.1rem, 2.8vw, 1.55rem);
}

.page-inner--counseling .page-articles-heading {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1.15rem;
	font-family: var(--font);
	text-transform: uppercase;
	font-size: clamp(0.95rem, 0.75vw + 0.85rem, 1.125rem);
	letter-spacing: 0.1em;
	font-weight: 700;
	border-left: 4px solid var(--maroon-border);
	padding-left: 0.85rem;
	color: var(--slate-deep);
}

.page-inner--counseling .page-articles-heading-icon {
	flex-shrink: 0;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 6px;
	background: #f0f7f9;
	border: 1px solid var(--line);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.1rem 1.1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6a7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cline x1='7' y1='9' x2='17' y2='9'/%3E%3Cline x1='7' y1='12' x2='13' y2='12'/%3E%3Cline x1='7' y1='15' x2='13' y2='15'/%3E%3C/svg%3E");
}

.page-inner--counseling .page-article-list {
	gap: 0;
	border: 1px solid var(--line);
	border-radius: 6px;
	overflow: hidden;
}

.page-inner--counseling .page-article-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 0.9rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	box-shadow: none;
}

.page-inner--counseling .page-article-item:last-child {
	border-bottom: 0;
}

.page-inner--counseling .page-article-item::before {
	content: "";
	flex-shrink: 0;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 6px;
	background: #f0f7f9;
	border: 1px solid var(--line);
	margin-top: 0;
	display: inline-flex;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.1rem 1.1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6a7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
}

.page-inner--counseling .page-article-link {
	display: block;
	border-left: 3px solid var(--maroon-border);
	padding-left: 0.8rem;
	margin-left: 0.05rem;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--slate-deep);
}

@media (hover: hover) and (pointer: fine) {
	.page-inner--counseling .page-article-item:hover {
		border-color: var(--line-strong);
	}
}

/* ——— Top bar (sticky, blog blue gradient) ——— */
.topbar {
	position: sticky;
	top: 0;
	z-index: 40;
	font-family: var(--font);
	background: linear-gradient(180deg, #005a84 6.77%, rgba(21, 122, 168, 0.84) 100%);
	backdrop-filter: blur(20px) saturate(180%);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.topbar-inner {
	min-height: clamp(72px, 14vw, 118px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(0.75rem, 2vw, 1.25rem);
	flex-wrap: wrap;
	padding-top: 0.5rem;
	padding-bottom: 0.65rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

/* Optical nudge: logo + title sit slightly in from the edge on wide layouts */
.topbar .brand {
	padding-left: 0.35rem;
}

.brand-logo {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.topbar .brand-logo {
	width: 102px;
	height: 102px;
}

.brand-text-wrap {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.1;
}

.brand-text {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #ffffff;
}

.brand-subtext {
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.86);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.top-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
	padding-bottom: 0.4rem;
}

.top-nav a {
	padding: 0.55rem 1rem;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.88rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background 0.18s ease, color 0.18s ease;
}

.top-nav a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.top-nav a:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.top-nav a.is-active {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.14) 100%);
	color: #fff;
}

body.page-home .top-nav a.top-nav--home,
body.page-counseling .top-nav a.top-nav--counseling {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.14) 100%);
	color: #fff;
}

/* Hidden on desktop; mobile menu toggle (three lines) — shown only in max-width: 900px rules */
.top-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0;
	padding: 0.5rem;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.18s ease;
}

.top-nav-toggle:hover {
	background: rgba(255, 255, 255, 0.16);
}

.top-nav-toggle:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.top-nav-toggle-lines {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 22px;
}

.top-nav-toggle-line {
	display: block;
	height: 2px;
	width: 100%;
	border-radius: 1px;
	background: #fff;
}

.include-hint {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--muted);
}

.main-content {
	flex: 1;
	min-width: 0;
}

/* ——— Editorial hero ——— */
.hero-editorial {
	position: relative;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
	overflow: hidden;
}

.hero-editorial-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 90% 70% at 12% 0%, rgba(0, 123, 255, 0.1), transparent 55%),
		radial-gradient(ellipse 80% 60% at 88% 12%, rgba(42, 56, 84, 0.1), transparent 50%),
		linear-gradient(180deg, #f6f8fc 0%, #eaf2f8 48%, #deedf8 100%);
	pointer-events: none;
}

body.page-home .hero-editorial {
	min-height: clamp(420px, 65vh, 640px);
	display: flex;
	align-items: center;
	padding-top: clamp(2.25rem, 6vw, 3.5rem);
	padding-bottom: clamp(2.25rem, 6vw, 3.5rem);
}

body.page-home .hero-editorial-bg {
	background: #0a2b42;
}

.hero-anim-layer {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.hero-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 33, 56, 0.07) 0%, rgba(7, 33, 56, 0.02) 60%, rgba(7, 33, 56, 0.06) 100%);
}

.hero-bg .logo-float {
	position: absolute;
	width: var(--logo-size, 118px);
	height: var(--logo-size, 118px);
	background-image: url("/microsite/layouts/assets/images/avalon-icon.svg");
	background-repeat: no-repeat;
	background-size: contain;
	opacity: var(--logo-alpha, 0.05);
	filter: saturate(0.9);
	will-change: transform;
	transform: translate3d(0, 0, 0) scale(1);
	animation: heroLogoFloat var(--float-duration, 56s) ease-in-out infinite;
}

.hero-bg .logo-float--center {
	top: 50%;
	left: 50%;
	--logo-size: clamp(180px, 24vw, 300px);
	--logo-alpha: 0.1;
	animation: heroLogoDepth 68s ease-in-out infinite;
	transform: translate3d(-50%, -50%, 0) scale(1);
	filter: saturate(0.85);
}

.hero-bg .logo-float--1 {
	top: 12%;
	left: 10%;
	--logo-size: 108px;
	--logo-alpha: 0.045;
	--tx: 22px;
	--ty: -16px;
	--rot: -8deg;
	--s: 1.08;
	--float-duration: 62s;
}

.hero-bg .logo-float--2 {
	top: 18%;
	left: 38%;
	--logo-size: 96px;
	--logo-alpha: 0.04;
	--tx: -18px;
	--ty: 24px;
	--rot: 6deg;
	--s: 0.92;
	--float-duration: 48s;
}

.hero-bg .logo-float--3 {
	top: 8%;
	left: 72%;
	--logo-size: 126px;
	--logo-alpha: 0.055;
	--tx: 20px;
	--ty: 18px;
	--rot: 9deg;
	--s: 1.06;
	--float-duration: 74s;
}

.hero-bg .logo-float--4 {
	top: 44%;
	left: 6%;
	--logo-size: 84px;
	--logo-alpha: 0.038;
	--tx: 16px;
	--ty: -14px;
	--rot: -7deg;
	--s: 0.95;
	--float-duration: 42s;
}

.hero-bg .logo-float--5 {
	top: 52%;
	left: 28%;
	--logo-size: 132px;
	--logo-alpha: 0.06;
	--tx: -24px;
	--ty: 20px;
	--rot: 11deg;
	--s: 1.1;
	--float-duration: 80s;
}

.hero-bg .logo-float--6 {
	top: 56%;
	left: 58%;
	--logo-size: 92px;
	--logo-alpha: 0.04;
	--tx: 14px;
	--ty: -22px;
	--rot: -10deg;
	--s: 0.94;
	--float-duration: 52s;
}

.hero-bg .logo-float--7 {
	top: 48%;
	left: 82%;
	--logo-size: 116px;
	--logo-alpha: 0.05;
	--tx: -18px;
	--ty: 14px;
	--rot: 8deg;
	--s: 1.03;
	--float-duration: 66s;
}

.hero-bg .logo-float--8 {
	top: 74%;
	left: 20%;
	--logo-size: 90px;
	--logo-alpha: 0.036;
	--tx: 19px;
	--ty: -12px;
	--rot: -6deg;
	--s: 0.97;
	--float-duration: 58s;
}

.hero-bg .logo-float--9 {
	top: 76%;
	left: 70%;
	--logo-size: 104px;
	--logo-alpha: 0.045;
	--tx: -16px;
	--ty: 16px;
	--rot: 7deg;
	--s: 1.02;
	--float-duration: 70s;
}

@keyframes heroLogoFloat {
	from {
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	}
	50% {
		transform: translate3d(calc(var(--tx, 16px) * 0.6), calc(var(--ty, -14px) * 0.5), 0) rotate(calc(var(--rot, 6deg) * 0.5)) scale(calc((1 + var(--s, 1.04)) / 2));
	}
	to {
		transform: translate3d(var(--tx, 16px), var(--ty, -14px), 0) rotate(var(--rot, 6deg)) scale(var(--s, 1.04));
	}
}

@keyframes heroLogoDepth {
	from {
		transform: translate3d(-50%, -50%, 0) scale(0.84);
		opacity: 0.05;
	}
	50% {
		transform: translate3d(calc(-50% + 18px), calc(-50% - 10px), 0) scale(1.08);
		opacity: 0.11;
	}
	to {
		transform: translate3d(calc(-50% - 14px), calc(-50% + 12px), 0) scale(0.9);
		opacity: 0.06;
	}
}

.hero-bg .hero-shape {
	position: absolute;
	pointer-events: none;
	border-radius: 32px;
	background:
		linear-gradient(135deg, rgba(174, 233, 255, 0.12) 0%, rgba(100, 188, 255, 0.04) 55%, rgba(48, 121, 198, 0.02) 100%);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 56% 56%;
	border: 1px solid rgba(176, 233, 255, 0.14);
	box-shadow: 0 0 0 1px rgba(115, 194, 240, 0.08) inset;
	filter: blur(0.2px);
	will-change: transform;
}

.hero-bg .hero-shape--top-right {
	top: 8%;
	right: 6%;
	width: clamp(150px, 18vw, 240px);
	height: clamp(88px, 10vw, 140px);
	background-image:
		linear-gradient(135deg, rgba(174, 233, 255, 0.12) 0%, rgba(100, 188, 255, 0.04) 55%, rgba(48, 121, 198, 0.02) 100%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23c4efff' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.6'%3E%3Cpath d='M12 49l48-20 48 20-48 20-48-20z'/%3E%3Cpath d='M30 61v15c0 11 16 20 30 20s30-9 30-20V61'/%3E%3Cpath d='M100 54v23'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 100% 100%, 54% 54%;
	animation: heroShapeDriftA 54s ease-in-out infinite;
}

.hero-bg .hero-shape--bottom-left {
	left: 50%;
	bottom: 7%;
	transform: translate3d(-50%, 0, 0);
	width: clamp(180px, 22vw, 280px);
	height: clamp(108px, 12vw, 160px);
	background-image:
		linear-gradient(135deg, rgba(174, 233, 255, 0.12) 0%, rgba(100, 188, 255, 0.04) 55%, rgba(48, 121, 198, 0.02) 100%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23b8e8ff' stroke-width='5.2' stroke-linecap='round' stroke-linejoin='round' opacity='0.58'%3E%3Cpath d='M18 35h40c7 0 13 6 13 13v40H31c-7 0-13-6-13-13V35z'/%3E%3Cpath d='M102 35H62c-7 0-13 6-13 13v40h40c7 0 13-6 13-13V35z'/%3E%3Cpath d='M60 35v53'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 100% 100%, 56% 56%;
	animation: heroShapeDriftB 62s ease-in-out infinite;
}

@keyframes heroShapeDriftA {
	from {
		transform: translate3d(0, 0, 0) rotate(-8deg) scale(0.98);
	}
	50% {
		transform: translate3d(18px, -14px, 0) rotate(-3deg) scale(1.04);
	}
	to {
		transform: translate3d(-12px, 10px, 0) rotate(-6deg) scale(1);
	}
}

@keyframes heroShapeDriftB {
	from {
		transform: translate3d(-50%, 0, 0) rotate(10deg) scale(0.96);
	}
	50% {
		transform: translate3d(calc(-50% - 16px), 14px, 0) rotate(6deg) scale(1.03);
	}
	to {
		transform: translate3d(calc(-50% + 14px), -10px, 0) rotate(8deg) scale(1);
	}
}

.hero-motion-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0.98;
	z-index: 0;
}

.hero-anim-layer--a {
	background:
		radial-gradient(ellipse 58% 52% at 14% 22%, rgba(48, 195, 246, 0.24), transparent 70%),
		radial-gradient(ellipse 44% 38% at 84% 18%, rgba(56, 122, 232, 0.2), transparent 72%),
		linear-gradient(132deg, rgba(7, 40, 66, 0.2) 0%, rgba(12, 57, 96, 0.16) 50%, rgba(8, 35, 61, 0.22) 100%);
	animation: heroFloatA 14s ease-in-out infinite alternate;
	opacity: 0.28;
}

.hero-anim-layer--b {
	background:
		linear-gradient(112deg, rgba(190, 239, 255, 0.16) 0%, rgba(190, 239, 255, 0) 34%),
		linear-gradient(290deg, rgba(106, 201, 255, 0.14) 0%, rgba(106, 201, 255, 0) 36%);
	mix-blend-mode: screen;
	opacity: 0.14;
	filter: blur(1px);
	animation: heroFloatB 18s ease-in-out infinite alternate;
}

.hero-anim-layer--c {
	background:
		radial-gradient(ellipse 54% 40% at 82% 72%, rgba(194, 238, 255, 0.14), transparent 74%),
		linear-gradient(108deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 32%),
		linear-gradient(290deg, rgba(173, 234, 255, 0.08) 0%, rgba(173, 234, 255, 0) 38%);
	opacity: 0.1;
	animation: heroFloatC 22s linear infinite;
}

.hero-editorial-overlay {
	display: none;
}

@keyframes heroFloatA {
	from {
		transform: scale(1) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.04) translate3d(-1.6%, 1.2%, 0);
	}
}

@keyframes heroFloatB {
	from {
		transform: scale(1) translate3d(0, 0, 0) rotate(0deg);
	}
	to {
		transform: scale(1.08) translate3d(1.4%, -1%, 0) rotate(3deg);
	}
}

@keyframes heroFloatC {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-18px, 12px, 0);
	}
}

.hero-editorial-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: stretch;
}

.hero-editorial-copy {
	min-width: 0;
}

body.page-home .hero-editorial-inner {
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

body.page-home .hero-editorial-media {
	display: none;
}

.hero-pill {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: rgba(255, 255, 255, 0.65);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--slate-deep);
}

body.page-home .hero-pill {
	color: rgba(255, 255, 255, 0.82);
	background: transparent;
	border-color: rgba(255, 255, 255, 0.2);
}

.hero-display {
	margin: 0 0 1.1rem;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	font-size: clamp(2.35rem, 5.2vw, 3.75rem);
	color: var(--ink);
}

body.page-home .hero-display--ivywise {
	font-family: var(--font);
	font-size: clamp(1.72rem, 3.45vw, 3.2rem);
	line-height: 0.95;
	letter-spacing: 0.01em;
	font-weight: 700;
	text-transform: uppercase;
	max-width: 15ch;
	color: #ffffff !important;
	position: relative;
	padding-bottom: 0.62rem;
	text-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

body.page-home .hero-display--ivywise::before,
body.page-home .hero-display--ivywise::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.06rem;
	width: min(22.5rem, 92%);
	height: 6px;
	border-radius: 0;
}

body.page-home .hero-display--ivywise::before {
	background: linear-gradient(90deg, rgba(127, 225, 255, 0.22) 0%, rgba(72, 174, 226, 0.42) 100%);
}

body.page-home .hero-display--ivywise::after {
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0) 26%,
		#b6f3ff 44%,
		#4ac8ff 60%,
		#0f8fd6 76%,
		rgba(15, 143, 214, 0.12) 100%
	);
	background-size: 220% 100%;
	background-position: 100% 50%;
	animation: heroLineSweep 2.9s ease-in-out infinite;
}

@keyframes heroLineSweep {
	0% {
		background-position: 120% 50%;
	}
	55% {
		background-position: 35% 50%;
	}
	100% {
		background-position: -30% 50%;
	}
}

.hero-display-line {
	display: block;
}

.hero-display-line--accent {
	color: var(--slate-deep);
}

body.page-home .hero-display-line--accent {
	color: #ffffff !important;
}

.hero-lede {
	margin: 0;
	max-width: min(42ch, 100%);
	font-size: clamp(0.98rem, 2.5vw, 1.05rem);
	color: var(--muted);
}

body.page-home .hero-lede {
	color: rgba(255, 255, 255, 0.94);
	max-width: min(56ch, 100%);
	font-size: clamp(1rem, 1.3vw, 1.12rem);
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

.hero-editorial-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

body.page-home .hero-editorial-actions {
	margin-top: 1.2rem;
}

body.page-home .hero-cta-btn {
	background: #fff;
	color: #0b4568;
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow: 0 8px 24px rgba(2, 14, 28, 0.24);
}

body.page-home .hero-cta-btn:hover {
	background: #f3f9ff;
	color: #063451;
}

body.page-home .hero-editorial-actions .btn-outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.46);
	background: rgba(255, 255, 255, 0.08);
}

body.page-home .hero-editorial-actions .btn-outline:hover {
	background: rgba(255, 255, 255, 0.18);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 0.72rem 1.35rem;
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.03em;
	border: 1px solid transparent;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-lg {
	padding: 0.85rem 1.6rem;
	font-size: 0.98rem;
}

.btn-primary {
	background: var(--blog-gradient);
	border: none;
	color: #fff;
	padding: 0.5rem 1.2rem;
	border-radius: 999px;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4), 0 0 0 0 rgba(108, 92, 231, 0.5);
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	position: relative;
	overflow: hidden;
}

.btn-primary::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.btn-primary:hover {
	background: var(--blog-gradient);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(108, 92, 231, 0.5), 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.btn-primary:hover::before {
	opacity: 1;
}

.btn-outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--line-strong);
}

.btn-outline:hover {
	background: rgba(26, 24, 20, 0.05);
}

.btn:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.hero-stat-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
	margin-top: 1.75rem;
}

body.page-home .hero-editorial .hero-stat-strip > div {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.24);
}

body.page-home .hero-editorial .hero-stat-strip strong,
body.page-home .hero-editorial .hero-stat-strip span {
	color: #f3fbff;
}

.home-stats-section {
	padding: 1rem 0 0.6rem;
	background: var(--page);
}

.home-stats-section .hero-stat-strip {
	margin-top: 0;
}

.hero-stat-strip > div {
	padding: 0.85rem 0.9rem;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-card);
}

.hero-stat-strip strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--ink);
}

.hero-stat-strip span {
	font-size: 0.8rem;
	color: var(--muted);
}

.hero-editorial-media {
	display: grid;
	gap: 1rem;
}

.hero-figure {
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
	background: var(--surface);
}

.hero-figure--photo img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	display: block;
	object-fit: cover;
}

.hero-figure--quote {
	padding: 1.15rem 1.25rem;
	background: linear-gradient(145deg, #ffffff 0%, #f3efe8 100%);
}

.hero-quote-kicker {
	margin: 0 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--slate-mid);
}

.hero-quote-body {
	margin: 0;
	font-size: 0.95rem;
	color: var(--muted);
	line-height: 1.55;
}

/* ——— Logo strip ——— */
.logo-marquee {
	padding: 0.5rem 0 0.25rem;
	border-bottom: 1px solid var(--line);
	background: var(--surface-warm);
}

.logo-marquee-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 0;
}

.logo-marquee-inner span {
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	opacity: 0.85;
}

.logo-marquee-head {
	padding: 0.85rem 0 0;
	text-align: center;
}

.logo-marquee-label {
	margin: 0;
	font-size: 0.88rem;
	color: var(--muted);
}

/* ——— Sections ——— */
.section {
	padding: clamp(3rem, 6vw, 4.25rem) 0;
}

.section-eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.section-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.65rem, 3.2vw, 2.35rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ink);
	max-width: 22ch;
}

.section-deck {
	margin: 0;
	max-width: 62ch;
	font-size: 1.05rem;
	color: var(--muted);
}

.manifesto-block {
	margin-bottom: 1.75rem;
}

.section-deck--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* ——— Education image gallery ——— */
.section-edu-gallery .section-eyebrow,
.section-edu-gallery .section-title {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.section-edu-gallery .section-title {
	max-width: 36ch;
}

.section-edu-gallery .container,
.section-manifesto .container,
.section-metrics .container,
.section-voices .container {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 252, 255, 0.92) 100%);
	border: 1px solid rgba(63, 137, 199, 0.2);
	border-radius: 24px;
	box-shadow: 0 22px 50px rgba(7, 31, 52, 0.08);
	padding: clamp(1.2rem, 2.2vw, 1.75rem);
}

.edu-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.75rem;
}

.edu-gallery-card {
	margin: 0;
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow-card);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.edu-gallery-img-wrap img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.edu-gallery-card figcaption {
	padding: 1rem 1.1rem 1.15rem;
}

.edu-gallery-card figcaption strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
	color: var(--ink);
}

.edu-gallery-card figcaption span {
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.45;
}

/* ——— Bento ——— */
.bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.bento-item {
	padding: 1.15rem 1.2rem;
	border-radius: var(--radius-md);
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-card);
}

.bento-item h3 {
	margin: 0 0 0.5rem;
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--ink);
}

.bento-item p {
	margin: 0;
	font-size: 0.94rem;
	color: var(--muted);
	line-height: 1.55;
}

.bento-item--wide {
	grid-column: span 2;
	display: grid;
	grid-template-rows: auto 1fr;
	padding: 0;
	overflow: hidden;
}

.bento-item--media img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.bento-item-body {
	padding: 1.1rem 1.2rem 1.2rem;
}

.bento-item--image {
	padding: 0;
}

.bento-item--image img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	display: block;
}

.bento-item--span-2 {
	grid-column: span 2;
}

.bento-item--image.bento-item--span-2 img {
	min-height: 280px;
}

.bento-item--span-full {
	grid-column: 1 / -1;
}

.bento-item--span-full p {
	max-width: 85ch;
}

/* ——— Student journey ——— */
.section-journey {
	background: transparent;
	border-block: none;
}

.section-journey .container {
	background: linear-gradient(145deg, #0a2744 0%, #0d3559 58%, #114268 100%);
	border-radius: 24px;
	border: 1px solid rgba(142, 209, 244, 0.26);
	box-shadow: 0 24px 56px rgba(4, 22, 41, 0.28);
	padding: clamp(1.2rem, 2.6vw, 2rem);
}

.section-journey .section-eyebrow,
.section-journey .section-title,
.section-journey .journey-list li,
.section-journey .journey-note {
	color: rgba(236, 248, 255, 0.9);
}

.section-journey .journey-list strong {
	color: #ffffff;
}

.section-journey .journey-list li {
	border-left-color: rgba(143, 226, 255, 0.85);
}

.journey-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
}

.journey-media img {
	width: 100%;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-soft);
	display: block;
	object-fit: cover;
	min-height: 380px;
}

.journey-list {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.journey-list li {
	padding-left: 1rem;
	border-left: 3px solid var(--accent);
	color: var(--muted);
	line-height: 1.55;
	font-size: 0.98rem;
}

.journey-list strong {
	color: var(--ink);
}

.journey-note {
	margin: 1.1rem 0 0;
	font-size: 0.95rem;
	color: var(--muted);
	line-height: 1.55;
}

/* ——— Metrics ——— */
.section-metrics {
	background: transparent;
}

.metrics-layout {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1.1rem;
	align-items: start;
}

.metrics-board,
.timeline-card {
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow-soft);
	padding: 1.35rem 1.4rem;
}

.metric-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
	margin-top: 1rem;
}

.metric-tiles article {
	padding: 0.95rem 1rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: var(--surface-warm);
}

.metric-value {
	display: block;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--slate-deep);
}

.metric-label {
	margin: 0.25rem 0 0;
	font-size: 0.86rem;
	color: var(--muted);
	line-height: 1.4;
}

.timeline-title {
	margin: 0 0 0.65rem;
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ink);
}

.timeline-list {
	margin: 0;
	padding-left: 1.2rem;
	color: var(--muted);
	display: grid;
	gap: 0.5rem;
	font-size: 0.95rem;
}

.timeline-list li::marker {
	color: var(--accent);
	font-weight: 700;
}

/* ——— Voices + FAQ ——— */
.split-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.85fr;
	gap: 1.1rem;
	align-items: start;
}

.split-layout--voices {
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.15fr) minmax(0, 0.95fr);
	align-items: stretch;
}

.voices-visual {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-card);
	background: var(--surface);
	min-height: 100%;
}

.voices-visual img {
	width: 100%;
	height: 100%;
	min-height: 340px;
	object-fit: cover;
	display: block;
}

.voice-cards {
	display: grid;
	gap: 0.85rem;
	margin-top: 1rem;
}

.voice-card {
	padding: 1.1rem 1.15rem;
	border-radius: var(--radius-md);
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-card);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.voice-card p {
	margin: 0 0 0.65rem;
	font-size: 0.98rem;
	color: var(--ink-soft);
	line-height: 1.55;
}

.section-voices .container {
	background: linear-gradient(150deg, #08192f 0%, #0b2644 62%, #11365c 100%);
	border-color: rgba(128, 198, 238, 0.26);
	box-shadow: 0 24px 56px rgba(4, 21, 41, 0.32);
}

.section-voices .section-eyebrow,
.section-voices .section-title {
	color: #ecf7ff;
}

.section-voices .voice-card {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(148, 216, 248, 0.28);
}

.section-voices .voice-card p,
.section-voices .voice-attribution,
.section-voices .faq-title,
.section-voices .faq-card summary,
.section-voices .faq-card p {
	color: #eaf6ff;
}

.section-voices .faq-card {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(148, 216, 248, 0.3);
}

.section-voices .faq-card details {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(148, 216, 248, 0.26);
}

.voice-attribution {
	font-size: 0.88rem;
	color: var(--muted);
	font-style: normal;
}

.faq-card {
	padding: 1.2rem 1.25rem;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--surface-warm);
}

.faq-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ink);
}

.faq-card details {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.75rem 0.9rem;
}

.faq-card details + details {
	margin-top: 0.55rem;
}

.faq-card summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--ink);
}

.faq-card p {
	margin: 0.55rem 0 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

/* ——— CTA ——— */
.cta-banner {
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.cta-banner-inner {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 2vw, 1.25rem);
	color: #fff;
	border: 1px solid rgba(140, 208, 243, 0.34);
	box-shadow: 0 28px 60px rgba(6, 27, 43, 0.36);
}

.cta-banner-bg,
.cta-banner-shade {
	position: absolute;
	inset: 0;
}

.cta-banner-bg {
	background:
		linear-gradient(135deg, #07142c 0%, #0a2342 62%, #0d2d52 100%);
	opacity: 1;
}

.cta-banner-shade {
	background: linear-gradient(180deg, rgba(10, 40, 66, 0.12) 0%, rgba(10, 40, 66, 0.34) 100%);
}

.cta-banner-corner {
	position: absolute;
	z-index: 0;
	width: clamp(110px, 22vw, 240px);
	aspect-ratio: 1;
	border-radius: 28px;
	background: linear-gradient(145deg, rgba(93, 188, 255, 0.42), rgba(79, 226, 196, 0.32));
	opacity: 0.86;
	filter: saturate(0.9);
	pointer-events: none;
}

.cta-banner-corner--top {
	top: -15%;
	right: -4%;
	transform: rotate(12deg);
}

.cta-banner-corner--bottom {
	left: -3%;
	bottom: -24%;
	transform: rotate(-14deg);
}

.cta-banner-content {
	position: relative;
	z-index: 1;
	max-width: none;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
	align-items: stretch;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(141, 208, 243, 0.2);
	overflow: hidden;
}

.cta-banner-copy {
	padding: clamp(1.25rem, 2.2vw, 1.9rem);
}

.cta-banner-text {
	margin: 0 0 1.3rem;
	max-width: 44ch;
	font-size: 0.96rem;
	line-height: 1.55;
	color: rgba(233, 248, 255, 0.82);
}

.cta-banner-media {
	position: relative;
	min-height: 220px;
}

.cta-banner-media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(9, 35, 60, 0.36) 0%, rgba(9, 35, 60, 0.04) 48%);
	z-index: 1;
}

.cta-banner-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cta-banner .section-eyebrow {
	margin: 0 0 0.5rem;
	color: rgba(255, 255, 255, 0.55);
}

.cta-banner-title {
	margin: 0 0 1.35rem;
	font-family: var(--font);
	font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.cta-banner-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.6rem;
	border-radius: 6px;
	background: #fff;
	color: #0d4f5c;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-banner-btn::before {
	content: "";
	width: 0.95rem;
	height: 0.95rem;
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6a7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cline x1='8' y1='2.5' x2='8' y2='6.5'/%3E%3Cline x1='16' y1='2.5' x2='16' y2='6.5'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3C/svg%3E");
}

.cta-banner-btn:hover {
	color: #0d4f5c;
	transform: translateY(-1px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ——— Inner pages (e.g. Counseling) ——— */
.page-inner {
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.page-hero {
	position: relative;
	padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2rem);
	border-bottom: 1px solid var(--line);
	background: var(--page);
}

.page-hero-inner {
	max-width: 62ch;
}

.page-hero .section-eyebrow {
	margin-bottom: 0.5rem;
}

.page-hero-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.85rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.page-hero-deck {
	margin: 0;
	font-size: 1.05rem;
	color: var(--muted);
	line-height: 1.6;
}

.page-links {
	padding: clamp(2rem, 4vw, 2.75rem) 0;
	background: var(--page);
	border-bottom: 1px solid var(--line);
}

.page-links-title {
	margin: 0 0 1.25rem;
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--slate-deep);
}

.page-links-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.page-link-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	padding: 1rem 1.1rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow-card);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.2s ease;
}

.page-link-card:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.page-link-card strong {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ink);
}

.page-link-card span {
	font-size: 0.84rem;
	color: var(--muted);
	line-height: 1.4;
}

.page-articles {
	padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 2.5rem);
	border-bottom: 1px solid var(--line);
	background: var(--page);
}

.page-articles .section-eyebrow {
	margin-bottom: 0.45rem;
}

.page-articles-heading {
	margin: 0 0 1.15rem;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 700;
	color: var(--ink);
	line-height: 1.2;
	max-width: 100%;
}

.page-article-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.65rem;
}

.page-article-list--continue {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--line);
}

.page-article-item {
	margin: 0;
	padding: 0.75rem 0.95rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow-card);
}

.page-article-link {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--slate-deep);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.page-article-link:hover {
	color: var(--accent-hover);
	border-bottom-color: var(--maroon-border-soft);
}

.page-article-link--static {
	cursor: default;
	color: var(--ink-soft);
	border-bottom: none;
	font-weight: 600;
}

.page-articles-more[hidden] {
	display: none;
}

.page-articles-toggle {
	margin-top: 1rem;
	width: 100%;
	max-width: 280px;
}

@media (min-width: 480px) {
	.page-articles-toggle {
		width: auto;
		max-width: none;
	}
}

/* Counseling — Relevant articles: mobile “See more / See less” matches Contents toggle (center, width, bg) */
@media (max-width: 900px) {
	.page-inner--counseling .page-articles-toggle {
		display: flex;
		margin: 1rem auto 0;
		width: auto;
		max-width: 9.5rem;
		padding: 0.4rem 0.85rem;
		font-size: 0.8rem;
		font-weight: 600;
		justify-content: center;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.9);
		color: var(--accent);
		border: 1px solid var(--maroon-border-mid);
		box-shadow: 0 1px 2px rgba(26, 24, 20, 0.06);
		transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
	}

	.page-inner--counseling .page-articles-toggle[aria-expanded="false"] {
		background: rgba(255, 255, 255, 0.9);
		color: var(--accent);
		border-color: var(--maroon-border-mid);
		box-shadow: 0 1px 2px rgba(26, 24, 20, 0.06);
	}

	.page-inner--counseling .page-articles-toggle[aria-expanded="true"] {
		background: rgba(0, 123, 255, 0.12);
		color: var(--accent-hover);
		border-color: var(--maroon-border-strong);
		box-shadow: 0 1px 3px rgba(26, 24, 20, 0.08);
	}

	@media (hover: hover) and (pointer: fine) {
		.page-inner--counseling .page-articles-toggle:hover {
			background: var(--accent);
			color: #fff;
			border-color: var(--maroon-border);
			box-shadow: 0 2px 8px var(--maroon-border-soft);
		}

		.page-inner--counseling .page-articles-toggle[aria-expanded="false"]:hover {
			background: var(--accent);
			color: #fff;
			border-color: var(--maroon-border);
		}

		.page-inner--counseling .page-articles-toggle[aria-expanded="true"]:hover {
			background: var(--accent);
			color: #fff;
			border-color: var(--maroon-border);
		}
	}

	.page-inner--counseling .page-articles-toggle[aria-expanded="false"]:active,
	.page-inner--counseling .page-articles-toggle[aria-expanded="true"]:active {
		background: var(--accent-hover);
		border-color: var(--accent-hover);
		color: #fff;
	}
}

/*
	Counseling sections: chapter cards — title → image → prose when an image exists.
	Body copy is justified; lists/headings stay left-aligned.
*/
.page-split--chapter {
	width: 100%;
	margin: 0;
	padding-top: clamp(0.65rem, 1.8vw, 1.05rem);
	padding-bottom: clamp(1.25rem, 3.5vw, 1.75rem);
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
	background: transparent;
	border: none;
}

/* Extra air below the horizontal rule before the first chapter block */
.page-articles + .page-split--chapter,
.page-links + .page-split--chapter {
	padding-top: clamp(1.15rem, 3.2vw, 2rem);
}

.page-chapter-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: clamp(0.85rem, 2.2vw, 1.25rem) clamp(0.75rem, 2vw, 1.1rem);
	box-sizing: border-box;
	width: 100%;
}

/* Counseling-only: richer card surface, lift on hover, stronger figure depth */
.page-inner--counseling .page-chapter-card {
	background: linear-gradient(165deg, #ffffff 0%, #faf8f6 100%);
	border-color: var(--maroon-border-mid);
	border-left-color: var(--maroon-border);
	box-shadow:
		0 10px 40px rgba(26, 24, 20, 0.07),
		0 1px 0 rgba(255, 255, 255, 0.95) inset;
	transition: transform 0.22s ease, box-shadow 0.24s ease, border-color 0.2s ease;
}

/* Counseling chapter images: blog-sized (slug.cfm); alternate left/right; text wraps beside image then full width under */
.page-inner--counseling .counseling-article-content {
	position: relative;
	overflow: hidden;
	clear: both;
	margin-top: 1rem;
}

.page-inner--counseling .counseling-article-content::after {
	content: "";
	display: table;
	clear: both;
}

.page-inner--counseling .counseling-article-image-wrap {
	display: block;
	margin: 0 0 1.5rem;
	padding: 0;
	max-width: 45%;
	position: relative;
	border: none;
	border-radius: 12px;
	overflow: visible;
	background: transparent;
	aspect-ratio: unset;
	min-height: 0;
	box-shadow: none;
}

.page-inner--counseling .counseling-article-image-wrap--right {
	float: right;
	margin-left: 2rem;
	margin-right: 0;
	clear: right;
}

.page-inner--counseling .counseling-article-image-wrap--left {
	float: left;
	margin-right: 2rem;
	margin-left: 0;
	clear: left;
}

.page-inner--counseling .counseling-article-img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow:
		0 4px 12px rgba(0, 0, 0, 0.1),
		0 12px 36px rgba(26, 24, 20, 0.08);
	display: block;
	max-height: 600px;
	object-fit: contain;
}

.page-inner--counseling .counseling-article-body {
	line-height: 1.8;
	color: var(--muted);
}

/* After the float height, remaining lines use full width (same idea as blog .article-body::after) */
.page-inner--counseling .counseling-article-body::after {
	content: "";
	display: block;
	clear: both;
}

@media (max-width: 992px) {
	.page-inner--counseling .counseling-article-image-wrap {
		float: none !important;
		max-width: 100%;
		margin: 0 0 2rem !important;
		clear: both;
	}

	.page-inner--counseling .counseling-article-img {
		max-height: 500px;
	}
}

.page-inner--counseling .page-link-card {
	border-color: rgba(26, 24, 20, 0.1);
}

.page-inner--counseling .page-links .container,
.page-inner--counseling .page-articles .container {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 252, 255, 0.94) 100%);
	border: 1px solid rgba(62, 137, 199, 0.24);
	border-radius: 24px;
	box-shadow: 0 18px 46px rgba(7, 31, 52, 0.1);
	padding: clamp(1rem, 2.4vw, 1.6rem);
}

.page-inner--counseling .counseling-toc .counseling-toc-inner {
	border: none;
	border-radius: 16px;
	box-shadow: none;
}

.page-inner--counseling .page-chapter-card {
	border-radius: 22px;
	border-left-width: 0;
	border-top: 4px solid var(--maroon-border);
	background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
}

.page-inner--counseling .page-chapter-head {
	padding-bottom: 0.8rem;
	border-bottom: 1px solid rgba(70, 141, 202, 0.2);
	margin-bottom: 1rem;
}

.page-inner--counseling .page-chapter-badge {
	background: linear-gradient(165deg, #ffffff 0%, #f6fbff 100%);
	border-color: var(--maroon-border-mid);
}

.page-inner--counseling .counseling-article-img {
	border: 1px solid rgba(74, 146, 206, 0.28);
	border-radius: 14px;
}

@media (hover: hover) and (pointer: fine) {
	.page-inner--counseling .page-chapter-card:hover {
		transform: translateY(-3px);
		box-shadow:
			0 20px 52px rgba(26, 24, 20, 0.11),
			0 1px 0 rgba(255, 255, 255, 0.98) inset;
		border-color: var(--maroon-border-mid);
	}

	.page-inner--counseling .page-link-card:hover {
		border-color: var(--maroon-border-strong);
	}
}

@media (prefers-reduced-motion: reduce) {
	.page-inner--counseling .page-chapter-card {
		transition: none;
	}

	.page-inner--counseling .page-chapter-card:hover {
		transform: none;
	}
}

.page-chapter-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.85rem 1.25rem;
	margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}

.page-chapter-badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.42rem 0.8rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-hover);
	border: 1px solid var(--maroon-border-strong);
	border-radius: 999px;
	background: linear-gradient(165deg, #ffffff 0%, var(--surface-warm) 100%);
	box-shadow: 0 1px 2px rgba(26, 24, 20, 0.05);
}

.page-chapter-title {
	margin: 0;
	flex: 1;
	min-width: min(100%, 12rem);
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.8vw, 1.75rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.page-chapter-figure {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0 0 clamp(1rem, 2.2vw, 1.35rem);
	padding: 0;
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--line);
	aspect-ratio: 21 / 9;
	min-height: 0;
	background: var(--ink);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
	box-sizing: border-box;
}

.page-chapter-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.page-split--chapter-text .page-chapter-head {
	margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
}

.page-chapter-prose {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	hyphens: auto;
	-webkit-hyphens: auto;
	text-wrap: pretty;
}

/* Lists and subheads look wrong when fully justified */
.page-chapter-prose ul,
.page-chapter-prose ol,
.page-chapter-prose h3,
.page-chapter-prose h4 {
	text-align: start;
}

.page-prose {
	font-size: 0.98rem;
	color: var(--muted);
	line-height: 1.65;
	text-align: start;
}

.page-prose.page-chapter-prose {
	text-align: justify;
}

.page-prose p {
	margin: 0 0 0.85rem;
}

.page-prose p:last-child {
	margin-bottom: 0;
}

.page-prose ul {
	margin: 0.5rem 0 0;
	padding-left: 1.2rem;
}

.page-prose li {
	margin-bottom: 0.35rem;
}

/* ——— Counseling: same DB content as guest/family (TOC + TinyMCE HTML) ——— */
.counseling-toc {
	position: relative;
	top: auto;
	z-index: 1;
	padding: 0;
	margin: 0;
	background: var(--page);
	border-bottom: 1px solid var(--line);
}

.counseling-toc .counseling-toc-inner {
	background: transparent;
	border: none;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
}

/* Wins over rule above (same specificity + later): glass TOC spacing on counseling */
.page-inner--counseling .counseling-toc .counseling-toc-inner {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	max-width: 90rem;
	margin-left: auto;
	margin-right: auto;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
}

.counseling-toc-label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* No horizontal scroll — links wrap to new lines like a compact tag list */
.counseling-toc-scroll {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	align-items: center;
	flex: 1;
	min-width: 0;
}

.counseling-toc-scroll a {
	display: inline-block;
	align-items: center;
	padding: 0.45rem 0.95rem;
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.95);
	background: rgba(126, 209, 248, 0.18);
	border: 1px solid rgba(127, 215, 255, 0.5);
	max-width: 100%;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.counseling-toc-scroll a:hover {
	background: rgba(126, 209, 248, 0.28);
	border-color: rgba(148, 225, 255, 0.72);
}

/* --- Premium counseling visual pass --- */
body.page-counseling .page-inner--counseling {
	background:
		radial-gradient(1200px 520px at 8% -8%, rgba(138, 220, 255, 0.14), transparent 62%),
		radial-gradient(980px 460px at 92% 4%, rgba(112, 190, 241, 0.1), transparent 58%),
		var(--page);
}

body.page-counseling .page-inner--counseling .page-hero {
	background: linear-gradient(180deg, #f8fcff 0%, #eff7fd 100%);
	border-bottom: 1px solid rgba(75, 147, 206, 0.24);
}

body.page-counseling .page-inner--counseling .page-hero-title {
	color: #123f62;
	text-shadow: 0 2px 0 rgba(255, 255, 255, 0.75);
}

body.page-counseling .page-inner--counseling .page-links-title,
body.page-counseling .page-inner--counseling .page-articles-heading,
body.page-counseling .page-inner--counseling .page-article-link {
	border-left-color: rgba(118, 206, 248, 0.78);
}

body.page-counseling .page-inner--counseling .page-links,
body.page-counseling .page-inner--counseling .page-articles,
body.page-counseling .page-inner--counseling .page-split--chapter {
	padding-top: clamp(1.3rem, 2.8vw, 2rem);
}

body.page-counseling .page-inner--counseling .page-links .container,
body.page-counseling .page-inner--counseling .page-articles .container,
body.page-counseling .page-inner--counseling .page-split--chapter .container {
	max-width: min(1220px, 100%);
}

body.page-counseling .page-inner--counseling .page-link-card {
	background: linear-gradient(160deg, #ffffff 0%, #f6fbff 100%);
	border-color: rgba(88, 153, 207, 0.28);
	box-shadow: 0 12px 28px rgba(8, 37, 61, 0.08);
}

body.page-counseling .page-inner--counseling .page-link-card strong {
	font-size: 0.98rem;
}

body.page-counseling .page-inner--counseling .page-article-list {
	background: #ffffff;
	border-color: rgba(88, 153, 207, 0.28);
}

body.page-counseling .page-inner--counseling .page-article-item {
	background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
}

body.page-counseling .page-inner--counseling .page-article-link {
	font-size: 0.95rem;
	line-height: 1.5;
}

body.page-counseling .page-inner--counseling .page-chapter-card {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	border-top-width: 5px;
	border-top-color: rgba(118, 206, 248, 0.82);
	padding: clamp(1rem, 2.4vw, 1.5rem) clamp(0.95rem, 2.3vw, 1.35rem);
}

body.page-counseling .page-inner--counseling .page-chapter-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(320px 140px at 100% 0%, rgba(135, 216, 255, 0.16), transparent 66%),
		radial-gradient(280px 120px at 0% 100%, rgba(107, 185, 236, 0.12), transparent 64%);
	pointer-events: none;
}

body.page-counseling .page-inner--counseling .page-chapter-head,
body.page-counseling .page-inner--counseling .counseling-article-content {
	position: relative;
	z-index: 1;
}

body.page-counseling .page-inner--counseling .page-split--chapter:nth-of-type(odd) .page-chapter-card {
	background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
}

body.page-counseling .page-inner--counseling .page-split--chapter:nth-of-type(even) .page-chapter-card {
	background: linear-gradient(165deg, #ffffff 0%, #f3f9ff 100%);
}

body.page-counseling .page-inner--counseling .counseling-article-img {
	box-shadow:
		0 8px 22px rgba(10, 35, 57, 0.12),
		0 18px 42px rgba(10, 35, 57, 0.1);
}

body.page-counseling .page-inner--counseling .page-chapter-badge {
	border-color: rgba(118, 206, 248, 0.52);
}

@media (hover: hover) and (pointer: fine) {
	body.page-counseling .page-inner--counseling .page-chapter-card:hover,
	body.page-counseling .page-inner--counseling .page-link-card:hover {
		border-color: rgba(118, 206, 248, 0.62);
	}
}

/* Chapter links: wrapper uses display:contents on wide screens so all pills share one flex row flow */
.counseling-toc-more {
	display: contents;
}

.counseling-toc-toggle {
	display: none;
	margin-top: 0.45rem;
	align-self: center;
	width: auto;
	max-width: 9.5rem;
	padding: 0.4rem 0.85rem;
	font-size: 0.8rem;
	font-weight: 600;
	justify-content: center;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(127, 215, 255, 0.5);
	box-shadow: 0 1px 2px rgba(26, 24, 20, 0.06);
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

/* Collapsed (“Show more”): always restore light fill after tap (avoids stuck hover on touch) */
.counseling-toc:not(.counseling-toc--open) .counseling-toc-toggle {
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.95);
	border-color: rgba(127, 215, 255, 0.5);
	box-shadow: 0 1px 2px rgba(26, 24, 20, 0.06);
}

/* Expanded (“Show less”): subtle tint so state is clear; clears when .counseling-toc--open is removed */
.counseling-toc.counseling-toc--open .counseling-toc-toggle {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
	border-color: rgba(148, 225, 255, 0.72);
	box-shadow: 0 1px 3px rgba(26, 24, 20, 0.08);
}

@media (hover: hover) and (pointer: fine) {
	.counseling-toc-toggle:hover {
		background: rgba(255, 255, 255, 0.22);
		color: #fff;
		border-color: rgba(148, 225, 255, 0.72);
		box-shadow: 0 2px 8px rgba(71, 166, 214, 0.36);
	}

	.counseling-toc:not(.counseling-toc--open) .counseling-toc-toggle:hover {
		background: rgba(255, 255, 255, 0.22);
		color: #fff;
		border-color: rgba(148, 225, 255, 0.72);
	}

	.counseling-toc.counseling-toc--open .counseling-toc-toggle:hover {
		background: rgba(255, 255, 255, 0.22);
		color: #fff;
		border-color: rgba(148, 225, 255, 0.72);
	}
}

/* Press feedback (higher specificity than collapsed/expanded resting styles) */
.counseling-toc:not(.counseling-toc--open) .counseling-toc-toggle:active,
.counseling-toc.counseling-toc--open .counseling-toc-toggle:active {
	background: rgba(255, 255, 255, 0.28);
	border-color: rgba(148, 225, 255, 0.72);
	color: #fff;
}

/* Mobile: first row only (Important links + Articles); Show more reveals chapter pills */
@media (max-width: 900px) {
	.page-inner--counseling .counseling-toc .counseling-toc-inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.55rem;
		align-items: stretch;
		padding-left: var(--content-pad);
		padding-right: var(--content-pad);
	}

	.page-inner--counseling .counseling-toc-label {
		display: block;
		width: 100%;
		margin: 0;
	}

	.page-inner--counseling .counseling-toc-scroll {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
		width: 100%;
	}

	.page-inner--counseling .counseling-toc-scroll a {
		width: 100%;
		text-align: center;
	}

	.counseling-toc:not(.counseling-toc--open) .counseling-toc-more {
		display: none;
	}

	.counseling-toc.counseling-toc--open .counseling-toc-more {
		display: contents;
	}

	.counseling-toc-toggle {
		display: inline-flex !important;
		visibility: visible;
		opacity: 1;
		order: 3;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: none;
		margin: 0.1rem 0 0;
		text-align: center;
		padding: 0.42rem 0.58rem;
		background: rgba(255, 255, 255, 0.2);
		color: #ffffff;
		border: 1px solid rgba(214, 241, 255, 0.7);
		box-shadow: 0 1px 2px rgba(8, 36, 58, 0.12);
	}
}

@media (min-width: 900.02px) {
	.counseling-toc-toggle {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	.counseling-toc .counseling-toc-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.6rem;
	}

	.counseling-toc-label {
		width: 100%;
		display: block;
		margin: 0;
	}

	.counseling-toc-scroll {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem 0.55rem;
	}

	.counseling-toc-scroll a {
		width: 100%;
		max-width: 100%;
		text-align: center;
		white-space: normal;
	}
}

@media (max-width: 420px) {
	.counseling-toc-scroll {
		grid-template-columns: 1fr;
	}

	.page-inner--counseling .counseling-toc-toggle {
		padding-top: 0.48rem;
		padding-bottom: 0.48rem;
	}
}

.page-tinymce-body {
	overflow-wrap: anywhere;
	word-break: break-word;
	text-align: start;
}

.page-tinymce-body p,
.page-tinymce-body li {
	text-align: start;
}

/* Chapter cards: justify body paragraphs (TinyMCE sets <p>; generic rule above blocked it) */
.page-prose.page-chapter-prose.page-tinymce-body p {
	text-align: justify;
}

.page-tinymce-body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

/* Inline CMS images: don’t float beside text in a narrow column (fixes “tiny image in corner”) */
.page-tinymce-body img[style*="float"],
.page-tinymce-body img[style*="FLOAT"] {
	float: none !important;
	display: block;
	margin: 0.75rem auto !important;
}

.page-tinymce-body table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 0.75rem 0;
	font-size: 0.92rem;
}

.page-tinymce-body th,
.page-tinymce-body td {
	border: 1px solid var(--line);
	padding: 0.45rem 0.55rem;
	vertical-align: top;
}

.page-tinymce-body h3,
.page-tinymce-body h4 {
	font-family: var(--font-display);
	color: var(--ink);
	margin: 1rem 0 0.5rem;
	line-height: 1.25;
}

.page-empty-notice {
	padding: 1.5rem 0 2.5rem;
}

@media (max-width: 680px) {
	.page-links-grid {
		grid-template-columns: 1fr;
	}

	.page-chapter-figure {
		aspect-ratio: 16 / 9;
	}

	.page-chapter-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.65rem;
	}

	.page-chapter-title {
		font-size: clamp(1.2rem, 5vw, 1.45rem);
	}
}

/* ——— Footer ——— */
.site-footer {
	padding: 0;
	font-family: var(--font);
	border-top: 2px solid rgba(127, 215, 255, 0.45);
	background: linear-gradient(135deg, #0b132b 0%, #1f2a4a 55%, #005a84 100%);
}

.footer-inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: clamp(1.5rem, 3.5vw, 2.25rem);
	row-gap: 1.75rem;
	align-items: start;
	/* Vertical only — do not use padding shorthand here: same node has .container, and
	   "padding: T 0 B" would reset left/right to 0 and wipe .container’s horizontal inset. */
	padding-top: clamp(2.25rem, 4vw, 3rem);
	padding-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.footer-inner > * {
	min-width: 0;
}

.footer-branding {
	border-left: 3px solid rgba(127, 215, 255, 0.55);
	padding-left: 1rem;
	padding-right: 0.25rem;
}

.footer-title {
	margin: 0 0 0.35rem;
	font-family: var(--font);
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: #ffffff;
}

.footer-tagline {
	margin: 0 0 1rem;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #7fd7ff;
}

.footer-summary {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.96rem;
	line-height: 1.65;
}

.footer-links,
.footer-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55rem;
	margin-left: 20px;
}

.footer-links h3,
.footer-contact h3 {
	margin: 0 0 0.5rem;
	padding-bottom: 0.4rem;
	font-size: 0.78rem;
	font-family: var(--font);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #a8e5ff;
	border-bottom: 2px solid rgba(127, 215, 255, 0.42);
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
}

.footer-links a,
.footer-contact a {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	font-size: 0.93rem;
	line-height: 1.45;
	transition: color 0.15s ease;
	align-self: flex-start;
	max-width: 100%;
}

.footer-links a:hover,
.footer-contact a:hover {
	color: #7fd7ff;
}

.footer-contact {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.93rem;
}

.footer-contact > a[href^="tel"] {
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.02em;
}

.footer-contact > a[href^="tel"]:hover {
	color: #7fd7ff;
}

.footer-contact > span {
	line-height: 1.5;
	max-width: 22ch;
}

.footer-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
}

.footer-social li {
	margin: 0;
	padding: 0;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	padding: 0;
	border: 1px solid rgba(127, 215, 255, 0.42);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #d2efff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.footer-social-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	display: block;
}

.footer-social-link:hover {
	border-color: rgba(127, 215, 255, 0.75);
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.footer-legal-bar {
	width: 100%;
	border-top: 1px solid rgba(127, 215, 255, 0.32);
	background: transparent;
	box-sizing: border-box;
}

.footer-legal {
	/* Same node has .container — avoid padding shorthand with 0 horizontal */
	padding-top: 1rem;
	padding-bottom: 1.35rem;
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.86rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	box-sizing: border-box;
}

.footer-legal a {
	font-weight: 600;
	color: #a8e5ff;
}

.footer-legal a:hover {
	color: #ffffff;
}

@media (max-width: 980px) {
	.topbar-inner {
		flex-direction: column;
		padding-top: 0.85rem;
		padding-bottom: 1.15rem;
		align-items: flex-start;
	}

	.top-nav {
		padding-top: 0.25rem;
		padding-bottom: 0.5rem;
	}

	.hero-editorial-inner,
	.metrics-layout,
	.split-layout,
	.split-layout--voices,
	.journey-split {
		grid-template-columns: 1fr;
	}

	.edu-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bento-item--wide {
		grid-column: span 2;
	}

	.bento-item--span-2 {
		grid-column: span 2;
	}

	.footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.top-nav {
		width: 100%;
		justify-content: flex-start;
		gap: 0.4rem;
	}

	.hero-stat-strip,
	.metric-tiles,
	.bento,
	.edu-gallery {
		grid-template-columns: 1fr;
	}

	.bento-item--wide,
	.bento-item--span-2 {
		grid-column: span 1;
	}

	.cta-banner-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.cta-banner-content {
		grid-template-columns: 1fr;
	}

	.cta-banner-media {
		min-height: 190px;
	}

	.section-edu-gallery .container,
	.section-manifesto .container,
	.section-metrics .container,
	.section-voices .container,
	.page-inner--counseling .page-links .container,
	.page-inner--counseling .page-articles .container {
		padding: 1rem;
		border-radius: 18px;
	}

	.footer-inner {
		grid-template-columns: 1fr;
	}

	.footer-branding {
		padding-right: 0;
	}

	.hero-editorial-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-editorial-actions .btn {
		width: 100%;
		text-align: center;
	}

	.logo-marquee-label {
		padding: 0 0.25rem;
	}
}

/* Narrow viewports: same horizontal padding for header + content (fixes misaligned edges) */
@media (max-width: 900px) {
	html {
		overflow-x: hidden;
	}

	:root {
		--content-pad: clamp(0.75rem, 3.5vw, 1.15rem);
	}

	/* One top row: brand (left) + hamburger (right); nav opens on row 2 full width */
	.topbar-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: 0.65rem;
		row-gap: 0;
		width: 100%;
		min-height: auto;
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}

	.topbar-inner .brand {
		grid-column: 1;
		grid-row: 1;
		max-width: 100%;
		align-items: center;
		align-self: center;
		min-width: 0;
		justify-self: start;
	}

	.topbar-inner .top-nav-toggle {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		align-self: center;
	}

	.topbar-inner .top-nav {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.brand-text-wrap {
		min-width: 0;
		flex: 1;
	}

	.topbar .brand-logo {
		width: min(80px, 22vw);
		height: min(80px, 22vw);
		flex-shrink: 0;
	}

	/* Hamburger + collapsible nav (see min-width: 901px reset) */

	.top-nav-toggle {
		display: inline-flex;
	}

	.top-nav:not(.is-open) {
		display: none !important;
	}

	.top-nav.is-open {
		display: flex !important;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		min-width: 0;
		margin-top: 0.65rem;
		padding-top: 0.75rem;
		border-top: 1px solid var(--line);
		gap: 0.35rem;
	}

	.top-nav.is-open a {
		width: 100%;
		justify-content: flex-start;
	}

	/* Legal strip: stacked; center on narrow viewports only (desktop unchanged above this breakpoint) */
	.footer-legal {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 0.5rem;
	}

	.cta-banner-inner {
		padding: 1.25rem 1.2rem;
	}

	/* Mobile breathing room: keep CTA card off screen edges */
	.cta-banner {
		padding-left: 0.45rem;
		padding-right: 0.45rem;
	}

	.cta-banner-title {
		max-width: none;
	}

	.section-title {
		max-width: 100%;
	}

	.section-edu-gallery .section-title {
		max-width: min(36ch, 100%);
	}

	.journey-media img {
		min-height: 220px;
	}

	.voices-visual img {
		min-height: 180px;
		max-height: 280px;
		width: 100%;
		object-fit: cover;
	}

	.hero-figure--photo img {
		min-height: 200px;
	}

	.page-hero-title {
		font-size: clamp(1.55rem, 6vw, 2.15rem);
	}
}

/* Desktop / tablet wide: inline nav; hide hamburger (mobile rules above stop at 900px) */
@media (min-width: 901px) {
	.top-nav-toggle {
		display: none !important;
	}

	.top-nav {
		display: flex !important;
	}
}

/* Cards lift slightly on devices with hover (skip touch to avoid “sticky” tap states) */
@media (hover: hover) and (pointer: fine) {
	.edu-gallery-card:hover,
	.page-link-card:hover,
	.voice-card:hover {
		transform: translateY(-3px);
		box-shadow: var(--shadow-soft);
	}

	.page-link-card:hover {
		border-color: var(--maroon-border-soft);
	}
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
	.edu-gallery-card:hover,
	.page-link-card:hover,
	.voice-card:hover {
		transform: none;
	}
}

/* ——— Premium motion system (IvyWise-style pacing; blue palette preserved) ——— */
.motion-reveal {
	opacity: 0;
	transform: translateY(24px) scale(0.985);
	will-change: transform, opacity;
}

.motion-reveal.motion-reveal--shown {
	opacity: 1;
	transform: none;
}

.is-hovered {
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease;
}

.btn.is-hovered {
	transform: translateY(-2px);
}

.page-link-card.is-hovered,
.page-article-item.is-hovered,
.voice-card.is-hovered,
.edu-gallery-card.is-hovered,
.bento-item.is-hovered {
	transform: translateY(-4px);
	box-shadow: 0 18px 42px rgba(10, 40, 75, 0.14);
}

.page-article-item.is-hovered .page-article-link {
	color: var(--accent-hover);
}

.cta-banner-inner {
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
	.cta-banner-inner:hover {
		transform: translateY(-3px);
		box-shadow: 0 24px 56px rgba(7, 31, 52, 0.24);
	}
}

@media (prefers-reduced-motion: reduce) {
	.motion-reveal,
	.is-hovered,
	.btn.is-hovered,
	.page-link-card.is-hovered,
	.page-article-item.is-hovered,
	.voice-card.is-hovered,
	.edu-gallery-card.is-hovered,
	.bento-item.is-hovered,
	.cta-banner-inner {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		animation: none !important;
	}

	.hero-anim-layer {
		animation: none !important;
	}

	.hero-bg .logo-float {
		animation: none !important;
	}

	.hero-bg .hero-shape {
		animation: none !important;
	}
}

/* Final mobile TOC override: keep alignment + visible Show more */
@media (max-width: 900px) {
	body.page-counseling .page-inner--counseling .counseling-toc .counseling-toc-inner {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 0.55rem !important;
	}

	body.page-counseling .page-inner--counseling .counseling-toc-scroll {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.5rem !important;
	}

	body.page-counseling .page-inner--counseling .counseling-toc-scroll a {
		text-align: center !important;
	}

	body.page-counseling .page-inner--counseling .counseling-toc-toggle {
		display: inline-flex !important;
		width: auto !important;
		max-width: max-content !important;
		padding: 0.42rem 0.82rem !important;
		margin: 0.1rem auto 0 !important;
		background: rgba(255, 255, 255, 0.96) !important;
		color: #0f4f77 !important;
		border: 1px solid rgba(204, 233, 248, 0.95) !important;
		border-radius: 8px !important;
		box-shadow: 0 1px 2px rgba(8, 36, 58, 0.12) !important;
	}
}

@media (max-width: 420px) {
	body.page-counseling .page-inner--counseling .counseling-toc-scroll {
		grid-template-columns: 1fr !important;
	}
}

/* --- Welcome to Avalon (letter) --- */
.page-inner--welcome-letter .page-hero {
	padding: clamp(1.35rem, 3.5vw, 2rem) 0;
	background: #ffffff;
	border-bottom: 1px solid var(--line);
}

.page-inner--welcome-letter .page-hero-inner {
	max-width: min(90rem, 100%);
	margin-inline: auto;
	text-align: center;
}

.page-inner--welcome-letter .page-hero-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 2.8vw + 0.85rem, 2.5rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.04em;
	color: var(--slate-mid);
}

body.page-welcome-avalon .main-content {
	background: var(--surface);
}

.welcome-letter-prose--team p:first-child {
	margin-top: 0;
}

.welcome-letter-prose--team p:last-child {
	margin-bottom: 0;
}

.welcome-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.page-inner--welcome-letter {
	padding-bottom: 2.5rem;
}

.welcome-letter-outer {
	max-width: 52rem;
	margin: 0 auto;
	padding: clamp(1.25rem, 3.5vw, 2.75rem) var(--content-pad) 0;
}

/* Gradient “picture frame” around the letter */
.welcome-letter-frame {
	position: relative;
	border-radius: 18px;
	padding: 5px;
	background: linear-gradient(
		132deg,
		#fdf6e3 0%,
		#e9c66a 14%,
		#d4a84b 22%,
		#b84a48 40%,
		#7c2d38 54%,
		#1c6f94 72%,
		#0f4f77 88%,
		#0a2f4a 100%
	);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.28) inset,
		0 10px 32px rgba(158, 65, 65, 0.22),
		0 28px 64px rgba(16, 36, 58, 0.14),
		0 4px 12px rgba(8, 24, 40, 0.08);
}

.welcome-letter-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	z-index: 0;
	background: linear-gradient(
		210deg,
		rgba(255, 255, 255, 0.5) 0%,
		rgba(255, 255, 255, 0.12) 32%,
		rgba(255, 255, 255, 0) 55%
	);
	pointer-events: none;
}

.welcome-letter-sheet {
	position: relative;
	z-index: 1;
	border-radius: 14px;
	background: linear-gradient(180deg, #fffdfa 0%, #ffffff 30%, #fafcfe 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 1),
		inset 0 0 0 1px rgba(158, 65, 65, 0.07),
		inset 0 -24px 48px rgba(21, 122, 168, 0.04);
	padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.85rem, 5.5vw, 3.6rem) clamp(2.35rem, 4.5vw, 3.1rem);
	font-family: var(--font);
	color: #111;
	line-height: 1.58;
}

.welcome-letter-logo {
	margin: 0 auto 2rem;
	text-align: center;
	max-width: 20rem;
}

.welcome-letter-logo img {
	display: inline-block;
	max-height: 7.5rem;
	width: auto;
	height: auto;
}

.welcome-letter-prose {
	position: relative;
	z-index: 2;
	font-size: clamp(0.98rem, 0.25vw + 0.94rem, 1.05rem);
	text-align: justify;
	hyphens: auto;
	-webkit-hyphens: auto;
}

.welcome-letter-salutation,
.welcome-letter-closing {
	text-align: left;
}

.welcome-letter-prose p {
	margin: 0 0 1.05em;
}

.welcome-letter-callout {
	margin-top: 1.1em;
	margin-bottom: 0.45em;
}

.welcome-letter-rulelist {
	margin: 0.25em 0 1.35em;
	padding-left: 1.5rem;
	list-style-position: outside;
}

.welcome-letter-rulelist li {
	margin-bottom: 0.45em;
}

.welcome-letter-expand {
	margin-top: 1.05em;
	margin-bottom: 0;
}

.welcome-letter-expand strong {
	margin-right: 0.25em;
}

.welcome-letter-prose--new-families .nf-h2 {
	font-size: clamp(1.12rem, 0.9vw + 0.95rem, 1.32rem);
	font-weight: 600;
	color: var(--slate-deep);
	margin: 1.5em 0 0.55em;
	line-height: 1.25;
}

.welcome-letter-prose--new-families .nf-h3 {
	font-size: clamp(1.02rem, 0.45vw + 0.92rem, 1.12rem);
	font-weight: 600;
	color: var(--ink-soft);
	margin: 1.25em 0 0.4em;
	line-height: 1.3;
}

.welcome-letter-prose--new-families .nf-h4 {
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--ink-soft);
	margin: 1.05em 0 0.35em;
}

.welcome-letter-prose--new-families .nf-ul,
.welcome-letter-prose--new-families .nf-ol {
	margin: 0 0 1.1em;
	padding-left: 1.35rem;
}

.welcome-letter-prose--new-families .nf-ul li,
.welcome-letter-prose--new-families .nf-ol li {
	margin-bottom: 0.45em;
}

.welcome-letter-salutation {
	margin-bottom: 1.15em !important;
	font-weight: 400;
}

.welcome-letter-closing {
	margin-top: 1.35em !important;
	margin-bottom: 0.35em !important;
}

.welcome-letter-signature {
	margin-top: 0.25rem;
	text-align: left;
}

.welcome-letter-signature-img {
	display: block;
	max-width: 14rem;
	width: auto;
	height: auto;
	margin: 0 0 0.35rem;
}

.welcome-letter-sign-name,
.welcome-letter-sign-title {
	font-family: var(--font);
	margin: 0;
	font-size: 1rem;
	line-height: 1.45;
}

.welcome-letter-sign-title {
	margin-top: 0.1rem;
}

body.page-welcome-avalon .page-inner--welcome-letter .cta-banner {
	margin-top: 2.5rem;
}
