/*
 * Volt Instruments About page. Loads after home.css (shared tokens and vh-* sections) and styles
 * the About-only va-* elements built by scripts/setup/about-rebuild.php.
 */

/* ---------- Eyebrow label ---------- */
.vh .va-eyebrow p {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var(--vh-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vh-blue-ink);
}
.vh .va-eyebrow p::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--vh-blue);
}
.vh-contact .va-eyebrow p {
	color: var(--vh-blue);
}

/* ---------- 1. Hero ---------- */
.vh-hero.va-hero .vh-hero-copy {
	gap: 24px;
}
.vh .e-con.va-hero-photo {
	position: relative;
}
.vh .va-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid var(--vh-line-strong);
	background: var(--vh-white);
	box-shadow: 0 1px 2px rgba(12, 26, 36, 0.06), 0 32px 56px -28px rgba(12, 26, 36, 0.35);
}
/* registration marks on the photo corners, like a drawing sheet */
.vh .e-con.va-hero-photo::before,
.vh .e-con.va-hero-photo::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 22px;
	border: 2px solid var(--vh-blue);
	z-index: 1;
	pointer-events: none;
}
.vh .e-con.va-hero-photo::before {
	top: -10px;
	left: -10px;
	border-right: 0;
	border-bottom: 0;
}
.vh .e-con.va-hero-photo::after {
	right: -10px;
	bottom: -10px;
	border-left: 0;
	border-top: 0;
}

/* ---------- 2. Story ---------- */
.vh-split-intro .va-eyebrow,
.va-section-head .va-eyebrow,
.vh-founder-copy .va-eyebrow {
	margin-bottom: -4px;
}
.vh .va-story-text p {
	font-size: 1.125rem;
	line-height: 1.7;
	max-width: 36em;
}
.vh .va-story-text p:first-child {
	font-family: var(--vh-display);
	font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--vh-ink);
	margin-bottom: 1.1em;
}

/* ---------- 3. How we work ---------- */
.e-con.va-principles {
	background-color: var(--vh-paper);
	background-image:
		linear-gradient(var(--vh-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--vh-line) 1px, transparent 1px);
	background-size: 32px 32px;
	background-position: -1px -1px;
	position: relative;
}
.e-con.va-principles::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(244, 247, 248, 0.92), rgba(244, 247, 248, 0.6));
	pointer-events: none;
}
.va-principles > .e-con {
	position: relative;
	z-index: 1;
}
.vh .e-con.va-section-head {
	gap: 20px;
	margin-bottom: clamp(40px, 5vw, 64px);
}
.vh .e-con.va-principle-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--vh-ink);
}
.vh .e-con.va-principle {
	gap: 14px;
	padding: 28px 28px 32px 0;
	transition: background-color 0.3s var(--vh-ease);
}
.vh .e-con.va-principle + .e-con.va-principle {
	padding-left: 28px;
	border-left: 1px solid var(--vh-line-strong);
}
.vh .va-principle-no span {
	display: block;
	font-family: var(--vh-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--vh-blue-ink);
}
.vh .va-principle-title .elementor-heading-title {
	font-family: var(--vh-display);
	font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.25;
	color: var(--vh-ink);
}
.vh .va-principle-text p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--vh-ink-2);
}

/* ---------- 4. Capabilities ---------- */
.vh .e-con.va-cap-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(24px, 4vw, 56px);
	border-top: 1px solid var(--vh-ink);
}
.vh .e-con.va-cap {
	gap: 8px;
	padding: 24px 32px 26px 0;
	border-bottom: 1px solid var(--vh-line);
	position: relative;
}
.vh .e-con.va-cap::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 32px;
	width: 9px;
	height: 9px;
	border-top: 1.5px solid var(--vh-ink-2);
	border-right: 1.5px solid var(--vh-ink-2);
	transform: rotate(45deg);
	transition: transform 0.35s var(--vh-ease), border-color 0.35s var(--vh-ease);
}
.vh .e-con.va-cap:hover::after,
.vh .e-con.va-cap:focus-within::after {
	border-color: var(--vh-blue-ink);
	transform: translateX(4px) rotate(45deg);
}
.vh .va-cap-title .elementor-heading-title {
	font-family: var(--vh-display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
	color: var(--vh-ink);
}
.vh .va-cap-title .elementor-heading-title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--vh-blue), var(--vh-blue));
	background-size: 0% 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.35s var(--vh-ease);
}
/* whole item is the link target */
.vh .va-cap-title .elementor-heading-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.vh .e-con.va-cap:hover .va-cap-title a,
.vh .va-cap-title a:focus-visible {
	background-size: 100% 2px;
}
.vh .va-cap-text p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--vh-ink-2);
}

/* ---------- 5. Founder: sits on its own band after the capabilities ---------- */
.e-con.va-founder {
	padding-top: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.vh .e-con.va-principle-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.vh .e-con.va-principle:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
	.vh .e-con.va-principle:nth-child(n + 3) {
		border-top: 1px solid var(--vh-line-strong);
	}
	.vh .e-con.va-cap-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 767px) {
	.vh .e-con.va-principle-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.vh .e-con.va-principle,
	.vh .e-con.va-principle + .e-con.va-principle {
		padding: 24px 0 26px;
		border-left: 0;
	}
	.vh .e-con.va-principle + .e-con.va-principle {
		border-top: 1px solid var(--vh-line-strong);
	}
	.vh .e-con.va-hero-photo::before,
	.vh .e-con.va-hero-photo::after {
		display: none;
	}
}
