.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	height: var(--header-height);
	border-bottom: 1px solid rgba(9, 31, 34, 0.14);
	background: rgba(245, 246, 242, 0.96);
	backdrop-filter: blur(14px);
}

.site-header__inner {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: space-between;
}

.brand-logo {
	display: inline-flex;
	width: 260px;
	max-width: 38%;
	align-items: center;
}

.brand-logo__image {
	width: 100%;
	height: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav__list {
	display: flex;
	gap: 28px;
	align-items: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-nav__list a {
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	text-decoration: underline;
	text-decoration-color: var(--yellow-strong);
	text-decoration-thickness: 3px;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: transparent;
}

.nav-toggle__lines {
	display: grid;
	gap: 6px;
	justify-items: center;
}

.nav-toggle__lines span {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--ink);
	transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:first-child {
	transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

.button {
	display: inline-flex;
	min-height: 52px;
	padding: 13px 22px;
	border: 1px solid var(--yellow);
	border-radius: 4px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--yellow);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
	border-color: var(--yellow-strong);
	background: var(--yellow-strong);
	transform: translateY(-1px);
}

.button--small {
	min-height: 42px;
	padding: 10px 15px;
	font-size: 13px;
}

.button--dark {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.button--dark:hover {
	border-color: var(--ink-soft);
	background: var(--ink-soft);
}

.button--outline {
	border-color: var(--ink);
	background: transparent;
	color: var(--ink);
}

.button--ghost-light {
	border-color: rgba(255, 255, 255, 0.55);
	background: transparent;
	color: var(--white);
}

.button--ghost-light:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--ink);
}

.button--quiet {
	border-color: var(--line);
	background: transparent;
}

.button[disabled] {
	cursor: wait;
	opacity: 0.68;
	transform: none;
}

.button__loader {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: ginxloop-spin 700ms linear infinite;
}

.is-loading .button__loader {
	display: inline-block;
}

@keyframes ginxloop-spin {
	to {
		transform: rotate(360deg);
	}
}

.text-link {
	font-size: 15px;
	font-weight: 800;
	text-decoration-thickness: 2px;
}

.text-link--light {
	color: var(--yellow);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.breadcrumbs {
	padding-block: 15px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
	font-family: var(--font-mono);
	font-size: 11px;
	text-transform: uppercase;
}

.breadcrumbs li + li::before {
	margin-right: 8px;
	color: var(--grey);
	content: "/";
}

.page-hero {
	padding-block: 94px 100px;
}

.page-hero--dark {
	background: var(--ink);
	color: var(--white);
}

.page-hero--yellow {
	background: var(--yellow);
}

.page-hero--blue {
	background: var(--blue);
}

.page-hero--compact {
	padding-block: 76px;
}

.page-hero__inner {
	max-width: 920px;
	margin-left: max(24px, calc((100vw - min(calc(100vw - 48px), var(--shell))) / 2));
}

.page-hero h1 {
	max-width: 900px;
	margin-bottom: 24px;
}

.page-hero__summary {
	max-width: 760px;
	margin-bottom: 0;
	font-size: 20px;
}

.service-grid,
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.service-card {
	display: flex;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	color: var(--ink);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
	border-color: var(--ocean);
	box-shadow: var(--shadow);
	transform: translateY(-4px);
}

.service-card:focus-within {
	outline: 3px solid var(--yellow);
	outline-offset: 3px;
}

.service-card__image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--teal);
}

.service-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.service-card:hover .service-card__image img {
	transform: scale(1.025);
}

.service-card__body {
	display: flex;
	padding: 24px;
	flex: 1;
	flex-direction: column;
}

.service-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 26px;
}

.service-card__index,
.service-card__eyebrow,
.post-card__meta {
	font-family: var(--font-mono);
	font-size: 11px;
	text-transform: uppercase;
}

.service-card__index {
	color: var(--teal);
	font-weight: 700;
	white-space: nowrap;
}

