/* ==========================================================================
   Maverick Fund theme styles
   Palette and type from the Maverick Fund brand sheet.
   ========================================================================== */

:root {
	/* Brand */
	--mf-gold: #FFB600;
	--mf-gold-alt: #FFB81D;
	--mf-orange: #FE7F03;
	--mf-sand: #FEDA86;
	--mf-cream: #EEE8D6;
	--mf-stone: #D7CEBD;

	/* Neutrals */
	--mf-ink: #1B1A17;
	--mf-ink-soft: #2A2825;
	--mf-charcoal: #484848;
	--mf-gray-600: #656565;
	--mf-gray-500: #828282;
	--mf-gray-400: #9D9D9D;
	--mf-gray-300: #BABABA;
	--mf-gray-200: #D8D8D8;
	--mf-paper: #FFFFFF;

	/* Semantic */
	--mf-text: var(--mf-ink);
	--mf-text-muted: var(--mf-gray-600);
	--mf-bg: var(--mf-paper);
	--mf-border: #E6E1D6;
	--mf-focus: var(--mf-orange);

	/* Type */
	--mf-font: "Avenir Next", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* Rhythm */
	--mf-wrap: 1180px;
	--mf-wrap-narrow: 760px;
	--mf-gutter: 24px;
	--mf-section-y: clamp(56px, 8vw, 112px);
	--mf-radius: 4px;
	--mf-radius-lg: 8px;

	--mf-shadow-sm: 0 1px 2px rgba(27, 26, 23, 0.06), 0 2px 8px rgba(27, 26, 23, 0.04);
	--mf-shadow-md: 0 8px 28px rgba(27, 26, 23, 0.10);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

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

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}

body {
	margin: 0;
	background: var(--mf-bg);
	color: var(--mf-text);
	font-family: var(--mf-font);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--mf-ink);
	text-decoration-color: var(--mf-gold);
	text-underline-offset: 3px;
	transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover,
a:focus {
	color: var(--mf-orange);
}

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

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	color: var(--mf-ink);
}

p {
	margin: 0 0 1.1em;
}

p:last-child {
	margin-bottom: 0;
}

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

hr {
	border: 0;
	border-top: 1px solid var(--mf-border);
	margin: 2.5rem 0;
}

blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 3px solid var(--mf-gold);
	font-size: 1.15em;
	color: var(--mf-charcoal);
}

/* Accessibility helpers ---------------------------------------------------- */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	background: var(--mf-ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: var(--mf-radius);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: var(--mf-wrap);
	margin-inline: auto;
	padding-inline: var(--mf-gutter);
}

.wrap--narrow {
	max-width: var(--mf-wrap-narrow);
}

.section {
	padding-block: var(--mf-section-y);
}

.section--dark {
	background: var(--mf-ink);
	color: #EFEBE2;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
	color: #FFFFFF;
}

.section--cream {
	background: var(--mf-cream);
}

.section--note {
	padding-block: 0 var(--mf-section-y);
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--mf-border);
}

.site-header.is-scrolled {
	box-shadow: 0 1px 12px rgba(27, 26, 23, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

/* Logo ---------------------------------------------------------------------
   Height is author-set in the Customizer and arrives as --mf-logo-height.
   Width stays auto so any lockup keeps its proportions; max-width stops an
   unusually wide wordmark from crowding the navigation. */

.site-branding {
	display: flex;
	align-items: center;
}

.site-branding a,
.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.site-branding img,
.site-branding .custom-logo {
	height: var(--mf-logo-height, 44px);
	width: auto;
	max-width: 280px;
	object-fit: contain;
}

/* Dark wordmark on a dark background: knock it out to white. */
.site-branding--invert img {
	filter: brightness(0) invert(1);
}

.site-footer .site-branding img {
	height: calc(var(--mf-logo-height, 44px) * 0.9);
}

@media (max-width: 480px) {
	.site-branding img,
	.site-branding .custom-logo {
		height: calc(var(--mf-logo-height, 44px) * 0.82);
		max-width: 190px;
	}
}

.site-wordmark {
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--mf-ink);
	white-space: nowrap;
}

.site-wordmark__mav {
	color: var(--mf-ink);
}

.site-wordmark__fund {
	color: var(--mf-gold);
}

.main-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav__list a,
.main-nav ul a {
	display: inline-block;
	padding: 6px 0;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: var(--mf-charcoal);
	position: relative;
}

.main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 2px;
	background: var(--mf-gold);
	transition: right 0.22s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
	right: 0;
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	color: var(--mf-ink);
}

