/* Dandelion — values taken from the Figma frames (1440 wide desktop). */

@font-face {
	font-family: "IBM Plex Sans";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Sans";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Sans";
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2");
}

:root {
	--green: #162c2b;
	--ink: #1d1d1d;
	--muted: #a5a5a5;
	--periwinkle: #c0d2ff;
	--chevron: #40595e;
	--rule: #162c2b;
	--hover: #40595e;
	--error: #b3261e;
	--gutter: clamp(16px, 2.2vw, 32px);
	--inset: clamp(0px, 1.95vw, 28px);
	--font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--font);
	font-size: 18px;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
}

.container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 8px 16px;
	background: var(--green);
	color: var(--periwinkle);
}
.skip-link:focus {
	top: 16px;
}

/* ---------- Header ---------- */

.site-header {
	padding-top: 28px;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
}
.site-header__logo {
	display: block;
	line-height: 0;
}
.site-header__logo img {
	width: 168px;
	height: auto;
}

.btn-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 36px;
	padding: 0 24px;
	background: var(--green);
	color: var(--periwinkle);
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s;
}
.btn-contact:hover {
	background: var(--hover);
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
}
.btn-contact:focus-visible,
.btn-submit:focus-visible {
	outline-color: var(--periwinkle);
	outline-offset: -5px;
}

.site-main {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
}
.site-main > section {
	flex: 1 0 auto;
}

/* ---------- Shared headings ---------- */

.hero__title,
.contact__title,
.thanks__title {
	margin: 0;
	color: var(--green);
	font-size: clamp(32px, 3.34vw, 48px);
	font-weight: 400;
	line-height: 1.1;
	text-transform: uppercase;
}

/* ---------- Landing ---------- */

.hero {
	padding-top: clamp(48px, 7.4vw, 107px);
	padding-bottom: 19px;
}
.hero__text {
	display: grid;
	grid-template-columns: minmax(0, 781fr) minmax(0, 539fr);
	column-gap: 0;
	padding-inline: var(--inset);
}
.hero__title {
	max-width: 605px;
}
.hero__copy {
	color: var(--green);
	font-size: 18px;
	line-height: 1.3;
}
.hero__copy p {
	margin: 0 0 12px;
}
.hero__copy p:last-child {
	margin-bottom: 0;
}
.hero__eyebrow {
	margin-bottom: 16px !important;
	font-size: 15px;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}
.hero__photo {
	width: 100%;
	margin-top: clamp(32px, 4.03vw, 58px);
}

/* ---------- Contact ---------- */

.contact {
	padding-top: clamp(32px, 4.45vw, 64px);
	padding-bottom: 56px;
}
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 786fr) minmax(0, 534fr);
	column-gap: 0;
	padding-inline: calc(var(--gutter) + var(--inset));
}
.contact__title {
	max-width: 588px;
}
@media (max-width: 1279px) {
	.contact__lead br {
		display: none;
	}
}
.contact__lead {
	max-width: 532px;
	margin: 20px 0 0;
	font-size: 20px;
	line-height: 1.3;
}
.contact__photo {
	display: none;
	width: 100%;
}

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

.inquiry {
	min-width: 0;
}
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.field {
	position: relative;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--rule);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.field:focus-within {
	border-bottom-color: var(--green);
	box-shadow: 0 1px 0 var(--green);
}
.field.is-invalid .field__label,
.field.is-invalid .select__trigger {
	color: var(--error);
}
.field.is-invalid {
	border-bottom-color: var(--error);
	box-shadow: 0 1px 0 var(--error);
}

.field__input,
.select__trigger {
	display: block;
	width: 100%;
	height: 57px;
	margin: 0;
	padding: 16px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 20px;
	line-height: 26px;
	outline: none;
	appearance: none;
}
.field__input--area {
	height: 91px;
	resize: none;
}

.field__label {
	position: absolute;
	top: 16px;
	left: 0;
	right: 0;
	color: var(--muted);
	font-size: 20px;
	line-height: 26px;
	pointer-events: none;
}
.field__label em {
	font-size: 0.8em;
}
.field__input--area + .field__label {
	top: 18px;
}
.field:hover .field__input:placeholder-shown:not(:focus) + .field__label,
.select__trigger:hover {
	color: var(--ink);
}
/* Filled or focused: the label shrinks to 12px above the value. */
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
	top: 0;
	font-size: 12px;
	line-height: 15.6px;
}
.field__input--area {
	padding-top: 18px;
}

/* Native select (no-JS fallback); replaced by the custom listbox once JS runs. */
.field__select {
	display: block;
	width: 100%;
	height: 57px;
	padding: 16px 28px 16px 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 20px;
	outline: none;
}
.field__select[hidden] {
	display: none;
}
.field__select:invalid {
	color: var(--muted);
}

.select__trigger {
	position: relative;
	padding-right: 32px;
	color: var(--muted);
	text-align: left;
	cursor: pointer;
}
.select__trigger.has-value {
	color: var(--ink);
}
.select__label {
	position: absolute;
	top: 0;
	left: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 15.6px;
	opacity: 0;
	pointer-events: none;
}
.field--select.has-value .select__label {
	opacity: 1;
}
.select__chevron {
	position: absolute;
	top: 21px;
	right: 0;
	color: var(--chevron);
	transition: transform 0.15s;
	pointer-events: none;
}
.select__trigger[aria-expanded="true"] + .select__chevron {
	transform: rotate(180deg);
}

