/* ==========================================================================
   Meridian Surveyors
   Brand matches meridianproperty.co.uk: lime #CCD307 on near-black,
   Montserrat for text, "Eight One" for the wordmark-style display lines.
   ========================================================================== */

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-var.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Eight One";
	src: url("../fonts/eight-one.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
	--lime: #cbd100; /* Meridian lime, matched to the logo */
	--lime-hi: #d8dc40;
	--lime-deep: #6b6e00; /* darker green that passes contrast on white, for small text */
	--ink: #111214;
	--ink-2: #191b1e;
	--ink-3: #24272b;
	--slate: #49494a;
	--muted: #63666b;
	--line: #e3e5dd;
	--mist: #f4f5f0;
	--white: #fff;

	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Eight One", "Montserrat", sans-serif;

	--wrap: 1280px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(64px, 9vw, 128px);
	--radius: 18px;
	--radius-sm: 12px;
	--header-h: 96px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 1px 2px rgba(17, 18, 20, .06), 0 12px 32px -12px rgba(17, 18, 20, .18);
}

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

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--lime);
	color: var(--ink);
	font-weight: 700;
	border-radius: 8px;
	transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(780px + var(--gutter) * 2); }
.wrap--mid { max-width: calc(1000px + var(--gutter) * 2); }

.icon { width: 1.1em; height: 1.1em; flex: none; }

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

.display { font-family: var(--display); font-weight: 400; letter-spacing: 0; text-transform: lowercase; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--slate);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--lime); }
.eyebrow--light,
.bg--ink .eyebrow { color: var(--lime); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-title { font-size: clamp(28px, 3.4vw, 46px); }

.split-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 48px;
	margin-bottom: clamp(28px, 4vw, 48px);
}
.split-head .section-head { margin-bottom: 0; }
.split-head__text { max-width: 440px; color: var(--muted); margin: 0; }
.bg--ink .split-head__text { color: rgba(255, 255, 255, .72); }

/* ---------- Buttons ---------- */

