.contact-section {
	--focus-outline: var(--green);
	background: var(--dark);
	color: #fff;
	padding: 110px 0;
	position: relative;
	overflow: hidden;
}

.contact-section:before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(45deg, transparent 0, transparent 46px, rgba(255, 255, 255, .035) 47px, transparent 48px);
	pointer-events: none;
}

.contact-grid {
	position: relative;
	display: flex;
	gap: 13%;
	align-items: center;
}

.contact-grid > div {
	flex: 1 1 0;
}

.eyebrow-light {
	color: #bbe989;
}

.contact-intro h2 {
	font-size: clamp(43px, 4.5vw, 64px);
	font-weight: 500;
	max-width: 570px;
	margin: 24px 0;
}

.contact-intro > p:last-child {
	color: #aebbaf;
	max-width: 450px;
	line-height: 1.75;
}

.contact-card {
	--form-label-font-size: 12px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 450px;
	background: #1b251c;
	border: 1px solid #354536;
	border-radius: var(--panel-radius);
	padding: 29px;
}

.contact-card-head {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	color: #dbe7d9;
	font: 11px "DM Mono", monospace;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.progress-track {
	height: 2px;
	background: #718773;
	margin: 17px 0 36px;
}

.progress-track span {
	display: block;
	height: 100%;
	width: 25%;
	background: var(--green);
	transition: width .2s;
}

#contact-form {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.form-step {
	flex: 1;
	min-height: 0;
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.form-step legend {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 64px;
	padding-bottom: 30px;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.2;
	margin: 0;
}

.form-step label {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: #d7e1d5;
	font-size: var(--form-label-font-size);
	margin-bottom: 9px;
}

.form-step label span {
	color: #91a591;
	font-size: 11px;
}

.form-step input,
.form-step textarea {
	width: 100%;
	border: 1px solid #718773;
	border-radius: 3px;
	background: #152016;
	color: #fff;
	padding: 14px 15px;
	resize: vertical;
}

.form-step textarea {
	height: 126px;
	max-height: 126px;
	overflow-y: auto;
	resize: none;
}

.form-step input:focus,
.form-step textarea:focus {
	border-color: var(--focus-outline);
}

.form-step input:focus-visible,
.form-step textarea:focus-visible {
	outline: none;
}

.form-step input::placeholder,
.form-step textarea::placeholder {
	color: #829184;
}

.form-select {
	position: relative;
}

.form-select > i {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	color: #fff;
	pointer-events: none;
}

.form-step select {
	appearance: none;
	width: 100%;
	border: 1px solid #718773;
	border-radius: 3px;
	background: #152016;
	color: #fff;
	padding: 14px 40px 14px;
	font: inherit;
}

.form-step select:focus {
	border-color: var(--focus-outline);
	outline: none;
}

.field-error {
	font-size: 12px;
	color: #ffd4b1;
	min-height: 20px;
	margin: 7px 0 0;
}

.field-hint {
	font-size: 11px;
	color: #91a591;
	margin: 8px 0 0;
}

.form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 27px;
	gap: 8px;
	flex: none;
}

.form-back {
	border: none;
	background: none;
	color: #dce8da;
	padding: 9px 0;
	font-size: 12px;
}

.form-back:hover {
	text-decoration: underline;
}

.form-actions .button {
	box-sizing: border-box;
	flex: 0 0 130px;
	width: 130px;
	margin-left: auto;
}

.form-actions .button-light {
	--button-hover-background: var(--green);
	--button-hover-border: var(--green);
	--button-hover-foreground: var(--ink);
}

.form-review h3 {
	font-size: 28px;
	font-weight: 500;
}

.form-review dl {
	display: flex;
	flex-wrap: wrap;
	row-gap: 9px;
	column-gap: 16px;
	border-top: 1px solid #354536;
	border-bottom: 1px solid #354536;
	padding: 17px 0;
	margin: 20px 0;
}

.form-review dt {
	flex: 0 0 130px;
	font-size: 11px;
	color: #99ac99;
}

.form-review dd {
	flex: 0 0 calc(100% - 146px);
	font-size: 12px;
	color: #e5efe2;
	margin: 0;
	overflow-wrap: anywhere;
}

.form-review p {
	color: #becdbd;
	line-height: 1.7;
}

.form-review .text-link {
	color: var(--green);
	margin-top: 8px;
	cursor: pointer;
}

.form-review .text-link:hover {
	color: #e1f5c7;
}

.form-review .text-link:disabled {
	cursor: wait;
	opacity: .65;
}

.noscript-notice {
	margin: 18px 0 0;
	padding: 12px 14px;
	border: 1px solid #718773;
	border-radius: 3px;
	color: #e5efe2;
	font-size: 13px;
}

.bot-field {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	left: -10000px;
}

.review-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.submit-error {
	color: #ffd4b1 !important;
	font-size: 13px;
}

.form-result h3 {
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
}

.form-result p {
	color: #becdbd;
	line-height: 1.7;
}

.button:disabled {
	opacity: .65;
	cursor: wait;
}

.form-footnote {
	flex: 1 1 0;
	font-size: 11px;
	line-height: 16px;
	color: #91a591;
	margin: 0;
}

.form-footnote span,
.form-footnote a {
	display: block;
}

.form-footnote a {
	color: #d5e9c5;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.form-footnote a:hover {
	color: #fff;
}

.reveal {
	opacity: 1;
	transform: none;
}

.js .reveal {
	opacity: 0;
	transform: translateY(15px);
	transition: opacity .55s ease, transform .55s ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@keyframes fade-in {
	from {
		opacity: .4;
		transform: translateY(4px);
	}

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

@media(max-width:760px) {
	.contact-grid {
		flex-direction: column;
		align-items: stretch;
		gap: 38px;
	}

	.contact-section {
		padding: 80px 0;
	}

	.contact-card {
		height: 450px;
	}
}

@media(max-width:500px) {
	.contact-card {
		--form-label-font-size: 11px;
		padding: 21px;
	}

	.form-step legend {
		font-size: 25px;
	}
}