/*
 * EC About — Editorial Yearbook treatment for /about-us/.
 *
 * Shares design tokens, Fraunces display type, and the hero/closing
 * grammar with /services/, /contact-us/, and /our-projects/.
 *
 * About-specific elements:
 *   - Story spread (2-column at desktop: text + booth photo)
 *   - Pillars stripe (3 numbered values blocks)
 *   - Founders band (2 attribution cards, navy bg)
 *
 * Every selector is parented under `.ec-about`.
 */

/* =========================================================================
 *  ROOT WRAPPER + RESET
 * ========================================================================= */
.ec-about {
	font-family: var(--ec-font-body);
	color: var(--ec-navy);
	background: var(--ec-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
}
.ec-about *,
.ec-about *::before,
.ec-about *::after { box-sizing: border-box; }
.ec-about img { max-width: 100%; height: auto; display: block; }
.ec-about a { color: inherit; text-decoration: none; }
.ec-about p { margin: 0 0 1em; }
.ec-about ol, .ec-about ul { margin: 0; padding: 0; list-style: none; }
.ec-about figure { margin: 0; }

/* =========================================================================
 *  HERO BAND  —  identical grammar to /services/ + /contact-us/
 * ========================================================================= */
.ec-about .ec-hero,
.ec-about .ec-about-hero {
	position: relative;
	padding: 110px 24px 96px;
	background: var(--ec-navy);
	color: var(--ec-white);
	text-align: center;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ec-about .ec-hero::before,
.ec-about .ec-about-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(57,219,176,0.08) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(57,219,176,0.05) 1px, transparent 1px);
	background-size: 80px 80px, 80px 80px;
	background-position: center;
	pointer-events: none;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.ec-about .ec-hero > *,
.ec-about .ec-about-hero > * { position: relative; z-index: 1; }
.ec-about .ec-hero-eyebrow {
	font-family: var(--ec-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ec-gold-text);
	margin-bottom: 22px;
}
.ec-about h1.ec-hero-title,
.ec-about .ec-hero-title {
	font-family: var(--ec-font-display) !important;
	font-weight: 700;
	font-size: clamp(40px, 7vw, 88px) !important;
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: var(--ec-white) !important;
	margin: 0 auto 24px !important;
	max-width: 960px;
	font-variation-settings: "opsz" 144, "SOFT" 50;
}
.ec-about .ec-hero-title em {
	font-style: italic;
	font-weight: 500;
	color: var(--ec-green-text);
	font-variation-settings: "opsz" 144, "SOFT" 100;
}
.ec-about .ec-hero-sub {
	font-size: 18px;
	line-height: 1.5;
	max-width: 720px;
	margin: 0 auto 44px;
	color: rgba(255,255,255,0.78);
}
.ec-about .ec-hero-stats {
	display: flex;
	gap: 36px;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.6);
}
.ec-about .ec-hero-stats > div { min-width: 150px; }
.ec-about .ec-hero-stats strong {
	display: block;
	font-family: var(--ec-font-display);
	font-size: 26px;
	font-weight: 700;
	color: var(--ec-green-text);
	letter-spacing: -0.005em;
	margin-bottom: 4px;
	text-transform: none;
}
.ec-about .ec-hero::after,
.ec-about .ec-about-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 96px;
	height: 3px;
	background: var(--ec-gold);
}

/* =========================================================================
 *  INNER CONTAINER
 * ========================================================================= */
.ec-about .ec-about-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 96px 24px 96px;
	position: relative;
}

/* =========================================================================
 *  STORY SPREAD
 *  Two-column at desktop: text on left, booth photo on right.
 * ========================================================================= */
.ec-about .ec-about-story {
	display: grid;
	grid-template-columns: 6fr 6fr;
	gap: 56px;
	align-items: center;
	margin-bottom: 112px;
}
.ec-about .ec-about-story-text { padding-top: 8px; }
.ec-about .ec-about-story-text .ec-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ec-gold-text);
	margin-bottom: 16px;
}
.ec-about h2.ec-about-story-title,
.ec-about .ec-about-story-title {
	font-family: var(--ec-font-display) !important;
	font-weight: 700;
	font-size: clamp(34px, 4.4vw, 56px) !important;
	line-height: 1.04;
	letter-spacing: -0.02em;
	color: var(--ec-navy) !important;
	margin: 0 0 24px !important;
	max-width: 480px;
	font-variation-settings: "opsz" 96, "SOFT" 50;
}
.ec-about .ec-about-story-title em {
	font-style: italic;
	color: var(--ec-green-text);
	font-weight: 500;
}
.ec-about .ec-about-story-lead {
	font-size: 17px;
	line-height: 1.55;
	color: var(--ec-navy);
	margin: 0 0 18px;
	max-width: 520px;
	font-weight: 500;
}
.ec-about .ec-about-story-body {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--ec-text-dim);
	margin: 0;
	max-width: 520px;
}

