/**
 * Contact: Hero + Form
 */

.ld-contact-hero {
	padding: clamp(76px, 8vw, 120px) 0 clamp(90px, 10vw, 150px);
	background: var(--ld-cream);
}

.ld-contact-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
	gap: clamp(60px, 8vw, 130px);
	align-items: start;
}

.ld-contact-hero__intro {
	position: sticky;
	top: 120px;
	padding-top: 24px;
}

.ld-contact-hero h1 {
	max-width: 720px;
	margin: 0;
	color: var(--ld-ink);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(58px, 5.7vw, 88px);
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 0.92;
	text-wrap: balance;
}

.ld-contact-hero h1 em {
	display: block;
	margin-top: 8px;
	color: var(--ld-gold-dark);
	font-weight: 500;
}

.ld-contact-hero__lead {
	max-width: 620px;
	margin: 34px 0 0;
	color: var(--ld-gray);
	font-family: Inter, sans-serif;
	font-size: 16px;
	line-height: 1.8;
}

.ld-contact-hero__direct {
	margin-top: 42px;
	padding-top: 25px;
	border-top: 1px solid rgba(23, 23, 23, 0.14);
	font-family: Inter, sans-serif;
}

.ld-contact-hero__direct span {
	display: block;
	margin-bottom: 8px;
	color: var(--ld-gray-soft);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ld-contact-hero__direct a {
	color: var(--ld-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--ld-gold);
}

.ld-contact-hero__personal {
	max-width: 520px;
	margin: 22px 0 0;
	color: var(--ld-gray);
	font-family: Inter, sans-serif;
	font-size: 12px;
	line-height: 1.7;
}

.ld-contact-hero__personal strong {
	color: var(--ld-ink);
}

/* ---------------------------------------------------------
   Form wrapper
--------------------------------------------------------- */

.ld-contact-form-wrap {
	position: relative;
	padding: clamp(34px, 4vw, 58px);
	background: var(--ld-ink);
	box-shadow: 0 32px 70px rgba(23, 23, 23, 0.14);
}

.ld-contact-form-wrap__topline {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 38px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(241, 238, 234, 0.14);
	color: rgba(241, 238, 234, 0.5);
	font-family: Inter, sans-serif;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1;
	text-transform: uppercase;
}

/* ---------------------------------------------------------
   Form layout
--------------------------------------------------------- */

.ld-contact-form {
	display: grid;
	gap: 25px;
}

.ld-contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.ld-contact-form label {
	display: grid;
	gap: 10px;
	color: var(--ld-cream);
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ld-contact-form label b {
	color: var(--ld-gold);
	font-weight: 700;
}

.ld-contact-form label small {
	margin-left: 7px;
	color: rgba(241, 238, 234, 0.42);
	font-size: 8px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

/* ---------------------------------------------------------
   Inputs
--------------------------------------------------------- */

.ld-contact-form input,
.ld-contact-form select,
.ld-contact-form textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid rgba(241, 238, 234, 0.25);
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: var(--ld-cream) !important;
	caret-color: var(--ld-gold);
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.55;
	text-transform: none;
	-webkit-text-fill-color: var(--ld-cream);
}

.ld-contact-form input,
.ld-contact-form select {
	min-height: 48px;
}

.ld-contact-form textarea {
	min-height: 155px;
	padding: 12px 0;
	resize: vertical;
}

.ld-contact-form select {
	appearance: auto;
}

.ld-contact-form select option {
	color: #171717;
	background: #ffffff;
}

.ld-contact-form input::placeholder,
.ld-contact-form textarea::placeholder {
	color: rgba(241, 238, 234, 0.35);
	opacity: 1;
}

.ld-contact-form input:focus,
.ld-contact-form select:focus,
.ld-contact-form textarea:focus {
	border-bottom-color: var(--ld-gold);
	background: transparent;
	color: var(--ld-cream) !important;
	caret-color: var(--ld-gold);
	-webkit-text-fill-color: var(--ld-cream);
}

/* ---------------------------------------------------------
   Browser autofill
--------------------------------------------------------- */

.ld-contact-form input:-webkit-autofill,
.ld-contact-form input:-webkit-autofill:hover,
.ld-contact-form input:-webkit-autofill:focus,
.ld-contact-form textarea:-webkit-autofill,
.ld-contact-form textarea:-webkit-autofill:hover,
.ld-contact-form textarea:-webkit-autofill:focus,
.ld-contact-form select:-webkit-autofill,
.ld-contact-form select:-webkit-autofill:hover,
.ld-contact-form select:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--ld-cream) !important;
	caret-color: var(--ld-gold);
	-webkit-box-shadow: 0 0 0 1000px var(--ld-ink) inset;
	box-shadow: 0 0 0 1000px var(--ld-ink) inset;
	border-bottom-color: var(--ld-gold);
	transition: background-color 9999s ease-out 0s;
}

