/* ==========================================================================
   Dr. Anthony Farole — theme styles
   --------------------------------------------------------------------------
   Sizing system: every dimension is written in Figma pixels multiplied by
   var(--s), "one design pixel".
     • ≥1024px : desktop artboard (1920 wide) → --s = min(1px, 100vw / 1920)
     • ≤1023px : mobile artboard (550 wide)   → --s = min(1px, 100vw / 550)
   So the layout matches the Figma frames exactly at 1920px and 550px and
   scales proportionally in between. Body copy has pixel floors so it never
   drops below a comfortable reading size.
   ========================================================================== */

/* Tokens (from the Figma variables) ---------------------------------------- */
:root {
	--c-accent: #ad8548;
	--c-accent-light: #c8aa6e;
	--c-accent-strong: #97630f;
	--c-bg: #f8f6f2;
	--c-subtle: #ece9e4;
	--c-surface: #fff;
	--c-inverse: #1e1e1e;
	--c-inverse-muted: #f8f6f2;
	--c-text: #1e1e1e;
	--c-muted: #747c8b;
	--c-field: #364153;
	--c-border: #c7c5b9;
	--c-success: #146b47;
	--overlay: rgba(0, 0, 0, .45);
	--overlay-strong: rgba(0, 0, 0, .6);
	--glass: rgba(255, 255, 255, .1);
	--glass-border: rgba(255, 255, 255, .6);
	--grad-dark: linear-gradient(-87deg, #444 19.994%, #090909 84.8%);
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 14px;
	--font: "Afacad", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--s: min(1px, 100vw / 1920);
	--gutter: calc(90 * var(--s));

	/* Text scales with the artboard like everything else, but never drops
	   below 17px on desktop (16px at ≤1023px, below). */
	--fs-body: max(17px, calc(22 * var(--s)));
	--lh-body: 1.318;
	--fs-button: max(17px, calc(22 * var(--s)));
	--fs-chip: max(17px, calc(17 * var(--s)));
	--fs-eyebrow: max(17px, calc(22 * var(--s)));
	--fs-lead: max(17px, calc(25 * var(--s)));
	--fs-small: max(17px, calc(17 * var(--s)));
	--fs-h3: max(19px, calc(30 * var(--s)));
	--fs-h5: max(17px, calc(25 * var(--s)));
}

@media (max-width: 1023px) {
	:root {
		--s: min(1px, 100vw / 550);
		--gutter: calc(35 * var(--s));
		--fs-body: max(16px, calc(22 * var(--s)));
		--fs-button: max(16px, calc(22 * var(--s)));
		--fs-button-mobile: max(16px, calc(25 * var(--s)));
		--fs-chip: max(16px, calc(17 * var(--s)));
		--fs-eyebrow: max(16px, calc(22 * var(--s)));
		--fs-lead: max(16px, calc(25 * var(--s)));
		--fs-small: max(16px, calc(17 * var(--s)));
		--fs-h3: max(18px, calc(30 * var(--s)));
		--fs-h5: max(16px, calc(22 * var(--s)));
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, address, blockquote {
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
}

address {
	font-style: normal;
}

img,
video,
picture {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
}

button {
	font: inherit;
}

:focus-visible {
	outline: 2px solid var(--c-accent-light);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	top: 12px;
	left: 12px;
	z-index: 1000;
	background: var(--c-surface);
	color: var(--c-text);
	border-radius: var(--radius-sm);
}

.site-main {
	/* clip (not hidden) so position: sticky keeps working inside. */
	overflow-x: hidden;
	overflow-x: clip;
}

.site-main [id] {
	scroll-margin-top: calc(130 * var(--s));
}

.has-solid-header .site-main {
	padding-top: calc(157 * var(--s));
}

@media (max-width: 1023px) {
	.has-solid-header .site-main {
		padding-top: calc(115 * var(--s));
	}
}

/* Type --------------------------------------------------------------------- */
.t-hero,
.t-display-l,
.t-display-m {
	font-weight: 600;
}

.t-hero {
	font-size: calc(130 * var(--s));
	line-height: .8;
	letter-spacing: -.0462em;
}

.t-display-l {
	font-size: calc(110 * var(--s));
	line-height: .7727;
	letter-spacing: -.0545em;
}

.t-display-m {
	font-size: calc(90 * var(--s));
	line-height: .8333;
	letter-spacing: -.0444em;
}

/* Page titles (Figma: Display/XL). */
.t-display-xl {
	font-size: calc(130 * var(--s));
	font-weight: 600;
	line-height: .8;
	letter-spacing: -.0462em;
}

@media (max-width: 1023px) {
	.t-hero {
		font-size: calc(64 * var(--s));
		line-height: .8594;
		letter-spacing: -.03125em;
	}

	.t-display-l,
	.t-display-m,
	.t-display-xl {
		font-size: calc(56 * var(--s));
		line-height: .8036;
		letter-spacing: -.0536em;
	}
}

/* Dark gradient headline text; *accent* words switch to gold. */
.t-gradient {
	background-image: var(--grad-dark);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	/* Keep descenders inside the clipped area. */
	padding-bottom: .08em;
}

.accent {
	color: var(--c-accent-light);
}

.rich > * + * {
	margin-top: 1em;
}

.rich a {
	text-decoration: underline;
	text-decoration-color: var(--c-accent-light);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
	transition: color .2s;
}

.rich a:hover {
	color: var(--c-accent);
}

.rich strong,
.rich b,
.trust-card strong,
.checklist strong {
	font-weight: 600;
}

.rich ul,
.rich ol {
	padding-left: 1.2em;
}

/* Buttons (Figma component: Button) ---------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: calc(10 * var(--s));
	padding: calc(21 * var(--s)) calc(35 * var(--s));
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--c-accent);
	color: #fff;
	font-size: var(--fs-button);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.045em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: filter .2s ease, background-color .2s ease;
}

.btn__icon {
	flex: none;
	width: max(8px, calc(9 * var(--s)));
	height: auto;
	transition: transform .2s ease;
}

.btn:hover {
	filter: brightness(1.08);
}

.btn:hover .btn__icon {
	transform: translateX(3px);
}

.btn--dark {
	background: var(--grad-dark);
}

.btn--dark:hover {
	filter: brightness(1.3);
}

.btn--glass {
	background: var(--glass);
	box-shadow: inset 0 0 0 .5px var(--glass-border);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
}

.btn--glass:hover {
	filter: none;
	background: rgba(255, 255, 255, .18);
}

.btn--surface {
	background: var(--c-surface);
	color: var(--c-text);
}

.btn--surface:hover {
	filter: none;
	background: var(--c-bg);
}

.btn--brown {
	background: var(--c-accent-strong);
}

.btn--success {
	background: var(--c-success);
}

.btn--header {
	padding: calc(16 * var(--s)) calc(25 * var(--s));
}

.btn--sm {
	padding: calc(13 * var(--s)) calc(25 * var(--s));
	font-size: var(--fs-small);
	line-height: 1;
}

.btn--sm .btn__icon {
	margin-left: calc(8 * var(--s));
}

@media (max-width: 1023px) {
	.btn {
		white-space: normal;
		text-align: left;
	}
}

/* Header (Figma: Header / Header Mobile) ----------------------------------- */
.site-header {
	--header-offset: calc(18 * var(--s));
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--header-offset));
	left: 0;
	right: 0;
	z-index: 100;
	color: #fff;
	transition: top .3s ease, background-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}

.site-header--dark {
	color: var(--c-text);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 1920px;
	height: calc(139 * var(--s));
	margin-inline: auto;
	padding: calc(25 * var(--s)) var(--gutter);
	transition: height .3s ease;
}

.site-header__logo {
	display: block;
	flex: none;
	text-decoration: none;
}

.site-header__logo .logo {
	width: auto;
	height: max(42px, calc(75 * var(--s)));
}

.site-header--light .logo--dark,
.site-header--dark .logo--light {
	display: none;
}

.site-header__name {
	font-size: var(--fs-h3);
	font-weight: 600;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: calc(20 * var(--s));
}

.phone-link {
	display: inline-flex;
	align-items: center;
	gap: calc(10 * var(--s));
	color: inherit;
	font-size: var(--fs-button);
	line-height: 1;
	letter-spacing: -.045em;
	text-decoration: none;
	white-space: nowrap;
}

.phone-link__icon {
	flex: none;
	width: max(12px, calc(15 * var(--s)));
	height: auto;
}

.phone-link:hover span {
	text-decoration: underline;
	text-underline-offset: .2em;
}

.site-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	margin-right: -10px;
	padding: 10px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.site-header__toggle svg {
	width: max(26px, calc(32 * var(--s)));
	height: auto;
}

.site-header__toggle .icon-close,
.site-header__toggle[aria-expanded="true"] .icon-menu {
	display: none;
}

.site-header__toggle[aria-expanded="true"] .icon-close {
	display: block;
}

.site-header.is-scrolled {
	--header-offset: 0px;
	background: rgba(30, 30, 30, .78);
	-webkit-backdrop-filter: blur(12.5px);
	backdrop-filter: blur(12.5px);
}

.site-header--dark.is-scrolled {
	background: rgba(248, 246, 242, .88);
}

.site-header.is-scrolled .site-header__inner {
	height: calc(110 * var(--s));
}

/* While the mobile menu is open the header sits on the dark panel. */
.menu-open .site-header {
	color: #fff;
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.menu-open .site-header .logo--light {
	display: block;
}

.menu-open .site-header .logo--dark {
	display: none;
}

@media (max-width: 1023px) {
	.site-header {
		--header-offset: 0px;
	}

	.site-header__inner,
	.site-header.is-scrolled .site-header__inner {
		height: calc(115 * var(--s));
		padding: calc(20 * var(--s)) var(--gutter);
	}

	.site-header__actions {
		display: none;
	}

	.site-header__toggle {
		display: inline-flex;
	}
}

/* Mobile menu panel -------------------------------------------------------- */
.site-menu {
	position: fixed;
	inset: 0;
	z-index: 99;
	display: flex;
	flex-direction: column;
	gap: calc(50 * var(--s));
	overflow-y: auto;
	padding: calc(var(--wp-admin--admin-bar--height, 0px) + 150 * var(--s)) var(--gutter) calc(140 * var(--s));
	background: var(--c-inverse);
	color: #fff;
}

.site-menu[hidden] {
	display: none;
}

.site-menu__nav ul {
	display: flex;
	flex-direction: column;
	gap: calc(18 * var(--s));
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-menu__nav a {
	font-size: max(28px, calc(44 * var(--s)));
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.03em;
	text-decoration: none;
}

.site-menu__nav a:hover,
.site-menu__nav .current-menu-item > a {
	color: var(--c-accent-light);
}

.site-menu__nav .sub-menu {
	margin-top: calc(14 * var(--s));
	padding-left: 1em;
}

.site-menu__nav .sub-menu a {
	font-size: var(--fs-lead);
	font-weight: 400;
}

.site-menu__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(25 * var(--s));
	margin-top: auto;
}

@media (min-width: 1024px) {
	.site-menu {
		display: none !important;
	}
}

/* Persistent CTAs ---------------------------------------------------------- */
.floating-cta {
	position: fixed;
	right: calc(44 * var(--s));
	bottom: calc(38 * var(--s));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: calc(25 * var(--s));
	padding: calc(10 * var(--s)) calc(10 * var(--s)) calc(10 * var(--s)) calc(30 * var(--s));
	border-radius: var(--radius-sm);
	background: var(--c-accent-strong);
	color: #fff;
	font-size: max(18px, calc(30 * var(--s)));
	line-height: 1;
	letter-spacing: -.033em;
	text-decoration: none;
	transition: filter .2s ease;
}

.floating-cta:hover {
	filter: brightness(1.1);
}

.floating-cta__icon {
	display: grid;
	place-items: center;
	width: max(46px, calc(71 * var(--s)));
	aspect-ratio: 1;
	border-radius: var(--radius-md);
	background: var(--c-bg);
}

.floating-cta__icon svg {
	width: 51%;
	height: auto;
}

.mobile-bar {
	display: none;
}

@media (max-width: 1023px) {
	.floating-cta {
		display: none;
	}

	.mobile-bar {
		position: fixed;
		left: calc(12 * var(--s));
		right: calc(12 * var(--s));
		bottom: calc(12 * var(--s) + env(safe-area-inset-bottom, 0px));
		z-index: 90;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		gap: calc(17 * var(--s));
	}

	.btn--mobile {
		justify-content: center;
		padding: calc(30 * var(--s)) calc(20 * var(--s));
		border-radius: var(--radius-md);
		color: var(--c-inverse-muted);
		font-size: var(--fs-button-mobile);
		line-height: 1.16;
		letter-spacing: -.04em;
		text-align: center;
	}

	.menu-open .mobile-bar {
		display: none;
	}
}

/* Decorative swirls (Figma: Decorative Shape 1–3) -------------------------- */
.deco {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background: center / contain no-repeat;
}

.deco--gallery {
	top: calc(-284 * var(--s));
	left: calc(50% - 3 * var(--s));
	width: calc(1148 * var(--s));
	height: calc(1299 * var(--s));
	background-image: url("../svg/deco-swirl-lg.svg");
}

.deco--trust {
	top: calc(-330 * var(--s));
	left: calc(50% + 267 * var(--s));
	width: calc(600 * var(--s));
	height: calc(680 * var(--s));
	background-image: url("../svg/deco-swirl.svg");
}

.deco--consult {
	top: calc(-191 * var(--s));
	left: calc(50% - 959 * var(--s));
	width: calc(600 * var(--s));
	height: calc(680 * var(--s));
	background-image: url("../svg/deco-swirl.svg");
}

@media (max-width: 1023px) {
	.deco {
		display: none;
	}
}

/* Hero --------------------------------------------------------------------- */
.hero {
	position: relative;
	z-index: 1;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: calc(1107 * var(--s));
	overflow: hidden;
	background: var(--c-inverse);
	color: #fff;
}

.hero__media,
.proc-slide__media,
.closing__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__media img,
.hero__media video,
.proc-slide__media img,
.closing__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__media picture,
.proc-slide__media picture,
.closing__media picture {
	height: 100%;
}

.hero__video {
	position: absolute;
	inset: 0;
}

.hero__media::after,
.proc-slide__media::after,
.closing__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--overlay);
}

