/*
 * About Us — static brand overview page (Phase 9)
 * "Dark Forest / Imperial Gold / Cream"
 * Standalone lane, strict `.eh-*` scoping under `.eh-about` — avoids all
 * collisions with Ecome parent theme. Loaded only on the `about-us` page.
 */

.eh-about {
	--eh-forest-900: #0d2a20;
	--eh-forest-800: #14392c;
	--eh-forest-700: #1b4332;
	--eh-herb-600: #2d6a4f;
	--eh-herb-500: #3b8466;
	--eh-gold-600: #b78712;
	--eh-gold-500: #d4a017;
	--eh-gold-400: #e6bf4f;
	--eh-cream-50: #faf7f1;
	--eh-cream-100: #f8f5f0;
	--eh-cream-200: #efe8d9;
	--eh-ink-900: #14201a;
	--eh-ink-700: #2f3a32;
	--eh-ink-500: #6b7368;
	--eh-line: rgba(20, 32, 26, 0.12);
	--eh-line-dark: rgba(243, 228, 182, 0.18);
	--eh-font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
	--eh-font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
	--eh-font-mono: "JetBrains Mono", ui-monospace, monospace;

	font-family: var(--eh-font-body);
	color: var(--eh-ink-700);
	background: var(--eh-cream-50);
}

.eh-about *,
.eh-about *::before,
.eh-about *::after { box-sizing: border-box; }

.eh-about img { max-width: 100%; height: auto; display: block; }
.eh-about a { color: inherit; text-decoration: none; }
.eh-about button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.eh-about h1, .eh-about h2, .eh-about h3, .eh-about h4 {
	font-family: var(--eh-font-display);
	color: var(--eh-forest-900);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.1;
	margin: 0;
}

/* ---- Container ---- */
.eh-about .eh-container {
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 40px;
}
@media (max-width: 720px) { .eh-about .eh-container { padding: 0 20px; } }

/* ---- Shared utilities ---- */
.eh-about .eh-eyebrow {
	font-size: 10px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--eh-gold-600);
	display: block;
}
.eh-about .eh-eyebrow.eh-center { text-align: center; }
.eh-about .eh-gold { color: var(--eh-gold-500); }
.eh-about .eh-lede {
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.72;
	color: rgba(243, 228, 182, 0.7);
	max-width: 560px;
	text-wrap: pretty;
}

.eh-about .eh-section { padding: 110px 0; }

.eh-about .eh-section-head { margin-bottom: 64px; }
.eh-about .eh-section-head.eh-center { text-align: center; }
.eh-about .eh-section-head h2 { margin-top: 20px; font-size: clamp(32px, 3.4vw, 52px); }
.eh-about .eh-section-head p {
	font-size: 16px;
	line-height: 1.72;
	color: var(--eh-ink-500);
	max-width: 480px;
	margin: 18px auto 0;
	text-wrap: pretty;
}

/* Grain overlay */
.eh-about .eh-hero-grain {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
	background-size: 200px 200px;
	pointer-events: none;
	z-index: 1;
}

/* Buttons */
.eh-about .eh-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 28px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border: 1px solid transparent;
	transition: all 0.25s ease;
	white-space: nowrap;
}
.eh-about .eh-btn-gold {
	background: var(--eh-gold-500);
	color: var(--eh-forest-900);
	border-color: var(--eh-gold-500);
}
.eh-about .eh-btn-gold:hover {
	background: var(--eh-gold-400);
	border-color: var(--eh-gold-400);
	transform: translateY(-1px);
}
.eh-about .eh-arrow {
	display: inline-block;
	width: 20px;
	height: 1px;
	background: currentColor;
	position: relative;
}
.eh-about .eh-arrow::after {
	content: "";
	position: absolute;
	right: 0; top: -3px;
	width: 7px; height: 7px;
	border-right: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
	transform: rotate(45deg);
}

/* ============================================================
   01 · HERO
   ============================================================ */

