/* ============================================================
   TUTOR CONNECT — HOMEPAGE SPECIFIC STYLES
   Visual source of truth: design.html
   ============================================================ */

/* ============================================================ HERO
   Ported 1:1 from the "Header + hero" design file (hero only — the
   site header already matches it). Same sizes, spacing and breakpoints;
   the file's indigo maps to --marker and its green to --grade. */
.hero {
	position: relative;
	background: var(--paper);
	overflow-x: clip;
}

.hero__in {
	position: relative;
	max-width: 1440px;
	margin-inline: auto;
	padding: 24px 16px 0;
}

@media (min-width: 640px) {
	.hero__in {
		padding: 32px 32px 0;
	}
}

@media (min-width: 1080px) {
	.hero__in {
		padding-bottom: 96px;
	}
}

@media (min-width: 1280px) {
	.hero__in {
		padding: 48px 60px 96px 110px;
	}
}

.hero__copy {
	position: relative;
	z-index: 2;
	max-width: 680px;
}

@media (min-width: 1080px) {
	.hero__copy {
		max-width: min(680px, 48vw);
	}
}

.hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 30px;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--slate-dim);
}

.hero__eyebrow::before {
	content: "";
	flex: none;
	width: 28px;
	height: 2px;
	background: var(--marker);
}

.hero__title {
	margin: 0 0 30px;
	font-size: clamp(2.5rem, 4.3vw, 4.25rem);
	line-height: 1.02;
	letter-spacing: -.05em;
	font-weight: 800;
	color: var(--ink);
}

.hero__u {
	position: relative;
	white-space: nowrap;
}

.hero__u svg {
	position: absolute;
	left: 3%;
	bottom: -.18em;
	width: 94%;
	height: .22em;
	color: var(--marker);
}

.hero__lede {
	margin: 0 0 34px;
	max-width: 27em;
	font-size: clamp(1.0625rem, 1.5vw, 1.4375rem);
	line-height: 1.4;
	color: var(--slate);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.hero__btn {
	min-height: 64px;
	padding: 16px 40px;
	gap: 14px;
	font-size: 1.125rem;
	white-space: nowrap;
}

.hero__btn svg {
	width: 22px;
	height: 22px;
}

.hero__btn--line {
	padding-inline: 36px;
	background: var(--chalk);
	border-color: var(--rule-hard);
}

.hero__points {
	list-style: none;
	margin: 36px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
}

.hero__points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1rem;
	color: var(--ink);
}

.hero__tick {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--chalk);
	background: var(--grade);
}

.hero__tick svg {
	width: 13px;
	height: 13px;
}

.hero__proof {
	display: flex;
	align-items: center;
	gap: 34px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.hero__faces {
	display: flex;
}

.hero__faces img,
.hero__faces .slot {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--chalk);
	box-shadow: 0 4px 10px -4px rgba(14, 26, 43, .35);
}

.hero__faces > * + * {
	margin-left: -8px;
}

.hero__proof figure {
	margin: 0;
	padding-left: 34px;
	border-left: 2px solid var(--ink);
}

.hero__proof blockquote {
	margin: 0;
	max-width: 42ch;
	font-size: 1rem;
	line-height: 1.4;
	font-style: italic;
	color: var(--ink);
}

.hero__proof figcaption {
	margin-top: 6px;
	font-size: 1rem;
	color: var(--slate-dim);
}

@media (max-width: 560px) {
	.hero__proof figure {
		padding-left: 0;
		border: 0;
	}
	.hero__btn {
		width: 100%;
		padding-inline: 20px;
		font-size: 1.0625rem;
	}
	.hero__points {
		flex-direction: column;
	}
}

/* photo */
.hero__visual {
	position: relative;
	margin: 36px -16px 0;
}

@media (min-width: 1080px) {
	.hero__visual {
		position: absolute;
		right: 0;
		top: 0;
		width: 49%;
		height: calc(100% - 20px);
		margin: 0;
	}
}

.hero__photo {
	position: relative;
	height: 100%;
	aspect-ratio: 4 / 3.3;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
	mask-image: linear-gradient(90deg, transparent 0, #000 16%);
}

@media (min-width: 1080px) {
	.hero__photo {
		aspect-ratio: auto;
	}
}

@media (max-width: 1079px) {
	.hero__photo {
		-webkit-mask-image: none;
		mask-image: none;
	}
}

.hero__photo img,
.hero__photo .slot {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 30% 40%;
}

/* "example match" card — anchored on the photo's top-right corner.
   On wide screens it hangs just past the photo's edge (into the page
   margin) so it clears the faces; when there's no margin it tucks in. */
.hero__match {
	position: absolute;
	top: 6%;
	right: 5%;
	z-index: 2;
	width: 232px;
	padding: 22px 20px 18px;
	background: var(--chalk);
	border-radius: 18px;
	box-shadow: 0 2px 6px rgba(14, 26, 43, .08), 0 28px 48px -22px rgba(14, 26, 43, .45);
	transform: rotate(-3deg);
}

@media (min-width: 1080px) {
	.hero__match {
		top: 28px;
		right: calc(16px - clamp(0px, (100vw - 1440px) / 2, 44px));
	}
}

/* No page margin to hang into at these widths — a slightly narrower
   card keeps it off the tutor's face. */
@media (min-width: 1080px) and (max-width: 1535px) {
	.hero__match {
		width: 204px;
		padding: 18px 16px 16px;
	}
	.hero__match h2 {
		font-size: 1rem;
		margin-bottom: 14px;
	}
}

.hero__match h2 {
	margin: 0 0 18px;
	font-size: 1.125rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
}

.hero__match ul {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	gap: 12px;
}

.hero__match li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: .875rem;
	font-weight: 500;
	color: var(--ink);
}

.hero__match li svg {
	width: 24px;
	height: 24px;
	flex: none;
	color: var(--ink);
}

.hero__matched {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--grade-wash);
	font-size: .75rem;
	font-weight: 600;
	color: var(--grade);
}

.hero__matched span {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--ink);
	color: var(--chalk);
}

.hero__matched span svg {
	width: 11px;
	height: 11px;
}

.hero__burst {
	position: absolute;
	right: -32px;
	top: -24px;
	width: 40px;
	height: 40px;
	color: var(--marker);
}

/* Phones: the photo stands on its own, no match card. */
@media (max-width: 767px) {
	.hero__match {
		display: none;
	}
}

/* ============================================================ HERO LOAD SEQUENCE
   One orchestrated moment on the page. Nothing else animates on scroll. */
.enter {
	opacity: 0;
	transform: translateY(14px);
	animation: enter .7s cubic-bezier(.2, .7, .3, 1) forwards;
	animation-delay: var(--d, 0s);
}

@keyframes enter {
	to {
		opacity: 1;
		transform: none;
	}
}

/* ============================================================ TRUST STRIP */
.strip {
	border-block: 1px solid var(--rule);
	background: var(--chalk);
}

.strip__in {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.strip__item {
	padding: 1.55rem 1.5rem;
	border-left: 1px solid var(--rule);
}

.strip__item:first-child {
	border-left: 0;
	padding-left: 0;
}

.strip__item b {
	font-family: var(--display);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 700;
	display: block;
	letter-spacing: -.03em;
	line-height: 1;
}

.strip__item span {
	font-size: var(--t-sm);
	color: var(--slate);
	display: block;
	margin-top: .35rem;
}

@media (max-width: 760px) {
	.strip__in {
		grid-template-columns: 1fr 1fr;
	}
	.strip__item {
		padding: 1.1rem 1rem;
		border-left: 1px solid var(--rule);
		border-top: 1px solid var(--rule);
	}
	.strip__item:nth-child(-n+2) {
		border-top: 0;
	}
	.strip__item:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}
}

/* ============================================================ STAGE CARDS */
.stages {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--s4);
}

.stage {
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: var(--r-card);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stage:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lift);
	border-color: var(--rule-hard);
}

.stage__img {
	aspect-ratio: 4/3;
	background: var(--paper-2);
	position: relative;
}

.stage__img img,
.stage__img .slot {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stage__age {
	position: absolute;
	top: .65rem;
	left: .65rem;
	background: rgba(14, 26, 43, .88);
	color: var(--on-ink-hi);
	font-size: var(--t-xs);
	font-weight: 600;
	padding: .28rem .6rem;
	border-radius: var(--r-chip);
	backdrop-filter: blur(4px);
	z-index: 2;
}

.stage__body {
	padding: 1.15rem 1.15rem 1.3rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.stage h3 {
	font-size: var(--t-h3);
	font-weight: 600;
}

.stage__fear {
	margin-top: .5rem;
	margin-bottom: .9rem;
	font-size: var(--t-sm);
	color: var(--slate);
	line-height: 1.55;
}

.stage__link {
	margin-top: auto;
	padding-top: .9rem;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
	display: inline-block;
}

.stage__link span {
	border-bottom: 2px solid var(--marker);
	padding-bottom: 1px;
}

@media (max-width: 980px) {
	.stages {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.stages {
		grid-template-columns: 1fr;
	}
}

.process-heading__accent {
	color: var(--marker-text);
}

/* ---- Numbered step rail above the process cards ---- */
.process-rail {
	display: flex;
	align-items: center;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.process-rail__step {
	display: flex;
	align-items: center;
	gap: .6rem;
	flex: none;
}

.process-rail__num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--on-ink-hi);
	font-size: .8rem;
	font-weight: 700;
	display: grid;
	place-items: center;
	flex: none;
}

.process-rail__label {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--slate);
	white-space: nowrap;
}

.process-rail__connector {
	flex: 1;
	min-width: 24px;
	height: 1px;
	background: var(--rule-hard);
	margin: 0 .85rem;
	display: grid;
	place-items: center;
	color: var(--rule-hard);
}

.process-rail__connector svg {
	display: block;
	background: var(--chalk);
	padding: 0 .2rem;
}

@media (max-width: 900px) {
	.process-rail {
		flex-wrap: wrap;
		gap: .9rem 1.6rem;
	}
	.process-rail__connector {
		display: none;
	}
}

/* Icon badge that overlaps the bottom edge of a process card's photo —
   .stage__img has no overflow of its own, so this sits half on the image
   and half on the body without being clipped by .stage's overflow:hidden. */
.stage__icon {
	position: absolute;
	left: 1rem;
	bottom: -20px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--chalk);
	border: 1px solid var(--rule);
	box-shadow: var(--shadow-card);
	color: var(--marker-text);
	display: grid;
	place-items: center;
	z-index: 2;
}

.stage__icon svg {
	display: block;
}

.stage__body {
	padding-top: 1.75rem;
}

.stage__highlight {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: .55rem;
	background: var(--marker-wash);
	border-radius: var(--r-card);
	padding: .6rem .75rem;
	font-size: .82rem;
	font-weight: 500;
	color: var(--ink);
	line-height: 1.4;
}

.stage__highlight-icon {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--marker);
	color: var(--ink);
	display: grid;
	place-items: center;
}

.stage__highlight-icon svg {
	width: 11px;
	height: 11px;
	display: block;
}

/* ---- "Ready to take the first step?" CTA ---- */
.process-cta {
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
	background: var(--paper-3);
	border: 1px solid var(--rule);
	border-radius: var(--r-frame);
	padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
	display: grid;
	grid-template-columns: 1fr auto;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.process-cta__main {
	display: flex;
	align-items: flex-start;
	gap: 1.1rem;
}

.process-cta__icon {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--chalk);
	border: 1px solid var(--rule);
	box-shadow: var(--shadow-card);
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.process-cta__icon svg {
	display: block;
}

.process-cta__main h3 {
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 600;
}

.process-cta__main p {
	margin-top: .4rem;
	color: var(--slate);
	font-size: var(--t-sm);
}

.process-cta__main .btn {
	margin-top: 1.1rem;
}

.process-cta__note {
	display: block;
	margin-top: .55rem;
	font-size: var(--t-xs);
	color: var(--slate-dim);
}

.process-cta__trust {
	display: flex;
	flex-direction: column;
	gap: .9rem;
	padding-left: clamp(1.5rem, 3vw, 2.5rem);
	border-left: 1px solid var(--rule-hard);
}

.process-cta__trust-item {
	display: flex;
	align-items: center;
	gap: .65rem;
}

.process-cta__trust-icon {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--chalk);
	border: 1px solid var(--rule);
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.process-cta__trust-icon svg {
	display: block;
	width: 14px;
	height: 14px;
}

.process-cta__trust-body strong {
	display: block;
	font-size: .85rem;
	font-weight: 600;
	color: var(--ink);
}

.process-cta__trust-body span {
	display: block;
	font-size: var(--t-xs);
	color: var(--slate);
	margin-top: .1rem;
}

@media (max-width: 860px) {
	.process-cta {
		grid-template-columns: 1fr;
	}
	.process-cta__trust {
		border-left: none;
		border-top: 1px solid var(--rule-hard);
		padding-left: 0;
		padding-top: 1.25rem;
	}
}

@media (max-width: 560px) {
	.process-cta__main {
		flex-direction: column;
	}
	.process-cta__main .btn {
		width: 100%;
		justify-content: center;
	}
}

/* ============================================================ STAGE CARDS v2 (soft skeuomorphism)
   A distinct namespace from .stage/.stages above, which template-parts/home/process.php
   still uses for its own (unrelated) step cards — this only touches the
   homepage "Find support by stage" grid. Each card is lifted off the paper
   with a dual light/dark shadow (--shadow-soft) rather than a flat drop
   shadow, so it reads as gently raised rather than just "boxed". */
.stage-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--s5);
}

.stage-card {
	background: linear-gradient(165deg, var(--paper-hi), var(--chalk) 55%);
	border: 1px solid var(--rule);
	border-radius: var(--r-card);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.stage-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft-hover);
	border-color: var(--rule-hard);
}

.stage-card--featured {
	border: 1.5px solid var(--marker);
}

.stage-card__media {
	aspect-ratio: 4 / 3;
	background: var(--paper-2);
	position: relative;
}