.service-card__eyebrow {
	color: var(--grey);
	text-align: right;
}

.service-card h2 {
	margin-bottom: 14px;
	font-size: 28px;
}

.service-card h2 a {
	text-decoration: none;
}

.service-card p {
	margin-bottom: 24px;
	color: var(--grey);
}

.service-card .text-link {
	margin-top: auto;
}

.post-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
}

.post-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 24px;
}

.post-card h2 {
	margin-bottom: 14px;
	font-size: 27px;
}

.post-card h2 a {
	text-decoration: none;
}

.post-card__meta {
	color: var(--grey);
}

.empty-state {
	padding: 36px;
	border-left: 5px solid var(--yellow-strong);
	background: var(--white);
}

.final-cta {
	background: var(--coral);
	color: var(--white);
}

.final-cta__inner {
	display: flex;
	gap: 40px;
	align-items: end;
	justify-content: space-between;
}

.final-cta h2 {
	max-width: 800px;
	margin-bottom: 0;
}

.site-footer {
	padding-top: 72px;
	background: var(--ink);
	color: var(--white);
}

.site-footer__main {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: 52px;
	padding-bottom: 58px;
}

.site-footer .brand-logo {
	width: 250px;
	max-width: 100%;
	padding: 8px;
	border-radius: 4px;
	background: var(--paper);
}

.site-footer__brand p {
	max-width: 420px;
	margin-top: 22px;
	color: #c6d1d1;
}

.site-footer__heading {
	margin-bottom: 18px;
	color: var(--yellow);
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
}

.footer-links {
	display: grid;
	gap: 9px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-links a {
	color: var(--white);
}

.site-footer__legal {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	padding-block: 22px;
	border-top: 1px solid var(--line-dark);
	color: #c6d1d1;
	font-size: 13px;
}

.site-footer__legal p {
	margin: 0;
}

.site-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.field {
	display: grid;
	gap: 7px;
}

.field--full {
	grid-column: 1 / -1;
}

.field label {
	font-size: 13px;
	font-weight: 800;
}

.field input,
.field select,
.field textarea,
.newsletter-form input {
	width: 100%;
	border: 1px solid #9ca9a8;
	border-radius: 4px;
	background: var(--white);
	color: var(--ink);
}

.field input,
.field select {
	min-height: 50px;
	padding: 11px 13px;
}

.field textarea {
	min-height: 132px;
	padding: 12px 13px;
	resize: vertical;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
	border-color: var(--error);
	box-shadow: 0 0 0 2px rgba(161, 44, 36, 0.12);
}

.field-error {
	margin: 0;
	color: var(--error);
	font-size: 12px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.service-fieldset {
	min-width: 0;
	padding: 0;
	border: 0;
}

.service-fieldset legend {
	padding: 0;
	font-size: 13px;
	font-weight: 800;
}

.service-fieldset__hint {
	margin: -2px 0 4px;
	color: var(--grey);
	font-size: 12px;
}

.service-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.service-option {
	position: relative;
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 9px 13px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
}

.service-option:hover {
	border-color: var(--ocean);
}

.service-option input {
	position: absolute;
	opacity: 0;
}

.service-option:has(input:checked) {
	border-color: var(--ocean);
	background: #e7f2f4;
	box-shadow: inset 0 0 0 1px var(--ocean);
}

.service-option:has(input:focus-visible) {
	outline: 3px solid rgba(13, 111, 119, 0.35);
	outline-offset: 2px;
}

.service-fieldset.has-error .service-options {
	padding: 8px;
	border: 1px solid var(--error);
	border-radius: 4px;
}

.choice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 18px;
	font-size: 13px;
	line-height: 1.45;
}

.choice input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex: 0 0 auto;
	accent-color: var(--ink);
}

.lead-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	margin-top: 24px;
}

.form-message {
	min-height: 24px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 700;
}

.form-message--error {
	color: var(--error);
}