/* Firefox autofill */

.ld-contact-form input:autofill,
.ld-contact-form textarea:autofill,
.ld-contact-form select:autofill {
	background: var(--ld-ink);
	color: var(--ld-cream) !important;
	caret-color: var(--ld-gold);
}

/* ---------------------------------------------------------
   Submit
--------------------------------------------------------- */

.ld-contact-submit {
	display: inline-flex;
	justify-content: space-between;
	gap: 40px;
	align-items: center;
	width: fit-content;
	min-height: 54px;
	margin-top: 8px;
	padding: 0 24px;
	border: 0;
	background: var(--ld-gold);
	color: var(--ld-ink);
	cursor: pointer;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1;
	text-transform: uppercase;
	transition:
		transform var(--ld-transition),
		background var(--ld-transition);
}

.ld-contact-submit:hover,
.ld-contact-submit:focus-visible {
	background: var(--ld-sand);
	transform: translateY(-2px);
}

.ld-contact-submit span {
	font-size: 17px;
}

/* ---------------------------------------------------------
   Notes / notices
--------------------------------------------------------- */

.ld-contact-form__note {
	margin: -10px 0 0;
	color: rgba(241, 238, 234, 0.43);
	font-family: Inter, sans-serif;
	font-size: 10px;
	line-height: 1.5;
}

.ld-contact-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.ld-contact-notice {
	margin: 0 0 28px;
	padding: 17px 18px;
	font-family: Inter, sans-serif;
	font-size: 12px;
	line-height: 1.6;
}

.ld-contact-notice strong {
	display: block;
	margin-bottom: 2px;
}

.ld-contact-notice--success {
	background: var(--ld-sand);
	color: var(--ld-ink);
}

.ld-contact-notice--error {
	border: 1px solid rgba(241, 238, 234, 0.3);
	color: var(--ld-cream);
}

/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

@media (max-width: 980px) {

	.ld-contact-hero__inner {
		grid-template-columns: 1fr;
		gap: 58px;
	}

	.ld-contact-hero__intro {
		position: static;
		max-width: 800px;
		padding-top: 0;
	}

	.ld-contact-form-wrap {
		width: min(100%, 800px);
	}
}

/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 640px) {

	.ld-contact-hero {
		padding: 58px 0 76px;
	}

	.ld-contact-hero__inner {
		gap: 42px;
	}

	.ld-contact-hero h1 {
		font-size: clamp(48px, 14vw, 64px);
		line-height: 0.94;
	}

	.ld-contact-hero__lead {
		margin-top: 27px;
		font-size: 15px;
		line-height: 1.75;
	}

	.ld-contact-hero__direct {
		margin-top: 32px;
	}

	.ld-contact-hero__direct a {
		font-size: 12px;
		overflow-wrap: anywhere;
	}

	.ld-contact-form-wrap {
		padding: 28px 22px 32px;
	}

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

	.ld-contact-form-wrap__topline {
		margin-bottom: 30px;
	}

	.ld-contact-submit {
		width: 100%;
	}
}