/*
Theme Name: Turnstone Care
Theme URI: https://turnstonecare.com/
Author: Jon Wilcox Marketing and Design
Author URI: https://jonmarkwilcox.com/
Description: Custom theme for Turnstone Care Advisors. Home, Services, About and Contact pages with a built-in contact form. Edit the page text and photos under Appearance → Customize → Turnstone Site.
Version: 1.6.1
Requires at least: 6.0
Tested up to: 6.8
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: turnstone-care
*/

/* ---------- Tokens ---------- */
:root {
	--cream: #f4f1eb;
	--white: #ffffff;
	--navy: #223e4d;        /* overridden by Customizer → Colors */
	--rust: #bf3604;        /* overridden by Customizer → Colors */
	--rust-deep: #9c2c03;
	--flag: #ff8a70;        /* current page in the footer links (readable on navy) */
	--line: #d5d8dc;
	--field: #b9bfc3;
	--sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--edge: clamp(20px, 8vw, 102px);   /* side margin of the page */
	--gap: clamp(64px, 10vw, 128px);   /* space between sections */
	--out: cubic-bezier(.16, 1, .3, 1); /* the one easing curve: quick start, soft landing */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--cream);
	color: var(--navy);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
::selection { background: var(--navy); color: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .18em; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; text-wrap: balance; }
p + p { margin-top: 14px; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
[id] { scroll-margin-top: 110px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important;
	left: 12px; top: 12px;
	width: auto; height: auto;
	clip: auto;
	z-index: 100;
	padding: 10px 16px;
	background: var(--navy);
	color: var(--cream);
}

.wrap { padding-left: var(--edge); padding-right: var(--edge); }
.center { text-align: center; }
.rule { display: block; width: 143px; height: 0; border: 0; border-top: 2px solid var(--navy); margin: 28px 0; }
.rule--wide { width: 191px; }
.prose p { font-size: 16px; line-height: 1.5; }

/* ---------- Buttons: one solid, one outlined ---------- */
.btn {
	display: inline-block;
	padding: 15px 34px;
	border: 2px solid var(--rust);
	border-radius: 100px;
	background: var(--rust);
	color: var(--white);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s, transform .25s var(--out), box-shadow .25s var(--out);
}
.btn:hover {
	border-color: var(--rust-deep);
	background: var(--rust-deep);
	transform: translateY(-2px);
	box-shadow: 0 8px 16px -8px rgba(34, 62, 77, .55);
}
.btn:active { transform: translateY(0); box-shadow: none; transition-duration: .1s; }
.btn--outline { background: transparent; color: var(--rust); }
.btn--outline:hover { border-color: var(--rust); background: var(--rust); color: var(--white); }
.btn--small { padding: 11px 20px; font-size: 15px; white-space: nowrap; }

/* ---------- Header ---------- */
/* Sticks to the top as a slim bar: hides while scrolling down, slides back on the way up. */
.site-header {
	position: sticky;
	top: calc(var(--tc-cut, 0px) * -1);
	z-index: 30;
	background: var(--cream);
	transition: transform .35s var(--out), box-shadow .2s;
}
body.admin-bar .site-header { top: calc(32px - var(--tc-cut, 0px)); }
@media (max-width: 782px) { body.admin-bar .site-header { top: calc(46px - var(--tc-cut, 0px)); } }
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 20px -18px rgba(34, 62, 77, .5); }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 30px clamp(20px, 3.2vw, 40px) 30px var(--edge);
}
.brand { flex: none; display: block; }
.brand img { width: 241px; height: auto; transform-origin: left bottom; transition: transform .35s var(--out); }
.brand__name { font-size: 28px; font-weight: 700; text-decoration: none; }
.primary-nav { flex: 1; display: flex; justify-content: center; transition: transform .35s var(--out); }
.primary-nav ul { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
	position: relative;
	display: block;
	padding: 13px 14px;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}
