/**
 * Magenta AI — contact page
 */

.magenta-contact {
	overflow-x: clip;
	max-width: 100%;
}

.magenta-contact-hero {
	max-width: min(52rem, 100%);
	margin-bottom: clamp(3rem, 8vw, 5rem);
	overflow: visible;
}

.magenta-contact-title {
	font-family: var(--magenta-font-display);
	font-size: clamp(3rem, 10vw, 6.5rem);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-transform: lowercase;
	max-width: 100%;
	overflow: visible;
}

.magenta-contact-title .magenta-split-word {
	padding-right: 0.18em;
	margin-right: 0.14em;
}

.magenta-contact-lead {
	font-size: clamp(1.125rem, 2.5vw, 1.75rem);
	line-height: 1.35;
	max-width: 40rem;
}

.magenta-contact-channels {
	max-width: 100%;
}

.magenta-contact-channel {
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 600;
	color: var(--magenta-black);
	text-decoration: none;
	text-transform: lowercase;
	overflow-wrap: anywhere;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.magenta-contact-channel:hover,
.magenta-contact-channel:focus-visible {
	color: var(--magenta-accent);
}

.magenta-contact-grid {
	margin-bottom: clamp(3rem, 8vw, 5rem);
	max-width: 100%;
}

.magenta-contact-grid > [class*='col-'] {
	min-width: 0;
}

.magenta-contact-form {
	min-width: 0;
}

.magenta-contact-block + .magenta-contact-block {
	margin-top: clamp(2.5rem, 6vw, 4rem);
}

.magenta-contact-block__title,
.magenta-contact-form__title {
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.15;
	text-transform: lowercase;
	color: var(--magenta-accent);
	margin-bottom: 1.25rem;
}

.magenta-contact-block__text,
.magenta-contact-office__address {
	font-size: clamp(1rem, 1.8vw, 1.125rem);
	line-height: 1.55;
	max-width: 34rem;
}

.magenta-contact-office + .magenta-contact-office {
	margin-top: 1.75rem;
}

.magenta-contact-office__label {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.35rem;
}

.magenta-contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.5rem;
	background: var(--magenta-accent);
	color: var(--magenta-white) !important;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	border: 0;
	transition: opacity 0.25s ease;
}

.magenta-contact-btn:hover,
.magenta-contact-btn:focus-visible {
	opacity: 0.85;
	color: var(--magenta-white);
}

.magenta-contact-form__placeholder {
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(0, 0, 0, 0.65);
}

.magenta-contact-map-wrap {
	border-radius: 0;
	overflow: hidden;
	background: var(--magenta-surface);
	max-width: 100%;
}

.magenta-contact-map {
	display: block;
	width: 100%;
	min-height: clamp(18rem, 40vw, 28rem);
	border: 0;
}

.magenta-contact-form .ff-t-container .ff-el-group {
	margin-bottom: 0;
}

/* g-5 / g-xl-6 row negative margins need matching container gutter */
@media (min-width: 992px) {
	.magenta-contact .magenta-container {
		--magenta-gutter: 24px;
	}

	.magenta-contact-form {
		padding-left: clamp(1rem, 3vw, 2rem);
	}
}

@media (min-width: 1200px) {
	.magenta-contact .magenta-container {
		--magenta-gutter: 32px;
	}
}