.btn {
	--btn-bg: var(--lime);
	--btn-fg: var(--ink);
	--btn-bd: var(--lime);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 24px;
	border: 2px solid var(--btn-bd);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--primary:hover { --btn-bg: var(--lime-hi); --btn-bd: var(--lime-hi); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.bg--ink .btn--outline,
.btn--light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .5); }
.bg--ink .btn--outline:hover,
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn--link {
	--btn-bg: transparent; --btn-bd: transparent;
	padding-inline: 0;
	min-height: 0;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--lime);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 12.5px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 32px; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--white);
	transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header::before {
	/* soft shade so white text reads over any video frame */
	content: "";
	position: absolute;
	inset: 0 0 -40px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
	pointer-events: none;
	transition: opacity .35s;
}
.site-header.is-scrolled,
.has-light-top .site-header {
	background: rgba(17, 18, 20, .94);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	backdrop-filter: saturate(140%) blur(12px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.site-header.is-scrolled::before { opacity: 0; }

.site-header__inner {
	max-width: none;
	padding-inline: clamp(16px, 2.6vw, 44px);
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
	transition: height .35s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: 76px; }

.site-header__logo { flex: none; display: block; }
.site-header__logo img { width: auto; height: 64px; transition: height .35s var(--ease); }
.site-header.is-scrolled .site-header__logo img { height: 50px; }

.site-header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.site-header__phone .icon { width: 18px; height: 18px; color: var(--lime); }
.site-header__phone:hover span { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }

.site-header__burger {
	display: inline-grid;
	place-items: center;
	width: 48px; height: 48px;
	border: 1.5px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background-color .25s, border-color .25s, color .25s;
}
.site-header__burger:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- Desktop nav ---------- */

.nav { display: none; }

.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
	position: relative;
	display: block;
	padding: 10px 12px;
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.nav__item--has-sub .nav__link { padding-right: 2px; }
.nav__link::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 4px;
	height: 2px;
	background: var(--lime);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.nav__item:hover > .nav__link::after,
.nav__item.is-current > .nav__link::after,
.nav__link:focus-visible::after { transform: scaleX(1); }
.nav__item--has-sub .nav__link::after { right: 2px; }

.nav__toggle {
	display: grid;
	place-items: center;
	width: 26px; height: 32px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__item.is-open .nav__toggle .icon,
.nav__item--has-sub:hover .nav__toggle .icon { transform: rotate(180deg); }

.nav__panel {
	position: absolute;
	top: calc(100% + 14px);
	left: -12px;
	min-width: 300px;
	padding: 12px;
	border-radius: var(--radius-sm);
	background: var(--ink-2);
	border-top: 3px solid var(--lime);
	box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .55);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__panel::before { /* hover bridge between link and panel */
	content: "";
	position: absolute;
	left: 0; right: 0; top: -20px;
	height: 20px;
}
.nav__item--has-sub:hover .nav__panel,
.nav__item.is-open .nav__panel {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.nav__sub { margin: 0; padding: 0; list-style: none; }
.nav__sublink {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 14px;
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 500;
	text-decoration: none;
	color: rgba(255, 255, 255, .86);
	transition: background-color .2s, color .2s;
}
.nav__sublink .icon { width: 16px; height: 16px; color: var(--lime); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.nav__sublink .icon--external { opacity: .6; transform: none; }
.nav__sublink:hover,
.nav__sublink:focus-visible,
.nav__sublink.is-current { background: rgba(255, 255, 255, .06); color: var(--white); }
.nav__sublink:hover .icon,
.nav__sublink:focus-visible .icon { opacity: 1; transform: none; }
.nav__note { margin: 8px 14px 4px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .55); }

@media (min-width: 1280px) {
	.nav { display: block; margin-left: auto; }
	.site-header__actions { margin-left: 8px; }
	.site-header__burger { display: none; }
}
/* Laptop widths: the full menu + button only fit with the phone shown as an icon. */
@media (min-width: 1280px) and (max-width: 1599px) {
	.site-header__phone span { display: none; }
	.site-header__phone {
		display: grid; place-items: center;
		width: 44px; height: 44px;
		border: 1.5px solid rgba(255, 255, 255, .45);
		border-radius: 50%;
	}
	.site-header__phone:hover { background: var(--lime); border-color: var(--lime); }
	.site-header__phone:hover .icon { color: var(--ink); }
}
/* Below 1440px the full menu needs the room: Contact is in the menu, so drop the button. */
@media (min-width: 1280px) and (max-width: 1439px) {
	.site-header__cta { display: none; }
}
@media (min-width: 1280px) and (max-width: 1359px) {
	.site-header__inner { gap: 16px; }
	.nav__link { padding-inline: 8px; font-size: 14px; }
}
@media (max-width: 640px) {
	.site-header__cta,
	.site-header__phone span { display: none; }
	.site-header__phone {
		display: grid; place-items: center;
		width: 48px; height: 48px;
		border: 1.5px solid rgba(255, 255, 255, .45);
		border-radius: 50%;
	}
	.site-header__logo img { height: 46px; }
	.site-header.is-scrolled .site-header__logo img { height: 40px; }
	:root { --header-h: 76px; }
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 150;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	background: var(--ink);
	color: var(--white);
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; max-width: none; padding-inline: clamp(16px, 2.6vw, 44px); }
.mobile-menu__logo { height: 46px; width: auto; }
.mobile-menu__close {
	display: grid; place-items: center;
	width: 48px; height: 48px;
	border: 1.5px solid rgba(255, 255, 255, .45);
	border-radius: 50%;
	background: none;
	cursor: pointer;
}
.mnav { flex: 1; padding-top: 8px; padding-bottom: 24px; }
.mnav__list { margin: 0; padding: 0; list-style: none; }
.mnav__item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mnav__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 0;
	border: 0;
	background: none;
	font-size: clamp(20px, 5.4vw, 26px);
	font-weight: 600;
	letter-spacing: -.01em;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.mnav__link .icon { width: 22px; height: 22px; color: var(--lime); transition: transform .25s var(--ease); }
.mnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mnav__sub { margin: -4px 0 0; padding: 0 0 16px; list-style: none; }
.mnav__sub a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 0 9px 16px;
	border-left: 2px solid rgba(255, 255, 255, .12);
	font-size: 16.5px;
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
}
.mnav__sub a:hover { color: var(--white); border-left-color: var(--lime); }
.mnav__sub .icon { width: 15px; height: 15px; opacity: .6; }
.mobile-menu__foot { display: grid; gap: 12px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.mobile-menu__foot .btn { width: 100%; }

/* ==========================================================================
   Home hero
   ========================================================================== */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: max(640px, 100svh);
	padding-top: calc(var(--header-h) + 24px);
	padding-bottom: clamp(24px, 4vw, 48px);
	color: var(--white);
	background: var(--ink);
	overflow: hidden;
	isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom, rgba(10, 11, 12, .3) 0%, rgba(10, 11, 12, .08) 35%, rgba(10, 11, 12, .55) 78%, rgba(10, 11, 12, .85) 100%),
		radial-gradient(ellipse at 50% 40%, rgba(10, 11, 12, 0) 0%, rgba(10, 11, 12, .25) 100%);
}
.hero__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-block: 40px;
	text-align: center;
}
.hero__label { margin-bottom: 14px; color: var(--white); }
.hero__label::before { display: none; }
.hero__title {
	font-size: clamp(46px, 9.5vw, 128px);
	line-height: .95;
	color: var(--lime);
	text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero__text {
	max-width: 640px;
	margin-top: 18px;
	font-size: clamp(16px, 1.6vw, 19px);
	font-weight: 500;
	color: rgba(255, 255, 255, .92);
}

.hero__boxes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.route {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 168px;
	padding: 26px 76px 26px 26px;
	border: 1px solid rgba(255, 255, 255, .32);
	border-radius: var(--radius);
	background: rgba(17, 18, 20, .35);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	text-decoration: none;
	transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.route__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); transition: color .3s; }
.route__title { font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.route__text { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); transition: color .3s; }
.route__go {
	position: absolute;
	right: 22px; bottom: 22px;
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	transition: transform .3s var(--ease), background-color .3s;
}
.route__go .icon { width: 20px; height: 20px; }
.route:hover,
.route:focus-visible {
	background: var(--lime);
	border-color: var(--lime);
	color: var(--ink);
	transform: translateY(-4px);
}
.route:hover .route__eyebrow,
.route:hover .route__text,
.route:focus-visible .route__eyebrow,
.route:focus-visible .route__text { color: var(--ink); }
.route:hover .route__go,
.route:focus-visible .route__go { background: var(--ink); color: var(--lime); transform: rotate(-45deg); }
.route--external:hover .route__go { transform: none; }

@media (max-width: 900px) {
	.hero__boxes { grid-template-columns: 1fr; gap: 10px; }
	.route { min-height: 0; padding: 18px 72px 18px 20px; }
	.route__text { display: none; }
	.route__go { top: 50%; bottom: auto; right: 16px; margin-top: -22px; }
	.route:hover .route__go { transform: none; }
}

/* ==========================================================================
   Page title banner
   ========================================================================== */

.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 88px);
	background: var(--ink);
	color: var(--white);
	overflow: hidden;
	isolation: isolate;
}
.page-hero::after { /* brand arc, echoes the globe in the logo */
	content: "";
	position: absolute;
	z-index: -1;
	right: -12vw; top: -30%;
	width: 52vw; height: 52vw;
	max-width: 760px; max-height: 760px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(203, 209, 0, .16) 0%, rgba(203, 209, 0, 0) 62%);
	pointer-events: none;
}
.page-hero--image::after { display: none; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 11, 12, .78) 0%, rgba(10, 11, 12, .5) 45%, rgba(10, 11, 12, .12) 100%); }
.page-hero--image .page-hero__title,
.page-hero--image .page-hero__text { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.page-hero__inner { position: relative; }
.page-hero__title { max-width: 900px; font-size: clamp(34px, 5.2vw, 68px); letter-spacing: -.03em; }
.page-hero__text { max-width: 680px; margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, .82); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--lime); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: var(--section); }
.bg--white { background: var(--white); }
.bg--mist { background: var(--mist); }
.bg--ink { background: var(--ink); color: var(--white); }
/* two light sections in a row share the gap instead of doubling it */
.bg--white + .bg--white,
.bg--mist + .bg--mist { padding-top: 0; }

