/**
 * About page (template "Over ons") – loaded on that template only.
 *
 * Rhythm: hero (page background) → story (light band) → approach (page
 * background, hairline columns) → people (kraft band with corrugated
 * texture) → smarter packaging (wide photo with text panel) → orange call
 * to action that straddles the dark footer.
 *
 * Mobile first; two-column compositions from 1024px. Scroll reveals come from
 * the sitewide system (project.css / main.js), the CTA box drawing from
 * [data-eno-reveal].
 */

.eno-about-page {
	width: 100%;
}

/* Shared ------------------------------------------------------------------ */

.eno-about-section {
	padding-block: 4rem;
}

.eno-about-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eno-about-eyebrow::before {
	content: "";
	flex-shrink: 0;
	width: 1.5rem;
	height: 2px;
	background-color: var(--eno-color-orange);
}

.eno-about-title {
	margin: 0 0 1.5rem;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-headline-lg);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* Prose (.eno-about-prose): shared rules live in project.css ("Prose"). */

.eno-about-page figure {
	margin: 0;
}

.eno-about-page figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--eno-radius-lg);
}

/* Shown to editors only when a photo is missing (inc/about.php). */
.eno-about-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 16rem;
	height: 100%;
	padding: 2rem;
	border: 1px dashed var(--eno-color-outline);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
	text-align: center;
}

.eno-about-placeholder p {
	max-width: 22rem;
	margin: 0;
}

.eno-about-placeholder .eno-icon {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--eno-color-orange);
}

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

.eno-about-hero {
	overflow-x: clip;
	padding-block: 2rem 4rem;
}

.eno-about-hero__inner {
	display: grid;
	gap: 2.5rem;
}

.eno-about-hero__title {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.eno-about-hero__intro {
	max-width: 36rem;
	margin-top: 1.5rem;
}

.eno-about-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem 1.5rem;
	max-width: 36rem;
	margin: 2rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--eno-color-surface-high);
	list-style: none;
}

.eno-about-hero__facts li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--eno-color-text);
	font-size: var(--eno-text-label);
	font-weight: 600;
}

.eno-about-hero__facts li::before {
	content: "";
	flex-shrink: 0;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 1px;
	background-color: var(--eno-color-orange);
}

.eno-about-hero__media {
	position: relative;
	z-index: 0;
}

/* 02 Our story ------------------------------------------------------------ */

.eno-about-story {
	background-color: var(--eno-color-surface-low);
}

.eno-about-story__inner {
	display: grid;
	gap: 2.5rem;
}

.eno-about-story__media {
	position: relative;
}

.eno-about-story__media img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.eno-about-story__content {
	max-width: 36rem;
}

/* Editorial lead: the first paragraph reads darker than the rest. */
.eno-about-story__content .eno-about-prose > p:first-child {
	color: var(--eno-color-text);
}

/* 03 Our approach --------------------------------------------------------- */

.eno-about-values__header {
	display: grid;
	gap: 0.25rem;
	margin-bottom: 3rem;
}

.eno-about-values__header .eno-about-title {
	max-width: 20ch;
	margin-bottom: 0.75rem;
}

.eno-about-values__intro {
	max-width: 32rem;
}

.eno-about-values__list {
	display: grid;
	gap: 2.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eno-about-values__item {
	position: relative;
	margin: 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--eno-color-surface-dim);
}

/* Short orange segment on the hairline above each principle. */
.eno-about-values__item::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 2.5rem;
	height: 2px;
	background-color: var(--eno-color-orange);
}

.eno-about-values__number {
	display: block;
	margin-bottom: 1rem;
	color: var(--eno-color-orange-dark);
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-label);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
}

.eno-about-values__title {
	margin: 0 0 0.625rem;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-headline-md);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.eno-about-values__text {
	max-width: 24rem;
	margin: 0;
	color: var(--eno-color-text-muted);
	line-height: 1.6;
}

/* 04 People --------------------------------------------------------------- */

.eno-about-people {
	position: relative;
	z-index: 0;
	overflow: hidden;
	background-color: var(--eno-color-kraft-soft);
}

