/* ════════════════════════════════════════════════════════
   ABOUT PAGE — Samanvi Technologies
   Scoped with .about-wrapper to avoid GP conflicts
════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500&display=swap');

/* ── Layout override ───────────────────────────────── */
#primary.about-wrapper,
#primary.about-wrapper .site-main {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ── CSS Variables ─────────────────────────────────── */
.about-wrapper {
	--ab-navy:    #091628;
	--ab-blue:    #1f4e8a;
	--ab-teal:    #00A896;
	--ab-teal-dk: #028090;
	--ab-muted:   #6fa3c0;
	--ab-light:   #edf5f8;
	--ab-body:    #2e5470;
	--ab-body2:   #3d6882;
	--ab-border:  #b8d8e8;
	--ab-white:   #ffffff;
	font-family: 'Inter', sans-serif;
	-webkit-font-smoothing: antialiased;
	background: var(--ab-light);
}

/* ── Scroll reveal base states ─────────────────────── */
.about-wrapper .reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.75s ease, transform 0.75s ease;
}
.about-wrapper .reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ── Hero headline line reveal ─────────────────────── */
.about-wrapper .headline-line {
	display: block;
	overflow: hidden;
	line-height: 1.05;
}
.about-wrapper .headline-line span {
	display: block;
	transform: translateY(110%);
	transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-wrapper.hero-loaded .headline-line span {
	transform: translateY(0);
}
.about-wrapper .headline-line:nth-child(2) span { transition-delay: 0.08s; }
.about-wrapper .headline-line:nth-child(3) span { transition-delay: 0.16s; }
.about-wrapper .headline-line:nth-child(4) span { transition-delay: 0.24s; }

/* ══ HERO ═══════════════════════════════════════════ */
.ab-hero {
	min-height: 100vh;
	background: linear-gradient(145deg, #091628 0%, #0f2a50 50%, #0b2d38 100%);
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	position: relative;
	overflow: hidden;
}
.ab-hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 9rem 4rem 5rem 5rem;
	position: relative;
	z-index: 2;
}
.ab-eyebrow {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--ab-teal);
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	opacity: 0;
	animation: fadeInEyebrow 0.6s ease 0.3s forwards;
}
@keyframes fadeInEyebrow {
	to { opacity: 1; }
}
.ab-eyebrow::before {
	content: '';
	display: inline-block;
	width: 32px;
	height: 1px;
	background: var(--ab-teal);
}
.ab-headline {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(3rem, 5vw, 5.5rem);
	font-weight: 700;
	color: var(--ab-white);
	margin-bottom: 2.5rem;
	letter-spacing: -2px;
}
.ab-headline .accent { color: var(--ab-teal); }
.ab-headline .light  { font-weight: 300; }