/* ---------- Prose ---------- */

.prose { max-width: 72ch; }
.wrap--wide .prose { max-width: none; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 1.6em; }
.prose h3 { font-size: clamp(20px, 1.8vw, 24px); margin-top: 1.5em; }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600; }
.prose a:hover { background: rgba(203, 209, 0, .2); }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 28px; }
.prose li + li { margin-top: .45em; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; }
.prose ol > li::before { content: counter(n) "."; position: absolute; left: 0; font-weight: 700; color: var(--lime-deep); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--lime); font-size: 1.1em; font-weight: 500; }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose--lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--slate); }
.bg--ink .prose, .bg--ink .prose--lead { color: rgba(255, 255, 255, .85); }
.bg--ink .prose ol > li::before { color: var(--lime); }
.bg--ink .prose th, .bg--ink .prose td { border-color: rgba(255, 255, 255, .15); }

/* ---------- Intro + facts ---------- */

.intro { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: clamp(22px, 3vw, 36px); background: var(--mist); }
.fact__number { margin: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.fact__number::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 14px; background: var(--lime); }
.fact__label { font-size: 14.5px; font-weight: 500; color: var(--muted); }
@media (min-width: 960px) { .intro { grid-template-columns: 1.15fr .85fr; gap: clamp(48px, 7vw, 112px); } }