.stage-card__media img,
.stage-card__media .slot {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stage-card__age {
	position: absolute;
	top: .6rem;
	left: .6rem;
	max-width: calc(100% - 1.2rem);
	background: rgba(14, 26, 43, .88);
	color: var(--on-ink-hi);
	font-size: .66rem;
	font-weight: 600;
	line-height: 1.3;
	padding: .2rem .5rem;
	border-radius: var(--r-chip);
	backdrop-filter: blur(4px);
	z-index: 2;
}

/* When a card is also featured, the badge takes the top-left corner and
   the age pill drops below it — long age ranges (e.g. "Ages 14–16 · Years
   10–11") have nowhere to collide with the badge that way. */
.stage-card__badge + .stage-card__age {
	top: 2.1rem;
}

.stage-card__badge {
	position: absolute;
	top: .6rem;
	left: .6rem;
	z-index: 3;
	background: var(--marker);
	color: var(--ink);
	font-size: .6rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1.3;
	padding: .22rem .55rem;
	border-radius: var(--r-chip);
	box-shadow: 0 2px 0 0 var(--marker-deep);
}

.stage-card__body {
	padding: 1.15rem 1.15rem 1.3rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.stage-card h3 {
	font-size: var(--t-h3);
	font-weight: 600;
}

.stage-card__fear {
	margin-top: .5rem;
	font-size: var(--t-sm);
	color: var(--slate);
	line-height: 1.55;
}

.stage-card__list {
	margin-top: 1rem;
	background: var(--paper-3);
	border-radius: var(--r-card);
	padding: .65rem .8rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	box-shadow: var(--shadow-inset-soft);
}

.stage-card__list li {
	display: flex;
	align-items: center;
	gap: .55rem;
	font-size: .82rem;
	font-weight: 500;
	color: var(--ink);
}

.stage-card__list-icon {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	display: grid;
	place-items: center;
	background: var(--marker-wash);
	color: var(--marker-text);
}

.stage-card__list-icon svg {
	width: 13px;
	height: 13px;
}

.stage-card__link {
	margin-top: auto;
	padding-top: 1rem;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.stage-card__link span {
	border-bottom: 2px solid var(--marker);
	padding-bottom: 1px;
}

.stage-card__link svg {
	transition: transform .18s ease;
}

.stage-card:hover .stage-card__link svg {
	transform: translateX(3px);
}

@media (max-width: 980px) {
	.stage-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.stage-grid {
		grid-template-columns: 1fr;
	}
}

/* ---- "Not sure which support" banner ---- */
.stage-banner {
	margin-top: clamp(2rem, 4vw, 3rem);
	background: linear-gradient(155deg, var(--ink-soft), var(--ink) 60%);
	color: var(--on-ink-hi);
	border-radius: var(--r-frame);
	padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.75rem, 4vw, 3rem);
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 3vw, 2rem);
	position: relative;
	overflow: hidden;
}

.stage-banner::before {
	content: "";
	position: absolute;
	right: -70px;
	top: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 181, 61, .2), transparent 68%);
}

.stage-banner::after {
	content: "";
	position: absolute;
	left: 12%;
	bottom: -110px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--on-ink-fill), transparent 70%);
}

.stage-banner__icon {
	flex: none;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--on-ink-fill);
	border: 1.5px solid var(--on-ink-line-2);
	display: grid;
	place-items: center;
	color: var(--marker);
	position: relative;
}

.stage-banner__icon svg {
	display: block;
}

.stage-banner__text {
	flex: 1;
	min-width: 240px;
	position: relative;
}

.stage-banner__text h3 {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.25;
}

.stage-banner__accent {
	color: var(--marker);
}

.stage-banner__text p {
	margin-top: .45rem;
	color: var(--on-ink-2);
	font-size: var(--t-sm);
}

.stage-banner__checks {
	margin-top: .9rem;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
}

.stage-banner__checks li {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .85rem;
	font-weight: 500;
	color: var(--on-ink);
}

.stage-banner__check-icon {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--marker);
	color: var(--ink);
	display: grid;
	place-items: center;
}

.stage-banner__check-icon svg {
	width: 10px;
	height: 10px;
}

.stage-banner__divider {
	flex: none;
	align-self: stretch;
	width: 1px;
	background: var(--on-ink-line);
}

.stage-banner__act {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: .6rem;
	position: relative;
}

.stage-banner__act .btn {
	padding: 1.05rem 1.9rem;
	font-size: 1rem;
}

.stage-banner__note {
	font-size: var(--t-xs);
	color: var(--on-ink-3);
}

/* Handwritten margin note — a single decorative flourish, the one place
   on this section the "hand" typeface is used. A real flex item (not
   absolutely positioned) so it gets its own reserved space instead of
   overlapping the button. Hidden once the layout stacks: no clear gap
   left for it to sit in. */
.stage-banner__annotation {
	flex: none;
	width: 128px;
	margin: 0;
	font-family: var(--hand);
	font-size: 1.2rem;
	line-height: 1.25;
	font-weight: 600;
	color: var(--on-ink-hi);
	transform: rotate(2deg);
	text-align: left;
}

@media (max-width: 900px) {
	.stage-banner__annotation {
		display: none;
	}
}

@media (max-width: 760px) {
	.stage-banner {
		flex-direction: column;
		align-items: flex-start;
	}
	.stage-banner__divider {
		display: none;
	}
	.stage-banner__act {
		align-items: flex-start;
		width: 100%;
	}
	.stage-banner__act .btn {
		width: 100%;
		justify-content: center;
	}
}

/* ---- Trust badges row ---- */
.stage-trust {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--s5);
}

.stage-trust__item {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.stage-trust__icon {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--marker-wash);
	color: var(--marker-text);
}

.stage-trust__icon svg {
	display: block;
}

.stage-trust__body strong {
	display: block;
	font-size: .9rem;
	font-weight: 600;
	color: var(--ink);
}

.stage-trust__body span {
	display: block;
	font-size: var(--t-xs);
	color: var(--slate);
	margin-top: .15rem;
	line-height: 1.4;
}

@media (max-width: 760px) {
	.stage-trust {
		grid-template-columns: 1fr 1fr;
	}
}

/* ============================================================ MATCH FORM
   The section itself carries a full-bleed background photo (.match__photo);
   .match and everything in it sits above via z-index. */
.band--ink#consultation {
	position: relative;
	overflow: hidden;
}

.match__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.match__photo img,
.match__photo .slot {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(.25) contrast(1.05);
}

.match__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, var(--ink) 0%, var(--ink) 38%, rgba(14, 26, 43, .55) 60%, rgba(14, 26, 43, .88) 100%),
		linear-gradient(0deg, var(--ink) 0%, transparent 30%);
}

.match {
	display: grid;
	grid-template-columns: .95fr 1.05fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	position: relative;
	z-index: 1;
}

.match__heading {
	font-size: var(--t-h2);
}

.match__heading-accent {
	color: var(--marker);
}

.match__lead {
	margin-top: var(--s4);
	color: var(--on-ink-2);
	font-size: var(--t-lead);
	max-width: 46ch;
	line-height: 1.6;
}

/* Three-step overview — a dedicated namespace from .steps-after below,
   which sen.php also uses for its own (unrelated) benefits list. */
.match-steps {
	list-style: none;
	margin: var(--s6) 0 0;
	padding: 0;
	display: grid;
	gap: 1.1rem;
}

.match-steps li {
	display: flex;
	gap: .9rem;
	align-items: flex-start;
}

.match-steps__icon {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--on-ink-fill);
	border: 1.5px solid var(--on-ink-line-2);
	color: var(--marker);
	display: grid;
	place-items: center;
}

.match-steps__icon svg {
	display: block;
}

.match-steps b {
	color: var(--on-ink-hi);
	font-weight: 600;
	display: block;
	font-size: var(--t-body);
	margin-bottom: .2rem;
}

.match-steps li div {
	font-size: var(--t-sm);
	color: var(--on-ink-2);
	line-height: 1.55;
}

/* "How it works" mini overview panel */
.match-flow {
	margin-top: var(--s6);
	border: 1px solid var(--on-ink-line);
	border-radius: var(--r-frame);
	padding: 1.25rem 1.4rem;
	background: var(--on-ink-fill);
}

.match-flow h4 {
	font-family: var(--body);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--on-ink-hi);
	margin-bottom: 1rem;
}

.match-flow__row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.1rem 1rem;
}

.match-flow__step {
	display: flex;
	flex-direction: column;
	gap: .1rem;
}

.match-flow__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ink-soft);
	color: var(--marker);
	display: grid;
	place-items: center;
	margin-bottom: .5rem;
}

.match-flow__icon svg {
	display: block;
}

.match-flow__step strong {
	font-size: .85rem;
	font-weight: 600;
	color: var(--on-ink-hi);
}

.match-flow__step span {
	font-size: .74rem;
	color: var(--on-ink-3);
	margin-top: .1rem;
	line-height: 1.35;
}

/* Handwritten margin note */
.match__annotation {
	margin: var(--s6) 0 0;
	font-family: var(--hand);
	font-size: 1.35rem;
	line-height: 1.3;
	font-weight: 600;
	color: var(--on-ink-hi);
	transform: rotate(-1deg);
	border-bottom: 2px solid var(--marker);
	display: inline-block;
	padding-bottom: .1rem;
}

/* ---- The form card itself: a light card floating over the dark/photo band ---- */
.match__form {
	background: var(--chalk);
	border-radius: var(--r-frame);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-lift);
}

.match__form-top {
	display: flex;
	justify-content: flex-end;
	margin-bottom: .9rem;
}

.match__badge {
	font-size: .76rem;
	font-weight: 600;
	color: var(--slate);
}

.match__form h3 {
	font-size: 1.3rem;
	font-weight: 600;
}

.match__form-intro {
	margin-top: .35rem;
	color: var(--slate);
	font-size: var(--t-sm);
	margin-bottom: 1.4rem;
}

.field {
	margin-bottom: 1.25rem;
}

.field label {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .92rem;
	font-weight: 600;
	margin-bottom: .6rem;
	color: var(--ink);
}

.field__icon {
	flex: none;
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.field__icon svg {
	display: block;
}

.field__optional {
	font-weight: 400;
	color: var(--slate-dim);
	font-size: .8rem;
}

.field .opts {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.opts--stacked .opt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .1rem;
	min-width: 90px;
}

.opt {
	padding: .55rem .9rem;
	border-radius: var(--r-card);
	border: 1.5px solid var(--rule-hard);
	background: var(--chalk);
	color: var(--ink);
	font-size: .875rem;
	font-weight: 500;
	cursor: pointer;
	transition: .15s;
	text-align: left;
}

.opt__sub {
	font-size: .74rem;
	font-weight: 400;
	color: var(--slate);
}

.opt:hover {
	border-color: var(--marker);
}

.opt[aria-pressed="true"] {
	background: var(--marker-wash);
	border-color: var(--marker);
	color: var(--marker-text);
}

.opt[aria-pressed="true"] .opt__sub {
	color: var(--marker-text);
}

.field textarea {
	width: 100%;
	background: var(--paper);
	border: 1.5px solid var(--rule-hard);
	border-radius: 12px;
	color: var(--ink);
	padding: .8rem .9rem;
	font: inherit;
	font-size: .94rem;
	resize: vertical;
	min-height: 88px;
}

.field textarea::placeholder {
	color: var(--slate-dim);
}

.field__count {
	display: block;
	text-align: right;
	font-size: .74rem;
	color: var(--slate-dim);
	margin-top: .3rem;
}

/* File upload */
.upload {
	position: relative;
	display: flex;
	align-items: center;
	gap: .75rem;
	flex-wrap: wrap;
	border: 1.5px dashed var(--rule-hard);
	border-radius: var(--r-card);
	padding: .9rem 1rem;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.upload:hover {
	border-color: var(--marker);
	background: var(--marker-wash);
}

.upload__input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.upload__icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--paper-2);
	color: var(--slate);
	display: grid;
	place-items: center;
}

.upload__text {
	display: flex;
	flex-direction: column;
	gap: .1rem;
}

.upload__text strong {
	font-size: .88rem;
	font-weight: 600;
	color: var(--ink);
}

.upload__text span {
	font-size: .76rem;
	color: var(--slate);
}

.upload__note {
	font-size: .76rem;
	color: var(--slate-dim);
	margin-left: auto;
}

.match__submit {
	width: 100%;
	justify-content: center;
	margin-top: .5rem;
	padding: 1rem 1.5rem;
}

.match__trust {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rule);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.match__trust-item {
	display: flex;
	gap: .5rem;
	align-items: flex-start;
}

.match__trust-icon {
	flex: none;
	color: var(--marker-text);
	margin-top: .1rem;
}

.match__trust-icon svg {
	display: block;
}

.match__trust-item strong {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.35;
}

.match__trust-item span {
	display: block;
	font-size: .72rem;
	color: var(--slate);
	margin-top: .1rem;
	line-height: 1.3;
}

@media (max-width: 700px) {
	.match__trust {
		grid-template-columns: 1fr;
	}
}

.steps-after {
	list-style: none;
	margin: var(--s5) 0 0;
	padding: 0;
	display: grid;
	gap: .85rem;
}

.steps-after li {
	display: flex;
	gap: .8rem;
	align-items: flex-start;
	font-size: var(--t-sm);
	color: var(--on-ink-2);
}

.steps-after b {
	color: var(--on-ink-hi);
	font-weight: 600;
	display: block;
	font-size: var(--t-body);
	margin-bottom: .1rem;
}

.steps-after .n {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--on-ink-fill);
	border: 1.5px solid var(--on-ink-line-2);
	color: var(--marker);
	display: grid;
	place-items: center;
}

.steps-after .n svg {
	display: block;
}

@media (max-width: 900px) {
	.match {
		grid-template-columns: 1fr;
	}
}

/* ============================================================ EXAM BOARDS */
.boards-layout {
	display: flex;
	flex-direction: column;
	gap: var(--s5);
}

.boards-group-label {
	font-size: var(--t-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--slate);
	margin-bottom: .85rem;
}

.boards {
	display: grid;
	gap: var(--s4);
}

.boards--four {
	grid-template-columns: repeat(4, 1fr);
}

.boards--entrance {
	grid-template-columns: 1fr;
}

@media (max-width: 980px) {
	.boards--four {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 540px) {
	.boards--four {
		grid-template-columns: 1fr;
	}
}

.board-card {
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: var(--r-card);
	box-shadow: var(--shadow-card);
	padding: 1.25rem 1.15rem 1.3rem;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.board-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lift);
	border-color: var(--rule-hard);
}

.board-card__icon {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--marker-wash);
	color: var(--marker-text);
	display: grid;
	place-items: center;
	transition: transform .25s ease;
}

.board-card__icon svg {
	display: block;
}

.board-card:hover .board-card__icon {
	transform: scale(1.08) rotate(-4deg);
}

.board-card__name {
	margin-top: .95rem;
	font-family: var(--display);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -.03em;
}

.board-card__desc {
	font-size: var(--t-sm);
	color: var(--slate);
	margin-top: .45rem;
	line-height: 1.55;
}

.board-card__tag {
	margin-top: auto;
	padding-top: .9rem;
}

.board-card__tag-inner {
	display: flex;
	align-items: center;
	gap: .55rem;
	background: var(--marker-wash);
	border-radius: var(--r-card);
	padding: .6rem .75rem;
	font-size: .82rem;
	font-weight: 500;
	color: var(--ink);
	line-height: 1.4;
}

.board-card__tag-icon {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--marker);
	color: var(--ink);
	display: grid;
	place-items: center;
}

.board-card__tag-icon svg {
	width: 11px;
	height: 11px;
	display: block;
}

/* ---- 11+ / entrance providers: a wide horizontal card ---- */
.board-card--entrance {
	flex-direction: row;
	align-items: center;
	gap: 1.25rem;
	padding: 1.15rem 1.35rem;
}

.board-card--entrance .board-card__body {
	flex: 1;
}

.board-card--entrance .board-card__head {
	display: flex;
	align-items: center;
	gap: .7rem;
}

.board-card--entrance .board-card__name {
	margin-top: 0;
}

