/* ==========================================================================
   Collins Executive Search
   Sizes scale fluidly from the 1920px design artboard.
   ========================================================================== */

:root {
	/* Text size multiplier: 1 = as designed. Set in Site Settings → Text size. */
	--type-scale: 1;

	--equity: #2c4a36;
	--equity-2: #2a4c3a;
	--currency: #9a7c52;
	--catalyst: #d84820;
	--ink: #000;
	--text: #121212;
	--muted: #5a5a5a;
	--paper: #fff;
	--hairline: rgba(0, 0, 0, 0.05);

	--font: "objektiv-mk3", "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(16px, 8.333vw, 160px);
	--section: clamp(88px, 10.42vw, 200px);
	--header-h: clamp(64px, 6.7vw, 112px);
	--ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

	--fs-display: clamp(44px, 5.21vw, 100px);
	--fs-h1: clamp(38px, 3.75vw, 72px);
	--fs-h2: clamp(30px, 2.5vw, 48px);
	--fs-lead: clamp(18px, 1.25vw, 24px);
	--fs-intro: clamp(19px, 1.67vw, 32px);
	--fs-card: clamp(17px, 1.04vw, 20px);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 24px);
	overflow-x: clip;
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: calc(16px * var(--type-scale));
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
	margin: 0;
}

ul[class],
ol[class] {
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
}

address {
	font-style: normal;
}

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

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--equity);
	color: #fff;
}

.skip-link:focus {
	top: 16px;
}

.container {
	width: 100%;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(960px + var(--gutter) * 2);
	margin-inline: auto;
}

.section {
	position: relative;
	padding-block: var(--section);
}

.section--tight-top {
	padding-top: clamp(32px, 2.7vw, 52px);
}

.text-center {
	text-align: center;
}

/* ---------- Type ---------- */

.display,
.h1,
.h2 {
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	/* Last resort for an unusually long word on a narrow screen: break it rather than run off-screen. */
	overflow-wrap: break-word;
}

.display {
	font-size: calc(var(--fs-display) * var(--type-scale));
	line-height: 0.88;
	letter-spacing: 0.06em;
}

.h1 {
	font-size: calc(var(--fs-h1) * var(--type-scale));
	letter-spacing: 0.015em;
}

.h2 {
	font-size: calc(var(--fs-h2) * var(--type-scale));
	letter-spacing: 0.042em;
}

.lead {
	font-size: calc(var(--fs-lead) * var(--type-scale));
	line-height: 1.6;
	color: var(--text);
}

.lead p + p {
	margin-top: 1em;
}

.eyebrow {
	color: var(--currency);
	font-size: calc(14px * var(--type-scale));
	line-height: 1.3;
}

.eyebrow--lg {
	font-size: calc(var(--fs-lead) * var(--type-scale));
}

.prose {
	font-size: calc(var(--fs-lead) * var(--type-scale));
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.prose > * + * {
	margin-top: 16px;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 1.6em;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: inherit;
	text-transform: none;
}

.prose > :first-child {
	margin-top: 0;
}

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

.prose li + li {
	margin-top: 2px;
}

.prose a {
	color: var(--equity);
	/* Long email addresses can break on narrow screens instead of running off the edge. */
	overflow-wrap: anywhere;
}

/* ---------- Buttons & links ---------- */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--equity);
	background: var(--equity);
	color: #fafafa;
	font-weight: 900;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

/* The design's 6px "line" accent sits top-left and runs across on hover. */
.btn::before,
.job-card::before,
.stat::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 1px;
	height: 6px;
	background: currentColor;
	transition: width 0.45s var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before,
.job-card:hover::before,
.job-card:focus-visible::before,
.stat:hover::before,
.stat:focus-within::before {
	width: calc(100% + 2px);
}

.btn--solid::before,
.btn--outline::before {
	background: var(--equity);
}

.btn--lg,
.btn--md {
	padding: 26px 24px 24px;
	font-size: calc(var(--fs-card) * var(--type-scale));
	line-height: 1.08;
}

.btn--sm {
	padding: 10px 16px 8px;
	font-size: calc(14px * var(--type-scale));
	line-height: 1.6;
}

.btn--outline {
	background: transparent;
	color: var(--equity);
}



.btn--outline-light {
	background: transparent;
	color: #fff;
}

.btn--outline-light::before {
	background: var(--equity);
}

.btn--solid:hover,
.btn--solid:focus-visible {
	background: transparent;
	color: var(--equity);
}

/* In the header the bar is translucent, so the hovered button goes solid white. */
.site-header .btn--solid:hover,
.site-header .btn--solid:focus-visible {
	background: #fff;
}

/* On black (footer) green text would disappear; keep it white. */
.site-footer .btn--solid:hover,
.site-footer .btn--solid:focus-visible {
	color: #fff;
}

