/**
 * Component: Founders Story — styles
 * Figma: desktop frame 11533:1342 ("Founders story container") + mobile frame
 * 11652:8449 ("Extra section"). Two-column card: left = copy (label, heading,
 * body, attribution); right = a single flat founder-photo collage image.
 * Scoped to .founders-story (BEM root). No global selectors.
 *
 * Rebuild note: the collage photo (two polaroids, rotation, shadow) is baked
 * into one committed PNG and sits INSIDE the card in normal flow — no glow,
 * no CSS rotation, no absolute positioning for content.
 */

/* ── Section root ─────────────────────────────────────────── */
.founders-story {
	background-color: var(--color-bg);
	padding-block: 7.5rem;
	padding-inline: clamp(1.5rem, 9vw, 8.125rem);
}

/* ── Inner container (1180 px centred) ───────────────────── */
.founders-story__inner {
	max-width: 1180px;
	margin-inline: auto;
}

/* ── Card shell ──────────────────────────────────────────── */
.founders-story__card {
	position: relative; /* centred inner container — anchor for any future edge-tracking element */
	display: flex;
	align-items: center; /* photo no longer bleeds/rotates — center it against the taller card */
	border: 1px solid var(--color-border);
	border-radius: 2rem; /* 32px — Figma spec */
	overflow: hidden;
	background-color: var(--color-bg-2);
	min-height: 558px; /* Figma card height (was 480px) */
}

/* ── Left column: copy ───────────────────────────────────── */
.founders-story__copy {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 1.25rem; /* 20px — Figma vertical rhythm between label/heading/body/attribution */
	padding: 3.625rem 2rem 3.625rem 6.125rem; /* 58px top/bottom, 98px left, 32px right gutter to photo */
	max-width: 581px;
}

.founders-story__label {
	font-family: var(--font-body);
	font-size: 20px; /* no --text-* token covers 20px/1.6 flat — literal per spec */
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-cta-blue); /* CHANGE — was var(--color-brand) teal */
	margin: 0;
}

.founders-story__heading {
	font-family: var(--font-title);
	font-size: 48px; /* no --text-* token covers a flat 48px — literal per spec */
	font-weight: 600; /* SemiBold — Figma spec */
	line-height: 60px;
	letter-spacing: -2px; /* Figma-reported value — adopted per spec's resolution over old -0.96px */
	color: var(--color-text-pri);
	margin: 0;
}

/* ── Body paragraphs ─────────────────────────────────────── */
.founders-story__body {
	display: flex;
	flex-direction: column;
	gap: 0.875rem; /* 14px — Figma paragraph gap */
}

.founders-story__body p {
	font-family: var(--font-body);
	font-size: 20px; /* literal — stays flat at every breakpoint per house rule */
	font-weight: 400;
	line-height: 32px;
	color: var(--color-text-sec);
	margin: 0;
}

.founders-story__body strong {
	font-weight: 700; /* Figma Bold — was 600 */
	color: var(--color-text-pri);
}

/* ── Attribution ─────────────────────────────────────────── */
.founders-story__attribution {
	font-family: var(--font-body);
	font-size: 20px; /* literal — stays flat at every breakpoint per house rule */
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text-pri);
	margin: 0;
	margin-top: auto; /* pin to bottom of copy column */
}

/* ── Right column: visual ────────────────────────────────── */
.founders-story__visual {
	flex: 1 1 auto; /* claims remaining row space so the photo can be centered within it */
	display: flex;
	align-items: center;      /* vertical centering of the image within this column */
	justify-content: center;  /* horizontal centering of the image within this column */
	min-width: 0;
}

/* ── Founder photo ───────────────────────────────────────── */
.founders-story__img {
	display: block;
	width: 476.76px; /* Figma collage bounding box */
	max-width: 100%;
	height: auto;
}

/* ── Tablet ≤ 900 px ─────────────────────────────────────── */
@media (max-width: 900px) {
	.founders-story {
		padding-block: 4rem;
	}

	.founders-story__card {
		flex-direction: column;
		min-height: auto; /* content + stacked photo define height once columns stack */
	}

	.founders-story__copy {
		flex: none;
		padding: 2.5rem 2rem;
		max-width: none;
	}

	.founders-story__heading {
		font-size: clamp(1.75rem, 5vw, 2.75rem); /* interpolates 48px desktop → 28px mobile floor */
		line-height: 1.2;
		letter-spacing: -1px;
	}

	/* label / body p / attribution stay 20px/32px — deliberate house rule
	   (confirmed on hero_banner + waitlist_cta this session), no shrink here */

	.founders-story__visual {
		flex: none;
	}

	.founders-story__img {
		width: 100%;
		max-width: 360px;
		margin-inline: auto;
	}
}

/* ── Mobile ≤ 480 px ─────────────────────────────────────── */
@media (max-width: 480px) {
	.founders-story {
		padding-block: 3rem;
		padding-inline: 1.25rem;
	}

	.founders-story__card {
		padding: 1.5rem; /* ~24px — Figma Mobile-375 card padding (card-level, so photo width matches text column) */
	}

	.founders-story__copy {
		padding: 0;
		gap: 1rem;
	}

	.founders-story__heading {
		font-size: 1.75rem; /* 28px — Figma Mobile-375 H2 spec, mirrors waitlist_cta.css convention */
		font-weight: 700; /* Bold — jumps from desktop 600 SemiBold per Figma */
		line-height: 1.2;
		letter-spacing: -0.5px;
	}

	/* label / body p / attribution stay 20px/32px — unchanged from desktop, no shrink */

	.founders-story__img {
		max-width: 100%;
	}
}