.board-card--entrance .board-card__desc {
	margin-top: .35rem;
}

.board-card--entrance .board-card__tag {
	margin-top: 0;
	padding-top: 0;
	flex: none;
}

@media (max-width: 700px) {
	.board-card--entrance {
		flex-direction: column;
		align-items: flex-start;
	}
	.board-card--entrance .board-card__tag {
		padding-top: .9rem;
	}
}

/* A small extra flourish on top of the generic site-wide scroll-reveal:
   once reveal.js marks this group's block .is-visible, each card inside
   it plays its own quick staggered entrance. Keyed off the class the
   generic system already applies — never add .reveal by hand (see
   components.css), this only reacts to it. */
@media (prefers-reduced-motion: no-preference) {
	.js .board-card {
		opacity: 0;
		transform: translateY(16px);
	}
	.js .reveal.is-visible .board-card {
		animation: tc-board-card-in .55s cubic-bezier(.2, .7, .3, 1) forwards;
	}
	.js .reveal.is-visible .board-card:nth-child(1) { animation-delay: .05s; }
	.js .reveal.is-visible .board-card:nth-child(2) { animation-delay: .12s; }
	.js .reveal.is-visible .board-card:nth-child(3) { animation-delay: .19s; }
	.js .reveal.is-visible .board-card:nth-child(4) { animation-delay: .26s; }
}

@keyframes tc-board-card-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ============================================================ SEN */
.sen {
	display: grid;
	grid-template-columns: .95fr 1.05fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.sen__accent {
	color: var(--marker);
}

.sen__needs {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: var(--s5);
}

.sen__needs .chip {
	background: rgba(255, 255, 255, .07);
	border-color: rgba(255, 255, 255, .18);
	color: var(--on-ink-2);
}

/* ---- Photo column: the photo plus floating cards around it ---- */
.sen__visual {
	position: relative;
}

.sen__img {
	position: relative;
}

.sen__photo {
	width: 90%;
	aspect-ratio: 4/3.35;
	border-radius: var(--r-frame);
	overflow: hidden;
	background: var(--paper-2);
	border: 1px solid rgba(255, 255, 255, .14);
}

.sen__photo img,
.sen__photo .slot {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sen__quote,
.sen__tutors,
.sen__approach {
	box-shadow: var(--shadow-float);
}

.sen__quote {
	position: absolute;
	top: -1.75rem;
	right: -1.5rem;
	width: min(46%, 220px);
	background: var(--chalk);
	border-top: 3px solid var(--marker);
	border-radius: var(--r-card);
	padding: .9rem 1.1rem;
	transform: rotate(-2deg);
	z-index: 2;
}

.sen__quote-icon {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--marker-wash);
	color: var(--marker-text);
	margin-bottom: .4rem;
}

.sen__quote-icon svg {
	display: block;
	width: 12px;
	height: 12px;
}

.sen__quote p {
	font-size: .82rem;
	color: var(--ink);
	line-height: 1.42;
}

.sen__quote-attr {
	display: block;
	margin-top: .4rem;
	font-size: var(--t-xs);
	font-weight: 600;
	color: var(--slate);
}

.sen__tutors {
	position: absolute;
	left: -.5rem;
	bottom: -2rem;
	display: flex;
	align-items: center;
	gap: .75rem;
	background: var(--chalk);
	border-radius: var(--r-card);
	padding: .85rem 1.1rem;
	width: min(58%, 240px);
	transform: rotate(-1.5deg);
	z-index: 2;
}

.sen__tutors > div {
	min-width: 0;
}

.sen__tutors-icon {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--marker-wash);
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.sen__tutors-icon svg {
	display: block;
}

.sen__tutors strong {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	color: var(--ink);
}

.sen__tutors span {
	display: block;
	font-size: var(--t-xs);
	color: var(--slate);
	margin-top: .1rem;
}

.sen__approach {
	position: absolute;
	right: -1rem;
	bottom: -2.75rem;
	width: min(46%, 200px);
	background: var(--chalk);
	border-radius: var(--r-card);
	padding: .85rem .95rem;
	transform: rotate(2deg);
	z-index: 3;
}

.sen__approach h4 {
	font-size: .88rem;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: .5rem;
}

.sen__approach ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: .4rem;
}

.sen__approach li {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .75rem;
	font-weight: 500;
	color: var(--ink);
}

.sen__approach-icon {
	flex: none;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--marker-wash);
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.sen__approach-icon svg {
	width: 11px;
	height: 11px;
	display: block;
}

.sen__annotation {
	margin-top: 4.25rem;
	font-family: var(--hand);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--on-ink-hi);
	border-bottom: 2px solid var(--marker);
	display: inline-block;
	padding-bottom: 2px;
	transform: rotate(-1deg);
	align-self: flex-start;
}

@media (max-width: 1180px) {
	.sen {
		grid-template-columns: 1fr;
	}
	.sen__visual {
		margin-top: 1rem;
	}
}

@media (max-width: 560px) {
	.sen__quote {
		position: static;
		width: auto;
		margin-bottom: 1rem;
		transform: none;
	}
	.sen__tutors {
		position: static;
		margin-top: 1rem;
		transform: none;
	}
	.sen__approach {
		position: static;
		width: auto;
		margin-top: 1rem;
		transform: none;
	}
	.sen__annotation {
		margin-top: 1.25rem;
	}
}

/* ---- Trust row beneath the SEN grid ---- */
.sen-trust {
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
	padding-top: clamp(1.75rem, 3vw, 2.25rem);
	border-top: 1px solid var(--on-ink-line);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--s5);
}

.sen-trust__item {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.sen-trust__icon {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--on-ink-fill);
	border: 1.5px solid var(--on-ink-line-2);
	color: var(--marker);
	display: grid;
	place-items: center;
}

.sen-trust__icon svg {
	display: block;
}

.sen-trust__body strong {
	display: block;
	font-size: .9rem;
	font-weight: 600;
	color: var(--on-ink-hi);
}

.sen-trust__body span {
	display: block;
	font-size: var(--t-xs);
	color: var(--on-ink-3);
	margin-top: .15rem;
	line-height: 1.4;
}

@media (max-width: 760px) {
	.sen-trust {
		grid-template-columns: 1fr 1fr;
	}
}

/* ============================================================ WAYS TO LEARN
   5 cards + an aside (testimonial + trust strip) + a decorative flourish,
   all as siblings in one grid so the aside/decor can span columns. */
.modes {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s5);
}

/* Decorative handwritten flourish — hidden below 1080px, where the
   .mode-decor { display:flex } media query below turns it on. */
.mode-decor {
	display: none;
	grid-column: span 1;
	align-self: end;
	justify-self: end;
	text-align: right;
	margin: 0 0 .5rem;
	font-family: var(--hand);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
	border-bottom: 2px solid var(--marker);
	padding-bottom: 2px;
	transform: rotate(-2deg);
	max-width: 15ch;
}

@media (min-width: 680px) {
	.modes {
		grid-template-columns: 1fr 1fr;
	}
	.mode-aside {
		grid-column: span 2;
	}
}

@media (min-width: 1080px) {
	.modes {
		grid-template-columns: repeat(4, 1fr);
	}
	.mode-aside {
		grid-column: span 2;
	}
	.mode-decor {
		display: flex;
	}
}

.mode-card {
	position: relative;
	min-width: 0;
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: var(--r-card);
	box-shadow: var(--shadow-card);
	padding: 1.25rem 1.25rem 1.4rem;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease, border-color .2s ease;
}

/* "Dock" hover — the card rises and grows slightly, stepping in front of
   its neighbours rather than just nudging up in place. */
.mode-card:hover {
	transform: translateY(-10px) scale(1.045);
	box-shadow: var(--shadow-lift);
	border-color: var(--rule-hard);
	z-index: 5;
}

.mode-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: .75rem;
	margin-bottom: .9rem;
}

.mode-card__icon {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--marker-wash);
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.mode-card__icon svg {
	display: block;
}

.mode-card__badge {
	flex: none;
	background: var(--marker);
	color: var(--ink);
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1.3;
	padding: .3rem .6rem;
	border-radius: var(--r-chip);
	box-shadow: 0 2px 0 0 var(--marker-deep);
}

.mode-card h3 {
	font-size: 1.1rem;
	font-weight: 600;
}

.mode-card > p {
	font-size: var(--t-sm);
	color: var(--slate);
	margin-top: .45rem;
	line-height: 1.55;
}

.mode-card__list {
	margin-top: 1rem;
	background: var(--paper-3);
	border-radius: var(--r-card);
	padding: .65rem .8rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	box-shadow: var(--shadow-inset-soft);
}

.mode-card__list li {
	display: flex;
	align-items: center;
	gap: .55rem;
	font-size: .82rem;
	font-weight: 500;
	color: var(--ink);
}

.mode-card__list-icon {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	display: grid;
	place-items: center;
	background: var(--marker-wash);
	color: var(--marker-text);
}

.mode-card__list-icon svg {
	width: 11px;
	height: 11px;
}

.mode-card__cta {
	margin-top: auto;
	padding-top: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
}

.mode-card__cta-text {
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
}

.mode-card:hover .mode-card__cta-text {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mode-card__go {
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--marker-wash);
	color: var(--marker-text);
	display: grid;
	place-items: center;
	transition: transform .18s ease;
}

.mode-card__go svg {
	width: 14px;
	height: 14px;
	display: block;
}

.mode-card:hover .mode-card__go {
	transform: translateX(3px);
}

/* ---- Testimonial + trust strip aside ---- */
.mode-aside {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(1.5rem, 3vw, 2rem);
	padding: .25rem 0 .25rem clamp(0px, 1.5vw, 1.25rem);
}

.mode-aside__quote {
	display: flex;
	gap: 1rem;
}

.mode-aside__quote-icon {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--marker-wash);
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.mode-aside__quote-icon svg {
	display: block;
}

.mode-aside__quote blockquote {
	margin: 0;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.5;
	font-style: italic;
	color: var(--ink);
}

.mode-aside__quote cite {
	display: block;
	margin-top: .85rem;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--slate);
	font-style: normal;
}

.mode-aside__trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s4);
}

.mode-aside__trust li {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	padding-left: 1rem;
	border-left: 1px solid var(--rule);
}

.mode-aside__trust li:first-child {
	padding-left: 0;
	border-left: 0;
}

.mode-aside__trust-icon {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--marker-wash);
	color: var(--marker-text);
	display: grid;
	place-items: center;
	margin-top: .1rem;
}

.mode-aside__trust-icon svg {
	display: block;
	width: 15px;
	height: 15px;
}

.mode-aside__trust-body strong {
	display: block;
	font-size: .85rem;
	font-weight: 600;
	color: var(--ink);
}

.mode-aside__trust-body span {
	display: block;
	font-size: var(--t-xs);
	color: var(--slate);
	margin-top: .1rem;
	line-height: 1.4;
}

@media (max-width: 560px) {
	.mode-aside__trust {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.mode-aside__trust li {
		padding-left: 0;
		border-left: 0;
	}
}


/* ============================================================ LOCAL */
.local {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.local__visual {
	position: relative;
}

.local__blob {
	position: absolute;
	left: -8%;
	top: -8%;
	width: 60%;
	aspect-ratio: 1;
	background: var(--marker-wash);
	border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%;
	filter: blur(2px);
	z-index: 0;
}

.local__frame {
	position: relative;
	z-index: 1;
	aspect-ratio: 5/4;
	border-radius: var(--r-frame);
	overflow: hidden;
	background: var(--paper-2);
	border: 1px solid var(--rule);
	box-shadow: var(--shadow-lift);
	margin-left: clamp(0px, 4vw, 40px);
}

.local__frame img,
.local__frame .slot {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.local__note {
	position: absolute;
	z-index: 2;
	right: -.5rem;
	bottom: -1rem;
	width: min(190px, 52%);
	margin: 0;
	padding: .9rem 1rem .8rem;
	background: var(--paper-3);
	border: 1px solid var(--rule);
	border-radius: var(--r-card);
	box-shadow: var(--shadow-lift);
	font-family: var(--hand);
	font-size: 1.15rem;
	line-height: 1.25;
	font-weight: 600;
	color: var(--ink);
	transform: rotate(3deg);
}

.local-proof {
	list-style: none;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s4);
}

.local-proof li {
	display: flex;
	align-items: center;
	gap: .65rem;
	font-size: .82rem;
	line-height: 1.4;
	color: var(--slate);
	padding-left: 1rem;
	border-left: 1px solid var(--rule);
}

.local-proof li:first-child {
	padding-left: 0;
	border-left: 0;
}

.local-proof__icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--marker-wash);
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.local-proof__icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.local__accent {
	color: var(--marker-text);
}

/* The areas we cover, as tags rather than cards. They used to be raised,
   arrowed cards that all pointed at the same #consultation anchor — they
   looked like six separate destinations and were in fact one. A tag reads as
   a label, which is what each of these is. */
.local-areas {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: var(--s5);
	padding: 0;
	list-style: none;
}

.local-area {
	display: inline-flex;
	align-items: baseline;
	gap: .4rem;
	padding: .45rem .8rem;
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: var(--r-chip);
}

.local-area strong {
	font-size: var(--t-sm);
	font-weight: 700;
	color: var(--ink);
}

.local-area span {
	font-size: var(--t-xs);
	color: var(--slate);
}

/* Separates the place from what we do there without needing punctuation
   in the markup. */
.local-area span::before {
	content: '·';
	margin-right: .4rem;
	color: var(--rule-hard);
}

.local-wide {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	display: flex;
	align-items: flex-start;
	gap: clamp(1rem, 2.4vw, 1.6rem);
	padding: clamp(1.25rem, 2.4vw, 1.6rem);
	background: var(--paper-3);
	border: 1px solid var(--rule);
	border-radius: var(--r-frame);
}

.local-wide__icon {
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--chalk);
	border: 1px solid var(--rule);
	color: var(--marker-text);
	display: grid;
	place-items: center;
}

.local-wide__icon svg {
	display: block;
}

.local-wide__rule {
	flex: none;
	align-self: stretch;
	width: 1px;
	background: var(--rule-hard);
}

.local-wide h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: .4rem;
}

.local-wide p {
	font-size: var(--t-sm);
	color: var(--slate);
	line-height: 1.55;
	margin-bottom: .75rem;
}

.local-wide a {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: var(--t-sm);
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
}

.local-wide a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.local-wide a svg {
	width: 14px;
	height: 14px;
	transition: transform .16s ease;
}

.local-wide a:hover svg {
	transform: translateX(3px);
}

@media (max-width: 900px) {
	.local {
		grid-template-columns: 1fr;
	}
	.local__frame {
		margin-left: 0;
	}
}