.btn--block {
	display: flex;
	width: 100%;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	font-size: calc(14px * var(--type-scale));
	line-height: 1.33;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.link-arrow .icon-arrow {
	position: relative;
	/* Lift to the capitals' optical centre (Objektiv sits high in its line box). Done
	   with top/left rather than transforms: positions snap to whole pixels, so the thin
	   arrow stays crisp while it slides (transforms render it blurry mid-animation). */
	top: -0.19em;
	left: 0;
	flex: none;
	transition: left 0.3s var(--ease-out);
}

.link-arrow:hover .icon-arrow,
.job-card:hover .icon-arrow {
	left: 4px;
}

.link-arrow--light {
	color: #fff;
}

/* Hug the text, and sit above the job title: Objektiv's tall ascent makes the
   large heading overhang upward and swallow clicks on the link. */
.link-arrow--back {
	position: relative;
	z-index: 3;
	align-self: flex-start;
}

.link-arrow--back .icon-arrow {
	transform: rotate(180deg);
}

.link-arrow--back:hover .icon-arrow {
	left: -4px;
}

.chip {
	align-self: flex-start;
	margin-bottom: 10px;
	padding: 2px 8px;
	background: rgba(42, 76, 58, 0.1);
	color: var(--equity-2);
	font-size: calc(12px * var(--type-scale));
	line-height: 1.6;
	letter-spacing: 0.02em;
}

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

/* Objektiv's letters sit high in the line box; lift contact icons to the text's optical centre. */
.member__contact .icon,
.team-card__contact .icon {
	transform: translateY(-0.17em);
}

/* ---------- Circles ---------- */

/* Anchor: stays put so its position on screen can be measured. No z-index here,
   so the moving layer still blends with the page underneath. */
.circle {
	--w: var(--size);
	position: absolute;
	top: var(--y, 0);
	width: var(--w);
	aspect-ratio: 1;
	pointer-events: none;
}

.circle--from-left {
	left: var(--left, 0);
}

.circle--from-right {
	right: var(--right, 0);
}

/* Interior heroes: the circle ends a set distance below the image, so it sits the same
   way on every page whatever the heading/intro length. */
.circle--page-hero {
	top: calc(var(--hero-media-h) + var(--hero-circle-below) - var(--w));
}

/* Centred on the section's bottom edge (straddling the line into the next section). */
.circle--on-bottom-edge {
	top: auto;
	bottom: calc(var(--w) / -2 - var(--edge-offset, 0px));
}

.circle__move {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 50%;
	mix-blend-mode: hard-light;
	transition: transform 1.6s var(--ease-out);
	will-change: transform;
}

.js .circle--from-left .circle__move {
	transform: translateX(calc(-100% - 20vw));
}

.js .circle--from-right .circle__move {
	transform: translateX(calc(100% + 20vw));
}

.js .circle.is-in .circle__move {
	transform: translateX(0);
}

.circle__disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	transform: rotate(var(--rotate, 0deg));
	background: linear-gradient(215.3deg, var(--catalyst) 0.28%, rgba(216, 72, 32, 0) 87.77%);
	box-shadow:
		5px 10px 2.8px rgba(0, 0, 0, 0.1),
		0 2px 1.8px rgba(33, 16, 16, 0.1),
		-2px 2px 0 rgba(251, 248, 246, 0.6),
		inset -5px 8px 0.8px rgba(0, 0, 0, 0.1),
		inset 4px 3px 0 rgba(255, 255, 255, 0.5),
		inset 12px 8px 2px rgba(255, 255, 255, 0.25);
}

.circle--orange-soft .circle__disc {
	background: linear-gradient(164.5deg, rgba(216, 72, 32, 0) 1.65%, var(--catalyst) 114.76%);
	box-shadow:
		0 1.96px 1.77px rgba(33, 16, 16, 0.1),
		-3.9px 3.9px 0 #f3f3f3,
		inset -2.94px 3.92px 1.96px rgba(255, 255, 255, 0.25);
}

@media (max-width: 899px) {
	.circle {
		--w: calc(var(--size) * 1.7);
	}

	.circle--hero {
		--w: calc(var(--size) * 1.4);
	}
}

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

	.circle__move,
	.js .circle--from-left .circle__move,
	.js .circle--from-right .circle__move {
		transform: none;
		transition: none;
	}
}

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	top: clamp(8px, 1.25vw, 24px);
	left: clamp(8px, 1.25vw, 24px);
	right: clamp(8px, 1.25vw, 24px);
	z-index: 50;
}

.site-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 24px;
	background: rgba(255, 255, 255, 0.4);
	box-shadow: 0 4px 3px rgba(0, 0, 0, 0.02);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	transition: background-color 0.3s ease;
}

.is-scrolled .site-header__bar,
.nav-open .site-header__bar {
	background: rgba(255, 255, 255, 0.85);
}

.site-header__logo img {
	width: clamp(120px, 8.65vw, 166px);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.site-nav__menu {
	display: flex;
	align-items: center;
	gap: 34px;
}

.site-nav__menu a {
	position: relative;
	display: block;
	padding: 10px 4px 8px;
	font-size: calc(15px * var(--type-scale));
	line-height: 1.34;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav__menu a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 6px;
	background: var(--equity);
	transition: width 0.4s var(--ease-out);
}

.site-nav__menu a:hover::before,
.site-nav__menu .current-menu-item > a::before,
.site-nav__menu .current-page-ancestor > a::before {
	width: 100%;
}

.site-nav__actions {
	display: flex;
	gap: 24px;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 26px;
	height: 2px;
	margin-inline: auto;
	background: var(--ink);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -8px;
}

.nav-toggle__bars::after {
	top: 8px;
}

.nav-open .nav-toggle__bars {
	background: transparent;
}

.nav-open .nav-toggle__bars::before {
	transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle__bars::after {
	transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1099px) {
	.nav-toggle {
		display: block;
	}

	.site-header__bar {
		padding: 10px 12px 10px 16px;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 16px 16px 24px;
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	}

	.nav-open .site-nav {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	.site-nav__menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav__menu a {
		padding: 14px 4px;
		border-bottom: 1px solid var(--hairline);
		font-size: calc(16px * var(--type-scale));
	}

	.site-nav__menu a::before {
		height: 4px;
	}

	.site-nav__actions {
		flex-direction: column;
		gap: 12px;
	}

	.site-nav__actions .btn {
		padding-block: 14px 12px;
	}
}

/* ---------- Home hero ---------- */

.home-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
	min-height: 100svh;
	padding: clamp(130px, 12vw, 230px) clamp(16px, 3.6vw, 70px) clamp(40px, 4.4vw, 84px) 41.77vw;
}

.home-hero__slides {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 33.44vw;
	overflow: hidden;
	background: #e9e9e9;
}

.home-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.6s ease;
}

.home-hero__slide.is-active {
	opacity: 1;
}

.home-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: 1043px;
}