/* Sub menus */
.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: #fff;
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	box-shadow: var(--mf-shadow-md);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.main-nav li {
	position: relative;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav .sub-menu a {
	display: block;
	padding: 8px 16px;
}

.main-nav .sub-menu a::after {
	display: none;
}

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	padding: 10px;
	cursor: pointer;
	line-height: 0;
}

.nav-toggle__bars {
	display: inline-block;
	width: 20px;
}

.nav-toggle__bars span {
	display: block;
	height: 2px;
	background: var(--mf-ink);
	margin: 4px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

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

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--mf-border);
		box-shadow: var(--mf-shadow-md);
		display: none;
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav__list,
	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--mf-gutter) 20px;
	}

	.main-nav__list > li {
		border-bottom: 1px solid var(--mf-border);
	}

	.main-nav a {
		padding: 14px 0;
		font-size: 1.05rem;
	}

	.main-nav a::after {
		display: none;
	}

	.main-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 8px 14px;
	}
}

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

.eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mf-gray-500);
	margin: 0 0 14px;
}

.eyebrow--gold {
	color: var(--mf-orange);
}

.section--dark .eyebrow {
	color: var(--mf-sand);
}

.section-head {
	max-width: 720px;
	margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-title {
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
	margin-bottom: 0.4em;
}

.section-intro {
	color: var(--mf-text-muted);
	font-size: 1.08rem;
}

.section--dark .section-intro {
	color: #C9C3B8;
}

.section__more {
	margin-top: 40px;
}

.note {
	font-size: 0.86rem;
	line-height: 1.6;
	color: var(--mf-gray-500);
	border-top: 1px solid var(--mf-border);
	padding-top: 20px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: var(--mf-radius);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn--primary {
	background: var(--mf-gold);
	border-color: var(--mf-gold);
	color: var(--mf-ink);
}

.btn--primary:hover,
.btn--primary:focus {
	background: var(--mf-orange);
	border-color: var(--mf-orange);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	border-color: var(--mf-ink);
	color: var(--mf-ink);
}

.btn--ghost:hover,
.btn--ghost:focus {
	background: var(--mf-ink);
	color: #fff;
}

.section--dark .btn--ghost {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.section--dark .btn--ghost:hover {
	background: #fff;
	color: var(--mf-ink);
}

.btn--sm {
	padding: 9px 16px;
	font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--mf-ink);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

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

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.45;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(1200px 500px at 12% -10%, rgba(255, 182, 0, 0.22), transparent 60%),
		linear-gradient(180deg, rgba(27, 26, 23, 0.25), rgba(27, 26, 23, 0.75));
	pointer-events: none;
}

.hero__inner {
	position: relative;
	padding-block: clamp(80px, 13vw, 168px);
	max-width: 900px;
}

.hero__title {
	color: #fff;
	font-size: clamp(2.2rem, 5.6vw, 4rem);
	line-height: 1.06;
	max-width: 21ch;
	margin-bottom: 0.45em;
}

.hero__text {
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	color: rgba(255, 255, 255, 0.82);
	max-width: 58ch;
}

.hero__actions {
	margin-top: 36px;
}

.hero::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--mf-gold) 0%, var(--mf-orange) 42%, transparent 42%);
}

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