@media (max-width: 640px) {
	.local__note {
		display: none;
	}
	.local__blob {
		display: none;
	}
	.local-proof {
		grid-template-columns: 1fr;
		gap: .9rem;
	}
	.local-proof li {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 560px) {
	.local-wide {
		flex-direction: column;
	}
	.local-wide__rule {
		display: none;
	}
}


/* ============================================================ TUTORS
   Structure and spacing ported 1:1 from the "Meet our tutors" design
   file, redrawn entirely with this theme's own tokens (--ink/--marker/
   --grade/--slate family) — no new colours, gradients or shadows. */
.tutors-section {
	overflow: clip;
}

.tutors-head {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: 1fr;
	align-items: center;
	margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

@media (min-width: 1020px) {
	.tutors-head {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3rem;
	}
}

.tutors-eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 .875rem;
	font-size: var(--t-xs);
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--slate-dim);
}

.tutors-eyebrow::before {
	content: "";
	flex: none;
	width: 48px;
	height: 2px;
	border-radius: 2px;
	background: var(--marker);
}

.tutors-title {
	margin: 0 0 .875rem;
	font-size: clamp(2.125rem, 4.2vw, 3.375rem);
	line-height: 1.04;
	letter-spacing: -.035em;
	font-weight: 800;
	color: var(--ink);
	text-wrap: balance;
}

.tutors-title em {
	font-style: normal;
	color: var(--marker-text);
}

.tutors-lede {
	margin: 0;
	max-width: 66ch;
	font-size: clamp(1rem, 1.35vw, 1.1875rem);
	line-height: 1.55;
	color: var(--slate);
	text-wrap: pretty;
}

.tutors-cta-box {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .875rem;
	text-align: center;
	padding-top: .5rem;
}

@media (max-width: 1019px) {
	.tutors-cta-box {
		align-items: flex-start;
		text-align: left;
	}
}

.tutors-cta-box p {
	margin: 0;
	max-width: 32ch;
	font-size: var(--t-sm);
	line-height: 1.55;
	color: var(--slate-dim);
}


/* Route into the full ranked directory at /tutors/ */
.tutors-browse {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: var(--t-sm);
	font-weight: 700;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.tutors-browse:hover {
	color: var(--marker-text);
}

.tutors-browse svg {
	transition: transform .18s ease;
}

.tutors-browse:hover svg {
	transform: translateX(3px);
}

.tutors-burst {
	position: absolute;
	right: -44px;
	top: -22px;
	color: var(--grade);
}

@media (max-width: 1019px) {
	.tutors-burst {
		display: none;
	}
}

.tutors-btn {
	min-height: 3.25rem;
	padding: .875rem 1.75rem;
	font-size: 1.0625rem;
}

/* ============================================================ TUTOR CARDS */
.tutors-cards-wrap {
	position: relative;
}

.tutors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.375rem;
}

.tcard {
	position: relative;
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-card);
	transition: transform .2s var(--tc-ease), box-shadow .2s var(--tc-ease), border-color .2s ease;
}

.tcard:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lift);
	border-color: var(--rule-hard);
}

.tcard__img {
	position: relative;
	margin: 0;
	aspect-ratio: 5/3;
	overflow: hidden;
	background: var(--paper-2);
}

.tcard__img img,
.tcard__img .slot {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--tc-ease);
}

.tcard:hover .tcard__img img {
	transform: scale(1.035);
}

.tcard__img::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 28%;
	background: linear-gradient(180deg, transparent, var(--on-ink-fill));
	pointer-events: none;
}

.tcard__verified {
	position: absolute;
	left: 1rem;
	top: 1rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	padding: .5rem .85rem .5rem .55rem;
	border-radius: var(--r-chip);
	font-size: var(--t-sm);
	font-weight: 600;
	line-height: 1;
	color: var(--ink);
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(6px);
	box-shadow: 0 1px 2px rgba(14, 26, 43, .1), 0 6px 14px -8px rgba(14, 26, 43, .35);
}

.tcard__check {
	flex: none;
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--chalk);
	background: var(--grade);
}

.tcard__check svg {
	width: 12px;
	height: 12px;
}

.tcard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.375rem 1.375rem 1.25rem;
}

.tcard h3 {
	margin: 0 0 .25rem;
	font-size: 1.5rem;
	line-height: 1.2;
	letter-spacing: -.02em;
	font-weight: 800;
	color: var(--ink);
}

.tcard__role {
	margin: 0 0 .875rem;
	font-size: var(--t-body);
	line-height: 1.4;
	color: var(--slate-dim);
}

.tcard__tag {
	margin: 0 0 1.125rem;
	font-size: var(--t-body);
	line-height: 1.55;
	color: var(--slate);
	text-wrap: pretty;
}

.tcard__chips {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.tcard__chips li {
	padding: .44rem .875rem;
	border-radius: var(--r-chip);
	font-size: var(--t-sm);
	font-weight: 500;
	line-height: 1.2;
	color: var(--slate);
	background: var(--paper-3);
}

.tcard__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .625rem;
	margin-top: auto;
	padding-top: 1.125rem;
	border-top: 1px solid var(--rule);
}

.tcard__rate {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

.tcard__rate svg {
	flex: none;
	color: var(--ink);
}

.tcard__viewbtn {
	flex-shrink: 0;
	white-space: nowrap;
}

@media (max-width: 980px) {
	.tutors {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.tutors {
		grid-template-columns: 1fr;
	}
}

/* ============================================================ TUTORS SCRIPT FLOURISH
   Handwritten margin aside — the one approved use of --hand per the
   type-system rule in tokens.css. Only shown on very wide viewports,
   matching the reference layout, since it needs clear page margin. */
.tutors-script {
	position: absolute;
	z-index: 2;
	right: -168px;
	top: 34px;
	width: 150px;
	pointer-events: none;
	transform: rotate(-12deg);
	display: none;
}

@media (min-width: 1680px) {
	.tutors-script {
		display: block;
	}
}

.tutors-script p {
	margin: 0;
	font-family: var(--hand);
	font-size: 1.5rem;
	line-height: 1.1;
	color: var(--marker-text);
	text-shadow: 0 0 6px rgba(255, 255, 255, .95), 0 0 2px #fff;
}

.tutors-script svg {
	display: block;
	width: 88px;
	height: 14px;
	margin-top: .4rem;
	color: var(--grade);
}

/* ============================================================ TUTORS TRUST BAND */
.tutors-band {
	margin-top: clamp(1.75rem, 3.5vw, 2.25rem);
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	padding: clamp(1.375rem, 2.6vw, 1.75rem) clamp(1.25rem, 2.6vw, 2rem);
	border-radius: 22px;
	background: var(--grade-wash);
	border: 1px solid var(--grade-line);
}

@media (min-width: 1080px) {
	.tutors-band {
		grid-template-columns: minmax(0, 1.35fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
		align-items: center;
		gap: clamp(1.5rem, 3vw, 2.75rem);
	}
}

.tutors-band__vr {
	display: none;
}

@media (min-width: 1080px) {
	.tutors-band__vr {
		display: block;
		align-self: stretch;
		background: var(--grade-line);
	}
}

.tutors-band__pledge {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 1.875rem);
}

.tutors-band__shield {
	flex: none;
	width: 88px;
	height: 88px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--ink);
	background: var(--grade-line);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.tutors-band__shield svg {
	width: 40px;
	height: 40px;
	color: var(--grade);
}

.tutors-band__pledge h3 {
	margin: 0 0 .5rem;
	font-size: 1.1875rem;
	line-height: 1.3;
	letter-spacing: -.012em;
	font-weight: 800;
	color: var(--ink);
	text-wrap: balance;
}

.tutors-band__pledge p {
	margin: 0;
	font-size: var(--t-sm);
	line-height: 1.55;
	color: var(--slate);
}

.tutors-band__checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .75rem;
}

.tutors-band__checks li {
	display: flex;
	align-items: center;
	gap: .875rem;
	font-size: var(--t-body);
	color: var(--ink);
}

.tutors-band__checks .tcard__check {
	width: 24px;
	height: 24px;
}

.tutors-band__checks .tcard__check svg {
	width: 13px;
	height: 13px;
}

.tutors-band__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .875rem;
}

.tutors-band__cta p {
	margin: 0;
	max-width: 34ch;
	font-size: var(--t-sm);
	line-height: 1.55;
	color: var(--slate);
}

@media (max-width: 520px) {
	.tutors-band__pledge {
		flex-direction: column;
		align-items: flex-start;
	}

	.tutors-band__shield {
		width: 64px;
		height: 64px;
	}

	.tutors-band__shield svg {
		width: 30px;
		height: 30px;
	}
}

/* ============================================================ RESULTS */
.results {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s5);
}

.result {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--r-card);
	padding: 1.4rem;
}

.result__move {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin-bottom: 1rem;
}

.result__move .g {
	min-width: 44px;
	padding: 0 .7rem;
	height: 44px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.35rem;
}

.result__move .g--a {
	background: rgba(255, 255, 255, .09);
	color: var(--on-ink-3);
}

.result__move .g--b {
	background: var(--marker);
	color: var(--ink);
}

.result__move .sep {
	color: var(--on-ink-3);
	font-size: 1.1rem;
}

.result blockquote {
	margin: 0;
	font-size: var(--t-sm);
	line-height: 1.65;
	color: var(--on-ink-2);
}

.result cite {
	display: block;
	margin-top: .9rem;
	font-style: normal;
	font-size: var(--t-xs);
	color: var(--on-ink-3);
}

.result cite b {
	color: var(--on-ink-hi);
	display: block;
	font-weight: 600;
	font-size: var(--t-sm);
}

@media (max-width: 900px) {
	.results {
		grid-template-columns: 1fr;
	}
}

/* ============================================================ PROGRESS TRACKING
   Structure ported 1:1 from the "How we track progress" design file.
   The dark shell already matches this theme's own --ink band almost
   exactly, so it's kept as the site's existing band--ink — only the
   two accent glows are layered on top. Brand indigo -> --marker
   (bright, reads fine on ink); brand green -> --grade for solid fills,
   --grade-line for text/glows sitting directly on the dark band (plain
   --grade is too close in luminance to --ink to read there). */
.band--ink.progress-section {
	background:
		radial-gradient(40% 55% at 72% 38%, rgba(255, 181, 61, .10), transparent 70%),
		radial-gradient(35% 40% at 12% 90%, rgba(15, 122, 99, .10), transparent 70%),
		var(--ink);
	overflow: clip;
}

.progress-grid {
	display: grid;
	gap: clamp(2.5rem, 4vw, 3.5rem);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1180px) {
	.progress-grid {
		grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
		gap: clamp(2rem, 3vw, 3.5rem);
		align-items: start;
	}
}

/* ══ LEFT ══════════════════════════════════════════════════════════ */
.progress-eyebrow {
	display: flex;
	align-items: center;
	gap: 1.375rem;
	margin: 0 0 1.125rem;
	font-size: var(--t-sm);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--on-ink-2);
}

.progress-eyebrow::before {
	content: "";
	flex: none;
	width: 52px;
	height: 3px;
	border-radius: 3px;
	background: var(--marker);
}

.progress-title {
	margin: 0 0 1.125rem;
	font-size: clamp(2.25rem, 3.3vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -.035em;
	font-weight: 800;
	color: var(--on-ink-hi);
}

.progress-title em {
	font-style: normal;
	color: var(--grade-line);
}

.progress-lede {
	margin: 0 0 1.875rem;
	max-width: 58ch;
	font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
	line-height: 1.5;
	color: var(--on-ink-2);
}

.progress-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.375rem;
}

.progress-step {
	position: relative;
	display: grid;
	grid-template-columns: 50px 74px minmax(0, 1fr);
	gap: 0 1.25rem;
	align-items: start;
}

.progress-step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 58px;
	bottom: -22px;
	border-left: 2px dashed var(--on-ink-line-2);
}

.progress-num {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--ink);
	background: var(--marker);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 6px rgba(255, 181, 61, .12);
}

.progress-ico {
	width: 74px;
	height: 74px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	color: var(--marker);
	background: var(--ink-soft);
	border: 1px solid var(--on-ink-line);
	box-shadow: inset 0 1px 0 var(--on-ink-fill), 0 14px 26px -16px rgba(0, 0, 0, .8);
}

.progress-ico svg {
	width: 32px;
	height: 32px;
}

.progress-step h3 {
	margin: .125rem 0 .375rem;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--on-ink-hi);
}

.progress-kicker {
	margin: 0 0 .375rem;
	font-size: var(--t-xs);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--marker);
}

.progress-step p:last-child {
	margin: 0;
	font-size: var(--t-body);
	line-height: 1.45;
	color: var(--on-ink-2);
	max-width: 48ch;
}

/* journey stepper */
.progress-journey {
	list-style: none;
	margin: 2.125rem 0 0;
	padding: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	max-width: 560px;
}

.progress-journey::before {
	content: "";
	position: absolute;
	left: 12.5%;
	right: 12.5%;
	top: 8px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--marker) 0%, var(--marker) 62%, var(--grade-line) 100%);
}

.progress-journey li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .75rem;
	font-size: var(--t-body);
	font-weight: 500;
	color: var(--on-ink-2);
}

.progress-journey li::before {
	content: "";
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: var(--marker);
	box-shadow: 0 0 0 4px rgba(255, 181, 61, .18);
}

.progress-journey li:last-child::before {
	background: var(--grade-line);
	box-shadow: 0 0 0 4px rgba(15, 122, 99, .25), 0 0 18px rgba(15, 122, 99, .5);
}

.progress-journey li:nth-child(3),
.progress-journey li:last-child {
	color: var(--on-ink-hi);
}

/* ══ RIGHT ═════════════════════════════════════════════════════════ */
.progress-right {
	position: relative;
}

.progress-burst {
	position: absolute;
	left: -38px;
	top: 14px;
	color: var(--marker);
	display: none;
}

@media (min-width: 1180px) {
	.progress-burst {
		display: block;
	}
}

/* Flex/grid items default to a min-width equal to their content's
   min-content size, which can push these rows wider than the card
   (and the page) at narrow widths instead of wrapping or shrinking. */
.progress-dash__head > *,
.progress-dash__body > *,
.progress-grades > *,
.progress-grade,
.progress-growth > div,
.progress-band > div {
	min-width: 0;
}

/* dashboard card */
.progress-dash {
	position: relative;
	margin: 0;
	padding: clamp(1.25rem, 2vw, 1.875rem);
	background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 70%, var(--paper-hi) 100%);
	border-radius: 26px;
	box-shadow:
		inset 0 1px 0 #FFFFFF,
		var(--shadow-float),
		0 0 90px -10px rgba(255, 181, 61, .28);
	color: var(--ink);
	transform: rotate(-1.6deg);
	transform-origin: 50% 50%;
}

@media (max-width: 760px) {
	.progress-dash {
		transform: none;
		border-radius: 20px;
	}
}

.progress-dash__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.125rem;
}

.progress-kid {
	display: flex;
	align-items: center;
	gap: 1.125rem;
}

.progress-kid img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	box-shadow: 0 0 0 3px var(--chalk), 0 8px 18px -8px rgba(14, 26, 43, .5);
}

.progress-kid b {
	display: block;
	font-size: 1.3125rem;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--ink);
}

.progress-kid span {
	display: block;
	font-size: var(--t-sm);
	line-height: 1.45;
	color: var(--marker-text);
}

