/* GabionX — contacts: page-specific one-off layout classes (shared components live in components.css) */

.contacts-hero__img {
	object-position: 32% 56%;
	opacity: .5;
}

.contacts-hero__img-glow {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 32% 56%;
	mix-blend-mode: screen;
	-webkit-mask-image: linear-gradient(to bottom, transparent 34%, #000 45%, #000 60%, transparent 70%);
	mask-image: linear-gradient(to bottom, transparent 34%, #000 45%, #000 60%, transparent 70%);
	animation: gx-breathe 8.5s ease-in-out infinite;
}

.contacts-hero__accent {
	font-style: italic;
	font-weight: 400;
}

.contacts-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(48px, 7vw, 110px);
	align-items: start;
}

.contacts-intro__lead {
	max-width: 360px;
}

.contacts-cta__label {
	font: 500 10.5px/1 var(--font-sans);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 18px;
}

.contacts-cta__lead {
	max-width: 380px;
	margin-bottom: 34px;
}

.contacts-cta__submit {
	margin-top: 8px;
}

.contacts-cta__thanks-title {
	margin: 0;
	font: 300 32px/1.15 var(--font-serif);
	color: var(--white);
}

.contacts-cta__thanks-text {
	max-width: 340px;
}

/* FAQ identity: a clean near-white band, narrow reading measure — simplicity */
.gx-section:has(> .faq-list) {
	background: var(--panel-light);
}

.faq-list {
	max-width: 820px;
	margin: 0 auto;
}

.gx-faq-q .gx-faq-q__text {
	transition: color var(--dur-fast) ease;
}

.gx-faq-q:hover .gx-faq-q__text {
	color: var(--green-ink);
}
/* ---- page intro (html.gxi-play): quieter than home — this page is about
		acting, not impressing. Image fades only, the kicker draws open, the serif
		title sweeps from its mask, the lead rises last. ---- */
html.gxi-play .gx-hero--tall .gx-hero__img {
	animation: gxi-c-fade 1.3s ease both;
}

html.gxi-play .gx-hero__head {
	animation: gxi-c-drop .7s cubic-bezier(.16, .7, .3, 1) .15s both;
}

html.gxi-play .gx-hero--tall .gx-hero__eyebrow {
	animation: gxi-c-draw .7s cubic-bezier(.45, 0, .2, 1) .4s both;
}

html.gxi-play .gx-hero--tall .gx-h1--serif {
	animation: gxi-c-clip 1s cubic-bezier(.16, .7, .3, 1) .55s both;
}

html.gxi-play .gx-hero--tall .gx-hero__lead--flow {
	animation: gxi-c-rise .7s cubic-bezier(.16, .7, .3, 1) 1.05s both;
}

/* ends at the img's RESTING opacity (.5), not 1 — GX_UI.initIntro removes
   `gxi-play` ~2.8s after it starts, and if the fade ended at 1 the image would
   snap 1 → .5 at that moment (a visible «darkening» a few seconds in) */
@keyframes gxi-c-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: .5;
	}
}

@keyframes gxi-c-drop {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes gxi-c-draw {
	from {
		clip-path: inset(0 100% 0 0);
	}

	to {
		clip-path: inset(0 0% 0 0);
	}
}

@keyframes gxi-c-clip {
	from {
		clip-path: inset(0 0 100% 0);
		transform: translateY(16px);
	}

	to {
		clip-path: inset(0 0 -8% 0);
		transform: none;
	}
}

@keyframes gxi-c-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* ---- contacts board: architectural presentation, homepage design system ----
   the same engineering grid as the hw presentation / gallery net: 72px cells,
   1px lines at .025, dots ONLY on intersections (r1.7, .14), one top-left
   tiling origin for all three layers */
.contacts-board {
	position: relative;
}

.contacts-board__gridbg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 0 0, rgba(33, 30, 24, .14) 1.7px, transparent 2.2px),
		linear-gradient(to bottom, rgba(33, 30, 24, .025) 1px, transparent 1px),
		linear-gradient(to right, rgba(33, 30, 24, .025) 1px, transparent 1px);
	background-size: 72px 72px, 72px 72px, 72px 72px;
}

.contacts-board .contacts-grid {
	position: relative;
	gap: clamp(48px, 7vw, 120px);
}

.contacts-board__intro .gx-h2 {
	margin-bottom: 24px;
}

/* ---- socials: monochrome outline, individual micro-motion ---- */
.contacts-socials {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin-top: clamp(28px, 4vh, 44px);
}

.contacts-social {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	padding: 9px 0;
	color: var(--ink-58);
	text-decoration: none;
	transition: color .3s ease, transform .3s var(--ease), opacity .3s ease;
}

.contacts-social__name {
	position: relative;
	font: 500 14.5px/1 var(--font-sans);
	letter-spacing: .04em;
	color: var(--ink-70);
	transition: color .3s ease;
}

/* the quiet underline draws in from the left */
.contacts-social__name::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 1px;
	background: var(--green);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s var(--ease);
}

.contacts-social:hover {
	color: var(--green-ink);
	transform: translateX(2px);
}

.contacts-social:hover .contacts-social__name {
	color: var(--ink);
}

.contacts-social:hover .contacts-social__name::after {
	transform: scaleX(1);
}

/* ---- contact info: four typographic modules on the blueprint ---- */
.contacts-modules {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(36px, 5vh, 56px) clamp(28px, 3vw, 48px);
	align-content: start;
}

.contact-mod {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 0 0 18px;
	border-top: 1px solid var(--ink-10);
	text-decoration: none;
	transition: transform .3s var(--ease);
}

/* hover: a thin green vertical line rises along the left edge */
.contact-mod::before {
	content: '';
	position: absolute;
	left: 0;
	top: 18px;
	bottom: 2px;
	width: 2px;
	background: var(--green);
	transform: scaleY(0);
	transform-origin: top center;
	transition: transform .3s var(--ease);
}

.contact-mod:hover {
	transform: translateY(-2px);
}

.contact-mod:hover::before {
	transform: scaleY(1);
}

.contact-mod__label {
	font: 600 10.5px/1 var(--font-sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink-58);
}

.contact-mod__value {
	font: 600 clamp(20px, 1.8vw, 26px)/1.2 var(--font-sans);
	letter-spacing: -.01em;
	color: var(--ink-85);
	transition: color .3s ease;
	overflow-wrap: anywhere;
}

.contact-mod__value--xl {
	font-size: clamp(27px, 2.5vw, 38px);
	letter-spacing: -.02em;
}

.contact-mod:hover .contact-mod__value {
	color: var(--ink);
}

.contact-mod__note {
	font: 400 13.5px/1.5 var(--font-sans);
	color: var(--ink-58);
}

@media (max-width: 768px) {
	.contacts-modules {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.contact-mod__value--xl {
		font-size: clamp(26px, 8vw, 34px);
	}

	.contacts-socials {
		margin-top: 24px;
	}
}