/* ---------- Service tiles ---------- */

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tiles > li { display: flex; }
.tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	min-height: 200px;
	padding: 28px 28px 84px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	text-decoration: none;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.bg--white .tile { background: var(--mist); border-color: transparent; }
.bg--ink .tile { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); }
.tile__num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--lime-deep); }
.bg--ink .tile__num { color: var(--lime); }
.tile__title { font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.tile__text { font-size: 15px; line-height: 1.5; color: var(--muted); }
.bg--ink .tile__text { color: rgba(255, 255, 255, .65); }
.tile__go {
	position: absolute;
	left: 28px; bottom: 24px;
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), width .3s var(--ease);
}
.tile__go .icon { width: 18px; height: 18px; }
a.tile:hover, a.tile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--ink); }
.bg--ink a.tile:hover { border-color: var(--lime); }
a.tile:hover .tile__go, a.tile:focus-visible .tile__go { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- Split ---------- */

.split { display: grid; gap: 40px; align-items: center; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); }
	.split--left .split__media { order: -1; }
	.split--no-image { grid-template-columns: 1fr; }
}

/* ---------- Columns ---------- */

.cols { display: grid; gap: 32px 48px; }
@media (min-width: 760px) {
	.cols--2, .cols--4 { grid-template-columns: repeat(2, 1fr); }
	.cols--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
	.cols--3 { grid-template-columns: repeat(3, 1fr); }
	.cols--4 { grid-template-columns: repeat(4, 1fr); }
}
.col__title { font-size: 21px; margin-bottom: 14px; }
.cols--boxed { gap: 16px; }
.cols--boxed .col { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--mist); border-top: 3px solid var(--lime); }
.bg--mist .cols--boxed .col { background: var(--white); }
.bg--ink .cols--boxed .col { background: var(--ink-2); }
.cols .prose { font-size: 16px; }

/* ---------- Cards ---------- */