.stats {
	background: var(--mf-cream);
	border-bottom: 1px solid var(--mf-stone);
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	padding-block: clamp(36px, 5vw, 56px);
}

.stat__value {
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	margin: 0 0 10px;
	color: var(--mf-ink);
}

.stat__label {
	margin: 0;
	font-size: 0.95rem;
	color: var(--mf-charcoal);
	max-width: 28ch;
}

@media (max-width: 720px) {
	.stats__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.cards {
	display: grid;
	gap: 28px;
}

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

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

@media (max-width: 980px) {
	.cards--3,
	.cards--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.cards--3,
	.cards--4 {
		grid-template-columns: 1fr;
	}
}

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

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

/* --------------------------------------------------------------------------
   Homepage team grid — headshots, names, roles
   -------------------------------------------------------------------------- */

/*
 * Flex rather than grid, and capped at three columns' worth of width, so a row
 * that isn't full centers itself: five people read as 3 + 2 centered, not
 * 3 + 2 hanging off the left edge.
 */
.team-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(32px, 4vw, 52px);
	max-width: 780px;
	margin-inline: auto;
}

.teammate {
	flex: 0 0 200px;
	text-align: center;
}

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

.teammate__media {
	display: block;
	width: 148px;
	height: 148px;
	margin: 0 auto 16px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(135deg, var(--mf-stone) 0%, #C9BFA9 100%);
	box-shadow: 0 0 0 1px rgba(27, 26, 23, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.teammate__link:hover .teammate__media,
.teammate__link:focus-visible .teammate__media {
	transform: translateY(-2px);
	box-shadow: 0 0 0 2px var(--mf-gold), 0 8px 20px rgba(27, 26, 23, 0.12);
}

.teammate__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-size: 2.4rem;
	font-weight: 800;
	color: rgba(27, 26, 23, 0.35);
}

.teammate__name {
	display: block;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.3;
	color: var(--mf-ink);
}

.teammate__role {
	display: block;
	margin-top: 4px;
	font-size: 0.88rem;
	color: var(--mf-gray-600);
}

.teammate__link:hover .teammate__name {
	color: var(--mf-orange);
}

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

@media (max-width: 560px) {
	.team-grid {
		gap: 28px;
	}

	.person {
		flex: 0 0 140px;
	}

	.teammate__media {
		width: 112px;
		height: 112px;
	}
}

/*
 * Team page: a roster — one person per row, portrait left, bio right. Columns
 * were fine for three or four people; at five they force the bios into gutters
 * too narrow to read, and the row heights stop matching. Stacked rows read the
 * same at any roster size and give each bio a proper measure.
 */
.roster {
	display: grid;
	gap: 24px;
	/* Narrower than the full wrap so the bio's measure fills the row rather
	   than leaving a gutter of white to the right of every paragraph. */
	max-width: 1040px;
	margin-inline: auto;
}

.roster .card--person {
	flex-direction: row;
	align-items: stretch;
}

.roster .card--person:hover {
	transform: none;
}

.roster .card__media--portrait {
	flex: 0 0 240px;
	aspect-ratio: 4 / 5;
	align-self: stretch;
}

.roster .card__media--portrait img {
	height: 100%;
	object-fit: cover;
}

.roster .card__placeholder--portrait {
	height: 100%;
	aspect-ratio: auto;
}

.roster .card__body {
	padding: 32px 36px;
	justify-content: center;
	gap: 4px;
}

.roster .card__title {
	font-size: 1.4rem;
}

.roster .card__meta {
	font-size: 0.95rem;
	color: var(--mf-orange);
	font-weight: 600;
}

.roster .card__bio {
	font-size: 0.98rem;
	line-height: 1.6;
	max-width: 74ch;
	margin-top: 12px;
}

.roster .card__links {
	margin-top: 18px;
}

@media (max-width: 720px) {
	.roster .card--person {
		flex-direction: column;
	}

	.roster .card__media--portrait {
		flex: 1 1 auto;
		aspect-ratio: 4 / 5;
	}

	.roster .card__body {
		padding: 24px;
	}
}

/* Postal address: one line per line, no italics. */
.contact__address,
.footer-address {
	font-style: normal;
	display: block;
}

.contact__address span,
.footer-address span {
	display: block;
}

.contact__value a .contact__address {
	text-decoration: underline;
	text-decoration-color: var(--mf-gold);
	text-underline-offset: 3px;
}

/* Full bios on the Team page: readable measure, roomier than a card excerpt. */
.card__bio {
	margin-top: 10px;
	color: var(--mf-charcoal);
	font-size: 0.97rem;
	line-height: 1.6;
}

.card__bio p {
	margin-bottom: 0.9em;
}

.card__bio p:last-child {
	margin-bottom: 0;
}

/* One or two people should not stretch across the full row. */
.cards--few {
	grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
	justify-content: start;
}

.card {
	background: #fff;
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--mf-shadow-md);
	border-color: var(--mf-stone);
}

.card__media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--mf-cream);
	overflow: hidden;
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.card:hover .card__media img {
	transform: scale(1.04);
}

