/* Get It Clean homepage. Tokens, base, then sections in page order. */

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

:root {
	/* Brand: the site's existing Elementor/Astra global colours */
	--navy: #102545;
	--yellow: #feed17;
	--blue: #247ffb;
	--ink: #001133; /* hero headline + header */
	--blue-strong: #0060d7; /* hero accent blue */

	/* Neutrals */
	--paper: #f6f5f1;
	--stone: #eae8e1;
	--field: #fdfdfb;
	--text: #2f3d55;
	--muted: #5b6679;
	--rule: rgb(16 37 69 / 0.16);
	--rule-inverse: rgb(245 244 239 / 0.22);

	/* Type */
	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--fs-label: 0.75rem;
	--fs-small: 0.9375rem;
	--fs-body: 1.0625rem;
	--fs-lede: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
	--fs-h3: clamp(1.375rem, 1.15rem + 0.9vw, 2rem);
	--fs-h2: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
	--fs-display: clamp(3rem, 0.9rem + 8.6vw, 9rem);

	/* Space */
	--gutter: clamp(1.25rem, 5vw, 5rem);
	--gap: clamp(1rem, 2vw, 1.5rem);
	--section: clamp(3.25rem, 2.25rem + 3vw, 5.25rem);
	--max: 100rem;
	--header-h: 6.25rem;
	--logo-h: 5.8rem;
	--logo-drop: 0.8rem; /* logo hangs below the header rule */

	/* Curves */
	--radius-xs: 5px;
	--radius-sm: 9px;
	--radius-md: 14px;
	--radius-lg: 18px;
	--radius-xl: clamp(1.25rem, 2.5vw, 2rem);

	/* Motion */
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base ------------------------------------------------------------------ */

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 400 var(--fs-body) / 1.55 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
	margin: 0;
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
}

[id] {
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: var(--gap);
}

@media (min-width: 48rem) {
	.grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
}

.section {
	padding-block: var(--section);
}

.skip {
	position: absolute;
	top: -10rem;
	left: 1rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--yellow);
	color: var(--navy);
	font-weight: 600;
	border-radius: var(--radius-xs);
}

.skip:focus {
	top: 1rem;
}

/* Type ------------------------------------------------------------------ */

.eyebrow {
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--navy);
}

.h2 {
	color: var(--navy);
	font-size: var(--fs-h2);
	font-stretch: 82%;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 0.98;
	text-wrap: balance;
}

.display {
	color: var(--navy);
	font-size: var(--fs-display);
	font-stretch: 72%;
	font-weight: 760;
	letter-spacing: -0.012em;
	line-height: 0.86;
	text-transform: uppercase;
}

.lede {
	max-width: 36rem;
	margin-top: 1.5rem;
	font-size: var(--fs-lede);
	line-height: 1.5;
}

.link {
	color: var(--navy);
	font-weight: 600;
	text-decoration: underline;
}

.link:hover {
	text-decoration-thickness: 2px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3.25rem;
	padding: 0 1.75rem;
	border: 0;
	border-radius: var(--radius-sm);
	font: 600 1rem / 1 var(--font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

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

.btn--primary {
	background: var(--yellow);
	color: var(--navy);
	box-shadow: inset 0 -2px 0 rgb(16 37 69 / 0.18), 0 2px 8px rgb(16 37 69 / 0.08);
}

.btn--primary:hover {
	background: var(--navy);
	color: var(--yellow);
	box-shadow: 0 4px 14px rgb(16 37 69 / 0.18);
}

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

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
}

.header__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--header-h);
}

.header__logo {
	position: relative;
	z-index: 1;
	flex: none;
	align-self: flex-end;
	margin: 0 auto calc(var(--logo-drop) * -1) -1.1rem;
	padding-inline: 1.1rem;
	background: var(--paper); /* masks the header rule behind the logo */
	transform-origin: 1.1rem 100%;
}

/* Once the page scrolls, the hanging logo would sit over other sections: tuck it inside the bar. */
.is-stuck .header__logo {
	translate: 0 calc(-1 * var(--logo-drop) - (var(--header-h) - 0.86 * var(--logo-h)) / 2);
	scale: 0.86;
	background-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
	.header__logo {
		transition: translate 0.3s var(--ease), scale 0.3s var(--ease), background-color 0.3s;
	}
}

.header__logo-img {
	width: auto;
	height: var(--logo-h);
}

.header__cta {
	gap: 0.5rem;
	min-height: 3.7rem;
	padding-inline: 1.6rem;
	font-size: 1.125rem;
}