.ab-hero-body {
	font-size: 1.05rem;
	color: rgba(255,255,255,0.55);
	line-height: 1.8;
	max-width: 440px;
	margin-bottom: 3.5rem;
	opacity: 0;
	animation: fadeInEyebrow 0.7s ease 1s forwards;
}
.ab-hero-stats {
	display: flex;
	gap: 3rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(255,255,255,0.08);
	opacity: 0;
	animation: fadeInEyebrow 0.7s ease 1.2s forwards;
}
.ab-stat-num {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 2.8rem;
	font-weight: 700;
	color: var(--ab-white);
	line-height: 1;
}
.ab-stat-label {
	font-size: 0.75rem;
	color: var(--ab-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 0.3rem;
}

/* Hero visual */
.ab-hero-visual {
	position: relative;
	overflow: hidden;
}
.ab-hero-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	filter: brightness(0.55) saturate(0.8);
	transform: scale(1.05);
	transition: transform 8s ease;
}
.about-wrapper.hero-loaded .ab-hero-visual img {
	transform: scale(1);
}
.ab-hero-visual::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, #091628 0%, transparent 30%);
}
.ab-hero-tag {
	position: absolute;
	bottom: 2.5rem;
	right: 2.5rem;
	z-index: 3;
	background: rgba(9,22,40,0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.1);
	padding: 1rem 1.5rem;
	border-radius: 4px;
	color: white;
	opacity: 0;
	animation: fadeInEyebrow 0.6s ease 1.4s forwards;
}
.ab-hero-tag-name {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
}
.ab-hero-tag-role {
	font-size: 0.75rem;
	color: var(--ab-teal);
	margin-top: 0.2rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ══ MANIFESTO ══════════════════════════════════════ */
.ab-manifesto {
	background: var(--ab-white);
	padding: 5rem 5rem;
	border-top: 3px solid var(--ab-teal);
	border-bottom: 1px solid var(--ab-border);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.ab-manifesto::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 420px;
	height: 420px;
	background-image: url('../images/logo-mark.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.06;
	pointer-events: none;
	z-index: 0;
}
.ab-manifesto-inner {
	max-width: 820px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.ab-manifesto-label {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--ab-teal);
	margin-bottom: 1rem;
}
.ab-manifesto-label::before,
.ab-manifesto-label::after {
	content: '';
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var(--ab-teal);
}
.ab-manifesto-quote-mark {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 8rem;
	line-height: 0.6;
	color: var(--ab-teal);
	opacity: 0.18;
	margin-bottom: -1rem;
	display: block;
	font-weight: 700;
}
.ab-manifesto-text {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	font-weight: 400;
	color: var(--ab-navy);
	line-height: 1.45;
	letter-spacing: -0.5px;
}
.ab-manifesto-text strong { font-weight: 700; color: var(--ab-teal); }

/* ══ MISSION / VISION ════════════════════════════════ */
.ab-mv-section {
	background: linear-gradient(160deg, #0f2a50 0%, #0d3560 50%, #0b2d3e 100%);
	padding: 8rem 5rem;
}
.ab-mv-header {
	display: flex;
	align-items: baseline;
	gap: 2rem;
	margin-bottom: 6rem;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	padding-bottom: 2rem;
}
.ab-mv-header-label {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--ab-teal);
}
.ab-mv-header-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.85rem;
	color: var(--ab-muted);
}
.ab-mv-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6rem;
}
.ab-mv-number {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 6rem;
	font-weight: 700;
	color: rgba(255,255,255,0.06);
	line-height: 1;
	margin-bottom: -1.5rem;
	letter-spacing: -4px;
}
.ab-mv-label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--ab-white);
	background: var(--ab-teal);
	padding: 0.4rem 1rem;
	border-radius: 2px;
	margin-bottom: 1.25rem;
}
.ab-mv-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(1.8rem, 2.8vw, 2.6rem);
	font-weight: 700;
	color: var(--ab-white);
	line-height: 1.15;
	margin-bottom: 1.5rem;
	letter-spacing: -0.5px;
}
.ab-mv-body {
	font-size: 0.95rem;
	color: rgba(255,255,255,0.5);
	line-height: 1.85;
}
.ab-mv-body + .ab-mv-body { margin-top: 1rem; }

/* ══ VALUES ══════════════════════════════════════════ */
.ab-values-section {
	background: var(--ab-light);
	padding: 8rem 5rem;
}
.ab-section-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: end;
	margin-bottom: 5rem;
}
.ab-section-eyebrow {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--ab-teal);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.ab-section-eyebrow::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 1px;
	background: var(--ab-teal);
}
.ab-section-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(2.5rem, 4vw, 3.8rem);
	font-weight: 700;
	color: var(--ab-navy);
	line-height: 1.05;
	letter-spacing: -2px;
}
.ab-section-desc {
	font-size: 1rem;
	color: var(--ab-body);
	line-height: 1.8;
	align-self: end;
}
.ab-values-tagline {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ab-teal);
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 1.5rem;
}
.ab-values-list { border-top: 1px solid var(--ab-border); }
.ab-value-row {
	display: grid;
	grid-template-columns: 80px 1fr 1fr;
	gap: 3rem;
	align-items: start;
	padding: 2.5rem 0;
	border-bottom: 1px solid var(--ab-border);
	position: relative;
	transition: background 0.25s, opacity 0.75s ease, transform 0.75s ease;
}
.ab-value-row::before {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--ab-teal);
	transition: width 0.35s ease;
}
.ab-value-row:hover::before { width: 100%; }
.ab-value-row:hover { background: rgba(0,168,150,0.03); }
.ab-value-num {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--ab-teal);
	padding-top: 0.3rem;
	letter-spacing: 1px;
}
.ab-value-name {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--ab-navy);
	letter-spacing: -0.3px;
}
.ab-value-body {
	font-size: 0.9rem;
	color: var(--ab-body2);
	line-height: 1.75;
}