.eh-about .eh-about-hero {
	background: var(--eh-forest-900);
	min-height: 660px;
	padding: 100px 0 120px;
	position: relative;
	overflow: hidden;
}
.eh-about .eh-about-hero-inner {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 80px;
	align-items: center;
	position: relative;
	z-index: 2;
}
@media (max-width: 960px) {
	.eh-about .eh-about-hero { min-height: 0; padding: 70px 0 90px; }
	.eh-about .eh-about-hero-inner { grid-template-columns: 1fr; gap: 50px; }
}

.eh-about .eh-about-hero h1 {
	color: var(--eh-cream-50);
	font-size: clamp(44px, 5.5vw, 80px);
	line-height: 1.04;
	margin-top: 26px;
}

/* Hero visual */
.eh-about .eh-hero-visual {
	position: relative;
	background: var(--eh-forest-800);
	border: 1px solid var(--eh-line-dark);
	aspect-ratio: 4/5;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
}
.eh-about .eh-hero-visual-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
}
.eh-about .eh-hero-visual-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.eh-about .eh-corner-tag {
	position: absolute;
	top: 24px; right: -1px;
	background: var(--eh-forest-900);
	border: 1px solid var(--eh-line-dark);
	border-right: 0;
	padding: 10px 20px;
	font-size: 9px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 700;
	color: rgba(243, 228, 182, 0.5);
}
.eh-about .eh-badge {
	position: absolute;
	bottom: -20px; right: -20px;
	background: var(--eh-gold-500);
	color: var(--eh-forest-900);
	padding: 20px 26px;
	z-index: 3;
	text-align: center;
}
.eh-about .eh-badge .eh-big {
	font-family: var(--eh-font-display);
	font-size: 28px;
	font-weight: 500;
	display: block;
	line-height: 1.15;
}
.eh-about .eh-badge-label {
	font-size: 9px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 700;
	display: block;
	margin-top: 4px;
}
@media (max-width: 720px) {
	.eh-about .eh-badge { bottom: -12px; right: -12px; }
}

/* ============================================================
   02 · STATS BAR
   ============================================================ */

.eh-about .eh-stats-bar {
	background: var(--eh-forest-900);
	position: relative;
	z-index: 2;
}
.eh-about .eh-stats-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.eh-about .eh-stat-cell {
	padding: 50px 40px;
	border-right: 1px solid var(--eh-line-dark);
	text-align: center;
}
.eh-about .eh-stat-cell:last-child { border-right: 0; }
.eh-about .eh-stat-cell .eh-big-num {
	font-family: var(--eh-font-display);
	font-size: clamp(40px, 4.5vw, 64px);
	color: var(--eh-gold-500);
	line-height: 1;
	display: block;
	font-weight: 400;
}
.eh-about .eh-stat-cell .eh-big-num sup {
	font-size: 0.42em;
	font-family: var(--eh-font-body);
	font-weight: 700;
	vertical-align: 0.55em;
	color: var(--eh-gold-400);
}
.eh-about .eh-stat-cell .eh-big-num sub {
	font-size: 0.38em;
	font-family: var(--eh-font-body);
	font-weight: 700;
	vertical-align: 0;
	color: var(--eh-gold-400);
	letter-spacing: 0.05em;
}
.eh-about .eh-stat-cell .eh-stat-text {
	font-size: clamp(20px, 2vw, 30px);
	font-family: var(--eh-font-display);
	color: var(--eh-gold-500);
	line-height: 1.1;
	display: block;
	font-weight: 400;
	letter-spacing: 0.04em;
}
.eh-about .eh-stat-cell .eh-stat-label {
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(243, 228, 182, 0.5);
	font-weight: 700;
	margin-top: 12px;
	display: block;
}
@media (max-width: 720px) {
	.eh-about .eh-stats-inner { grid-template-columns: repeat(2, 1fr); }
	.eh-about .eh-stat-cell:nth-child(2) { border-right: 0; }
	.eh-about .eh-stat-cell:nth-child(1),
	.eh-about .eh-stat-cell:nth-child(2) { border-bottom: 1px solid var(--eh-line-dark); }
	.eh-about .eh-stat-cell { padding: 36px 24px; }
}

/* ============================================================
   03 · ORIGINS (mini story / timeline)
   ============================================================ */