.btn__arrow {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.menu,
.menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu a,
.submenu-toggle {
	color: var(--ink);
	font: 550 1.125rem / 1.2 var(--font);
	text-decoration: none;
}

.menu a:hover {
	text-decoration: underline;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.submenu-toggle::after {
	content: "";
	width: 0.42em;
	height: 0.42em;
	border-right: 2px solid;
	border-bottom: 2px solid;
	transform: translateY(-0.15em) rotate(45deg);
	transition: transform 0.2s;
}

.submenu-toggle[aria-expanded="true"]::after {
	transform: translateY(0.1em) rotate(-135deg);
}

.nav__phone {
	display: none;
}

.menu-toggle {
	display: none;
}

@media (min-width: 64rem) {
	.nav {
		margin-right: 3.7rem;
	}

	.menu {
		display: flex;
		align-items: center;
		gap: 3.3rem;
	}

	.menu > li {
		display: flex;
		align-items: center;
		min-height: var(--header-h);
	}

	/* Full-width services panel under the header */
	.menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: var(--gap);
		padding: 1.5rem max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter)) 2.5rem;
		background: var(--paper);
		border-bottom: 1px solid var(--rule);
		box-shadow: 0 1.5rem 3rem -2rem rgb(16 37 69 / 0.25);
	}

	.submenu-toggle[aria-expanded="true"] + .sub-menu {
		display: grid;
	}

	.menu .sub-menu a {
		display: block;
		padding: 0.875rem 0;
		border-bottom: 1px solid var(--rule);
	}
}

@media (min-width: 64rem) and (hover: hover) {
	.menu .has-sub:hover > .sub-menu {
		display: grid;
	}
}

/* Mobile / tablet menu panel */
@media (max-width: 63.99rem) {
	:root {
		--header-h: 4.5rem;
		--logo-h: 3.6rem;
		--logo-drop: 0.45rem;
	}

	.header__cta {
		min-height: 2.75rem;
		padding-inline: 1rem;
		font-size: 0.9375rem;
	}

	.header__cta .btn__arrow {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		min-height: 2.75rem;
		padding: 0 0.875rem;
		border: 1px solid var(--navy);
		border-radius: var(--radius-sm);
		background: none;
		color: var(--navy);
		font: 600 0.8125rem / 1 var(--font);
		letter-spacing: 0.08em;
		text-transform: uppercase;
		cursor: pointer;
	}

	.nav {
		position: fixed;
		inset: var(--nav-top, 6.75rem) 0 0;
		display: none;
		overflow-y: auto;
		padding: 1rem var(--gutter) 3rem;
		background: var(--paper);
		overscroll-behavior: contain;
	}

	.nav-open .nav {
		display: block;
	}

	.nav-open {
		overflow: hidden;
	}

	.menu > li > a,
	.submenu-toggle {
		display: flex;
		justify-content: space-between;
		width: 100%;
		padding: 1.125rem 0;
		border-bottom: 1px solid var(--rule);
		font-size: 1.625rem;
		font-stretch: 85%;
		font-weight: 600;
	}

	.menu .sub-menu {
		display: none;
		padding: 0.5rem 0 1rem;
	}

	.submenu-toggle[aria-expanded="true"] + .sub-menu {
		display: block;
	}

	.menu .sub-menu a {
		display: block;
		padding: 0.625rem 0;
		font-size: 1.0625rem;
	}

	.nav__phone {
		display: block;
		margin-top: 2rem;
		color: var(--navy);
		font-size: 1.75rem;
		font-stretch: 85%;
		font-weight: 700;
		text-decoration: none;
	}
}

@media (max-width: 21rem) {
	.header__cta {
		display: none; /* very narrow phones: the menu panel and hero carry the CTA */
	}
}

/* Hero ------------------------------------------------------------------ */

.hero {
	padding-top: 0.5rem;
}

.hero__grid {
	display: grid;
	gap: 2.5rem;
}

.hero__text {
	container-type: inline-size; /* headline sizes follow the column */
	padding-top: 2.25rem; /* clears the logo that hangs below the header */
}

.hero__kicker {
	display: block;
	margin-bottom: 1rem;
	color: var(--ink);
	font-size: clamp(0.625rem, 2.3cqi, 0.8125rem);
	font-weight: 700;
	letter-spacing: 0.13em;
}

.hero__title {
	color: var(--ink);
}

.hero__line {
	display: block;
	font-size: min(23.8cqi, 9rem); /* "Spaces." fills the column */
	font-stretch: 75%;
	font-weight: 900;
	letter-spacing: -0.015em;
	line-height: 0.78;
	text-transform: uppercase;
}

.hero__line--blue {
	color: var(--blue-strong);
	font-size: min(21.35cqi, 8rem); /* one size down so "Brighter" keeps the measure */
}