.cards { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .cards--2, .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.cards > li { display: flex; }
.card {
	display: flex;
	flex-direction: column;
	width: 100%;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	text-decoration: none;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bg--white .card { background: var(--mist); border-color: transparent; }
.bg--ink .card { background: var(--ink-2); border-color: transparent; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card__badge { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 24px 26px 26px; }
.card__title { font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.card__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.bg--ink .card__text { color: rgba(255, 255, 255, .65); }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card__more .icon { width: 17px; height: 17px; color: var(--lime-deep); transition: transform .3s var(--ease); }
.bg--ink .card__more .icon { color: var(--lime); }
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover .card__media img { transform: scale(1.05); }
.card:hover .icon--arrow { transform: translateX(4px); }

/* ---------- People ---------- */

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.person__photo { aspect-ratio: 5 / 6; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); transition: filter .4s, transform .6s var(--ease); }
.person:hover .person__photo img { filter: none; transform: scale(1.03); }
.person__photo--empty { display: grid; place-items: center; background: var(--ink); }
.person__photo--empty span { font-family: var(--display); font-size: 64px; color: var(--lime); text-transform: lowercase; }
.person__name { font-size: 20px; }
.person__role { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--lime-deep); line-height: 1.45; }
.bg--ink .person__role { color: var(--lime); }
.person__bio { position: relative; margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.bg--ink .person__bio { color: rgba(255, 255, 255, .7); }
.person__bio.is-clamped { max-height: 9.6em; overflow: hidden; }
.person__bio.is-clamped::after { content: ""; position: absolute; inset: auto 0 0; height: 3em; background: linear-gradient(rgba(255, 255, 255, 0), var(--white)); }
.bg--mist .person__bio.is-clamped::after { background: linear-gradient(rgba(244, 245, 240, 0), var(--mist)); }
.bg--ink .person__bio.is-clamped::after { background: linear-gradient(rgba(17, 18, 20, 0), var(--ink)); }
.person__more { margin-top: 8px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: pointer; }

/* ---------- Testimonials ---------- */

.quotes {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(86%, 420px);
	gap: 16px;
	margin: 0 calc(var(--gutter) * -1);
	padding: 4px var(--gutter) 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
	display: flex;
	flex-direction: column;
	padding: clamp(26px, 3vw, 36px);
	border-radius: var(--radius);
	background: var(--mist);
	scroll-snap-align: start;
}
.bg--mist .quote { background: var(--white); }
.bg--ink .quote { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); }
.quote__mark { width: 34px; height: 34px; color: var(--lime); margin-bottom: 18px; }
.quote__text { margin: 0 0 22px; font-size: clamp(17px, 1.5vw, 19px); font-weight: 500; line-height: 1.55; }
.quote__name { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bg--ink .quote__name { color: var(--lime); }
.slider-nav { display: flex; gap: 10px; }
.slider-nav__btn {
	display: grid; place-items: center;
	width: 52px; height: 52px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s;
}
.slider-nav__btn[data-dir="-1"] .icon { transform: rotate(180deg); }
.slider-nav__btn:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- FAQs ---------- */

.faqs { border-top: 1px solid var(--line); }
.bg--ink .faqs, .bg--ink .faq { border-color: rgba(255, 255, 255, .12); }
.faq { border-bottom: 1px solid var(--line); }
.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-size: clamp(17px, 1.5vw, 19px);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { width: 22px; height: 22px; padding: 4px; box-sizing: content-box; border-radius: 50%; background: var(--mist); transition: transform .3s var(--ease), background-color .3s; }
.bg--ink .faq__q .icon { background: var(--ink-3); }
.faq[open] .faq__q .icon { transform: rotate(180deg); background: var(--lime); color: var(--ink); }
.faq__q:hover span { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 5px; }
.faq__a { padding: 0 0 26px; color: var(--slate); }

/* ---------- Video ---------- */

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-frame iframe, .video-frame video, .video-frame__play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-frame__play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; }
.video-frame__play img { opacity: .75; transition: opacity .3s; }
.video-frame__play:hover img { opacity: .9; }
.video-frame__icon {
	position: absolute; left: 50%; top: 50%;
	display: grid; place-items: center;
	width: 84px; height: 84px; margin: -42px 0 0 -42px;
	border-radius: 50%;
	background: var(--lime); color: var(--ink);
	box-shadow: 0 0 0 10px rgba(203, 209, 0, .25);
	transition: transform .3s var(--ease);
}
.video-frame__play:hover .video-frame__icon { transform: scale(1.08); }
.video-caption { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ---------- Downloads ---------- */

.downloads { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.download {
	display: flex; align-items: center; gap: 16px;
	padding: 16px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
	font-weight: 600;
	transition: border-color .25s, background-color .25s;
}
.download__type { flex: none; padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.download__title { flex: 1; }
.download .icon { color: var(--lime-deep); }
.download:hover { border-color: var(--ink); background: var(--mist); }

/* ---------- CTA band ---------- */

.cta { position: relative; padding-block: clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.cta--ink { background: var(--ink); color: var(--white); }
.cta--ink::before {
	content: "";
	position: absolute; z-index: -1;
	left: -10%; bottom: -120%;
	width: 60%; aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(203, 209, 0, .2), rgba(203, 209, 0, 0) 65%);
}
.cta--lime { background: var(--lime); color: var(--ink); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta__text { max-width: 640px; }
.cta__title { font-size: clamp(28px, 3.4vw, 44px); }
.cta__text p { margin-top: 14px; font-size: 17px; opacity: .85; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta__actions .btn-row { margin: 0; }
.cta__phone { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.cta__phone .icon { width: 26px; height: 26px; color: var(--lime); }
.cta--lime .cta__phone .icon { color: var(--ink); }
.cta__phone:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cta--lime .btn--primary { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.cta--lime .btn--primary:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }

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

.contact { display: grid; gap: 48px; }
@media (min-width: 980px) { .contact { grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 6vw, 96px); align-items: start; } }
.contact__intro { color: var(--slate); font-size: 17px; margin-bottom: 28px; }
.contact-list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.contact-list__icon .icon { width: 20px; height: 20px; }
.contact-list__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-size: 18px; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact__map { margin-top: 32px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--mist) center / cover; }
.contact__map iframe { width: 100%; height: 100%; border: 0; }
.contact__map-load { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; border: 0; background: var(--mist); font-weight: 700; cursor: pointer; }
.contact__map-load:hover { background: var(--line); }
.contact__map-load .icon { color: var(--lime-deep); }

.contact__form { padding: clamp(26px, 4vw, 48px); border-radius: var(--radius); background: var(--mist); }

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

.form__title { font-size: 24px; margin-bottom: 24px; }
.form__grid { display: grid; gap: 18px 16px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1.5px solid #d5d8cf;
	border-radius: var(--radius-sm);
	background: var(--white);
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23111214' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(203, 209, 0, .45); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field__error, .form__error { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #b3261e; }
.form__error { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fbe9e7; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--turnstile { margin-top: 18px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 24px; }
.form__privacy { flex: 1 1 260px; margin: 0; font-size: 13.5px; color: var(--muted); }
.form__privacy a { color: inherit; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.form-done { padding: 12px 0; outline: 0; }
.form-done__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--lime); }
.form-done__icon .icon { width: 30px; height: 30px; }
.form-done h3 { font-size: 26px; margin-bottom: 12px; }
.form-done a { font-weight: 700; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.site-footer__grid { display: grid; gap: 48px 40px; padding-block: clamp(56px, 7vw, 96px); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer__logo { width: auto; height: 46px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 320px; }
.site-footer__rics { width: 150px; height: auto; margin-top: 26px; opacity: .95; }
.site-footer__title { margin-bottom: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.site-footer__contact, .site-footer__links, .site-footer__social { margin: 0; padding: 0; list-style: none; }
.site-footer__contact { display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--lime); }
.site-footer__label { display: block; font-size: 12px; color: rgba(255, 255, 255, .5); }
.site-footer__contact a { color: var(--white); font-weight: 600; }
.site-footer__links { display: grid; gap: 9px; }
.site-footer__small { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 26px; }
.site-footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 50%; color: var(--white); transition: background-color .25s, color .25s, border-color .25s; }
.site-footer__social a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); text-decoration: none; }
.site-footer__social .icon { width: 18px; height: 18px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px; }
.site-footer__bottom p { max-width: 860px; margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }

/* ---------- Misc ---------- */

.post-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 28px; }
.post-list a { font-size: 22px; font-weight: 700; text-decoration: none; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
	.site-header, .mobile-menu, .site-footer, .hero__media, .cta { display: none !important; }
	.page-hero { padding: 0; background: none; color: #000; }
}

/* Long name lists (e.g. clients on About) */
.prose .list-cols { columns: 3 220px; column-gap: 40px; }
.prose .list-cols li { break-inside: avoid; margin: 0 0 .45em; }

/* Single client quote: a centred pull-quote */
.section--quote { padding-block: clamp(56px, 7vw, 104px); }
.feature-quote { margin: 0 auto; text-align: center; }
.feature-quote__mark { width: 44px; height: 44px; margin: 0 auto 22px; color: var(--lime); }
.feature-quote__text { margin: 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.feature-quote__name { margin-top: 22px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
.bg--white .feature-quote__name, .bg--mist .feature-quote__name { color: var(--lime-deep); }

/* Team: two across on phones so one photo doesn't fill the screen */
@media (max-width: 599px) {
	.people { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
	.person__name { font-size: 17px; }
	.person__role { font-size: 12.5px; }
	.person__bio { font-size: 14px; }
}

/* Team: three across on larger screens (six surveyors = two rows of three) */
@media (min-width: 900px) {
	.people { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
}

/* Images added in the text editor (Add Media): alignment and captions */
.prose img { height: auto; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose .wp-caption { max-width: 100%; }
.prose figure { margin: 0; }
.prose .wp-caption img,
.prose figure img { display: block; float: none; width: 100%; max-width: 100%; margin: 0; } /* the image inside a captioned figure carries the align class too */
.prose .wp-caption-text,
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.prose::after { content: ""; display: table; clear: both; }
@media (min-width: 700px) {
	.prose .alignleft { float: left; max-width: 45%; margin: .3em 32px 16px 0; }
	.prose .alignright { float: right; max-width: 45%; margin: .3em 0 16px 32px; }
}
@media (max-width: 699px) {
	.prose .alignleft,
	.prose .alignright { display: block; margin: 0 0 16px; max-width: 100%; }
}