.form-message--success {
	color: var(--success);
}

.form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lead-dialog {
	width: min(820px, calc(100% - 32px));
	max-height: calc(100dvh - 32px);
	padding: 30px;
	border: 0;
	border-radius: var(--radius);
	overflow-y: auto;
	box-shadow: var(--shadow);
}

.lead-dialog::backdrop {
	background: rgba(2, 17, 19, 0.78);
	backdrop-filter: blur(4px);
}

.lead-dialog__header {
	display: flex;
	gap: 24px;
	align-items: start;
	justify-content: space-between;
}

.lead-dialog__header h2 {
	max-width: 650px;
	margin-bottom: 8px;
	font-size: 34px;
}

.lead-dialog__intro {
	margin-bottom: 24px;
	color: var(--grey);
}

.icon-button {
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 4px;
	flex: 0 0 auto;
	place-items: center;
	background: var(--white);
	color: var(--ink);
	font-size: 26px;
	line-height: 1;
}

.consent-banner {
	position: fixed;
	z-index: 500;
	right: 20px;
	bottom: 20px;
	width: min(480px, calc(100% - 40px));
	padding: 20px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	background: var(--white);
}

.consent-banner p {
	margin-bottom: 14px;
	font-size: 14px;
}

.consent-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 1040px) {
	.site-nav {
		gap: 18px;
	}

	.site-nav__list {
		gap: 18px;
	}

	.site-nav__cta {
		display: none;
	}

	.service-grid,
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__main {
		grid-template-columns: 1.4fr repeat(2, 1fr);
	}

	.site-footer__main > div:last-child {
		grid-column: 2;
	}
}

@media (max-width: 760px) {
	.site-header {
		backdrop-filter: none;
	}

	.brand-logo {
		width: 210px;
		max-width: calc(100% - 64px);
	}

	.nav-toggle {
		display: grid;
		place-items: center;
	}

	.site-nav {
		position: fixed;
		z-index: 99;
		inset: var(--header-height) 0 0;
		display: none;
		padding: 28px 24px;
		align-items: stretch;
		flex-direction: column;
		background: var(--paper);
		overflow-y: auto;
	}

	.admin-bar .site-nav {
		top: calc(var(--header-height) + 46px);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav__list {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list a {
		display: block;
		padding: 15px 0;
		border-bottom: 1px solid var(--line);
		font-size: 21px;
	}

	.site-nav__cta {
		display: inline-flex;
		margin-top: 12px;
	}

	.page-hero {
		padding-block: 68px;
	}

	.page-hero__inner {
		margin-left: auto;
	}

	.page-hero__summary {
		font-size: 18px;
	}

	.final-cta__inner {
		align-items: start;
		flex-direction: column;
	}

	.site-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 28px;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}

	.site-footer__main > div:last-child {
		grid-column: auto;
	}
}

@media (min-width: 761px) and (max-width: 782px) {
	.admin-bar .site-nav {
		top: calc(var(--header-height) + 46px);
	}
}

@media (max-width: 560px) {
	.service-grid,
	.post-grid,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: 0;
	}

	.service-card__body {
		padding: 20px;
	}

	.service-card__top {
		align-items: flex-start;
		margin-bottom: 22px;
	}

	.site-footer__main {
		grid-template-columns: 1fr;
	}

	.site-footer__brand,
	.site-footer__main > div:last-child {
		grid-column: auto;
	}

	.site-footer__legal {
		align-items: flex-start;
		flex-direction: column;
	}

	.lead-dialog {
		max-height: calc(100dvh - 16px);
		padding: 20px;
	}

	.lead-dialog__header h2 {
		font-size: 28px;
	}

	.lead-form__actions .button,
	.lead-form__actions .text-link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.service-card,
	.service-card__image img {
		transition: none;
	}

	.service-card:hover,
	.service-card:hover .service-card__image img {
		transform: none;
	}
}
