/* =========================================================
   Marby Our Story / Founders

   Recreates Kim Wallace's approved October 2026 page design.
   Shared typography, colours, controls, and tokens remain
   owned by marby-master.css.
   ========================================================= */

.marby-founders {
	--founders-gutter: clamp(24px, 5vw, 72px);
	background: var(--marby-color-white);
	color: var(--marby-color-black);
	font-family: var(--marby-font-body);
	font-weight: var(--marby-font-weight-light);
	line-height: 1.65;
}

/* Remove Salient's empty content band above this full-bleed page. */
body:has(#marby-founders) .container-wrap,
body:has(#marby-founders) .main-content,
body:has(#marby-founders) #ajax-content-wrap {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

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

.marby-founders p,
.marby-founders blockquote,
.marby-founders figure {
	margin: 0;
}

.marby-founders p {
	padding-bottom: 0 !important;
}

.marby-founders strong {
	font-weight: var(--marby-font-weight-bold);
}

.marby-founders .founders-wrap.marby-public-container {
	position: relative;
	z-index: 1;
	width: min(100%, 1370px);
	max-width: 1370px;
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--founders-gutter);
	padding-left: var(--founders-gutter);
}

/* Our Story hero */
.marby-founders .founders-story-hero {
	display: grid;
	min-height: clamp(440px, 32.3vw, 620px);
	align-items: center;
	background-color: var(--marby-color-black);
	background-image: url("../images/founders/kim-jay-wallace-founders-marby-ai.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--marby-color-white);
}

.marby-founders .founders-hero-copy {
	display: grid;
	max-width: 900px;
	margin-left: clamp(0px, 12vw, 210px);
	row-gap: 40px;
}

.marby-founders .founders-story-hero h1,
.marby-founders .founders-story-hero h2 {
	margin: 0 !important;
}

/* Meet the founders */
.marby-founders .founders-people {
	padding: clamp(70px, 7vw, 105px) 0 clamp(105px, 10vw, 150px);
	background: var(--marby-color-white);
}

.marby-founders .founders-section-head {
	max-width: 1180px;
	margin-bottom: 52px;
}

.marby-founders .founders-section-head h2 {
	margin-bottom: 34px !important;
}

.marby-founders .founders-section-description {
	margin: 0 !important;
	font-family: inherit !important;
	font-size: clamp(19px, 1.6vw, 24px) !important;
	font-weight: var(--marby-font-weight-medium) !important;
	line-height: 1.75 !important;
}

.marby-founders .founders-origin-quote {
	max-width: 1050px;
	margin: 0 auto clamp(90px, 9vw, 135px);
	padding-left: 34px;
	border-left: 0;
	color: var(--marby-color-black);
	font-family: inherit;
	font-size: clamp(17px, 1.35vw, 20px);
	font-style: normal;
	font-weight: var(--marby-font-weight-light);
	line-height: 1.75;
}

.marby-founders .founders-origin-quote::before,
.marby-founders .founders-profile blockquote::before {
	border-left: 0 !important;
}

.marby-founders .founders-origin-quote p + p {
	margin-top: 34px;
}

.marby-founders .founders-quote-mark {
	display: block;
	margin-bottom: 12px;
	color: var(--marby-color-marby-blue);
	font-size: 43px;
	font-weight: var(--marby-font-weight-bold);
	line-height: 0.7;
}

.marby-founders .founders-profile {
	display: grid;
	grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
	gap: clamp(58px, 6vw, 92px);
	align-items: center;
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
}

.marby-founders .founders-profile + .founders-profile {
	margin-top: clamp(100px, 10vw, 150px);
}

.marby-founders .founders-portrait {
	width: 100%;
	max-width: 380px;
	padding: 12px 12px 18px;
	background: var(--marby-color-soft-blue);
}

.marby-founders .founders-portrait img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center;
}

.marby-founders .founders-portrait figcaption {
	padding: 16px 26px 0;
	color: var(--marby-color-black);
	font-size: 15px;
	font-weight: var(--marby-font-weight-medium);
	letter-spacing: 0.01em;
	line-height: 1.3;
	white-space: nowrap;
}

.marby-founders .founders-portrait figcaption strong {
	letter-spacing: 0.085em;
	text-transform: uppercase;
}

.marby-founders .founders-profile-copy h3 {
	margin-bottom: 4px !important;
}

.marby-founders .founders-role {
	margin-bottom: 5px;
	color: var(--marby-color-marby-blue-dark);
	font-size: 12px;
	font-weight: var(--marby-font-weight-bold);
	letter-spacing: 0.14em;
	line-height: 1.65;
	text-transform: uppercase;
}

.marby-founders .founders-profile blockquote {
	padding-top: 20px;
	border-top: 1px solid var(--marby-color-border-light);
	color: var(--marby-color-black);
	font-family: inherit;
	font-size: clamp(17px, 1.35vw, 19px);
	font-style: normal;
	font-weight: var(--marby-font-weight-light);
	line-height: 1.75;
}

/* Business problem and closing mission */
.marby-founders .founders-gfx-host {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.marby-founders .founders-gfx-ring {
	position: absolute;
	z-index: 0;
	width: 360px;
	height: 360px;
	border: 1px solid
		color-mix(in srgb, var(--marby-color-marby-blue) 28%, transparent);
	border-radius: 50%;
	box-shadow:
		0 0 0 48px
			color-mix(in srgb, var(--marby-color-marby-blue) 4.5%, transparent),
		0 0 0 96px
			color-mix(in srgb, var(--marby-color-marby-blue) 2.3%, transparent);
	pointer-events: none;
}

.marby-founders .founders-problem {
	padding: clamp(90px, 9vw, 135px) 0 clamp(105px, 11vw, 165px);
	background: var(--marby-color-soft-blue);
}

.marby-founders .founders-problem-ring {
	top: -180px;
	left: -180px;
}

.marby-founders .founders-problem h2,
.marby-founders .founders-problem h3 {
	margin: 0 !important;
}

.marby-founders .founders-problem .founders-wrap {
	display: grid;
	row-gap: 42px;
}

.marby-founders .founders-problem .founders-prose {
	display: grid;
	row-gap: 34px;
}

.marby-founders .founders-problem .founders-prose p {
	font-size: clamp(17px, 1.35vw, 20px);
	line-height: 1.75;
}

.marby-founders .founders-final-statement {
	max-width: 1210px;
	margin-top: max(0px, calc(clamp(35px, 4vw, 60px) - 40px));
}

.marby-founders .founders-final-statement h2 {
	margin: 0 !important;
}

/* Existing Our Promise footer remains unchanged. */
.marby-founders .founders-promise {
	position: relative;
	padding: 90px 0;
	overflow: hidden;
	background: var(--marby-color-tan);
	color: var(--marby-color-white);
}

.marby-founders .founders-promise::after {
	position: absolute;
	top: -190px;
	right: -170px;
	width: 390px;
	height: 390px;
	border: 1px solid
		color-mix(in srgb, var(--marby-color-white) 35%, transparent);
	border-radius: 50%;
	box-shadow: 0 0 0 48px
		color-mix(in srgb, var(--marby-color-white) 5%, transparent);
	content: "";
}

.marby-founders .founders-promise-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 36px;
	align-items: center;
}

.marby-founders .founders-promise .marby-public-eyebrow {
	color: var(--marby-color-white);
}

@media (max-width: 900px) {
	.marby-founders .founders-hero-copy {
		margin-left: 0;
	}

	.marby-founders .founders-profile {
		grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
		gap: 34px;
	}

	.marby-founders .founders-portrait figcaption {
		padding-right: 0;
		padding-left: 12px;
		font-size: 12px;
	}

	.marby-founders .founders-promise-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.marby-founders .founders-story-hero {
		min-height: 570px;
		background-position: 48% center;
	}

	.marby-founders .founders-people,
	.marby-founders .founders-problem {
		padding-top: 75px;
	}

	.marby-founders .founders-people {
		padding-bottom: 85px;
	}

	.marby-founders .founders-section-head {
		margin-bottom: 45px;
	}

	.marby-founders .founders-origin-quote {
		margin-bottom: 75px;
		padding-left: 0;
	}

	.marby-founders .founders-profile {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.marby-founders .founders-profile + .founders-profile {
		margin-top: 84px;
	}

	.marby-founders .founders-portrait {
		width: min(100%, 380px);
	}

	.marby-founders .founders-portrait figcaption {
		padding-left: 16px;
		font-size: clamp(12px, 3.5vw, 15px);
	}

	.marby-founders .founders-problem {
		padding-bottom: 90px;
	}

	.marby-founders .founders-promise .marby-btn-primary {
		width: 100%;
	}
}

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