:root {
	--ink: #0f1720;
	--ink-soft: #334155;
	--paper: #edf2f6;
	--paper-2: #e2e9ef;
	--accent: #0f9f6e;
	--accent-deep: #0b7a55;
	--line: rgba(15, 23, 32, 0.12);
	--white: #f8fbfd;
	--shadow: 0 18px 40px rgba(15, 23, 32, 0.16);
	--radius: 4px;
	--font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--font-body: "Source Sans 3", "Segoe UI", sans-serif;
	--shell: 1120px;
	--gutter: 1.5rem;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background:
		radial-gradient(1100px 520px at 8% -8%, rgba(15, 159, 110, 0.12), transparent 55%),
		radial-gradient(900px 480px at 100% 0%, rgba(37, 99, 135, 0.1), transparent 52%),
		linear-gradient(180deg, #f4f7fa 0%, var(--paper) 45%, #dfe7ee 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

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

a {
	color: var(--accent-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--accent);
}

.shell {
	width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--ink);
	color: var(--white);
	padding: 0.75rem 1rem;
	z-index: 1000;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(10px);
	background: rgba(237, 242, 246, 0.94);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-height: 4.5rem;
}

.site-brand {
	flex: 0 0 auto;
}

.site-brand__text {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--ink);
	white-space: nowrap;
}

.site-brand__mark {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: var(--ink);
	color: var(--white);
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.04em;
	flex-shrink: 0;
}

.site-brand__name {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.primary-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.85rem;
	flex: 1 1 auto;
	min-width: 0;
}

.primary-nav__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.15rem 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.primary-nav__list a {
	color: var(--ink-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
}

.primary-nav__list a:hover,
.primary-nav__list .current-menu-item > a {
	color: var(--accent-deep);
}

.header-phone {
	white-space: nowrap;
	flex-shrink: 0;
	padding-inline: 0.9rem;
	min-height: 2.4rem;
	font-size: 0.88rem;
}

.nav-toggle {
	display: none;
	width: 2.6rem;
	height: 2.6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: transparent;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	display: block;
	width: 1.15rem;
	height: 2px;
	margin: 0 auto;
	background: var(--ink);
	content: "";
	position: relative;
}

.nav-toggle__bar::before {
	position: absolute;
	top: -6px;
}

.nav-toggle__bar::after {
	position: absolute;
	top: 6px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.85rem;
	padding: 0.65rem 1.25rem;
	border-radius: var(--radius);
	border: 1px solid transparent;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.98rem;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--accent);
	color: var(--white);
	border-color: var(--accent);
}

.btn--primary:hover {
	background: var(--accent-deep);
	color: var(--white);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: rgba(15, 23, 32, 0.28);
}

.btn--ghost:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.home-hero .btn--ghost,
.page-hero .btn--ghost {
	color: var(--white);
	border-color: rgba(248, 251, 253, 0.55);
}

.home-hero .btn--ghost:hover,
.page-hero .btn--ghost:hover {
	border-color: var(--white);
	color: var(--white);
	background: rgba(248, 251, 253, 0.08);
}

.home-hero,
.page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--white);
	min-height: min(100vh, 820px);
	display: flex;
	align-items: center;
}

.page-hero {
	min-height: 0;
	align-items: center;
}

.page-hero--compact {
	min-height: 0;
}

.page-hero .page-hero__content {
	padding: 2.75rem 0 2.5rem;
}

.page-hero .page-hero__copy {
	max-width: 44rem;
}

.page-hero h1 {
	font-size: clamp(2rem, 3.5vw, 3rem);
}

.home-hero__media,
.page-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(118deg, rgba(10, 16, 24, 0.9) 8%, rgba(10, 16, 24, 0.55) 52%, rgba(10, 16, 24, 0.82) 100%),
		radial-gradient(circle at 72% 42%, rgba(15, 159, 110, 0.28), transparent 42%),
		linear-gradient(145deg, #132033 0%, #1c3348 42%, #0f1b27 100%);
	transform: scale(1.03);
	animation: hero-drift 18s ease-in-out infinite alternate;
}

.home-hero__media::after,
.page-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(
			-18deg,
			transparent,
			transparent 10px,
			rgba(255, 255, 255, 0.015) 10px,
			rgba(255, 255, 255, 0.015) 11px
		);
}