.hero__swash {
	display: inline-block;
	width: 1.53em;
	height: 0.42em;
	margin-left: 0.08em;
	color: var(--yellow);
	vertical-align: 0.21em;
}

.hero__lede {
	max-width: min(22.75em, 100% - 1rem); /* four lines, as laid out */
	margin-top: 1.2rem;
	color: var(--text);
	font-size: clamp(1.0625rem, 3.94cqi, 1.375rem);
	line-height: 1.275;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem clamp(1rem, 6cqi, 2.1rem);
	margin-top: 0.85rem;
}

/* Button and call link scale with the column so they share one row on laptops too. */
.btn--lg {
	min-height: clamp(3.25rem, 10.7cqi, 3.7rem);
	padding-inline: clamp(1.1rem, 5cqi, 1.75rem);
	font-size: clamp(1rem, 3.44cqi, 1.1875rem);
}

.hero__call {
	display: inline-flex;
	align-items: center;
	gap: 0.95rem;
	color: var(--ink);
	font-size: clamp(1rem, 3.55cqi, 1.22rem);
	font-weight: 600;
	text-decoration: none;
}

.hero__call-icon {
	display: grid;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 50%;
	background: #f4f8ff;
	color: var(--blue-strong);
	box-shadow: 0 2px 10px rgb(0 96 215 / 0.08);
}

.hero__call-icon svg {
	width: 1.35rem;
	height: 1.35rem;
}

.hero__call-text {
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.2em;
}

.hero__call:hover .hero__call-text {
	text-decoration-thickness: 2.5px;
}

.hero__media {
	position: relative;
	container-type: inline-size;
}

/* The render's backdrop is the page paper; feather its edges so there is no seam. */
.hero__media img {
	width: 100%;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 2%, #000 90%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent, #000 7%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 2%, #000 90%, transparent);
	mask-composite: intersect;
}

.hero__aside {
	max-width: 17rem;
	margin-bottom: 1.5rem;
	color: #38485d;
	font-size: max(0.875rem, 2cqi);
	line-height: 1.33;
}

.hero__br {
	display: none;
}

.hero__aside::before {
	content: "";
	display: block;
	width: 1.8rem;
	height: 2px;
	margin-bottom: 1.6rem;
	background: var(--ink);
}

@media (min-width: 64rem) {
	.hero__grid {
		grid-template-columns: minmax(0, 552fr) minmax(0, 878fr);
		align-items: end;
		gap: 0;
	}

	.hero__text {
		padding-bottom: 1.45vw;
	}

	.hero__aside {
		position: absolute;
		top: 33%;
		left: -1.7%;
		z-index: 1;
		width: 19.15%;
		max-width: none;
		margin: 0;
	}

	.hero__br {
		display: inline;
	}
}

/* Small laptops: the lede fills its column, so the caption steps off it. */
@media (min-width: 64rem) and (max-width: 79.99rem) {
	.hero__aside {
		left: 1.5%;
		width: 18%;
	}
}

/* Trust strip */
.hero__strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule);
}

.hero__strip > li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 1.25rem 1rem 1.25rem 0;
	border-bottom: 1px solid var(--rule);
	color: var(--ink);
	font-size: 0.98rem;
	font-weight: 450;
	line-height: 1.32;
}

.hero__icon {
	width: auto;
	height: 2.1rem; /* width follows each icon's viewBox */
	stroke-width: 1.35;
}

