/**
 * CONTACT section — direct-contact card (Fabão 2026-09-11).
 *
 * The Figma form scaffold is retired: the section now shows contact routes
 * (mailto in Plex Mono, "Schedule a call" pill, Instagram) instead of asking
 * for data. Neutral pass: the purple aurora and the accent token are gone —
 * the palette is monochrome ink/dim/hairline on the near-black card.
 *
 * SELF-CONTAINED palette by law: the global inherited text colour is #0B0620 on
 * a #0B0620 ground (theme.json vs style.css — the footer bug), so every colour
 * here is explicit. Ink token value matches .vz-about / .vz-practices.
 *
 * Sized to the free viewport under the fixed header (same law as .vz-projects /
 * .vz-practice) so the scroll magnet CENTERS the section instead of
 * top-aligning it. Desktop-first; ≤781px stacks per theme convention.
 */

.vz-contact {
	--vz-ink: #F3F1FA;
	--vz-dim: rgba(243, 241, 250, 0.62);
	--vz-faint: rgba(243, 241, 250, 0.38);
	--vz-hairline: rgba(243, 241, 250, 0.22);
	--vz-card: #08050f;
	--vz-ease: cubic-bezier(0.65, 0, 0.35, 1);

	box-sizing: border-box;
	/* Sky-gap ruling (Fabão 2026-09-11): the section is now CONTENT-sized (card
	   ~560px), strictly under the free viewport, so the scroll magnet centres it
	   with real slack — butterfly sky above and below. The block margins push the
	   projects trail and the footer out of that slack. */
	margin-block: 24svh;
	display: grid;
	align-content: center;
	position: relative;
	padding: 6vh clamp(16px, 4vw, 48px);
	color: var(--vz-ink);
	font-family: "IBM Plex Sans", system-ui, sans-serif;
}

/* ── The card ────────────────────────────────────────────────────────────── */

.vz-contact-card {
	position: relative;
	max-width: 880px;
	width: 100%;
	margin-inline: auto;
	background: var(--vz-card);
	border-radius: 40px;
	padding: clamp(40px, 6vw, 88px) clamp(28px, 5vw, 64px);
	display: grid;
	gap: clamp(1rem, 2.2vw, 1.5rem);
	justify-items: center;
	text-align: center;
}

.vz-contact-headline {
	margin: 0;
	font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--vz-ink);
}

.vz-contact-lead {
	margin: 0;
	font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
	color: var(--vz-dim);
	max-width: 30em;
}

/* ── The email — the section's centrepiece ───────────────────────────────── */

.vz-contact-email {
	margin-top: clamp(0.75rem, 2vw, 1.5rem);
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: clamp(1.3rem, 0.8rem + 2.2vw, 2.1rem);
	letter-spacing: -0.02em;
	color: var(--vz-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--vz-hairline);
	padding-bottom: 0.15em;
	transition: border-color 250ms var(--vz-ease);
	overflow-wrap: anywhere; /* narrow screens: the address may not fit one line */
}

.vz-contact-email:hover,
.vz-contact-email:focus-visible {
	border-color: var(--vz-ink);
	outline: none;
}

/* ── Routes row: schedule pill + Instagram ───────────────────────────────── */

.vz-contact-routes {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	flex-wrap: wrap;
	margin-top: clamp(0.75rem, 2vw, 1.5rem);
}

.vz-contact-cta {
	background: transparent;
	border: 1px solid var(--vz-hairline);
	border-radius: 999px;
	padding: 1.1rem 2.2rem;
	font-size: 1rem;
	color: var(--vz-ink);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	transition: border-color 200ms ease, background-color 200ms ease;
}

.vz-contact-cta:hover,
.vz-contact-cta:focus-visible {
	border-color: var(--vz-ink);
	background: rgba(243, 241, 250, 0.06);
	outline: none;
}

.vz-contact-social {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 1rem;
	color: var(--vz-dim);
	text-decoration: none;
	transition: color 200ms ease;
}

.vz-contact-social svg {
	width: 20px;
	height: 20px;
	display: block;
}

.vz-contact-social:hover,
.vz-contact-social:focus-visible {
	color: var(--vz-ink);
	outline: none;
}

/* ── Mobile (theme convention: ≤781px stacks, no viewport theatrics) ─────── */

@media (max-width: 781px) {
	.vz-contact {
		margin-block: 0; /* magnet off ≤781px — no sky gap to protect */
		padding-block: calc(var(--vz-mc-head, 119px) / 2) 48px;
	}
	.vz-contact-card {
		border-radius: 28px;
	}
	.vz-contact-routes {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}
	.vz-contact-cta {
		justify-content: center;
	}
	.vz-contact-social {
		justify-content: center;
	}
}