.card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, var(--mf-cream) 0%, var(--mf-stone) 100%);
}

.card__placeholder--portrait {
	display: grid;
	place-items: center;
	font-size: 2.6rem;
	font-weight: 800;
	color: rgba(27, 26, 23, 0.35);
	aspect-ratio: 4 / 5;
}

.card__media--portrait {
	aspect-ratio: 4 / 5;
}

.card__body {
	padding: 22px 24px 26px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.card__eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mf-orange);
	margin: 0;
}

.card__title {
	font-size: 1.2rem;
	margin: 0;
	line-height: 1.25;
}

.card__title a {
	text-decoration: none;
}

.card__meta {
	margin: 0;
	color: var(--mf-gray-500);
	font-size: 0.92rem;
}

.card__text {
	margin: 8px 0 0;
	color: var(--mf-charcoal);
	font-size: 0.95rem;
}

.card__links {
	margin: 14px 0 0;
	display: flex;
	gap: 16px;
	font-size: 0.86rem;
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Pillars (process)
   -------------------------------------------------------------------------- */

.pillars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

@media (max-width: 980px) {
	.pillars {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

.pillar {
	padding-top: 22px;
	border-top: 2px solid rgba(255, 182, 0, 0.55);
}

.pillar__num {
	display: block;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: var(--mf-gold);
	margin-bottom: 10px;
}

.pillar__title {
	font-size: 1.15rem;
	margin-bottom: 0.5em;
}

.pillar p {
	color: #C4BEB3;
	font-size: 0.96rem;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Page hero / archives
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	padding-block: clamp(48px, 7vw, 92px);
	background: var(--mf-cream);
	border-bottom: 1px solid var(--mf-stone);
	overflow: hidden;
}

.page-hero--media {
	background: var(--mf-ink);
	color: #fff;
	border-bottom: 0;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
}

.page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.4;
}

.page-hero--media .wrap {
	position: relative;
}

.page-hero--media .page-hero__title,
.page-hero--media .page-hero__lead {
	color: #fff;
}

.page-hero__title {
	font-size: clamp(1.9rem, 4.4vw, 3.1rem);
	max-width: 20ch;
	margin-bottom: 0.3em;
}

.page-hero__lead {
	max-width: 62ch;
	color: var(--mf-charcoal);
	font-size: 1.06rem;
	margin: 0;
}

.page-hero__search {
	margin-top: 22px;
	max-width: 520px;
}


/* --------------------------------------------------------------------------
   Entry content
   -------------------------------------------------------------------------- */

.entry-content {
	font-size: 1.05rem;
}

.entry-content h2 {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	margin-top: 2em;
}

.entry-content h3 {
	font-size: 1.25rem;
	margin-top: 1.8em;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content img {
	border-radius: var(--mf-radius-lg);
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 1.4em;
}

.entry-content li + li {
	margin-top: 0.4em;
}

.entry-content--wide {
	max-width: none;
}

.entry-meta {
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mf-gray-500);
	margin: 0 0 8px;
}

.single-media {
	margin: 0 auto clamp(24px, 4vw, 48px);
}

.single-media img {
	border-radius: var(--mf-radius-lg);
	width: 100%;
}

/* Person layout */

.person-layout {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

@media (max-width: 780px) {
	.person-layout {
		grid-template-columns: 1fr;
	}
}

.person-layout__media img,
.person-layout__media .card__placeholder--portrait {
	border-radius: var(--mf-radius-lg);
	width: 100%;
}

.person__name {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin-bottom: 0.15em;
}

.person__role {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--mf-orange);
	margin: 0 0 4px;
}

.person__company {
	color: var(--mf-gray-500);
	margin: 0 0 24px;
}

.person__links {
	display: flex;
	gap: 12px;
	margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 72px);
	align-items: start;
}

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

.contact__details {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.contact__label {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mf-gray-500);
}

.contact__value {
	font-size: 1.05rem;
	font-weight: 600;
}

.contact__form {
	background: var(--mf-cream);
	border-radius: var(--mf-radius-lg);
	padding: clamp(24px, 4vw, 40px);
}

.contact__placeholder {
	border: 2px dashed var(--mf-stone);
	border-radius: var(--mf-radius);
	padding: 28px;
	color: var(--mf-gray-600);
	font-size: 0.95rem;
}

/* Generic form controls, so third-party form plugins inherit the brand */

.contact__form label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--mf-charcoal);
}

