/*
Theme Name: Guided Living Solutions
Author: Guided Living Solutions
Description: Custom one-page theme for Guided Living Solutions, Aging in Place Specialists serving older adults and families in Texas. Built from the Website Design V1 comp. Edit text, photos, logos and show/hide switches under Appearance > Customize > Guided Living Solutions. Edit services, family stories, team, FAQs and testimonials from the Guided Living menu.
Version: 2.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guided-living-solutions
*/

/* ==========================================================================
   Fonts (self-hosted, no external requests)
   ========================================================================== */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/lora-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Lora";
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url("assets/fonts/lora-latin-wght-italic.woff2") format("woff2");
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy: #293c4b;
	--navy-deep: #1f2f3b;
	--sage: #99ab99;
	--sage-dark: #849884;
	--olive: #6f7a64;
	--taupe: #958e82;
	--taupe-deep: #7a7367;
	--ink-soft: #5f594f;
	--white: #ffffff;

	--f-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
	--f-body: "Lora", Georgia, "Times New Roman", serif;

	--gutter: clamp(20px, 4.5vw, 56px);
	--header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--white);
	color: var(--navy);
	font-family: var(--f-body);
	font-size: 1.1875rem;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
	font-family: var(--f-head);
	font-weight: 800;
	line-height: 1.12;
	margin: 0;
	text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
	outline: 3px solid var(--sage);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: 12px; top: -80px;
	z-index: 100;
	background: var(--white);
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 600;
	padding: 10px 16px;
	border-radius: 6px;
	text-decoration: none;
}
.skip-link:focus { top: 12px; }

section[id] { scroll-margin-top: var(--header-h); }

/* Shared pieces */
.sec-title {
	font-size: clamp(1.7rem, 3.1vw, 2.5rem);
	text-transform: uppercase;
	letter-spacing: -0.005em;
}
.eyebrow {
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .95rem;
	text-transform: uppercase;
	letter-spacing: .01em;
	margin: 0 0 14px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	padding: .8em 1.5em;
	border: 2px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: .85em; height: .85em; flex: none; }
.btn--sage { background: var(--sage); color: var(--navy); }
.btn--sage:hover { background: #adbdad; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--navy); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--navy);
	color: var(--white);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
	padding: 12px var(--gutter);
}
.site-logo { display: block; flex: none; line-height: 0; }
.site-logo img { display: block; height: 50px; width: auto; }

.site-nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav a {
	display: inline-block;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .92rem;
	text-transform: uppercase;
	letter-spacing: .03em;
	line-height: 1.2;
	color: var(--white);
	text-decoration: none;
	padding: .6em 1.15em;
	border: 2px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.site-nav a:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.site-nav a:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
/* The section the visitor is reading (set by the script) */
.site-nav a.is-active { background: var(--white); border-color: var(--white); color: var(--navy); }
/* The last item is the call to action */
.site-nav li:last-child { margin-left: clamp(8px, 1.4vw, 20px); }
.site-nav li:last-child a { background: var(--sage); border-color: var(--sage); color: var(--navy); }
.site-nav li:last-child a:hover { background: #adbdad; border-color: #adbdad; }
.site-nav li:last-child a.is-active { background: var(--white); border-color: var(--white); }
@media (min-width: 861px) and (max-width: 1100px) {
	.site-header__inner { gap: 14px; }
	.site-nav ul { gap: 4px; }
	.site-nav a { font-size: .8rem; padding: .55em .85em; letter-spacing: .02em; }
	.site-nav li:last-child { margin-left: 6px; }
	.site-logo img { height: 44px; }
}

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	padding: 0;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, .6);
	border-radius: 10px;
	color: var(--white);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 20px; height: 2px;
	background: currentColor;
	border-radius: 2px;
	margin-inline: auto;
	transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: absolute;
		left: 0; right: 0; top: 100%;
		background: var(--navy);
		padding: 8px var(--gutter) 24px;
		border-top: 1px solid rgba(255, 255, 255, .15);
		display: none;
	}
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; }
	.site-nav a { display: block; text-align: center; padding: 14px 18px; font-size: 1rem; }
	.site-nav li:last-child { margin: 8px 0 0; }
	.site-nav li:last-child a { text-align: center; padding: 14px 18px; }
}