/* Feature image — tall editorial card with subtle shadow */
.ec-about .ec-about-feature {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--ec-warm-white);
	box-shadow: 0 28px 56px -22px rgba(4,23,26,0.28);
}
.ec-about .ec-about-feature img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ec-about .ec-about-feature--fallback {
	background:
		radial-gradient(ellipse at 30% 20%, rgba(57,219,176,0.22), transparent 60%),
		radial-gradient(ellipse at 80% 80%, rgba(249,190,23,0.18), transparent 60%),
		var(--ec-navy);
}

/* =========================================================================
 *  PILLARS  —  3 numbered values columns
 * ========================================================================= */
.ec-about .ec-about-pillars {
	margin-bottom: 112px;
	padding: 64px 0;
	border-top: 1px solid var(--ec-rule-dim);
	border-bottom: 1px solid var(--ec-rule-dim);
}
.ec-about .ec-about-pillars-header {
	text-align: center;
	margin-bottom: 56px;
}
.ec-about .ec-about-pillars-header .ec-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ec-gold-text);
	margin-bottom: 14px;
}
.ec-about h2.ec-about-pillars-title,
.ec-about .ec-about-pillars-title {
	font-family: var(--ec-font-display) !important;
	font-weight: 700;
	font-size: clamp(28px, 3.6vw, 44px) !important;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--ec-navy) !important;
	margin: 0 auto !important;
	max-width: 680px;
	font-variation-settings: "opsz" 96;
}
.ec-about .ec-about-pillars-title em {
	font-style: italic;
	color: var(--ec-green-text);
	font-weight: 600;
}
.ec-about .ec-about-pillars-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 56px;
}
.ec-about .ec-about-pillar {
	position: relative;
	padding-top: 8px;
}
.ec-about .ec-about-pillar + .ec-about-pillar::before {
	content: "";
	position: absolute;
	left: -28px;
	top: 24px;
	width: 1px;
	height: 72px;
	background: var(--ec-rule-dim);
}
.ec-about .ec-about-pillar-num {
	font-family: var(--ec-font-display);
	font-weight: 900;
	font-size: 56px;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--ec-gold-text);
	margin-bottom: 20px;
	font-variation-settings: "opsz" 96;
}
.ec-about h3.ec-about-pillar-title,
.ec-about .ec-about-pillar-title {
	font-family: var(--ec-font-display) !important;
	font-size: 24px !important;
	font-weight: 700;
	color: var(--ec-navy) !important;
	margin: 0 0 12px !important;
	letter-spacing: -0.01em;
}
.ec-about .ec-about-pillar-body {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ec-text-dim);
	margin: 0;
}
/* Hover (client feedback 2026-06-30): subtle lift + the oversized numeral
   shifts gold -> brand green. Pillars are bare columns, so the lift + accent
   shift is the interaction cue. */
.ec-about .ec-about-pillar { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.ec-about .ec-about-pillar-num { transition: color .3s ease; }
.ec-about .ec-about-pillar:hover { transform: translateY(-6px); }
.ec-about .ec-about-pillar:hover .ec-about-pillar-num { color: var(--ec-green-text); }
@media (prefers-reduced-motion: reduce) {
	.ec-about .ec-about-pillar { transition: none; }
	.ec-about .ec-about-pillar:hover { transform: none; }
}

/* =========================================================================
 *  FOUNDERS  —  two attribution cards on warm-white band
 * ========================================================================= */
.ec-about .ec-about-founders {
	margin-bottom: 112px;
	padding: 80px 48px;
	background: var(--ec-warm-white);
	border-radius: 12px;
}
.ec-about .ec-about-founders-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
}
.ec-about .ec-about-founders-header .ec-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ec-gold-text);
	margin-bottom: 14px;
}
.ec-about h2.ec-about-founders-title,
.ec-about .ec-about-founders-title {
	font-family: var(--ec-font-display) !important;
	font-weight: 700;
	font-size: clamp(30px, 4vw, 48px) !important;
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: var(--ec-navy) !important;
	margin: 0 0 16px !important;
	font-variation-settings: "opsz" 96, "SOFT" 50;
}
.ec-about .ec-about-founders-title em {
	font-style: italic;
	color: var(--ec-green-text);
	font-weight: 500;
}
.ec-about .ec-about-founders-sub {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ec-text-dim);
	margin: 0;
}
.ec-about .ec-about-founders-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.ec-about .ec-founder-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 32px 28px;
	background: var(--ec-white);
	border-radius: 10px;
	border-top: 3px solid var(--ec-gold);
	color: var(--ec-navy);
	transition: transform 240ms cubic-bezier(0.22,0.61,0.36,1), box-shadow 240ms ease;
	overflow: hidden;
	min-height: 220px;
}
.ec-about .ec-founder-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--ec-green);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 320ms cubic-bezier(0.22,0.61,0.36,1);
}
.ec-about .ec-founder-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 28px 56px -22px rgba(4,23,26,0.22);
}
.ec-about .ec-founder-card:hover::after { transform: scaleX(1); }
.ec-about .ec-founder-card:focus-visible {
	outline: 2px solid var(--ec-green);
	outline-offset: 4px;
}
.ec-about .ec-founder-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ec-text-dim);
	margin-bottom: 12px;
}
.ec-about .ec-founder-name {
	font-family: var(--ec-font-display);
	font-weight: 700;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ec-navy);
	margin: 0 0 14px;
	font-variation-settings: "opsz" 96;
}
.ec-about .ec-founder-blurb {
	font-size: 14px;
	line-height: 1.55;
	color: var(--ec-text-dim);
	margin: 0 0 20px;
	flex-grow: 1;
}
.ec-about .ec-founder-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ec-green-text);
	margin-top: auto;
	transition: gap 220ms ease, color 220ms ease;
}
.ec-about .ec-founder-link svg { transition: transform 220ms ease; }
.ec-about .ec-founder-card:hover .ec-founder-link {
	color: var(--ec-navy);
	gap: 10px;
}
.ec-about .ec-founder-card:hover .ec-founder-link svg { transform: translateX(2px); }