.hero__media::after {
	background: var(--overlay-strong);
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(10 * var(--s));
	width: min(100% - 2 * var(--gutter), calc(1281 * var(--s)));
	margin: calc(290 * var(--s)) auto 0;
	text-align: center;
}

.hero__eyebrow {
	color: var(--c-accent-light);
	font-size: var(--fs-eyebrow);
	font-weight: 500;
	line-height: 1.636;
	letter-spacing: -.045em;
}

.hero__text {
	max-width: 25.5em;
	font-size: var(--fs-lead);
	line-height: 1.16;
	letter-spacing: -.04em;
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: calc(10 * var(--s));
	padding-top: calc(25 * var(--s));
}

.hero__logos {
	margin-top: auto;
	padding: calc(80 * var(--s)) 0 calc(65 * var(--s));
}

@media (max-width: 1023px) {
	.hero {
		justify-content: flex-end;
		min-height: calc(1008 * var(--s));
	}

	/* Fill the first screen and leave the logo strip just above the
	   pinned button bar, as in the mobile artboard. */
	.has-mobile-bar .hero {
		min-height: max(calc(1008 * var(--s)), calc(100vh - 53 * var(--s)));
		min-height: max(calc(1008 * var(--s)), calc(100svh - 53 * var(--s)));
	}

	.hero__content {
		align-items: flex-start;
		gap: calc(15 * var(--s));
		width: auto;
		margin: calc(160 * var(--s)) var(--gutter) calc(47 * var(--s));
		text-align: left;
	}

	.hero__eyebrow {
		line-height: 1.318;
		letter-spacing: 0;
	}

	.hero__text {
		max-width: none;
	}

	.hero__buttons {
		display: none;
	}

	.hero__logos {
		margin-top: 0;
		padding: 0 0 calc(62 * var(--s));
	}
}