.home-hero__text {
	max-width: 900px;
	font-size: calc(var(--fs-intro) * var(--type-scale));
	line-height: 1.6;
}

.home-hero__logos {
	position: relative;
	z-index: 2;
	margin: clamp(48px, 5vw, 96px) calc(clamp(16px, 3.6vw, 70px) * -1) 0 0;
}

.home-hero__logos .eyebrow {
	margin-bottom: 18px;
}

.marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: clamp(48px, 5.5vw, 106px);
	width: max-content;
	animation: marquee 60s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee__track li {
	flex: none;
}

.marquee__track img {
	width: auto;
	max-width: none;
	height: auto;
	max-height: 60px;
}

@keyframes marquee {
	to {
		transform: translateX(calc(-50% - clamp(48px, 5.5vw, 106px) / 2));
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track {
		animation: none;
	}

	.home-hero__slide {
		transition: none;
	}
}

@media (max-width: 899px) {
	.home-hero {
		min-height: 0;
		padding: 0 0 48px;
	}

	.home-hero__slides {
		position: relative;
		width: 100%;
		/* Same height as the interior page heroes on this layout. */
		height: clamp(300px, 52svh, 520px);
	}

	/* Bring the subject down clear of the header: 100px, stopping at the top of the image. */
	.home-hero__slide img {
		object-position: 50% min(0px, calc(50% + 100px));
	}

	.home-hero__content {
		padding: 40px var(--gutter) 0;
	}

	/* Size the hero heading from the available width so "THE PURSUIT OF" (10.13em wide
	   with tracking) stays on one line, with headroom for Safari text zoom. */
	.home-hero .display {
		font-size: min(calc(var(--fs-display) * var(--type-scale)), calc((100vw - 2 * var(--gutter)) / 10.6));
	}

	.home-hero__logos {
		margin: 48px 0 0;
		padding-left: var(--gutter);
	}
}

/* ---------- Interior page hero ---------- */

.page-hero {
	/* Shorter than the artboard (34.5vw) and capped by window height, so the heading
	   and intro sit above the fold on desktop. The circle is positioned from this too. */
	--hero-media-h: clamp(310px, calc(min(26vw, 48vh) + 50px), 610px);
	--hero-circle-below: 12vw;
	position: relative;
	padding-bottom: clamp(56px, 5.2vw, 100px);
}

.page-hero__media {
	position: relative;
	height: var(--hero-media-h);
	margin-left: 18.2vw;
	overflow: hidden;
	background: #e9e9e9;
}

.page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	max-width: calc(1224px + var(--gutter));
	padding-top: clamp(40px, 3.9vw, 76px);
	padding-left: clamp(16px, 5.42vw, 104px);
}

.page-hero__content .h1 {
	max-width: 1018px;
}

.page-hero__text {
	font-size: calc(clamp(18px, 1.46vw, 28px) * var(--type-scale));
	line-height: 1.3;
}

.page-hero__content .btn-row,
.page-hero__content > .btn {
	margin-top: 16px;
}

/* On phones, hero button rows stack full width so the buttons match. */
@media (max-width: 699px) {
	.page-hero__content .btn-row {
		flex-direction: column;
		align-self: stretch;
		gap: 16px;
	}

	/* Keep long labels ("Investment Management") on one line down to 320px wide. */
	.page-hero__content .btn-row .btn {
		padding-inline: 16px;
		font-size: min(calc(var(--fs-card) * var(--type-scale)), 4.3vw);
		letter-spacing: 0.03em;
	}
}

@media (max-width: 899px) {
	.home-hero,
	.page-hero {
		--hero-media-h: clamp(300px, 52svh, 520px);
		--hero-circle-below: calc(min(8vw, 32px) - 10px);
	}

	.page-hero__media {
		margin-left: 0;
	}

	.page-hero__content {
		padding-left: var(--gutter);
	}

	/* Home circle: like desktop, covering most of the image from the left (12% off the left
	   edge, sliding in from the left). 1.3x the image height so it runs off the top of the
	   page, with its bottom ending just below the image like the interior heroes. */
	.home-hero .circle--hero {
		--w: calc(var(--hero-media-h) * 1.3);
		top: calc(var(--hero-media-h) + var(--hero-circle-below) - var(--w));
		left: calc(-12% - 20px);
		right: auto;
	}

	/* Team and Contact: halve the gap under the hero. */
	.page-template-team .page-hero,
	.page-template-contact .page-hero {
		padding-bottom: 0;
	}
}

/* ---------- Statement (under interior heroes) ---------- */

.statement {
	position: relative;
}

.statement__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(20px, 1.9vw, 36px);
	/* Tighter under the hero (which has its own bottom spacing). */
	padding-top: calc(var(--section) * 0.7);
	padding-bottom: var(--section);
	text-align: center;
}

.statement__body .lead {
	/* 1082px on the 1920 artboard, kept in proportion on smaller screens. */
	max-width: min(1082px, 56vw);
}

/* Principles straight into the "exceptional firms" logos: don't stack two full section gaps. */
.principles + .circle-host .testimonials {
	padding-top: calc(var(--section) * 0.35);
}

/* Don't stack the statement's bottom spacing on the listing's top spacing. */
.statement + .listing {
	padding-top: 0;
}

@media (max-width: 899px) {
	.statement__body .lead {
		max-width: none;
	}
}

/* ---------- Split (two practices) ---------- */

