/*
 * The Well(th) Initiative presentation layer.
 *
 * Architecture: theme.json owns tokens and standard block controls; this file
 * handles branded composition and responsive behavior. No page-builder CSS,
 * JavaScript framework, remote fonts, or commercial-theme dependency is used.
 */

:root {
	--wellth-ink: #152332;
	--wellth-navy: #26394c;
	--wellth-slate: #4c5d70;
	--wellth-blue: #0573c7;
	--wellth-blue-dark: #045b9e;
	--wellth-gold: #fdb83d;
	--wellth-gold-light: #ffd170;
	--wellth-coral-accessible: #b13c2f;
	--wellth-cream: #fbe5c0;
	--wellth-mist: #eef1f3;
	--wellth-paper: #fbfaf7;
	--wellth-white: #fff;
	--wellth-border: #c5cdd3;
	--wellth-muted: #536574;
	--wellth-radius: 2px;
	--wellth-shadow: 0 24px 70px rgb(38 57 76 / 12%);
}

html {
	scroll-behavior: smooth;
}

body,
.editor-styles-wrapper {
	background: var(--wellth-paper);
	color: var(--wellth-ink);
	font-family: Aptos, "Avenir Next", "Segoe UI", Arial, sans-serif;
	text-rendering: optimizeLegibility;
}

body {
	margin: 0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

::selection {
	background: var(--wellth-gold);
	color: var(--wellth-ink);
}

a:where(:not(.wp-element-button, .wp-block-navigation-item__content)) {
	text-decoration-line: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.wp-site-blocks :where(p, li, h1, h2, h3, h4, h5, h6, a) {
	overflow-wrap: anywhere;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
.wp-element-button:focus-visible {
	outline: 3px solid var(--wellth-white);
	outline-offset: 4px;
	box-shadow: 0 0 0 7px var(--wellth-ink);
}

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--wellth-ink);
	color: var(--wellth-white);
	font-weight: 800;
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform 120ms ease;
}

.skip-link:focus {
	transform: translateY(0);
}

#main-content {
	scroll-margin-top: 1rem;
}

.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.site-main {
	margin-block-start: 0;
}

.site-header {
	position: relative;
	z-index: 100;
	margin: 0;
	border-bottom: 1px solid #d7dde2;
	background: var(--wellth-paper);
}

.header-inner {
	min-height: 88px;
	gap: 2rem;
}

.brand-lockup {
	flex: 0 1 auto;
	gap: 0.75rem;
}

.brand-lockup .wp-block-site-logo {
	margin: 0;
}

.brand-lockup .custom-logo {
	display: block;
	max-height: 58px;
	width: auto;
}