/* Faint corrugated texture, strongest in the top-right corner. */
.eno-about-people::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--eno-corrugated);
	background-size: 40px 18px;
	opacity: 0.55;
	-webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000, transparent);
	mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000, transparent);
	pointer-events: none;
}

.eno-about-people__inner {
	display: grid;
	gap: 2.5rem;
}

.eno-about-people__content {
	max-width: 36rem;
}

.eno-about-people .eno-about-prose,
.eno-about-people .eno-about-eyebrow {
	color: var(--eno-color-kraft-ink);
}

.eno-about-people__reach {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	margin: 2rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgb(82 68 54 / 20%);
	list-style: none;
}

.eno-about-people__reach li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	margin: 0;
}

.eno-about-people__reach .eno-icon {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0.5625rem;
	border-radius: 50%;
	background-color: rgb(255 255 255 / 65%);
	color: var(--eno-color-orange-dark);
}

.eno-about-people__reach a {
	overflow-wrap: anywhere;
	color: var(--eno-color-text);
	font-weight: 600;
	text-decoration: none;
	transition: color 150ms var(--eno-ease);
}

.eno-about-people__reach a:hover,
.eno-about-people__reach a:focus-visible {
	color: var(--eno-color-orange-dark);
}

.eno-about-people__media img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
}

.eno-about-people__media figcaption {
	margin-top: 0.75rem;
	color: var(--eno-color-kraft-ink);
	font-size: var(--eno-text-label);
}

.eno-about-people .eno-about-placeholder {
	background-color: rgb(255 255 255 / 45%);
}

/* 05 Smarter packaging ---------------------------------------------------- */

.eno-about-fit__header {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.eno-about-fit__title {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.eno-about-fit__intro {
	max-width: 30rem;
	margin: 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
}

.eno-about-fit__body {
	display: grid;
}

.eno-about-fit__media img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* On mobile the panel overlaps the bottom of the photo slightly. */
.eno-about-fit__panel {
	position: relative;
	margin: -2.5rem 0.75rem 0;
	padding: 1.75rem 1.5rem;
	border-top: 3px solid var(--eno-color-orange);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	box-shadow: var(--eno-shadow-float);
}

.eno-about-fit__body--text .eno-about-fit__panel {
	max-width: 40rem;
	margin: 0;
}

.eno-about-fit__panel .eno-about-prose {
	font-size: var(--eno-text-body);
}

.eno-about-fit__panel .eno-arrow-link {
	margin-top: 1.5rem;
	color: var(--eno-color-orange-dark);
	font-size: var(--eno-text-body);
}

.eno-about-fit__panel .eno-arrow-link:hover,
.eno-about-fit__panel .eno-arrow-link:focus-visible {
	color: var(--eno-color-text);
}

/* Click-to-play YouTube video (inc/about.php, main.js). Video and text sit
   side by side instead of overlapping, so the player controls stay free. */

.eno-video {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-text);
}

.eno-video__poster {
	position: absolute;
	inset: 0;
	display: block;
	color: var(--eno-color-text);
}

.eno-video__poster:focus-visible {
	outline: 3px solid var(--eno-color-orange);
	outline-offset: -3px;
}

.eno-video .eno-video__poster img {
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
	object-fit: cover;
}

.eno-video__poster::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 30%), rgb(0 0 0 / 0%) 55%);
	content: "";
}

.eno-video__button {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.5rem 1.25rem 0.5rem 0.5rem;
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-white);
	box-shadow: var(--eno-shadow-float);
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-body);
	font-weight: 700;
	white-space: nowrap;
	transform: translate(-50%, -50%);
}

.eno-video__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-orange);
	transition: transform 200ms var(--eno-ease-out);
}

.eno-video__icon .eno-icon {
	width: 1.5rem;
	height: 1.5rem;
}

.eno-video__poster:hover .eno-video__icon,
.eno-video__poster:focus-visible .eno-video__icon {
	transform: scale(1.08);
}

