/* ============================================================
   Founder page — Olzhas Seitov (16px = 1rem)
   Scoped under .ph-founder-page
   ============================================================ */

.ph-founder-page {
	background: var(--ph-gray-bg);
	padding: 2.5rem 0 5rem;
}

.ph-founder-page__wrap {
	padding-bottom: 0;
}

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

.ph-founder-hero {
	margin-bottom: 3rem;
}

.ph-founder-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
	background: var(--ph-white);
	border: 1px solid var(--ph-border);
	border-radius: 2rem;
	box-shadow: var(--ph-shadow-sm);
	padding: 0 0 0 2.5rem;
	overflow: hidden;
}

.ph-founder-hero__copy {
	margin: 1.25rem 0;
}

.ph-founder-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 0.375rem 0.875rem;
	margin-bottom: 1rem;
	border-radius: 9999px;
	background: var(--ph-green-bg);
	color: var(--ph-green);
	font-size: 0.875rem;
	font-weight: var(--ph-fw-medium);
	line-height: 1.2;
}

.ph-founder-hero__title {
	margin: 0 0 0.75rem;
	font-size: 3.75rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	letter-spacing: -0.02em;
	line-height: 1.12;
}

.ph-founder-hero__body {
	font-size: 1rem;
	font-weight: var(--ph-fw-regular);
	color: var(--ph-gray);
	line-height: 1.5;
	margin-bottom: 1.25rem;
}

.ph-founder-hero__body p {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	color: inherit;
	line-height: inherit;
}

.ph-founder-hero__body p:last-child {
	margin-bottom: 0;
}

.ph-founder-hero__tags {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ph-founder-hero__tag {
	padding: 0.375rem 0.75rem;
	border: 1px solid var(--ph-border);
	border-radius: 9999px;
	font-size: 0.875rem;
	color: var(--ph-black);
	background: var(--ph-white);
	line-height: 1.2;
}

.ph-founder-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 0.5rem;
}

.ph-founder-hero__btn {
	margin-top: 0;
}

.ph-founder-hero__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
}

.ph-founder-hero__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.125rem;
	height: 2.125rem;
	border-radius: 50%;
	border: 1px solid var(--ph-border);
	color: var(--ph-gray);
	text-decoration: none;
	transition: all var(--ph-transition);
}

.ph-founder-hero__social-link:hover,
.ph-founder-hero__social-link:focus-visible {
	border-color: var(--ph-green);
	color: var(--ph-green);
	background: var(--ph-green-bg);
}

.ph-founder-hero__social-link svg {
	display: block;
}

.ph-founder-hero__media {
	margin: 0;
}

.ph-founder-hero__photo-wrap {
	position: relative;
	overflow: hidden;
	background: #f3f4f6;
}

.ph-founder-hero__photo {
	width: 100%;
	height: auto;
	display: block;
	min-height: 17.5rem;
	object-fit: cover;
}

.ph-founder-hero__caption {
	position: absolute;
	left: 1rem;
	bottom: 1.5rem;
	max-width: calc(100% - 2rem);
	padding: 0.625rem 1rem;
	background: var(--ph-white);
	border-radius: 1rem;
	font-size: 0.875rem;
	color: var(--ph-black);
	line-height: 1.35;
	box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	align-items: flex-start;
}

.ph-founder-hero__caption-bold {
	font-weight: var(--ph-fw-bold);
	font-size: 1.1rem;
	color: var(--ph-black);
}

.ph-founder-hero__caption-plain {
	font-weight: var(--ph-fw-regular);
	font-size: 0.9rem;
	color: var(--ph-gray);
}

/* ---- Vision ---- */

.ph-founder-vision {
	margin-bottom: 3rem;
}

.ph-founder-vision__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 2rem;
	align-items: start;
	background: var(--ph-white);
	border: 1px solid var(--ph-border);
	border-radius: 1rem;
	box-shadow: var(--ph-shadow-sm);
	padding: 2.5rem;
}

.ph-founder-vision__title {
	margin: 0 0 0.75rem;
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ph-founder-vision__rule {
	display: block;
	width: 3rem;
	height: 0.25rem;
	background: var(--ph-green);
	border-radius: 0.125rem;
	margin-bottom: 1.5rem;
}

.ph-founder-vision__body {
	font-size: 1.25rem;
	color: var(--ph-gray);
	line-height: 1.5;
}

.ph-founder-vision__body p {
	margin: 0 0 1rem;
	font-size: inherit;
	color: inherit;
}

.ph-founder-vision__body p:last-child {
	margin-bottom: 0;
}

.ph-founder-vision__quote {
	margin: 0;
	padding: 2rem;
	border-left: 0.25rem solid var(--ph-green);
	background: var(--ph-green-bg);
	border-radius: 0 1rem 1rem 0;
}

.ph-founder-vision__quote p {
	margin: 0;
	font-size: 1.375rem;
	font-weight: var(--ph-fw-medium);
	color: var(--ph-black);
	line-height: 1.45;
	font-style: italic;
}

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

.ph-founder-stats {
	margin-bottom: 3rem;
}

.ph-founder-stats__title {
	margin: 0 0 2rem;
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-align: center;
}

.ph-founder-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.ph-founder-stats__card {
	background: var(--ph-white);
	border: 1px solid var(--ph-border);
	border-radius: 1rem;
	box-shadow: var(--ph-shadow-sm);
	padding: 2rem 1.5rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
}

.ph-founder-stats__number {
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-green);
	line-height: 1;
	letter-spacing: -0.02em;
}