.brand-title {
	margin: 0;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.brand-title a {
	text-decoration: none;
}

.primary-navigation {
	margin-left: auto;
}

.primary-navigation .wp-block-navigation-item__content {
	min-height: 44px;
	display: flex;
	align-items: center;
	opacity: 0.84;
	transition: opacity 180ms ease, color 180ms ease, background-color 180ms ease;
}

.primary-navigation .wp-block-navigation__responsive-container-open,
.primary-navigation .wp-block-navigation__responsive-container-close {
	min-width: 48px;
	min-height: 48px;
	align-items: center;
	justify-content: center;
}

.primary-navigation .wp-block-navigation-item__content:hover,
.primary-navigation .wp-block-navigation-item__content:focus-visible,
.primary-navigation .current-menu-item > .wp-block-navigation-item__content {
	opacity: 1;
}

.primary-navigation .header-cta-link > .wp-block-navigation-item__content {
	padding: 0.72rem 1rem;
	background: var(--wellth-gold);
	color: var(--wellth-ink);
	font-weight: 800;
	opacity: 1;
}

.primary-navigation .header-cta-link > .wp-block-navigation-item__content:hover,
.primary-navigation .header-cta-link > .wp-block-navigation-item__content:focus-visible {
	background: var(--wellth-gold-light);
}

.wp-block-button__link {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.wp-block-button__link:hover {
	background: var(--wellth-gold-light);
	color: var(--wellth-ink);
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-width: 1px;
}

.button-light .wp-block-button__link {
	border-color: rgb(255 255 255 / 62%);
	color: var(--wellth-white);
}

.button-light .wp-block-button__link:hover,
.button-light .wp-block-button__link:focus-visible {
	background: var(--wellth-white);
	color: var(--wellth-ink);
}

.wellth-hero {
	position: relative;
	min-height: 760px;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(115deg, var(--wellth-ink) 0%, var(--wellth-navy) 56%, var(--wellth-blue) 160%) !important;
}

.wellth-hero::before,
.page-hero::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: "";
	pointer-events: none;
	opacity: 0.2;
	background-image:
		linear-gradient(rgb(255 255 255 / 10%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 10%) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 88%);
	mask-image: linear-gradient(90deg, transparent 3%, #000 88%);
}

.wellth-hero::after {
	position: absolute;
	top: 150px;
	right: -130px;
	width: 460px;
	height: 460px;
	content: "";
	pointer-events: none;
	border: 96px solid rgb(253 184 61 / 12%);
	border-radius: 50%;
}

.page-hero-inner {
	position: relative;
	z-index: 1;
}

.hero-columns {
	position: relative;
	z-index: 2;
	min-height: 760px;
	gap: clamp(2.5rem, 5vw, 4rem);
	padding-block: clamp(4.5rem, 8vw, 7rem);
}

.hero-title,
.page-title {
	max-width: 880px;
	margin: 1.15rem 0 1.35rem;
	color: var(--wellth-white);
	font-weight: 770;
	letter-spacing: -0.058em;
	line-height: 0.97;
}

.hero-lede {
	max-width: 720px;
	color: rgb(255 255 255 / 82%);
	line-height: 1.65;
}

.hero-actions {
	margin-top: 2rem;
}

.hero-trust {
	margin-top: 1.25rem;
	color: rgb(255 255 255 / 69%);
	font-size: 0.88rem;
}

.hero-visual {
	position: relative;
	height: 515px;
	min-height: 515px !important;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 22%);
	clip-path: polygon(0 10%, 88% 0, 100% 92%, 12% 100%);
}

.hero-visual .wp-block-cover__image-background {
	object-position: 69% center;
}

.hero-visual .wp-block-cover__background {
	background: linear-gradient(180deg, rgb(21 35 50 / 2%) 30%, rgb(21 35 50 / 58%) 100%) !important;
	opacity: 1 !important;
}

.hero-visual::before {
	position: absolute;
	inset: 22% 11% 16% 19%;
	z-index: 2;
	content: "";
	pointer-events: none;
	border: 1px solid rgb(253 184 61 / 42%);
}

.hero-visual .wp-block-cover__inner-container {
	position: static;
}

.hero-visual-panel {
	position: absolute;
	left: 7%;
	bottom: 7%;
	z-index: 3;
	width: min(310px, 68%);
	margin: 0;
	padding: 15px 18px 14px;
	border-left: 3px solid var(--wellth-gold);
	background: rgb(21 35 50 / 70%);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.visual-kicker {
	margin: 0;
	color: var(--wellth-gold);
	font-size: 0.875rem;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.hero-visual-panel p:last-child {
	margin: 6px 0 0;
	color: var(--wellth-white);
	font-size: 0.9rem;
	font-weight: 680;
	line-height: 1.35;
}

.eyebrow {
	margin: 0;
	color: var(--wellth-gold);
	font-size: 0.875rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	line-height: 1.45;
	text-transform: uppercase;
}

.eyebrow-dark {
	color: var(--wellth-slate);
}

.eyebrow-coral {
	color: var(--wellth-coral-accessible);
}

.section-shell {
	padding-block: clamp(5rem, 9vw, 7.5rem);
}

.section-heading-row {
	gap: clamp(2rem, 7vw, 6rem);
}

.section-title {
	max-width: 920px;
	margin: 0.85rem 0 1.25rem;
	font-size: clamp(2.4rem, 4.8vw, 4.8rem);
	font-weight: 760;
	letter-spacing: -0.052em;
	line-height: 1.02;
}

.section-lede {
	color: var(--wellth-muted);
	line-height: 1.75;
}

.measure-wide {
	max-width: 860px;
}

.proof-grid,
.results-grid {
	gap: 0;
	margin-top: clamp(2rem, 5vw, 3.5rem);
	border-top: 1px solid rgb(38 57 76 / 35%);
	border-bottom: 1px solid rgb(38 57 76 / 22%);
}

.proof-grid > .wp-block-column + .wp-block-column,
.results-grid > .wp-block-column + .wp-block-column {
	border-left: 1px solid rgb(38 57 76 / 24%);
}

.proof-card,
.result-card {
	height: 100%;
	padding: 2.25rem clamp(1.25rem, 3vw, 2rem);
}

.proof-grid > .wp-block-column:first-child .proof-card,
.results-grid > .wp-block-column:first-child .result-card {
	padding-left: 0;
}

.metric-value {
	margin: 0 0 0.9rem;
	color: var(--wellth-blue);
	font-size: clamp(2.5rem, 5vw, 4.8rem);
	font-weight: 800;
	letter-spacing: -0.065em;
	line-height: 1;
}

.proof-card h3,
.result-card h3,
.proof-card h4,
.result-card h4 {
	margin: 0 0 0.7rem;
	font-size: 1.1rem;
	letter-spacing: -0.015em;
}

.proof-card p,
.result-card p,
.evidence-note {
	color: #526573;
	font-size: 0.9rem;
	line-height: 1.65;
}

.evidence-note {
	max-width: 880px;
	margin-top: 2rem;
}

.metric-impact-disclosure {
	margin-top: 1.35rem;
	padding-top: 0.2rem;
	border-top: 1px solid rgb(5 115 199 / 28%);
}

.metric-impact-disclosure summary {
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--wellth-blue-dark);
	font-size: 0.875rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	line-height: 1.35;
	text-transform: uppercase;
	cursor: pointer;
}

.metric-impact-disclosure summary::marker {
	content: "";
}

.metric-impact-disclosure summary::-webkit-details-marker {
	display: none;
}

.metric-impact-disclosure summary::before {
	width: 1rem;
	flex: 0 0 1rem;
	content: "+";
	color: var(--wellth-blue);
	font-size: 1.1em;
	line-height: 1;
}

.metric-impact-disclosure[open] summary::before {
	content: "−";
}

.metric-impact-disclosure[open] {
	margin-inline: -0.65rem;
	padding: 0.2rem 0.65rem 0.85rem;
	border-top-color: var(--wellth-blue);
	background: rgb(238 245 250 / 84%);
}

.metric-impact-disclosure h4 {
	margin: 0.55rem 0 0.55rem;
	color: var(--wellth-ink);
	font-size: 1.05rem;
	line-height: 1.3;
}

.metric-impact-disclosure p,
.metric-impact-disclosure li {
	font-size: 0.875rem;
	line-height: 1.55;
}

.metric-impact-disclosure .metric-impact-qualification {
	padding-top: 0.7rem;
	border-top: 1px solid rgb(38 57 76 / 16%);
	color: #526573;
	font-size: 0.875rem;
}

.metric-impact-sources {
	margin-block: 0.65rem 0;
	padding-left: 1rem;
}

p.metric-impact-sources {
	padding-left: 0;
}

.metric-impact-sources a {
	color: var(--wellth-blue-dark);
	font-weight: 760;
}

.metric-impact-disclosure-dark {
	border-top-color: rgb(253 184 61 / 40%);
}

.metric-impact-disclosure-dark summary,
.metric-impact-disclosure-dark .metric-impact-sources a {
	color: var(--wellth-gold-light);
}

.metric-impact-disclosure-dark summary::before {
	color: var(--wellth-gold-light);
}

.metric-impact-disclosure-dark[open] {
	border-top-color: var(--wellth-gold);
	background: rgb(21 35 50 / 40%);
}

.metric-impact-disclosure-dark h4,
.result-card-dark .metric-impact-disclosure h4 {
	color: var(--wellth-white);
}

.result-card-dark .metric-impact-disclosure .metric-impact-qualification {
	border-top-color: rgb(255 255 255 / 16%);
	color: rgb(255 255 255 / 68%);
}

.problem-layout,
.approach-layout,
.contact-layout {
	gap: clamp(3rem, 8vw, 6.5rem);
}

.problem-list {
	border-top: 1px solid var(--wellth-border);
}

.problem-item {
	align-items: flex-start;
	gap: 1.4rem;
	margin: 0;
	padding-block: 2rem;
	border-bottom: 1px solid var(--wellth-border);
}

.problem-item .wp-block-group {
	margin: 0;
}

.problem-item h3,
.approach-points h3 {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	letter-spacing: -0.025em;
}

.problem-item p:last-child {
	margin: 0;
	color: var(--wellth-muted);
}

.item-number {
	margin: 0;
	color: var(--wellth-blue);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.1em;
}

.approach-section h2,
.approach-section h3 {
	color: var(--wellth-white);
}

.approach-section .section-lede,
.approach-section .approach-points p {
	color: rgb(255 255 255 / 72%);
}

.approach-section {
	overflow: hidden;
}

.approach-layout,
.approach-layout > .wp-block-column {
	min-width: 0;
	max-width: 100%;
}

.approach-media {
	position: relative;
	min-height: 0;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 24%);
	background: var(--wellth-ink) url("../images/approach-team-poster.webp") center / cover no-repeat;
	box-shadow: 0 28px 70px rgb(8 17 25 / 28%);
	transform: rotate(-4deg);
}

.approach-media::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
	pointer-events: none;
	background: linear-gradient(145deg, rgb(21 35 50 / 6%) 35%, rgb(21 35 50 / 48%) 100%);
}

