/* ------------------------------------------------------------------ */
/* KTT Technology -- Contact page. Light editorial layout (matching    */
/* the pricing page's serif/blue language) with a two-column body:     */
/* an inquiry form card beside the studio contact details.             */
/* ------------------------------------------------------------------ */

.contact-page {
	--c-blue: #0878d1;
	--c-ink: #1f2831;
	--c-muted: #65717c;
	--c-paper: #ffffff;
	--c-tint: #f3f6f8;
	--c-line: rgba(31, 40, 49, .14);
	--c-serif: Georgia, "Times New Roman", serif;
}

.contact-main {
	background: var(--c-paper);
	color: var(--c-ink);
}

.contact-main .button {
	font-family: inherit;
}

/* ---- Hero ---------------------------------------------------- */

.contact-hero {
	position: relative;
	padding: clamp(3.5rem, 8vw, 8rem) clamp(1.5rem, 7vw, 8rem) clamp(2.5rem, 5vw, 4.5rem);
	overflow: hidden;
	background:
		linear-gradient(90deg, rgba(8, 120, 209, .07) 1px, transparent 1px) 0 0 / 70px 70px,
		linear-gradient(rgba(8, 120, 209, .07) 1px, transparent 1px) 0 0 / 70px 70px,
		#fff;
}

.contact-hero::before {
	content: "";
	position: absolute;
	right: -12rem;
	top: -15rem;
	width: clamp(400px, 44vw, 720px);
	aspect-ratio: 1;
	border: clamp(56px, 8vw, 116px) solid rgba(8, 120, 209, .07);
	border-radius: 50%;
	pointer-events: none;
}

.contact-hero > * {
	position: relative;
	z-index: 1;
}

.contact-eyebrow {
	margin: 0 0 1rem;
	color: var(--c-blue);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
}

.contact-hero h1 {
	margin: 0;
	color: var(--c-blue);
	font-family: var(--c-serif);
	font-size: clamp(3.4rem, 8vw, 8rem);
	font-weight: 700;
	letter-spacing: -.055em;
	line-height: .85;
	text-transform: uppercase;
}

.contact-lead {
	max-width: 44rem;
	margin: 1.75rem 0 0;
	color: var(--c-muted);
	font-size: clamp(1rem, 1.25vw, 1.18rem);
	line-height: 1.7;
}

/* ---- Body grid -------------------------------------------- */

.contact-body {
	display: grid;
	grid-template-columns: minmax(0, 52rem);
	justify-content: center;
	align-items: start;
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 7vw, 8rem) clamp(4rem, 8vw, 7rem);
}

/* ---- Form card ------------------------------------------- */

.contact-form-card {
	padding: clamp(1.75rem, 3vw, 2.75rem);
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	box-shadow: 0 22px 48px rgba(31, 40, 49, .1);
}

.contact-form-card h2 {
	margin: 0 0 .4rem;
	color: var(--c-ink);
	font-family: var(--c-serif);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 700;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

.contact-form-card > p {
	margin: 0 0 1.75rem;
	color: var(--c-muted);
	font-size: .95rem;
	line-height: 1.6;
}

.contact-form-note {
	margin: 0 0 1.5rem;
	padding: .9rem 1.1rem;
	background: rgba(8, 120, 209, .08);
	border-left: 3px solid var(--c-blue);
	color: var(--c-ink);
	font-size: .92rem;
	line-height: 1.55;
}

.contact-form {
	display: grid;
	gap: 1.15rem;
}

.contact-field {
	display: grid;
	gap: .4rem;
}

.contact-field--row {
	grid-template-columns: 1fr 1fr;
	gap: 1.15rem;
}

@media screen and (max-width: 540px) {
	.contact-field--row {
		grid-template-columns: 1fr;
	}
}

.contact-field label {
	color: var(--c-ink);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.contact-field label span {
	color: var(--c-blue);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
	width: 100%;
	padding: .8rem .9rem;
	background: var(--c-tint);
	border: 1px solid var(--c-line);
	border-radius: 0;
	color: var(--c-ink);
	font-family: inherit;
	font-size: .95rem;
	line-height: 1.4;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
	-webkit-appearance: none;
	appearance: none;
}

.contact-field textarea {
	min-height: 8.5rem;
	resize: vertical;
}

.contact-field select {
	height: 2.9rem;
	padding: 0 2.5rem 0 .9rem;
	line-height: 2.9rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--c-muted) 50%), linear-gradient(135deg, var(--c-muted) 50%, transparent 50%);
	background-position: calc(100% - 1.15rem) 50%, calc(100% - .8rem) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
	outline: 0;
	background: #fff;
	border-color: var(--c-blue);
	box-shadow: 0 0 0 3px rgba(8, 120, 209, .16);
}

.contact-form__honey {
	position: absolute;
	left: -5000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form button[type="submit"] {
	justify-self: start;
	margin-top: .35rem;
	min-height: 3.5rem;
	height: auto;
	padding: .85rem 2.4rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--c-blue);
	border: 0;
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.contact-form button[type="submit"]:hover {
	background: #0a63ad;
	box-shadow: none;
	color: #fff;
	transform: translateY(-2px);
}

.contact-form__fineprint {
	margin: .4rem 0 0;
	color: var(--c-muted);
	font-size: .8rem;
	line-height: 1.55;
}

@media screen and (max-width: 900px) {

	.contact-body {
		grid-template-columns: 1fr;
	}

}
