/**
 * about.css — About / Story page route-scoped styles.
 *
 * Loaded only on pages using the "Greek Product — About" template
 * (see includes/enqueue.php). Depends on core.css for design tokens,
 * .gp-container, .gp-btn, .gp-eyebrow, and .gp-section-head.
 *
 * @package woodmart-child
 */

/* ============================================================ *
 * 1. WoodMart content-wrapper reset for full-bleed layout
 * ============================================================ */
.gp-about-template .wd-page-content,
.gp-about-template .wd-content-layout {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: visible !important;
	display: block !important;
	float: none !important;
}

.gp-about {
	background: var(--gp-paper);
}

/* ============================================================ *
 * 2. Hero
 * ============================================================ */
.gp-about-hero {
	background: var(--gp-ink);
}

.gp-about-hero__banner {
	padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 6vw, 80px);
	text-align: center;
}

.gp-about-hero .gp-eyebrow--light {
	color: var(--gp-sun);
	margin-bottom: 24px;
}

.gp-about-hero__title {
	font-family: var(--gp-serif);
	font-size: var(--gp-h1);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -.022em;
	color: var(--gp-cream);
	margin: 0 auto 28px;
	max-width: 860px;
}

.gp-about-hero__title em {
	font-style: italic;
	color: var(--gp-sun);
}

.gp-about-hero__body {
	font-family: var(--gp-sans);
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.65;
	color: var(--gp-cream);
	opacity: .82;
	margin: 0 auto;
	max-width: 620px;
}

.gp-about-hero__media {
	width: 100%;
	height: clamp(260px, 36vw, 560px);
	overflow: hidden;
}

.gp-about-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	display: block;
}

.gp-about-hero__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, var(--gp-sea-deep) 0%, var(--gp-ink) 100%);
}

/* ============================================================ *
 * 3. Story sections — alternating text / image splits
 * ============================================================ */
.gp-about-story {}

.gp-about-story__section {
	padding: clamp(64px, 8vw, 120px) 0;
}

.gp-about-story__section:nth-child(odd) {
	background: var(--gp-paper);
}

.gp-about-story__section:nth-child(even) {
	background: var(--gp-cream);
}

.gp-about-story__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

/* Default: text left, image right */
.gp-about-story__cols > .gp-about-story__text  { order: 1; }
.gp-about-story__cols > .gp-about-story__media { order: 2; }

/* Modifier: image left, text right */
.gp-about-story__section--img-left .gp-about-story__cols > .gp-about-story__text  { order: 2; }
.gp-about-story__section--img-left .gp-about-story__cols > .gp-about-story__media { order: 1; }

.gp-about-story__text .gp-eyebrow {
	margin-bottom: 20px;
}

.gp-about-story__title {
	font-family: var(--gp-serif);
	font-size: var(--gp-h3);
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: -.018em;
	color: var(--gp-ink);
	margin: 0 0 20px;
}

.gp-about-story__body {
	font-family: var(--gp-sans);
	font-size: var(--gp-body);
	line-height: 1.72;
	color: var(--gp-ink-soft);
	margin: 0;
}

.gp-about-story__media {
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 5 / 4;
}

.gp-about-story__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s var(--gp-ease);
}

.gp-about-story__media:hover .gp-about-story__img {
	transform: scale(1.02);
}

.gp-about-story__placeholder {
	width: 100%;
	height: 100%;
	min-height: 320px;
	background: linear-gradient(135deg, var(--gp-sea) 0%, var(--gp-sea-deep) 100%);
}

/* ============================================================ *
 * 4. Stats bar
 * ============================================================ */
.gp-about-stats {
	background: var(--gp-sea);
	padding: clamp(48px, 6vw, 80px) 0;
}

.gp-about-stats__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}

.gp-about-stats__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gp-about-stats__item + .gp-about-stats__item {
	border-left: 1px solid rgba(255, 255, 255, .18);
}