/* ══ FOUNDERS ════════════════════════════════════════ */
.ab-founders-section {
	background: linear-gradient(170deg, #0d2040 0%, #0b2d38 50%, #091f30 100%);
}
.ab-founders-intro {
	padding: 7rem 5rem 4rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: end;
}
.ab-founders-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.ab-founder-panel {
	position: relative;
	height: 680px;
	overflow: hidden;
}
.ab-founder-panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	filter: brightness(0.45) saturate(0.7);
	transition: filter 0.5s ease, transform 0.6s ease;
}
.ab-founder-panel:hover img {
	filter: brightness(0.6) saturate(0.9);
	transform: scale(1.03);
}
.ab-founder-info {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 3rem;
	background: linear-gradient(to top, rgba(9,22,40,0.97) 0%, rgba(11,45,56,0.55) 60%, transparent 100%);
	z-index: 2;
	transform: translateY(8px);
	transition: transform 0.4s ease;
}
.ab-founder-panel:hover .ab-founder-info { transform: translateY(0); }
.ab-founder-name {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--ab-white);
	line-height: 1.1;
	margin-bottom: 0.3rem;
	letter-spacing: -0.5px;
}
.ab-founder-role {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--ab-teal);
	margin-bottom: 1rem;
}
.ab-founder-creds { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ab-cred-tag {
	font-size: 0.72rem;
	color: rgba(255,255,255,0.5);
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.1);
	padding: 0.3rem 0.75rem;
	border-radius: 2px;
	letter-spacing: 0.5px;
}
.ab-bio-strip {
	background: linear-gradient(90deg, #0b2d3e 0%, #0f3550 50%, #0b2d38 100%);
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.ab-bio-block {
	padding: 3.5rem 4rem;
	border-right: 1px solid rgba(255,255,255,0.06);
}
.ab-bio-block:last-child { border-right: none; }
.ab-bio-text {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.45);
	line-height: 1.85;
}
.ab-commitment {
	background: var(--ab-teal);
	padding: 4rem 5rem;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4rem;
	align-items: center;
}
.ab-commitment-symbol {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 5rem;
	font-weight: 700;
	color: rgba(0,0,0,0.12);
	line-height: 1;
}
.ab-commitment-content h3 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--ab-navy);
	margin-bottom: 0.75rem;
	letter-spacing: -0.5px;
}
.ab-commitment-content p {
	font-size: 0.95rem;
	color: rgba(0,0,0,0.6);
	line-height: 1.8;
	max-width: 680px;
}

/* ══ WHY CHOOSE US ═══════════════════════════════════ */
.ab-why-section {
	background: var(--ab-light);
	padding: 8rem 5rem;
}
.ab-why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6rem;
	align-items: center;
}
.ab-why-lead {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--ab-teal);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.ab-why-lead::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 1px;
	background: var(--ab-teal);
}
.ab-why-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 700;
	color: var(--ab-navy);
	line-height: 1.1;
	letter-spacing: -1.5px;
	margin-bottom: 1.5rem;
}
.ab-why-body {
	font-size: 0.95rem;
	color: var(--ab-body);
	line-height: 1.85;
	margin-bottom: 2.5rem;
}
.ab-why-quote {
	border-left: 3px solid var(--ab-teal);
	padding: 1.25rem 1.5rem;
	background: white;
	border-radius: 0 4px 4px 0;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ab-navy);
	line-height: 1.5;
}
.ab-why-stats { display: flex; flex-direction: column; }
.ab-why-stat-row {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 2rem 0;
	border-bottom: 1px solid var(--ab-border);
}
.ab-why-stat-row:first-child { border-top: 1px solid var(--ab-border); }
.ab-stat-big {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--ab-navy);
	line-height: 1;
	min-width: 120px;
	letter-spacing: -2px;
}
.ab-stat-big span { color: var(--ab-teal); font-size: 2rem; }
.ab-stat-info-label { font-size: 0.9rem; font-weight: 600; color: var(--ab-navy); }
.ab-stat-info-desc  { font-size: 0.82rem; color: var(--ab-muted); margin-top: 0.2rem; }