/* Logo strip (Figma: Logo Strip) ------------------------------------------- */
.logo-strip {
	overflow: hidden;
	opacity: .51;
}

.logo-strip__track {
	display: flex;
	width: max-content;
	max-width: 100%;
	margin-inline: auto;
}

.logo-strip__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: calc(20 * var(--s)) calc(40 * var(--s));
	margin: 0;
	padding: 0 var(--gutter);
	list-style: none;
}

.logo-strip__list[aria-hidden] {
	display: none;
}

.logo-strip img {
	width: auto;
	max-width: none;
	height: calc(var(--h, 40) * var(--s));
}

@media (max-width: 1023px) {
	.logo-strip__track {
		max-width: none;
		margin: 0;
		animation: dfa-marquee 32s linear infinite;
	}

	.logo-strip__list,
	.logo-strip__list[aria-hidden] {
		display: flex;
		flex-wrap: nowrap;
		padding: 0 calc(40 * var(--s)) 0 0;
	}

	.logo-strip img {
		height: calc(var(--h, 40) * .88 * var(--s));
	}
}

@keyframes dfa-marquee {
	to {
		transform: translateX(-50%);
	}
}

/* Before & after (Figma: Gallery Intro Section) ---------------------------- */
.gallery {
	position: relative;
	padding-top: calc(134 * var(--s));
}

.gallery__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(50 * var(--s));
	width: min(100% - 2 * var(--gutter), calc(1180 * var(--s)));
	margin-inline: auto;
}

.gallery__title {
	max-width: calc(954 * var(--s));
	margin-bottom: calc(22 * var(--s));
	text-align: center;
}

.gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: calc(9.5 * var(--s));
	width: min(100%, calc(1104 * var(--s)));
	margin: 0;
	padding: 0;
	list-style: none;
}

.ba-card {
	display: block;
	color: #fff;
	text-decoration: none;
}

.ba-card__images {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.ba-card__image img {
	width: 100%;
	aspect-ratio: 180.7 / 181.8;
	object-fit: cover;
}

.ba-card__image:first-child img {
	border-top-left-radius: var(--radius-sm);
}

.ba-card__image:last-child img {
	border-top-right-radius: var(--radius-sm);
}

.ba-card__label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(56.5 * var(--s));
	padding: calc(16 * var(--s)) calc(20 * var(--s));
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	background: var(--c-accent-light);
	font-size: var(--fs-button);
	line-height: 1.1;
	letter-spacing: -.045em;
	text-align: center;
	transition: background-color .2s ease;
}

a.ba-card:hover .ba-card__label {
	background: var(--c-accent);
}

@media (max-width: 1023px) {
	.gallery {
		padding-top: calc(92 * var(--s));
	}

	.gallery__inner {
		align-items: flex-start;
		width: auto;
		margin-inline: var(--gutter);
	}

	.gallery__title {
		max-width: none;
		margin-bottom: 0;
		text-align: left;
	}

	.gallery__grid {
		grid-template-columns: 1fr;
		gap: calc(35 * var(--s));
		width: 100%;
	}

	.ba-card__label {
		min-height: calc(75 * var(--s));
	}
}

/* Split image / text sections (Figma: Doctor Feature, Doctor Bio) ---------- */
.feature {
	margin-top: calc(204 * var(--s));
}

.bio {
	margin-top: calc(247 * var(--s));
}

.split__inner {
	display: flex;
	align-items: center;
	gap: calc(150 * var(--s));
	max-width: 1920px;
	margin-inline: auto;
	padding-right: calc(90 * var(--s));
}

.split__media {
	flex: 0 0 calc(858 * var(--s));
}

.split__media img {
	width: 100%;
	aspect-ratio: 858 / 1017;
	object-fit: cover;
}

.split__content {
	display: flex;
	flex: 0 1 calc(823 * var(--s));
	flex-direction: column;
	align-items: flex-start;
	gap: calc(40 * var(--s));
	min-width: 0;
}

.split__text {
	display: flex;
	flex-direction: column;
	gap: calc(20 * var(--s));
}

.split__body {
	max-width: 36em;
}

.bio__title {
	max-width: calc(750 * var(--s));
}

.checklist {
	display: flex;
	flex-direction: column;
	gap: calc(15 * var(--s));
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	position: relative;
	padding-left: max(21px, calc(25 * var(--s)));
}

.checklist li::before {
	content: "";
	position: absolute;
	top: .3em;
	left: 0;
	width: max(13px, calc(15 * var(--s)));
	aspect-ratio: 1;
	background: url("../svg/check.svg") center / contain no-repeat;
}