.home-hero__content,
.page-hero__content {
	position: relative;
	z-index: 1;
	width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
	padding: 3.5rem 0;
	animation: rise-in 0.9s ease both;
}

.home-hero__content {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
	gap: 1.5rem 2rem;
	align-items: center;
}

.home-hero__copy,
.page-hero__copy {
	width: 100%;
	max-width: 36rem;
	min-width: 0;
}

.brand-lockup,
.eyebrow {
	margin: 0 0 0.85rem;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 2vw, 1.65rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9fe7c8;
}

.home-hero h1,
.page-hero h1 {
	margin: 0 0 0.85rem;
	font-family: var(--font-display);
	font-size: clamp(2.05rem, 3.4vw, 3.1rem);
	line-height: 1.02;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--white);
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
}

.lede {
	margin: 0 0 1.1rem;
	font-size: 1.02rem;
	max-width: 32rem;
	color: rgba(248, 251, 253, 0.9);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero-keywords {
	margin: 0 0 1rem;
}

.hero-keywords__label {
	margin: 0 0 0.45rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(248, 251, 253, 0.55);
}

.hero-keywords__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.28rem 0.9rem;
}

.hero-keywords__list a {
	color: rgba(248, 251, 253, 0.88);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	border-bottom: 1px solid transparent;
}

.hero-keywords__list a:hover {
	color: #9fe7c8;
	border-bottom-color: rgba(159, 231, 200, 0.55);
}

.hero-phone {
	margin: 0;
	color: rgba(248, 251, 253, 0.78);
	font-size: 0.98rem;
}

.hero-phone a {
	color: #9fe7c8;
	font-weight: 700;
	text-decoration: none;
}

.hero-phone a:hover {
	text-decoration: underline;
}

.contact-form-wrap--hero {
	background: rgba(248, 251, 253, 0.97);
	color: var(--ink);
	border: 1px solid rgba(248, 251, 253, 0.2);
	box-shadow: var(--shadow);
	padding: 1.15rem 1.2rem 1.25rem;
}

.contact-form-wrap--hero .form-title {
	margin: 0 0 0.25rem;
	font-family: var(--font-display);
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--ink);
}

.contact-form-wrap--hero .form-intro {
	margin: 0 0 0.85rem;
	color: var(--ink-soft);
	font-size: 0.9rem;
}

.contact-form-wrap--hero .form-row {
	margin-bottom: 0.65rem;
}

.contact-form-wrap--hero .form-row label {
	font-size: 0.85rem;
	margin-bottom: 0.25rem;
}

.contact-form-wrap--hero input,
.contact-form-wrap--hero textarea {
	padding: 0.6rem 0.75rem;
}

.contact-form-wrap--hero textarea {
	min-height: 4.5rem;
}

.contact-form-wrap--hero .btn {
	width: 100%;
}

.content-section,
.service-links,
.cta-band {
	padding: 3.25rem 0;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
	gap: 2rem;
	align-items: start;
}

.page-aside {
	display: grid;
	gap: 1rem;
}

.page-aside .highlight-panel a {
	color: #9fe7c8;
	text-decoration: none;
	font-weight: 600;
}

.page-aside .highlight-panel a:hover {
	text-decoration: underline;
}

.keyword-panel {
	background: rgba(248, 251, 253, 0.72);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.35rem 1.5rem;
}

.keyword-panel h2 {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: 1.35rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--ink);
}

.keyword-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.keyword-panel li {
	color: var(--ink-soft);
	font-weight: 600;
	font-size: 0.95rem;
	padding-left: 0.9rem;
	position: relative;
}

.keyword-panel li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--accent);
}

.prose {
	max-width: none;
}

.prose .wp-block-heading,
.prose h2 {
	margin: 1.75rem 0 0.7rem;
}

.prose p,
.prose ul {
	margin: 0 0 1rem;
}

.cta-band {
	padding: 2.75rem 0;
}

.prose > *:first-child {
	margin-top: 0;
}

.prose h2,
.prose h3,
.contact-copy h2,
.service-links h2,
.cta-band h2,
.highlight-panel h2 {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.05;
	margin-top: 0;
}