.gp-about-stats__number {
	font-family: var(--gp-serif);
	font-size: clamp(36px, 5vw, 64px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.02em;
	color: #fff;
}

.gp-about-stats__label {
	font-family: var(--gp-mono);
	font-size: var(--gp-eyebrow);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
}

/* ============================================================ *
 * 5. Founders
 * ============================================================ */
.gp-about-founders {
	background: var(--gp-paper-warm);
	padding: clamp(64px, 8vw, 120px) 0;
}

.gp-about-founders .gp-section-head {
	margin-bottom: 56px;
}

.gp-about-founders .gp-section-head h2 {
	font-size: var(--gp-h2);
}

.gp-about-founders__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
}

.gp-about-founders__card {
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(19, 41, 61, .06);
	display: flex;
	flex-direction: column;
}

.gp-about-founders__photo-wrap {
	aspect-ratio: 5 / 6;
	overflow: hidden;
	background: var(--gp-cream);
}

.gp-about-founders__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform .4s var(--gp-ease);
}

.gp-about-founders__card:hover .gp-about-founders__photo {
	transform: scale(1.03);
}

.gp-about-founders__photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gp-line);
	background: var(--gp-cream);
}

.gp-about-founders__info {
	padding: 24px 28px 28px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.gp-about-founders__name {
	font-family: var(--gp-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--gp-ink);
}

.gp-about-founders__role {
	font-family: var(--gp-mono);
	font-size: var(--gp-small);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gp-sea);
}

.gp-about-founders__bio {
	font-family: var(--gp-sans);
	font-size: var(--gp-body);
	line-height: 1.65;
	color: var(--gp-ink-soft);
	margin: 8px 0 0;
}

/* ============================================================ *
 * 6. Producer CTA
 * ============================================================ */
.gp-about-cta {
	position: relative;
	background: var(--gp-ink);
	padding: clamp(72px, 9vw, 140px) 0;
	overflow: hidden;
	text-align: center;
}

.gp-about-cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.gp-about-cta__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .28;
	display: block;
}

.gp-about-cta .gp-container {
	position: relative;
	z-index: 1;
}

.gp-about-cta__inner {
	max-width: 700px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.gp-about-cta .gp-eyebrow--light {
	color: var(--gp-sun);
}

.gp-about-cta__title {
	font-family: var(--gp-serif);
	font-size: var(--gp-h2);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: #fff;
	margin: 0;
}

.gp-about-cta__title em {
	font-style: italic;
	color: var(--gp-sun);
}

.gp-about-cta__body {
	font-family: var(--gp-sans);
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.65;
	color: var(--gp-cream);
	opacity: .82;
	margin: 0;
	max-width: 520px;
}

/* ============================================================ *
 * 7. Responsive
 * ============================================================ */

/* ── 1024 px: story columns tighter ─────────────────────────── */
@media (max-width: 1024px) {
	.gp-about-story__cols {
		gap: clamp(24px, 4vw, 48px);
	}
}

/* ── 768 px: stack story cols, 2-col stats ──────────────────── */
@media (max-width: 768px) {
	.gp-about-story__cols {
		grid-template-columns: 1fr;
	}

	.gp-about-story__cols > .gp-about-story__text,
	.gp-about-story__cols > .gp-about-story__media,
	.gp-about-story__section--img-left .gp-about-story__cols > .gp-about-story__text,
	.gp-about-story__section--img-left .gp-about-story__cols > .gp-about-story__media {
		order: unset;
	}

	.gp-about-stats__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.gp-about-stats__item + .gp-about-stats__item:nth-child(odd) {
		border-left: none;
	}

	.gp-about-founders__list {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}

/* ── 480 px: single-col stats, hero title tighter ───────────── */
@media (max-width: 480px) {
	.gp-about-hero__title {
		letter-spacing: -.015em;
	}

	.gp-about-stats__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 12px;
	}

	.gp-about-stats__item + .gp-about-stats__item {
		border-left: none;
	}

	.gp-about-founders__list {
		grid-template-columns: 1fr;
	}

	.gp-about-cta__title {
		font-size: clamp(28px, 8vw, 40px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gp-about-story__img,
	.gp-about-founders__photo {
		transition: none;
	}
}