@media (max-width: 1023px) {
	.feature,
	.bio {
		margin-top: calc(120 * var(--s));
	}

	.split__inner {
		flex-direction: column;
		align-items: stretch;
		gap: calc(75 * var(--s));
		padding: 0 var(--gutter);
	}

	.split__media {
		flex: none;
	}

	.split__media img {
		border-radius: var(--radius-md);
	}

	.split__media--hide-mobile {
		display: none;
	}

	.split__content {
		flex: none;
	}

	.split__body,
	.bio__title {
		max-width: none;
	}
}

/* Procedure slides (Figma: Procedure Slides) ------------------------------- */
.procedures {
	margin-top: calc(200 * var(--s));
}

.procedures__list {
	display: flex;
	flex-direction: column;
	gap: calc(50 * var(--s));
	max-width: 1920px;
	margin-inline: auto;
	padding-inline: calc(51 * var(--s));
}

.proc-slide {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: calc(919 * var(--s));
	overflow: hidden;
	color: #fff;
}

.proc-slide__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: calc(20 * var(--s));
	padding: calc(80 * var(--s)) calc(77 * var(--s)) calc(40 * var(--s));
}

.proc-slide__title {
	max-width: calc(881 * var(--s));
}

.proc-slide__text {
	max-width: 30.1em;
}

.proc-slide__badges {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--overlay);
	-webkit-backdrop-filter: blur(30px);
	backdrop-filter: blur(30px);
}

.proc-slide__badges[data-cols] {
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
}

.proc-slide__badges > li {
	display: flex;
	flex: 1 1 auto;
}

.badge {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-height: calc(66 * var(--s));
	padding: calc(20 * var(--s)) calc(25 * var(--s));
	border-top: .5px solid var(--glass-border);
	border-right: .5px solid var(--glass-border);
	color: #fff;
	font-size: var(--fs-button);
	line-height: 1.1;
	letter-spacing: -.045em;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease;
}

a.badge:hover {
	background: rgba(255, 255, 255, .14);
}

/* Stacking cards: each slide pins below the header while the next one slides
   up over it; the covered slide eases back and dims (--p, 0→1, set by JS).
   --i is the slide's index; a few pixels of each earlier slide stay visible
   above the next, so the stack reads as a pile. Desktop layout only. */
@media (min-width: 1024px) {
	.procedures--stack .procedures__list {
		--stack-top: calc(130 * var(--s));
		--stack-peek: 14px;
		gap: calc(80 * var(--s));
	}

	/* Room after the last slide, so the finished stack holds for a moment
	   before it scrolls away (sticky items can't outlast their container). */
	.procedures--stack .procedures__list::after {
		content: "";
		flex: none;
		height: 30vh;
		margin-top: calc(-80 * var(--s));
	}

	.procedures--stack .proc-slide {
		position: sticky;
		/* If the pile wouldn't fit below the header, the whole pile moves up
		   so the procedure links along each slide's bottom stay visible. */
		top: calc(
			min(
				var(--stack-top),
				100vh - var(--h, 0px) - 16px - (var(--n, 1) - 1) * var(--stack-peek)
			) + var(--i, 0) * var(--stack-peek)
		);
		transform-origin: 50% 0;
		transform: scale(calc(1 - .05 * var(--p, 0)));
		will-change: transform;
	}

	.procedures--stack .proc-slide + .proc-slide {
		box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .5);
	}

	.procedures--stack .proc-slide::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;
		pointer-events: none;
		background: #0b0b0b;
		opacity: calc(.55 * var(--p, 0));
	}
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
	.procedures--stack .proc-slide {
		transform: none;
		will-change: auto;
	}
}

@media (max-width: 1023px) {
	.procedures {
		margin-top: calc(120 * var(--s));
	}

	.procedures__list {
		gap: 0;
		padding: 0;
	}

	.proc-slide {
		justify-content: flex-end;
		min-height: calc(1056 * var(--s));
		padding-top: calc(246 * var(--s));
	}

	.proc-slide__body {
		flex: none;
		padding: 0 var(--gutter) calc(50 * var(--s));
	}

	.proc-slide__title,
	.proc-slide__text {
		max-width: none;
	}

	.proc-slide__badges,
	.proc-slide__badges[data-cols] {
		display: grid;
		grid-template-columns: 1fr;
	}

	.proc-slide__badges[data-cols] {
		grid-template-columns: 1fr 1fr;
	}

	.badge {
		border-right: 0;
	}

	.proc-slide__badges[data-cols] > li:nth-child(odd) .badge {
		border-right: .5px solid var(--glass-border);
	}
}

/* Reviews (Figma: Reviews Section, Review Card) ---------------------------- */
.reviews {
	margin-top: calc(198 * var(--s));
}

.reviews__head {
	width: min(100% - 2 * var(--gutter), calc(1740 * var(--s)));
	margin-inline: auto;
}

.reviews__eyebrow {
	margin-bottom: calc(24 * var(--s));
	color: var(--c-accent-light);
	font-size: var(--fs-h5);
	font-weight: 500;
	line-height: 1;
}

.reviews__quote {
	max-width: calc(1393 * var(--s));
}

.reviews__wall {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: calc(35 * var(--s));
	width: min(100% - 2 * var(--gutter), calc(1740 * var(--s)));
	height: calc(804 * var(--s));
	margin: calc(91 * var(--s)) auto 0;
	overflow: hidden;
}

.reviews__wall::before,
.reviews__wall::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	z-index: 2;
	height: calc(260 * var(--s));
	pointer-events: none;
	background: linear-gradient(to bottom, var(--c-bg) 6.6%, rgba(248, 246, 242, 0));
}

.reviews__wall::before {
	top: 0;
}

.reviews__wall::after {
	bottom: 0;
	transform: scaleY(-1);
}

.reviews__set {
	display: flex;
	flex-direction: column;
	gap: calc(40 * var(--s));
	padding-bottom: calc(40 * var(--s));
}

.reviews__set[aria-hidden] {
	display: none;
}

/* Static layout: the staggered columns from the design. */
.reviews__col:nth-child(1) .reviews__track {
	transform: translateY(calc(9 * var(--s)));
}

.reviews__col:nth-child(2) .reviews__track {
	transform: translateY(calc(-289 * var(--s)));
}

.reviews__col:nth-child(3) .reviews__track {
	transform: translateY(calc(-79.5 * var(--s)));
}

.reviews__wall.is-animated .reviews__set[aria-hidden] {
	display: flex;
}

.reviews__wall.is-animated .reviews__track {
	animation: dfa-scroll var(--dur, 60s) linear infinite;
	will-change: transform;
}

.reviews__wall.is-animated .reviews__col:nth-child(2) .reviews__track {
	animation-direction: reverse;
	animation-delay: calc(var(--dur, 60s) * -.3);
}

.reviews__wall.is-animated .reviews__col:nth-child(3) .reviews__track {
	animation-delay: calc(var(--dur, 60s) * -.6);
}

.reviews__wall.is-animated:hover .reviews__track,
.reviews__wall.is-animated:focus-within .reviews__track,
.reviews__wall.is-paused .reviews__track {
	animation-play-state: paused;
}