.split {
	display: grid;
	grid-template-columns: minmax(0, 756fr) minmax(0, 709fr);
	align-items: center;
	gap: clamp(40px, 7vw, 135px);
}

.split__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.split__text .btn {
	margin-top: 32px;
}

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

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

/* ---------- Stats ---------- */

.stats {
	position: relative;
	padding: clamp(80px, 6.25vw, 120px) 0;
	background: #000 var(--stats-bg) center / cover no-repeat;
	color: #fff;
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 440px));
	justify-content: center;
	gap: 48px 0;
	padding-top: clamp(48px, 4.2vw, 80px);
}

@media (max-width: 1099px) {
	.stats__grid {
		grid-template-columns: minmax(0, 440px);
	}
}

.stat {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: clamp(20px, 1.7vw, 32px) clamp(20px, 2.1vw, 40px) 0;
	color: var(--currency);
}

.stat::before {
	left: clamp(20px, 2.1vw, 40px);
	width: 0;
}

.stat:hover::before,
.stat:focus-within::before {
	width: calc(100% - clamp(20px, 2.1vw, 40px) * 2);
}

.stat:hover .icon-arrow,
.stat:focus-within .icon-arrow {
	left: 4px;
}

/* The "View history" button covers the whole column. */
.stat .link-arrow::after {
	content: "";
	position: absolute;
	inset: 0;
}

.stat__number {
	font-variant-numeric: tabular-nums;
	font-size: calc(clamp(56px, 4.69vw, 90px) * var(--type-scale));
	font-weight: 900;
	line-height: 1.33;
}

.stat__label {
	/* Two even lines rather than a full first line and a short second (or a third). */
	text-wrap: balance;
	margin-top: -24px;
	color: #fff;
	font-size: calc(var(--fs-lead) * var(--type-scale));
	line-height: 1.25;
}

@media (max-width: 599px) {
	.stat {
		padding-inline: var(--gutter);
	}

	.stat::before {
		left: var(--gutter);
	}
}

/* ---------- Modal (past placements) ---------- */

.modal {
	width: min(1240px, calc(100% - 32px));
	max-width: none;
	max-height: min(860px, calc(100% - 48px));
	margin: auto;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--ink);
	overflow-y: auto;
	overscroll-behavior: contain;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.modal::backdrop {
	background: rgba(0, 0, 0, 0.72);
}

.modal[open] {
	animation: modal-in 0.4s var(--ease-out);
}

.modal[open]::backdrop {
	animation: backdrop-in 0.4s ease;
}

@keyframes modal-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

@keyframes backdrop-in {
	from {
		opacity: 0;
	}
}

.modal__inner {
	position: relative;
	outline: none;
	padding: clamp(32px, 3.3vw, 64px) clamp(20px, 3.3vw, 64px) clamp(32px, 3.3vw, 56px);
}

.modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.modal__title {
	display: flex;
	flex-direction: column;
	margin-bottom: clamp(32px, 2.5vw, 48px);
	font-size: calc(clamp(24px, 1.67vw, 32px) * var(--type-scale));
	line-height: 1.2;
}

.modal__title span {
	font-weight: 400;
}

.modal__title strong {
	font-weight: 900;
}

.modal__empty {
	font-size: calc(var(--fs-lead) * var(--type-scale));
	color: var(--muted);
}

.placements {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 1.5vw, 28px) 32px;
}

.placements li {
	display: flex;
	flex-direction: column;
	font-size: calc(clamp(14px, 0.94vw, 18px) * var(--type-scale));
	line-height: 1.15;
	text-transform: uppercase;
}

.placements strong {
	font-weight: 900;
}

.placements span {
	color: var(--currency);
}