.eno-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.eno-about-fit__body--video .eno-about-fit__panel {
	margin: 1.75rem 0 0;
	padding: 1.5rem 0 0;
	border-radius: 0;
	background-color: transparent;
	box-shadow: none;
}

/* 06 Closing call to action ----------------------------------------------
   Same orange panel as the contact page and knowledge base. */

.eno-about-cta {
	padding-block: 0 5rem;
}

/* No FAQ below: the panel straddles the dark footer. */
.eno-about-cta--to-footer {
	padding-bottom: 0;
	background-image: linear-gradient(to bottom, transparent 60%, var(--eno-color-footer) 60%);
}

.eno-about-cta__panel {
	position: relative;
	z-index: 0;
	display: grid;
	align-items: center;
	gap: 2rem;
	overflow: hidden;
	padding: 2.5rem 1.5rem;
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-orange);
	background-image: radial-gradient(circle at 80% 50%, rgb(255 255 255 / 16%), transparent 45%);
	color: var(--eno-color-footer);
}

.eno-about-cta__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--eno-corrugated);
	background-size: 40px 18px;
	opacity: 0.22;
	-webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
	mask-image: linear-gradient(100deg, transparent 35%, #000 85%);
	pointer-events: none;
}

.eno-about-cta__title {
	max-width: 22ch;
	margin: 0;
	color: inherit;
	font-family: var(--eno-font-heading);
	font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.eno-about-cta__text {
	max-width: 34rem;
	margin-top: 1rem;
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
}

.eno-about-cta__text p {
	margin: 0 0 0.75em;
}

.eno-about-cta__text > :last-child {
	margin-bottom: 0;
}

.eno-about-cta__text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.eno-about-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.eno-about-cta__actions .eno-button .eno-icon {
	transition: transform 150ms var(--eno-ease);
}

.eno-about-cta__actions .eno-button:hover .eno-icon {
	transform: translateX(4px);
}

.eno-about-cta :focus-visible {
	outline-color: var(--eno-color-footer);
}

.eno-about-cta__media {
	display: none;
}

.eno-about-cta .eno-cta__box {
	max-width: 17rem;
}

/* Reveal (armed by main.js via [data-eno-reveal]; visible without JS). */
.eno-about-cta__content > * {
	transition: opacity 600ms var(--eno-ease-out), transform 600ms var(--eno-ease-out);
}

.eno-about-cta__content > :nth-child(2) {
	transition-delay: 80ms;
}

.eno-about-cta__content > :nth-child(3) {
	transition-delay: 160ms;
}

.eno-about-cta.is-armed:not(.is-inview) .eno-about-cta__content > * {
	opacity: 0;
	transform: translateY(16px);
}

/* Small phones ------------------------------------------------------------ */

@media (max-width: 479px) {
	.eno-about-cta__actions .eno-button {
		width: 100%;
	}
}

/* Tablet ------------------------------------------------------------------ */

@media (min-width: 768px) {
	.eno-about-section {
		padding-block: 6rem;
	}

	.eno-about-hero {
		padding-block: 3rem 5rem;
	}

	.eno-about-values__header {
		margin-bottom: 4rem;
	}

	.eno-about-values__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem;
	}

	.eno-about-people__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 3rem;
		align-items: center;
	}

	.eno-about-people__inner--text {
		grid-template-columns: minmax(0, 1fr);
	}

	.eno-about-fit__media img {
		aspect-ratio: 16 / 9;
	}

	.eno-about-fit__panel {
		max-width: 32rem;
		margin: -5rem 2rem 0 auto;
		padding: 2rem;
	}

	.eno-about-cta {
		padding-bottom: 6rem;
	}

	.eno-about-cta--to-footer {
		padding-bottom: 0;
	}

	.eno-about-cta__panel {
		grid-template-columns: 3fr 2fr;
		gap: 3rem;
		padding: 3.5rem 3rem;
	}

	.eno-about-cta__media {
		display: block;
	}
}

/* Desktop ----------------------------------------------------------------- */

