/**
 * About page styles (no duplicate header).
 *
 * @package CSB_Shop
 */

.csb-page-about .csb-main.csb-about {
	padding: 0;
	max-width: none;
}

.csb-about {
	font-family: 'Space Grotesk', var(--csb-font, 'Inter'), system-ui, sans-serif;
	color: var(--csb-text, #111);
	background: var(--csb-page-bg, #fff);
}

/* Hero */
.csb-about-hero {
	display: flex;
	flex-direction: column;
	min-height: 85vh;
}

.csb-about-hero-text {
	order: 2;
	width: 100%;
	padding: 3rem 1.5rem 4rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.csb-about-hero-visual {
	order: 1;
	position: relative;
	width: 100%;
	height: 50vh;
	overflow: hidden;
	background: #f3f4f6;
}

.csb-about-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	transition: filter 1s ease;
}

.csb-about-hero-visual:hover .csb-about-hero-img,
.csb-about-hero-visual:focus-within .csb-about-hero-img {
	filter: grayscale(0%);
}

.csb-about-eyebrow {
	display: block;
	margin: 0 0 1.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--csb-muted, #999);
}

.csb-about-eyebrow--muted {
	letter-spacing: 0.2em;
	margin-bottom: 1rem;
}

.csb-about-hero-title {
	margin: 0 0 2rem;
	font-size: clamp(2.75rem, 8vw, 4.5rem);
	font-weight: 300;
	line-height: 1.05;
}

.csb-about-hero-lead {
	margin: 0 0 2.5rem;
	max-width: 32rem;
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1.7;
	color: var(--csb-muted, #666);
}

.csb-about-hero-link {
	align-self: flex-start;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--csb-text, #111);
	border-bottom: 1px solid currentColor;
	padding-bottom: 0.25rem;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.csb-about-hero-link:hover {
	color: var(--csb-muted, #666);
	border-color: var(--csb-muted, #666);
}

/* Story */
.csb-about-story {
	max-width: 56rem;
	margin: 0 auto;
	padding: 4rem 1.5rem 5rem;
}

.csb-about-story-title,
.csb-about-section-title {
	margin: 0 0 3rem;
	font-size: clamp(1.75rem, 3vw, 2rem);
	font-weight: 300;
	text-align: center;
}

.csb-about-story-body {
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1.85;
	color: var(--csb-muted, #555);
}

.csb-about-story-body::after {
	content: "";
	display: table;
	clear: both;
}

.csb-about-story-body img,
.csb-about-story-body .wp-caption {
	max-width: 100%;
	height: auto;
}

.csb-about-story-body img {
	border-radius: 10px;
}

.csb-about-story-body img.alignleft,
.csb-about-story-body .alignleft {
	float: left;
	margin: 0.2rem 1.75rem 1.25rem 0;
	max-width: 42%;
}

.csb-about-story-body img.alignright,
.csb-about-story-body .alignright {
	float: right;
	margin: 0.2rem 0 1.25rem 1.75rem;
	max-width: 42%;
}

.csb-about-story-body img.aligncenter,
.csb-about-story-body .aligncenter {
	display: block;
	float: none;
	margin: 1.25rem auto;
}

.csb-about-story-body img.alignnone,
.csb-about-story-body .alignnone {
	margin: 0.75rem 0 1.5rem;
}

.csb-about-story-body .wp-caption-text {
	margin: 0.4rem 0 0;
	font-size: 0.875rem;
	color: var(--csb-muted, #555);
}

@media (max-width: 640px) {
	.csb-about-story-body img.alignleft,
	.csb-about-story-body img.alignright,
	.csb-about-story-body .alignleft,
	.csb-about-story-body .alignright {
		float: none;
		display: block;
		margin: 0 0 1.25rem;
		max-width: 100%;
	}
}

.csb-about-story-body p {
	margin: 0 0 2rem;
}

.csb-about-story-body p:last-child {
	margin-bottom: 0;
}

.csb-about-story-body strong {
	font-weight: 600;
	color: var(--csb-text, #111);
}

.csb-about-support {
	margin-top: 0.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--csb-border, #ececec);
}

.csb-about-story-body .csb-about-support p {
	margin-bottom: 1.25rem;
}

.csb-about-story-body ul,
.csb-about-support ul {
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}

.csb-about-story-body li,
.csb-about-support li {
	position: relative;
	margin: 0 0 0.9rem;
	padding-left: 1.15rem;
}

.csb-about-story-body li::before,
.csb-about-support li::before {
	content: "";
	position: absolute;
	top: 0.7em;
	left: 0;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--csb-primary, #dd2f6e);
}

.csb-about-support a {
	color: var(--csb-text, #111);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.csb-about-support a:hover {
	color: var(--csb-primary, #dd2f6e);
}

/* Expertise */
.csb-about-expertise {
	background: #f9fafb;
	padding: 4rem 0 5rem;
}

.csb-about-expertise-head {
	text-align: center;
	margin-bottom: 3rem;
	padding: 0 1.5rem;
}

.csb-about-expertise-grid {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.csb-about-expertise-card {
	text-align: center;
}

.csb-about-expertise-media {
	width: 100%;
	height: 16rem;
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.csb-about-expertise-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.csb-about-expertise-card:hover .csb-about-expertise-media img {
	transform: scale(1.05);
}

.csb-about-expertise-card-title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	font-weight: 600;
}

.csb-about-expertise-card-text {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.7;
	color: var(--csb-muted, #666);
}

/* Photography and video strip */
.csb-about-shoot {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	max-width: 72rem;
	margin: 0 auto;
	padding: 3.5rem 1.5rem;
	border-top: 1px solid var(--csb-border, #ececec);
}

.csb-about-shoot-title {
	margin: 0 0 0.85rem;
	max-width: 36rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 300;
	line-height: 1.25;
	text-align: left;
}

.csb-about-shoot-lead {
	margin: 0;
	max-width: 32rem;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.7;
	color: var(--csb-muted, #666);
}

.csb-about-shoot-link {
	align-self: flex-start;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--csb-text, #111);
	border-bottom: 1px solid currentColor;
	padding-bottom: 0.25rem;
}

.csb-about-shoot-link:hover {
	color: var(--csb-primary, #dd2f6e);
	border-color: var(--csb-primary, #dd2f6e);
}

/* CTA */
.csb-about-cta {
	position: relative;
	isolation: isolate;
	background: #111;
	color: #fff;
	padding: 4rem 1.5rem 5rem;
	text-align: center;
	overflow: hidden;
}

.csb-about-cta-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.csb-about-cta-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.csb-about-cta--has-bg .csb-about-cta-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, var(--csb-about-cta-overlay, 0.55));
}

.csb-about-cta-inner {
	position: relative;
	z-index: 1;
	max-width: 48rem;
	margin: 0 auto;
}

.csb-about-cta-title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 300;
	line-height: 1.2;
	color: #fff;
}

.csb-about-cta-lead {
	margin: 0 0 2.5rem;
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
}

.csb-about-cta-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.csb-about-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0 2rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.csb-about-btn--primary {
	background: #fff;
	color: #111;
}

.csb-about-btn--primary:hover {
	background: #e5e7eb;
	color: #111;
}

.csb-about-btn--outline {
	border: 1px solid #fff;
	color: #fff;
	background: transparent;
}

.csb-about-btn--outline:hover {
	background: #fff;
	color: #111;
}

@media (min-width: 992px) {
	.csb-about-hero {
		flex-direction: row;
		align-items: stretch;
	}

	.csb-about-hero-text {
		order: 1;
		width: 50%;
		padding: 4rem clamp(2rem, 5vw, 6rem);
	}

	.csb-about-hero-visual {
		order: 2;
		width: 50%;
		height: auto;
		min-height: 85vh;
	}

	.csb-about-story {
		padding: 6rem 1.5rem 8rem;
	}

	.csb-about-expertise {
		padding: 6rem 0 8rem;
	}

	.csb-about-expertise-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 3rem;
	}

	.csb-about-shoot {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 3rem;
		padding: 4.5rem 1.5rem;
	}

	.csb-about-cta {
		padding: 6rem 1.5rem;
	}

	.csb-about-cta-actions {
		flex-direction: row;
		justify-content: center;
	}
}

html[data-theme="dark"] .csb-about-expertise {
	background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .csb-about-hero-visual {
	background: #1a1a1a;
}

html[data-theme="dark"] .csb-about-support {
	border-top-color: var(--csb-border);
}

html[data-theme="dark"] .csb-about-support a {
	color: #fff;
}

html[data-theme="dark"] .csb-about-shoot-link {
	color: #fff;
}