/* ==========================================================================
   Hero (photo fills the stage, then the headline; an own photo can add the GL mark and a cut-out)
   ========================================================================== */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #25301f;
	color: var(--white);
	height: clamp(540px, 57.7vw, 820px);
}
.hero__stage {
	position: absolute;
	inset: 0;
	z-index: -2;
	container-type: inline-size;
}
/* Sizes below use cqw so all three layers scale together and stay aligned. */
.hero__photo {
	position: absolute;
	width: 100cqw;
	left: 0;
	top: -63cqw;
	line-height: 0;
}
.hero__photo img { display: block; width: 100%; height: auto; }
/* When an editor uploads their own hero photo it simply fills the hero. */
.hero__stage--custom .hero__photo { width: 100%; height: 100%; left: 0; top: 0; }
.hero__stage--custom .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--hero-focus, 50%); }
/* The supplied photo is a tall portrait. On wide screens, start the crop above the heads so faces and shoulders stay in view. */
.hero__stage--supplied .hero__photo img { object-position: 50% calc(-45cqw - max(0px, 100cqw - 1920px) * .12); } /* a touch higher on very wide screens, where the hero is cut shorter */
.hero__mark {
	position: absolute;
	left: 60.8cqw;
	top: 9.4cqw;
	width: 36.6cqw;
	height: auto;
	opacity: .97;
}
.hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgba(18, 28, 22, .7) 0%, rgba(18, 28, 22, 0) 58%),
		linear-gradient(to right, rgba(18, 28, 22, .42) 0%, rgba(18, 28, 22, 0) 62%);
}
/* A deeper shade under the headline for the supplied photo, which is light at the bottom (marble floor, pale clothes). */
.hero--supplied .hero__shade {
	background:
		linear-gradient(to top, rgba(14, 24, 19, .84) 0%, rgba(14, 24, 19, .52) 30%, rgba(14, 24, 19, 0) 64%),
		linear-gradient(to right, rgba(14, 24, 19, .5) 0%, rgba(14, 24, 19, 0) 66%);
}
.hero__copy {
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: clamp(34px, 5.5vw, 76px);
	max-width: 800px;
}
.hero__title {
	font-size: clamp(2rem, 4.4vw, 3.45rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.012em;
	line-height: 1.08;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
	margin-bottom: clamp(20px, 2.6vw, 32px);
}
.hero__line { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 760px) {
	.hero { height: 660px; }
	.hero__photo { width: 177cqw; left: -33cqw; top: -103cqw; }
	.hero__stage--custom .hero__photo { width: 100%; left: 0; top: 0; }
	.hero__stage--supplied .hero__photo img { object-position: 50% 45%; }
	.hero__mark { left: 30cqw; top: 4cqw; width: 66cqw; }
	.hero__title { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
	.hero__line { display: inline; }
	.hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Hero layouts (Customize > Hero > Layout)
   "Full-width photo" is the block above. The three below keep the same headline and buttons and
   arrange the photos differently. Under 900px they stack in one column. From 900px up the photos are
   placed in cqw units (1cqw = 1% of the layout's width, which stops growing at 1440px), so the whole
   arrangement scales together the way the full-width photo does.
   ========================================================================== */
.hero--frame,
.hero--collage,
.hero--polaroids { height: auto; }
.hero--frame { background: var(--navy); }
.hero--collage { background: var(--navy-deep); }
.hero--frame + .band { background: var(--navy-deep); }

.hero--frame .hero__art,
.hero--collage .hero__art,
.hero--polaroids .hero__art {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 480px;
	margin-inline: auto;
}

/* Framed photo ------------------------------------------------------- */
.hero__bandphoto { position: absolute; left: 0; right: 0; top: 0; height: 250px; overflow: hidden; background: var(--navy-deep); }
.hero__bandphoto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__bandphoto::after { content: ""; position: absolute; inset: 0; background: rgba(31, 47, 59, .62); }
/* The supplied band picture has two people near its bottom edge. On a narrow screen the band is tall in proportion to the picture, so zoom in on the trees. */
@media (max-width: 899px) {
	.hero__bandphoto--supplied img { transform: scale(2); transform-origin: 50% 0; }
}
.hero--frame .hero__art { align-items: center; padding: 150px 24px 44px; text-align: center; }
.hero__frame {
	order: 1;
	width: min(230px, 62%);
	aspect-ratio: 23 / 33;
	border: 4px solid var(--white);
	background: var(--navy-deep);
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}
.hero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The supplied photo is shown a little closer, so the four faces fill the frame. */
.hero__frame--supplied img { transform: scale(1.144); transform-origin: 38% 100%; }
.hero--frame .hero__title { order: 2; width: 100%; margin: 24px 0; font-size: 1rem; line-height: 1.04; text-shadow: none; }
.hero--frame .hero__actions { order: 3; width: 100%; justify-content: center; }
.hero__kicker { display: block; margin-bottom: 12px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.hero__big { font-size: clamp(2rem, 10.8vw, 2.6rem); }
/* A very long word in the headline wraps instead of running off the page. */
.hero__kicker,
.hero__big { overflow-wrap: anywhere; min-width: 0; }

/* Photo collage ------------------------------------------------------ */
.hero__blur { position: absolute; inset: -30px; }
.hero__blur img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) saturate(1.1); }
.hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(22, 34, 30, .86) 0%, rgba(26, 40, 36, .5) 55%, rgba(30, 46, 42, .25) 100%);
}
.hero--collage .hero__art { padding: 24px 0 32px; }
.hero__pics { order: 1; position: relative; width: 100%; max-width: 390px; margin: 0 auto 22px; aspect-ratio: 390 / 450; }
.hero__pic { position: absolute; margin: 0; overflow: hidden; background: var(--navy-deep); box-shadow: 0 12px 32px rgba(0, 0, 0, .4); }
.hero__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__pic--main { left: 5.13%; top: 0; width: 43.08%; aspect-ratio: 2 / 3; }
.hero__pic--c { left: 52.82%; top: 3.56%; width: 41.03%; aspect-ratio: 3 / 4; }
.hero__pic--a { left: 25.64%; top: 57.78%; width: 65.13%; aspect-ratio: 4 / 3; }
.hero__pic--b { display: none; }
.hero--collage .hero__copy,
.hero--polaroids .hero__copy { position: static; max-width: none; padding: 0 20px; }
.hero--collage .hero__copy { order: 2; }
.hero--collage .hero__title { margin-bottom: 22px; }
.hero--collage .seal { display: none; } /* On a phone it would sit on top of the first photo. */

/* Snapshots ---------------------------------------------------------- */
.hero--polaroids { display: flow-root; z-index: 2; overflow: hidden; background: var(--sage); color: var(--navy); }
/* The middle print reaches down over the scrolling band. Sideways overflow is trimmed so the page never scrolls sideways; a browser without overflow: clip simply trims the print at the hero's edge. */
@supports (overflow: clip) {
	.hero--polaroids { overflow: visible; overflow-x: clip; }
}
.hero--polaroids .hero__art { padding-top: 32px; }
.hero--polaroids .hero__copy { text-align: center; }
.hero--polaroids .hero__title { margin-bottom: 24px; text-shadow: none; }
.hero--polaroids .hero__title .accent { color: var(--navy); }
.hero--polaroids .hero__actions { justify-content: center; }
.hero__snaps { position: relative; width: 100%; max-width: 390px; margin: 36px auto -36px; aspect-ratio: 390 / 492; }
/* With the scrolling band switched off there is nothing for the middle print to overlap, so it gets room to breathe. */
.hero--polaroids:not(.hero--has-band) .hero__snaps { margin-bottom: 0; }
.hero--polaroids:not(.hero--has-band) .hero__art { padding-bottom: 44px; }
.snap {
	position: absolute;
	margin: 0;
	padding: 10px 10px 40px;
	background: var(--white);
	box-shadow: 0 14px 34px rgba(31, 47, 59, .32);
}
.snap__img { overflow: hidden; background: #d9d4c9; }
.snap__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.snap--l { left: 3.4%; top: 0; width: 46.2%; transform: rotate(-6deg); }
.snap--l .snap__img { aspect-ratio: 1; }
.snap--r { left: 51.4%; top: 1.63%; width: 44.6%; transform: rotate(6deg); }
.snap--r .snap__img { aspect-ratio: 158 / 200; }
.snap--c { left: 19.5%; top: 33.3%; z-index: 2; width: 61%; padding: 12px 12px 46px; transform: rotate(1deg); box-shadow: 0 18px 44px rgba(31, 47, 59, .4); }
.snap--c .snap__img { aspect-ratio: 214 / 270; }

/* A tablet is wide enough for side-by-side buttons but not for the full arrangement. */
@media (min-width: 761px) and (max-width: 899px) {
	.hero--collage .hero__line,
	.hero--polaroids .hero__line { display: inline; }
}

@media (min-width: 900px) {
	.hero--frame,
	.hero--collage,
	.hero--polaroids { height: min(56.94vw, 820px); }
	.hero--frame .hero__art,
	.hero--collage .hero__art,
	.hero--polaroids .hero__art {
		position: absolute;
		inset: 0;
		display: block;
		max-width: 1440px;
		padding: 0;
		text-align: left;
		container-type: inline-size;
	}

	/* Framed photo: the frame stands in the middle, the headline is split on either side of it. */
	.hero__bandphoto { height: 57.3%; }
	.hero__frame { position: absolute; left: 38.19cqw; top: 11.81cqw; width: 23.61cqw; aspect-ratio: 34 / 50; }
	.hero__frame--supplied img { transform: scale(1.157); transform-origin: 42% 100%; }
	.hero--frame .hero__title {
		position: absolute;
		left: 0;
		right: 0;
		top: 25.83cqw;
		width: auto;
		margin: 0;
		display: grid;
		grid-template-columns: 36.11cqw 1fr 36cqw;
		grid-template-areas: "k . ." "l . r";
		row-gap: .83cqw;
		text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
	}
	.hero__kicker { grid-area: k; margin: 0; text-align: right; font-size: max(.8rem, 1.39cqw); letter-spacing: .03em; line-height: 1.3; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
	.hero__big { font-size: max(1.75rem, 4.44cqw); line-height: 1; }
	.hero__big--l { grid-area: l; text-align: right; }
	.hero__big--r { grid-area: r; text-align: left; }
	.hero--frame .hero__actions { position: absolute; left: 0; right: 0; top: 50.14cqw; width: auto; }

	/* Photo collage */
	.hero__blur { inset: -60px; }
	.hero__blur img { filter: blur(30px) saturate(1.1); }
	.hero__pics { position: static; width: auto; max-width: none; margin: 0; aspect-ratio: auto; }
	.hero__pic--a { left: 3.89cqw; top: 4.44cqw; width: 30.56cqw; }
	.hero__pic--b { display: block; left: 36.11cqw; top: 14.86cqw; width: 17.36cqw; aspect-ratio: 4 / 3; }
	.hero__pic--main { left: 55.56cqw; top: 3.06cqw; width: 22.92cqw; }
	.hero__pic--c { left: 80.28cqw; top: 7.78cqw; width: 14.58cqw; }
	.hero--collage .hero__copy { position: absolute; left: 3.89cqw; right: auto; top: 31.67cqw; padding: 0; }
	.hero--collage .hero__title { font-size: max(1.9rem, 3.82cqw); margin-bottom: max(18px, 2.2cqw); }
	.hero--collage .seal { display: grid; }

	/* Snapshots */
	.hero--polaroids .hero__copy { position: absolute; left: 0; right: 0; top: 3.89cqw; padding: 0; }
	.hero--polaroids .hero__title { font-size: max(1.9rem, 3.89cqw); margin-bottom: max(16px, 1.7cqw); }
	.hero__snaps { position: static; width: auto; max-width: none; margin: 0; aspect-ratio: auto; }
	.snap { padding: .97cqw .97cqw 4.03cqw; box-shadow: 0 1.25cqw 3.06cqw rgba(31, 47, 59, .32); }
	.snap--l { left: 18.19cqw; top: 29.44cqw; width: 20.56cqw; }
	.snap--c { left: 38.61cqw; top: 27.36cqw; width: 22.78cqw; padding: .97cqw .97cqw 4.03cqw; box-shadow: 0 1.5cqw 3.75cqw rgba(31, 47, 59, .4); }
	.snap--c .snap__img { aspect-ratio: 3 / 4; }
	.snap--r { left: 63.19cqw; top: 28.61cqw; width: 19.17cqw; }
	.snap--r .snap__img { aspect-ratio: 248 / 300; }
	/* With the scrolling band switched off, the middle print stays inside the hero. */
	.hero--polaroids:not(.hero--has-band) .snap { margin-top: -3.4cqw; }
	.hero--polaroids:not(.hero--has-band) { height: min(59.74vw, 860px); }
	.hero--polaroids:not(.hero--has-band) .hero__art { padding-bottom: 0; }
}

/* ==========================================================================
   Mission and values
   ========================================================================== */
.mv { display: grid; grid-template-columns: 1fr 1fr; }
.mv__mission,
.mv__values {
	padding: clamp(48px, 7vw, 100px) clamp(24px, 5vw, 72px);
}
.mv__mission { background: var(--taupe-deep); color: var(--white); }
.mv__mission .sec-title { margin-bottom: 1.1rem; }
.mv__mission p { font-size: 1.3rem; line-height: 1.85; max-width: 30em; }
.mv__values { color: var(--navy); }
.mv__values .sec-title { margin-bottom: 1.1rem; }
.values-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1.3rem;
	line-height: 2;
}
@media (max-width: 860px) {
	.mv { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Boxed sections (FAQ)
   ========================================================================== */
.boxed-wrap { padding: clamp(24px, 3vw, 40px) clamp(14px, 2.6vw, 32px); }
.boxed {
	border: 8px solid var(--navy);
	padding: clamp(28px, 4.6vw, 56px);
}
.boxed .eyebrow { font-size: .9rem; }
.boxed__title {
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	text-transform: uppercase;
	max-width: 26em;
}
.boxed__intro { font-size: 1.15rem; margin-top: 22px; max-width: 46em; }

/* ==========================================================================
   Team
   ========================================================================== */
.team {
	background: var(--sage);
	color: var(--navy);
	padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(52px, 7vw, 96px);
	text-align: center;
}
.team__title { font-size: clamp(1.4rem, 2.75vw, 2.2rem); text-transform: uppercase; margin: 0 auto; }
.team__intro { max-width: 40em; margin: 18px auto 0; font-size: 1.15rem; }
.team__grid {
	list-style: none;
	margin: clamp(32px, 4vw, 52px) auto 0;
	padding: 0;
	max-width: 1080px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px 28px;
}
.team__photo {
	width: min(220px, 62%);
	aspect-ratio: 1;
	margin: 0 auto 26px;
	border-radius: 50%;
	overflow: hidden;
	background: #fdeeee;
}
.team__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team__card {
	display: inline-block;
	text-align: left;
	min-width: min(280px, 100%);
	padding: 12px 20px 14px;
	border: 2px solid var(--navy);
	border-radius: 14px;
}
.team__name { font-family: var(--f-head); font-weight: 600; font-size: 1.45rem; line-height: 1.2; margin: 0; }
.team__role { font-size: 1.05rem; line-height: 1.4; margin: 2px 0 0; }
.team__grid > li { display: flex; flex-direction: column; align-items: center; }
.team__bio { margin-top: 16px; max-width: 24em; font-size: 1.05rem; line-height: 1.65; text-align: left; }
.team__bio p { margin-bottom: .6em; }

/* Team: one group photo with details beside it */
.team__group { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1080px; margin: clamp(28px, 4vw, 48px) auto 0; text-align: left; }
.team__group-photo { border-radius: 24px; overflow: hidden; background: #fdeeee; }
.team__group-photo img { display: block; width: 100%; height: auto; }
.team__people { display: grid; gap: 28px; }
.person .team__role { font-family: var(--f-head); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .02em; margin: 4px 0 8px; }
@media (max-width: 860px) { .team__group { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
	.team__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Clearer path (full-screen scene + service tags)
   ========================================================================== */
.path { padding: 0 0 clamp(28px, 4vw, 52px); }
.path__more { padding: 0 clamp(14px, 6.7vw, 84px); }

/* Service pop-up */
.modal { border: 0; padding: 0; background: transparent; max-width: min(640px, calc(100vw - 32px)); width: 100%; color: var(--navy); }
.modal::backdrop { background: rgba(31, 47, 59, .62); }
.modal__box { position: relative; background: var(--white); border-radius: 22px; padding: clamp(28px, 4vw, 44px); max-height: calc(100vh - 48px); overflow: auto; }
.modal__box:has(.modal__media) { padding: 0; }
.modal__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-deep); border-radius: 22px 22px 0 0; }
.modal__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.modal__content { padding: clamp(24px, 4vw, 40px) clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px); }
.modal__box:not(:has(.modal__media)) .modal__content { padding: 0; }
.modal__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); text-transform: uppercase; padding-right: 48px; margin-bottom: 16px; }
.modal__body { font-size: 1.1rem; margin-bottom: 26px; }
.modal__body p { margin-bottom: .8em; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border: 2px solid var(--navy); border-radius: 50%; background: var(--white); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.modal__close:hover { background: var(--navy); color: var(--white); }
body:has(dialog[open]) { overflow: hidden; }

/* ==========================================================================
   Our story (now a full-screen scene, see Scenes below)
   ========================================================================== */
/* ==========================================================================
   Testimonials / recognition (only when published)
   ========================================================================== */
.quotes { padding: clamp(44px, 6vw, 80px) var(--gutter); }
.quotes__title { font-size: clamp(1.6rem, 3.1vw, 2.5rem); text-transform: uppercase; text-align: center; margin-bottom: 32px; }
.quotes__grid { max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote { margin: 0; background: #eef2ee; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font-size: 1.15rem; line-height: 1.7; }
.quote blockquote p { margin-bottom: .6em; }
.quote figcaption { margin-top: auto; font-size: .98rem; line-height: 1.4; }
.quote figcaption strong { display: block; font-family: var(--f-head); font-weight: 700; }

/* ==========================================================================
   "Not sure where to begin?" band
   ========================================================================== */
.begin { background: var(--olive); color: var(--white); padding: clamp(32px, 4vw, 48px) var(--gutter); }
.begin__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; margin-bottom: 8px; }
.begin p { font-size: 1.3rem; margin-bottom: 22px; max-width: 42em; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { margin-top: clamp(28px, 3.5vw, 44px); border-top: 8px solid var(--navy); }
.faq-list details { border-bottom: 3px solid var(--navy); }
.faq-list summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: clamp(18px, 2.4vw, 28px) 0;
	cursor: pointer;
	font-family: var(--f-head);
	font-weight: 400;
	font-size: clamp(1.1rem, 1.9vw, 1.55rem);
	line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
	content: "";
	flex: none;
	width: 0; height: 0;
	border-left: 11px solid transparent;
	border-right: 11px solid transparent;
	border-top: 12px solid var(--navy);
	margin-right: 8px;
	transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list summary:focus-visible { outline-offset: -3px; }
.faq-list .faq__answer { padding: 0 clamp(0px, 4vw, 56px) 28px 0; font-size: 1.15rem; max-width: 52em; }
.faq__answer p { margin-bottom: .7em; }

/* ==========================================================================
   Ready for a clearer plan
   ========================================================================== */
/* ==========================================================================
   Contact form
   ========================================================================== */
.contact { background: var(--olive); color: var(--white); padding: clamp(48px, 6vw, 84px) var(--gutter); }
.contact__inner { max-width: 1120px; margin-inline: auto; }
.contact__title { font-size: clamp(1.6rem, 3.1vw, 2.5rem); text-transform: uppercase; margin-bottom: 14px; }
.contact__intro { font-size: 1.25rem; margin-bottom: 36px; max-width: 44em; }

.notice {
	margin: 0 0 28px;
	padding: 14px 18px;
	border-radius: 8px;
	background: var(--white);
	color: var(--navy);
	font-size: 1.1rem;
}
.notice--error { border-left: 6px solid #a63d2f; }
.notice--ok { border-left: 6px solid var(--sage-dark); }
.form-thanks:focus { outline: none; }
.form-thanks p { margin: 0 0 8px; }
.form-thanks p:last-child { margin-bottom: 0; }
.form-thanks__title { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; }
.form-thanks__again { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.form-thanks__again:hover, .form-thanks__again:focus-visible { text-decoration-thickness: 2px; }

.form {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px 28px;
}
.field { min-width: 0; }
.field label,
.field legend {
	display: block;
	font-size: 1.15rem;
	line-height: 1.4;
	margin-bottom: 8px;
	padding: 0;
}
.field .req { color: var(--white); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
	display: block;
	width: 100%;
	font: inherit;
	font-family: var(--f-body);
	font-size: 1.05rem;
	line-height: 1.4;
	color: var(--navy);
	background: var(--white);
	border: 2px solid var(--white);
	border-radius: 0;
	padding: 11px 14px;
}
.field textarea { min-height: 190px; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.field--msg { grid-column: 2 / 4; grid-row: 2 / 4; display: flex; flex-direction: column; }
.field--msg textarea { flex: 1; }
.field--who { grid-column: 1; grid-row: 3; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__note { font-family: var(--f-head); font-size: .78rem; line-height: 1.5; margin-top: 8px; }

.radio {
	display: flex !important;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px !important;
	font-size: 1.1rem !important;
	cursor: pointer;
}
.radio input {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 24px; height: 24px;
	margin: 0;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--white);
	cursor: pointer;
}
.radio input:checked { box-shadow: inset 0 0 0 5px var(--white); background: var(--olive); }
.radio input:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

.form__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 4px; }
.form__actions .btn { font-size: 1.05rem; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


@media (max-width: 860px) {
	.form { grid-template-columns: 1fr 1fr; }
	.field--first, .field--last { grid-column: auto; }
	.field--email { grid-column: 1 / -1; }
	.field--phone { grid-column: 1 / -1; }
	.field--msg { grid-column: 1 / -1; grid-row: auto; }
	.field--who { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
	.form { grid-template-columns: 1fr; }
	.form__actions { justify-content: stretch; }
	.form__actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: clamp(36px, 5vw, 64px) var(--gutter) 28px; }
.site-footer__grid {
	max-width: 1120px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(180px, 280px) 1fr;
	gap: clamp(28px, 6vw, 80px);
	align-items: start;
}
.site-footer__logo { display: block; line-height: 0; }
.site-footer__logo img { width: 100%; height: auto; }
.footer-title {
	font-size: 1.25rem;
	text-transform: uppercase;
	color: var(--taupe-deep);
	margin-bottom: 8px;
}
.footer-col + .footer-col { margin-top: 22px; }
.footer-col p, .footer-col a { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal {
	max-width: 1120px;
	margin: clamp(28px, 4vw, 48px) auto 0;
	text-align: center;
	font-size: .98rem;
	color: var(--ink-soft);
}
@media (max-width: 700px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__logo { max-width: 240px; }
}

/* ==========================================================================
   Generic templates (index.php: blog, pages, search, 404)
   ========================================================================== */
.page-wrap { max-width: 820px; margin-inline: auto; padding: clamp(40px, 6vw, 88px) var(--gutter); }
.page-head { margin-bottom: 40px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; }
.entry { margin-bottom: 56px; }
.entry__title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 14px; }
.entry__title a { text-decoration: none; }
.entry__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.entry__meta { font-family: var(--f-head); font-size: .85rem; font-weight: 600; text-transform: uppercase; color: var(--taupe-deep); margin-bottom: 14px; }
.entry__content > * + * { margin-top: 1.1em; }
.entry__content a { color: var(--olive); text-underline-offset: 3px; }
.entry__content h2, .entry__content h3 { margin-top: 1.6em; }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.entry__content img { border-radius: 10px; }
.navigation.pagination { font-family: var(--f-head); font-weight: 600; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.navigation.pagination a, .navigation.pagination span.current {
	padding: 6px 14px; border: 2px solid var(--navy); border-radius: 999px; text-decoration: none;
}
.navigation.pagination span.current { background: var(--navy); color: var(--white); }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.search-form input[type="search"] { flex: 1 1 220px; font: inherit; padding: 10px 14px; border: 2px solid var(--navy); }
.search-form input[type="submit"] { font-family: var(--f-head); font-weight: 600; padding: 10px 20px; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; cursor: pointer; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .9rem; color: var(--ink-soft); }

/* ==========================================================================
   Personality: accent words, seal badge, scrolling band, waves,
   sparkle bullets, soft fade-ins. Each can be turned off in the Customizer.
   ========================================================================== */

/* Italic accent word: *starred* text in any heading */
.accent {
	font-family: var(--f-body);
	font-style: italic;
	font-weight: 500;
	font-size: 1.06em;
	text-transform: none;
	letter-spacing: 0;
	color: var(--olive);
}
.hero .accent,
.mv__mission .accent,
.begin .accent,
.contact .accent { color: #d9e5d9; }
.team .accent { color: var(--navy); }

/* Highlighter-marker small labels */
.eyebrow {
	display: inline-block;
	padding: .05em .4em;
	margin-left: -.4em;
	line-height: 1.25;
	background: linear-gradient(transparent 55%, rgba(153, 171, 153, .6) 55%);
}

/* Sparkle bullets for the values list */
.values-list li { display: flex; align-items: baseline; gap: .6em; }
.star { flex: none; width: .72em; height: .72em; color: var(--olive); }
.values-list .star { position: relative; top: .02em; }
.mv__values { position: relative; overflow: hidden; }
.mv__values::after {
	content: "";
	position: absolute;
	right: clamp(10px, 3vw, 40px);
	bottom: clamp(10px, 3vw, 36px);
	width: 120px; height: 90px;
	background: radial-gradient(circle, var(--sage) 2.2px, transparent 2.6px) 0 0 / 18px 18px;
	opacity: .7;
	pointer-events: none;
}

/* Round seal badge on the hero */
.seal {
	position: absolute;
	right: clamp(18px, 5vw, 84px);
	bottom: clamp(26px, 5vw, 70px);
	width: clamp(112px, 12vw, 164px);
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--sage);
	color: var(--navy);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
	pointer-events: none;
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__ring text { font-family: var(--f-head); font-weight: 700; font-size: 17px; letter-spacing: 0; text-transform: uppercase; fill: currentColor; }
.seal__core { width: 34%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); }
.seal__core svg { width: 54%; height: 54%; }
.hero[data-motion="on"] .seal__ring { animation: gls-spin 28s linear infinite; }
@keyframes gls-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
	.seal { width: 88px; left: 16px; right: auto; top: 14px; bottom: auto; }
	.mv__values::after { display: none; }
}

/* Scrolling band under the hero */
.band {
	position: relative;
	background: var(--navy);
	color: var(--white);
	overflow: visible;
	padding: clamp(14px, 1.8vw, 22px) 0;
}
.band__clip { overflow: hidden; }
.band__track { display: flex; width: max-content; }
.band__list { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.band__list li {
	display: inline-flex;
	align-items: center;
	gap: clamp(18px, 3vw, 40px);
	padding-right: clamp(18px, 3vw, 40px);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(1.05rem, 1.9vw, 1.5rem);
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}
.band .star { width: 1em; height: 1em; color: var(--sage); }
/* The speed is set from the band's real width (--band-dur, see main.js), so adding or removing
   services never makes it faster, slower or leaves a gap. 38s is only the fallback. */
.band[data-motion="on"] .band__track { animation: gls-marquee var(--band-dur, 38s) linear infinite; will-change: transform; }
.band[data-motion="on"]:hover .band__track { animation-play-state: paused; }
@keyframes gls-marquee { to { transform: translateX(-50%); } }
/* Without motion the band is a still, centered row that wraps onto as many lines as it needs.
   The copy and any filler words used for the scroll are hidden. */
.band[data-motion="off"] .band__track { width: auto; display: block; padding: 0 var(--gutter); }
.band[data-motion="off"] .band__list { flex-wrap: wrap; justify-content: center; row-gap: .6em; }
.band[data-motion="off"] .band__list[aria-hidden="true"], .band[data-motion="off"] .band__list [data-clone] { display: none; }
.band[data-motion="off"] .band__list li { font-size: clamp(.9rem, 1.4vw, 1.2rem); }
.band[data-motion="off"] .band__list li:last-child .star { display: none; }

/* Wavy top edge: the section's own colour, scalloped into the one above */
.wave-top { position: relative; }
.wave-top::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 1px;
	height: clamp(16px, 2.6vw, 38px);
	transform: translateY(-100%);
	background: inherit;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C120 6 240 2 360 12 480 22 600 38 720 33 840 28 960 8 1080 5 1200 2 1320 12 1440 24V40Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C120 6 240 2 360 12 480 22 600 38 720 33 840 28 960 8 1080 5 1200 2 1320 12 1440 24V40Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
	pointer-events: none;
}

/* Waves never sit right under a boxed (heavy-outline) section: straight edge there instead */
.boxed-wrap + .wave-top::before,
.scene + .wave-top::before,
.scene + .quotes + .wave-top::before { display: none; }

/* Service tags: soft fill, playful lift */
.tags li:nth-child(3n+1) .tag { background: #eef2ee; }
.tags li:nth-child(3n+2) .tag { background: #f4f0e9; }
.tag--btn { transition: background-color .2s, color .2s, transform .2s; }

/* Soft fade-ins (added by script only when motion is on) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.tag--btn:hover, .tag--btn:focus-visible { transform: translateY(-3px) rotate(-1.5deg); }
	.team__photo { transition: transform .35s; }
	.team__grid > li:hover .team__photo { transform: rotate(-3deg) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
	.hero .seal__ring, .band__track { animation: none !important; will-change: auto; }
	.band__track { width: auto; display: block; padding: 0 var(--gutter); }
	.band__list { flex-wrap: wrap; justify-content: center; row-gap: .6em; }
	.band__list[aria-hidden="true"], .band__list [data-clone] { display: none; }
	.band__list li { font-size: clamp(.9rem, 1.4vw, 1.2rem); }
	.band__list li:last-child .star { display: none; }
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ==========================================================================
   Scenes: full-screen photos with large overlapping text
   ========================================================================== */
.scene {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: clamp(560px, 100svh, 1000px);
	overflow: hidden;
	color: var(--white);
	background: var(--navy-deep);
}
.scene__img { position: absolute; inset: 0; z-index: -2; }
.scene__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--focus, 50%); }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scene__copy {
	position: relative;
	align-self: flex-end;
	width: 100%;
	max-width: min(1320px, 100%);
	padding: clamp(48px, 9vh, 120px) var(--gutter) clamp(52px, 10vh, 130px);
}
.scene__title {
	font-size: clamp(2.4rem, 5.7vw, 5.8rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.028em;
	line-height: .96;
	margin: 0 0 .32em;
	text-wrap: balance;
	text-shadow: 0 2px 36px rgba(0, 0, 0, .35);
}
.scene__text { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.7; max-width: 34em; margin-bottom: 1.6em; }
.scene__text p { margin-bottom: .8em; }
.scene__text p:last-child { margin-bottom: 0; }
.scene .accent { color: #e3ecde; font-size: 1.02em; }
.scene .eyebrow {
	display: flex;
	align-items: center;
	gap: .9em;
	padding: 0;
	margin: 0 0 1.1rem;
	background: none;
	color: var(--white);
	letter-spacing: .08em;
}
.scene .eyebrow::before { content: ""; width: 2.6em; height: 2px; background: var(--sage); }
.scene__caption {
	position: absolute;
	right: var(--gutter);
	bottom: 18px;
	max-width: 22em;
	margin: 0;
	font-size: .9rem;
	font-style: italic;
	text-align: right;
	opacity: .9;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}

/* Text on the left, shaded from the left */
.scene--left::after {
	background:
		linear-gradient(90deg, rgba(24, 37, 48, calc(.84 * var(--ov, 1))) 0%, rgba(24, 37, 48, calc(.55 * var(--ov, 1))) 42%, rgba(24, 37, 48, 0) 78%),
		linear-gradient(0deg, rgba(24, 37, 48, calc(.55 * var(--ov, 1))) 0%, rgba(24, 37, 48, 0) 50%);
}
/* Text on the right */
.scene--right { justify-content: flex-end; }
.scene--right::after {
	background:
		linear-gradient(270deg, rgba(24, 37, 48, calc(.86 * var(--ov, 1))) 0%, rgba(24, 37, 48, calc(.55 * var(--ov, 1))) 42%, rgba(24, 37, 48, calc(.12 * var(--ov, 1))) 80%),
		linear-gradient(0deg, rgba(24, 37, 48, calc(.45 * var(--ov, 1))) 0%, rgba(24, 37, 48, 0) 50%);
}
.scene--right .scene__copy { margin-left: auto; }
/* Centered, low in the frame */
.scene--center { justify-content: center; text-align: center; }
.scene--center::after {
	background: linear-gradient(0deg, rgba(12, 18, 24, calc(.88 * var(--ov, 1))) 0%, rgba(12, 18, 24, calc(.5 * var(--ov, 1))) 40%, rgba(12, 18, 24, calc(.08 * var(--ov, 1))) 72%);
}
.scene--center .scene__copy { max-width: 1040px; }
.scene--center .scene__text { margin-inline: auto; }
.scene--center .eyebrow { justify-content: center; }

/* Split: text panel beside the photo, the heading running over the photo's edge */
.scene--split {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	color: var(--navy);
	background: #f4f0e9;
}
.scene--split::after { display: none; }
.scene--split .scene__img { position: relative; inset: auto; grid-column: 2; grid-row: 1; z-index: 0; }
.scene--split .scene__img img { position: absolute; inset: 0; }
.scene--split .scene__copy { grid-column: 1 / -1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; max-width: none; z-index: 1; padding-top: clamp(48px, 9vh, 110px); }
.scene--split .scene__text { margin-top: auto; }
.scene--split .scene__title { font-size: clamp(2.3rem, 5.2vw, 5rem); text-shadow: none; max-width: 12em; }
.scene--split .eyebrow { color: var(--navy); }
.scene--split .scene__text { max-width: min(26em, 33vw); }
.scene--split .accent { color: var(--olive); }

/* Fade and slow push-in as each scene arrives (only when the script turns motion on) */
html.gls-motion .scene__img img { transform: scale(1.09); transition: transform 14s cubic-bezier(.2, .6, .2, 1); }
html.gls-motion .scene.is-in .scene__img img { transform: scale(1); }
html.gls-motion .scene__copy > * { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.gls-motion .scene:not(.is-in) .scene__copy > * { opacity: 0; transform: translateY(26px); }
html.gls-motion .scene.is-in .scene__copy > :nth-child(2) { transition-delay: .12s; }
html.gls-motion .scene.is-in .scene__copy > :nth-child(3) { transition-delay: .24s; }
html.gls-motion .scene.is-in .scene__copy > :nth-child(4) { transition-delay: .36s; }

@media (max-width: 860px) {
	.scene { min-height: clamp(580px, 100svh, 900px); }
	.scene__img img { object-position: var(--focus-x, 50%) var(--focus, 50%); }
	.scene__title { font-size: clamp(2.2rem, 10.5vw, 3.4rem); }
	.scene--left::after, .scene--right::after {
		background: linear-gradient(0deg, rgba(24, 37, 48, calc(.88 * var(--ov, 1))) 0%, rgba(24, 37, 48, calc(.6 * var(--ov, 1))) 45%, rgba(24, 37, 48, calc(.1 * var(--ov, 1))) 80%);
	}
	.scene--right .scene__copy { margin-left: 0; }
	/* Split stacks: text first, photo below */
	.scene--split { display: flex; flex-direction: column-reverse; min-height: 0; }
	.scene--split .scene__img { position: relative; inset: auto; z-index: 0; grid-column: auto; aspect-ratio: 4 / 5; max-height: 86svh; }
	.scene--split .scene__text { margin-top: 0; }
	.scene--split .scene__copy { align-self: stretch; padding-bottom: 36px; }
	.scene--split .scene__title { font-size: clamp(2.3rem, 11vw, 3.6rem); max-width: none; }
	.scene--split .scene__text { max-width: 30em; }
	.scene__caption { position: static; text-align: left; padding: 0 var(--gutter) 18px; }
}
@media (prefers-reduced-motion: reduce) {
	html.gls-motion .scene__img img { transform: none; transition: none; }
	html.gls-motion .scene:not(.is-in) .scene__copy > * { opacity: 1; transform: none; }
}

/* Rest of the story, below the photo */
.story-more { background: #f4f0e9; padding: clamp(44px, 7vw, 96px) var(--gutter); }
.story-more__inner { max-width: 1120px; margin-inline: auto; columns: 2 22em; column-gap: clamp(28px, 5vw, 72px); }
.story-more__inner p { font-size: 1.2rem; line-height: 1.8; margin-bottom: 1em; break-inside: avoid-column; }
.story-more__inner p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Shading choice (Light / Medium / Strong) for photos with text over them
   ========================================================================== */
.scene--ov-light { --ov: .6; }
.scene--ov-medium { --ov: 1; }
.scene--ov-strong { --ov: 1.3; }

/* ==========================================================================
   Our approach: two photo panels side by side
   ========================================================================== */
.duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 28px);
	padding: clamp(24px, 3.4vw, 48px) clamp(14px, 6.7vw, 84px) 0;
}
.panel {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: clamp(380px, 36vw, 520px);
	overflow: hidden;
	border-radius: 28px;
	color: var(--white);
	background: var(--navy-deep);
}
.panel__img { position: absolute; inset: 0; z-index: -2; }
.panel__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--focus, 50%); }
.panel::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(0deg, rgba(24, 37, 48, calc(.9 * var(--ov, 1))) 0%, rgba(24, 37, 48, calc(.62 * var(--ov, 1))) 38%, rgba(24, 37, 48, calc(.06 * var(--ov, 1))) 72%);
}
.panel__copy { position: relative; padding: clamp(24px, 2.8vw, 44px); }
.panel__title {
	font-size: clamp(1.8rem, 3.1vw, 3.1rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.025em;
	line-height: 1;
	margin: 0 0 .5em;
	text-wrap: balance;
	text-shadow: 0 2px 28px rgba(0, 0, 0, .35);
}
.panel .accent { color: #e3ecde; font-size: 1.02em; }
.panel__text { font-size: clamp(1.02rem, 1.2vw, 1.2rem); line-height: 1.65; max-width: 30em; }
.panel__text p { margin-bottom: .7em; }
.panel__text p:last-child { margin-bottom: 0; }
.panel__img img { transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.panel:hover .panel__img img { transform: scale(1.04); }
}
@media (max-width: 760px) {
	.duo { grid-template-columns: 1fr; }
	.panel { min-height: clamp(400px, 112vw, 560px); }
}

/* ==========================================================================
   Kati's story: polaroid photo and handwritten-feel signature
   ========================================================================== */
.kati { background: #f4f0e9; color: var(--navy); padding: clamp(60px, 8vw, 116px) var(--gutter); overflow: hidden; }
.kati__inner {
	max-width: 1120px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(36px, 6vw, 96px);
	align-items: center;
}
.kati__photo { margin: 0; position: relative; }
.polaroid {
	position: relative;
	max-width: 440px;
	margin-inline: auto;
	padding: 14px 14px 20px;
	background: var(--white);
	box-shadow: 0 22px 44px rgba(24, 37, 48, .22), 0 3px 8px rgba(24, 37, 48, .12);
	transform: rotate(-2.6deg);
	transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.polaroid::before {
	content: "";
	position: absolute;
	top: -15px; left: 50%;
	width: 108px; height: 30px;
	margin-left: -54px;
	background: rgba(153, 171, 153, .72);
	transform: rotate(3deg);
	box-shadow: 0 1px 3px rgba(24, 37, 48, .15);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.polaroid:hover { transform: rotate(0deg) scale(1.02); }
}
.polaroid__img { aspect-ratio: 1; overflow: hidden; background: #d9d4c9; }
.polaroid__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--focus, 50%); }
.polaroid__caption { padding-top: 14px; text-align: center; font-family: var(--f-body); font-style: italic; font-size: 1.15rem; color: var(--ink-soft); }
.kati__badge {
	max-width: 440px;
	margin: 22px auto 0;
	padding: 8px 14px;
	font-family: var(--f-head);
	font-size: .78rem;
	line-height: 1.4;
	text-align: center;
	color: #5a4a00;
	background: #fff3c4;
	border: 1px dashed #b89b1f;
	border-radius: 12px;
}
.kati__title {
	font-size: clamp(2rem, 4.2vw, 3.8rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.025em;
	line-height: 1;
	margin: 0 0 .55em;
	text-wrap: balance;
}
.kati .accent { color: var(--olive); }
.kati__text p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.75; margin-bottom: 1em; }
.kati__text p:last-child { margin-bottom: 0; }
.kati__text p:first-child::first-line { font-weight: 600; }
.kati__sign {
	display: flex;
	align-items: center;
	gap: .8em;
	margin: 1.4em 0 0;
	font-family: var(--f-body);
	font-style: italic;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	line-height: 1;
	color: var(--olive);
}
.kati__sign::before { content: ""; width: 3em; height: 2px; background: var(--sage); }
@media (max-width: 860px) {
	.kati__inner { grid-template-columns: 1fr; }
	.polaroid { max-width: 360px; }
}

/* ==========================================================================
   Contact buttons, footer buttons, floating button
   ========================================================================== */
.contact__or { margin: clamp(32px, 4vw, 48px) 0 14px; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
.contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.footer-btn {
	display: inline-block;
	padding: .45em 1.1em;
	border: 2px solid var(--navy);
	border-radius: 999px;
	color: var(--navy);
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.footer-btn:hover, .footer-btn:focus-visible { background: var(--navy); color: var(--white); }

.float-cta {
	position: fixed;
	right: clamp(14px, 2.4vw, 32px);
	bottom: clamp(14px, 2.4vw, 32px);
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: .55em;
	padding: .95em 1.5em;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: .95rem;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--navy);
	background: var(--sage);
	border: 2px solid var(--navy);
	border-radius: 999px;
	box-shadow: 0 10px 28px rgba(24, 37, 48, .3);
	opacity: 0;
	transform: translateY(18px);
	visibility: hidden;
	transition: opacity .3s, transform .3s, visibility .3s, background-color .2s;
}
.float-cta[hidden] { display: none; }
/* By default the floating button is for phones and small tablets only; wide screens keep Contact in the top bar. */
@media (min-width: 861px) { .float-cta--small { display: none !important; } }
.float-cta.is-visible { opacity: 1; transform: none; visibility: visible; }
.float-cta:hover { background: #adbdad; }
.float-cta svg { width: .85em; height: .85em; flex: none; }
@media (max-width: 520px) {
	.float-cta { padding: .75em 1.15em; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
	.float-cta { transition: none; }
}

/* ==========================================================================
   Extra sections (the add-in templates: Appearance of Extra sections in the admin menu)
   ========================================================================== */
.xs { color: var(--navy); padding: clamp(56px, 8vw, 112px) var(--gutter); }
.bg-cream { background: #f4f0e9; }
.bg-white { background: var(--white); }
.bg-sage { background: var(--sage); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-olive { background: var(--olive); color: var(--white); }
.xs__inner { max-width: 1120px; margin-inline: auto; }
.xs__title {
	font-size: clamp(2rem, 4.2vw, 3.8rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.025em;
	line-height: 1;
	margin: 0 0 .5em;
	text-wrap: balance;
}
.xs .accent { color: var(--olive); }
.bg-navy .accent, .bg-olive .accent { color: #e3ecde; }
.bg-sage .accent { color: var(--navy-deep); }
.xs__body { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.75; max-width: 40em; }
.xs__body p, .xs__intro p { margin-bottom: 1em; }
.xs__body p:last-child, .xs__intro p:last-child { margin-bottom: 0; }
.xs__body ul, .xs__body ol { margin: 0 0 1em 1.2em; }
.xs__actions { margin: 1.8em 0 0; }
.xs .eyebrow { margin-bottom: 1rem; }
.bg-navy .eyebrow, .bg-olive .eyebrow { background: linear-gradient(transparent 55%, rgba(153, 171, 153, .55) 55%); }

/* Photo beside text */
.xs--split .xs__media, .xs--split .xs__copy { min-width: 0; }
.xs--split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; max-width: none; }
.xs--split > * { max-width: 100%; }
.xs--split { padding-inline: max(var(--gutter), calc((100% - 1120px) / 2)); }
.xs--photo-right .xs__media { order: 2; }
.xs__media { overflow: hidden; background: #d9d4c9; aspect-ratio: 4 / 5; }
.xs__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--focus, 50%); }
.xs__media--rounded { border-radius: 28px; }
.xs__media--rectangle { border-radius: 0; }
.xs__media--arch { border-radius: 999px 999px 0 0; }
.xs__media--circle { border-radius: 50%; aspect-ratio: 1; }

/* Statement */
.xs--statement .xs__inner { max-width: 940px; text-align: center; }
.xs--statement .xs__title { font-size: clamp(2.2rem, 5.4vw, 5rem); }
.xs--statement .xs__body { margin-inline: auto; }
.xs--statement .eyebrow { margin-inline: 0; }

/* Cards */
.xs__head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 52px); }
.xs__intro { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.7; }
.xs__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(14px, 2vw, 24px); }
.xcard { background: var(--white); color: var(--navy); border: 2px solid var(--navy); border-radius: 24px; padding: clamp(22px, 2.4vw, 32px); }
.xcard h3 { font-size: 1.2rem; text-transform: uppercase; margin: 0 0 .6em; }
.xcard p { font-size: 1.05rem; line-height: 1.65; margin-bottom: .8em; }
.xcard p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
	.xs--split { grid-template-columns: 1fr; padding-inline: var(--gutter); }
	.xs--photo-right .xs__media { order: 0; }
	.xs__media { aspect-ratio: 4 / 3; max-height: 70svh; }
	.xs__media--circle { aspect-ratio: 1; max-width: 420px; margin-inline: auto; width: 100%; }
}

/* ==========================================================================
   Page templates and the ready-made sections (block patterns)
   ========================================================================== */
.scene--compact { min-height: clamp(340px, 52svh, 560px); }
.scene--compact .scene__copy { padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(36px, 7vh, 80px); }
.entry__cta { margin-top: 2.2em; }
.sections-page { margin: 0; }
.sections-page > .wp-block-group { margin: 0; }
.wp-block-group.xs, .wp-block-group.scene, .wp-block-group.kati, .wp-block-group.begin { margin-block: 0; }

/* Images inside pattern sections fill their frame */
.scene__img figure, .xs__media figure, .polaroid__img figure { margin: 0; width: 100%; height: 100%; }
.scene__img figure img, .xs__media figure img, .polaroid__img figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Headings: the italic accent made with the editor's italic button */
.xs__title em, .scene__title em, .kati__title em, .begin__title em, .panel__title em {
	font-family: var(--f-body);
	font-style: italic;
	font-weight: 500;
	font-size: 1.06em;
	text-transform: none;
	letter-spacing: 0;
	color: var(--olive);
}
.scene__title em, .panel__title em { color: #e3ecde; }
.begin__title em { color: #d9e5d9; }
.bg-navy .xs__title em, .bg-olive .xs__title em { color: #e3ecde; }
.bg-sage .xs__title em { color: var(--navy-deep); }

/* WordPress wraps a Group's contents in an extra container; let our layouts see straight through it */
:is(.xs, .xs__inner, .xs__head, .xs__cards, .xs__copy, .xs__media, .xcard, .scene, .scene__img, .scene__copy, .kati, .kati__inner, .kati__copy, .kati__text, .polaroid, .polaroid__img, .begin, .faq-list) > :is(.wp-block-group__inner-container, .block-editor-block-list__layout) { display: contents; }
:is(.xs__media, .xs__copy, .xcard, .xs__head, .xs__cards, .xs__inner, .kati, .kati__inner, .polaroid, .kati__copy, .scene__img, .scene__copy, .begin) { margin-block: 0; }
.polaroid { width: 100%; }
.polaroid__img, .xs__media { position: relative; }
.polaroid__img figure, .xs__media figure { position: absolute; inset: 0; }

/* Paragraphs written straight into a section */
:is(.xs__copy, .xs__inner, .xs__head, .xs--text .xs__inner) > p:not(.eyebrow),
:is(.xs__copy, .xs__inner, .xs__head, .xs--text .xs__inner) > :is(.wp-block-group__inner-container, .block-editor-block-list__layout) > p:not(.eyebrow) {
	font-size: clamp(1.1rem, 1.4vw, 1.3rem);
	line-height: 1.75;
	max-width: 40em;
	margin: 0 0 1em;
}
.xs--statement .xs__inner > p, .xs--statement .xs__inner > .wp-block-group__inner-container > p { margin-inline: auto; }
.xs .eyebrow, .kati .eyebrow, .scene .eyebrow { margin-top: 0; }
.xs__title { margin-top: 0; }
.kati__text > p, .kati__text > .wp-block-group__inner-container > p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.75; margin-bottom: 1em; }
.scene__copy > p.scene__text, .scene__copy > .wp-block-group__inner-container > p.scene__text { max-width: 34em; }
.begin > p, .begin > .wp-block-group__inner-container > p { font-size: 1.3rem; margin-bottom: 22px; max-width: 42em; }

/* Buttons from the editor look like the theme's pill buttons */
.wp-block-buttons { margin: 1.6em 0 0; }
.wp-block-button__link, .wp-block-button__link.wp-element-button {
	display: inline-flex;
	align-items: center;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	padding: .8em 1.5em;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--navy);
	color: var(--white);
	transition: background-color .2s, color .2s;
}
.wp-block-button__link:hover { background: var(--navy-deep); color: var(--white); }
.bg-navy .wp-block-button__link, .bg-olive .wp-block-button__link, .scene .wp-block-button__link, .begin .wp-block-button__link { background: var(--sage); color: var(--navy); }
.bg-navy .wp-block-button__link:hover, .bg-olive .wp-block-button__link:hover, .scene .wp-block-button__link:hover, .begin .wp-block-button__link:hover { background: #adbdad; color: var(--navy); }
.xs--statement .wp-block-buttons { justify-content: center; }

/* Questions and answers from the editor's Details block */
.faq-list details > p { padding: 0 clamp(0px, 4vw, 56px) 28px 0; font-size: 1.15rem; max-width: 52em; margin: 0; }
.faq-list .wp-block-details { margin: 0; }

/* ==========================================================================
   Family stories (the people behind our purpose)
   ========================================================================== */
.stories { background: #f4f0e9; color: var(--navy); padding: clamp(60px, 8vw, 112px) var(--gutter); overflow: clip; }
.stories__head { max-width: 46rem; margin: 0 auto clamp(44px, 6vw, 84px); text-align: center; }
.stories__title { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.025em; line-height: 1.02; margin: 0 0 .6em; text-wrap: balance; }
.stories .accent { color: var(--olive); }
.stories__lead { text-align: left; }
.stories__lead p { font-size: clamp(1.1rem, 1.35vw, 1.25rem); line-height: 1.75; margin: 0 0 1em; }
.stories__lead p:last-child { margin-bottom: 0; font-size: clamp(1.15rem, 1.5vw, 1.35rem); }

.polaroid--natural .polaroid__img { aspect-ratio: auto; }
.polaroid--natural .polaroid__img img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; }
.more__body p { font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.75; margin: 0 0 1em; }
.story__badge, .team__badge {
	max-width: 440px;
	margin: 0 0 22px;
	padding: 8px 14px;
	font-family: var(--f-head);
	font-size: .78rem;
	line-height: 1.4;
	text-align: center;
	color: #5a4a00;
	background: #fff3c4;
	border: 1px dashed #b89b1f;
	border-radius: 12px;
}
.team__badge { margin: 26px auto 0; }

/* A "read more" button that opens the rest (native details, works without scripts) */
.more { margin: 1.1rem 0 0; }
.more__btn {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: .6em;
	padding: .7em 1.25em;
	border: 2px solid currentColor;
	border-radius: 999px;
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.more__btn::-webkit-details-marker { display: none; }
.more__btn::before { content: "+"; font-size: 1.3em; line-height: .8; }
.more[open] > .more__btn::before { content: "\2212"; }
.more__btn:hover, .more__btn:focus-visible { background: var(--navy); color: var(--white); }
.more__btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.more__close { display: none; }
.more[open] .more__open { display: none; }
.more[open] .more__close { display: inline; }
.more__body { padding-top: 1.2rem; }
.more__body > :last-child { margin-bottom: 0; }
.more__body img { max-width: 100%; height: auto; border-radius: 10px; }
.more__body p:has(> img) { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: .4em 0 1em; }
.more__body p:has(> img) br { display: none; }
.more__body p:has(> img) img { width: 100%; height: 190px; max-width: none; object-fit: cover; }

/* The guiding question under the stories */
.stories__question {
	max-width: 52rem;
	margin: clamp(60px, 8vw, 110px) auto 0;
	padding: clamp(32px, 5vw, 60px) clamp(24px, 5vw, 64px);
	text-align: center;
	background: var(--navy);
	color: var(--white);
	border-radius: 28px;
}
.stories__q { font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2.2rem); line-height: 1.35; margin: .3em 0 1.2em; text-wrap: balance; }
.stories__question .btn { background: var(--sage); color: var(--navy); }
.stories__question .btn:hover { background: #adbdad; }

@media (max-width: 860px) {
	.more__body p:has(> img) img { height: 150px; }
}

/* Team: initials instead of a placeholder face, expandable bios, group caption */
.team__monogram {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: #f4f0e9;
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: clamp(3rem, 6vw, 4.6rem);
	line-height: 1;
}
.team__photo { background: #f4f0e9; }
.team__bio p { margin-bottom: .7em; }
.team .more { align-self: flex-start; margin-top: .4rem; }
.team__grid > li .more { width: 100%; max-width: 24em; text-align: left; }
.team .more__body { font-size: 1.05rem; line-height: 1.65; }
.team .more__body p { font-size: 1.05rem; line-height: 1.65; }
.team__intro p { margin: 0 0 .9em; }
.team__intro p:last-child { margin-bottom: 0; }
.team__group-photo { margin: 0; border-radius: 0; overflow: visible; background: none; }
.team__group-photo img { border-radius: 24px; }
.team__group-caption { margin-top: 14px; font-style: italic; font-size: 1.05rem; line-height: 1.55; }

/* Question above the message box */
.field__prompt { font-family: var(--f-head); font-size: .95rem; font-style: normal; font-weight: 500; line-height: 1.5; margin: 0 0 10px; }


/* ==========================================================================
   1.7.0: draw people in (opening question, story prints, reader, circles)
   ========================================================================== */

/* Opening question: big italic words that take turns, and three prints on a table */
.moments { background: #f4f0e9; color: var(--navy); padding: clamp(64px, 9vw, 128px) var(--gutter); overflow: clip; }
.moments__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.moments__q { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.05rem, 1.55vw, 1.35rem); line-height: 1.5; max-width: 30em; margin: 0 0 clamp(12px, 1.8vw, 24px); }
.moments__words { position: relative; }
.moments__static { margin: 0; font-family: var(--f-body); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.25; color: var(--olive); text-wrap: balance; }
.moments__rot { display: none; margin: 0; font-family: var(--f-body); font-style: italic; font-weight: 500; font-size: clamp(2.9rem, 7vw, 6.6rem); line-height: 1.04; letter-spacing: -.02em; color: var(--olive); text-wrap: balance; }
html.gls-motion .moments__static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.gls-motion .moments__rot { display: grid; pointer-events: none; }
.moments__w { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(.4em); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.moments__w.is-on { opacity: 1; transform: none; }
.moments__w.is-out { opacity: 0; transform: translateY(-.4em); }
.moments__pause { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 14px; padding: 0; border: 2px solid var(--navy); border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s; }
.moments__pause[hidden] { display: none; }
.moments__pause:hover, .moments__pause:focus-visible { background: var(--navy); color: var(--white); }
.moments__pause:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.moments__ico { width: 14px; height: 14px; fill: currentColor; }
.moments__ico--play { display: none; }
.moments__pause[aria-pressed="true"] .moments__ico--pause { display: none; }
.moments__pause[aria-pressed="true"] .moments__ico--play { display: block; }
.moments__close { margin: clamp(22px, 3vw, 38px) 0 22px; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; }
.moments__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.moments__link { display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-head); font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; }
.moments__link:hover { color: var(--olive); }
.moments__link svg { width: .8em; height: .8em; flex: none; }
/* Three prints in a zig-zag: they only brush at the white frames, so every face stays fully in view. */
.moments__prints { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.5; margin-inline: auto; }
.moments__print { position: absolute; width: 52%; margin: 0; }
.moments__print .polaroid { max-width: none; padding: 10px 10px 18px; }
.moments__print .polaroid__img { aspect-ratio: 4 / 5; }
.moments__print--1 { top: 0; right: 0; z-index: 2; }
.moments__print--1 .polaroid { transform: rotate(3deg); }
.moments__print--2 { top: 27%; left: 0; z-index: 3; }
.moments__print--2 .polaroid { transform: rotate(-4deg); }
.moments__print--3 { bottom: 0; right: 0; z-index: 1; }
.moments__print--3 .polaroid { transform: rotate(2deg); }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		html.gls-motion .moments__print { animation: gls-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
		html.gls-motion .moments__print--1 { --drift: -38px; }
		html.gls-motion .moments__print--2 { --drift: 30px; }
		html.gls-motion .moments__print--3 { --drift: -20px; }
	}
}
@keyframes gls-drift { from { translate: 0 calc(var(--drift, 20px) * -1); } to { translate: 0 var(--drift, 20px); } }
@media (max-width: 860px) {
	.moments__inner { grid-template-columns: 1fr; }
	.moments__prints { max-width: 420px; }
}

/* Family stories: prints in a row you can swipe or scroll; the story opens in the reader */
.stories { overflow: clip; }
.stories__head { margin-bottom: clamp(8px, 2vw, 24px); }
.rail { position: relative; margin-inline: calc(var(--gutter) * -1); --rail-pad: max(var(--gutter), calc((100vw - 1120px) / 2)); }
.rail__track {
	list-style: none;
	margin: 0;
	padding: 40px var(--rail-pad) 56px;
	display: flex;
	gap: clamp(20px, 2.4vw, 36px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--rail-pad);
	scrollbar-width: thin;
	scrollbar-color: var(--sage) transparent;
}
.rcard { flex: 0 0 clamp(260px, 28vw, 390px); scroll-snap-align: start; }
.rcard__btn {
	position: relative;
	display: block;
	width: 100%;
	padding: 12px 12px 22px;
	border: 0;
	background: var(--white);
	box-shadow: 0 22px 44px rgba(24, 37, 48, .16), 0 3px 8px rgba(24, 37, 48, .1);
	color: var(--navy);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s;
}
.rcard--a .rcard__btn { transform: rotate(-1.6deg); }
.rcard--b .rcard__btn { transform: rotate(1.4deg); }
.rcard__btn::before { content: ""; position: absolute; top: -14px; left: 50%; width: 96px; height: 28px; margin-left: -48px; background: rgba(153, 171, 153, .72); transform: rotate(2deg); box-shadow: 0 1px 3px rgba(24, 37, 48, .15); }
.rcard__btn:hover, .rcard__btn:focus-visible { transform: rotate(0) translateY(-8px); box-shadow: 0 30px 56px rgba(24, 37, 48, .22), 0 4px 10px rgba(24, 37, 48, .12); }
.rcard__btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 6px; }
.rcard__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #d9d4c9; }
.rcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.rcard__btn:hover .rcard__media img, .rcard__btn:focus-visible .rcard__media img { transform: scale(1.05); }
.rcard__media--type { display: grid; place-items: center; padding: 28px; background: var(--sage); }
.rcard__quote { font-family: var(--f-body); font-style: italic; font-size: clamp(1.7rem, 2.5vw, 2.3rem); line-height: 1.2; text-align: center; text-wrap: balance; }
.rcard__body { display: block; padding: 18px 6px 0; }
.rcard__value { display: block; margin-bottom: .6em; font-family: var(--f-head); font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.rcard__title { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.rcard__who { display: block; margin-top: .55em; font-style: italic; font-size: 1.05rem; line-height: 1.4; color: var(--ink-soft); }
.rcard__cta { display: inline-flex; align-items: center; gap: .6em; margin-top: 1.1em; font-family: var(--f-head); font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.rcard__plus { position: relative; width: 26px; height: 26px; border: 2px solid currentColor; border-radius: 50%; transition: background-color .2s, color .2s; }
.rcard__plus::before, .rcard__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: currentColor; }
.rcard__plus::after { transform: rotate(90deg); }
.rcard__btn:hover .rcard__plus, .rcard__btn:focus-visible .rcard__plus { background: var(--navy); color: var(--white); }
.rail__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: -14px; padding-inline: var(--rail-pad); }
.rail__nav[hidden] { display: none; }
.rail__btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 2px solid var(--navy); border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s; }
.rail__btn svg { width: 16px; height: 16px; }
.rail__btn:hover:not(:disabled), .rail__btn:focus-visible { background: var(--navy); color: var(--white); }
.rail__btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.rail__btn:disabled { opacity: .35; cursor: default; }
.stories .story__badge { margin: 0 auto 22px; }
.stories__question { margin-top: clamp(40px, 6vw, 80px); }

/* The reader: one story or one person, full screen, opened from a print or a button */
.reader.modal { max-width: min(1120px, calc(100vw - 24px)); text-align: left; }
.reader::backdrop { background: rgba(31, 47, 59, .84); }
.reader .reader__box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 1fr); padding: 0; overflow: hidden; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 26px; background: #f4f0e9; }
.reader--text .reader__box { grid-template-columns: minmax(0, 1fr); }
.reader .modal__close { z-index: 3; }
.reader__media { display: grid; place-items: center; margin: 0; padding: clamp(28px, 4vw, 52px); background: var(--sage); overflow: hidden; }
.reader__media .polaroid { max-width: 430px; transform: rotate(-2deg); }
.reader__mono { font-family: var(--f-head); font-weight: 800; font-size: clamp(7rem, 18vw, 13rem); line-height: 1; color: var(--navy); opacity: .9; }
.reader__content { overflow: auto; overscroll-behavior: contain; padding: clamp(30px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(28px, 4vw, 48px); }
.reader__title { margin: 0 0 .5em; padding-right: 48px; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.reader__who { margin: 0 0 1.5em; font-family: var(--f-head); font-size: 1rem; line-height: 1.45; color: var(--olive); }
.reader__who strong { color: var(--navy); font-weight: 700; }
.reader__body p { margin: 0 0 1em; font-size: clamp(1.05rem, 1.2vw, 1.18rem); line-height: 1.75; }
.reader__body img { max-width: 100%; height: auto; border-radius: 10px; }
.reader__body p:has(> img) { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: .4em 0 1.2em; }
.reader__body p:has(> img) br { display: none; }
.reader__body p:has(> img) img { width: 100%; height: 190px; max-width: none; object-fit: cover; }
.reader__closing { margin: 1.5em 0 0; padding-left: 1.1rem; border-left: 4px solid var(--sage); font-weight: 700; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; }
.reader__cta { margin: 1.8em 0 0; }
.reader__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 2.2em; padding-top: 1.3em; border-top: 1px solid rgba(41, 60, 75, .22); }
.reader__go { display: grid; gap: .2em; padding: .4em 0; border: 0; background: none; color: var(--navy); font: inherit; text-align: left; cursor: pointer; }
.reader__go--next { text-align: right; }
.reader__dir { font-family: var(--f-head); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.reader__name { font-style: italic; font-size: 1.05rem; line-height: 1.35; border-bottom: 2px solid transparent; transition: border-color .2s; }
.reader__go:hover .reader__name, .reader__go:focus-visible .reader__name { border-bottom-color: var(--navy); }
.reader__go:focus-visible { outline: 3px solid var(--sage); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
	html.gls-motion .reader[open] { animation: gls-reader-in .5s cubic-bezier(.2, .7, .2, 1); }
	html.gls-motion .reader[open]::backdrop { animation: gls-fade-in .4s ease; }
}
@keyframes gls-reader-in { from { opacity: 0; transform: translateY(26px) scale(.98); } }
@keyframes gls-fade-in { from { opacity: 0; } }
@media (max-width: 860px) {
	.reader.modal { max-width: calc(100vw - 16px); }
	.reader .reader__box { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; overflow: auto; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 22px; }
	.reader__media { padding: 56px 24px 30px; }
	.reader__media .polaroid { max-width: 300px; }
	.reader__mono { font-size: 6rem; }
	.reader__content { overflow: visible; }
}

/* Founders: a portrait, a name and a button; the bio opens in the reader */
.team__open { margin-top: 18px; }
.team__open:hover, .team__open:focus-visible { background: var(--navy); color: var(--white); }
.person .team__open { margin-top: 10px; }

/* Three circles that overlap: the three perspectives, one shared mission */
.perspectives { position: relative; overflow: clip; padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(20px, 3vw, 40px); background: #f4f0e9; color: var(--navy); }
.venn { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.venn__c { position: relative; display: grid; place-items: center; margin-inline: -5.5%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; transition: transform 1.7s cubic-bezier(.2, .7, .2, 1); }
.venn__c--1 { background: #a3b5a3; }
.venn__c--2 { background: #e0d3bd; }
.venn__c--3 { background: #a9bccd; }
.venn__txt { width: 58%; text-align: center; }
.venn__c--1 .venn__txt { transform: translateX(-8%); }
.venn__c--3 .venn__txt { transform: translateX(8%); }
.venn__t { margin: 0 0 .6em; font-size: clamp(.95rem, 1.5vw, 1.3rem); font-weight: 800; line-height: 1.15; text-transform: uppercase; text-wrap: balance; }
.venn__p { margin: 0; font-size: clamp(.82rem, 1.1vw, 1.02rem); line-height: 1.5; }
.venn__core { margin: clamp(22px, 3vw, 40px) 0 0; text-align: center; }
.venn__core span { display: inline-block; padding: .75em 1.6em; border-radius: 999px; background: var(--navy); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; transition: opacity .8s ease .9s, transform .8s ease .9s; }
html.gls-motion .perspectives:not(.is-in) .venn__c--1 { transform: translateX(34%); }
html.gls-motion .perspectives:not(.is-in) .venn__c--2 { transform: scale(.86); }
html.gls-motion .perspectives:not(.is-in) .venn__c--3 { transform: translateX(-34%); }
html.gls-motion .perspectives:not(.is-in) .venn__core span { opacity: 0; transform: translateY(10px); }
@media (max-width: 760px) {
	.venn { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	.venn__c { width: min(88vw, 380px); margin: -7% 0 0; }
	.venn__c:first-child { margin-top: 0; }
	.venn__txt { width: 70%; }
	.venn__t { font-size: 1.02rem; }
	.venn__p { font-size: .97rem; }
	.venn__c--1 .venn__txt, .venn__c--3 .venn__txt { transform: none; }
	html.gls-motion .perspectives:not(.is-in) .venn__c--1 { transform: translateY(14%); }
	html.gls-motion .perspectives:not(.is-in) .venn__c--3 { transform: translateY(-14%); }
}
.story-more { padding-top: clamp(20px, 3vw, 36px); }
.story-more__inner { columns: auto; max-width: 46rem; }


/* ==========================================================================
   Comprehensive in-home assessment: headline photo, RightCare numbers, research statement
   ========================================================================== */
.scene__tagline {
	font-family: var(--f-body);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(1.3rem, 2.1vw, 1.9rem);
	line-height: 1.3;
	color: #e3ecde;
	margin: 0 0 1em;
	max-width: 22em;
}
.scene__tagline span { display: block; }
.scene__tagline + p { font-size: clamp(1.05rem, 1.35vw, 1.3rem); }

/* RightCare research band */
.rc {
	background: var(--navy-deep);
	color: var(--white);
	padding: clamp(56px, 8vw, 112px) var(--gutter);
}
.rc__inner { max-width: 1240px; margin-inline: auto; }
.rc__label {
	display: flex;
	align-items: center;
	gap: .9em;
	margin: 0 0 1.1rem;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sage);
}
.rc__label::before { content: ""; width: 2.6em; height: 2px; background: var(--sage); }
.rc__intro {
	max-width: 30em;
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.7rem);
	line-height: 1.5;
	color: #e8eee8;
	text-wrap: pretty;
}
.rc__stats {
	list-style: none;
	margin: clamp(28px, 4.5vw, 60px) 0 0;
	padding: 0;
	display: flex;
	gap: clamp(20px, 3vw, 48px);
}
.rc__stats li { flex: 1 1 auto; border-top: 2px solid var(--sage); padding-top: clamp(14px, 1.8vw, 24px); }
.rc__num {
	display: block;
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(2.4rem, 6.2vw, 6rem);
	line-height: .95;
	letter-spacing: -0.035em;
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
	color: var(--white);
}
.rc__what {
	display: block;
	margin-top: .55em;
	font-style: italic;
	font-size: clamp(1rem, 1.7vw, 1.45rem);
	line-height: 1.3;
	color: #cfdccf;
}
.rc__text {
	margin-top: clamp(32px, 5vw, 68px);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(28px, 5vw, 72px);
	max-width: 60em;
}
.rc__text p { margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.7; color: #dfe7df; text-wrap: pretty; }
.rc__text:has(> p:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 34em; }

@media (max-width: 520px) {
	.rc__stats { flex-direction: column; gap: 22px; }
	.rc__stats li { flex: none; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: baseline; column-gap: 18px; }
	.rc__what { margin-top: 0; }
	.rc__text { grid-template-columns: minmax(0, 1fr); gap: 1em; }
}

/* ==========================================================================
   Solutions: what recommendations may include, and the four-step process
   ========================================================================== */
.sol { padding: clamp(44px, 6vw, 88px) clamp(14px, 6.7vw, 84px) 0; }
.sol__inner {
	max-width: 1180px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: start;
}
.sol__inner--one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.sol__text { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.7; }
.sol__text p { margin-bottom: .9em; }
.sol__text p:last-child { margin-bottom: 0; }
.sol__list { background: #eef2ee; border-radius: 22px; padding: clamp(22px, 3vw, 40px); }
.sol__title { font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 800; text-transform: uppercase; margin: 0 0 .9em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7em; }
.checks li { position: relative; padding-left: 2.1em; font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.5; }
.checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 1.35em;
	height: 1.35em;
	border-radius: 50%;
	background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23293c4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.6 3.6 3.6 7.4-8'/%3E%3C/svg%3E") center / 72% no-repeat;
}
@media (max-width: 860px) {
	.sol__inner { grid-template-columns: minmax(0, 1fr); }
}

.proc { background: #e4eae2; margin-top: clamp(32px, 4.4vw, 60px); padding: clamp(52px, 7vw, 96px) var(--gutter); color: var(--navy); }
.proc__inner { max-width: 1240px; margin-inline: auto; text-align: center; }
.proc__eyebrow { margin-bottom: clamp(22px, 3vw, 38px); }
.proc__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px;
	text-align: left;
}
.proc__step { position: relative; background: var(--white); border-radius: 22px; padding: clamp(20px, 2.4vw, 32px); }
.proc__n { display: block; font-family: var(--f-head); font-weight: 700; font-size: .95rem; color: var(--olive); margin-bottom: .6em; }
.proc__n::after { content: ""; display: block; width: 2.2em; height: 3px; margin-top: .55em; background: var(--sage); }
.proc__label { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 800; text-transform: uppercase; line-height: 1.12; margin-bottom: .55em; }
.proc__text { font-size: 1.02rem; line-height: 1.55; margin: 0; }
.proc__step:not(:last-child)::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 50%;
	right: -36px;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: 50%;
	background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 56% no-repeat;
	transform: scale(.78);
}
.proc__summary {
	margin: clamp(32px, 4.4vw, 56px) auto 0;
	max-width: 30em;
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(1.25rem, 2.7vw, 2.2rem);
	line-height: 1.16;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}
.proc__summary span { display: inline-block; }
.proc__cta { margin: clamp(24px, 3vw, 36px) 0 0; }
@media (max-width: 960px) {
	.proc__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
	.proc__step:nth-child(2n)::after { display: none; }
}
@media (max-width: 560px) {
	.proc__steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.proc__step:not(:last-child)::after { display: block; top: auto; right: auto; left: 50%; bottom: -35px; margin: 0 0 0 -18px; transform: rotate(90deg) scale(.78); }
}

/* ==========================================================================
   2.0 STORY LAYER
   The homepage reads as chapters. Everything below adds the guide that follows the
   reader, the research statement, the service cards and the journey steps.
   ========================================================================== */

/* Reading line under the top bar ----------------------------------------- */
.progress {
	position: fixed;
	z-index: 49;
	left: 0;
	right: 0;
	top: var(--header-h);
	height: 3px;
	pointer-events: none;
}
.admin-bar .progress { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { .admin-bar .progress { top: calc(var(--header-h) + 46px); } }
.progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--sage), #c9d6c4);
	transform-origin: 0 50%;
	transform: scaleX(var(--p, 0));
}

/* Chapter guide (computers): dots on the right, the current chapter named ---- */
.guide {
	position: fixed;
	z-index: 40;
	right: clamp(10px, 1.6vw, 26px);
	top: 50%;
	transform: translateY(-50%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s ease, visibility .35s;
}
.guide.is-shown { opacity: 1; visibility: visible; }
.guide__list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; border-radius: 999px; }
.guide__list a {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding: 5px 4px 5px 10px;
	text-decoration: none;
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 600;
	font-size: .74rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1;
}
.guide__label {
	padding: .5em .8em;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 4px 16px rgba(31, 47, 59, .14);
	white-space: nowrap;
	opacity: 0;
	transform: translateX(8px);
	transition: opacity .25s ease, transform .25s ease;
	pointer-events: none;
}
.guide__n { color: var(--olive); margin-right: .5em; }
.guide__dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(153, 171, 153, .55);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
	transition: transform .25s ease, background-color .25s;
}
.guide__list a.is-done .guide__dot { background: var(--sage); }
.guide__list a.is-current .guide__dot { background: var(--navy); transform: scale(1.45); }
.guide.is-announce a.is-current .guide__label,
.guide:hover .guide__label,
.guide__list a:focus-visible .guide__label { opacity: 1; transform: none; }
.guide:hover .guide__list a:not(.is-current) .guide__label { background: rgba(255, 255, 255, .86); }
.guide__list a:focus-visible { outline: none; }
.guide__list a:focus-visible .guide__dot { box-shadow: 0 0 0 3px var(--navy); }
@media (max-width: 1099px) { .guide { display: none; } }
@media print { .guide, .progress { display: none; } }

/* Folded text over a dark photo ------------------------------------------- */
.scene:not(.scene--split) .more__btn { color: var(--white); }
.scene:not(.scene--split) .more__btn:hover,
.scene:not(.scene--split) .more__btn:focus-visible { background: var(--white); color: var(--navy); }
.scene .more { margin-top: 1rem; }

/* RightCare numbers count up once ----------------------------------------- */
.rc__num { font-variant-numeric: tabular-nums; }

/* Research statement (under the RightCare numbers) ------------------------- */
.research { background: #f4f0e9; color: var(--navy); padding: clamp(56px, 8vw, 112px) var(--gutter); }
.research__inner {
	max-width: 1240px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(24px, 5vw, 80px);
	align-items: center;
}
.research__inner:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 52rem; text-align: center; }
.research__title {
	font-size: clamp(1.8rem, 3.4vw, 3rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 1.04;
	text-wrap: balance;
}
.research__title .accent { color: var(--olive); font-size: 1.02em; }
.research__text {
	position: relative;
	padding-left: clamp(18px, 2vw, 28px);
	border-left: 3px solid var(--sage);
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	line-height: 1.6;
	text-wrap: pretty;
}
.research__inner:has(> :only-child) .research__text { border-left: 0; padding-left: 0; }
.research__text p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
	.research__inner { grid-template-columns: minmax(0, 1fr); }
}

/* Services as cards ------------------------------------------------------- */
.svcs__hint { text-align: center; margin: clamp(36px, 5vw, 64px) auto 0; max-width: 40em; font-family: var(--f-head); font-weight: 500; font-size: .98rem; line-height: 1.5; color: var(--taupe-deep); }
.svcs {
	list-style: none;
	margin: 22px auto 0;
	padding: 0;
	max-width: 1180px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: clamp(12px, 1.6vw, 20px);
}
.svc { display: flex; }
.svc__btn {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0 0 18px;
	border: 0;
	border-radius: 22px;
	background: var(--white);
	box-shadow: 0 0 0 2px #e4eae2;
	color: var(--navy);
	text-align: left;
	text-decoration: none;
	font: inherit;
	overflow: hidden;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease;
}
.svc__btn--plain { cursor: default; }
.svc__btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.svc__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e4eae2; }
.svc__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.svc__media--mark { display: grid; place-items: center; color: var(--sage); }
.svc:nth-child(3n+2) .svc__media--mark { background: #f4f0e9; color: var(--taupe); }
.svc:nth-child(3n) .svc__media--mark { background: var(--navy); color: var(--sage); }
.svc__media--mark .star { width: 30%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.svc__n { display: block; padding: 16px 20px 0; font-family: var(--f-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--olive); }
.svc__name { display: block; padding: 4px 20px 0; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.2; text-transform: uppercase; }
.svc__more { display: inline-flex; align-items: center; gap: .5em; margin-top: auto; padding: 14px 20px 0; font-family: var(--f-head); font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--olive); }
.svc__more svg { width: .8em; height: .8em; }
.svc__plus { position: relative; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--navy); }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46%; height: 2px; margin: -1px 0 0 -23%; background: var(--white); }
.svc__plus::after { transform: rotate(90deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.svc__btn:not(.svc__btn--plain):hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--navy), 0 20px 40px -24px rgba(31, 47, 59, .5); }
	.svc__btn:hover .svc__photo { transform: scale(1.05); }
	.svc__btn:hover .svc__media--mark .star { transform: rotate(60deg); }
}
@media (max-width: 520px) {
	.svcs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.svc__btn { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: 1fr auto; padding: 0; }
	.svc__media { grid-row: 1 / 3; aspect-ratio: auto; min-height: 92px; }
	.svc__n { display: none; }
	.svc__name { align-self: end; padding: 14px 16px 0; }
	.svc__more { align-self: start; margin-top: 0; padding: 6px 16px 14px; }
}

/* The four steps light up in turn, like a path being walked ---------------- */
.proc__steps { counter-reset: none; }
html.gls-motion .proc[data-proc] .proc__step { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s ease; }
html.gls-motion .proc[data-proc]:not(.is-in) .proc__step { opacity: 0; transform: translateY(24px); }
html.gls-motion .proc[data-proc].is-in .proc__step:nth-child(2) { transition-delay: .25s; }
html.gls-motion .proc[data-proc].is-in .proc__step:nth-child(3) { transition-delay: .5s; }
html.gls-motion .proc[data-proc].is-in .proc__step:nth-child(4) { transition-delay: .75s; }
html.gls-motion .proc[data-proc].is-in .proc__step:last-child { box-shadow: 0 0 0 2px var(--navy); }
html.gls-motion .proc[data-proc] .proc__step::after { transition: transform .5s ease .2s; }
html.gls-motion .proc[data-proc]:not(.is-in) .proc__step::after { transform: scale(0); }
@media (prefers-reduced-motion: reduce) {
	html.gls-motion .proc[data-proc] .proc__step { opacity: 1 !important; transform: none !important; }
}
