/*
 * About page styles.
 *
 * A one-to-one port of the Tailwind utilities used in
 * frontend/src/app/about/page.js. Shared structure (containers, grids, cards,
 * glass panels, the map, the CTA) comes from sections.css; only what that file
 * does not already express is defined here.
 *
 * Tokens:
 *   primary #0B1B3D   accent #2563EB   text #1A1A2E
 *   muted   #6B7280   light  #F5F6F8   border rgba(229,231,235,.8)
 */

/* The block sits inside the constrained post-content flow; let it span. */
.gvd-about {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

/* ================================================================ shared == */

/* py-14 lg:py-20 — the rhythm every light section on this page uses. */
.gvd-about__section {
	position: relative;
	padding-block: 3.5rem;
	overflow: hidden;
}

@media (min-width: 1024px) {
	.gvd-about__section { padding-block: 5rem; }
}

.gvd-about__section > .gvd-container { position: relative; z-index: 1; }

/* text-3xl sm:text-4xl lg:text-[2.6rem] — narrower than the shared .gvd-h2. */
.gvd-about__h2 { font-size: 1.875rem; }

@media (min-width: 640px) { .gvd-about__h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .gvd-about__h2 { font-size: 2.6rem; } }

/* max-w-3xl mx-auto text-center mb-10 */
.gvd-about__head {
	max-width: 48rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.gvd-about__head-text {
	margin: 1rem 0 0;
	color: #6b7280;
	line-height: 1.625;
}

.gvd-section--dark .gvd-about__head-text { color: rgba(255, 255, 255, 0.55); }

/* Left-aligned head (Who We Are). */
.gvd-about__lead {
	max-width: 48rem;
	margin-bottom: 2.5rem;
}

/* Reveal wrappers act as the grid item, so cards can still fill the row. */
.gvd-about__cell { height: 100%; }

.gvd-about__gap6 { gap: 1.5rem; }

/* ================================================================== hero == */

.gvd-about__hero {
	position: relative;
	overflow: hidden;
	background: #0b1b3d;
}

/* radial-gradient(ellipse at top right, rgba(37,99,235,.18) 0%, transparent 55%) */
.gvd-about__glow-tr {
	background: radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.18) 0%, transparent 55%);
}

/* 56px grid at 7% white — the hero uses a fainter grid than the dark bands. */
.gvd-about__grid56 {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at center, #000 25%, transparent 85%);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 85%);
}

.gvd-about__hero-inner {
	position: relative;
	z-index: 1;
	padding-block: 3.5rem;
}

@media (min-width: 1024px) {
	.gvd-about__hero-inner { padding-block: 5rem; }
}

.gvd-about__hero-copy { max-width: 48rem; }

/* text-4xl sm:text-5xl lg:text-[3.2rem] leading-[1.08] tracking-tight */
.gvd-about__h1 {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: #fff;
}

@media (min-width: 640px) { .gvd-about__h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .gvd-about__h1 { font-size: 3.2rem; } }

.gvd-about__hero-sub {
	max-width: 42rem;
	margin: 1.5rem 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.125rem;
	line-height: 1.625;
}

/* Stat panel: one bordered box with hairline dividers between the cells. */
.gvd-about__stats-wrap { margin-top: 3rem; }

.gvd-about__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.03);
	overflow: hidden;
}

/* divide-x divide-y — Tailwind applies both to every cell but the first. */
.gvd-about__stats > * + * {
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
	.gvd-about__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.gvd-about__stats > * + * { border-top: 0; }
}

.gvd-about__stat { padding: 1.5rem; text-align: center; }