.primary-nav a::after {
	content: "";
	position: absolute;
	left: 8px; right: 8px; bottom: 4px;
	height: 3px;
	background: var(--rust);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--out);
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__cta {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	transition: transform .35s var(--out);
}
.site-header__phone { display: inline-flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.site-header__phone svg { width: 16px; height: 16px; fill: var(--rust); }
.site-header__phone a { text-decoration: none; }
.site-header__phone a:hover { color: var(--rust); }
.nav-toggle {
	display: none;
	flex: none;
	width: 44px; height: 44px;
	margin-left: auto;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgba(34, 62, 77, .08);
	color: var(--navy);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	display: block;
	width: 22px; height: 3px;
	margin: 0 auto;
	border-radius: 2px;
	background: currentColor;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after { position: absolute; top: 7px; }

@media (min-width: 1101px) {
	/* The slim bar is the bottom strip of the header: slide everything down into it. */
	.site-header.is-stuck .brand img { transform: translateY(var(--tc-logo-shift, 0px)) scale(.5); }
	.site-header.is-stuck .primary-nav,
	.site-header.is-stuck .site-header__cta { transform: translateY(var(--tc-shift, 0px)); }
}
@media (max-width: 1100px) {
	.site-header__inner { flex-wrap: wrap; padding: 20px; }
	.brand img { width: 200px; }
	.nav-toggle { display: block; }
	.primary-nav { display: none; order: 3; flex: 0 0 100%; }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; border-top: 1px solid var(--line); }
	.primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
	.primary-nav a::after { display: none; }
	.primary-nav .current-menu-item > a,
	.primary-nav a[aria-current="page"] { color: var(--rust); }
	.site-header__cta { order: 4; flex: 0 0 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; }
}

/* ---------- Home: top of page ---------- */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 530fr) minmax(0, 648fr);
	align-items: center;
	padding: 25px 0 0 var(--edge);
}
.hero__title { font-size: clamp(46px, 6.9vw, 88px); line-height: 1; letter-spacing: -.02em; text-wrap: wrap; }
.hero__title .w, .page-head__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .w > span, .page-head__title .w > span { display: inline-block; }
.hero__sub { margin-top: 24px; max-width: 470px; font-size: 21px; font-weight: 600; line-height: 1.2; }
.hero .rule { transform-origin: left; }
.hero__text { font-size: clamp(18px, 1.7vw, 22px); font-weight: 400; }
.hero .btn { margin-top: 26px; }
.hero__art { align-self: center; }
.hero__art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Home: intro ---------- */
.intro { padding: 90px var(--edge) 0; text-align: center; }
.display {
	max-width: 990px;
	margin: 0 auto;
	font-size: clamp(34px, 5.1vw, 65px);
	line-height: 1.05;
	letter-spacing: -.015em;
}
.display--rust { color: var(--rust); }
.trio {
	display: flex;
	gap: 20px;
	max-width: 990px;
	margin: 69px auto 0;
}
.trio__side { flex: 213 1 0; min-width: 0; }
.trio__side img { width: 100%; aspect-ratio: 1; object-fit: cover; transform: translateY(var(--drift, 0px)); }
.trio__side--first { align-self: flex-end; }
.trio__side--last { align-self: flex-start; }
.trio__main { flex: 525 1 0; min-width: 0; border: 1px solid var(--navy); }
.trio__main img { width: 100%; aspect-ratio: 523 / 590; object-fit: cover; }
.intro__lead {
	max-width: 22em;
	margin: 60px auto 0;
	font-size: clamp(24px, 3.1vw, 40px);
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}
.intro .prose { max-width: 66ch; margin: 30px auto 0; }
.intro .prose p { font-size: 18px; line-height: 1.6; }
.intro .prose p + p { margin-top: 18px; }
.intro .btn { margin-top: 35px; }