.ph-founder-stats__label {
	font-size: 1rem;
	color: var(--ph-gray);
	line-height: 1.35;
}

/* ---- Milestones ---- */

.ph-founder-milestones {
	margin-bottom: 3rem;
}

.ph-founder-milestones__head {
	margin-bottom: 2rem;
}

.ph-founder-milestones__title {
	margin: 0 0 0.75rem;
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ph-founder-milestones__rule {
	display: block;
	width: 3rem;
	height: 0.25rem;
	background: var(--ph-green);
	border-radius: 0.125rem;
}

.ph-founder-milestones__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}

.ph-founder-milestones__list::before {
	content: "";
	position: absolute;
	left: 4.5rem;
	top: 0.75rem;
	bottom: 0.75rem;
	width: 2px;
	background: var(--ph-border);
}

.ph-founder-milestones__item {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	gap: 2rem;
	padding: 1.5rem 0;
	position: relative;
}

.ph-founder-milestones__year {
	font-size: 1rem;
	font-weight: var(--ph-fw-bold);
	color: var(--ph-green);
	line-height: 1.2;
	padding-top: 0.25rem;
	text-align: right;
}

.ph-founder-milestones__content {
	background: var(--ph-white);
	border: 1px solid var(--ph-border);
	border-radius: 1rem;
	box-shadow: var(--ph-shadow-sm);
	padding: 1.5rem 1.75rem;
	position: relative;
}

.ph-founder-milestones__content::before {
	content: "";
	position: absolute;
	left: -1.625rem;
	top: 1.75rem;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--ph-green);
	border: 2px solid var(--ph-white);
	box-shadow: 0 0 0 2px var(--ph-green-bg);
}

.ph-founder-milestones__item-title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: var(--ph-fw-bold);
	color: var(--ph-black);
	line-height: 1.3;
}

.ph-founder-milestones__item-text {
	margin: 0;
	font-size: 1rem;
	color: var(--ph-gray);
	line-height: 1.5;
}

/* ---- Philosophy ---- */

.ph-founder-philosophy {
	margin-bottom: 3rem;
}

.ph-founder-philosophy__head {
	margin-bottom: 2rem;
}

.ph-founder-philosophy__title {
	margin: 0 0 0.75rem;
	font-size: 2.5rem;
	font-weight: var(--ph-fw-extra);
	color: var(--ph-black);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ph-founder-philosophy__rule {
	display: block;
	width: 3rem;
	height: 0.25rem;
	background: var(--ph-green);
	border-radius: 0.125rem;
}

.ph-founder-philosophy__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.ph-founder-philosophy__card {
	background: var(--ph-white);
	border: 1px solid var(--ph-border);
	border-radius: 1rem;
	box-shadow: var(--ph-shadow-sm);
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ph-founder-philosophy__icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.75rem;
	background: var(--ph-green-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ph-green);
	flex-shrink: 0;
}

.ph-founder-philosophy__icon-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	line-height: 1;
}

.ph-founder-philosophy__card-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: var(--ph-fw-bold);
	color: var(--ph-black);
	line-height: 1.3;
}

.ph-founder-philosophy__card-text {
	margin: 0;
	font-size: 1rem;
	color: var(--ph-gray);
	line-height: 1.5;
}

/* ---- Books (reuses .ph-about-books from about-page.css) ---- */

.ph-founder-books {
	margin-bottom: 2rem;
}

.ph-founder-bottom-cta {
	margin-top: 1rem;
}

/* ---- Responsive ---- */

@media (max-width: 64rem) {
	.ph-founder-hero__inner {
		grid-template-columns: 1fr;
		padding: 2rem;
	}

	.ph-founder-hero__media {
		order: -1;
	}

	.ph-founder-vision__inner {
		grid-template-columns: 1fr;
	}

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

	.ph-founder-philosophy__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 40rem) {
	.ph-founder-hero__title,
	.ph-founder-vision__title,
	.ph-founder-stats__title,
	.ph-founder-milestones__title,
	.ph-founder-philosophy__title {
		font-size: 2rem;
	}

	.ph-founder-stats__grid {
		grid-template-columns: 1fr;
	}

	.ph-founder-milestones__list::before {
		left: 0.375rem;
	}

	.ph-founder-milestones__item {
		grid-template-columns: 1fr;
		gap: 0.75rem;
		padding-left: 1.5rem;
	}

	.ph-founder-milestones__year {
		text-align: left;
	}

	.ph-founder-milestones__content::before {
		left: -1.375rem;
	}

	.ph-founder-hero__actions .ph-founder-hero__btn {
		width: 100%;
		justify-content: center;
	}
}