@media (min-width: 1024px) {
	.eno-about-hero {
		padding-block: 3.5rem 6rem;
	}

	.eno-about-hero__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 4rem;
		align-items: center;
	}

	.eno-about-hero__inner--text {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Kraft block offset behind the photo: a quiet nod to the material. */
	.eno-about-hero__media::before {
		content: "";
		position: absolute;
		top: -1.5rem;
		right: -1.5rem;
		bottom: 3rem;
		left: 3rem;
		z-index: -1;
		border-radius: var(--eno-radius-lg);
		background-color: var(--eno-color-kraft-soft);
		background-image: var(--eno-corrugated);
		background-size: 40px 18px;
	}

	.eno-about-story__inner {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 5rem;
		align-items: center;
	}

	.eno-about-story__inner--text {
		grid-template-columns: minmax(0, 1fr);
	}

	.eno-about-story__media img {
		aspect-ratio: 5 / 6;
	}

	/* Orange corner bracket, as on the homepage about section. */
	.eno-about-story__media::after {
		content: "";
		position: absolute;
		bottom: -1.5rem;
		left: -1.5rem;
		z-index: -1;
		width: 6rem;
		height: 6rem;
		border-bottom: 4px solid var(--eno-color-orange);
		border-left: 4px solid var(--eno-color-orange);
		opacity: 0.25;
	}

	.eno-about-story__media {
		z-index: 0;
	}

	/* Slightly lower than centre: the text starts where the photo settles. */
	.eno-about-story__content {
		padding-top: 4rem;
	}

	.eno-about-values__header {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
		align-items: end;
	}

	.eno-about-values__header .eno-about-title {
		margin-bottom: 0;
	}

	.eno-about-values__list {
		gap: 4rem;
	}

	.eno-about-people__inner {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: 5rem;
	}

	.eno-about-people__inner--text {
		grid-template-columns: minmax(0, 1fr);
	}

	.eno-about-fit__header {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
		align-items: end;
		margin-bottom: 3.5rem;
	}

	/* Photo across the full width, text panel resting on its lower right. */
	.eno-about-fit__body {
		grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
	}

	.eno-about-fit__media {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.eno-about-fit__media img {
		aspect-ratio: 21 / 9;
		height: 100%;
		min-height: 30rem;
	}

	.eno-about-fit__panel {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
		max-width: none;
		margin: 2.5rem 2.5rem 2.5rem 0;
		padding: 2.5rem;
	}

	.eno-about-fit__body--text {
		grid-template-columns: minmax(0, 1fr);
	}

	.eno-about-fit__body--text .eno-about-fit__panel {
		grid-column: 1;
		margin: 0;
	}

	.eno-about-cta__panel {
		padding: 4rem 4.5rem;
	}
}

@media (min-width: 1280px) {
	.eno-about-hero__inner {
		gap: 6rem;
	}

	.eno-about-story__inner,
	.eno-about-people__inner {
		gap: 7rem;
	}
}

@media (min-width: 1024px) {
	.eno-video__button {
		gap: 1rem;
		padding-right: 1.5rem;
		font-size: var(--eno-text-body-lg);
	}

	.eno-video__icon {
		width: 3.5rem;
		height: 3.5rem;
	}

	/* Video left, text right. */
	.eno-about-fit__body--video {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
		gap: 4rem;
		align-items: center;
	}

	.eno-about-fit__body--video .eno-about-fit__media {
		grid-column: 1;
	}

	.eno-about-fit__body--video .eno-about-fit__panel {
		grid-column: 2;
		align-self: center;
		margin: 0;
		padding: 2rem 0 0;
	}
}

/* Reduced motion ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.eno-about-cta__content > *,
	.eno-about-cta__actions .eno-button .eno-icon {
		transition: none;
	}

	.eno-about-cta.is-armed:not(.is-inview) .eno-about-cta__content > * {
		opacity: 1;
		transform: none;
	}

	.eno-about-cta__actions .eno-button:hover .eno-icon {
		transform: none;
	}

	.eno-video__icon {
		transition: none;
	}
}