.progress-kid span + span {
	color: var(--slate);
}

.progress-review {
	display: flex;
	align-items: center;
	gap: .875rem;
	padding: .875rem 1.25rem;
	border-radius: 14px;
	background: var(--paper-3);
	box-shadow: inset 0 1px 0 #FFFFFF;
}

.progress-review svg {
	width: 28px;
	height: 28px;
	color: var(--marker-text);
	flex: none;
}

.progress-review small {
	display: block;
	font-size: var(--t-xs);
	color: var(--marker-text);
}

.progress-review b {
	display: block;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
}

.progress-dash__body {
	display: grid;
	gap: 1.125rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 620px) {
	.progress-dash__body {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	}
}

/* grades */
.progress-grades {
	display: flex;
	align-items: center;
	gap: .875rem;
	margin-bottom: 1.625rem;
}

.progress-grade {
	flex: 1;
	text-align: center;
	padding: .75rem .625rem .625rem;
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(14, 26, 43, .06);
}

.progress-grade--now {
	background: var(--paper-3);
}

.progress-grade--goal {
	background: var(--grade-wash);
}

.progress-grade small {
	display: block;
	font-size: var(--t-sm);
	color: var(--ink);
}

.progress-grade b {
	display: block;
	font-size: 2.5rem;
	line-height: 1.1;
	font-weight: 800;
}

.progress-grade--now b {
	color: var(--ink);
}

.progress-grade--goal b {
	color: var(--grade);
}

.progress-grades > svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--ink);
}

/* topic bars */
.progress-dash h4 {
	margin: 0 0 .75rem;
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--ink);
}

.progress-bars {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: grid;
	gap: .875rem;
}

.progress-bars li {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 44px;
	align-items: center;
	gap: .75rem;
	font-size: var(--t-sm);
	color: var(--slate);
}

.progress-bars li b {
	text-align: right;
	font-weight: 700;
	color: var(--ink);
}

.progress-bar {
	height: 9px;
	border-radius: 9px;
	background: var(--paper-2);
	overflow: hidden;
}

.progress-bar i {
	display: block;
	height: 100%;
	width: var(--v);
	border-radius: 9px;
	background: var(--c, var(--marker));
}

/* growth strip */
.progress-growth {
	display: flex;
	align-items: center;
	gap: 1.125rem;
	padding: 1rem 1.25rem;
	margin-bottom: .875rem;
	border-radius: 14px;
	background: var(--grade-wash);
	box-shadow: inset 0 1px 0 #FFFFFF;
}

.progress-growth > svg:first-child {
	width: 30px;
	height: 30px;
	flex: none;
	color: var(--grade);
}

.progress-growth b {
	display: block;
	font-size: 1.5rem;
	line-height: 1.1;
	font-weight: 800;
	color: var(--grade);
}

.progress-growth small {
	display: block;
	font-size: var(--t-xs);
	color: var(--slate);
}

.progress-spark {
	margin-left: auto;
	width: 96px;
	height: 44px;
	flex: none;
}

/* next focus row */
.progress-focus {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 64px;
	padding: .75rem 1.125rem;
	border-radius: 14px;
	background: var(--chalk);
	border: 1px solid var(--rule);
	box-shadow: var(--shadow-card);
	text-decoration: none;
	color: inherit;
	transition: transform 180ms var(--tc-ease), box-shadow 180ms var(--tc-ease);
}

.progress-focus:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lift);
}

.progress-focus > svg:first-child {
	width: 30px;
	height: 30px;
	color: var(--marker-text);
	flex: none;
}

.progress-focus b {
	display: block;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
}

.progress-focus span {
	display: block;
	font-size: var(--t-sm);
	color: var(--slate);
}

.progress-focus .progress-chev,
.progress-focus svg:last-child {
	margin-left: auto;
	width: 20px;
	height: 20px;
	color: var(--ink);
}

/* latest update panel */
.progress-update {
	padding: 1.375rem 1.25rem;
	border-radius: 18px;
	background: var(--paper-3);
	box-shadow: inset 0 1px 0 #FFFFFF;
}

.progress-update h4 {
	margin-bottom: .125rem;
}

.progress-date {
	display: block;
	margin-bottom: 1.125rem;
	font-size: 1.0625rem;
	color: var(--marker-text);
}

.progress-ticks {
	list-style: none;
	margin: 0 0 1.125rem;
	padding: 0;
	display: grid;
	gap: .875rem;
}

.progress-ticks li {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	font-size: var(--t-sm);
	line-height: 1.45;
	color: var(--ink);
}

.progress-ticks li:last-child {
	font-weight: 600;
}

.tcard__check--marker {
	background: var(--marker-text);
}

.progress-quote {
	margin: 0;
	padding: 1.25rem 1.125rem 1.125rem;
	border-radius: 14px;
	background: var(--chalk);
	border: 1px solid var(--rule);
	box-shadow: 0 1px 2px rgba(14, 26, 43, .04);
}

.progress-quote svg {
	width: 30px;
	height: 22px;
	color: var(--marker-text);
	margin-left: .125rem;
}

.progress-quote blockquote {
	margin: .5rem 0 .875rem 1.375rem;
	font-size: var(--t-sm);
	line-height: 1.55;
	font-style: italic;
	color: var(--slate);
}

.progress-quote figcaption {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
}

.progress-quote figcaption::before {
	content: "";
	width: 14px;
	height: 2px;
	background: var(--marker-text);
}

/* trust band */
.progress-band {
	margin-top: 2.25rem;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 1fr);
	padding: 1.375rem 1.75rem;
	border-radius: 22px;
	background: var(--on-ink-fill);
	border: 1px solid var(--on-ink-line);
	box-shadow: inset 0 1px 0 var(--on-ink-fill);
}

@media (min-width: 560px) {
	.progress-band {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 1.25rem 1.5rem;
	}

	.progress-band ul {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1500px) {
	.progress-band {
		grid-template-columns: auto minmax(0, 1fr) 1px auto;
		gap: 1.5rem 2rem;
	}

	.progress-band ul {
		grid-column: auto;
	}
}

.progress-shield {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--grade-line);
	background: var(--ink-soft);
	box-shadow: inset 0 1px 0 var(--on-ink-fill), 0 0 0 1px rgba(15, 122, 99, .12);
}

.progress-shield svg {
	width: 40px;
	height: 40px;
}

.progress-band h3 {
	margin: 0 0 .5rem;
	font-size: 1.1875rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--on-ink-hi);
	max-width: 24ch;
}

.progress-band p {
	margin: 0;
	font-size: var(--t-sm);
	color: var(--on-ink-2);
}

.progress-band__vr {
	display: none;
}

@media (min-width: 1500px) {
	.progress-band__vr {
		display: block;
		align-self: stretch;
		background: var(--on-ink-line);
	}
}

.progress-band ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .625rem;
}

.progress-band li {
	display: flex;
	align-items: center;
	gap: .875rem;
	font-size: var(--t-body);
	color: var(--on-ink);
}

.progress-band .tcard__check {
	width: 24px;
	height: 24px;
	margin: 0;
}

/* handwritten notes */
.progress-note {
	position: absolute;
	pointer-events: none;
	display: none;
}

@media (min-width: 1680px) {
	.progress-note {
		display: block;
	}
}

.progress-note p {
	margin: 0;
	font-family: var(--hand);
	font-size: 1.5rem;
	line-height: 1.12;
	color: var(--on-ink-hi);
}

.progress-note--top {
	right: 0;
	top: 30px;
	transform: rotate(-8deg);
	width: 150px;
}

.progress-note--top svg {
	display: block;
	width: 120px;
	height: 20px;
	margin-top: .25rem;
	color: var(--grade-line);
}

@media (max-width: 560px) {
	.progress-step {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 0 1rem;
	}

	.progress-ico {
		display: none;
	}

	.progress-num {
		width: 42px;
		height: 42px;
		font-size: var(--t-sm);
	}

	.progress-step:not(:last-child)::before {
		left: 20px;
		top: 50px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.progress-focus {
		transition: none;
	}
}

/* ============================================================ DEDICATED PAGE STYLING */
.page-hero {
	padding: 2.5rem 0 1.5rem;
}

.page-breadcrumbs {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: var(--t-xs);
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--on-ink-2);
	margin-bottom: 1rem;
}

.page-breadcrumbs a {
	color: var(--on-ink-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page-breadcrumbs a:hover {
	color: var(--marker);
}

.page-breadcrumbs__sep {
	opacity: .5;
}

.page-breadcrumbs__curr {
	color: var(--on-ink-hi);
	font-weight: 600;
}

.page-hero__title {
	font-size: clamp(2rem, 4vw, 2.85rem);
	color: var(--on-ink-hi);
	font-family: var(--display);
	margin: 0;
}

.wrap--prose {
	max-width: 820px;
}

.article-entry {
	font-size: var(--t-base);
	line-height: 1.7;
	color: var(--ink);
}

.article-entry h2 {
	font-size: 1.65rem;
	margin: 2rem 0 .85rem;
	font-family: var(--display);
}

.article-entry h3 {
	font-size: 1.3rem;
	margin: 1.5rem 0 .65rem;
	font-family: var(--display);
}

.article-entry p {
	margin-bottom: 1.25rem;
	color: var(--ink);
}

.article-entry ul,
.article-entry ol {
	margin: 1rem 0 1.5rem 1.5rem;
}

.article-entry li {
	margin-bottom: .5rem;
}

.page-cta-box {
	margin-top: 3rem;
	padding: 2.25rem;
	background: var(--paper-hi);
	border: 1px solid var(--rule-hard);
	border-radius: var(--r-card);
}


/* ============================================================ SCHOOLS / B2B
   Structure ported 1:1 from the "For schools" design file, redrawn with
   this theme's own tokens. The reference's three card tones (blue/mint/
   lavender) collapse to the two accents this site actually has — marker
   and grade — plus a neutral ink-tinted third, so every card still reads
   as visually distinct without adding a new hue. */
.schools-hero {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

@media (min-width: 1080px) {
	.schools-hero {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
		gap: clamp(2rem, 4vw, 4.5rem);
	}
}

.schools-eyebrow {
	display: flex;
	align-items: center;
	gap: 1.375rem;
	margin: 0 0 1.25rem;
	font-size: var(--t-sm);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--slate-dim);
}

.schools-eyebrow::before {
	content: "";
	flex: none;
	width: 42px;
	height: 2px;
	border-radius: 2px;
	background: var(--marker);
}

.schools-title {
	margin: 0 0 1.375rem;
	font-size: clamp(2.25rem, 3.9vw, 3.75rem);
	line-height: 1.04;
	letter-spacing: -.04em;
	font-weight: 800;
	color: var(--ink);
	text-wrap: balance;
}

.schools-title em {
	font-style: normal;
	color: var(--marker-text);
}

.schools-lede {
	margin: 0 0 1.875rem;
	max-width: 58ch;
	font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
	line-height: 1.5;
	color: var(--slate);
}

.schools-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.125rem;
}

.schools-btn {
	min-height: 3.5rem;
	padding: .9rem 1.75rem;
	font-size: var(--t-body);
}

.schools-btn--ghost svg {
	width: 14px;
	height: 14px;
}

/* The decorative blob below sits at right: -8%, which the page margins absorb
   at wide and narrow widths but not between roughly 768px and 1024px, where it
   pushed the whole homepage into horizontal scroll. Clipping at the section
   keeps the overhang wherever there is room for it — `clip` rather than
   `hidden` so no scroll container is created. */
.schools-section {
	overflow-x: clip;
}

/* photo — same blob + tilted frame + sticky note technique as .local__visual */
.schools-visual {
	position: relative;
	margin: 0;
	padding: .75rem 0 1.5rem;
}

.schools-blob {
	position: absolute;
	right: -8%;
	top: 6%;
	width: 42%;
	height: 82%;
	background: var(--marker-wash);
	border-radius: 46% 54% 42% 58% / 36% 40% 60% 64%;
	z-index: 0;
}

.schools-frame {
	position: relative;
	z-index: 1;
	border-radius: var(--r-frame);
	overflow: hidden;
	aspect-ratio: 16/10.2;
	background: var(--paper-2);
	border: 1px solid var(--rule);
	box-shadow: var(--shadow-lift);
}

.schools-frame img,
.schools-frame .slot {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.schools-note {
	position: absolute;
	z-index: 2;
	right: -.25rem;
	bottom: 0;
	width: min(190px, 55%);
	padding: 1rem 1.125rem .75rem;
	border-radius: var(--r-card);
	background: var(--grade-wash);
	box-shadow: var(--shadow-lift);
	transform: rotate(-4deg);
}

.schools-note p {
	margin: 0;
	font-family: var(--hand);
	font-size: 1.3125rem;
	line-height: 1.15;
	color: var(--ink);
}

.schools-note svg {
	display: block;
	width: 76px;
	height: 12px;
	margin: .5rem 0 0 3.1rem;
	color: var(--grade);
}

@media (max-width: 560px) {
	.schools-note {
		display: none;
	}
	.schools-blob {
		display: none;
	}
}

/* ══ Phase cards + control panel ═══════════════════════════════════════ */
.schools-row {
	display: grid;
	gap: 1.125rem;
	margin-top: clamp(2rem, 4vw, 2.5rem);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
	.schools-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1180px) {
	.schools-row {
		grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
	}
}

.schools-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.375rem 1.375rem 1.625rem;
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: 18px;
	box-shadow: var(--shadow-card);
	transition: transform .2s var(--tc-ease), box-shadow .2s var(--tc-ease);
}

.schools-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lift);
}

.schools-card__top {
	display: flex;
	align-items: flex-start;
	gap: 1.125rem;
	margin-bottom: 1.375rem;
}

.schools-card__ico {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--ink);
	background: var(--paper-3);
}

.schools-card__ico svg {
	width: 32px;
	height: 32px;
}

.schools-card[data-tone="marker"] .schools-card__ico {
	color: var(--marker-text);
	background: var(--marker-wash);
}

.schools-card[data-tone="grade"] .schools-card__ico {
	color: var(--grade);
	background: var(--grade-wash);
}

.schools-card[data-tone="ink"] .schools-card__ico {
	color: var(--ink);
	background: var(--paper-3);
}

.schools-kicker {
	display: block;
	margin: .1rem 0 .5rem;
	font-size: var(--t-xs);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--slate-dim);
}

.schools-card h3 {
	margin: 0;
	font-size: 1.375rem;
	line-height: 1.15;
	letter-spacing: -.025em;
	font-weight: 800;
	color: var(--ink);
}

.schools-card p {
	margin: 0 0 1.375rem;
	font-size: var(--t-body);
	line-height: 1.55;
	color: var(--slate);
}

.schools-card a {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	font-size: var(--t-body);
	font-weight: 600;
	color: var(--marker-text);
	text-decoration: none;
}

.schools-card a svg {
	width: 18px;
	height: 18px;
	transition: transform .18s var(--tc-ease);
}

.schools-card:hover a svg {
	transform: translateX(3px);
}

.schools-card a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 18px;
}