@media (max-width: 899px) {
	.placements {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

/* ---------- Text above circles ----------
   Circles blend into photos, but text blocks sit above them so they stay readable. */

.section-head,
.split__text,
.principle,
.listing__empty {
	position: relative;
	z-index: 2;
}

/* ---------- Section heads ---------- */

.section-head {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: clamp(40px, 3.75vw, 72px);
}

.section-head.text-center {
	align-items: center;
	max-width: 1024px;
	margin-inline: auto;
}

.section-head .eyebrow {
	/* Same treatment as the Process "Step 1" labels, in bold. */
	margin-bottom: -12px;
	font-size: calc(18px * var(--type-scale));
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.listing__body {
	position: relative;
}

.section-head .lead {
	max-width: 1143px;
}

.listing .section-head .lead {
	max-width: 1000px;
}

.section-head--split {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.section-head--split > div {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 1143px;
}

.section-head--split .h2 {
	max-width: 760px;
}

@media (max-width: 899px) {
	.section-head--split {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---------- Team cards ---------- */

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 24px;
}

.team-card__photo {
	position: relative;
	aspect-ratio: 382 / 538;
	margin-bottom: 8px;
	overflow: hidden;
	background: #eee;
}

.team-card__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transform-origin: 50% 50%;
	backface-visibility: hidden;
	transition: transform 0.9s var(--ease-out);
	will-change: transform;
}

.team-card:hover .team-card__photo img {
	transform: scale(1.07);
}

.team-card__photo::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 0;
	height: 6px;
	background: var(--equity);
	transition: width 0.45s var(--ease-out);
}

.team-card:hover .team-card__photo::after {
	width: 100%;
}

.team-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.team-card__name,
.team-card__role {
	font-size: calc(16px * var(--type-scale));
	line-height: 1.6;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.team-card__name {
	font-weight: 700;
}

.team-card__role {
	color: var(--currency);
}

.team-card__contact {
	display: flex;
	flex-direction: column;
	margin-top: 4px;
	font-size: calc(16px * var(--type-scale));
	line-height: 1.6;
}

.team-card__contact a,
.member__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	word-break: break-word;
}

.team-card__contact a:hover,
.member__contact a:hover {
	text-decoration: underline;
}

@media (max-width: 1099px) {
	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Contact page cards carry email and phone, so on phones they get a row each. */
@media (max-width: 699px) {
	.team-grid--stack-mobile {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Job cards ---------- */

.job-card {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	padding: 32px 24px;
	border: 1px solid var(--hairline);
	/* Frosted glass (as in the design): circles behind a card read as a soft glow. */
	background: rgba(255, 255, 255, 0.35);
	-webkit-backdrop-filter: blur(22px) saturate(1.1);
	backdrop-filter: blur(22px) saturate(1.1);
	color: var(--ink);
	text-decoration: none;
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.job-card:hover {
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.job-card::before {
	background: var(--equity);
	width: 0;
}

.job-card__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.job-card__title {
	font-size: calc(var(--fs-card) * var(--type-scale));
	font-weight: 900;
	line-height: 1.33;
	text-transform: uppercase;
}

.job-card__location {
	color: var(--currency);
	font-size: calc(var(--fs-card) * var(--type-scale));
	font-weight: 700;
	line-height: 1.33;
	text-transform: uppercase;
}

.job-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.listing__empty {
	font-size: calc(var(--fs-lead) * var(--type-scale));
	color: var(--muted);
}

.listing + .listing {
	padding-top: 0;
}

@media (max-width: 1099px) {
	.job-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

/* ---------- Home: opportunities ---------- */

.home-opps__row {
	display: grid;
	grid-template-columns: minmax(0, 901fr) minmax(0, 651fr);
	gap: clamp(24px, 2.5vw, 48px);
}

.home-opps__media {
	position: relative;
	min-height: 360px;
	background: #eee;
}

.home-opps__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-opps__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.home-opps__list .job-card {
	min-height: clamp(150px, 11vw, 211px);
}

@media (max-width: 899px) {
	.home-opps__row {
		grid-template-columns: 1fr;
	}

	.home-opps__media {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
}

/* ---------- Our Approach ---------- */

.principles__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(56px, 5.2vw, 100px) clamp(32px, 4.2vw, 80px);
	max-width: 1400px;
	margin-inline: auto;
}

.principle__icon {
	display: block;
	width: auto;
	height: clamp(120px, 9.9vw, 190px);
	margin-bottom: 40px;
	overflow: visible;
}

/* The orange highlight slides in from the top right and settles into place
   (and, with data-reveal="repeat", slides back out as the icon leaves view). */
.principle__hl {
	transition: transform 1.1s var(--ease-out), opacity 0.9s ease;
	transition-delay: calc(var(--i, 0) * 0.12s + 0.1s);
}

.js .principle:not(.is-in) .principle__hl {
	opacity: 0;
	transform: translate(22px, -22px);
	/* Leaving is quicker and unstaggered, so it reads as a response to scrolling. */
	transition-duration: 0.6s, 0.5s;
	transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
	.principle__hl,
	.js .principle:not(.is-in) .principle__hl {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.principle__title {
	margin-bottom: 16px;
	font-size: calc(var(--fs-lead) * var(--type-scale));
	font-weight: 700;
	line-height: 1.3;
}

.principle p {
	max-width: 420px;
	font-size: calc(clamp(16px, 1.04vw, 20px) * var(--type-scale));
	line-height: 1.5;
	color: var(--text);
}

@media (max-width: 899px) {
	.principles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

.process {
	padding-block: clamp(80px, 7.3vw, 140px);
	background: #000;
	color: #fff;
}

/* Keep the Process text above the circle that straddles the section's top edge. */
.process .container {
	position: relative;
	z-index: 2;
}

.process__steps {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 4.2vw, 80px);
	margin-top: clamp(48px, 4.2vw, 80px);
}

.process__step {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 24px 64px;
}

.process__num {
	display: block;
	width: fit-content;
	margin-bottom: 4px;
	color: var(--currency);
	font-size: calc(clamp(16px, 1.04vw, 20px) * var(--type-scale));
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Gold bar above each "Step N", as wide as the label. Squared off like the nav's
   hover line, and it draws in from the left as the step reveals. */
.process__num::before {
	content: "";
	display: block;
	width: 100%;
	height: 6px;
	margin-bottom: 4px;
	background: currentColor;
	transition: width 0.6s var(--ease-out) 0.2s;
}

.js .process__step:not(.is-in) .process__num::before {
	width: 0;
	transition-delay: 0s;
}

.process__title {
	font-size: calc(clamp(18px, 1.25vw, 24px) * var(--type-scale));
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.process__text {
	font-size: calc(clamp(16px, 1.04vw, 20px) * var(--type-scale));
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

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

/* Steps fade up as they scroll into view and fade back out as they leave. */
.process__step {
	transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}

.js .process__step:not(.is-in) {
	opacity: 0;
	transform: translateY(24px);
	transition-duration: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
	.process__step,
	.js .process__step:not(.is-in) {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.js .process__step:not(.is-in) .process__num::before {
		width: 100%;
	}
}

.circle-host {
	position: relative;
}

/* ---------- Testimonials & logos ---------- */

.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: clamp(64px, 5.2vw, 100px);
}

.quote-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: clamp(48px, 3.3vw, 64px) clamp(24px, 2vw, 40px) 32px;
	background: #fff;
	box-shadow: 0 1.96px 1.77px rgba(33, 16, 16, 0.06), -3.9px 3.9px 0 #f3f3f3;
}

.quote-card__mark {
	position: absolute;
	top: -40px;
	left: -8px;
	width: clamp(72px, 6.2vw, 119px);
}

.quote-card blockquote {
	position: relative;
	font-size: calc(clamp(16px, 1.04vw, 20px) * var(--type-scale));
	line-height: 1.5;
}

.quote-card figcaption {
	display: flex;
	flex-direction: column;
	font-size: calc(14px * var(--type-scale));
}

.quote-card figcaption strong {
	font-weight: 700;
}

.quote-card figcaption span {
	color: var(--currency);
}

.logo-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: center;
	justify-items: center;
	gap: clamp(40px, 3.6vw, 70px) clamp(24px, 2.5vw, 48px);
	margin-top: clamp(64px, 5.2vw, 100px);
}

.logo-grid img {
	width: auto;
	max-width: 100%;
	max-height: clamp(36px, 3.3vw, 64px);
	object-fit: contain;
}

@media (max-width: 1099px) {
	.testimonials__grid {
		grid-template-columns: 1fr;
		max-width: 680px;
		margin-inline: auto;
		gap: 72px;
	}

	.logo-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- Team page ---------- */

.member {
	position: relative;
	/* Half the usual section spacing between people; full spacing after the last one. */
	padding-block: calc(var(--section) / 2);
}

.member:last-child {
	padding-bottom: var(--section);
}

.member:first-child {
	padding-top: clamp(24px, 2.9vw, 56px);
	scroll-margin-top: 0;
}

/* Links from the home page land with the photo just below the header, not the section's top padding. */
.member {
	scroll-margin-top: calc(var(--section) / -2 + 40px);
}

/* Photo column is 80% of the artboard's (642 vs 802) so photos are 20% shorter, and the
   photo spans its column so its outer edge lines up with the site-wide content edge. */
.member__inner {
	display: grid;
	grid-template-columns: minmax(0, 642fr) minmax(0, 916fr);
	align-items: center;
	gap: clamp(40px, 4.2vw, 80px);
}

.member--reverse .member__inner {
	grid-template-columns: minmax(0, 916fr) minmax(0, 642fr);
}

.member--reverse .member__photo {
	order: 2;
}

.member__photo {
	position: relative;
	background: #eee;
}

.member__photo img {
	width: 100%;
	aspect-ratio: 802 / 1124;
	object-fit: cover;
}

.member__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.member__name {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: calc(var(--fs-h2) * var(--type-scale));
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.042em;
	text-transform: uppercase;
}

.member__name span {
	color: var(--currency);
	font-weight: 400;
}

.member__bio {
	margin-top: -16px;
}

.member__contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: calc(var(--fs-lead) * var(--type-scale));
	line-height: 1.6;
}

.member__contact .icon {
	width: 0.85em;
	height: 0.85em;
}

@media (max-width: 899px) {
	.member__inner,
	.member--reverse .member__inner {
		grid-template-columns: 1fr;
	}

	.member--reverse .member__photo {
		order: 0;
	}


	.member__photo img {
		aspect-ratio: 4 / 5;
	}
}

/* ---------- Single opportunity ---------- */

.job {
	position: relative;
	padding-bottom: clamp(80px, 6.25vw, 120px);
}

.job__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: clamp(130px, 10.42vw, 200px);
	margin-bottom: clamp(32px, 2.9vw, 56px);
}

.job__title {
	max-width: 1190px;
	letter-spacing: 0.06em;
}

.job__location {
	display: block;
	margin-top: 4px;
	color: var(--currency);
	font-weight: 700;
	line-height: 1.33;
	letter-spacing: 0;
}

.job__notice {
	margin-bottom: 24px;
	padding: 16px 20px;
	border-left: 6px solid var(--currency);
	background: #faf7f2;
	font-size: calc(18px * var(--type-scale));
}

.job__summary {
	position: relative;
	z-index: 2;
	margin-bottom: clamp(32px, 2.9vw, 56px);
	font-size: calc(var(--fs-intro) * var(--type-scale));
	line-height: 1.6;
	letter-spacing: 0.016em;
}

.job .btn-row {
	position: relative;
	z-index: 2;
}

.job__box {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(40px, 4.2vw, 80px);
	margin-top: clamp(32px, 2.9vw, 56px);
	padding: clamp(24px, 4.2vw, 80px);
	border: 1px solid var(--ink);
	background: rgba(255, 255, 255, 0.85);
}

.job__logo img {
	width: 120px;
	height: 120px;
	object-fit: contain;
}

.job__content {
	align-self: stretch;
}

/* ---------- Forms ---------- */

.form-section {
	padding-bottom: var(--section);
}

.form-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 3.5vw, 68px);
	padding: clamp(32px, 6.25vw, 120px);
	background: var(--equity);
	color: #fff;
	box-shadow: 0 1.96px 1.77px rgba(33, 16, 16, 0.1), -3.92px 3.92px 0 #f3f3f3, inset -2.94px 3.92px 1.96px rgba(255, 255, 255, 0.25);
}

/* Phones: slimmer panel padding, and the heading sized from the panel's width so
   "THE CONVERSATION" (12.34em with tracking) stays on one line instead of breaking mid-word. */
@media (max-width: 699px) {
	.form-panel {
		padding-inline: 24px;
	}

	#contact-form .form-panel .h2 {
		font-size: min(calc(var(--fs-h2) * var(--type-scale)), calc((100vw - 2 * var(--gutter) - 48px) / 12.6));
	}
}

.form-panel__note {
	margin-top: calc(clamp(28px, 3.5vw, 68px) * -0.5);
	font-size: calc(16px * var(--type-scale));
	line-height: 1.4;
}

.cform__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 2.55vw, 49px) clamp(24px, 2.65vw, 51px);
}

.cform__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cform__field--full {
	grid-column: 1 / -1;
}

.cform__label {
	font-size: calc(14px * var(--type-scale));
	font-weight: 400;
}

.cform input[type="text"],
.cform input[type="email"],
.cform input[type="tel"],
.cform select,
.cform textarea,
.cform__file-ui {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #ececec;
	border-radius: 0;
	background: #fff;
	color: var(--text);
	font: inherit;
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

.cform textarea {
	height: 180px;
	padding: 16px;
	resize: vertical;
}

.cform ::placeholder {
	color: var(--muted);
	opacity: 1;
}

.cform input:focus,
.cform select:focus,
.cform textarea:focus,
.cform__file-ui:focus-within {
	outline: 2px solid var(--currency);
	outline-offset: 0;
}

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

.cform__select .wpcf7-form-control-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 1.5px solid var(--muted);
	border-bottom: 1.5px solid var(--muted);
	transform: rotate(45deg);
	pointer-events: none;
}

.cform__select .wpcf7-form-control-wrap {
	position: relative;
}

.cform select {
	padding-right: 44px;
	color: var(--muted);
	cursor: pointer;
}

.cform select.has-value {
	color: var(--text);
}

.cform__file-ui {
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.cform__file-name {
	overflow: hidden;
	color: var(--muted);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cform__file-name.has-file {
	color: var(--text);
}

.cform__file-ui .wpcf7-form-control-wrap {
	position: absolute;
	inset: 0;
}

.cform__file-ui input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.cform__file .wpcf7-not-valid-tip {
	position: absolute;
	top: calc(100% + 6px);
}

.cform__check .wpcf7-list-item {
	margin: 0;
}

.cform__check label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: calc(clamp(17px, 1.15vw, 22px) * var(--type-scale));
	line-height: 1.6;
	cursor: pointer;
}

.cform__check input {
	flex: none;
	width: 24px;
	height: 24px;
	margin: 0;
	border: 2px solid #fff;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.cform__check input:checked {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-4.2-4.2-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%232c4a36'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.cform__submit,
.cform input[type="submit"] {
	width: 100%;
	padding: 26px 24px 24px;
	border: 1px solid var(--currency);
	/* Same hover language as the other buttons: the fill clears to an outline and a bar
	   grows across the top (a background layer, since an <input> has no ::before). */
	background-color: var(--currency);
	background-image: linear-gradient(var(--currency), var(--currency));
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 1px 6px;
	color: #fff;
	font: inherit;
	/* 19px minimum: white on the brand gold (3.9:1) only meets AA as large bold text. */
	font-size: max(19px, calc(var(--fs-card) * var(--type-scale)));
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-size 0.45s var(--ease-out), background-color 0.25s ease, color 0.25s ease;
}

.cform__submit:hover,
.cform__submit:focus-visible,
.cform input[type="submit"]:hover,
.cform input[type="submit"]:focus-visible {
	background-color: transparent;
	background-size: 100% 6px;
	color: #fff;
}

.cform .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

.wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #ffc9b8;
	font-size: calc(14px * var(--type-scale));
}

.cform .wpcf7-response-output {
	margin: 32px 0 0 !important;
	padding: 16px 20px !important;
	border: 1px solid rgba(255, 255, 255, 0.5) !important;
	font-size: calc(16px * var(--type-scale));
}

.form-missing {
	padding: 16px;
	border: 1px dashed currentColor;
}

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

/* Newsletter (footer) */

.nform {
	display: flex;
	gap: 24px;
}

.nform > .wpcf7-form-control-wrap {
	flex: 1;
	display: flex;
}

.nform input[type="email"] {
	width: 100%;
	min-height: 64px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	font: inherit;
	font-size: 16px;
}

.nform input::placeholder {
	color: rgba(255, 255, 255, 0.75);
}

.nform__submit {
	flex: none;
	padding: 22px 24px 20px;
	border: 1px solid var(--equity);
	/* An <input> can't have the ::before bar the other buttons use, so the hover bar
	   is a background layer that grows across the top. */
	background-color: var(--equity);
	background-image: linear-gradient(var(--equity), var(--equity));
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 1px 6px;
	color: #fafafa;
	transition: background-size 0.45s var(--ease-out), background-color 0.25s ease;
	font: inherit;
	font-size: calc(var(--fs-card) * var(--type-scale));
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.nform__submit:hover,
.nform__submit:focus-visible {
	background-color: transparent;
	background-size: 100% 6px;
}

.site-footer .wpcf7-response-output {
	margin: 16px 0 0 !important;
	padding: 10px 14px !important;
	border-color: rgba(255, 255, 255, 0.4) !important;
	color: #fff;
	font-size: calc(14px * var(--type-scale));
}

.site-footer .wpcf7-spinner {
	position: absolute;
}

@media (max-width: 499px) {
	.nform {
		flex-direction: column;
		gap: 12px;
	}
}

/* ---------- Closing CTA & footer ---------- */

.site-end {
	position: relative;
	/* The green CTA circle can run past the footer on wide screens; clip it at the
	   footer's bottom edge so it never adds white space below the page. */
	overflow: hidden;
	overflow: clip;
}

.cta {
	position: relative;
	/* No fixed height: the space below the button is just this padding (about half what it was). */
	padding: clamp(150px, 11.7vw, 225px) var(--gutter) clamp(48px, 7vw, 150px);
}

.cta__circle {
	position: absolute;
	top: clamp(20px, 1.8vw, 35px);
	left: 50%;
	z-index: 3;
	width: 71.3vw;
	aspect-ratio: 1;
	border-radius: 50%;
	transform: translateX(-50%) rotate(52.29deg);
	background: linear-gradient(227.57deg, rgba(42, 76, 58, 0.4) 7.04%, rgba(42, 76, 58, 0.15) 55.62%, rgba(42, 76, 58, 0) 107.09%);
	box-shadow: inset 4px -4px 2px #e5ebe8, inset 5px 4px 1px rgba(44, 74, 54, 0.5);
	mix-blend-mode: hard-light;
	pointer-events: none;
}

.cta__inner {
	position: relative;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.cta__inner .btn {
	margin-top: 16px;
}

@media (max-width: 899px) {
	.cta {
		padding-top: 120px;
	}

	.cta__circle {
		top: 24px;
		width: 128vw;
	}
}

.site-footer {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 3.3vw, 64px);
	padding: clamp(56px, 5.2vw, 100px) clamp(16px, 4.17vw, 80px) 40px;
	background: #000;
	color: #fff;
}

.site-end:not(.site-end--cta) .site-footer {
	margin-top: 0;
}

.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	/* Line the label and links up by their text, not their boxes. */
	align-items: baseline;
	gap: 12px 24px;
	line-height: 1.5;
}

.site-footer__heading {
	font-size: calc(14px * var(--type-scale));
	font-weight: 700;
	text-transform: uppercase;
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 14px;
	margin: 0;
}

.site-footer__menu a {
	color: rgba(255, 255, 255, 0.8);
	font-size: calc(14px * var(--type-scale));
	text-decoration: none;
	text-transform: uppercase;
}

.site-footer__menu a:hover {
	color: #fff;
}

.site-footer__wordmark {
	padding-bottom: clamp(40px, 3.3vw, 64px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* On phones the wordmark leads the footer, above the quick links, and each
   label sits on its own line with its links underneath. */
@media (max-width: 699px) {
	.site-footer__wordmark {
		order: -1;
	}

	.site-footer__links {
		flex-direction: column;
		align-items: flex-start;
	}
}

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

.site-footer__main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.site-footer__contact address {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: calc(16px * var(--type-scale));
}

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

/* Underline the phone/email links only, not the buttons. */
.site-footer__contact address a:hover {
	text-decoration: underline;
}

.site-footer__newsletter {
	display: flex;
	flex-direction: column;
	width: min(563px, 100%);
}

.site-footer__eyebrow {
	margin-bottom: 8px;
	color: var(--currency);
	font-size: calc(16px * var(--type-scale));
}

.site-footer__newsletter-title {
	margin-bottom: 24px;
	font-size: calc(clamp(20px, 1.25vw, 24px) * var(--type-scale));
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: calc(14px * var(--type-scale));
	color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom a {
	color: inherit;
	text-decoration: none;
}

.site-footer__bottom a:hover {
	color: #fff;
}

/* ---------- Basic pages ---------- */

.basic {
	padding-top: calc(var(--header-h) + var(--section) / 2);
}

.basic .h1 {
	margin-bottom: 32px;
}

.basic__entry + .basic__entry {
	margin-top: 64px;
}

.basic .lead {
	margin-bottom: 32px;
}

/* ---------- Mobile section rhythm ----------
   One spacing scale on phones: 88px from one section's content to the next on the same
   background (44px each side), and 56px between content and the edge where the background
   changes colour (the black Stats/Process bands and the footer). */

@media (max-width: 699px) {
	:root {
		--m-half: 44px;
		--m-edge: 56px;
	}

	.section,
	.section--tight-top,
	.member,
	.member:first-child,
	.member:last-child {
		padding-block: var(--m-half);
	}

	.home-hero,
	.page-hero,
	.form-section {
		padding-bottom: var(--m-half);
	}

	.statement__body {
		padding-block: var(--m-half);
	}

	.listing + .listing,
	.principles + .circle-host .testimonials {
		padding-top: var(--m-half);
	}

	.cta {
		padding-top: var(--m-half);
		padding-bottom: var(--m-edge);
	}

	/* Colour changes: the black bands, and whatever sits either side of them. */
	.stats,
	.process {
		padding-block: var(--m-edge);
	}

	/* ~ rather than +: the placements dialogs sit between Stats and the team section. */
	.stats ~ .home-team,
	.process + * {
		padding-top: var(--m-edge);
	}

	/* Contact: the green form panel counts as content, 88px under the hero. */
	.page-hero + .form-section {
		padding-top: var(--m-half);
	}

	.section:has(+ .stats, + .process),
	.statement:has(+ .process) .statement__body {
		padding-bottom: var(--m-edge);
	}

	/* No CTA: the last section runs straight into the black footer. */
	body:not(:has(.site-end--cta)) .site-main > :last-child,
	body:not(:has(.site-end--cta)) .site-main > :last-child .form-section {
		padding-bottom: var(--m-edge);
	}
}

/* Contact address: wrap at half the page rather than running as one long line. */
@media (min-width: 900px) {
	.contact-info .section-head .h2 {
		max-width: 50vw;
		text-wrap: balance;
	}
}

/* Mobile circle positions, page by page. */
@media (max-width: 899px) {
	/* Home, "How we work": show less of the circle. */
	.practices .circle {
		top: calc(var(--y) + 50px);
		right: calc(-6% - 30px);
	}

	/* Our Approach: sit under the heading after the principles, not over it. */
	.principles .circle--on-bottom-edge {
		bottom: calc(var(--w) / -2 - var(--edge-offset, 0px) - 130px);
	}

	/* Team: centred on the line between two people. */
	.member .circle--from-left {
		top: calc(100% - var(--w) / 2 + 30px);
	}

	.member .circle--from-right {
		top: calc(var(--w) / -2 + 50px);
	}

	/* Single opportunity: top right, just under the navigation, whatever the title length. */
	.job .circle {
		top: calc(var(--header-h) + 16px);
	}

	.job__head {
		position: relative;
		z-index: 2;
	}
}