.contact__form p {
	margin-bottom: 18px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
select,
textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--mf-stone);
	border-radius: var(--mf-radius);
	background: #fff;
	font-family: inherit;
	font-size: 1rem;
	color: var(--mf-ink);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--mf-gold);
	outline: 2px solid rgba(255, 182, 0, 0.35);
	outline-offset: 1px;
}

button,
input[type="submit"] {
	font-family: inherit;
}

input[type="submit"] {
	background: var(--mf-gold);
	border: 2px solid var(--mf-gold);
	border-radius: var(--mf-radius);
	padding: 13px 26px;
	font-weight: 700;
	color: var(--mf-ink);
	cursor: pointer;
}

input[type="submit"]:hover {
	background: var(--mf-orange);
	border-color: var(--mf-orange);
	color: #fff;
}

.search-form {
	display: flex;
	gap: 10px;
}

/* --------------------------------------------------------------------------
   Lists / pagination / navigation
   -------------------------------------------------------------------------- */

.result-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.result {
	padding: 24px 0;
	border-bottom: 1px solid var(--mf-border);
}

.result__title {
	font-size: 1.25rem;
	margin-bottom: 0.3em;
}

.result__text {
	margin: 0;
	color: var(--mf-charcoal);
}

.pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	border: 1px solid var(--mf-border);
	border-radius: var(--mf-radius);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.92rem;
}

.pagination .page-numbers.current {
	background: var(--mf-ink);
	border-color: var(--mf-ink);
	color: #fff;
}

.post-navigation {
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--mf-border);
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.post-navigation a {
	text-decoration: none;
}

.nav-label {
	display: block;
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mf-gray-500);
	margin-bottom: 4px;
}

.nav-title {
	font-weight: 700;
}

.no-results {
	padding-block: 40px;
	text-align: center;
}

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

.error-404 .search-form {
	max-width: 440px;
	margin: 28px auto 0;
}

.error-404__actions {
	margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--mf-ink);
	color: #B9B3A8;
	padding-block: clamp(48px, 7vw, 80px) 32px;
	font-size: 0.95rem;
}

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

.site-footer a:hover {
	color: var(--mf-gold);
}