.schools-control {
	padding: 1.625rem 1.5rem;
	border-radius: 20px;
	background: var(--paper-3);
	border: 1px solid var(--rule);
}

.schools-control h3 {
	margin: 0 0 .5rem;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -.015em;
	color: var(--ink);
}

.schools-control > p {
	margin: 0 0 1.125rem;
	font-size: var(--t-sm);
	line-height: 1.5;
	color: var(--slate);
}

.schools-control ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .75rem;
}

.schools-control li {
	display: flex;
	align-items: center;
	gap: .875rem;
	font-size: var(--t-body);
	color: var(--ink);
}

@media (min-width: 700px) and (max-width: 1179px) {
	.schools-control {
		grid-column: 1 / -1;
	}
}

/* ══ How it works ═══════════════════════════════════════════════════════ */
.schools-how {
	margin-top: 1.25rem;
	display: grid;
	gap: 1.375rem;
	grid-template-columns: minmax(0, 1fr);
	padding: 1.625rem;
	border-radius: 20px;
	background: var(--paper-3);
	border: 1px solid var(--rule);
}

@media (min-width: 1180px) {
	.schools-how {
		grid-template-columns: minmax(0, 270px) 1px minmax(0, 1fr);
		gap: 1.75rem;
		align-items: center;
	}
}

.schools-how h3 {
	margin: 0 0 .5rem;
	font-size: 1.625rem;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
}

.schools-how > div > p {
	margin: 0;
	font-size: var(--t-sm);
	line-height: 1.45;
	color: var(--slate);
}

.schools-how__vr {
	display: none;
}

@media (min-width: 1180px) {
	.schools-how__vr {
		display: block;
		align-self: stretch;
		background: var(--rule-hard);
	}
}

.schools-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.125rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
	.schools-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1180px) {
	.schools-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0;
	}
}

.schools-steps li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: .875rem;
	padding-right: 2.25rem;
}

.schools-num {
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--ink);
	background: var(--marker-wash);
}

.schools-steps li:nth-child(even) .schools-num {
	color: var(--grade);
	background: var(--grade-wash);
}

.schools-steps b {
	display: block;
	margin: .25rem 0 .375rem;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
}

.schools-steps div span {
	display: block;
	font-size: var(--t-xs);
	line-height: 1.45;
	color: var(--slate-dim);
}

.schools-arrow {
	display: none;
}

@media (min-width: 1180px) {
	.schools-arrow {
		display: block;
		position: absolute;
		right: .5rem;
		top: 1rem;
		width: 20px;
		height: 20px;
		color: var(--slate);
	}
	.schools-steps li:last-child {
		padding-right: 0;
	}
}

@media (max-width: 520px) {
	.schools-btn {
		width: 100%;
	}
}

/* ============================================================ LANGUAGES + ADULT */
.two-up {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s5);
}

.panel {
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: var(--r-frame);
	padding: clamp(1.4rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
}

.panel h3 {
	font-size: var(--t-h3);
}

.panel > p {
	font-size: var(--t-sm);
	color: var(--slate);
	margin-top: .6rem;
	line-height: 1.6;
}

.panel__tags {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin: 1.1rem 0 1.4rem;
}

.panel .btn {
	margin-top: auto;
	align-self: flex-start;
}

@media (max-width: 820px) {
	.two-up {
		grid-template-columns: 1fr;
	}
}

/* ============================================================ SAFEGUARDING */
.safe {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.safe__list {
	list-style: none;
	margin: var(--s5) 0 0;
	padding: 0;
	display: grid;
	gap: .9rem;
}

.safe__list li {
	display: flex;
	gap: .85rem;
	align-items: flex-start;
	padding-bottom: .9rem;
	border-bottom: 1px solid var(--rule);
}

.safe__list li:last-child {
	border-bottom: 0;
}

.safe__list b {
	display: block;
	font-weight: 600;
	margin-bottom: .15rem;
}

.safe__list span {
	font-size: var(--t-sm);
	color: var(--slate);
	line-height: 1.55;
}

.tick {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--grade-wash);
	color: var(--grade);
	display: grid;
	place-items: center;
	font-size: .8rem;
	font-weight: 700;
	margin-top: .15rem;
}

.safe__img {
	aspect-ratio: 4/5;
	border-radius: var(--r-frame);
	overflow: hidden;
	background: var(--paper-2);
	border: 1px solid var(--rule);
}

.safe__img img,
.safe__img .slot {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	.safe {
		grid-template-columns: 1fr;
	}
}

/* ============================================================ PRICING / QUOTE
   Structure ported 1:1 from the "Our pricing" design file. Still a
   consultation-first model — no rate published anywhere on the site —
   redrawn with this theme's own tokens. */
.quote-head {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

@media (min-width: 1080px) {
	.quote-head {
		grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
		gap: 3rem;
	}
}

.quote-eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.125rem;
	font-size: var(--t-xs);
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--slate-dim);
}

.quote-eyebrow::before {
	content: "";
	flex: none;
	width: 44px;
	height: 2px;
	border-radius: 2px;
	background: var(--marker);
}

.quote-title {
	margin: 0 0 1.125rem;
	font-size: clamp(2.25rem, 4.4vw, 3.75rem);
	line-height: 1.05;
	letter-spacing: -.04em;
	font-weight: 800;
	color: var(--ink);
}

.quote-title em {
	font-style: normal;
	color: var(--marker-text);
}

.quote-lede {
	margin: 0;
	max-width: 64ch;
	font-size: clamp(1rem, 1.3vw, 1.1875rem);
	line-height: 1.45;
	color: var(--slate);
}

.quote-fit {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 1.625rem;
	padding: 1.5rem 1.75rem 1.5rem 1.5rem;
	border-radius: 26px;
	background: var(--marker-wash);
}

.quote-bulb {
	flex: none;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--marker-text);
	background: var(--chalk);
}

.quote-bulb svg {
	width: 30px;
	height: 30px;
}

.quote-fit h3 {
	margin: .375rem 0 .75rem;
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.015em;
	color: var(--ink);
}

.quote-fit p {
	margin: 0;
	font-size: var(--t-sm);
	line-height: 1.5;
	color: var(--slate);
}

.quote-burst {
	position: absolute;
	right: -4px;
	top: -34px;
	color: var(--marker);
}

@media (max-width: 560px) {
	.quote-fit {
		flex-direction: column;
		gap: .875rem;
	}
	.quote-burst {
		display: none;
	}
}

/* ══ Main panel ═══════════════════════════════════════════════════════ */
.quote-main {
	margin-top: 2.125rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: var(--r-frame);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

@media (min-width: 1080px) {
	.quote-main {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, .84fr) minmax(0, 1fr);
	}
}

/* how it works */
.quote-how {
	padding: 1.625rem 1.875rem 1.875rem;
}

.quote-how h3,
.quote-affects h3 {
	margin: 0 0 .5rem;
	font-size: 1.75rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.025em;
	color: var(--ink);
}

.quote-how > p {
	margin: 0 0 1.625rem;
	max-width: 42ch;
	font-size: var(--t-sm);
	line-height: 1.45;
	color: var(--slate);
}

.quote-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.875rem;
}

.quote-step {
	position: relative;
	display: grid;
	grid-template-columns: 44px 58px minmax(0, 1fr);
	gap: 0 1.25rem;
	align-items: start;
}

.quote-step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 21px;
	top: 52px;
	bottom: -28px;
	width: 1px;
	background: var(--rule-hard);
}

.quote-num {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	margin-top: .25rem;
	font-size: var(--t-body);
	font-weight: 700;
	color: var(--marker-text);
	background: var(--marker-wash);
}

.quote-ico {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--marker-text);
	background: var(--marker-wash);
}

.quote-ico svg {
	width: 28px;
	height: 28px;
}

.quote-step:nth-child(even) .quote-num,
.quote-step:nth-child(even) .quote-ico {
	color: var(--grade);
	background: var(--grade-wash);
}

.quote-step h4 {
	margin: .5rem 0 .375rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--ink);
}

.quote-step p {
	margin: 0;
	font-size: var(--t-sm);
	line-height: 1.45;
	color: var(--slate);
	max-width: 42ch;
}

/* what affects the price */
.quote-affects-wrap {
	padding: 1.125rem 1.25rem 1.25rem 0;
}

@media (max-width: 1079px) {
	.quote-affects-wrap {
		padding: 0 1.25rem 1.25rem;
	}
}

.quote-affects {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.375rem;
	border-radius: 20px;
	background: var(--paper-3);
}

.quote-affects h3 {
	font-size: 1.375rem;
}

.quote-affects > p {
	margin: 0 0 1.125rem;
	font-size: var(--t-xs);
	line-height: 1.45;
	color: var(--slate);
}

.quote-factors {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.quote-factors li {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 1.25rem;
	align-items: center;
}

.quote-f-ico {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--ink);
	background: var(--chalk);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.quote-f-ico svg {
	width: 24px;
	height: 24px;
}

.quote-factors b {
	display: block;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
}

.quote-factors span {
	display: block;
	margin-top: .1rem;
	font-size: var(--t-xs);
	color: var(--slate-dim);
}

.quote-script {
	margin-top: auto;
	padding-top: 1.125rem;
	border-top: 1px solid var(--rule-hard);
}

.quote-script p {
	margin: 0;
	font-family: var(--hand);
	font-size: 1.4375rem;
	line-height: 1.1;
	color: var(--ink);
	transform: rotate(-5deg);
	transform-origin: left center;
}

.quote-script svg {
	display: block;
	width: 110px;
	height: 22px;
	margin: .25rem 0 0 5.25rem;
	color: var(--grade);
}

/* no hidden fees — dark */
.quote-fees {
	display: flex;
	flex-direction: column;
	padding: 1.75rem 2.125rem 1.625rem;
	background:
		radial-gradient(80% 60% at 100% 0%, rgba(255, 181, 61, .14), transparent 70%),
		var(--ink);
	color: var(--on-ink-2);
}

.quote-fees h3 {
	margin: 0 0 .75rem;
	font-size: 1.875rem;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--on-ink-hi);
}

.quote-fees > p {
	margin: 0 0 1.5rem;
	font-size: var(--t-body);
	line-height: 1.45;
	color: var(--on-ink-2);
}

.quote-nofees {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0 0 1.625rem;
	display: grid;
	gap: 1rem;
	border-bottom: 1px solid var(--on-ink-line);
}

.quote-nofees li {
	display: flex;
	align-items: center;
	gap: .875rem;
	font-size: var(--t-body);
	color: var(--on-ink-hi);
}

.quote-nofees .tcard__check {
	background: var(--grade);
}

.quote-btn {
	justify-content: center;
	min-height: 3.5rem;
}

.quote-btn-note {
	margin: .75rem 0 0;
	text-align: center;
	font-size: var(--t-sm);
	color: var(--on-ink-2);
}

.quote-trust {
	display: flex;
	align-items: center;
	gap: 1.375rem;
	margin-top: 1.375rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--on-ink-line);
	font-size: var(--t-sm);
	line-height: 1.5;
	color: var(--on-ink);
}

.quote-trust svg {
	flex: none;
	width: 30px;
	height: 32px;
	color: var(--grade-line);
}

@media (min-width: 1080px) {
	.quote-trust {
		margin-top: auto;
	}
}

@media (max-width: 560px) {
	.quote-how,
	.quote-fees {
		padding: 1.375rem 1.25rem;
	}
	.quote-step {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 0 .875rem;
	}
	.quote-ico {
		display: none;
	}
	.quote-num {
		width: 40px;
		height: 40px;
		margin-top: 0;
	}
	.quote-step:not(:last-child)::before {
		left: 19px;
		top: 46px;
	}
}

/* ============================================================ PARENT GUIDES
   Structure ported 1:1 from the "Parent guides" design file, redrawn
   with this theme's own tokens. The reference's four tag/topic tones
   (amber/mint/sky/lavender) collapse to marker, grade and a neutral
   ink tint — the two accents this site actually has, cycled so
   neighbouring cards/pills still read as visually distinct. */
.resources-head {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

@media (min-width: 960px) {
	.resources-head {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3rem;
	}
}

.resources-eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1rem;
	font-size: var(--t-sm);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--slate-dim);
}

.resources-eyebrow::before {
	content: "";
	flex: none;
	width: 48px;
	height: 3px;
	border-radius: 3px;
	background: var(--marker);
}

.resources-title {
	margin: 0 0 1.125rem;
	max-width: 21ch;
	font-size: clamp(2.125rem, 3.7vw, 3.125rem);
	line-height: 1.04;
	letter-spacing: -.04em;
	font-weight: 800;
	color: var(--ink);
}

.resources-lede {
	margin: 0;
	max-width: 60ch;
	font-size: clamp(1rem, 1.25vw, 1.1875rem);
	line-height: 1.6;
	color: var(--slate);
}

.resources-head-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .875rem;
}

@media (min-width: 960px) {
	.resources-head-cta {
		align-items: center;
		padding-top: 2.75rem;
	}
}

.resources-head-cta p {
	margin: 0;
	font-size: var(--t-sm);
	color: var(--slate-dim);
}

.resources-btn {
	min-height: 3.5rem;
}

/* cards */
.resources-cards {
	list-style: none;
	margin: clamp(1.75rem, 3vw, 2.25rem) 0 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
	.resources-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.resources-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: 20px;
	box-shadow: var(--shadow-card);
	overflow: hidden;
	transition: transform .2s var(--tc-ease), box-shadow .2s var(--tc-ease);
}

.post:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lift);
}

.post > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.post__img {
	position: relative;
	margin: 0;
	aspect-ratio: 440/188;
	overflow: hidden;
	background: var(--paper-2);
}

.post__img img,
.post__img .slot {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--tc-ease);
}

.post:hover .post__img img {
	transform: scale(1.04);
}

.post__tag {
	position: absolute;
	left: 1rem;
	top: 1rem;
	z-index: 1;
	padding: .5625rem 1.125rem;
	border-radius: var(--r-chip);
	font-size: var(--t-sm);
	font-weight: 600;
	line-height: 1.2;
	color: var(--ink);
	background: var(--paper-3);
	box-shadow: 0 2px 8px -2px rgba(14, 26, 43, .2);
}

.post__tag[data-tone="marker"] {
	color: var(--marker-text);
	background: var(--marker-wash);
	text-transform: uppercase;
}

.post__tag[data-tone="grade"] {
	color: var(--grade);
	background: var(--grade-wash);
}

.post__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.375rem 1.5rem 1.375rem;
}

.post h3 {
	margin: 0 0 .75rem;
	font-size: 1.4375rem;
	line-height: 1.2;
	letter-spacing: -.025em;
	font-weight: 700;
	color: var(--ink);
	text-wrap: balance;
}

.post p {
	margin: 0 0 1.375rem;
	font-size: var(--t-body);
	line-height: 1.5;
	color: var(--slate);
}

.post__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
}

.post__time {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	font-size: var(--t-sm);
	color: var(--slate-dim);
}

.post__time svg {
	width: 21px;
	height: 21px;
	color: var(--ink);
}