.select__list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 10;
	margin: 1px 0 0;
	padding: 13px 0 5px;
	border-bottom: 1px solid var(--green);
	background: #fff;
	list-style: none;
}
.select__list[hidden] {
	display: none;
}
.select__option {
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 20px;
	line-height: 26px;
	cursor: pointer;
}
.select__option:hover,
.select__option.is-active,
.select__option[aria-selected="true"] {
	color: var(--ink);
}

.form-status {
	margin: 16px 0 0;
	color: var(--error);
	font-size: 16px;
	line-height: 22px;
}

.form-status:empty {
	height: 0;
	margin: 0;
}

.btn-submit {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	height: 62px;
	margin-top: 16px;
	padding: 0 32px;
	border: 0;
	background: var(--green);
	color: var(--periwinkle);
	font: inherit;
	font-size: 20px;
	line-height: 26px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s;
}
.btn-submit:hover {
	background: var(--hover);
}
.btn-submit:active {
	background: var(--green);
}
.btn-submit[disabled] {
	opacity: 0.6;
	cursor: progress;
}

/* ---------- Thank you ---------- */

.thanks {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding-top: 67px;
}
.thanks__inner {
	padding-inline: calc(var(--gutter) + var(--inset));
}
.thanks__title {
	max-width: 537px;
}
.thanks__text {
	margin: 17px 0 0;
	font-size: 20px;
	line-height: 26px;
}
.thanks__link {
	display: inline-block;
	margin-top: 70px;
	padding-bottom: 7px;
	border-bottom: 1px solid var(--ink);
	font-size: 20px;
	line-height: 26px;
	text-decoration: none;
	transition: color 0.15s, border-color 0.15s;
}
.thanks__link:hover {
	color: var(--hover);
	border-color: var(--hover);
}
.thanks__photo {
	margin-top: auto;
	padding-top: 48px;
	padding-bottom: 69px;
}
.thanks__photo-crop {
	overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
	margin-top: auto;
	padding: 32px 0 27px;
	background: var(--ink);
	color: var(--periwinkle);
}
.site-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	min-height: 65px;
}
.site-footer__mark {
	flex: none;
	width: 67px;
	height: auto;
}
.site-footer__tagline {
	max-width: 832px;
	margin: 10px 0 0;
	font-size: clamp(24px, 2.78vw, 40px);
	line-height: 1.1;
	text-align: right;
	text-transform: uppercase;
}
.site-footer__rule {
	height: 0;
	margin: 32px 0 21px;
	border: 0;
	border-top: 1px solid var(--periwinkle);
}
.site-footer__copy {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-align: right;
}

/* ---------- Responsive ---------- */

@media (max-width: 899px) {
	.hero__text {
		grid-template-columns: 1fr;
		row-gap: 22px;
	}
	.contact__grid {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}
	.contact__photo {
		display: block;
	}
	.contact__lead br {
		display: none;
	}
}

/* Mobile frames are 402 wide in Figma. */
@media (max-width: 899px) {
	.site-header {
		padding-top: 16px;
	}
	.site-header__inner {
		min-height: 40px;
	}
	.site-header__logo img {
		width: 123px;
	}
	.btn-contact {
		height: 40px;
	}

	.hero {
		padding-top: 44px;
		padding-bottom: 33px;
	}
	.hero__text {
		padding-inline: 0;
	}
	.hero__title,
	.contact__title,
	.thanks__title {
		max-width: 309px;
		font-size: 32px;
		line-height: 1.3;
	}
	.hero__eyebrow {
		margin-bottom: 16px !important;
		font-size: 14px;
		line-height: 22.5px;
	}
	.hero__copy {
		max-width: 342px;
		font-size: 16px;
		line-height: 20.8px;
	}
	.hero__copy p {
		margin-bottom: 10px;
	}
	.hero__photo {
		margin-top: 32px;
		overflow: hidden;
	}
	/* Same mosaic, shown at 166.9% width and cropped from the right, as in the mobile frame. */
	.hero__photo img {
		width: 166.9%;
		max-width: none;
		margin-left: -66.9%;
	}

	.contact {
		padding-top: 44px;
		padding-bottom: 33px;
	}
	.contact__grid {
		padding-inline: var(--gutter);
	}
	.contact__lead {
		max-width: 342px;
		margin-top: 16px;
		font-size: 16px;
		line-height: 20.8px;
	}
	.btn-submit {
		justify-content: center;
		width: 100%;
	}

	.thanks {
		padding-top: 44px;
	}
	.thanks__inner {
		padding-inline: var(--gutter);
	}
	.thanks__text {
		max-width: 342px;
		margin-top: 16px;
		font-size: 16px;
		line-height: 20.8px;
	}
	.thanks__link {
		margin-top: 64px;
	}
	.thanks__photo {
		padding-bottom: 32px;
	}
	.thanks__photo img {
		width: 166.8%;
		max-width: none;
		margin-left: -66.8%;
	}

	.site-footer {
		padding: 32px 0 22px;
	}
	.site-footer__top {
		min-height: 53px;
	}
	.site-footer__mark {
		width: 50px;
		margin-top: 2px;
	}
	.site-footer__tagline {
		margin-top: 0;
		font-size: 24px;
		line-height: 26.4px;
	}
	.site-footer__rule {
		margin: 31px 0 21px;
	}
	.site-footer__copy {
		text-align: center;
	}
}

@media (max-width: 479px) {
	.site-header__logo {
		width: 35%;
	}
	.site-header__logo img {
		width: 100%;
		max-width: 168px;
	}
}
