/**
 * About Page Styles
 *
 * Shares CSS custom properties from header.css (:root):
 *   --h-font, --h-max, --h-pad, --h-dark, --h-white, --h-accent
 */

/* ── Tokens ── */
:root {
	--abt-body:   #5f6368;
	--abt-dark:   #1f1f1f;
	--abt-white:  #ffffff;
	--abt-accent: #ff4a34;
	--abt-teal:   #1b4d5c;
	--abt-bg:     #f8f9fa;
	--abt-pad:    20px;
	--abt-max:    1440px;
}
@media (min-width: 768px) {
	:root { --abt-pad: 40px; }
}
@media (min-width: 1200px) {
	:root { --abt-pad: 47px; }
}


/* ══════════════════════════════════════════════════════════════════════════
   MAIN
   ══════════════════════════════════════════════════════════════════════════ */
main.abt {
	background: var(--abt-white);
	overflow: hidden;
}


/* ══════════════════════════════════════════════════════════════════════════
   HERO — same split pattern as service pages
   ══════════════════════════════════════════════════════════════════════════ */
.abt-hero {
	display: flex;
	flex-direction: column;
	min-height: 400px;
}
@media (min-width: 768px) {
	.abt-hero {
		flex-direction: row;
		min-height: 460px;
	}
}
@media (min-width: 1200px) {
	.abt-hero { min-height: 513px; }
}

/* Teal panel */
.abt-hero__panel {
	position: relative;
	z-index: 2;
	background: linear-gradient(135deg, #14383f 0%, var(--abt-teal) 100%);
	padding: 80px var(--abt-pad) 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
@media (min-width: 768px) {
	.abt-hero__panel {
		width: 45%;
		padding: 0 48px 0 var(--abt-pad);
	}
}
@media (min-width: 1200px) {
	.abt-hero__panel {
		width: 40%;
		/* no max-width: panel grows on wide viewports so text never crunches */
		padding-left: max(var(--h-pad, 47px), calc((100vw - var(--h-max, 1440px)) / 2 + var(--h-pad, 47px)));
		padding-right: 67px;
	}
}
@media (min-width: 1600px) {
	.abt-hero__panel {
		padding-right: 48px;
	}
}

/* Badge */
.abt-hero__badge {
	display: inline-block;
	width: fit-content;
	background: var(--abt-dark);
	color: var(--abt-white);
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	padding: 7px 21px;
	border-radius: 50px;
	margin-bottom: 20px;
}

/* Title */
.abt-hero__title {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.05;
	color: var(--abt-white);
	margin: 0 0 20px;
	max-width: 634px;
}
@media (min-width: 768px) {
	.abt-hero__title { font-size: 40px; }
}
@media (min-width: 1200px) {
	.abt-hero__title { font-size: 58px; }
}

/* Intro */
.abt-hero__intro {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	color: var(--abt-white);
	margin: 0;
	max-width: 598px;
	opacity: 0.9;
}
@media (min-width: 1200px) {
	.abt-hero__intro { font-size: 18px; }
}

/* Hero image */
.abt-hero__image {
	position: relative;
	z-index: 1;
	min-height: 240px;
	overflow: hidden;
}
@media (min-width: 768px) {
	.abt-hero__image {
		flex: 1;
		min-width: 40%;
		min-height: 460px;
	}
}
@media (min-width: 1200px) {
	.abt-hero__image { min-height: 513px; }
}
.abt-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   SHARED TEXT ELEMENTS
   ══════════════════════════════════════════════════════════════════════════ */
.abt-label {
	display: flex;
	align-items: center;
	gap: 18px;
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 500;
	color: var(--abt-teal);
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.abt-label::before {
	content: '';
	display: block;
	width: 40px;
	height: 2px;
	background: var(--abt-teal);
	opacity: 0.5;
	flex-shrink: 0;
}

.abt-heading {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--abt-dark);
	margin: 0 0 24px;
}
@media (min-width: 768px) {
	.abt-heading { font-size: 34px; }
}
@media (min-width: 1200px) {
	.abt-heading { font-size: 58px; line-height: 60px; }
}

.abt-subheading {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 18px;
	font-weight: 500;
	color: var(--abt-dark);
	margin: 32px 0 16px;
}

.abt-body {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--abt-body);
	margin: 0 0 16px;
	max-width: 640px;
}
@media (min-width: 1200px) {
	.abt-body { font-size: 18px; line-height: 1.8; }
}


/* ══════════════════════════════════════════════════════════════════════════
   CONTENT SECTIONS (Who We Are / What We Do)
   Image left + text right, then reversed
   ══════════════════════════════════════════════════════════════════════════ */
.abt-section {
	padding: 60px var(--abt-pad);
}
@media (min-width: 1200px) {
	.abt-section { padding: 100px var(--abt-pad); }
}

.abt-section__inner {
	max-width: var(--abt-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
@media (min-width: 768px) {
	.abt-section__inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 64px;
	}
}
@media (min-width: 1200px) {
	.abt-section__inner { gap: 80px; }
}

/* Image */
.abt-section__media {
	flex-shrink: 0;
}
@media (min-width: 768px) {
	.abt-section__media { width: 42%; }
}
.abt-section__media {
	overflow: hidden;
	border-radius: 6px;
}
@media (min-width: 768px) {
	.abt-section__media { border-radius: 8px; }
}
@media (min-width: 1200px) {
	.abt-section__media { border-radius: 10px; }
}
.abt-section__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4 / 5;
	transition: transform 0.5s ease;
}
.abt-section__media:hover img {
	transform: scale(1.03);
}

/* Content */
.abt-section__content {
	flex: 1;
	min-width: 0;
}

/* Reversed (What We Do): image on the right */
@media (min-width: 768px) {
	.abt-section--reversed .abt-section__inner {
		flex-direction: row-reverse;
	}
}

/* Checklist */
.abt-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.abt-checklist li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 500;
	color: var(--abt-dark);
}
.abt-checklist svg {
	flex-shrink: 0;
}