@keyframes dfa-scroll {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-50%);
	}
}

.reviews__cta {
	display: flex;
	justify-content: center;
	margin-top: calc(33 * var(--s));
}

.review-card {
	display: flex;
	flex-direction: column;
	gap: calc(20 * var(--s));
	padding: calc(50 * var(--s));
	border-radius: var(--radius-md);
	background: var(--c-subtle);
}

.review-card__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(15 * var(--s));
}

.review-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: calc(10 * var(--s));
	color: var(--c-muted);
}

.review-card__tag {
	padding: calc(10 * var(--s)) calc(15 * var(--s));
	background: var(--c-accent);
	color: #fff;
	font-size: var(--fs-chip);
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.review-card__dot {
	font-size: var(--fs-chip);
}

.review-card__timing {
	line-height: 1;
}

.review-card__title {
	color: var(--c-field);
	font-size: var(--fs-h3);
	line-height: 1.0667;
	letter-spacing: -.033em;
}

.stars {
	display: inline-flex;
	gap: calc(4.25 * var(--s));
	color: var(--c-border);
}

.stars .star {
	width: max(11px, calc(14 * var(--s)));
	height: auto;
}

.stars .is-filled {
	color: var(--c-accent);
}

.review-card__source {
	display: flex;
	align-items: center;
	gap: calc(15 * var(--s));
	margin-top: calc(5 * var(--s));
	padding-top: calc(25.5 * var(--s));
	border-top: .5px solid var(--c-border);
}

.review-card__source img {
	flex: none;
	width: auto;
	height: max(19px, calc(24 * var(--s)));
}

.review-card__source a {
	text-underline-offset: .2em;
}

@media (max-width: 1023px) {
	.reviews {
		margin-top: calc(120 * var(--s));
	}

	.reviews__head {
		width: auto;
		margin-inline: var(--gutter);
	}

	.reviews__eyebrow {
		margin-bottom: calc(25 * var(--s));
		font-size: var(--fs-small);
		font-weight: 600;
	}

	.reviews__quote {
		max-width: none;
	}

	/* Phones: one swipeable row of cards. */
	.reviews__wall {
		display: flex;
		align-items: stretch;
		gap: calc(15 * var(--s));
		width: auto;
		height: auto;
		margin: calc(35 * var(--s)) 0 0;
		padding: 0 var(--gutter);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}

	.reviews__wall::-webkit-scrollbar {
		display: none;
	}

	.reviews__wall::before,
	.reviews__wall::after {
		display: none;
	}

	.reviews__wall .reviews__col,
	.reviews__wall .reviews__track,
	.reviews__wall .reviews__set {
		display: contents;
	}

	.reviews__wall .reviews__set[aria-hidden],
	.reviews__wall.is-animated .reviews__set[aria-hidden],
	.reviews__wall .review-card[aria-hidden] {
		display: none;
	}

	.reviews__wall .review-card {
		flex: 0 0 100%;
		scroll-snap-align: start;
	}

	/* Cards share the tallest card's height; keep the source line at the foot. */
	.reviews__wall .review-card__source {
		margin-top: auto;
	}

	.reviews__cta {
		justify-content: flex-start;
		margin: calc(35 * var(--s)) var(--gutter) 0;
	}
}

/* Why trust us (Figma: Trust Section, Trust Card) -------------------------- */
.trust {
	position: relative;
	margin-top: calc(200 * var(--s));
}

.trust__inner {
	position: relative;
	z-index: 1;
	width: min(100% - 2 * var(--gutter), calc(1741 * var(--s)));
	margin-inline: auto;
}

.trust__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(5 * var(--s));
	text-align: center;
}

.trust__title {
	max-width: calc(1291 * var(--s));
}

.trust__intro {
	max-width: 38.8em;
}

.trust__cards {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: calc(20 * var(--s));
	margin: calc(78 * var(--s)) 0 0;
	padding: 0;
	list-style: none;
}

.trust-card {
	display: flex;
	flex-direction: column;
	gap: calc(25 * var(--s));
	min-height: calc(250 * var(--s));
	padding: calc(40 * var(--s)) calc(45 * var(--s));
	border-radius: var(--radius-lg);
	background: var(--c-inverse);
	color: #fff;
}

.trust-card__icon {
	width: max(26px, calc(32 * var(--s)));
	height: max(26px, calc(32 * var(--s)));
	object-fit: contain;
}

.trust__image {
	position: relative;
	margin-top: calc(-145 * var(--s));
}

.trust__image img {
	width: 100%;
	aspect-ratio: 1741 / 776;
	object-fit: cover;
	/* Bias the crop toward the top of group photos, where the faces are. */
	object-position: 50% 32%;
	border-radius: var(--radius-md);
}

@media (max-width: 1023px) {
	.trust {
		margin-top: calc(120 * var(--s));
	}

	.trust__inner {
		width: auto;
		margin-inline: var(--gutter);
	}

	.trust__head {
		align-items: flex-start;
		gap: calc(20 * var(--s));
		text-align: left;
	}

	.trust__title,
	.trust__intro {
		max-width: none;
	}

	.trust__cards {
		grid-template-columns: 1fr;
		margin-top: calc(45 * var(--s));
	}

	.trust-card {
		min-height: 0;
		padding: calc(25 * var(--s));
	}

	.trust__image {
		margin-top: calc(45 * var(--s));
	}

	.trust__image img {
		aspect-ratio: 480 / 285;
		border-radius: var(--radius-lg);
	}
}

/* Consultation prompt (Figma: Consultation Prompt Section) ----------------- */
.consult {
	position: relative;
	margin-top: calc(262 * var(--s));
}

.consult__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(45 * var(--s));
	width: min(100% - 2 * var(--gutter), calc(966 * var(--s)));
	margin-inline: auto;
	text-align: center;
}

@media (max-width: 1023px) {
	.consult {
		margin-top: calc(120 * var(--s));
	}

	.consult__inner {
		align-items: flex-start;
		width: auto;
		margin-inline: var(--gutter);
		text-align: left;
	}
}

/* Service area (Figma: Service Area Section) ------------------------------- */
.area {
	margin-top: calc(134 * var(--s));
}

.area__inner {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100% - 2 * var(--gutter), calc(1580 * var(--s)));
	min-height: calc(721 * var(--s));
	margin-inline: auto;
	padding-top: calc(184 * var(--s));
	text-align: center;
}

.area__shape {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: -1;
	width: calc(680 * var(--s));
	height: calc(721 * var(--s));
	transform: translateX(calc(-50% + 23 * var(--s)));
}

.area__shape img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.area__title {
	max-width: calc(1289 * var(--s));
}

.area__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: calc(35 * var(--s));
	max-width: calc(1209 * var(--s));
	margin: calc(45 * var(--s)) 0 0;
	padding: 0;
	list-style: none;
}

.area__item {
	display: flex;
	align-items: center;
	gap: calc(15 * var(--s));
	min-width: calc(145 * var(--s));
	line-height: 1;
	white-space: nowrap;
}