.site-footer .site-wordmark__mav {
	color: #fff;
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 44px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
	.site-footer__top {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.site-footer__top {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

.site-footer__desc {
	margin-top: 14px;
	max-width: 34ch;
	color: #9A948A;
}

.site-footer__heading {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mf-gold);
	margin-bottom: 16px;
}

.footer-menu,
.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.disclaimer {
	padding-block: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.disclaimer__title {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8C867C;
	margin-bottom: 12px;
}

.disclaimer__text {
	font-size: 0.8rem;
	line-height: 1.65;
	color: #8C867C;
	max-width: 100ch;
}

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

.site-footer__copy {
	margin: 0;
	font-size: 0.82rem;
	color: #8C867C;
}

.legal-menu {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   Split sections (what we do / team teaser)
   -------------------------------------------------------------------------- */

.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}

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

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

@media (max-width: 980px) {
	.split--3up {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

.split--reverse .split__item:first-child {
	order: 2;
}

@media (max-width: 760px) {
	.split--reverse .split__item:first-child {
		order: 0;
	}
}

.split__media {
	aspect-ratio: 3 / 2;
	border-radius: var(--mf-radius-lg);
	overflow: hidden;
	background: var(--mf-cream);
}

.split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.94) contrast(1.03);
}

/* Without a photograph the block carries its own structure: a gold rule and
   more generous type, so an empty image slot never looks like a mistake. */
.split__item--plain .split__body {
	border-top: 3px solid var(--mf-gold);
	padding-top: 26px;
}

.split__item--plain .split__title {
	margin-top: 0;
}

.split__item--plain .split__text {
	font-size: 1.05rem;
}

.split__title {
	margin: 24px 0 0.4em;
	font-size: clamp(1.3rem, 2.4vw, 1.65rem);
}

.split__text {
	margin: 0;
	color: var(--mf-charcoal);
}

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

.split__item--text .section-head {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Section background imagery
   -------------------------------------------------------------------------- */

.section--media {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

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

.section__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.16;
	filter: grayscale(0.2);
}

.section--media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(900px 400px at 85% 0%, rgba(255, 182, 0, 0.14), transparent 65%),
		linear-gradient(180deg, rgba(27, 26, 23, 0.55), rgba(27, 26, 23, 0.9));
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Market context
   -------------------------------------------------------------------------- */

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

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

.market__group {
	background: #fff;
	border-radius: var(--mf-radius-lg);
	padding: 28px 28px 24px;
	border-top: 4px solid var(--mf-gold);
	display: flex;
	flex-direction: column;
}

.market__title {
	font-size: 1.15rem;
	margin: 0 0 20px;
}

.market__figures {
	margin: 0;
	flex: 1;
	display: grid;
	gap: 20px;
}

.market__figure {
	display: block;
}

.market__value {
	font-size: clamp(1.7rem, 3vw, 2.15rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--mf-ink);
}

.market__caption {
	margin: 6px 0 0;
	font-size: 0.92rem;
	color: var(--mf-charcoal);
}

.market__sources {
	margin: 24px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--mf-border);
	font-size: 0.72rem;
	line-height: 1.5;
	color: var(--mf-gray-500);
}

.market__sources-label {
	display: block;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mf-gray-400);
	margin-bottom: 3px;
}

/* --------------------------------------------------------------------------
   Footprint
   -------------------------------------------------------------------------- */

.footprint {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}

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

.footprint__intro .section-head {
	margin-bottom: 0;
}

.region-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
	border-top: 1px solid var(--mf-border);
}

@media (max-width: 420px) {
	.region-list {
		grid-template-columns: 1fr;
	}
}

.region {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 2px;
	border-bottom: 1px solid var(--mf-border);
	font-weight: 600;
	font-size: 0.98rem;
}

.region::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mf-gold);
}

/* --------------------------------------------------------------------------
   Testimonials

   The disclosure under each video is set at the same size and color as the
   speaker's own words, not as fine print. That is deliberate: a disclosure
   rendered in 11px gray is a disclosure the reader was not meant to read, and
   on a site attached to a private offering it has to carry the same weight as
   the claim it qualifies.
   -------------------------------------------------------------------------- */