/* Callout box */
.abt-callout {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 28px;
	padding: 20px 24px;
	background: var(--abt-bg);
	border-left: 3px solid var(--abt-accent);
	border-radius: 0 4px 4px 0;
}
.abt-callout svg {
	flex-shrink: 0;
	margin-top: 2px;
}
.abt-callout p {
	margin: 0;
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--abt-dark);
}


/* ══════════════════════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════════════════════ */
.abt-stats {
	background: linear-gradient(135deg, #14383f 0%, var(--abt-teal) 100%);
	padding: 48px var(--abt-pad);
}
@media (min-width: 1200px) {
	.abt-stats { padding: 64px var(--abt-pad); }
}

.abt-stats__inner {
	max-width: var(--abt-max);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 32px;
}
@media (min-width: 768px) {
	.abt-stats__inner { gap: 0; }
}

.abt-stats__item {
	text-align: center;
	flex: 1;
	min-width: 120px;
}

.abt-stats__number {
	display: block;
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 40px;
	font-weight: 700;
	color: var(--abt-white);
	line-height: 1;
}
@media (min-width: 1200px) {
	.abt-stats__number { font-size: 56px; }
}

.abt-stats__label {
	display: block;
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 8px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.abt-stats__divider {
	display: none;
}
@media (min-width: 768px) {
	.abt-stats__divider {
		display: block;
		width: 1px;
		height: 56px;
		background: rgba(255, 255, 255, 0.15);
	}
}


/* ══════════════════════════════════════════════════════════════════════════
   WHO WE WORK WITH — card grid
   ══════════════════════════════════════════════════════════════════════════ */
.abt-clients {
	padding: 80px var(--abt-pad);
	background: var(--abt-bg);
}
@media (min-width: 1200px) {
	.abt-clients { padding: 120px var(--abt-pad); }
}

.abt-clients__inner {
	max-width: var(--abt-max);
	margin: 0 auto;
	text-align: center;
}
.abt-clients__inner .abt-heading {
	margin-left: auto;
	margin-right: auto;
	max-width: 640px;
}
.abt-clients__inner .abt-body {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.abt-clients__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 48px;
}
@media (min-width: 768px) {
	.abt-clients__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (min-width: 1200px) {
	.abt-clients__grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 24px;
	}
}

.abt-clients__card {
	background: var(--abt-white);
	border-radius: 4px;
	padding: 32px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abt-clients__card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-4px);
}

.abt-clients__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, #14383f 0%, var(--abt-teal) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.abt-clients__icon svg {
	color: var(--abt-white);
}