.area__item::before {
	content: "";
	flex: none;
	width: max(13px, calc(17 * var(--s)));
	aspect-ratio: 1;
	background: url("../svg/pin.svg") center / contain no-repeat;
}

.area__item a {
	text-decoration: none;
}

.area__item a:hover {
	color: var(--c-accent);
}

@media (max-width: 1023px) {
	.area {
		margin-top: calc(165 * var(--s));
	}

	.area__inner {
		align-items: flex-start;
		width: auto;
		min-height: calc(560 * var(--s));
		margin-inline: var(--gutter);
		padding-top: calc(63 * var(--s));
		text-align: left;
	}

	.area__shape {
		top: calc(-13 * var(--s));
		left: calc(-54 * var(--s));
		width: calc(577 * var(--s));
		height: calc(612 * var(--s));
		transform: none;
	}

	.area__title,
	.area__list {
		max-width: none;
	}

	.area__list {
		justify-content: flex-start;
		margin-top: calc(42 * var(--s));
	}
}

/* Closing CTA (Figma: Ready To Start Section) ------------------------------ */
.closing {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: calc(944 * var(--s));
	margin-top: calc(200 * var(--s));
	overflow: hidden;
	color: #fff;
}

.closing__inner {
	width: 100%;
	max-width: 1920px;
	margin-inline: auto;
	padding: calc(165 * var(--s));
}

.closing__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(30 * var(--s));
	width: min(100%, calc(983 * var(--s)));
	text-align: center;
}

.closing__text-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(20 * var(--s));
}

.closing__text {
	max-width: 36.7em;
}

@media (max-width: 1023px) {
	.closing {
		min-height: 0;
		margin-top: calc(165 * var(--s));
	}

	.closing__inner {
		padding: calc(100 * var(--s)) var(--gutter);
	}

	.closing__content,
	.closing__text-wrap {
		align-items: flex-start;
		width: auto;
		text-align: left;
	}

	.closing__text {
		max-width: none;
	}
}

/* Footer (Figma: Footer) --------------------------------------------------- */
.site-footer {
	background: var(--c-inverse);
	color: var(--c-inverse-muted);
	font-size: var(--fs-small);
	line-height: 1.47;
}

.site-footer__inner {
	max-width: 1920px;
	margin-inline: auto;
	padding: calc(114 * var(--s)) calc(93 * var(--s)) calc(314 * var(--s)) calc(92 * var(--s));
}

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

.site-footer a:hover {
	color: var(--c-accent-light);
}

.site-footer__top {
	display: grid;
	grid-template-columns: calc(234 * var(--s)) auto 1fr auto;
	grid-template-areas: "loc con . soc";
	column-gap: calc(136 * var(--s));
	align-items: start;
}

.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(15 * var(--s));
}

.footer-col--location {
	grid-area: loc;
	max-width: max(190px, calc(234 * var(--s)));
}

.footer-col--contact {
	grid-area: con;
}

.footer-col__title {
	font-size: var(--fs-h5);
	line-height: 1;
}

.footer-col__rule {
	display: block;
	width: calc(87 * var(--s));
	height: 1px;
	background: rgba(255, 255, 255, .6);
}

.site-footer__social {
	grid-area: soc;
	display: flex;
	align-items: center;
	gap: calc(25 * var(--s));
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-link {
	display: grid;
	place-items: center;
	min-width: 24px;
	min-height: 24px;
}

.social-link svg {
	width: auto;
	height: max(15px, calc(19 * var(--s)));
}

.social-link--facebook svg {
	height: max(13px, calc(16 * var(--s)));
}

.social-link--linkedin svg {
	height: max(19px, calc(24 * var(--s)));
}

.social-link--youtube svg {
	height: max(19px, calc(23 * var(--s)));
}

.site-footer__wordmark {
	margin-top: calc(167 * var(--s));
}

.site-footer__wordmark img {
	width: 100%;
	height: auto;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: calc(20 * var(--s));
	margin-top: calc(62 * var(--s));
	line-height: 1;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: calc(20 * var(--s));
}

.site-footer__sep {
	width: 1px;
	height: max(14px, calc(18 * var(--s)));
	background: rgba(255, 255, 255, .6);
}

.site-footer__credit a {
	text-decoration: underline;
	text-underline-offset: .15em;
}

@media (max-width: 1023px) {
	.site-footer__inner {
		padding: calc(89 * var(--s)) calc(36 * var(--s)) calc(267 * var(--s)) calc(34 * var(--s));
	}

	.site-footer__top {
		grid-template-columns: calc(313 * var(--s)) minmax(0, 1fr);
		grid-template-areas: "loc con" ". soc";
		column-gap: 0;
		row-gap: calc(15 * var(--s));
	}


	.site-footer__social {
		justify-self: start;
	}

	.site-footer__wordmark {
		margin-top: calc(110 * var(--s));
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: calc(31 * var(--s));
		margin-top: calc(31 * var(--s));
	}
}

/* Contact (Figma: Contact / Contact Mobile) -------------------------------- */
.contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: calc(40 * var(--s));
	max-width: 1920px;
	margin-inline: auto;
	padding: calc(35 * var(--s)) calc(132 * var(--s)) calc(60 * var(--s)) calc(91 * var(--s));
}

.contact-card {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: calc(50 * var(--s));
	width: calc(952 * var(--s));
	padding: calc(90 * var(--s));
	border-radius: var(--radius-md);
	background: var(--c-inverse);
	color: #fff;
}

.contact-card__header {
	display: flex;
	flex-direction: column;
	gap: calc(10 * var(--s));
}

.contact-card__intro a {
	text-decoration-color: rgba(255, 255, 255, .5);
}

.contact-card__notice {
	padding: calc(20 * var(--s)) calc(24 * var(--s));
	border: 1px dashed rgba(255, 255, 255, .5);
	border-radius: var(--radius-md);
}

/* Contact Form 7 form using the theme markup (inc/seed/content/contact.php).
   Each label sits in its field like a placeholder and moves up once the
   field has focus or a value. */
.contact-form {
	--field-pad: max(20px, calc(25 * var(--s)));
	--field-error: #ffb4a8;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-top: calc(-24 * var(--s));
}

.contact-form > * {
	flex: 0 0 100%;
}

.contact-form__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: calc(15 * var(--s)) calc(40 * var(--s));
}

.field {
	position: relative;
	grid-column: 1 / -1;
	min-width: 0;
}

.field--half {
	grid-column: auto;
}

.field .wpcf7-form-control-wrap {
	display: block;
}

.field__input {
	display: block;
	width: 100%;
	margin: 0;
	padding: var(--field-pad) 0;
	border: 0;
	border-bottom: .5px solid var(--c-border);
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

textarea.field__input {
	height: calc(183 * var(--s));
	min-height: calc(2 * var(--field-pad) + 2 * var(--lh-body) * var(--fs-body));
	resize: vertical;
}

.field__input::placeholder {
	color: transparent;
}

.field__input:focus {
	outline: none;
	border-bottom-color: var(--c-accent-light);
	box-shadow: 0 1px 0 var(--c-accent-light);
}

.field__input:-webkit-autofill,
.field__input:-webkit-autofill:hover,
.field__input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
	caret-color: #fff;
	-webkit-box-shadow: 0 0 0 1000px var(--c-inverse) inset;
	transition: background-color 600000s 0s;
}