.hero__serving {
	grid-column: 1 / -1;
	flex-direction: row !important;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.hero__serving p {
	display: grid;
	gap: 0.3rem;
}

.hero__serving-k {
	color: #39465f;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.hero__serving strong {
	font-size: 0.97rem;
	font-weight: 650;
	line-height: 1.3;
}

.hero__map {
	flex: none;
	width: 3.6rem;
	height: 3.6rem;
	color: var(--ink);
}

@media (min-width: 64rem) {
	.hero__strip {
		display: flex;
		margin-top: 0.1rem;
	}

	/* Dividers stop short of the top rule, as in the layout. */
	.hero__strip > li {
		margin: 1.35rem 0 0.6rem;
		padding: 0 clamp(1rem, 2.2vw, 2.2rem) 0 clamp(1.25rem, 3.53vw, 3.5rem);
		border-bottom: 0;
	}

	.hero__strip > li:first-child {
		padding: 0 clamp(1.25rem, 3.28vw, 3.25rem) 0 0.5rem;
	}

	.hero__strip > li:nth-child(2) {
		padding-right: clamp(1.25rem, 3.09vw, 3.05rem);
	}

	.hero__strip > li:nth-child(4) {
		flex: 1;
	}

	.hero__strip > li + li {
		border-left: 1px solid var(--rule);
	}

	.hero__serving {
		margin-left: auto !important;
		padding-right: 0 !important;
		padding-left: clamp(1.25rem, 2.9vw, 2.9rem) !important;
		gap: clamp(1.25rem, 3.5vw, 3.5rem);
	}
}

/* Services -------------------------------------------------------------- */

.services__intro,
.services__index {
	grid-column: 1 / -1;
}

.services__intro .eyebrow {
	margin-bottom: 1.25rem;
}

.services__index {
	margin-top: 2.25rem;
}

.services__preview {
	display: none;
}

@media (min-width: 64rem) {
	.services__intro {
		grid-column: 1 / span 5;
	}

	.services__index {
		grid-column: 7 / -1;
		margin-top: 0;
	}

	.services__preview {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
		display: block;
		margin-top: 1.75rem;
		border-radius: var(--radius-md);
		overflow: hidden;
	}

	.services__preview img {
		width: 100%;
		aspect-ratio: 1;
		object-fit: cover;
		background: var(--stone);
		border-radius: var(--radius-md);
	}

	.services__preview figcaption {
		margin-top: 0.875rem;
		color: var(--muted);
		font-size: var(--fs-label);
		font-weight: 600;
		letter-spacing: 0.12em;
		text-transform: uppercase;
	}
}

.svc-group + .svc-group {
	margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

.svc-group__note {
	max-width: 36rem;
	margin: 0.75rem 0 1.75rem;
	color: var(--muted);
	font-size: var(--fs-small);
}

.svc-group__title {
	color: var(--navy);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.svc-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--navy);
}

.svc {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	align-items: baseline;
	padding: 1rem 0.6rem;
	border-bottom: 1px solid var(--rule);
	border-radius: var(--radius-xs);
	color: var(--navy);
	text-decoration: none;
	transition: background-color 0.2s;
}

.svc:hover {
	background-color: rgb(16 37 69 / 0.04);
}

.svc__n {
	color: var(--muted);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	transition: color 0.2s;
}

.svc__name {
	font-size: var(--fs-h3);
	font-stretch: 88%;
	font-weight: 550;
	letter-spacing: -0.01em;
	line-height: 1.15;
	transition: transform 0.35s var(--ease);
}

.svc:hover .svc__n,
.svc:focus-visible .svc__n {
	color: var(--navy);
}

.svc:hover .svc__name,
.svc:focus-visible .svc__name {
	transform: translateX(0.5rem);
}

@media (min-width: 48rem) {
	.svc {
		grid-template-columns: 4rem minmax(0, 1fr);
		padding: 1.25rem 0;
	}
}

/* Our goal -------------------------------------------------------------- */

.goal {
	padding-block: var(--section);
	background: var(--yellow);
	color: var(--navy);
}

.goal__text,
.goal__media {
	grid-column: 1 / -1;
}

.goal .display {
	margin: 1rem 0 1.25rem;
}

.goal__body {
	max-width: 32rem;
	font-size: var(--fs-lede);
	line-height: 1.5;
}

.goal__media {
	margin-top: 2rem;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-lg);
}

@media (min-width: 48rem) {
	.goal__text {
		grid-column: 1 / span 7;
		align-self: center;
	}

	.goal__media {
		grid-column: 9 / -1;
		margin-top: 0;
	}
}

/* Industries + areas ---------------------------------------------------- */

.reach__who,
.reach__where {
	grid-column: 1 / -1;
}

.reach__where {
	margin-top: 2.75rem;
}

@media (min-width: 64rem) {
	.reach__who {
		grid-column: 1 / span 7;
	}

	.reach__where {
		grid-column: 9 / -1;
		margin-top: 0;
	}
}

.industries,
.areas {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--navy);
}

.industries li {
	padding: 1rem 0;
	border-bottom: 1px solid var(--rule);
	color: var(--navy);
	font-size: var(--fs-h3);
	font-stretch: 88%;
	font-weight: 500;
	line-height: 1.15;
}

@media (min-width: 40rem) {
	.industries {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--gap);
	}
}

.reach__where .eyebrow {
	margin-top: 1.5rem;
}

.areas {
	margin-top: 1rem;
}

.areas li {
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--rule);
	color: var(--navy);
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	font-stretch: 72%;
	font-weight: 720;
	line-height: 1;
	text-transform: uppercase;
	text-wrap: balance;
}

.reach__note {
	margin-top: 1.25rem;
	color: var(--muted);
}

/* Why ------------------------------------------------------------------- */

.why {
	background: var(--navy);
	color: var(--paper);
}

.why .h2 {
	color: var(--paper);
}