/* =========================================================================
 *  CLOSING CTA
 * ========================================================================= */
.ec-about .ec-closing,
.ec-about .ec-about-closing {
	margin-top: 24px;
	padding: 80px 32px;
	background: var(--ec-navy);
	color: var(--ec-white);
	border-radius: 8px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.ec-about .ec-closing::before {
	content: "";
	position: absolute;
	inset: -50% -10% auto auto;
	width: 540px;
	height: 540px;
	background: radial-gradient(circle, var(--ec-green-tint), transparent 60%);
	pointer-events: none;
}
.ec-about .ec-closing > * { position: relative; }
.ec-about .ec-closing-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ec-green-text);
	margin-bottom: 18px;
}
.ec-about h2.ec-closing-title,
.ec-about .ec-closing .ec-closing-title {
	font-family: var(--ec-font-display) !important;
	font-weight: 700;
	font-size: clamp(32px, 4.6vw, 52px) !important;
	line-height: 1.06;
	letter-spacing: -0.02em;
	max-width: 720px;
	margin: 0 auto 18px !important;
	color: var(--ec-white) !important;
}
.ec-about .ec-closing .ec-closing-title em {
	font-style: italic;
	color: var(--ec-green-text) !important;
	font-weight: 500;
}
.ec-about .ec-closing-sub {
	font-size: 17px;
	line-height: 1.55;
	max-width: 600px;
	margin: 0 auto 38px;
	color: rgba(255,255,255,0.78);
}
.ec-about .ec-closing .ec-cta-btn,
.ec-about a.ec-cta-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	padding: 18px 30px !important;
	background: var(--ec-gold) !important;
	color: var(--ec-navy) !important;
	font-family: var(--ec-font-body) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
	border-radius: 999px;
	text-decoration: none !important;
	line-height: 1 !important;
	transition: transform 200ms ease, background 200ms ease;
}
.ec-about .ec-cta-btn::after {
	content: "→";
	transition: transform 220ms ease;
	font-weight: 400;
}
.ec-about .ec-cta-btn:hover {
	background: var(--ec-green) !important;
	transform: translateY(-2px);
}
.ec-about .ec-cta-btn:hover::after { transform: translateX(4px); }

/* =========================================================================
 *  RESPONSIVE
 * ========================================================================= */
@media ( max-width: 1023px ) {
	.ec-about .ec-about-inner { padding: 64px 20px 72px; }
	.ec-about .ec-about-story {
		grid-template-columns: 1fr;
		gap: 36px;
		margin-bottom: 72px;
	}
	.ec-about .ec-about-feature { aspect-ratio: 4 / 3; }
	.ec-about .ec-about-pillars {
		padding: 48px 0;
		margin-bottom: 72px;
	}
	.ec-about .ec-about-pillars-list { grid-template-columns: 1fr; gap: 36px; }
	.ec-about .ec-about-pillar + .ec-about-pillar::before { display: none; }
	.ec-about .ec-about-founders {
		padding: 56px 28px;
		margin-bottom: 72px;
	}
	.ec-about .ec-about-founders-cards { grid-template-columns: 1fr; gap: 18px; }
	.ec-about .ec-founder-card { min-height: 0; }
}
@media ( max-width: 767px ) {
	.ec-about .ec-hero,
	.ec-about .ec-about-hero { padding: 72px 20px 72px; }
	.ec-about .ec-hero-stats { gap: 22px; }
	.ec-about .ec-hero-stats > div { min-width: 130px; }
	.ec-about .ec-closing { padding: 56px 22px 60px; }
}

/* =========================================================================
 *  PRINT
 * ========================================================================= */
@media print {
	.ec-about { color: #000; background: #fff; }
	.ec-about .ec-hero,
	.ec-about .ec-about-hero { background: #fff; color: #000; }
	.ec-about .ec-about-pillar { break-inside: avoid; }
	.ec-about .ec-closing { background: #fff; color: #000; }
}