.prose h2,
.prose .wp-block-heading {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	color: var(--ink);
}

.prose p,
.prose li,
.prose .wp-block-list {
	color: var(--ink-soft);
}

.prose ul {
	padding-left: 1.15rem;
}

.highlight-panel {
	background: var(--ink);
	color: var(--white);
	padding: 1.75rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.highlight-panel h2 {
	color: #9fe7c8;
	font-size: 1.7rem;
}

.checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	position: relative;
	padding: 0.7rem 0 0.7rem 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.checklist li:last-child {
	border-bottom: 0;
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.1rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--accent);
}

.section-intro {
	margin-top: -0.4rem;
	margin-bottom: 1.5rem;
	max-width: 42ch;
	color: var(--ink-soft);
}

.service-links__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
}

.service-links__list a {
	display: flex;
	align-items: center;
	min-height: 5.5rem;
	padding: 1.1rem 1.25rem;
	background: rgba(248, 251, 253, 0.8);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	line-height: 1.1;
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service-links__list a:hover {
	border-color: var(--accent);
	background: var(--white);
	transform: translateY(-2px);
}

.contact-form-wrap {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.35rem 1.4rem 1.5rem;
	box-shadow: var(--shadow);
}

.contact-form {
	position: relative;
}

.contact-form .form-row {
	margin-bottom: 1rem;
}

.contact-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid rgba(15, 23, 32, 0.2);
	border-radius: var(--radius);
	padding: 0.75rem 0.85rem;
	font: inherit;
	background: #fff;
	color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid rgba(15, 159, 110, 0.35);
	border-color: var(--accent);
}

.form-row--half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.form-notice {
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	border-radius: var(--radius);
	font-weight: 600;
}

.form-notice--success {
	background: #d9f5ea;
	color: #0b5c3f;
}

.form-notice--error {
	background: #fde2e2;
	color: #8a1f1f;
}

.cta-band {
	background: var(--ink);
	color: var(--white);
}

.cta-band__inner {
	display: grid;
	gap: 0.85rem;
	justify-items: start;
	max-width: 40rem;
}

.cta-band p {
	margin: 0;
	color: rgba(248, 251, 253, 0.84);
}

.site-footer {
	background: #0b121a;
	color: rgba(248, 251, 253, 0.78);
	padding: 3rem 0 1.5rem;
}

.site-footer a {
	color: #9fe7c8;
	text-decoration: none;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.site-footer__title {
	margin: 0 0 0.4rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	text-transform: uppercase;
	color: var(--white);
}

.site-footer__tagline,
.site-footer__contact p {
	margin: 0 0 0.45rem;
}

.footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.site-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1rem;
	font-size: 0.9rem;
}

@keyframes hero-drift {
	from {
		transform: scale(1.03) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.07) translate3d(-1.2%, -0.8%, 0);
	}
}

@keyframes rise-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1100px) {
	.primary-nav__list {
		gap: 0.15rem 0.65rem;
	}

	.primary-nav__list a {
		font-size: 0.84rem;
	}

	.header-phone {
		display: none;
	}
}

@media (max-width: 980px) {
	.home-hero__content {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.home-hero {
		min-height: 0;
		align-items: stretch;
	}

	.home-hero__content {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.home-hero__copy {
		max-width: none;
	}
}

@media (max-width: 900px) {
	.split,
	.site-footer__grid,
	.service-links__list {
		grid-template-columns: 1fr;
	}

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

	.primary-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		padding: 1rem var(--gutter) 1.25rem;
		background: rgba(237, 242, 246, 0.98);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
	}

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

	.primary-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.65rem;
	}

	.header-phone {
		display: inline-flex;
		width: fit-content;
	}

	.home-hero,
	.page-hero {
		min-height: 72vh;
	}
}

@media (max-width: 640px) {
	:root {
		--gutter: 1rem;
	}

	.form-row--half {
		grid-template-columns: 1fr;
	}

	.content-section,
	.service-links,
	.cta-band {
		padding: 2.5rem 0;
	}

	.page-hero .page-hero__content {
		padding: 2.25rem 0;
	}

	.hero-keywords__list {
		grid-template-columns: 1fr;
	}

	.site-brand__name {
		font-size: 1.05rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