/* ---------- Home: pick your situation ---------- */
/* Five large lines, no order and no numbers. Tapping one opens it as a navy band. */
.pick { padding: var(--gap) var(--edge) 0; }
.pick .display { max-width: none; margin: 0; text-align: left; }
.pick__hint { margin-top: 14px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; }
.pick__list { margin-top: clamp(28px, 4vw, 48px); }
.pick__item { margin: 0 calc(var(--edge) * -1); padding: 0 var(--edge); border-top: 1px solid rgba(34, 62, 77, .25); transition: background .5s var(--out), color .5s var(--out); }
.pick__item:last-child { border-bottom: 1px solid rgba(34, 62, 77, .25); }
.pick__q { font-size: inherit; }
.pick__q button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: clamp(16px, 1.8vw, 24px) 0;
	border: 0;
	background: none;
	color: inherit;
	font: 700 clamp(26px, 2.9vw, 38px)/1.1 var(--sans);
	letter-spacing: -.02em;
	text-align: left;
	cursor: pointer;
}
.pick__q button span { transition: transform .5s var(--out), opacity .3s; }
.js .pick__item:not(.is-open) .pick__q button span { opacity: .6; }
.js .pick__item:not(.is-open) .pick__q button:hover span { opacity: 1; transform: translateX(14px); }
.pick__q button::after {
	content: "";
	flex: none;
	width: 20px; height: 20px;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	transition: background-size .3s var(--out), transform .5s var(--out);
}
.pick__item.is-open { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.pick__item.is-open + .pick__item { border-top-color: transparent; }
.pick__item.is-open .pick__q button::after { background-size: 100% 2px, 2px 0; }
.pick__a { display: grid; grid-template-rows: 1fr; }
.js .pick__a { grid-template-rows: 0fr; transition: grid-template-rows .6s var(--out); }
.js .pick__item.is-open .pick__a { grid-template-rows: 1fr; }
.pick__a-clip { overflow: hidden; }
.pick__a-inner { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 6px 0 clamp(28px, 4vw, 52px); }
.pick__art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pick__name { font-size: clamp(22px, 2.1vw, 28px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.pick__service { margin-top: 8px; color: #ffb39f; font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.pick__item:not(.is-open) .pick__service { color: var(--rust); }
.pick__text { margin-top: 14px; max-width: 46ch; font-size: clamp(17px, 1.4vw, 19px); font-weight: 400; line-height: 1.45; }
.pick .btn { margin-top: 24px; }
.pick__item.is-open .btn--light { border-color: var(--cream); background: var(--cream); color: var(--navy); }
.pick__item.is-open .btn--light:hover { border-color: var(--white); background: var(--white); }
@media (max-width: 700px) {
	.pick__q button { font-size: clamp(34px, 10.5vw, 46px); padding: 22px 0; }
	.pick__a-inner { grid-template-columns: minmax(0, 1fr); }
	.pick__art { margin: 0 calc(var(--edge) * -1); }
	.pick__art img { aspect-ratio: 16 / 10; }
	.pick .display { font-size: 44px; }
}

/* ---------- Home: signs it may be time to call ---------- */
.signs { padding: var(--gap) var(--edge) 0; }
.signs__intro {
	max-width: 1084px;
	margin: 14px auto 0;
	font-size: clamp(19px, 2.1vw, 26px);
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	white-space: pre-line;
}
.signs__list { max-width: 860px; margin: 40px auto 0; border-top: 1px solid rgba(34, 62, 77, .3); }
.sign { border-bottom: 1px solid rgba(34, 62, 77, .3); overflow: hidden; }
.sign summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 4px;
	list-style: none;
	cursor: pointer;
	transition: color .2s;
}
.sign summary:hover { color: var(--rust); }
.sign summary::-webkit-details-marker { display: none; }
/* A plus that turns into a minus. */
.sign summary::after {
	content: "";
	flex: none;
	width: 18px; height: 18px;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	transition: background-size .3s var(--out);
}
.sign[open]:not(.is-closing) summary::after { background-size: 100% 2px, 2px 0; }
.sign__title { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; line-height: 1.3; }
.sign ul { margin: 0; padding: 0 4px 22px 24px; font-size: 17px; line-height: 1.5; }
.sign li + li { margin-top: 8px; }
.sign__count { margin-left: auto; color: var(--rust); font-size: 14px; font-weight: 700; white-space: nowrap; }
.sign__count:empty { display: none; }

/* Tappable signs (added by JavaScript when the reply line is filled in). */
.signs.is-tickable .sign ul { padding-left: 4px; list-style: none; }
.signs.is-tickable .sign li + li { margin-top: 2px; }
.sign__tick {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	padding: 9px 10px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background .2s;
}
.sign__tick:hover { background: rgba(34, 62, 77, .06); }
.sign__tick::before {
	content: "";
	flex: none;
	width: 22px; height: 22px;
	margin-top: 2px;
	border: 2px solid var(--navy);
	border-radius: 5px;
	background: var(--white) center / 0 no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	transition: background-color .2s, border-color .2s, background-size .25s var(--out);
}
.sign__tick[aria-pressed="true"] { font-weight: 600; }
.sign__tick[aria-pressed="true"]::before { border-color: var(--rust); background-color: var(--rust); background-size: 16px; }
.signs__reply { max-width: 860px; margin: 36px auto 0; text-align: center; }
.signs__reply p { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; line-height: 1.25; text-wrap: balance; }
.signs__reply .btn { margin-top: 22px; }

/* ---------- "Let's talk" band ---------- */
.cta { padding: 130px var(--edge); color: var(--rust); text-align: center; }
.cta__eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; }
.cta__title { margin-top: 20px; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.02em; }
.cta__text { margin-top: 20px; font-size: 18px; font-weight: 500; }
.cta .btn { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--rust); background: var(--navy); color: var(--cream); }
.site-footer ::selection { background: var(--cream); color: var(--navy); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__inner {
	display: grid;
	grid-template-columns: 353fr 242fr 420fr;
	gap: 24px 57px;
	max-width: 1268px;
	margin: 0 auto;
	padding: 34px 64px 23px;
}
.site-footer__badge { display: block; }
.site-footer__badge img { width: 100%; max-width: 353px; height: 84px; object-fit: contain; }
.site-footer__area { margin-top: 20px; font-weight: 400; }
.site-footer__head { font-size: 20px; font-weight: 600; line-height: 1.2; }
.site-footer ul { margin: 20px 0 0; padding: 0; list-style: none; }
.site-footer__links a { font-size: 18px; font-weight: 400; line-height: 1.7; }
.site-footer__links .current-menu-item > a,
.site-footer__links a[aria-current="page"] { color: var(--flag); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 18px; font-weight: 400; line-height: 1.5; }
.site-footer__contact svg { flex: none; width: 20px; height: 20px; margin-top: 4px; fill: currentColor; }
.site-footer__bar { border-top: 13px solid var(--cream); }
.site-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	max-width: 1268px;
	margin: 0 auto;
	padding: 11px 64px;
	font-size: 14px;
	font-weight: 400;
}
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.site-footer__legal a { text-decoration: underline; text-decoration-color: rgba(244, 241, 235, .45); }
.site-footer__legal a[aria-current="page"] { color: var(--flag); }
.site-footer__credit a { display: inline-flex; align-items: center; gap: 14px; color: var(--white); font-weight: 600; }
.site-footer__credit img { flex: none; width: 31px; height: 31px; }

/* ---------- Services page ---------- */
/* No photos here. Large type, a path down the side, and movement tied to scrolling. */
.page-head { padding: 90px var(--edge) 0; text-align: center; }
.page-head__title { max-width: 1100px; margin: 0 auto; font-size: clamp(38px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.025em; text-wrap: wrap; }
.page-head__line { max-width: 900px; margin: 14px auto 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; line-height: 1.25; }
.page-head__title + .page-head__line { margin-top: clamp(40px, 6vw, 72px); }
.page-head__line--strong { font-weight: 700; }

.help { padding: var(--gap) var(--edge) 0; }
.help__title { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; }
.help__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: 28px; }
.help__item { padding-top: 22px; border-top: 2px solid var(--navy); }
.help__item h3 { font-size: clamp(24px, 2.7vw, 36px); letter-spacing: -.01em; }
.help__item p { margin-top: 14px; max-width: 34ch; font-size: 17px; }

.svc-lead { margin-top: var(--gap); padding: 0 var(--edge); font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.025em; }
.svc {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	margin-top: clamp(40px, 6vw, 72px);
	padding: 0 var(--edge);
}
.svc-rail { position: sticky; top: 150px; align-self: start; border-left: 2px solid rgba(34, 62, 77, .2); }
.svc-rail ul { margin: 0; padding: 0; list-style: none; }
.svc-rail a { display: block; padding: 11px 0 11px 20px; font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: color .3s; }
.svc-rail a:hover, .svc-rail a[aria-current="true"] { color: var(--rust); }
/* One bar that slides to whichever service is being read. */
.svc-rail__marker { position: absolute; top: 0; left: -2px; width: 4px; height: var(--h, 0px); background: var(--rust); transform: translateY(var(--y, 0px)); transition: transform .5s var(--out), height .5s var(--out); }

.stage-row { padding: clamp(44px, 6vw, 84px) 0; border-top: 1px solid rgba(34, 62, 77, .25); }
.stage-row:first-child { padding-top: 0; border-top: 0; }
.stage-row__when { max-width: 15em; font-size: clamp(36px, 5.2vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.stage-row__when .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.stage-row__when .w > span { display: inline-block; }
.stage-row__cols { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(28px, 4vw, 48px); }
.stage-row h2 { color: var(--rust); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.01em; text-wrap: wrap; }
.stage-row h2 span { display: block; }
.stage-row h2 span + span { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(191, 54, 4, .4); }
.stage-row__stage { margin-top: 12px; font-size: 15px; font-weight: 600; opacity: .75; }
.stage-row__text { max-width: 62ch; }
.stage-row__text p { font-size: clamp(17px, 1.5vw, 20px); font-weight: 400; line-height: 1.55; }
.stage-row__points ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px clamp(16px, 2.4vw, 32px);
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}
.stage-row__points li { position: relative; padding-top: 16px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.stage-row__points li::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--navy); transform-origin: left; }

.closing { padding: var(--gap) var(--edge) 0; text-align: center; }
.closing__title { max-width: 1000px; margin: 0 auto; font-size: clamp(40px, 7vw, 100px); line-height: 1; letter-spacing: -.03em; }
.closing__text { max-width: 640px; margin: 26px auto 0; font-size: clamp(19px, 2vw, 24px); font-weight: 500; line-height: 1.35; }

@media (max-width: 1000px) {
	.svc { grid-template-columns: minmax(0, 1fr); }
	.svc-rail { display: none; }
}
@media (max-width: 700px) {
	.help__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.stage-row__cols { grid-template-columns: minmax(0, 1fr); }
	.stage-row__points ul { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- About page ---------- */
.split {
	display: grid;
	grid-template-columns: minmax(0, 707fr) minmax(0, 412fr);
	align-items: center;
	gap: 32px;
	padding: 47px clamp(20px, 4.6vw, 59px) 0 var(--edge);
}
.split__title { font-size: clamp(44px, 6.6vw, 85px); line-height: 1; letter-spacing: -.02em; }
.split__title + .rule { margin: 35px 0; }
.split .prose { max-width: 70ch; }
.split__photo img { width: 100%; aspect-ratio: 412 / 504; object-fit: cover; }
.band { display: grid; align-items: center; gap: clamp(32px, 7vw, 90px); margin-top: var(--gap); }
.band--art-left { grid-template-columns: minmax(0, 598fr) minmax(0, 489fr); padding-right: var(--edge); }
.band--art-right { grid-template-columns: minmax(0, 489fr) minmax(0, 598fr); padding-left: var(--edge); }
.band__art img { width: 100%; }
.band__title { font-size: clamp(34px, 5.1vw, 65px); letter-spacing: -.015em; }
.band .prose { margin-top: 35px; }

/* ---------- Contact page ---------- */
.contact-top {
	display: grid;
	grid-template-columns: minmax(0, 530fr) minmax(0, 648fr);
	align-items: center;
	padding-left: var(--edge);
}
.contact-top__text { padding: 40px 24px 40px 0; }
.contact-top h2 { margin-top: 26px; font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.1; }
.contact-top .rule + h2 { margin-top: 55px; }
.contact-top__lines { margin: 10px 0 0; padding: 0; list-style: none; }
.contact-top__lines li,
.contact-top__address { font-size: clamp(20px, 2.3vw, 30px); font-weight: 600; line-height: 1.5; }
.contact-top__address { margin-top: 10px; }
.contact-top a { text-decoration: none; }
.contact-top a:hover { text-decoration: underline; }
.contact-top__art { border: 1px solid var(--navy); border-right: 0; }
.contact-top__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.contact-form { max-width: 896px; margin: 0 auto; padding: 20px; }
.contact-form-wrap { padding: 0 20px; }
.contact-form label { display: block; margin-top: 18px; font-size: 20px; font-weight: 700; line-height: 1.1; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 11px 16px;
	border: 1px solid var(--field);
	border-radius: 4px;
	background: var(--white);
	color: var(--navy);
	caret-color: var(--rust);
	font: 500 16px/1.5 var(--sans);
	transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(34, 62, 77, .18); }
.contact-form ::placeholder { color: #5f7480; opacity: 1; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { margin-top: 22px; }
.contact-form__fine { margin-top: 16px; max-width: 60ch; font-size: 15px; font-weight: 400; }
.contact-form__fine a { color: var(--rust); font-weight: 600; }
.contact-form__hp { position: absolute; left: -9999px; }
.contact-form__note { margin: 0 0 10px; padding: 12px 16px; border: 1px solid var(--line); background: var(--white); }
.contact-form__note--error { border-color: var(--rust); color: var(--rust); }

/* ---------- Other pages (blog posts, privacy policy, 404) ---------- */
.page-main { max-width: 860px; margin: 0 auto; padding: 60px 20px 0; }
.page-main .entry-title { font-size: clamp(34px, 5.1vw, 65px); }
.page-main .entry-content { margin-top: 30px; }
.page-main .entry-content { max-width: 70ch; font-size: 17px; line-height: 1.6; }
.page-main .entry-content > * + * { margin-top: 16px; }
.page-main .entry-content h2 { margin-top: 44px; font-size: clamp(22px, 2.4vw, 28px); }
.page-main .entry-content ul { padding-left: 22px; }
.page-main .entry-content li + li { margin-top: 8px; }
.page-main .entry-content a { color: var(--rust); }
.post-list { margin: 30px 0 0; padding: 0; list-style: none; }
.post-list li + li { margin-top: 30px; }

/* ---------- Motion ---------- */
/* Everything is visible by default. Movement only happens when JavaScript is running
   and the visitor hasn't asked their device to reduce motion. */
@media (prefers-reduced-motion: no-preference) {
	/* Top of the home page: the headline rises word by word, the rule draws, the photo unveils. */
	.js .hero__title .w > span { animation: tc-rise .8s var(--out) both; animation-delay: calc(var(--i) * 55ms); }
	.js .hero__sub { animation: tc-up .7s var(--out) .45s both; }
	.js .hero .rule { animation: tc-draw .7s var(--out) .6s both; }
	.js .hero__text { animation: tc-up .7s var(--out) .7s both; }
	.js .hero .btn { animation: tc-up .7s var(--out) .82s both; }
	.js .hero__art img { animation: tc-unveil 1.1s var(--out) .25s both; }

	/* Inner pages: the heading and its rule arrive the same way, more quietly. */
	.js .split__title { animation: tc-up .7s var(--out) both; }
	.js .page-head__title .w > span { animation: tc-rise .8s var(--out) both; animation-delay: calc(var(--i) * 45ms); }
	.js .page-head__line { animation: tc-up .7s var(--out) .7s both; }
	.js .page-head__line--strong { animation-delay: .82s; }

	/* Services page: each stage assembles as it scrolls into view. */
	.help__item, .help__title, .stage-row__when .w > span, .stage-row h2, .stage-row__stage, .stage-row__text, .stage-row__points li, .closing__title, .closing__text {
		transition: opacity .8s var(--out), transform .8s var(--out), color .6s var(--out);
	}
	.stage-row__points li::before, .help__item { transition: opacity .8s var(--out), transform .8s var(--out), border-color .8s; }
	.pre .help__title, .pre .help__item, .pre.stage-row h2, .pre .stage-row__stage, .pre .stage-row__text, .pre .stage-row__points li, .pre .closing__text { opacity: 0; transform: translateY(26px); }
	.pre .stage-row__when .w > span { transform: translateY(110%); }
	.stage-row__when .w > span { transition-delay: calc(var(--i) * 45ms); }
	.pre .stage-row h2 { opacity: 0; transform: translateY(26px); }
	.pre .stage-row__points li::before { transform: scaleX(0); }
	.pre .closing__title { opacity: 0; transform: scale(.9); }
	.stage-row h2 { transition-delay: .25s; }
	.help__item:nth-child(2), .stage-row__points li:nth-child(1) { transition-delay: .1s; }
	.stage-row__stage { transition-delay: .3s; }
	.help__item:nth-child(3), .stage-row__points li:nth-child(2), .closing__text { transition-delay: .2s; }
	.stage-row__text { transition-delay: .35s; }
	.stage-row__points li:nth-child(3) { transition-delay: .3s; }
	.stage-row__points li:nth-child(1)::before { transition-delay: .25s; }
	.stage-row__points li:nth-child(2)::before { transition-delay: .35s; }
	.stage-row__points li:nth-child(3)::before { transition-delay: .45s; }
	.js .split .rule, .js .contact-top .rule { transform-origin: left; animation: tc-draw .7s var(--out) .25s both; }
	.js .split__photo img, .js .contact-top__art img { animation: tc-unveil 1s var(--out) .15s both; }

	/* Sections ease up the first time they scroll into view. */
	.reveal { opacity: 0; transform: translateY(22px); }
	.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--out), transform .8s var(--out); }

	/* A situation opens: the photo settles in. */
	.js .pick__item.is-open .pick__art img { animation: tc-settle .9s var(--out) both; }

	.signs__reply:not([hidden]) { animation: tc-up .6s var(--out) both; }
}
@media (prefers-reduced-motion: reduce) {
	.pick__item, .pick__a, .pick__q button span, .btn, .site-header, .brand img, .primary-nav, .site-header__cta { transition: none; }
	.trio__side img { transform: none; }
	.svc-rail__marker { transition: none; }
}
@keyframes tc-rise { from { transform: translateY(110%); } }
@keyframes tc-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes tc-draw { from { transform: scaleX(0); } }
@keyframes tc-unveil { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { opacity: 1; clip-path: inset(0); } }
@keyframes tc-settle { from { opacity: 0; transform: scale(1.08); } }

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; padding: 34px 24px 23px; }
	.site-footer__about { grid-column: 1 / -1; }
	.site-footer__bar-inner { padding: 11px 24px; }
}
@media (max-width: 800px) {
	.hero, .split, .contact-top, .band--art-left, .band--art-right { grid-template-columns: minmax(0, 1fr); }
	.hero { padding: 16px var(--edge) 0; gap: 32px; }
	.hero__art { margin: 0 calc(var(--edge) * -1); }
	.intro { padding-top: 64px; }
	.trio { margin-top: 40px; gap: 10px; }
	.page-head { padding-top: 64px; }
	.split { padding: 24px var(--edge) 0; }
	.band { padding: 0 var(--edge); }
	.band--art-right .band__art { order: -1; }
	.contact-top { padding: 0 var(--edge); }
	.contact-top__art { order: -1; border-right: 1px solid var(--navy); }
	.contact-top__text { padding: 32px 0; }
	.cta { padding: 80px var(--edge); }
}
@media (max-width: 560px) {
	.site-footer__inner { grid-template-columns: minmax(0, 1fr); }
	.site-footer__bar-inner { flex-direction: column; align-items: flex-start; }
	.sign ul { font-size: 16px; }
}

/* Services page on phones: bigger type, alternating navy bands. */
@media (max-width: 700px) {
	.page-head__title { font-size: clamp(44px, 13vw, 56px); text-align: left; }
	.page-head { text-align: left; }
	.page-head__line { margin-left: 0; margin-right: 0; }
	.svc-lead { font-size: clamp(42px, 12.5vw, 54px); }
	.stage-row { margin: 0 calc(var(--edge) * -1); padding: 56px var(--edge); border-top: 0; }
	.stage-row:first-child { padding-top: 56px; }
	.stage-row__when { font-size: clamp(42px, 12.5vw, 54px); line-height: .98; }
	.stage-row:nth-child(odd) { background: var(--navy); color: var(--cream); }
	.stage-row:nth-child(odd) h2 { color: #ffb39f; }
	.stage-row:nth-child(odd) h2 span + span { border-top-color: rgba(255, 179, 159, .4); }
	.stage-row:nth-child(odd) .stage-row__points li::before { background: var(--cream); }
	.stage-row h2 { font-size: 26px; }
	.stage-row__points li { font-size: 18px; padding-top: 14px; }
	.svc { margin-top: 28px; }
	.closing__title { font-size: clamp(48px, 14vw, 64px); }
}