.field__label {
	position: absolute;
	top: var(--field-pad);
	left: 0;
	max-width: 100%;
	overflow: hidden;
	color: #fff;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
	transform-origin: 0 0;
	transition: transform .2s ease, color .2s ease;
}

.field:focus-within .field__label,
.field.is-filled .field__label {
	color: rgba(255, 255, 255, .6);
	transform: translateY(calc(3px - var(--field-pad))) scale(.68);
}

/* Without JavaScript (placeholders are invisible; kept in separate rules so
   older browsers ignore only these). */
.wpcf7.no-js .field:has(.field__input:not(:placeholder-shown)) .field__label {
	color: rgba(255, 255, 255, .6);
	transform: translateY(calc(3px - var(--field-pad))) scale(.68);
}

.field:has(.field__input:-webkit-autofill) .field__label {
	color: rgba(255, 255, 255, .6);
	transform: translateY(calc(3px - var(--field-pad))) scale(.68);
}

.contact-form .wpcf7-not-valid-tip {
	margin-top: 8px;
	color: var(--field-error);
	font-size: var(--fs-small);
	line-height: 1.3;
}

.field__input.wpcf7-not-valid,
.field__input[aria-invalid="true"] {
	border-bottom-color: var(--field-error);
}

.checkbox {
	margin-top: calc(30 * var(--s));
}

.checkbox .wpcf7-form-control-wrap,
.checkbox .wpcf7-form-control,
.checkbox .wpcf7-list-item {
	display: block;
	margin: 0;
}

.checkbox label {
	display: inline-flex;
	vertical-align: top;
	align-items: center;
	gap: calc(10 * var(--s));
	line-height: var(--lh-body);
	cursor: pointer;
}

.checkbox .wpcf7-list-item-label::before,
.checkbox .wpcf7-list-item-label::after {
	content: none;
}

.checkbox__input {
	flex: none;
	display: grid;
	place-content: center;
	width: max(18px, calc(25 * var(--s)));
	height: max(18px, calc(25 * var(--s)));
	margin: 0;
	border: 1px solid var(--c-border);
	border-radius: 0;
	background: var(--c-surface);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.checkbox__input::before {
	content: "";
	width: 11px;
	height: 9px;
	background: var(--c-accent-strong);
	clip-path: polygon(0 52%, 14% 38%, 38% 62%, 86% 0, 100% 14%, 38% 92%);
	transform: scale(0);
	transition: transform .15s ease;
}

.checkbox__input:checked::before {
	transform: scale(1);
}

.checkbox__input:focus-visible {
	outline: 2px solid var(--c-accent-light);
	outline-offset: 2px;
}

.checkbox__input[aria-invalid="true"] {
	border-color: var(--field-error);
	box-shadow: 0 0 0 1px var(--field-error);
}

.checkbox .wpcf7-list-item-label a {
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .5);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
	transition: color .2s ease;
}

.checkbox .wpcf7-list-item-label a:hover {
	color: var(--c-accent-light);
}

.contact-form .contact-form__submit {
	flex: none;
	max-width: 100%;
	margin-top: calc(45 * var(--s));
}

.contact-form .wpcf7-spinner {
	flex: none;
	margin: calc(45 * var(--s)) 0 0 20px;
	background-color: rgba(255, 255, 255, .7);
}

.contact-form .wpcf7-spinner::before {
	background-color: var(--c-inverse);
}

.wpcf7 form.contact-form .wpcf7-response-output {
	margin: calc(30 * var(--s)) 0 0;
	padding: calc(18 * var(--s)) calc(24 * var(--s));
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: var(--radius-md);
	line-height: var(--lh-body);
}

.wpcf7 form.contact-form.invalid .wpcf7-response-output,
.wpcf7 form.contact-form.unaccepted .wpcf7-response-output,
.wpcf7 form.contact-form.failed .wpcf7-response-output,
.wpcf7 form.contact-form.aborted .wpcf7-response-output,
.wpcf7 form.contact-form.spam .wpcf7-response-output {
	border-color: var(--field-error);
}

.wpcf7 form.contact-form.sent .wpcf7-response-output {
	border-color: var(--c-accent-light);
}

/* Contact details */
.contact-info {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: calc(75 * var(--s));
	width: calc(622 * var(--s));
}

.contact-info__list {
	display: flex;
	flex-direction: column;
	gap: calc(75 * var(--s));
	margin: 0;
	padding: 0;
	list-style: none;
}

.info-row {
	display: flex;
	align-items: flex-start;
	gap: calc(20 * var(--s));
}

.info-row__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: max(44px, calc(56 * var(--s)));
	aspect-ratio: 1;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
}

.info-row__icon svg {
	width: max(20px, calc(24 * var(--s)));
	height: auto;
}

.info-row__body {
	display: flex;
	flex-direction: column;
	gap: calc(15 * var(--s));
	min-width: 0;
}

.info-row__title {
	font-size: var(--fs-h3);
	line-height: .8333;
	letter-spacing: -.0333em;
}

.rich.info-row__text > * + * {
	margin-top: calc(15 * var(--s));
}

.info-row__text a {
	text-decoration-color: currentColor;
}

.contact-social {
	display: flex;
	flex-wrap: wrap;
	gap: calc(10 * var(--s));
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-social__link {
	display: grid;
	place-items: center;
	width: max(40px, calc(48 * var(--s)));
	aspect-ratio: 1;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-md);
	transition: border-color .2s ease, color .2s ease;
}

.contact-social__link:hover {
	border-color: var(--c-accent);
	color: var(--c-accent);
}

.contact-social__link svg {
	width: max(20px, calc(23 * var(--s)));
	height: auto;
}

@media (max-width: 1023px) {
	.contact {
		display: block;
		padding: 0 0 calc(48 * var(--s));
	}

	.contact-card {
		width: auto;
		padding: calc(60 * var(--s)) var(--gutter);
		border-radius: 0;
	}

	.contact-form {
		--field-pad: max(20px, calc(28 * var(--s)));
	}

	.contact-form__fields {
		grid-template-columns: minmax(0, 1fr);
		row-gap: calc(10 * var(--s));
	}

	.field--half {
		grid-column: 1 / -1;
	}

	.field--textarea {
		--field-pad: max(20px, calc(25 * var(--s)));
	}

	textarea.field__input {
		height: calc(154 * var(--s));
	}

	.checkbox {
		margin-top: calc(45 * var(--s));
	}

	.checkbox label {
		gap: calc(8 * var(--s));
	}

	.checkbox__input {
		width: max(16px, calc(18 * var(--s)));
		height: max(16px, calc(18 * var(--s)));
	}

	.checkbox__input::before {
		width: 9px;
		height: 7px;
	}

	.contact-info {
		width: auto;
		margin: calc(78 * var(--s)) var(--gutter) 0;
	}
}