.eh-about .eh-origins-section {
	background: var(--eh-cream-50);
	padding: 110px 0 120px;
}
.eh-about .eh-origins-grid {
	display: grid;
	grid-template-columns: 1fr 0.85fr;
	gap: 100px;
	align-items: center;
}
@media (max-width: 960px) {
	.eh-about .eh-origins-grid { grid-template-columns: 1fr; gap: 60px; }
}
.eh-about .eh-origins-section .eh-eyebrow { margin-bottom: 22px; }
.eh-about .eh-origins-section h2 {
	font-size: clamp(30px, 3.2vw, 48px);
	color: var(--eh-forest-900);
}

/* Timeline */
.eh-about .eh-ab-timeline {
	margin: 38px 0 48px;
	border-left: 1px solid rgba(212, 160, 23, 0.45);
	display: flex;
	flex-direction: column;
}
.eh-about .eh-ab-tl-item {
	display: flex;
	gap: 28px;
	padding: 0 0 36px 32px;
	position: relative;
}
.eh-about .eh-ab-tl-item:last-child { padding-bottom: 0; }
.eh-about .eh-ab-tl-item::before {
	content: "";
	position: absolute;
	left: -5px; top: 7px;
	width: 9px; height: 9px;
	background: var(--eh-gold-500);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.18);
}
.eh-about .eh-ab-tl-year {
	font-family: var(--eh-font-display);
	font-style: italic;
	font-size: 15px;
	color: var(--eh-gold-600);
	white-space: nowrap;
	min-width: 52px;
	padding-top: 3px;
}
.eh-about .eh-ab-tl-body strong {
	display: block;
	font-family: var(--eh-font-display);
	font-size: 19px;
	font-weight: 500;
	color: var(--eh-forest-900);
	line-height: 1.15;
	margin-bottom: 7px;
}
.eh-about .eh-ab-tl-body p {
	font-size: 14px;
	line-height: 1.72;
	color: var(--eh-ink-500);
	margin: 0;
	text-wrap: pretty;
}

/* Story visual (right column) */
.eh-about .eh-ab-story-visual { position: relative; padding: 0 20px 40px 0; }
.eh-about .eh-ab-story-img-frame {
	position: relative;
	border: 1px solid var(--eh-line);
	aspect-ratio: 4/5;
	background: repeating-linear-gradient(
		45deg,
		var(--eh-cream-100) 0, var(--eh-cream-100) 2px,
		var(--eh-cream-200) 2px, var(--eh-cream-200) 14px
	);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	overflow: hidden;
}
.eh-about .eh-ab-story-img-frame::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(212, 160, 23, 0.25);
	pointer-events: none;
}
.eh-about .eh-ab-story-img-frame img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.eh-about .eh-ab-ph-icon { color: var(--eh-gold-600); opacity: 0.55; }
.eh-about .eh-ab-ph-icon svg { width: 44px; height: 44px; }
.eh-about .eh-ab-ph-label {
	font-family: var(--eh-font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--eh-ink-500);
	text-align: center;
	line-height: 1.6;
	opacity: 0.7;
	padding: 0 24px;
}
.eh-about .eh-ab-story-badge {
	position: absolute;
	bottom: 20px; right: 0;
	background: var(--eh-gold-500);
	color: var(--eh-forest-900);
	padding: 18px 24px;
	z-index: 3;
}
.eh-about .eh-ab-story-badge .eh-badge-num {
	font-family: var(--eh-font-display);
	font-size: 36px;
	font-weight: 400;
	display: block;
	line-height: 1;
}
.eh-about .eh-ab-story-badge .eh-badge-sub {
	font-size: 9px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 700;
	display: block;
	margin-top: 5px;
}

/* ============================================================
   04 · MISSION & VISION
   ============================================================ */