/* ══ CTA ═════════════════════════════════════════════ */
.ab-cta-section {
	background: linear-gradient(135deg, #091628 0%, #1f4e8a 45%, #028090 100%);
	padding: 10rem 5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.ab-cta-section::before {
	content: 'SAMANVI';
	position: absolute;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 22vw;
	font-weight: 700;
	color: rgba(255,255,255,0.03);
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	letter-spacing: -5px;
	pointer-events: none;
}
.ab-cta-eyebrow {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--ab-teal);
	margin-bottom: 2rem;
}
.ab-cta-headline {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(2.5rem, 5vw, 5rem);
	font-weight: 700;
	color: var(--ab-white);
	line-height: 1.0;
	letter-spacing: -2px;
	max-width: 800px;
	margin: 0 auto 1.5rem;
}
.ab-cta-headline span { color: var(--ab-teal); }
.ab-cta-sub {
	font-size: 1rem;
	color: rgba(255,255,255,0.45);
	max-width: 420px;
	margin: 0 auto 3.5rem;
}
.ab-cta-buttons { display: flex; gap: 1.2rem; justify-content: center; }
.ab-btn-primary {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: var(--ab-teal);
	color: var(--ab-white);
	text-decoration: none;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 2px;
	transition: background 0.2s, transform 0.2s;
}
.ab-btn-primary:hover { background: var(--ab-teal-dk); transform: translateY(-2px); color: white; }
.ab-btn-ghost {
	display: inline-block;
	padding: 1rem 2.5rem;
	background: transparent;
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 2px;
	transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.ab-btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--ab-white); transform: translateY(-2px); }

/* ══ RESPONSIVE ══════════════════════════════════════ */
@media (max-width: 1024px) {
	.ab-hero                          { grid-template-columns: 1fr; min-height: auto; }
	.ab-hero-visual                   { height: 55vh; }
	.ab-hero-content                  { padding: 8rem 2.5rem 4rem; }
	.ab-manifesto                     { padding: 3rem 2.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
	.ab-mv-section,
	.ab-values-section,
	.ab-founders-intro,
	.ab-why-section,
	.ab-cta-section                   { padding: 5rem 2.5rem; }
	.ab-mv-grid,
	.ab-section-header,
	.ab-why-grid,
	.ab-founders-intro                { grid-template-columns: 1fr; gap: 2.5rem; }
	.ab-founders-grid                 { grid-template-columns: 1fr; }
	.ab-founder-panel                 { height: 520px; }
	.ab-bio-strip                     { grid-template-columns: 1fr; }
	.ab-bio-block                     { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
	.ab-commitment                    { padding: 3rem 2.5rem; gap: 2rem; }
	.ab-value-row                     { grid-template-columns: 60px 1fr; }
	.ab-value-body                    { display: none; }
}
@media (max-width: 640px) {
	.ab-headline                      { letter-spacing: -1px; }
	.ab-hero-stats                    { gap: 2rem; flex-wrap: wrap; }
	.ab-cta-buttons                   { flex-direction: column; align-items: center; }
	.ab-commitment                    { grid-template-columns: 1fr; }
}

/* ══ REDUCED MOTION ══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.about-wrapper .reveal,
	.about-wrapper .headline-line span,
	.ab-hero-visual img { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}