.section--tight {
	padding-block: clamp(40px, 5vw, 68px);
}

.vouch-notice {
	max-width: 78ch;
	margin-top: clamp(32px, 4vw, 52px);
	padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 34px);
	background: var(--mf-cream);
	border-left: 4px solid var(--mf-gold);
	border-radius: 0 var(--mf-radius-lg) var(--mf-radius-lg) 0;
}

.vouch-notice__title {
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mf-charcoal);
	margin-bottom: 0.8em;
}

.vouch-notice__text {
	font-size: 0.98rem;
	color: var(--mf-ink);
	max-width: 74ch;
}

.vouch-notice__text p + p {
	margin-top: 0.9em;
}

/* --- One testimonial ----------------------------------------------------- */

.vouch {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.vouch__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.vouch__media {
	position: relative;
	border-radius: var(--mf-radius-lg);
	overflow: hidden;
	background: var(--mf-ink);
	box-shadow: var(--mf-shadow-sm);
}

.vouch__video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--mf-ink);
	object-fit: cover;
}

.vouch__fallback {
	padding: 24px;
	color: #EFEBE2;
}

.vouch__fallback a {
	color: var(--mf-gold);
}

.vouch__quote {
	margin: 0;
	font-size: 1.12rem;
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--mf-ink);
	border-left: 3px solid var(--mf-gold);
	padding-left: 18px;
}

.vouch__who {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin: 0;
	font-size: 0.95rem;
	color: var(--mf-text-muted);
}

.vouch__name {
	font-weight: 700;
	color: var(--mf-ink);
}

.vouch__duration::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-right: 7px;
	border-style: solid;
	border-width: 4px 0 4px 6px;
	border-color: transparent transparent transparent var(--mf-gray-500);
	vertical-align: 1px;
}

.vouch__transcript {
	border-top: 1px solid var(--mf-border);
	border-bottom: 1px solid var(--mf-border);
	padding-block: 12px;
}

.vouch__transcript > summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
	list-style-position: outside;
}

.vouch__transcript > summary::marker {
	color: var(--mf-gold);
}

.vouch__transcript[open] > summary {
	margin-bottom: 14px;
}

.vouch__transcript-body {
	font-size: 0.98rem;
	color: var(--mf-charcoal);
	max-width: 70ch;
}

.vouch__disclosure {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--mf-charcoal);
	max-width: 74ch;
}

/* --- The featured one ---------------------------------------------------- */

.vouch--featured {
	gap: 28px;
}

.vouch--featured .vouch__quote {
	font-size: clamp(1.2rem, 2.1vw, 1.6rem);
	font-weight: 700;
	line-height: 1.38;
	padding-left: 22px;
	border-left-width: 4px;
	max-width: 44ch;
}

.vouch--featured .vouch__who {
	font-size: 1rem;
}

@media (min-width: 900px) {
	.vouch--featured {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		align-items: start;
		gap: 40px;
	}

	.vouch--featured .vouch__body {
		gap: 22px;
	}
}

/* --- The grid ------------------------------------------------------------ */

.vouch-grid {
	display: grid;
	gap: clamp(32px, 4vw, 56px);
}

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

.vouch-grid .vouch__quote {
	font-size: 1.05rem;
}

.vouch-grid .vouch__media {
	box-shadow: var(--mf-shadow-md);
}

.vouch-closing {
	font-size: 1rem;
	color: var(--mf-charcoal);
}

.vouch-empty {
	color: var(--mf-text-muted);
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
	.site-header,
	.site-footer__top,
	.nav-toggle,
	.filter-bar,
	.pagination {
		display: none !important;
	}

	body {
		color: #000;
		font-size: 12pt;
	}

	.hero,
	.section--dark {
		background: #fff !important;
		color: #000 !important;
	}
}