/* Privacy policy (Figma: Privacy Policy / Privacy Policy Mobile) ----------- */
.privacy {
	display: grid;
	grid-template-columns: calc(989 * var(--s)) minmax(0, 1fr) calc(403 * var(--s));
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"title . toc"
		"content . toc";
	row-gap: calc(56 * var(--s));
	max-width: 1920px;
	margin-inline: auto;
	padding: calc(100 * var(--s)) calc(82 * var(--s)) calc(100 * var(--s)) calc(89 * var(--s));
}

.privacy--no-toc {
	grid-template-areas:
		"title . ."
		"content . .";
}

.privacy__title {
	grid-area: title;
	/* Cancel the gradient's descender padding so the spacing matches Figma. */
	margin-bottom: -.08em;
}

.privacy__content {
	grid-area: content;
	display: flex;
	flex-direction: column;
	gap: calc(30 * var(--s));
	min-width: 0;
}

.privacy-toc {
	grid-area: toc;
	align-self: start;
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 150 * var(--s));
}

.privacy-toc__title {
	margin-bottom: calc(30 * var(--s));
	font-size: var(--fs-lead);
	line-height: 1.16;
	letter-spacing: -.04em;
}

.privacy-toc__body {
	position: relative;
	display: flex;
	gap: calc(30 * var(--s));
}

.privacy-toc__line {
	position: relative;
	flex: none;
	width: 3px;
	border-radius: 500px;
	background: var(--c-border);
}

.privacy-toc__fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--fill, 0px);
	border-radius: inherit;
	background: var(--c-accent);
	transition: height .35s ease;
}

.privacy-toc__list {
	display: flex;
	flex-direction: column;
	gap: calc(20 * var(--s));
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-body);
	line-height: 1.136;
}

.privacy-toc__link {
	text-decoration: none;
	transition: color .2s ease;
}

.privacy-toc__link:hover,
.privacy-toc__link.is-active {
	color: var(--c-accent);
}

.policy-section {
	display: flex;
	flex-direction: column;
	gap: calc(20 * var(--s));
}

.policy-section__title {
	font-size: max(22px, calc(40 * var(--s)));
	line-height: 1;
}

.policy-section__text {
	overflow-wrap: break-word;
}

.policy-section__text ul,
.policy-section__text ol {
	padding-left: 1.5em;
}

.policy-section__text h2,
.policy-section__text h3 {
	line-height: 1.1;
}

.policy-section__text h2 {
	margin-top: 1.4em;
	font-size: max(22px, calc(40 * var(--s)));
}

.policy-section__text h3 {
	font-size: var(--fs-h3);
}

@media (max-width: 1023px) {
	.privacy,
	.privacy--no-toc {
		display: flex;
		flex-direction: column;
		gap: calc(30 * var(--s));
		padding: calc(54 * var(--s)) calc(35 * var(--s)) calc(80 * var(--s)) calc(34 * var(--s));
	}

	.privacy-toc {
		position: static;
	}

	/* Phones: the list isn't pinned, so the line is a plain gold rule. */
	.privacy-toc__line {
		background: var(--c-accent);
	}

	.privacy-toc__fill {
		display: none;
	}

	.privacy-toc__list {
		gap: calc(15 * var(--s));
	}

	.privacy-toc__link.is-active {
		color: inherit;
	}

	.privacy__content {
		gap: calc(45 * var(--s));
	}

	.policy-section__title,
	.policy-section__text h2 {
		font-size: max(22px, calc(36 * var(--s)));
		line-height: 1.111;
		letter-spacing: -.0556em;
	}
}

/* Thank you (Figma: Thank you / Thank You Mobile) ------------------------ */
body.theme-dark {
	background: var(--c-inverse);
}

.thanks {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	/* Header height on top; the extra bottom space sets the text where the
	   design has it (a little below centre). */
	padding: calc(157 * var(--s)) var(--gutter) calc(91 * var(--s));
	color: #f0f0ee;
	text-align: center;
}

.thanks__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, calc(1104 * var(--s)));
}

.thanks__title {
	/* Box height from Figma (2 × 156 + room for descenders). */
	padding-bottom: calc(32 * var(--s));
	font-size: calc(200 * var(--s));
	line-height: .78;
	letter-spacing: -.03em;
}

.thanks__title .accent,
.thanks__title em {
	color: inherit;
	font-style: italic;
}

.thanks__text {
	margin-top: calc(20 * var(--s));
	font-size: var(--fs-h3);
	font-weight: 600;
	line-height: 1.0667;
	letter-spacing: -.0333em;
}

.thanks__button {
	margin-top: calc(49 * var(--s));
}

@media (max-width: 1023px) {
	.thanks {
		justify-content: flex-start;
		padding: calc(115 * var(--s)) var(--gutter) calc(156 * var(--s));
		text-align: left;
	}

	.thanks__inner {
		align-items: flex-start;
		width: 100%;
	}

	.thanks__title {
		padding-bottom: 0;
		font-size: calc(95 * var(--s));
		line-height: .7895;
		letter-spacing: -.0632em;
	}

	.thanks__button {
		margin-top: calc(20 * var(--s));
	}
}

/* 404 (Figma: 404 / 404 Mobile) -------------------------------------------- */
.has-solid-header .not-found,
.not-found {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(157 * var(--s)) var(--gutter) calc(63 * var(--s));
	text-align: center;
}

.not-found__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.not-found__art img {
	width: calc(935 * var(--s));
	max-width: 100%;
	height: auto;
}

.not-found__code {
	font-size: calc(400 * var(--s));
	font-weight: 600;
	line-height: .8;
	letter-spacing: -.06em;
}

.not-found__title {
	margin-top: calc(40 * var(--s));
	font-size: var(--fs-h3);
	line-height: .8333;
	letter-spacing: -.0333em;
}

.not-found__button {
	margin-top: calc(26 * var(--s));
}

@media (max-width: 1023px) {
	.has-solid-header .not-found,
	.not-found {
		padding: calc(115 * var(--s)) var(--gutter) calc(161 * var(--s));
	}

	.not-found__art img {
		width: calc(487 * var(--s));
	}

	.not-found__button {
		margin-top: calc(32 * var(--s));
	}
}

/* Fallback templates ------------------------------------------------------- */
.default-content {
	width: min(100% - 2 * var(--gutter), 900px);
	margin: 0 auto;
	padding: calc(80 * var(--s)) 0 calc(160 * var(--s));
}

.default-content > * + *,
.default-entry > * + * {
	margin-top: 1.2em;
}

.default-entry__title {
	font-size: var(--fs-h3);
}

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

	.logo-strip__track,
	.reviews__wall.is-animated .reviews__track {
		animation: none !important;
	}

	.reviews__wall.is-animated .reviews__set[aria-hidden],
	.reviews__wall .review-card[aria-hidden] {
		display: none;
	}

	.hero__video {
		display: none;
	}
}