.post__read {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	font-size: var(--t-body);
	font-weight: 600;
	color: var(--marker-text);
}

.post__read svg {
	width: 19px;
	height: 19px;
	transition: transform .18s var(--tc-ease);
}

.post:hover .post__read svg {
	transform: translateX(3px);
}

/* explore band */
.resources-band-wrap {
	position: relative;
	margin-top: 2rem;
}

.resources-band {
	display: grid;
	gap: 1.375rem;
	grid-template-columns: minmax(0, 1fr);
	padding: 1.5rem;
	border-radius: 20px;
	background: var(--paper-3);
	border: 1px solid var(--rule);
}

@media (min-width: 1180px) {
	.resources-band {
		grid-template-columns: minmax(0, 1fr) 1px auto auto;
		gap: 1.75rem;
		align-items: center;
	}
}

.resources-explore {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.resources-doc {
	flex: none;
	width: 82px;
	height: 82px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--marker-text);
	background: var(--marker-wash);
}

.resources-doc svg {
	width: 36px;
	height: 36px;
}

.resources-explore h3 {
	margin: 0 0 .5rem;
	font-size: 1.4375rem;
	font-weight: 700;
	letter-spacing: -.025em;
	color: var(--ink);
}

.resources-explore p {
	margin: 0;
	max-width: 44ch;
	font-size: var(--t-sm);
	line-height: 1.6;
	color: var(--slate);
}

.resources-band__vr {
	display: none;
}

@media (min-width: 1180px) {
	.resources-band__vr {
		display: block;
		align-self: stretch;
		background: var(--rule-hard);
	}
}

.resources-topics {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.resources-topics a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: .5rem 1.125rem;
	border-radius: var(--r-chip);
	font-size: var(--t-sm);
	font-weight: 500;
	color: var(--ink);
	background: var(--chalk);
	border: 1px solid var(--rule);
	text-decoration: none;
	transition: transform .15s var(--tc-ease), box-shadow .15s var(--tc-ease);
}

.resources-topics a[data-tone="marker"] {
	color: var(--marker-text);
	background: var(--marker-wash);
	border-color: transparent;
}

.resources-topics a[data-tone="grade"] {
	color: var(--grade);
	background: var(--grade-wash);
	border-color: transparent;
}

.resources-topics a:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px -8px rgba(14, 26, 43, .35);
}

.resources-topics a:active {
	transform: translateY(1px);
	box-shadow: none;
}

.resources-band-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .625rem;
}

@media (min-width: 1180px) {
	.resources-band-cta {
		align-items: center;
	}
}

.resources-band-cta p {
	margin: 0;
	font-size: var(--t-xs);
	color: var(--slate-dim);
}

.resources-burst {
	position: absolute;
	right: -58px;
	top: -12px;
	color: var(--marker);
	display: none;
}

@media (min-width: 1500px) {
	.resources-burst {
		display: block;
	}
}

@media (max-width: 560px) {
	.resources-explore {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	.resources-doc {
		width: 64px;
		height: 64px;
	}
	.resources-doc svg {
		width: 28px;
		height: 28px;
	}
	.resources-btn {
		width: 100%;
	}
	.post__body {
		padding: 1.25rem;
	}
}

/* ============================================================ FAQ
   Structure ported 1:1 from the "FAQs" design file (search-filterable
   accordion + photo/quote/contact-card sidebar), redrawn with this
   theme's own tokens. The reference's indigo accent maps to
   --marker, its green (handwritten notes, quote mark) to --grade. */
.faq-grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

@media (min-width: 1080px) {
	.faq-grid {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
		gap: clamp(2rem, 3.5vw, 3.5rem);
	}
}

.faq-eyebrow {
	display: flex;
	align-items: center;
	gap: 1.375rem;
	margin: 0 0 1rem;
	font-size: var(--t-xs);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--slate-dim);
}

.faq-eyebrow::before {
	content: "";
	flex: none;
	width: 40px;
	height: 2px;
	border-radius: 2px;
	background: var(--marker);
}

.faq-title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.125rem, 3.9vw, 3.5rem);
	line-height: 1.04;
	letter-spacing: -.04em;
	font-weight: 800;
	color: var(--ink);
}

.faq-title em {
	font-style: normal;
	color: var(--marker-text);
}

.faq-lede {
	margin: 0 0 1.625rem;
	max-width: 58ch;
	font-size: clamp(1rem, 1.3vw, 1.1875rem);
	line-height: 1.5;
	color: var(--slate);
}

/* search */
.faq-search {
	position: relative;
	margin-bottom: 1.25rem;
}

.faq-search svg {
	position: absolute;
	left: 1.25rem;
	top: 50%;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
	color: var(--marker-text);
	pointer-events: none;
}

.faq-search input {
	width: 100%;
	min-height: 3.25rem;
	padding: .75rem 1.125rem .75rem 3.75rem;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: 14px;
	box-shadow: var(--shadow-card);
	transition: border-color .16s ease, box-shadow .16s ease;
}

.faq-search input::placeholder {
	color: var(--slate-dim);
}

.faq-search input:hover {
	border-color: var(--rule-hard);
}

.faq-search input:focus {
	outline: none;
	border-color: var(--marker);
	box-shadow: 0 0 0 4px var(--marker-wash);
}

.faq-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* accordion */
/* Scoped to the homepage FAQ. These rules assume a three-column summary
   (number / question / plus) and previously leaked site-wide, collapsing the
   dedicated pages two-column .faq__q into the 36px column. */
.faq-grid .faq {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: none;
	display: grid;
	gap: .625rem;
}

.faq-grid .faq details {
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: 12px;
	padding: 0;
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.faq-grid .faq details:hover {
	border-color: var(--rule-hard);
}

.faq-grid .faq details[open] {
	background: var(--marker-wash);
	border-color: var(--marker-line);
	box-shadow: var(--shadow-card);
}

.faq-grid .faq summary {
	cursor: pointer;
	list-style: none;
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) 24px;
	gap: 0 1.625rem;
	align-items: center;
	min-height: 3.25rem;
	padding: .5rem 1.25rem .5rem 1.125rem;
	border-radius: 12px;
}

.faq-grid .faq summary::-webkit-details-marker {
	display: none;
}

.faq-grid .faq details[open] summary {
	padding-top: 1rem;
}

.faq-n {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: .9375rem;
	font-weight: 500;
	color: var(--slate);
	background: var(--paper-3);
}

.faq-grid .faq details[open] .faq-n {
	color: var(--marker-text);
	background: var(--chalk);
	font-weight: 600;
}

.faq-q {
	font-family: var(--display);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ink);
}

.faq-grid .faq details[open] .faq-q {
	font-weight: 600;
}

.faq-pm {
	position: relative;
	width: 18px;
	height: 18px;
	justify-self: end;
	color: var(--marker-text);
}

.faq-pm::before,
.faq-pm::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform .2s var(--tc-ease);
}

.faq-pm::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq-grid .faq details[open] .faq-pm::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
	padding: .125rem 3.75rem 1.125rem 5rem;
}

.faq-a p {
	margin: 0;
	font-size: var(--t-sm);
	line-height: 1.6;
	color: var(--slate);
	max-width: 62ch;
}

.faq-empty {
	margin: .5rem 0 0;
	padding: 1rem 1.125rem;
	border-radius: 12px;
	background: var(--paper-3);
	font-size: var(--t-sm);
	color: var(--slate);
}

.faq-empty a {
	color: var(--marker-text);
	font-weight: 600;
}

.faq-all {
	display: inline-flex;
	align-items: center;
	gap: .875rem;
	min-height: 3rem;
	margin-top: 1.375rem;
	padding: .75rem 1.375rem;
	border-radius: var(--r-chip);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	background: var(--chalk);
	border: 1px solid var(--rule);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s var(--tc-ease);
}

.faq-all svg {
	width: 19px;
	height: 19px;
	transition: transform .16s var(--tc-ease);
}

.faq-all:hover {
	border-color: var(--rule-hard);
	box-shadow: var(--shadow-card);
}

.faq-all:hover svg {
	transform: translateX(3px);
}

.faq-all:active {
	transform: translateY(1px);
}

@media (max-width: 560px) {
	.faq summary {
		grid-template-columns: 32px minmax(0, 1fr) 20px;
		gap: 0 .875rem;
		padding: .5rem .875rem;
	}
	.faq-n {
		width: 32px;
		height: 32px;
	}
	.faq details[open] .faq-n {
		width: 32px;
		height: 32px;
	}
	.faq-a {
		padding: .125rem 1rem 1rem 3.75rem;
	}
}

/* ══ Sidebar ══════════════════════════════════════════════════════════ */
.faq-right {
	position: relative;
}

@media (min-width: 1080px) {
	.faq-right {
		padding-top: 9.375rem;
		padding-right: 1rem;
	}
}

.faq-note {
	position: absolute;
	pointer-events: none;
	display: none;
}

@media (min-width: 1080px) {
	.faq-note {
		display: block;
	}
}

.faq-note p {
	margin: 0;
	font-family: var(--hand);
	font-size: 1.625rem;
	line-height: 1.1;
	color: var(--ink);
}

.faq-note svg {
	display: block;
	color: var(--grade);
}

.faq-note--top {
	left: 12%;
	top: 2.375rem;
	transform: rotate(-6deg);
}

.faq-note--top svg {
	width: 110px;
	height: 18px;
	margin: .375rem 0 0 3.125rem;
}

.faq-note--bottom {
	right: -1.25rem;
	bottom: -3rem;
	transform: rotate(-12deg);
}

.faq-note--bottom p {
	font-size: 1.4375rem;
}

.faq-note--bottom svg {
	width: 76px;
	height: 14px;
	margin: .25rem 0 0 2.75rem;
}

.faq-burst {
	position: absolute;
	right: -.125rem;
	top: 5.5rem;
	color: var(--grade);
	display: none;
}

@media (min-width: 1080px) {
	.faq-burst {
		display: block;
	}
}

@media (max-width: 560px) {
	.faq-note--bottom {
		display: none;
	}
}

/* photo + quote */
.faq-visual {
	position: relative;
	margin: 0 0 1.125rem;
}

.faq-frame {
	border-radius: 28px;
	overflow: hidden;
	aspect-ratio: 534/365;
	background: var(--paper-2);
	box-shadow: var(--shadow-float);
}

.faq-frame img,
.faq-frame .slot {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.faq-quote {
	position: absolute;
	right: 0;
	bottom: -1.125rem;
	width: min(230px, 42%);
	margin: 0;
	padding: 1.125rem 1.25rem;
	border-radius: 18px;
	background: var(--grade-wash);
	box-shadow: var(--shadow-lift);
}

.faq-quote svg {
	width: 34px;
	height: 26px;
	color: var(--grade);
}

.faq-quote blockquote {
	margin: .75rem 0 .875rem;
	font-size: .9375rem;
	line-height: 1.4;
	color: var(--ink);
}

.faq-quote figcaption {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--ink);
}

.faq-quote figcaption::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--grade);
}

@media (max-width: 760px) {
	.faq-frame {
		aspect-ratio: 4/3;
		border-radius: 20px;
	}
	.faq-quote {
		position: relative;
		right: auto;
		bottom: auto;
		width: auto;
		margin-top: -2.5rem;
		margin-inline: 1rem;
	}
}

/* contact card */
.faq-contact {
	margin-top: 1.875rem;
	padding: 1.375rem 1.5rem 1.125rem;
	background: var(--chalk);
	border: 1px solid var(--rule);
	border-radius: 20px;
	box-shadow: var(--shadow-card);
}

.faq-contact__top {
	display: flex;
	align-items: flex-start;
	gap: 1.875rem;
	margin-bottom: 1.125rem;
}

.faq-headset {
	flex: none;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--ink);
	background: var(--paper-3);
}

.faq-headset svg {
	width: 34px;
	height: 34px;
}

.faq-contact h3 {
	margin: .375rem 0 .5rem;
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: -.015em;
	color: var(--ink);
}

.faq-contact__top p {
	margin: 0;
	font-size: var(--t-sm);
	line-height: 1.5;
	color: var(--slate);
}

.faq-actions {
	display: grid;
	gap: .75rem;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 520px) {
	.faq-actions {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	}
}

.faq-btn {
	min-height: 3.25rem;
	padding: .75rem 1rem;
	font-size: .9375rem;
	white-space: nowrap;
}

.faq-chat-note {
	margin: .875rem 0 0;
	text-align: center;
	font-size: var(--t-sm);
	color: var(--slate-dim);
}

/* trust strip */
.faq-trust {
	list-style: none;
	margin: 1.125rem 0 0;
	padding: 1rem 1.125rem;
	display: grid;
	gap: .875rem;
	grid-template-columns: minmax(0, 1fr);
	border-radius: 18px;
	background: var(--paper-3);
}

@media (min-width: 560px) {
	.faq-trust {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0;
	}
	.faq-trust li + li {
		border-left: 1px solid var(--rule-hard);
		padding-left: .875rem;
	}
	.faq-trust li {
		padding-right: .5rem;
	}
}

.faq-trust li {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: var(--t-sm);
	line-height: 1.35;
	color: var(--ink);
	min-width: 0;
}

.faq-trust span {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--grade);
	background: var(--grade-wash);
}

.faq-trust li:nth-child(2) span {
	color: var(--marker-text);
	background: var(--marker-wash);
}

.faq-trust span svg {
	width: 22px;
	height: 22px;
}

/* ============================================================ FINAL CTA (inner pages)
   Shared with template-parts/pages/final-cta.php — a simple dark banner
   reused on every non-home page. Do not rename: it's outside the homepage
   template tree. The homepage's own final CTA below uses its own .cta-*
   namespace instead so it can carry a much richer layout. */
.final {
	background: var(--ink);
	border-radius: var(--r-frame);
	padding: clamp(2rem, 5vw, 3.5rem);
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: var(--s6);
	align-items: center;
	color: var(--on-ink-hi);
	position: relative;
	overflow: hidden;
}

.final::before {
	content: "";
	position: absolute;
	right: -90px;
	top: -90px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 181, 61, .22), transparent 68%);
}

.final h2 {
	font-size: var(--t-h2);
	position: relative;
}

.final p {
	color: var(--on-ink-2);
	margin-top: var(--s4);
	max-width: 48ch;
	position: relative;
}

.final__acts {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3);
	position: relative;
}

@media (max-width: 820px) {
	.final {
		grid-template-columns: 1fr;
	}
}

/* ============================================================ FINAL CTA (homepage)
   Structure ported 1:1 from the "CTA + footer" design file (checklist +
   social proof + tilted blob photo with handwritten notes), redrawn with
   this theme's own tokens. Reference indigo -> marker, green -> grade. */
.cta-grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

@media (min-width: 1080px) {
	.cta-grid {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
		gap: 1.5rem;
	}
}

.cta-eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.375rem;
	font-size: var(--t-xs);
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--slate-dim);
}

.cta-eyebrow::before {
	content: "";
	flex: none;
	width: 48px;
	height: 3px;
	border-radius: 3px;
	background: var(--marker);
}