.approach-media::after {
	position: absolute;
	inset: 18px;
	z-index: 2;
	content: "";
	pointer-events: none;
	border: 1px solid rgb(253 184 61 / 38%);
}

.approach-media video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transform: rotate(4deg) scale(1.1);
}

.approach-media.is-static video {
	display: none;
}

.approach-media-toggle {
	position: absolute;
	right: 1.35rem;
	bottom: 1.35rem;
	z-index: 4;
	min-width: 44px;
	min-height: 44px;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--wellth-gold-light);
	border-radius: var(--wellth-radius);
	background: rgb(21 35 50 / 92%);
	color: var(--wellth-white);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	transform: rotate(4deg);
}

.approach-media-toggle:hover,
.approach-media-toggle:focus-visible {
	background: var(--wellth-white);
	color: var(--wellth-ink);
}

.approach-points {
	gap: 0;
	margin-block: 2.5rem;
	border-top: 1px solid rgb(255 255 255 / 22%);
	border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.approach-points > .wp-block-column {
	padding: 1.7rem 1.35rem 1.9rem 0;
}

.approach-points > .wp-block-column + .wp-block-column {
	padding-left: 1.35rem;
	border-left: 1px solid rgb(255 255 255 / 20%);
}

.approach-points .item-number,
.delivery-card-featured .item-number {
	color: var(--wellth-gold);
}

.audience-grid,
.delivery-grid,
.capability-grid {
	gap: 1rem;
	margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.audience-card {
	overflow: hidden;
}

.audience-card .wp-block-cover__background {
	background: linear-gradient(180deg, rgb(21 35 50 / 10%), rgb(21 35 50 / 95%) 86%) !important;
}

.audience-card .wp-block-cover__inner-container {
	padding: clamp(1.75rem, 4vw, 3.5rem);
}

.audience-card h3 {
	max-width: 620px;
	margin: 0.9rem 0 1rem;
	font-size: clamp(2rem, 3.8vw, 3.8rem);
	letter-spacing: -0.05em;
	line-height: 1.04;
}

.audience-card p:not(.eyebrow) {
	max-width: 560px;
	color: rgb(255 255 255 / 78%);
}

.delivery-card,
.capability-card {
	min-height: 350px;
	display: flex;
	flex-direction: column;
	padding: clamp(1.6rem, 3vw, 2.2rem);
	border: 1px solid rgb(38 57 76 / 23%);
	background: rgb(255 255 255 / 62%);
}

.delivery-card > *,
.capability-card > * {
	width: 100%;
}

.delivery-card .card-kicker {
	margin-top: auto;
}

.card-kicker {
	color: #536674;
	font-size: 0.875rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.delivery-card h3 {
	margin: 0.25rem 0 0.9rem;
	font-size: clamp(2.2rem, 4vw, 3.1rem);
}

.delivery-card > p:last-child,
.capability-card > p:last-child {
	color: var(--wellth-muted);
}

.delivery-card-featured {
	background: var(--wellth-navy);
}

.delivery-card-featured .card-kicker,
.delivery-card-featured > p:last-child,
.delivery-card-featured .check-list {
	color: rgb(255 255 255 / 72%);
}

.detailed-delivery-grid .delivery-card {
	min-height: 610px;
}

.check-list {
	margin-top: auto;
	padding: 1.4rem 0 0;
	border-top: 1px solid rgb(38 57 76 / 20%);
	list-style: none;
}

.delivery-card-featured .check-list {
	border-color: rgb(255 255 255 / 20%);
}

.check-list li {
	position: relative;
	margin-block: 0.75rem;
	padding-left: 1.6rem;
}

.check-list li::before {
	position: absolute;
	left: 0;
	content: "✓";
	color: var(--wellth-blue);
	font-weight: 900;
}

.delivery-card-featured .check-list li::before {
	color: var(--wellth-gold);
}

.capability-grid + .capability-grid {
	margin-top: 1rem;
}

.capability-card h3 {
	margin-top: auto;
	font-size: 1.3rem;
}

.cta-band {
	padding-block: clamp(4.5rem, 8vw, 6.5rem);
}

.cta-band.has-blue-background-color .eyebrow {
	color: var(--wellth-white);
}

.has-gold-background-color .eyebrow-dark {
	color: var(--wellth-ink);
}

.cta-band .section-title {
	margin-bottom: 0;
}

.cta-inner {
	gap: clamp(2rem, 6vw, 5rem);
}

.page-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(118deg, var(--wellth-ink), var(--wellth-navy) 66%, #075f9e 140%) !important;
}

.page-hero-inner {
	min-height: 460px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(5rem, 9vw, 7rem);
}

.page-title {
	font-size: clamp(3rem, 6.3vw, 6rem) !important;
}

.page-excerpt {
	max-width: 820px;
	color: rgb(255 255 255 / 77%);
	font-size: 1.18rem;
	line-height: 1.7;
}

.page-excerpt .wp-block-post-excerpt__more-text:empty {
	display: none;
}

.entry-content-shell {
	padding-block: clamp(4rem, 8vw, 7rem);
}

.entry-content-shell :where(p, li) {
	color: #425766;
}

.entry-content-shell a:not(.wp-element-button),
.archive-shell a:not(.wp-element-button) {
	color: var(--wellth-blue-dark);
	text-decoration: underline;
}

.post-meta {
	color: var(--wellth-muted);
	font-size: 0.88rem;
}

.wellth-eyebrow {
	display: inline-flex;
	margin: 0 0 1rem;
	color: var(--wellth-blue-dark);
	font-size: 0.875rem;
	font-weight: 850;
	letter-spacing: 0.13em;
	line-height: 1.45;
	text-transform: uppercase;
}

.wellth-insight-meta {
	margin-block: 0 1.6rem;
	padding: 0.75rem 0 0.75rem 1rem;
	border-left: 3px solid var(--wellth-gold);
	color: #425766;
	font-size: 0.88rem;
	line-height: 1.55;
}

.wellth-insight-meta strong {
	color: var(--wellth-ink);
}

.wellth-insight-lede {
	max-width: 820px;
	margin-block: 0 2rem;
	color: #30495a !important;
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	font-weight: 560;
	line-height: 1.65;
}

.wellth-field-note {
	margin-block: clamp(2rem, 5vw, 3.5rem);
	padding: clamp(1.4rem, 3.5vw, 2.2rem);
	border: 0;
	border-left: 5px solid var(--wellth-gold);
	background: var(--wellth-mist);
}

.wellth-field-note p {
	margin: 0;
	color: var(--wellth-ink) !important;
	font-size: clamp(1.08rem, 2vw, 1.3rem);
	font-weight: 650;
	line-height: 1.55;
}

.wellth-field-note cite {
	display: block;
	margin-top: 0.9rem;
	color: var(--wellth-blue-dark);
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.results-grid-four .metric-value {
	font-size: clamp(1.9rem, 3.4vw, 3.4rem);
}

.method-note {
	align-items: flex-start;
	gap: 1.5rem;
	margin-top: 2.25rem;
	padding: 1.5rem 1.8rem;
	border-left: 4px solid var(--wellth-blue);
	background: var(--wellth-mist);
}

.method-note .card-kicker {
	flex: 0 0 8rem;
	margin: 0;
}

.method-note p:last-child {
	margin: 0;
	color: var(--wellth-muted);
}

.method-note-dark {
	border-left-color: var(--wellth-gold);
}

.method-note-dark .card-kicker {
	color: var(--wellth-gold);
}

.method-note-dark p:last-child,
.case-study-dark :where(p, li),
.dark-section :where(p, li) {
	color: rgb(255 255 255 / 78%);
}

.media-copy-grid,
.contact-grid,
.case-heading,
.case-callout {
	gap: clamp(2.5rem, 7vw, 6rem);
}

.media-copy-grid > .wp-block-column,
.contact-grid > .wp-block-column,
.case-heading > .wp-block-column,
.case-callout > .wp-block-column {
	min-width: 0;
}

.media-frame {
	margin: 0;
	box-shadow: var(--wellth-shadow);
}

.media-frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	display: block;
	object-fit: cover;
}

.media-frame-tall img {
	aspect-ratio: 4 / 5;
}

.rich-copy > :where(p, ul, ol) {
	max-width: 720px;
	line-height: 1.75;
}

.step-list,
.integration-list {
	margin-top: 2rem;
	border-top: 1px solid var(--wellth-border);
}

.step-item,
.integration-item {
	gap: 1.25rem;
	margin: 0;
	padding-block: 1.4rem;
	border-bottom: 1px solid var(--wellth-border);
}

.step-item > *,
.integration-item > * {
	min-width: 0;
}

.step-item h3,
.integration-item h3,
.step-item p,
.integration-item p {
	margin-block: 0;
}

.dark-section .integration-list {
	border-color: rgb(255 255 255 / 22%);
}

.dark-section .integration-item {
	border-color: rgb(255 255 255 / 18%);
}

.brand-relationship,
.principle-card,
.role-card,
.policy-note,
.lead-form-panel,
.privacy-alert,
.glycemic-callout,
.callout-stat {
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.brand-relationship {
	border-top: 5px solid var(--wellth-gold);
	box-shadow: var(--wellth-shadow);
}

.principle-grid,
.role-grid,
.audience-grid-large {
	gap: 1rem;
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

.principle-card,
.role-card {
	height: 100%;
	border: 1px solid rgb(38 57 76 / 18%);
}

.principle-card h3,
.role-card h3 {
	margin-top: 2.25rem;
}

.audience-panel {
	min-height: 470px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(2rem, 5vw, 4rem);
	overflow: hidden;
}

.audience-panel h2 {
	margin-block: 0.8rem 1rem;
	font-size: clamp(2.2rem, 4.5vw, 4.2rem);
}

.audience-panel :where(p, li) {
	color: rgb(255 255 255 / 80%);
}

.evidence-rules,
.plain-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--wellth-border);
	list-style: none;
}

.evidence-rules li,
.plain-list li {
	position: relative;
	padding: 1.1rem 0 1.1rem 1.6rem;
	border-bottom: 1px solid var(--wellth-border);
}

.evidence-rules li::before,
.plain-list li::before {
	position: absolute;
	left: 0;
	content: "→";
	color: var(--wellth-blue);
	font-weight: 900;
}

.glycemic-callout {
	margin-block: 2.25rem;
	border-left: 5px solid var(--wellth-coral-accessible);
}

.result-card-dark .metric-value,
.result-card-dark :where(h3, h4) {
	color: var(--wellth-white);
}

.result-card-dark p {
	color: rgb(255 255 255 / 76%);
}

.operating-quote,
.tagline {
	margin-block: 2rem 0;
	padding: 1.5rem 0 1.5rem 1.5rem;
	border-left: 4px solid var(--wellth-gold);
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

.qualification {
	padding-top: 1rem;
	border-top: 1px solid rgb(255 255 255 / 22%);
	color: rgb(255 255 255 / 72%) !important;
}

.callout-stat {
	border: 1px solid rgb(255 255 255 / 18%);
}

.callout-stat h3 {
	margin: 0;
}

.callout-stat .card-kicker {
	color: var(--wellth-white);
}

.callout-stat .metric-value {
	color: var(--wellth-white);
	text-align: center;
}

.centered-copy,
.policy-copy {
	max-width: 900px;
	margin-inline: auto;
}

.centered-copy .section-title {
	margin-inline: auto;
}

.compact-section {
	padding-block: clamp(3.75rem, 7vw, 5.5rem);
}

.policy-copy > :where(h2, h3) {
	margin-top: 2.5rem;
}

.policy-copy > :where(p, ul, ol) {
	line-height: 1.8;
}

.policy-note,
.privacy-alert {
	margin-block: 2rem;
	border-left: 4px solid var(--wellth-gold);
}

.lead-form-panel {
	box-shadow: var(--wellth-shadow);
}

.section-separator {
	margin-block: clamp(4rem, 9vw, 7rem);
}

.contact-steps {
	margin-top: 2rem;
	padding: 0;
	border-top: 1px solid var(--wellth-border);
	list-style: none;
	counter-reset: contact-step;
}

.contact-steps li {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	align-items: center;
	gap: 1.25rem;
	padding-block: 1.1rem;
	border-bottom: 1px solid var(--wellth-border);
	font-weight: 680;
	counter-increment: contact-step;
}

.contact-steps li::before {
	color: var(--wellth-blue);
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	content: counter(contact-step, decimal-leading-zero);
}

.contact-card {
	padding: clamp(1.7rem, 5vw, 3rem);
	box-shadow: var(--wellth-shadow);
}

.contact-card h3 {
	font-size: clamp(1.8rem, 3vw, 2.7rem);
}

input:not([type="checkbox"], [type="radio"], [type="submit"]),
textarea,
select {
	min-height: 48px;
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid #667885;
	border-radius: var(--wellth-radius);
	background: var(--wellth-white);
	color: var(--wellth-ink);
	font: inherit;
}

textarea {
	min-height: 150px;
}

.forminator-ui.forminator-custom-form input.forminator-input,
.forminator-ui.forminator-custom-form textarea.forminator-textarea,
.forminator-ui.forminator-custom-form select.forminator-select {
	min-height: 48px !important;
	width: 100% !important;
	font-size: 1rem !important;
}

.forminator-ui.forminator-custom-form textarea.forminator-textarea {
	min-height: 150px !important;
}

.forminator-ui.forminator-custom-form .forminator-button-submit {
	min-height: 48px !important;
	padding: 0.75rem 1.35rem !important;
	font-size: 1rem !important;
}

.archive-shell,
.not-found-shell {
	padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.archive-heading {
	margin-bottom: 3rem;
}

.archive-heading h1,
.not-found-card h1 {
	font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.post-card {
	height: 100%;
	padding: 1.25rem;
	border: 1px solid var(--wellth-border);
	background: var(--wellth-white);
}

.not-found-card {
	max-width: 850px;
	margin-inline: auto;
	padding: clamp(2rem, 6vw, 5rem);
	background: var(--wellth-cream);
}

.not-found-card .eyebrow {
	color: var(--wellth-slate);
}

.not-found-card .wp-block-search {
	margin-block: 2rem;
}

.site-footer {
	margin: 0;
	padding-block: 0 1.75rem;
}

.affiliation-strip {
	max-width: none !important;
	overflow: hidden;
	padding-block: 1.75rem 1.9rem;
	color: var(--wellth-ink);
	border-top: 1px solid #d7dde2;
	border-bottom: 1px solid #d7dde2;
	background: var(--wellth-paper);
}

.affiliation-heading,
.site-footer .affiliation-heading {
	margin: 0 0 1.25rem;
	padding-inline: 1.25rem;
	color: #526474;
	font-size: 0.875rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
}

.affiliation-marquee {
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.affiliation-track {
	width: max-content;
	display: flex;
	animation: affiliation-scroll 30s linear infinite;
	will-change: transform;
}

.affiliation-marquee:hover .affiliation-track,
.affiliation-marquee:focus .affiliation-track {
	animation-play-state: paused;
}

.affiliation-marquee:focus-visible {
	outline: 3px solid var(--wellth-white);
	outline-offset: -5px;
	box-shadow: inset 0 0 0 8px var(--wellth-blue);
}

.affiliation-logo-set {
	min-width: 100vw;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 3.1rem;
	padding-inline: 3.1rem;
}

.affiliation-logo-item {
	width: 220px;
	height: 84px;
	flex: none;
	display: grid;
	place-items: center;
	padding: 8px 20px;
	border: 1px solid rgb(38 57 76 / 13%);
	background: var(--wellth-white);
	box-shadow: 0 8px 28px rgb(21 35 50 / 6%);
}

.affiliation-logo-item img {
	width: auto;
	height: auto;
	object-fit: contain;
}

.affiliation-logo-item .affiliation-logo-seal {
	max-width: 70px;
	max-height: 70px;
}

.affiliation-logo-item .affiliation-logo-wordmark {
	width: 150px;
	max-height: 34px;
}

.affiliation-logo-item .affiliation-logo-university {
	width: 180px;
	max-height: 58px;
}

@keyframes affiliation-scroll {
	to {
		transform: translateX(-50%);
	}
}

.footer-grid {
	padding-top: 4.5rem;
	gap: clamp(2rem, 6vw, 5rem);
}

.footer-brand {
	margin: 0;
	color: var(--wellth-white);
	font-size: 1.45rem;
	font-weight: 800;
}

.footer-summary,
.site-footer p,
.site-footer .wp-block-navigation-item__content {
	color: rgb(255 255 255 / 72%);
}

.footer-summary {
	max-width: 380px;
}

.footer-label {
	margin: 0 0 0.75rem;
	color: var(--wellth-gold) !important;
	font-size: 0.875rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-navigation {
	gap: 0.55rem;
}

.site-footer a {
	text-decoration-line: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

.site-footer .footer-brand a {
	text-decoration: none;
}

.footer-navigation .wp-block-navigation-item__content {
	min-height: 44px;
	display: flex;
	align-items: center;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--wellth-white);
}

.footer-bottom {
	gap: 2rem;
	margin-top: 3.5rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgb(255 255 255 / 18%);
	font-size: 0.78rem;
}

.footer-bottom p {
	margin: 0;
}

@media (max-width: 1024px) {
	.header-inner {
		min-height: 78px;
	}

	.primary-navigation {
		gap: 0.75rem;
	}

	.primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.primary-navigation .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
		display: flex !important;
		padding: 1.5rem;
		background: var(--wellth-paper) !important;
		color: var(--wellth-ink) !important;
	}

	.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding-top: 4rem;
	}

	.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		width: 100%;
		border-bottom: 1px solid var(--wellth-border);
	}

	.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		min-height: 52px;
		width: 100%;
		padding: 1rem 0;
		font-size: 1.1rem;
	}

	.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .header-cta-link {
		margin-top: 1rem;
		border: 0;
	}

	.primary-navigation .wp-block-navigation__responsive-container.is-menu-open .header-cta-link > .wp-block-navigation-item__content {
		justify-content: center;
		padding-inline: 1rem;
	}
}

@media (max-width: 900px) {

	.hero-columns,
	.problem-layout,
		.approach-layout,
		.section-heading-row,
		.contact-layout,
		.media-copy-grid,
		.contact-grid,
		.case-heading,
		.case-callout,
		.cta-inner {
		flex-wrap: wrap !important;
	}

	.hero-columns > .wp-block-column,
	.problem-layout > .wp-block-column,
		.approach-layout > .wp-block-column,
		.section-heading-row > .wp-block-column,
		.contact-layout > .wp-block-column,
		.media-copy-grid > .wp-block-column,
		.contact-grid > .wp-block-column,
		.case-heading > .wp-block-column,
		.case-callout > .wp-block-column,
		.cta-inner > .wp-block-column {
		flex-basis: 100% !important;
	}

	.hero-columns {
		min-height: auto;
	}

	.hero-visual {
		height: 300px;
		min-height: 300px !important;
	}

	.approach-media {
		width: min(100%, 420px);
	}

		.audience-grid,
		.delivery-grid,
		.principle-grid,
		.role-grid,
		.audience-grid-large,
		.results-grid-four {
		flex-wrap: wrap !important;
	}

		.audience-grid > .wp-block-column,
		.delivery-grid > .wp-block-column,
		.principle-grid > .wp-block-column,
		.role-grid > .wp-block-column,
		.audience-grid-large > .wp-block-column,
		.results-grid-four > .wp-block-column {
		flex-basis: calc(50% - 0.5rem) !important;
	}

	.detailed-delivery-grid .delivery-card {
		min-height: 530px;
	}
}

@media (max-width: 781px) {
	.proof-grid,
	.results-grid,
	.approach-points {
		flex-direction: column;
	}

	.proof-grid > .wp-block-column,
	.results-grid > .wp-block-column {
		flex-basis: 100% !important;
	}

	.proof-grid > .wp-block-column + .wp-block-column,
	.results-grid > .wp-block-column + .wp-block-column {
		border-top: 1px solid rgb(38 57 76 / 24%);
		border-left: 0;
	}

	.proof-card,
	.result-card,
	.proof-grid > .wp-block-column:first-child .proof-card,
	.results-grid > .wp-block-column:first-child .result-card {
		padding-inline: 0;
	}

	.approach-points > .wp-block-column,
	.approach-points > .wp-block-column + .wp-block-column {
		padding: 1.5rem 0;
		border-top: 1px solid rgb(255 255 255 / 20%);
		border-left: 0;
	}

	.approach-points > .wp-block-column:first-child {
		border-top: 0;
	}
}

@media (max-width: 700px) {
	.header-inner {
		gap: 1rem;
	}

	.brand-lockup .custom-logo {
		max-height: 46px;
	}

	.brand-title {
		max-width: 190px;
		font-size: 1rem;
	}

	.wellth-hero,
	.hero-columns {
		min-height: auto;
	}

	.hero-columns {
		gap: 2.75rem;
		padding-block: 4.5rem 3.6rem;
	}

	.hero-title {
		font-size: clamp(3rem, 14vw, 4.4rem) !important;
		line-height: 1.04;
		letter-spacing: -0.05em;
	}

	.hero-actions,
	.hero-actions .wp-block-button,
	.hero-actions .wp-block-button__link {
		width: 100%;
	}

	.hero-visual {
		height: 260px;
		min-height: 260px !important;
		clip-path: polygon(0 7%, 94% 0, 100% 93%, 0 100%);
	}

	.hero-visual-panel {
		left: 6%;
		bottom: 18px;
		width: min(330px, calc(100% - 36px));
		padding: 12px 14px 13px;
		border-left-width: 3px;
		background: rgb(21 35 50 / 74%);
		box-shadow: 0 12px 32px rgb(8 17 25 / 30%);
		-webkit-backdrop-filter: blur(7px);
		backdrop-filter: blur(7px);
		text-shadow: 0 1px 2px rgb(8 17 25 / 72%);
	}

	.hero-visual .wp-block-cover__background {
		background: linear-gradient(180deg, rgb(21 35 50 / 8%) 18%, rgb(21 35 50 / 62%) 100%) !important;
	}

	.visual-kicker {
		font-size: 0.75rem;
		letter-spacing: 0.1em;
	}

	.hero-visual-panel p:last-child {
		display: block;
		margin-top: 5px;
		font-size: 0.9rem;
		line-height: 1.32;
	}

	.section-shell {
		padding-block: 4.75rem;
	}

	.section-title {
		font-size: clamp(2.35rem, 11vw, 3.7rem);
	}

	.audience-grid,
	.delivery-grid,
	.capability-grid {
		flex-direction: column;
	}

	.audience-grid > .wp-block-column,
	.delivery-grid > .wp-block-column,
		.capability-grid > .wp-block-column,
		.principle-grid > .wp-block-column,
		.role-grid > .wp-block-column,
		.audience-grid-large > .wp-block-column {
		flex-basis: 100% !important;
	}

	.principle-grid,
	.role-grid,
	.audience-grid-large {
		flex-direction: column;
	}

	.approach-media {
		width: 100%;
		transform: none;
	}

	.approach-media video {
		transform: scale(1.05);
	}

	.approach-media-toggle {
		right: 1rem;
		bottom: 1rem;
		transform: none;
	}

	.approach-actions,
	.approach-actions .wp-block-button,
	.approach-actions .wp-block-button__link {
		width: 100%;
	}

	.audience-card {
		min-height: 500px !important;
	}

	.audience-panel {
		min-height: 390px;
	}

	.media-frame-tall img {
		aspect-ratio: 4 / 3;
	}

	.delivery-card,
	.detailed-delivery-grid .delivery-card,
	.capability-card {
		min-height: auto;
	}

	.delivery-card .card-kicker,
	.capability-card h3 {
		margin-top: 2.5rem;
	}

	.cta-inner .wp-block-buttons,
	.cta-inner .wp-block-button,
	.cta-inner .wp-block-button__link {
		width: 100%;
	}

	.forminator-ui.forminator-custom-form .forminator-button-submit {
		width: 100% !important;
	}

	.page-hero-inner {
		min-height: 390px;
	}

	.page-title {
		font-size: clamp(2.9rem, 13vw, 4.2rem) !important;
	}

	.method-note {
		align-items: stretch;
		flex-direction: column;
	}

	.method-note .card-kicker {
		flex-basis: auto;
	}

	.affiliation-strip {
		padding-block: 1.5rem 1.65rem;
	}

	.affiliation-heading,
	.site-footer .affiliation-heading {
		max-width: 330px;
		margin-inline: auto;
		margin-bottom: 1.05rem;
	}

	.affiliation-logo-set {
		gap: 1.6rem;
		padding-inline: 1.6rem;
	}

	.affiliation-logo-item {
		width: 176px;
		height: 76px;
		padding: 7px 16px;
	}

	.affiliation-logo-item .affiliation-logo-seal {
		max-width: 62px;
		max-height: 62px;
	}

	.affiliation-logo-item .affiliation-logo-wordmark {
		width: 132px;
	}

	.affiliation-logo-item .affiliation-logo-university {
		width: 145px;
	}

	.footer-grid {
		flex-direction: column;
	}

	.footer-grid > .wp-block-column {
		flex-basis: 100% !important;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.wp-block-button__link:hover {
		transform: none;
	}

	.approach-media video,
	.approach-media-toggle {
		display: none;
	}

	.affiliation-marquee {
		overflow: visible;
		padding-inline: 1.25rem;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.affiliation-track {
		width: 100%;
		animation: none;
	}

	.affiliation-logo-set {
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		padding: 0;
	}

	.affiliation-logo-set[aria-hidden="true"] {
		display: none;
	}
}

@media (forced-colors: active) {
	.wp-block-button__link,
	.hero-visual-panel,
	.metric-impact-disclosure,
	.delivery-card,
	.capability-card,
	.contact-card {
		border: 1px solid ButtonText;
	}
}

@media print {
	.site-header,
	.site-footer,
	.cta-band,
	.wp-block-navigation,
	.wp-block-buttons {
		display: none !important;
	}

	.wellth-hero,
	.page-hero,
	.approach-section {
		min-height: 0 !important;
		background: #fff !important;
		color: #000 !important;
	}

	.wellth-hero *,
	.page-hero *,
	.approach-section * {
		color: #000 !important;
	}
}
