/**
 * About Us page
 *
 * Figma "About Us" — 1440 frame, 1376 content, 32px gutters.
 * Banner is full-bleed; Our Story is a 716 collage + 606 copy column.
 */

/* --------------------------------------------------------------- banner --- */

.about-hero {
	position: relative;
	width: 100%;
	min-height: var(--about-hero-height);
	overflow: hidden;
	box-sizing: border-box;
	/* Fallback only when the Banner Image is empty */
	background: linear-gradient(
		106.48deg,
		var(--color-hero-gradient-start) 35.34%,
		var(--color-hero-gradient-end) 107.77%
	);
	display: flex;
	align-items: center;
}

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

/* Section-scoped: outweighs `.woocommerce img { height: auto }`, which applies
   site-wide once WooCommerce adds its body classes. */
.about-hero .about-hero__background-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
}

/* Figma image 119 — white wash so the copy stays legible over the photo. */
.about-hero__fade {
	position: absolute;
	inset: 0;
	background: var(--banner-photo-fade);
}

/* Figma Ellipse 7 */
.about-hero__blur {
	position: absolute;
	width: 458px;
	height: 269px;
	right: 2px;
	top: -88px;
	border-radius: 50%;
	background: var(--color-hero-blur);
	filter: blur(66.15px);
}

.about-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--header-content-max);
	margin: 0 auto;
	padding: 0 var(--about-hero-inset);
	box-sizing: border-box;
}

.about-hero .kaahel-breadcrumb {
	margin-bottom: 6px;
}

.about-hero__title {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	font-family: var(--font-heading);
	font-size: var(--about-hero-title-size);
	font-weight: 400;
	line-height: var(--about-hero-title-lh);
	letter-spacing: -0.01em;
	color: var(--color-heading);
}

.about-hero__title-line--accent {
	color: var(--color-accent);
}

.about-hero__text {
	max-width: var(--about-hero-copy-width);
	margin: 18px 0 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 26px;
	color: var(--color-body-88);
}

.about-hero__text + .about-hero__text {
	margin-top: 12px;
}

.about-hero__button,
.about-hero__button:link,
.about-hero__button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
	padding: 14px 28px;
	height: var(--about-btn-height);
	box-sizing: border-box;
	border: 1px solid var(--color-accent);
	border-radius: var(--about-btn-radius);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 30px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-accent);
	background: transparent;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.about-hero__button:hover,
.about-hero__button:focus {
	background: var(--color-accent);
	color: var(--color-white);
	outline: none;
}

.about-hero__button-icon {
	flex-shrink: 0;
}

/* ------------------------------------------------------------ our story --- */

.about-story {
	width: 100%;
	max-width: var(--header-content-max);
	margin: 0 auto;
	padding: 60px var(--section-inline-pad) 0;
	box-sizing: border-box;
}

.about-story__inner {
	display: grid;
	grid-template-columns:
		calc(
			var(--about-collage-small-w) + var(--about-collage-gap) +
				var(--about-collage-tall-w)
		)
		minmax(0, 1fr);
	gap: var(--about-story-gap);
	align-items: start;
}

.about-story__collage {
	display: grid;
	grid-template-columns: var(--about-collage-small-w) minmax(0, 1fr);
	gap: var(--about-collage-gap);
	align-items: start;
}

.about-story__collage-column {
	display: flex;
	flex-direction: column;
	gap: var(--about-collage-row-gap);
}

.about-story__figure {
	margin: 0;
	overflow: hidden;
	background: var(--color-bg-placeholder);
}

.about-story__figure--small {
	height: var(--about-collage-small-h);
}

.about-story__figure--tall {
	height: var(--about-collage-tall-h);
}

.about-story .about-story__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-story__content {
	padding-top: 60px;
}

.about-story__eyebrow {
	margin: 0 0 18px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.about-story__title {
	margin: 0;
	display: flex;
	flex-direction: column;
	font-family: var(--font-heading);
	font-size: var(--about-story-heading-size);
	font-weight: 400;
	line-height: var(--about-story-heading-lh);
	letter-spacing: -0.01em;
	color: var(--color-heading);
}

.about-story__title-line--accent {
	color: var(--color-accent);
}

.about-story__text {
	margin: 20px 0 0;
	max-width: var(--about-hero-copy-width);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 26px;
	color: var(--color-body-88);
}

.about-story__text + .about-story__text {
	margin-top: 12px;
}

/* Four value props — icon over a centred, wrapping label. */
.about-story__values {
	display: flex;
	flex-wrap: wrap;
	gap: var(--about-feature-gap);
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
}

.about-story__value {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 95px;
	text-align: center;
}

.about-story__value-icon {
	display: block;
	width: var(--about-feature-icon);
	height: var(--about-feature-icon);
	color: var(--color-accent);
	line-height: 0;
}

.about-story__value-label {
	font-family: var(--font-heading);
	font-size: var(--about-feature-label-size);
	font-weight: 400;
	line-height: 26px;
	color: #000000;
}

/* Editor content, when the page has any. */
.about-page__content {
	width: 100%;
	max-width: var(--header-content-max);
	margin: 0 auto;
	padding: 48px var(--section-inline-pad) 0;
	box-sizing: border-box;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 28px;
	color: var(--color-body-88);
}

/* --------------------------------------------------------- responsive --- */

@media (max-width: 1199px) {
	.about-story__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.about-story__content {
		padding-top: 0;
	}

	.about-hero__title {
		font-size: 44px;
		line-height: 54px;
	}
}

@media (max-width: 991px) {
	.about-hero {
		min-height: 420px;
	}

	.about-hero__inner {
		padding: 0 24px;
	}

	/* The photo sits right of the copy; keep the wash stronger when narrow. */
	.about-hero__fade {
		background: linear-gradient(
			270deg,
			rgba(255, 255, 255, 0.2) 20%,
			rgba(255, 255, 255, 0.75) 55%,
			#ffffff 100%
		);
	}

	.about-story {
		padding: 48px 24px 0;
	}

	.about-story__title {
		font-size: 34px;
		line-height: 46px;
	}
}

@media (max-width: 767px) {
	.about-hero {
		min-height: 0;
		padding: 40px 0 44px;
	}

	.about-hero__inner {
		padding: 0 16px;
	}

	.about-hero__title {
		font-size: 34px;
		line-height: 44px;
	}

	.about-hero__fade {
		background: rgba(255, 255, 255, 0.82);
	}

	.about-story {
		padding: 40px 16px 0;
	}

	.about-story__collage {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.about-story__collage-column {
		flex-direction: row;
	}

	.about-story__collage-column .about-story__figure {
		flex: 1 1 0;
		height: 180px;
	}

	.about-story__figure--tall {
		height: 420px;
	}

	.about-story__values {
		gap: 24px;
		justify-content: space-between;
	}

	.about-story__value {
		width: calc(50% - 12px);
	}

	.about-story__title {
		font-size: 30px;
		line-height: 40px;
	}
}