.why__title-wrap,
.why__grid {
	grid-column: 1 / -1;
}

.why__title-wrap {
	margin-bottom: 2.25rem;
}

.why__title {
	margin-bottom: 0;
}

.why__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule-inverse);
}

.why__grid li {
	padding: 1.25rem 0 1.5rem;
	border-bottom: 1px solid var(--rule-inverse);
}

.why__k {
	color: var(--paper);
	font-size: var(--fs-small);
	font-weight: 600;
}

.why__k span {
	margin-right: 0.75rem;
	color: var(--yellow);
	font-variant-numeric: tabular-nums;
}

.why__fig {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.1em;
	margin: 1rem 0 0.5rem;
	color: var(--yellow);
	font-size: clamp(3.5rem, 2rem + 5vw, 7rem);
	font-stretch: 72%;
	font-weight: 760;
	letter-spacing: -0.01em;
	line-height: 0.9;
}

.why__fig small {
	color: var(--paper);
	font-size: 0.26em;
	font-stretch: 100%;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.why__grid p:last-child {
	max-width: 28rem;
	color: rgb(245 244 239 / 0.82);
}

@media (min-width: 48rem) {
	.why__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.why__grid li:nth-child(odd) {
		padding-right: 2rem;
		border-right: 1px solid var(--rule-inverse);
	}

	.why__grid li:nth-child(even) {
		padding-left: 2rem;
	}
}

@media (min-width: 64rem) {
	.why__grid li:nth-child(odd) {
		padding-right: 3rem;
	}

	.why__grid li:nth-child(even) {
		padding-left: 3rem;
	}
}

/* Blog ------------------------------------------------------------------ */

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--rule);
}

.section-head .h2 {
	font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
	line-height: 1.15;
	margin: 0;
}

.journal__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1.15rem;
	background: #ffffff;
	border: 1px solid var(--rule);
	border-radius: 999px;
	color: var(--navy);
	font-size: var(--fs-small);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgb(16 37 69 / 0.04);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.journal__cta:hover {
	background: var(--navy);
	color: var(--yellow);
	border-color: var(--navy);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgb(16 37 69 / 0.12);
}

.journal__cta .arrow {
	transition: transform 0.2s;
}

.journal__cta:hover .arrow {
	transform: translateX(3px);
}

.journal__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	min-width: 0;
}

@media (min-width: 64rem) {
	.journal__grid {
		grid-template-columns: 1.18fr 1fr;
		gap: clamp(1.5rem, 2.5vw, 2.25rem);
		align-items: stretch;
	}
}

/* Feature card (Left) */
.feature {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	padding: clamp(1.15rem, 3vw, 1.75rem);
	box-shadow: 0 4px 20px -4px rgb(16 37 69 / 0.05);
	min-width: 0;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.feature:hover {
	border-color: rgb(36 127 251 / 0.4);
	box-shadow: 0 12px 32px -8px rgb(16 37 69 / 0.1);
	transform: translateY(-2px);
}

.feature__media {
	margin: 0 0 1.25rem;
	aspect-ratio: 16 / 9.5;
	overflow: hidden;
	background: var(--stone);
	border-radius: var(--radius-md);
}

.feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--ease);
}

.feature:hover .feature__media img {
	transform: scale(1.025);
}

.feature__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-bottom: 0.75rem;
}