.abt-clients__card h3 {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 15px;
	font-weight: 500;
	color: var(--abt-dark);
	margin: 0;
	text-align: center;
	line-height: 1.3;
}


/* ══════════════════════════════════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════════════════════════════════ */
.abt-cta {
	padding: 80px var(--abt-pad);
	background: var(--abt-white);
}
@media (min-width: 1200px) {
	.abt-cta { padding: 120px var(--abt-pad); }
}

.abt-cta__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.abt-cta__heading {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 32px;
	font-weight: 500;
	color: var(--abt-dark);
	margin: 0 0 16px;
	line-height: 1.15;
}
@media (min-width: 1200px) {
	.abt-cta__heading { font-size: 42px; }
}

.abt-cta__body {
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--abt-body);
	margin: 0 0 32px;
}

.abt-cta__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
@media (min-width: 768px) {
	.abt-cta__actions {
		flex-direction: row;
		justify-content: center;
	}
}

.abt-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 16px;
	font-weight: 500;
	padding: 14px 28px;
	border-radius: 50px;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
	            box-shadow 0.25s ease, transform 0.25s ease;
}

.abt-cta__btn--fill {
	background: var(--abt-accent);
	color: var(--abt-white);
	border: 1.5px solid var(--abt-accent);
}
.abt-cta__btn--fill:hover {
	background: #e63228;
	border-color: #e63228;
	color: var(--abt-white);
	box-shadow: 0 4px 16px rgba(255, 74, 52, 0.3);
	transform: translateY(-1px);
}
.abt-cta__btn--fill:active {
	transform: translateY(0);
	box-shadow: none;
}
.abt-cta__btn--fill svg {
	transition: transform 0.25s ease;
}
.abt-cta__btn--fill:hover svg {
	transform: translateX(4px);
}

.abt-cta__btn--outline {
	background: transparent;
	color: var(--abt-dark);
	border: 1.5px solid var(--abt-dark);
}
.abt-cta__btn--outline:hover {
	background: var(--abt-dark);
	color: var(--abt-white);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
}
.abt-cta__btn--outline:active {
	transform: translateY(0);
	box-shadow: none;
}


/* ══════════════════════════════════════════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════════════════════════════════════════ */
.abt-bc {
	max-width: var(--abt-max);
	margin: 0 auto;
	padding: 16px var(--abt-pad) 0;
	font-family: var(--h-font, 'Aeonik', sans-serif);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 8px;
}
.abt-bc__link {
	color: var(--abt-body);
	text-decoration: none;
}
.abt-bc__link:hover {
	color: var(--abt-teal);
}
.abt-bc__sep {
	color: var(--abt-body);
	font-size: 16px;
}
.abt-bc__current {
	color: var(--abt-dark);
}


/* ══════════════════════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATION
   ══════════════════════════════════════════════════════════════════════════ */
.abt-section,
.abt-stats,
.abt-clients,
.abt-cta {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
	            transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.abt-section.is-visible,
.abt-stats.is-visible,
.abt-clients.is-visible,
.abt-cta.is-visible {
	opacity: 1;
	transform: none;
}


/* ══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.abt-section,
	.abt-stats,
	.abt-clients,
	.abt-cta {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.abt-section__media img {
		transition: none !important;
	}
	.abt-clients__card {
		transition: none !important;
	}
	.abt-cta__btn {
		transition: none !important;
	}
	.abt-cta__btn--fill svg {
		transition: none !important;
	}
}