.cta-title {
	margin: 0 0 1.875rem;
	font-size: clamp(2.5rem, 5.4vw, 4.375rem);
	line-height: 1;
	letter-spacing: -.045em;
	font-weight: 800;
	color: var(--ink);
}

.cta-title em {
	font-style: normal;
	color: var(--marker-text);
}

.cta-lede {
	margin: 0 0 2.25rem;
	max-width: 54ch;
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	line-height: 1.5;
	color: var(--slate);
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1.125rem;
}

.cta-btn {
	min-height: 3.625rem;
	padding: .875rem 2.375rem;
}

.cta-points {
	list-style: none;
	margin: 2.125rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .875rem 1.625rem;
}

.cta-points li {
	display: flex;
	align-items: center;
	gap: .625rem;
	font-size: var(--t-sm);
	color: var(--ink);
}

.cta-tick {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--chalk);
	background: var(--grade);
}

.cta-tick svg {
	width: 13px;
	height: 13px;
}

@media (max-width: 560px) {
	.cta-points {
		flex-direction: column;
	}
}

/* social proof */
.cta-proof {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin-top: 2.75rem;
	flex-wrap: wrap;
}

.cta-faces {
	display: flex;
}

.cta-faces img,
.cta-faces .slot {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--chalk);
	box-shadow: 0 4px 10px -4px rgba(14, 26, 43, .35);
}

.cta-faces > * + * {
	margin-left: -6px;
}

.cta-rating {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 0 .375rem;
	font-size: var(--t-sm);
	color: var(--slate-dim);
}

.cta-stars {
	display: flex;
	gap: .125rem;
	color: var(--marker);
}

.cta-stars svg {
	width: 19px;
	height: 19px;
}

.cta-proof blockquote {
	margin: 0;
	font-size: var(--t-body);
	color: var(--ink);
}

.cta-proof figcaption {
	display: block;
	margin-top: .25rem;
	font-size: var(--t-sm);
	color: var(--slate-dim);
}

/* photo */
.cta-visual {
	position: relative;
	margin: 0;
	padding: 2rem 0 1.25rem 2.5rem;
}

.cta-blob {
	position: relative;
	aspect-ratio: 462/440;
	border-radius: 64% 36% 42% 58% / 40% 44% 56% 60%;
	overflow: hidden;
	background: var(--paper-2);
	box-shadow: var(--shadow-float);
}

.cta-blob img,
.cta-blob .slot {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta-note {
	position: absolute;
	left: -1.125rem;
	top: 1.125rem;
	z-index: 2;
	width: 168px;
	padding: 1.125rem 1.125rem 1rem;
	border-radius: 16px;
	background: var(--grade-wash);
	box-shadow: var(--shadow-lift);
	transform: rotate(4deg);
}

.cta-note svg:first-child {
	width: 30px;
	height: 30px;
	color: var(--grade);
}

.cta-note p {
	margin: .625rem 0 0;
	font-family: var(--hand);
	font-size: 1.3125rem;
	line-height: 1.12;
	color: var(--ink);
}

.cta-note__u {
	display: block;
	width: 70px;
	height: 10px;
	margin-top: .5rem;
	color: var(--grade);
}

.cta-burst {
	position: absolute;
	left: 40%;
	top: -1rem;
	color: var(--marker);
}

.cta-hand {
	position: absolute;
	right: -2.75rem;
	bottom: .375rem;
	transform: rotate(-12deg);
	pointer-events: none;
}

.cta-hand svg {
	position: absolute;
	left: 36px;
	top: -48px;
	width: 30px;
	height: 40px;
	color: var(--ink);
}

.cta-hand p {
	margin: 0;
	font-family: var(--hand);
	font-size: 1.375rem;
	line-height: 1.12;
	color: var(--ink);
}

@media (max-width: 1279px) {
	.cta-hand {
		display: none;
	}
}

@media (max-width: 560px) {
	.cta-note {
		display: none;
	}
	.cta-visual {
		padding-left: 1.25rem;
	}
	.cta-burst {
		display: none;
	}
}

/* ============================================================ STICKY MOBILE CTA
   Long page. This keeps the one action reachable without a jump-links bar. */
.sticky-cta {
	display: none;
}

@media (max-width: 900px) {
	.sticky-cta {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		gap: .6rem;
		padding: .7rem clamp(1rem, 4vw, 1.5rem) calc(.7rem + env(safe-area-inset-bottom));
		background: rgba(251, 250, 247, .94);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--rule);
	}
	.sticky-cta .btn {
		flex: 1;
	}
	.ftr {
		padding-bottom: 5.5rem;
	}
}

/* ============================================================ IMAGE SLOTS
   Every slot is numbered and maps 1:1 to a prompt in the PRD. */
.slot {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: .25rem;
	background:
		linear-gradient(135deg, rgba(14, 26, 43, .045), rgba(255, 181, 61, .09)),
		repeating-linear-gradient(45deg, transparent 0 9px, rgba(14, 26, 43, .035) 9px 10px);
	padding: .85rem;
	color: var(--ink);
	box-sizing: border-box;
}

.slot b {
	font-family: var(--display);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .02em;
	background: var(--ink);
	color: var(--marker);
	padding: .15rem .45rem;
	border-radius: 4px;
	align-self: flex-start;
}

.slot span {
	font-size: .72rem;
	line-height: 1.35;
	color: var(--slate);
	max-width: 34ch;
}

/* ============================================================ ENQUIRY: PHONE
   Matches .field textarea above, so the phone input reads as part of the same
   form rather than a bolted-on extra. */
.field__input {
	width: 100%;
	background: var(--paper);
	border: 1.5px solid var(--rule-hard);
	border-radius: 12px;
	color: var(--ink);
	padding: .8rem .9rem;
	font: inherit;
	font-size: .94rem;
}

.field__input::placeholder {
	color: var(--slate-dim);
}

.field__input:focus-visible {
	outline: 2px solid var(--tc-focus);
	outline-offset: 2px;
}

/* A missing phone number is the one thing that stops the enquiry, so it is
   marked on the field itself and not only in the message below. */
.field__input[aria-invalid="true"] {
	border-color: var(--danger);
}

.field__hint {
	display: block;
	margin-top: .45rem;
	font-size: .8rem;
	color: var(--slate);
	line-height: 1.5;
}

.match__note {
	margin: .75rem 0 0;
	font-size: .8rem;
	color: var(--slate);
	line-height: 1.5;
}

.match__note--error {
	color: var(--danger);
	font-weight: 600;
}

/* The submit was an <a>; as a <button> it needs the anchor's layout back. */
button.match__submit {
	width: 100%;
	justify-content: center;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS — the moving row of published reviews
   ───────────────────────────────────────────────────────────────────────────
   The section renders only when there are at least 10 approved reviews, so
   none of this is on the page until then (see template-parts/home/testimonials
   .php and inc/reviews.php).

   The movement is one animation on one element: a track holding the cards
   twice over, slid left by exactly half its width and then snapped back. At
   the moment it snaps, the second copy is sitting precisely where the first
   copy started, so the loop has no seam. home.js only sets the duration and
   runs the pause button.
   ═══════════════════════════════════════════════════════════════════════════ */

.testimonials {
	background: var(--chalk);
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	overflow: hidden; /* the track is far wider than the page */
}

.testimonials__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--s4);
	margin-bottom: var(--s6);
}
.testimonials__eyebrow {
	font-size: var(--t-xs);
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--marker-text);
	margin-bottom: var(--s2);
}
.testimonials__heading {
	font-family: var(--display);
	font-size: var(--t-h2);
	line-height: 1.1;
	color: var(--ink);
}
.testimonials__heading-accent {
	color: var(--marker-text);
}

.testimonials__score {
	text-align: right;
	max-width: 22rem;
}
.testimonials__score-line {
	font-size: var(--t-sm);
	color: var(--slate);
	margin-top: .35rem;
}
.testimonials__score-line strong {
	font-family: var(--display);
	font-size: var(--t-h3);
	color: var(--ink);
	margin-right: .25rem;
}
.testimonials__score-note {
	font-size: var(--t-2xs);
	line-height: 1.5;
	color: var(--slate-dim);
	margin-top: .4rem;
}

/* ── Stars ──────────────────────────────────────────────────────────────── */

.stars {
	display: inline-flex;
	gap: .1rem;
	color: var(--rule-hard);
}
.testimonials__score .stars {
	justify-content: flex-end;
}
.stars__star.is-on {
	color: var(--marker);
}

/* ── The moving track ───────────────────────────────────────────────────── */

.testimonials__viewport {
	position: relative;
	/* Fade the cards out at both edges so they leave and arrive rather than
	   being chopped off by the viewport. */
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.testimonials__track {
	display: flex;
	width: max-content;
	/* home.js overrides this from the card count; the fallback keeps a sane
	   speed if the script never runs. */
	animation: tc-testimonial-marquee var(--tc-marquee-duration, 60s) linear infinite;
}

/* Hovering, or tabbing into a card, stops the row. Someone who has started
   reading a review should not have it slide out from under them. */
.testimonials__viewport:hover .testimonials__track,
.testimonials__viewport:focus-within .testimonials__track {
	animation-play-state: paused;
}
/* The explicit pause button, for touch screens where there is no hover. */
.testimonials.is-paused .testimonials__track {
	animation-play-state: paused;
}

@keyframes tc-testimonial-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

.testimonials__list {
	display: flex;
	gap: var(--s4);
	list-style: none;
	margin: 0;
	padding: 0 calc(var(--s4) / 2);
}

/* ── A card ─────────────────────────────────────────────────────────────── */

.testimonial {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--s3);
	flex: 0 0 22rem;
	max-width: 22rem;
	padding: var(--s4);
	background: var(--paper);
	border: 1.5px solid var(--rule);
	border-radius: var(--r-card);
	box-shadow: 0 1px 2px rgba(14, 26, 43, .04), 0 10px 26px rgba(14, 26, 43, .05);
}
.testimonial__mark {
	position: absolute;
	top: var(--s3);
	right: var(--s3);
	color: var(--marker);
	opacity: .35;
}
.testimonial__text {
	font-size: var(--t-body);
	line-height: 1.6;
	color: var(--ink);
	margin: 0;
	/* Reviews vary a lot in length; cap them so the row keeps an even rhythm
	   and one essay does not set the height of every card. */
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.testimonial__by {
	margin-top: auto;
	padding-top: var(--s3);
	border-top: 1px solid var(--rule);
}
.testimonial__by b {
	display: block;
	font-size: var(--t-sm);
	font-weight: 600;
	color: var(--ink);
}
.testimonial__by span {
	display: block;
	font-size: var(--t-xs);
	color: var(--slate-dim);
	margin-top: .15rem;
}

/* ── Foot ───────────────────────────────────────────────────────────────── */

.testimonials__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s3);
	margin-top: var(--s5);
}
.testimonials__pause {
	padding: .4rem .85rem;
	border: 1.5px solid var(--rule-hard);
	border-radius: var(--r-chip);
	background: var(--paper);
	color: var(--slate);
	font-size: var(--t-xs);
	font-weight: 600;
	cursor: pointer;
}
.testimonials__pause:hover {
	border-color: var(--marker);
	color: var(--marker-text);
}
.testimonials__cta {
	font-size: var(--t-sm);
	color: var(--slate);
}
.testimonials__cta a {
	font-weight: 600;
	color: var(--marker-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 760px) {
	.testimonials__head {
		flex-direction: column;
		align-items: flex-start;
	}
	.testimonials__score {
		text-align: left;
	}
	.testimonials__score .stars {
		justify-content: flex-start;
	}
	.testimonial {
		flex-basis: 17.5rem;
		max-width: 17.5rem;
	}
}

/* Reduced motion: no marquee at all. The row becomes an ordinary swipeable
   strip, which is the same content reachable by other means — rather than a
   slower animation, which is still an animation. */
@media (prefers-reduced-motion: reduce) {
	.testimonials__viewport {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}
	.testimonials__track {
		animation: none;
	}
	/* The duplicate half exists only to feed the loop; with the loop gone it
	   is just every review printed twice. */
	.testimonials__list[aria-hidden="true"] {
		display: none;
	}
	.testimonial {
		scroll-snap-align: center;
	}
}

/* ── Hero film ──────────────────────────────────────────────────────────────
   The <video> stands in for the hero photo and inherits its frame, so the
   rule below simply joins the existing img/.slot sizing. Everything here is
   about the film itself and the control that stops it.                     */

.hero__photo video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Centred rather than the photo's 30% 40%: the pupil sits left and the
	   laptop right, and both need to survive the crop. */
	object-position: 50% 50%;
	background: var(--ink);
}

.hero__photo--video {
	position: relative;
}

/* The pause control. Sits inside the picture bottom-right, clear of the
   "example match" card on the top-right corner. */
.hero__video-btn {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	/* Dark pill with a light glyph, because it sits over moving footage and
	   cannot rely on whatever happens to be behind it at the time. */
	background: rgba(14, 26, 43, .62);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	color: #fff;
	cursor: pointer;
	transition: background .15s, transform .15s;
}
.hero__video-btn:hover {
	background: rgba(14, 26, 43, .82);
	transform: scale(1.06);
}
.hero__video-btn:focus-visible {
	outline: 2px solid var(--marker);
	outline-offset: 2px;
}
.hero__video-btn__icon {
	display: inline-flex;
	/* The play triangle reads as off-centre when it is geometrically centred. */
	margin-left: 0;
}
.hero__video-btn[aria-pressed="true"] .hero__video-btn__icon {
	margin-left: 2px;
}

@media (max-width: 1079px) {
	.hero__video-btn {
		right: 10px;
		bottom: 10px;
	}
}

/* Below the two-column breakpoint the picture sits in its own block under the
   copy. The photo used a near-square 4/3.3 there; a 16:9 film in that frame
   loses a third of itself sideways, so the film gets its own shape and is
   shown more or less whole. */
@media (max-width: 1079px) {
	.hero__photo--video {
		aspect-ratio: 16 / 9;
	}
}

/* ── Consultation form: the two groups ─────────────────────────────────────
   The form asks about two different people. Before it was one undivided run
   of questions, which is how "your name" and "their name" end up ambiguous. */

.match__legend {
	margin: var(--s5) 0 var(--s3);
	padding-bottom: .45rem;
	border-bottom: 1px solid var(--rule);
	font-size: var(--t-xs);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--marker-text);
}
.match__legend:first-of-type {
	margin-top: var(--s3);
}

/* The school-year dropdown. Matches .field__input, minus the native arrow. */
.field__select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	/* Room for the chevron drawn below. */
	padding-right: 2.2rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2 3.5L5 6.5L8 3.5' stroke='%235A6B82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .9rem center;
}
.field__select:invalid {
	color: var(--slate-dim); /* the "Please choose…" placeholder option */
}

/* A required chip group the parent skipped. The chips keep their own styling;
   only the group is marked, so no individual option looks wrong. */
.opts[data-match-invalid] {
	outline: 2px solid var(--danger);
	outline-offset: 6px;
	border-radius: var(--r-card);
}