.badge--cat {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.65rem;
	background: rgb(36 127 251 / 0.1);
	color: var(--blue-strong);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.meta-date {
	color: var(--muted);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.feature__title {
	margin: 0;
	color: var(--navy);
	font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
	font-stretch: 88%;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	overflow-wrap: break-word;
	transition: color 0.2s;
}

.feature:hover .feature__title {
	color: var(--blue-strong);
}

.feature__excerpt {
	margin: 0.75rem 0 1.25rem;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.feature__cta-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--navy);
	font-size: var(--fs-small);
	font-weight: 700;
}

.feature__cta-link .arrow {
	transition: transform 0.2s;
}

.feature:hover .feature__cta-link .arrow {
	transform: translateX(4px);
}

/* Post cards stack (Right) */
.posts {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

@media (min-width: 44rem) and (max-width: 63.99rem) {
	.posts {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
		gap: 1rem;
	}
}

@media (min-width: 64rem) {
	.posts {
		height: 100%;
	}
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
	background: #ffffff;
	border: 1px solid var(--rule);
	border-radius: var(--radius-md);
	padding: clamp(1.1rem, 2.5vw, 1.4rem) clamp(1.15rem, 3vw, 1.5rem);
	box-shadow: 0 4px 16px -4px rgb(16 37 69 / 0.04);
	min-width: 0;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.post-card:hover {
	border-color: rgb(36 127 251 / 0.4);
	box-shadow: 0 10px 24px -6px rgb(16 37 69 / 0.09);
	transform: translateY(-2px);
}

.posts__title {
	margin: 0.4rem 0 0.75rem;
	color: var(--navy);
	font-size: clamp(1rem, 0.92rem + 0.35vw, 1.25rem);
	font-stretch: 90%;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: break-word;
	transition: color 0.2s;
}

.post-card:hover .posts__title {
	color: var(--blue-strong);
}

.post-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--navy);
	font-size: var(--fs-label);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.post-card__cta .arrow {
	transition: transform 0.2s;
}

.post-card:hover .post-card__cta .arrow {
	transform: translateX(4px);
}

/* Whole article is the click target; the title link carries the name */
.feature__title a,
.posts__title a {
	text-decoration: none;
	color: inherit;
}

.feature__title a::after,
.posts__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

/* Quote + form ---------------------------------------------------------- */

.quote {
	background: var(--stone);
}

.quote__intro,
.quote__card,
.quote__form {
	grid-column: 1 / -1;
}

.quote .display {
	margin: 1rem 0 0;
	font-size: clamp(2.5rem, 12vw, 7rem);
}

.contact {
	margin: 1.5rem 0 0;
	border-top: 1px solid var(--rule);
}

.contact div {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: 1rem;
	align-items: baseline;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--rule);
}

.contact dt {
	color: var(--muted);
	font-size: var(--fs-label);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact dd {
	margin: 0;
	color: var(--navy);
	font-size: 1.125rem;
	font-weight: 600;
}

.quote__form {
	margin-top: 0;
}

.next-steps {
	margin: 2.25rem 0 2rem;
}

.next-steps__title {
	margin-bottom: 0.9rem;
	color: var(--muted);
}

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

.steps li {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	padding: 1rem 0;
	border-top: 1px solid var(--rule);
}

.steps li:last-child {
	border-bottom: 1px solid var(--rule);
}

.steps__n {
	padding-top: 0.2rem;
	color: var(--blue-strong);
	font-size: var(--fs-label);
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.steps strong {
	color: var(--navy);
	font-size: 1.0625rem;
	font-weight: 650;
}

.steps p {
	margin-top: 0.2rem;
	color: var(--muted);
	font-size: var(--fs-small);
	line-height: 1.45;
}

/* Blur contrast glassmorphism card - light frosted tone */
.quote__card {
	position: relative;
	margin-top: 2.25rem;
	background: rgb(226 238 253 / 0.82);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: clamp(1.5rem, 3.5vw, 2.75rem);
	border-radius: var(--radius-xl);
	border: 1.5px solid rgb(255 255 255 / 0.9);
	box-shadow:
		0 20px 48px -12px rgb(16 37 69 / 0.14),
		0 4px 14px -2px rgb(16 37 69 / 0.08),
		inset 0 1px 0 rgb(255 255 255 / 0.95);
	min-width: 0;
}

.form__card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1.75rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgb(16 37 69 / 0.12);
}

.form__card-title {
	margin: 0;
	color: var(--navy);
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
	font-weight: 700;
	font-stretch: 85%;
	letter-spacing: -0.01em;
}

.form__card-head .form__note {
	margin: 0;
	color: var(--muted);
}

.quote__card .field > label,
.quote__card .field legend {
	color: var(--navy);
	font-weight: 600;
}

.quote__card .field > input,
.quote__card .field > select,
.quote__card .field > textarea {
	background: rgb(255 255 255 / 0.8);
	border: 1px solid rgb(16 37 69 / 0.2);
	color: var(--navy);
	border-radius: var(--radius-sm);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.quote__card .field > input::placeholder,
.quote__card .field > textarea::placeholder {
	color: rgb(91 102 121 / 0.7);
}

.quote__card .field > select {
	appearance: none;
	padding-right: 2.75rem;
	background: rgb(255 255 255 / 0.8)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23102545' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E")
		no-repeat right 1.15rem center;
}

.quote__card .field > select optgroup {
	background: #e2edfa;
	color: var(--navy);
	font-weight: 700;
	font-size: 0.875rem;
	padding: 0.5rem 0.75rem;
}

.quote__card .field > select option {
	background: #ffffff;
	color: var(--navy);
	font-size: 1rem;
	padding: 0.4rem 0.75rem;
}

.quote__card .field > :focus {
	background: #ffffff;
	border-color: var(--navy);
	outline: 2px solid var(--blue);
	outline-offset: 1px;
	box-shadow: 0 0 0 3px rgb(36 127 251 / 0.2);
}

.quote__card .btn--dark {
	background: var(--navy);
	color: var(--yellow);
	font-weight: 700;
	box-shadow: 0 4px 14px rgb(16 37 69 / 0.18);
	border-radius: var(--radius-sm);
	transition: background-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.quote__card .btn--dark:hover {
	background: var(--yellow);
	color: var(--navy);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgb(16 37 69 / 0.22);
}

@media (max-width: 39.99rem) {
	.quote__card {
		padding: 1.25rem 1rem;
		border-radius: var(--radius-lg);
	}

	.quote__card .btn--dark {
		width: 100%;
		justify-self: stretch;
	}

	.form__card-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
}

@media (min-width: 64rem) {
	.quote .display {
		font-size: min(5.6vw, 5.25rem);
	}

	/* Contact details sit at the bottom, level with the form card. */
	.quote__intro {
		grid-column: 1 / span 5;
		display: flex;
		flex-direction: column;
	}

	.quote__intro .contact {
		margin-top: auto;
	}

	.quote__card {
		grid-column: 6 / -1;
		margin-top: 0;
		align-self: stretch; /* bottoms line up with the intro column */
	}
}

/* Quote form */
.form {
	display: grid;
	gap: 1.5rem;
}

.form__note {
	color: var(--muted);
	font-size: var(--fs-small);
}

.form__row {
	display: grid;
	gap: 1.5rem var(--gap);
}

@media (min-width: 40rem) {
	.form__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.field {
	display: grid;
	gap: 0.5rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.field > label,
.field legend {
	padding: 0;
	color: var(--navy);
	font-size: var(--fs-small);
	font-weight: 600;
	line-height: 1.3;
}

.field legend {
	margin-bottom: 0.875rem;
}

.field > input,
.field > select,
.field > textarea {
	width: 100%;
	min-height: 3.25rem;
	padding: 0 1rem;
	border: 1px solid rgb(16 37 69 / 0.3);
	border-radius: var(--radius-sm);
	background: var(--field);
	color: var(--navy);
	font: 400 1rem / 1.4 var(--font);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field > textarea {
	min-height: 8.5rem;
	padding-block: 0.875rem;
	resize: vertical;
	border-radius: var(--radius-sm);
}

.field > select {
	appearance: none;
	padding-right: 2.75rem;
	background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23102545' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center;
}

.field > select optgroup {
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	color: var(--navy);
	background: var(--stone);
	padding: 0.5rem 0.75rem;
}

.field > select option {
	font-weight: 400;
	font-size: 1rem;
	color: var(--navy);
	background: var(--field);
	padding: 0.4rem 0.75rem;
}

.field > :focus {
	border-color: var(--navy);
	outline: 2px solid var(--blue);
	outline-offset: 1px;
	border-radius: var(--radius-sm);
}

.field > :user-invalid {
	border-color: #b3261e;
}

.checks {
	display: grid;
	gap: 0.625rem var(--gap);
}

@media (min-width: 40rem) {
	.checks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.checks label {
	display: flex;
	gap: 0.625rem;
	align-items: flex-start;
	min-height: 1.5rem;
	padding: 0.35rem 0.5rem;
	border-radius: var(--radius-xs);
	color: var(--text);
	font-size: var(--fs-small);
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.15s;
}

.checks label:hover {
	background: rgb(16 37 69 / 0.04);
}

.checks input {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.15rem 0 0;
	accent-color: var(--navy);
	border-radius: var(--radius-xs);
}

.btn--dark {
	justify-self: start;
	min-height: 3.5rem;
	padding-inline: 2.25rem;
	background: var(--navy);
	color: var(--yellow);
}

.btn--dark:hover {
	background: var(--yellow);
	color: var(--navy);
}

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

.footer {
	padding: clamp(3rem, 5vw, 4.75rem) 0 2rem;
	background: var(--navy);
	color: var(--paper);
	font-size: var(--fs-small);
	line-height: 1.7;
}

.footer a {
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}

.footer .eyebrow {
	margin-bottom: 0.875rem;
	color: rgb(245 244 239 / 0.62);
}

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

.footer address {
	font-style: normal;
}

.footer__top {
	row-gap: 2rem;
}

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

.footer__logo-img {
	width: auto;
	height: 4rem;
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
}

.footer__col {
	grid-column: 1 / -1;
}

@media (min-width: 48rem) {
	.footer__col {
		grid-column: span 6;
	}
}

@media (min-width: 64rem) {
	.footer__brand {
		grid-column: 1 / span 4;
	}

	.footer__col {
		grid-column: span 2;
	}
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-top: 2.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule-inverse);
	color: rgb(245 244 239 / 0.75);
}

.footer__bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
}

/* Motion: small, fast, and only when the visitor allows it. ------------- */

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	/* Transform only, so the text is painted (and counted for LCP) from the first frame. */
	.hero__line {
		animation: rise 0.9s var(--ease) both;
	}

	.hero__line + .hero__line {
		animation-delay: 0.08s;
	}

	.hero__media img {
		animation: settle 1.6s var(--ease) both;
	}

	/* Scroll-linked reveal where supported; elsewhere content simply shows. */
	@supports (animation-timeline: view()) {
		[data-reveal],
		.section .h2,
		.why__grid li {
			animation: fade-up linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 35%;
		}

		.goal__media img {
			animation: drift linear both;
			animation-timeline: view();
			animation-range: cover;
		}
	}
}

@keyframes rise {
	from {
		transform: translateY(0.3em);
	}
}

@keyframes fade-up {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
}

@keyframes settle {
	from {
		transform: scale(1.06);
	}
}

@keyframes drift {
	from {
		transform: translateY(-3%) scale(1.08);
	}

	to {
		transform: translateY(3%) scale(1.08);
	}
}

/* Doodles & Cleaning Accents -------------------------------------------- */

.doodle {
	display: inline-block;
	vertical-align: middle;
	pointer-events: none;
	overflow: visible;
}

/* Animations */
@keyframes doodle-float {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-6px) rotate(2.5deg);
	}
}

@keyframes doodle-pulse-twinkle {
	0%, 100% {
		transform: scale(1) rotate(0deg);
		opacity: 0.9;
	}
	50% {
		transform: scale(1.15) rotate(6deg);
		opacity: 1;
	}
}

@keyframes doodle-sway {
	0%, 100% {
		transform: rotate(-2deg);
	}
	50% {
		transform: rotate(3deg);
	}
}

@keyframes doodle-shimmer {
	0%, 100% {
		opacity: 0.7;
		transform: scale(0.95);
	}
	50% {
		opacity: 1;
		transform: scale(1.06);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.doodle-float {
		animation: doodle-float 4s ease-in-out infinite;
	}

	.doodle-twinkle {
		animation: doodle-pulse-twinkle 3s ease-in-out infinite;
	}

	.doodle-sway {
		animation: doodle-sway 3.5s ease-in-out infinite;
		transform-origin: bottom center;
	}

	.doodle-shimmer {
		animation: doodle-shimmer 2.5s ease-in-out infinite;
	}
}

/* Services section doodles */
.services__intro-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.services__intro-head .eyebrow {
	margin-bottom: 0;
}

.services__doodle-spray {
	width: 2.75rem;
	height: 2.75rem;
	color: var(--blue);
	flex-shrink: 0;
}

.services__doodle-swirl {
	display: block;
	width: clamp(9rem, 22vw, 14rem);
	height: auto;
	margin-top: 0.5rem;
	margin-bottom: 0.25rem;
	color: var(--blue);
	opacity: 0.85;
}

/* Goal section doodles */
.goal__text {
	position: relative;
}

.goal__doodle-stardust {
	position: absolute;
	top: 0;
	right: 1.5rem;
	width: clamp(3rem, 6vw, 4.5rem);
	height: auto;
	color: var(--navy);
	opacity: 0.85;
}

.goal__doodle-bubbles {
	display: block;
	width: clamp(3.5rem, 6vw, 4.5rem);
	height: auto;
	color: var(--navy);
	margin-top: 1.25rem;
	opacity: 0.8;
}

/* Reach section doodles */
.reach__title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.reach__doodle-sparkle {
	width: 1.4rem;
	height: 1.4rem;
	color: var(--blue);
	flex-shrink: 0;
}

/* Why section doodles */
.why__title-wrap {
	grid-column: 1 / -1;
	margin-bottom: 1.75rem;
}

.why__doodle-sparkle {
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--yellow);
	margin-bottom: 0.75rem;
}

.why__fig-wrap {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	max-width: 32rem;
}

.why__doodle-accent {
	width: 2rem;
	height: 2rem;
	color: var(--yellow);
	opacity: 0.85;
	flex-shrink: 0;
}

/* Blog section doodles */
.section-head__title-wrap {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.blog__doodle-sparkle {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--blue);
	flex-shrink: 0;
}

/* Quote section doodles */
.quote__intro {
	position: relative;
}

.quote__doodle-burst {
	position: absolute;
	top: 0;
	right: 1.5rem;
	width: clamp(3.25rem, 6vw, 4.5rem);
	height: auto;
	color: var(--blue);
	opacity: 0.85;
}

@media print {
	.header,
	.services__preview {
		display: none;
	}

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