.eh-about .eh-mv-wrap {
	padding: 110px 0;
	background: var(--eh-cream-100);
}
.eh-about .eh-mv-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--eh-line);
	margin-top: 64px;
}
@media (max-width: 800px) { .eh-about .eh-mv-grid { grid-template-columns: 1fr; } }
.eh-about .eh-mv-block {
	padding: 64px 60px 72px;
	position: relative;
	overflow: hidden;
}
@media (max-width: 960px) { .eh-about .eh-mv-block { padding: 48px 36px 56px; } }
.eh-about .eh-mv-block.eh-mv-light {
	background: var(--eh-cream-50);
	border-right: 1px solid var(--eh-line);
}
@media (max-width: 800px) { .eh-about .eh-mv-block.eh-mv-light { border-right: 0; border-bottom: 1px solid var(--eh-line); } }
.eh-about .eh-mv-block.eh-mv-dark {
	background: var(--eh-forest-900);
	color: var(--eh-cream-100);
}
.eh-about .eh-mv-label {
	font-size: 10px;
	letter-spacing: 0.36em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--eh-gold-600);
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
}
.eh-about .eh-mv-label::before { content: ""; width: 28px; height: 1px; background: var(--eh-gold-500); }
.eh-about .eh-mv-block.eh-mv-dark .eh-mv-label { color: var(--eh-gold-400); }
.eh-about .eh-mv-block h3 {
	font-size: clamp(26px, 2.4vw, 36px);
	margin-bottom: 22px;
	font-weight: 500;
}
.eh-about .eh-mv-block.eh-mv-light h3 { color: var(--eh-forest-900); }
.eh-about .eh-mv-block.eh-mv-dark h3 { color: var(--eh-cream-100); }
.eh-about .eh-mv-block p {
	font-size: 16px;
	line-height: 1.82;
	max-width: 520px;
	text-wrap: pretty;
}
.eh-about .eh-mv-block.eh-mv-light p { color: var(--eh-ink-500); }
.eh-about .eh-mv-block.eh-mv-dark p { color: rgba(243, 228, 182, 0.62); }
.eh-about .eh-mv-deco {
	position: absolute;
	right: -24px; bottom: -24px;
	width: 150px; height: 150px;
	opacity: 0.07;
	color: var(--eh-gold-500);
	pointer-events: none;
}
.eh-about .eh-mv-block.eh-mv-dark .eh-mv-deco { opacity: 0.13; }

/* ============================================================
   05 · CERTIFICATIONS
   ============================================================ */

.eh-about .eh-cert-section {
	background: var(--eh-cream-50);
	padding: 110px 0 120px;
}
.eh-about .eh-cert-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 62px;
}
@media (max-width: 900px) { .eh-about .eh-cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .eh-about .eh-cert-grid { grid-template-columns: 1fr; } }
.eh-about .eh-cert-card {
	background: var(--eh-cream-50);
	border: 1px solid var(--eh-line);
	padding: 40px 32px 44px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.eh-about .eh-cert-card::after {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: var(--eh-gold-500);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}
.eh-about .eh-cert-card:hover {
	border-color: var(--eh-gold-400);
	transform: translateY(-5px);
	box-shadow: 0 18px 40px rgba(13, 42, 32, 0.09);
}
.eh-about .eh-cert-card:hover::after { transform: scaleX(1); }
.eh-about .eh-cert-icon {
	width: 60px; height: 60px;
	border: 1px solid var(--eh-line);
	background: var(--eh-cream-100);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--eh-herb-600);
	flex-shrink: 0;
	transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.eh-about .eh-cert-icon svg { width: 26px; height: 26px; }
.eh-about .eh-cert-card:hover .eh-cert-icon {
	background: var(--eh-forest-900);
	border-color: var(--eh-forest-900);
	color: var(--eh-gold-400);
}
.eh-about .eh-cert-name {
	font-family: var(--eh-font-display);
	font-size: 21px;
	font-weight: 500;
	color: var(--eh-forest-900);
	line-height: 1.2;
}
.eh-about .eh-cert-desc {
	font-size: 13px;
	line-height: 1.72;
	color: var(--eh-ink-500);
	text-wrap: pretty;
	flex: 1;
}
.eh-about .eh-cert-deco {
	font-family: var(--eh-font-display);
	font-style: italic;
	font-size: 80px;
	color: var(--eh-cream-200);
	position: absolute;
	bottom: -16px; right: 12px;
	line-height: 1;
	pointer-events: none;
	transition: color 0.3s;
}
.eh-about .eh-cert-card:hover .eh-cert-deco { color: rgba(212, 160, 23, 0.12); }