.gvd-about__stat-value {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.gvd-about__stat-label {
	margin-top: 0.25rem;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
	.gvd-about__stat-value { font-size: 1.875rem; }
	.gvd-about__stat-label { font-size: 0.875rem; }
}

/* =========================================================== who we are == */

.gvd-about__who {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.gvd-about__who { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
	.gvd-about__who > :first-child { grid-column: span 2; }
}

.gvd-about__prose { color: #6b7280; line-height: 1.625; }
.gvd-about__prose > * { margin: 0; }
.gvd-about__prose > * + * { margin-top: 1rem; }
.gvd-about__prose strong { color: #1a1a2e; font-weight: 700; }

/* border-l-2 accent quote block. */
.gvd-about__quote {
	margin-top: 1.5rem;
	padding: 1rem;
	border-radius: 0.75rem;
	border-left: 2px solid #2563eb;
	background: rgba(245, 246, 248, 0.6);
}

.gvd-about__quote p {
	margin: 0;
	color: #1a1a2e;
	font-weight: 600;
	line-height: 1.5;
}

.gvd-about__facts {
	padding: 1.5rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	border-radius: 1rem;
	background: rgba(245, 246, 248, 0.5);
}

.gvd-about__facts > * + * { margin-top: 1rem; }

.gvd-about__fact-key {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
}

.gvd-about__fact-val {
	margin-top: 0.125rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #1a1a2e;
}

/* Dark punch-line band under the two columns. */
.gvd-about__punch-wrap { margin-top: 3rem; }

.gvd-about__punch {
	padding: 2.5rem 2rem;
	border-radius: 1rem;
	background: #0b1b3d;
	text-align: center;
}

.gvd-about__punch p {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: #fff;
}

@media (min-width: 640px) { .gvd-about__punch p { font-size: 1.875rem; } }

/* ============================================================== approach == */

.gvd-about__step {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1;
	color: rgba(37, 99, 235, 0.25);
	font-variant-numeric: tabular-nums;
}

.gvd-about__step-title {
	margin: 0.75rem 0 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1a2e;
}

.gvd-about__step-text { margin-top: 0.5rem; }

/* ============================================================== timeline == */

.gvd-about__timeline { position: relative; }

/* Connector rule behind the numbered badges, desktop only. */
.gvd-about__timeline-rule { display: none; }

@media (min-width: 1024px) {
	.gvd-about__timeline-rule {
		display: block;
		position: absolute;
		top: 1.75rem;
		left: 12.5%;
		right: 12.5%;
		height: 2px;
		background: linear-gradient(to right, rgba(37, 99, 235, 0.2), #2563eb, rgba(37, 99, 235, 0.2));
	}
}

.gvd-about__milestone { text-align: center; }

.gvd-about__badge {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1.25rem;
	border-radius: 9999px;
	background: #2563eb;
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/*
 * Milestones sit in a grid, so the cards are equalised rather than left
 * ragged — the original's `h-full` was a no-op inside an auto-height wrapper.
 */
.gvd-about__milestone { display: flex; flex-direction: column; height: 100%; }

.gvd-about__tcard {
	flex: 1;
	padding: 1.5rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}


.gvd-about__tcard-title {
	margin: 0.25rem 0 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1a2e;
}

.gvd-about__tcard .gvd-card__text { margin-top: 0.5rem; }

.gvd-about__closing {
	max-width: 42rem;
	margin: 2.5rem auto 0;
	text-align: center;
	color: #6b7280;
}

/* ================================================== mission / vision / values */

.gvd-about__mv-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
	.gvd-about__mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.gvd-about__mv {
	height: 100%;
	padding: 2rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	border-radius: 1rem;
	background: #fff;
}

.gvd-about__mv-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.gvd-about__mv-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.75rem;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}

.gvd-about__mv-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a2e;
}

.gvd-about__mv-text {
	margin: 0;
	color: #6b7280;
	line-height: 1.625;
}

.gvd-about__values {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.gvd-about__value {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	border-radius: 9999px;
	background: #fff;
	color: #1a1a2e;
	font-size: 0.875rem;
	font-weight: 500;
}

.gvd-about__value-tick { flex-shrink: 0; color: #2563eb; }

/* =============================================================== why gvd == */

.gvd-about__why {
	position: relative;
	overflow: hidden;
	padding-block: 4rem;
}

@media (min-width: 1024px) {
	.gvd-about__why { padding-block: 5rem; }
}

.gvd-about__why-inner { position: relative; z-index: 1; }

/* The shared glass icon sits in a flex head; here it stacks above the title. */
.gvd-about__glass-icon { margin-bottom: 1rem; }

/* ============================================================ leadership == */

.gvd-about__person {
	height: 100%;
	border: 1px solid rgba(229, 231, 235, 0.8);
	border-radius: 1rem;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gvd-about__person:hover {
	transform: translateY(-4px);
	border-color: rgba(37, 99, 235, 0.4);
	box-shadow: 0 20px 48px -20px rgba(37, 99, 235, 0.22);
}

.gvd-about__photo {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f3f4f6;
}

.gvd-about__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gvd-about__person:hover .gvd-about__photo img { transform: scale(1.05); }

.gvd-about__person-body { padding: 1.25rem; text-align: center; }

.gvd-about__person-name {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1a2e;
}

.gvd-about__person-role { margin: 0; font-size: 0.875rem; color: #6b7280; }

.gvd-about__person-social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.gvd-about__person-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid #e5e7eb;
	border-radius: 9999px;
	color: #6b7280;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.gvd-about__person-social a:hover {
	border-color: #2563eb;
	background: #2563eb;
	color: #fff;
}

/* ======================================================= global presence == */

.gvd-about__map-head { text-align: center; margin-bottom: 1.5rem; }
.gvd-about__map-head > * { max-width: 48rem; margin-inline: auto; }
.gvd-about__map-eyebrow { margin-bottom: 0.75rem; }

/* text-3xl sm:text-4xl — no lg step on this heading. */
.gvd-about__map-title { font-size: 1.875rem; }

@media (min-width: 640px) { .gvd-about__map-title { font-size: 2.25rem; } }

.gvd-about__map-text { margin: 0.75rem 0 0; font-size: 0.875rem; color: #6b7280; }

@media (min-width: 640px) { .gvd-about__map-text { font-size: 1rem; } }

/* ================================== certifications / partners & ecosystem == */

/* grid-cols-1 sm:grid-cols-3 gap-6 */
.gvd-about__trio {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.gvd-about__trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.gvd-about__cert { padding: 2rem; text-align: center; }

.gvd-about__cert-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1rem;
	border-radius: 1rem;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}

.gvd-about__panel-title {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	color: #1a1a2e;
}

.gvd-about__eco { padding: 2rem; }

/* The ecosystem cards are static in the original — no hover treatment. */
.gvd-about__eco:hover {
	border-color: rgba(229, 231, 235, 0.8);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.gvd-about__eco-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 0.75rem;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}

/* ================================================================== cta === */

.gvd-about__cta-eyebrow { margin-bottom: 1.5rem; }

/* ================================================================== map === */

/*
 * The marker hover cards are 14rem wide and anchored at percentage positions,
 * so on a phone the right-hand ones reach past the panel. The map clips them
 * and they are hover-only content, so they are simply not offered at that size.
 */
@media (max-width: 639px) {
	.gvd-about .gvd-marker__card { display: none; }
}
