/* about.css — About page (layers on top of amp.css) */

.about-motion-panel {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	min-height: 420px;
	/* background:
        radial-gradient(ellipse 95% 85% at 28% 8%, #1b3c7e, transparent 62%),
        radial-gradient(ellipse 80% 95% at 96% 102%, rgba(43, 76, 246, 0.36), transparent 66%),
        #0a1530; */
}

#about-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.about-motion-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	text-align: center;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.about-motion-cap span {
	color: var(--blue-cyan);
	margin: 0 5px;
}

#values-grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

/* ---- operating-principle cards ("How we work") ---- */
.value-card {
	min-height: 248px;
	padding: 30px 32px 32px;
	justify-content: flex-start;
	gap: 18px;
}

.value-card:hover {
	transform: translateY(-4px);
}

.value-card .ac-num {
	font-size: clamp(34px, 3vw, 46px);
	margin-bottom: 4px;
}

/* push the title + copy block to the bottom of the card */
.value-card .v-body {
	margin-top: auto;
}

.value-card h3 {
	font-size: clamp(24px, 1.8vw, 31px);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin-bottom: 18px;
	text-wrap: balance;
}

.value-card p {
	font-size: 16.5px;
	line-height: 1.62;
	color: rgba(255, 255, 255, 0.72);
	max-width: none;
}

#team-grid {
	grid-template-columns: repeat(3, 1fr);
}

.team-card .initials {
	font-family: var(--sans);
	font-size: clamp(52px, 6vw, 92px);
	font-weight: 600;
	letter-spacing: -0.04em;
}

@media (max-width: 900px) {
	.manifesto-grid {
		grid-template-columns: 1fr !important;
	}

	#values-grid {
		grid-template-columns: 1fr !important;
	}

	#team-grid {
		grid-template-columns: 1fr 1fr !important;
	}
}

@media (max-width: 560px) {
	#team-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ===========================================================
   TIMELINE — "A short history" (connected rail + icon nodes)
   =========================================================== */
.timeline-list {
	position: relative;
}

/* the vertical rail that connects the icon nodes.
   left = year col (96) + col-gap (36) + half icon col (72/2 = 36) = 168px */
.timeline-list::before {
	content: "";
	position: absolute;
	top: 70px;
	bottom: 70px;
	left: 168px;
	width: 2px;
	background: linear-gradient(
		180deg,
		transparent,
		rgba(43, 76, 246, 0.22) 9%,
		rgba(43, 76, 246, 0.22) 91%,
		transparent
	);
	pointer-events: none;
}

.timeline-row {
	display: grid;
	grid-template-columns: 96px 72px minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 32px 36px;
	padding: 34px 0;
	border-top: 1px solid var(--rule);
	align-items: center;
}

.timeline-year {
	font-family: var(--mono);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--blue);
}

.timeline-icon {
	width: 56px;
	height: 56px;
	justify-self: center;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid rgba(43, 76, 246, 0.2);
	box-shadow: 0 4px 14px rgba(43, 76, 246, 0.1);
	position: relative;
	z-index: 1;
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
}

.timeline-icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: var(--blue);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.timeline-row:hover .timeline-icon {
	transform: translateY(-3px);
	border-color: var(--blue);
	box-shadow: 0 12px 26px rgba(43, 76, 246, 0.2);
}

/* present-day node gets the filled-brand treatment */
.timeline-row.is-now .timeline-icon {
	background: linear-gradient(150deg, var(--blue), var(--blue-deep));
	border-color: transparent;
	box-shadow: 0 8px 22px rgba(43, 76, 246, 0.35);
}

.timeline-row.is-now .timeline-icon svg {
	stroke: #fff;
}

.timeline-title {
	font-family: var(--sans);
	font-size: clamp(22px, 1.8vw, 30px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	transition: color 0.25s;
}

.timeline-row:hover .timeline-title {
	color: var(--blue);
}

.timeline-desc {
	font-size: 15.5px;
	color: var(--muted);
	line-height: 1.6;
}

.timeline-end {
	border-top: 1px solid var(--rule);
}

@media (max-width: 980px) {
	.timeline-row {
		grid-template-columns: 84px 64px minmax(0, 1fr);
		gap: 6px 22px;
		align-items: start;
		padding: 30px 0;
	}

	/* rail = half of icon col (64/2 = 32) + year col (84) + gap (22) = 138px */
	.timeline-list::before {
		left: 138px;
		top: 58px;
		bottom: 58px;
	}

	.timeline-icon {
		width: 52px;
		height: 52px;
		grid-row: 1 / span 3;
		align-self: start;
	}

	.timeline-year {
		grid-column: 3;
		align-self: center;
	}

	.timeline-title {
		grid-column: 3;
		margin-top: 2px;
	}

	.timeline-desc {
		grid-column: 3;
		margin-top: 8px;
		max-width: 60ch;
	}
}

@media (max-width: 600px) {
	.timeline-row {
		grid-template-columns: 52px minmax(0, 1fr);
		column-gap: 18px;
	}

	.timeline-list::before {
		left: 26px;
	}

	.timeline-icon {
		width: 52px;
	}

	.timeline-year,
	.timeline-title,
	.timeline-desc {
		grid-column: 2;
	}

	.amp-cue {
		display: none !important;
	}
}
