/* ==========================================================================
   MediCRO theme — main stylesheet
   Warm clinical system: cream canvas, Electrolize type throughout, pill
   controls, tinted cards and circular photo frames, in MediCRO's own
   logo colours (navy, teal, cyan, green, lime).
   ========================================================================== */

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

:root {
	--cream: #ebe1d0;
	--cream-2: #e1d4bd;
	--white: #ffffff;
	--ink: #14202b;
	--navy: #1c2533;
	--slate: #46546c;
	--muted: #5c6470;
	--primary: #0b7d97;
	--primary-hover: #086679;
	--teal: #1dadc9;
	--cyan: #27ccda;
	--green: #00d27f;
	--lime: #c1cd24;
	/* Accent fills use the logo colours as they are. */
	--t-cyan: #1dadc9;
	--t-green: #00d27f;
	--t-lime: #c1cd24;
	--m-cyan: #27ccda;
	--m-green: #00d27f;
	--m-lime: #c1cd24;
	--line: rgba(20, 32, 43, 0.12);
	--danger: #b8402f;

	--brand-grad: linear-gradient(90deg, var(--cyan) 0%, var(--green) 55%, var(--lime) 100%);
	
	--shadow-sm: 0 4px 4px rgba(75, 68, 57, 0.05), 0 32px 16px -16px rgba(75, 68, 57, 0.06);
	--shadow-md: 0 8px 16px rgba(99, 91, 79, 0.08), 0 32px 32px rgba(99, 91, 79, 0.04);
	--shadow-lg: 0 12px 24px rgba(75, 68, 57, 0.1), 0 48px 48px rgba(75, 68, 57, 0.1);
	--shadow-xl: 0 48px 48px rgba(75, 68, 57, 0.1);

	--font-serif: "Electrolize", "Arial Narrow", Arial, sans-serif;
	--font-sans: "Electrolize", "Arial Narrow", Arial, sans-serif;

	--gutter: clamp(16px, 4vw, 48px);
	--wrap: 1200px;
	--r-card: 20px;
	--r-panel: 32px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 19px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	font-synthesis: none;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - var(--gutter) * 2); }

.screen-reader-text, .form__hp {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: fixed;
	top: 12px; left: 12px;
	z-index: 2000;
	padding: 12px 20px;
	background: var(--ink);
	color: #fff;
	border-radius: 999px;
	transform: translateY(-180%);
	transition: transform 0.2s;
	text-decoration: none;
	font-weight: 500;
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Type ---------- */
.h2 {
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: clamp(2.6rem, 6.6vw, 6rem);
	line-height: 1;
	letter-spacing: -0.03em;
	margin-bottom: 22px;
	text-wrap: balance;
}
.h2 em, .page-hero__title em { color: var(--teal); }
.h3 { font-family: var(--font-serif); font-size: clamp(1.8rem, 2.9vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.5; color: var(--muted); }

.badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 22px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--white);
	box-shadow: 0 0 0 1px var(--line);
	font-size: 14.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-grad); flex: none; }
.badge--glass {
	background: rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
	color: #fff;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.badge--dark { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); color: #fff; }
.badge__dot { display: none; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 68px;
	padding: 0 38px;
	border: 0;
	border-radius: 999px;
	background: var(--teal);
	color: #fff;
	font-size: 23px;
	-webkit-text-stroke: 0.55px currentColor; /* Electrolize has one weight: stroke it bolder */
	text-decoration: none;
	cursor: pointer;
	/* like the glass icons: a solid back layer offset up and right, a soft light outline on the front */
	--back: var(--primary);
	--off: 7px;
	box-shadow: var(--off) calc(var(--off) * -1) 0 var(--back), inset 0 0 0 1.5px rgba(255, 255, 255, 0.32);
	transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.3s var(--ease);
}
.btn .icon { stroke-width: 2.3; transition: transform 0.35s var(--ease); }
.btn:hover { --off: 9px; transform: translate(-2px, 2px); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { --off: 3px; transform: translate(4px, -4px); }
.btn--primary, .btn--dark, .btn--lime { background: var(--teal); color: #fff; }
.btn--primary:hover, .btn--dark:hover, .btn--lime:hover { --back: #8e9914; background: var(--lime); color: var(--ink); }
.btn--glass {
	--back: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	box-shadow: var(--off) calc(var(--off) * -1) 0 var(--back), inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
.btn--glass:hover { --back: rgba(255, 255, 255, 0.4); background: #fff; color: var(--ink); }
.btn--ghost { --back: var(--line); background: transparent; color: var(--ink); box-shadow: var(--off) calc(var(--off) * -1) 0 var(--back), inset 0 0 0 1.5px var(--line); }
.btn--sm { --off: 5px; min-height: 54px; padding: 0 28px; font-size: 20px; -webkit-text-stroke-width: 0.45px; }
.btn--sm:hover { --off: 7px; }
.btn--sm:active { --off: 2px; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	padding-bottom: 4px;
	font-weight: 500;
	color: var(--primary);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	transition: background-size 0.4s var(--ease);
}
.link-arrow .icon { transition: transform 0.35s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Loader ---------- */
.loader {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--cream);
	color: var(--ink);
}
html.is-loading .loader { display: flex; }
html.is-loading body { overflow: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 44px; }
.loader__logo { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader__mark { position: relative; width: clamp(96px, 12vw, 132px); aspect-ratio: 333 / 339; }
.loader__piece { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__ring { position: absolute; inset: -22%; border-radius: 50%; border: 1.5px solid rgba(11, 125, 151, 0.25); opacity: 0; }
.loader__wordmark { width: clamp(170px, 20vw, 220px); overflow: hidden; }
.loader__wordmark img { width: 100%; }
.loader__meter { width: clamp(220px, 26vw, 300px); }
.loader__status { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.loader__words {
	position: relative;
	height: 1.45em;
	flex: 1;
	overflow: hidden;
	font-family: var(--font-serif);
	font-size: 19px;
	line-height: 1.45;
	color: var(--slate);
}
.loader__word { position: absolute; left: 0; top: 0; visibility: hidden; }
.loader__word:first-child { visibility: visible; }
.loader__pct { font-size: 17px; font-variant-numeric: tabular-nums; }
.loader__bar { height: 4px; border-radius: 999px; background: rgba(20, 32, 43, 0.1); overflow: hidden; }
.loader__bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand-grad); transform-origin: 0 50%; transform: scaleX(0); }


/* ---------- Header (floating pill) ---------- */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 900; transition: transform 0.45s var(--ease); pointer-events: none; }
.site-header__inner {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 64px;
	padding: 8px 8px 8px 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: saturate(1.3) blur(14px);
	backdrop-filter: saturate(1.3) blur(14px);
	box-shadow: var(--shadow-md);
}
.site-header__brand { display: block; flex: none; }
.site-header__brand .logo { width: auto; height: 38px; }
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }

.nav { margin-left: auto; }
.nav__list { display: flex; list-style: none; align-items: center; gap: 2px; }
.nav__list a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 16.5px;
	text-decoration: none;
	color: var(--ink);
	transition: background-color 0.25s, color 0.25s;
}
.nav__list a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: transparent; transition: text-decoration-color 0.25s, color 0.25s; }
.nav__list a:hover { text-decoration-color: rgba(20, 32, 43, 0.3); }
.nav__list a.is-active, .nav__list .current-menu-item > a { background: none; text-decoration-color: currentColor; }
.site-header__cta { flex: none; margin-left: 8px; box-shadow: none; }


.menu-toggle {
	display: none;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--cream);
	font-weight: 500;
	cursor: pointer;
	color: var(--ink);
}
.menu-toggle__lines { position: relative; width: 22px; height: 10px; }
.menu-toggle__lines i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-toggle__lines i:first-child { top: 0; }
.menu-toggle__lines i:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 890;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 120px var(--gutter) 32px;
	background: var(--cream);
	overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .nav__list { display: block; }
.mobile-menu .nav__list a {
	padding: 10px 0;
	border-radius: 0;
	font-family: var(--font-serif);
	font-size: clamp(2.6rem, 11vw, 3.6rem);
	line-height: 1.05;
	font-weight: 400;
	letter-spacing: -0.015em;
}
.mobile-menu .nav__list a:hover, .mobile-menu .nav__list a.is-active { background: none; color: var(--primary); }
.mobile-menu__foot { display: grid; gap: 2px; margin-top: 32px; color: var(--muted); }
.mobile-menu__foot a { text-decoration: none; padding: 10px 0; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (moving light ground, glass frame) ---------- */
.hero {
	--frame: 0px;
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	padding: calc(var(--frame) + 110px) 0 calc(var(--frame) + 34px);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(60% 55% at 18% 78%, rgba(11, 125, 151, 0.45), transparent 70%),
		radial-gradient(45% 45% at 82% 22%, rgba(29, 173, 201, 0.28), transparent 70%),
		radial-gradient(40% 40% at 70% 85%, rgba(0, 210, 127, 0.16), transparent 70%),
		#0a1519;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__flow { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.hero__flow.is-on { opacity: 1; }
.hero__inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.hero__title {
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: clamp(3.3rem, min(7.7vw, 13.2vh), 7.7rem);
	line-height: 1;
	letter-spacing: -0.035em;
	margin-bottom: clamp(28px, 4vh, 44px);
	color: #eef8fb;
	text-wrap: balance;
	text-shadow: 0 0 40px rgba(6, 12, 22, 0.6);
}
.hero__title .line { display: block; padding-bottom: 0.06em; }
.hero__title .line__in { display: inline-block; }
.hero__title em { color: var(--teal); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }


/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 9vw, 128px) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { max-width: 780px; margin-inline: auto; text-align: center; }
.section-head--center .lead { max-width: 620px; margin-inline: auto; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split .h2, .contact__grid .h2 { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.split__text .lead { margin-bottom: 16px; color: var(--ink); }
.split__text p { color: var(--muted); }

.frame { border-radius: var(--r-card); overflow: hidden; background: var(--cream-2); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* About */
.about { background: var(--cream); }
.portraits { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 0.92; margin-left: auto; }
.portrait { position: absolute; border-radius: 50%; padding: 4%; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.portrait--lg { width: 76%; right: 0; top: 0; }
.portrait--sm { width: 42%; left: 0; bottom: 0; padding: 5%; box-shadow: var(--shadow-lg); }
.portraits__dot { position: absolute; left: 10%; top: 12%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--green); }
.halo-cyan { background: var(--m-cyan); }
.halo-green { background: var(--m-green); }
.halo-lime { background: var(--m-lime); }

.lifecycle {
	position: relative;
	display: flex;
	justify-content: space-between;
	margin-top: clamp(56px, 7vw, 96px);
	padding: 28px 36px;
	border-radius: 999px;
	background: var(--white);
	list-style: none;
	box-shadow: var(--shadow-sm);
}
.lifecycle__step { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: var(--white); }
.lifecycle__step:first-child { padding-left: 0; }
.lifecycle__step:nth-last-child(2) { padding-right: 0; }
.lifecycle__dot {
	display: grid;
	place-items: center;
	flex: none;
	width: 54px; height: 54px;
	border-radius: 50%;
	/* glass disc in the step colour; the number sits on top */
	background: url(../img/icons/disc-cyan.webp) center / contain no-repeat;
	color: var(--ink);
	font-size: 20px;
	line-height: 1;
	-webkit-text-stroke: 0.7px currentColor;
}
.lifecycle__step:nth-child(3n + 2) .lifecycle__dot { background-image: url(../img/icons/disc-green.webp); }
.lifecycle__step:nth-child(3n + 3) .lifecycle__dot { background-image: url(../img/icons/disc-lime.webp); }
.lifecycle__label { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.9vw, 1.65rem); }
.lifecycle__line { position: absolute; left: 56px; right: 56px; top: 50%; height: 1.5px; background: var(--line); }
.lifecycle__line i { display: block; height: 100%; background: var(--brand-grad); transform-origin: 0 50%; }

/* Panels */
.panel { position: relative; border-radius: var(--r-panel); padding: clamp(28px, 5.5vw, 80px); overflow: hidden; }
.panel--navy { background: var(--navy); color: #fff; }
.panel--plain { padding: 0; border-radius: 0; overflow: visible; background: none; color: #fff; }
.panel .h2 em { color: var(--teal); }
.panel .lead { color: rgba(255, 255, 255, 0.88); }
.panel .split__text p { color: rgba(255, 255, 255, 0.8); }
.panel .split__text .lead { color: #fff; }

/* Audit */
.audit {
	z-index: 2;
	background: #0a1519;
	color: #fff;
	border-radius: var(--r-panel) var(--r-panel) 0 0;
	box-shadow: 0 -30px 60px rgba(10, 18, 26, 0.18);
}
.audit .panel { padding: 0; border-radius: 0; overflow: visible; background: none; }
.about { z-index: 1; }
.about > .wrap { transform-origin: 50% 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 30px; }
.pills li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); font-size: 17px; }
.audit .frame { background: rgba(255, 255, 255, 0.06); }
.checklist { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.checklist__title { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.05; margin-bottom: 28px; }
.checklist__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; list-style: none; }
.checklist__grid li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 18px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
}
.checklist__tick { display: grid; place-items: center; flex: none; width: 38px; height: 38px; margin-top: -5px; background: url(../img/icons/tickbox.webp) center / contain no-repeat; color: #000; }
.checklist__tick .icon { width: 24px; height: 24px; stroke-width: 4.4; stroke-linecap: square; stroke-linejoin: miter; overflow: visible; }
.checklist__note { margin-top: 32px; max-width: 720px; color: rgba(255, 255, 255, 0.82); font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; }

/* Services explorer */
.services {
	z-index: 1;
	isolation: isolate;
	overflow: clip;
	background:
		radial-gradient(50% 40% at 20% 30%, rgba(11, 125, 151, 0.35), transparent 70%),
		radial-gradient(40% 40% at 80% 75%, rgba(0, 210, 127, 0.14), transparent 70%),
		#14202b;
	color: #fff;
}
.services__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.services__flow { position: sticky; top: 0; display: block; width: 100%; height: 100vh; height: 100svh; opacity: 0; transition: opacity 1.2s ease; }
.services__flow.is-on { opacity: 0.7; }
.services .lead { color: rgba(255, 255, 255, 0.74); }
.services .section-head--center { max-width: 1100px; }
/* Each service tab takes a logo colour; the open one gets a white ring */
.services .explorer__tabs { gap: 10px; }
.services .explorer__tab {
	--card: var(--teal); --card-ink: var(--ink);
	grid-template-columns: 50px 1fr 22px;
	gap: 16px;
	min-height: 76px;
	padding: 10px 22px 10px 12px;
	background: var(--card);
	color: var(--card-ink);
	font-size: 20.5px;
	line-height: 1.2;
	-webkit-text-stroke: 0.3px currentColor;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	transition: box-shadow 0.3s, transform 0.3s var(--ease), filter 0.3s;
}
.services .explorer__tab:nth-child(6n + 1) { --card: var(--teal); }
.services .explorer__tab:nth-child(6n + 2) { --card: var(--green); }
.services .explorer__tab:nth-child(6n + 3) { --card: var(--lime); }
.services .explorer__tab:nth-child(6n + 4) { --card: var(--primary); --card-ink: #fff; }
.services .explorer__tab:nth-child(6n + 5) { --card: var(--cyan); }
.services .explorer__tab:nth-child(6n + 6) { --card: var(--slate); --card-ink: #fff; }
.services .explorer__tab:hover { background: var(--card); filter: brightness(1.08); }
/* auto-rotate progress: runs under the selected tab's name */
.services .explorer__tab { position: relative; overflow: hidden; }
.services .explorer.is-auto .explorer__tab[aria-selected="true"]::after {
	content: ""; position: absolute; left: 78px; right: 30px; bottom: 9px; height: 3px; border-radius: 3px;
	background: currentColor; opacity: 0.55; transform-origin: 0 50%;
	animation: mc-tab-run 6s linear forwards;
}
.services .explorer.is-paused .explorer__tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes mc-tab-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.services .explorer__tab[aria-selected="true"] { background: var(--card); color: var(--card-ink); box-shadow: 0 0 0 3px #fff, 0 12px 30px rgba(0, 0, 0, 0.35); transform: translateX(6px); }
.services .explorer__icon { width: 50px; height: 50px; background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.services .explorer__icon .icon { width: 23px; height: 23px; stroke-width: 2; }
.services .explorer__icon:has(.icon--glass) { background: none; }
.services .explorer__icon .icon--glass { width: 50px; height: 50px; }
.services .explorer__go .icon { width: 22px; height: 22px; }
.services .explorer__panel { padding: clamp(20px, 2.6vw, 32px); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
/* Editorial head: title and intro on the left, the photo beside them */
.explorer__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 2.6vw, 32px); align-items: stretch; }
.explorer__intro { display: flex; flex-direction: column; justify-content: center; }
.explorer__intro .h3 { margin-bottom: 14px; }
.explorer__intro p { color: var(--muted); }
.services .explorer__intro p { color: rgba(255, 255, 255, 0.76); }
.services .explorer__media { border-radius: 18px; align-self: center; aspect-ratio: 1 / 1; }
.services .explorer__media img { height: 100%; aspect-ratio: 1 / 1; }
.services .explorer__body { padding: 0; }
.services .explorer__items div { background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.services .explorer__items dd { color: rgba(255, 255, 255, 0.68); }
.services .link-arrow { color: var(--teal); }
.explorer { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.explorer__tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 110px; }
.explorer__tab {
	--tone: var(--teal);
	--tint: var(--t-cyan);
	display: grid;
	grid-template-columns: 40px 1fr 20px;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 60px;
	padding: 8px 20px 8px 8px;
	border: 0;
	border-radius: 999px;
	background: var(--cream);
	text-align: left;
	font-size: 17.5px;
	line-height: 1.2;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.explorer__tab:hover { background: var(--cream-2); transform: translateX(3px); }
.explorer__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.explorer__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--ink); }
.explorer__icon .icon { width: 19px; height: 19px; }
.explorer__go { opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.explorer__tab[aria-selected="true"] .explorer__go, .explorer__tab:hover .explorer__go { opacity: 1; transform: none; }

.tone-cyan { --tone: var(--cyan); --tint: var(--t-cyan); }
.tone-green { --tone: var(--green); --tint: var(--t-green); }
.tone-lime { --tone: var(--lime); --tint: var(--t-lime); }
.tone-teal { --tone: var(--teal); --tint: var(--m-cyan); }

.explorer__panels { min-width: 0; }
.explorer__panel { border-radius: 24px; background: var(--cream); overflow: hidden; }
.explorer__panel + .explorer__panel { margin-top: 24px; }
.js .explorer__panel:not([data-active]) { display: none; }
.js .explorer__panel + .explorer__panel { margin-top: 0; }
.explorer__media { overflow: hidden; }
.explorer__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.explorer__body { padding: clamp(24px, 3.2vw, 40px); }
.explorer__body .h3 { margin-bottom: 12px; }
.explorer__body > p { color: var(--muted); max-width: 660px; }
.explorer__items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 18px; }
.explorer__items div { padding: 18px 20px; border-radius: 16px; background: var(--white); }
.explorer__items dt { display: flex; align-items: center; gap: 10px; font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.explorer__items dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); flex: none; }
.explorer__items dd { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.45; }

/* Why */
.why { background: #0a1519; color: #fff; }
.why .feature { color: var(--ink); }
.why .section-head--center { max-width: 1100px; }
.why__grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 16px; }
.why__media { grid-row: span 2; border-radius: var(--r-card); overflow: hidden; min-height: 420px; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .why__media { display: none; } }
.feature { position: relative; padding: 32px; border-radius: var(--r-card); background: var(--white); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature--cyan { background: var(--t-cyan); }
.feature--green { background: var(--t-green); }
.feature--lime { background: var(--t-lime); }
.feature__icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 24px; border-radius: 50%; background: var(--white); color: var(--ink); }
.feature__icon:has(.icon--glass) { width: 72px; height: 72px; margin-bottom: 22px; background: none; place-items: start; }
.feature__icon .icon--glass { width: 72px; height: 72px; }
.feature--white .feature__icon { background: var(--cream); }
.feature--white .feature__icon:has(.icon--glass) { background: none; }
.feature__title { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.08; margin-bottom: 10px; letter-spacing: -0.01em; }
.feature p { color: var(--ink); font-size: 18px; }

/* Who we serve */
.serve { background: var(--cream-2); }
.serve .section-head--center { max-width: 1100px; }
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.audience a {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 28px;
	border-radius: var(--r-card);
	background: var(--white);
	text-decoration: none;
	transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.audience a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.audience__media { width: 116px; padding: 0; border-radius: 50%; margin-bottom: 24px; overflow: hidden; }
.audience__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform 0.7s var(--ease); }
.audience a:hover .audience__media img { transform: scale(1.03); }
.audience__body h3 { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 8px; }
.audience__body p { color: var(--muted); font-size: 17.5px; }
.audience__go {
	position: absolute;
	top: 24px; right: 24px;
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--cream);
	color: var(--ink);
	transition: background-color 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.audience a:hover .audience__go { background: var(--primary); color: #fff; transform: rotate(45deg); }

/* Each audience card takes a logo colour */
.audience { --card: var(--teal); --card-ink: var(--ink); }
.audience:nth-child(6n + 1) { --card: var(--teal); }
.audience:nth-child(6n + 2) { --card: var(--green); }
.audience:nth-child(6n + 3) { --card: var(--lime); }
.audience:nth-child(6n + 4) { --card: var(--primary); --card-ink: #fff; }
.audience:nth-child(6n + 5) { --card: var(--cyan); }
.audience:nth-child(6n + 6) { --card: var(--slate); --card-ink: #fff; }
.audience a { background: var(--card); color: var(--card-ink); }
.audience__body h3 { font-size: clamp(2rem, 2.9vw, 2.6rem); -webkit-text-stroke: 0.6px currentColor; margin-bottom: 10px; }
.audience__body p { color: var(--card-ink); font-size: 20px; line-height: 1.45; -webkit-text-stroke: 0.3px currentColor; }
.audience__media { background: none !important; }
/* glass arrow button, matching the icon set */
.audience__go { width: 52px; height: 52px; background: none; border-radius: 0; }
.audience__go img { width: 100%; height: 100%; }
.audience a:hover .audience__go { background: none; transform: rotate(45deg); }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__text .lead { margin-bottom: 30px; }
.contact__details { list-style: none; display: grid; gap: 6px; }
.contact__details li { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.contact__ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.contact__ico .icon { width: 18px; height: 18px; }
.contact__ico:has(.icon--glass) { width: 44px; height: 44px; background: none; }
.contact__ico .icon--glass { width: 44px; height: 44px; }
.contact__details a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.contact__details a:hover { background-size: 100% 1px; }
.contact__card { padding: 0; color: #fff; }

/* Form */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.field { margin-bottom: 26px; }
.field label { display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.field__opt { text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, 0.4); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
	width: 100%;
	min-height: 52px;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 19px;
	transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23ffffff' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
	padding-right: 30px;
	text-overflow: ellipsis;
}
.field select option { color: var(--ink); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: rgba(255, 255, 255, 0.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--teal); box-shadow: 0 1px 0 0 var(--teal); }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px var(--ink) inset; caret-color: #fff; }
.field--check { margin-top: 4px; }
.field--check label { display: flex; gap: 14px; align-items: flex-start; margin: 0; font-size: 16px; letter-spacing: 0; text-transform: none; line-height: 1.5; color: rgba(255, 255, 255, 0.72); cursor: pointer; }
.field--check input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; flex: none; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 6px; background: transparent; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.field--check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 0.2s var(--ease); }
.field--check input:checked { background: var(--teal); border-color: var(--teal); }
.field--check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.field--check input:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.field__error { margin: 8px 0 0; font-size: 14px; color: #ff9a8a; }
.field__error:empty { display: none; }
.has-error input[type="text"], .has-error input[type="email"], .has-error textarea { border-bottom-color: #ff9a8a; }
.has-error input[type="checkbox"] { border-color: #ff9a8a; }
.form .btn { margin-top: 10px; }
.form__status { margin: 14px 0 0; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 14px 18px; border-radius: 16px; background: var(--green); color: var(--ink); }
.form__status.is-error { color: #ff9a8a; }
.form.is-sending button[type="submit"] { opacity: 0.7; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, 0.76); padding-top: clamp(64px, 8vw, 96px); overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 40px; }
.site-footer__brand .logo { height: 50px; width: auto; margin-bottom: 20px; }
.site-footer__brand p { max-width: 360px; font-size: 17.5px; }
.site-footer__h { margin-bottom: 14px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.site-footer__list { list-style: none; display: grid; gap: 2px; }
.site-footer__list a { text-decoration: none; display: inline-block; padding: 7px 0; transition: color 0.25s; }
.site-footer__list a:hover { color: #fff; }
.site-footer__list--contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 17.5px; }
.site-footer__list--contact li > span { padding: 7px 0; }
.site-footer__list--contact .icon { margin-top: 9px; color: var(--teal); }
.site-footer__list--contact .icon--glass { width: 32px; height: 32px; margin-top: 4px; flex: none; }
.site-footer__bottom {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 24px;
	margin-top: clamp(48px, 6vw, 72px);
	padding: 18px 0 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 14px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 24px; align-items: center; }
.site-footer__legal a { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.site-footer__legal a:hover { color: #fff; }
.brand-stripe { position: relative; height: 8px; display: flex; }
.brand-stripe i:first-child { flex: 1.1; background: var(--slate); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.brand-stripe i:last-child { flex: 1; margin-left: -8px; background: linear-gradient(90deg, var(--lime), var(--green)); clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); }
.brand-stripe--top { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 168px 0 clamp(48px, 6vw, 80px); background: var(--cream); text-align: center; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.page-hero .badge--dark { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.page-hero__title { font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 7rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 960px; text-wrap: balance; }
.page-hero__meta { margin-top: 18px; color: var(--muted); }
.page-hero__meta a { color: var(--primary); }
.inner { padding: 0 0 clamp(72px, 9vw, 120px); }
.inner .prose, .inner .comments { padding: clamp(28px, 4vw, 56px); border-radius: 24px; background: var(--white); }
.inner .comments { margin-top: 24px; }
.inner__thumb { margin-bottom: 24px; }
.inner__search { margin: 0 auto 40px; max-width: 560px; }

.prose { font-size: 19.5px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.7em; font-family: var(--font-serif); letter-spacing: -0.01em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; }
.prose h3 { font-size: 1.9rem; }
.prose a { color: var(--primary); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.6em 0; padding: 22px 28px; border-radius: 20px; background: var(--t-lime); font-family: var(--font-serif); font-size: 1.3rem; }
.prose img { border-radius: var(--r-card); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose pre { overflow-x: auto; padding: 18px; background: var(--cream); border-radius: 16px; font-size: 15px; }
.alignwide { width: min(1100px, 100vw - var(--gutter) * 2); margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 6px 14px; border-radius: 999px; background: var(--t-cyan); text-decoration: none; font-size: 14px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; font-weight: 500; }
.post-nav a { text-decoration: none; color: var(--primary); }
.page-links { margin-top: 24px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--r-card); background: var(--white); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.card__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card__media { overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.7s var(--ease); }
.card__link:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__meta { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin: 0; }
.card__title { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.08; }
.card__excerpt { color: var(--muted); font-size: 17.5px; }
.card .link-arrow { margin-top: auto; }

.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 500; }
.page-numbers.current { background: var(--ink); color: #fff; }

.search-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); }
.search-form__input { flex: 1; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; }
.search-form__input:focus { outline: none; }
.empty { padding: 40px; max-width: 620px; margin: 0 auto; border-radius: 24px; background: var(--white); text-align: center; }
.empty .h3 { margin-bottom: 10px; }
.empty p { color: var(--muted); margin-bottom: 20px; }

.comment-list { list-style: none; margin: 24px 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 16px; border: 1.5px solid #e3dccf; border-radius: 16px; background: var(--cream); }
.comment-form label { display: block; font-weight: 500; margin-bottom: 6px; }
.widget { margin-bottom: 32px; }
.widget-title { font-size: 1rem; margin-bottom: 12px; }

/* 404 */
.notfound { min-height: 100svh; display: flex; align-items: center; background: var(--cream); text-align: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; padding: 140px 0 80px; }
.notfound__mark { width: 84px; margin-bottom: 28px; }
.notfound__title { font-family: var(--font-serif); font-size: clamp(3rem, 9vw, 8rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 1100px; margin-bottom: 20px; }
.notfound__title em { color: var(--teal); }
.notfound .lead { max-width: 540px; margin-bottom: 32px; }
.notfound .badge--dark { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }

/* ---------- Motion safety ---------- */
html.js:not(.is-ready) .hero [data-hero],
html.js:not(.is-ready) .hero .line__in { animation: mc-safety 0.01s 4s both; }
@keyframes mc-safety { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
/* ---------- Audit template popup ---------- */
html.pop-open { overflow: hidden; }
.checklist__template { margin-top: 26px; color: var(--lime); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.leadpop {
	padding: 0; border: 0; margin: auto;
	width: min(960px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
	background: #0a1519; color: #fff; border-radius: 28px; overflow: hidden;
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}
.leadpop::backdrop { background: rgba(5, 11, 14, 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.leadpop[open] { animation: mc-pop-in 0.6s var(--ease) both; }
.leadpop[open]::backdrop { animation: mc-fade-in 0.4s ease both; }
.leadpop.is-closing { animation: mc-pop-out 0.26s ease-in both; }
.leadpop.is-closing::backdrop { animation: mc-fade-out 0.26s ease-in both; }
@keyframes mc-pop-in { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes mc-pop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(16px) scale(0.97); } }
@keyframes mc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mc-fade-out { from { opacity: 1; } to { opacity: 0; } }
.leadpop__card { position: relative; display: grid; grid-template-columns: 0.92fr 1.08fr; min-height: 560px; max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; }
.leadpop__close {
	position: absolute; top: 18px; right: 18px; z-index: 3; width: 48px; height: 48px;
	display: grid; place-items: center; padding: 0; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(10, 21, 25, 0.35); color: #fff;
	transition: background-color 0.25s, color 0.25s, transform 0.4s var(--ease);
}
.leadpop__close:hover { background: #fff; color: var(--ink); transform: rotate(90deg); }
.leadpop__close:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.leadpop__close .icon { width: 20px; height: 20px; }
.leadpop__art {
	position: relative; display: grid; place-items: center; padding: 56px 40px; overflow: hidden;
	background: radial-gradient(120% 90% at 18% 8%, #27ccda 0%, #1dadc9 38%, #0b7d97 100%);
}
.leadpop__art::before {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.32) 1.2px, transparent 1.7px); background-size: 14px 14px;
	-webkit-mask-image: linear-gradient(155deg, #000 5%, transparent 65%); mask-image: linear-gradient(155deg, #000 5%, transparent 65%);
}
.leadpop__sheet {
	position: relative; width: min(100%, 290px); padding: 26px 24px 30px; border-radius: 16px;
	background: #fff; color: var(--ink); transform: rotate(-5deg);
	box-shadow: 10px -10px 0 rgba(10, 21, 25, 0.22), 0 30px 60px rgba(4, 30, 40, 0.35);
}
.leadpop[open] .leadpop__sheet { animation: mc-sheet 0.9s 0.15s var(--ease) both; }
@keyframes mc-sheet { from { opacity: 0; transform: translateY(40px) rotate(4deg); } to { opacity: 1; transform: rotate(-5deg); } }
.leadpop__sheet-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1.5px solid #e3e9ec; font-family: var(--font-serif); font-size: 19px; line-height: 1.05; }
.leadpop__sheet-head img { width: 30px; height: 30px; }
.leadpop__sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.leadpop__sheet li { display: flex; gap: 12px; align-items: center; }
.leadpop__sheet li i { width: 24px; height: 24px; flex: none; background: url(../img/icons/tickbox.webp) center / contain no-repeat; }
.leadpop__sheet li.is-open i { background: none; border: 1.5px solid #c9d3d8; border-radius: 6px; }
.leadpop__sheet li b { height: 9px; width: var(--w); border-radius: 5px; background: #e3e9ec; }
.leadpop__doc { position: absolute; right: 8%; bottom: 8%; width: 96px; height: 96px; transform: rotate(8deg); filter: drop-shadow(0 14px 22px rgba(4, 30, 40, 0.35)); }
.leadpop__body { display: flex; flex-direction: column; justify-content: center; padding: 60px 54px 46px; }
.leadpop__body .badge { align-self: flex-start; }
.leadpop__title { margin: 18px 0 14px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.1rem, 3.5vw, 3rem); line-height: 1.02; letter-spacing: -0.03em; color: #eef8fb; text-wrap: balance; }
.leadpop__title em { color: var(--teal); }
.leadpop__lead { margin: 0 0 26px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.74); }
.leadpop__lead strong { color: #fff; font-weight: 400; -webkit-text-stroke: 0.4px currentColor; overflow-wrap: anywhere; }
.leadpop__form .field { margin-bottom: 20px; }
.leadpop__form .field--check label { font-size: 15px; }
.leadpop__form .btn { margin-top: 6px; }
.leadpop__small { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.5); }
.leadpop__small a { color: rgba(255, 255, 255, 0.78); text-decoration: underline; text-underline-offset: 3px; }
.leadpop__done { display: none; }
.leadpop__done:focus { outline: none; }
.leadpop__tick { width: 76px; height: 76px; margin: 0; }
.leadpop__tick .icon { width: 42px; height: 42px; stroke-width: 4.4; }
.leadpop.is-done .leadpop__tick .icon path { stroke-dasharray: 30; animation: mc-draw 0.5s 0.3s cubic-bezier(0.7, 0, 0.84, 0) both; }
@keyframes mc-draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
.leadpop.is-done .leadpop__ask { display: none; }
.leadpop.is-done .leadpop__done { display: block; animation: mc-pop-in 0.6s var(--ease) both; }
.leadpop > .brand-stripe { position: absolute; left: 0; right: 0; bottom: 0; }
@media (max-width: 760px) {
	.leadpop { width: 100%; margin: auto 0 0; max-height: 94dvh; border-radius: 26px 26px 0 0; }
	.leadpop[open] { animation-name: mc-sheet-up; }
	.leadpop.is-closing { animation-name: mc-sheet-down; }
	@keyframes mc-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
	@keyframes mc-sheet-down { from { transform: none; } to { transform: translateY(100%); } }
	.leadpop__card { grid-template-columns: 1fr; min-height: 0; max-height: calc(94dvh - 8px); }
	.leadpop__art { place-items: start center; height: 150px; padding: 30px 24px 0; }
	.leadpop__sheet { width: 230px; }
	.leadpop__doc { width: 64px; height: 64px; right: 10%; bottom: 14px; }
	.leadpop__body { padding: 26px 22px 34px; }
	.leadpop__title { margin-top: 14px; font-size: 2.2rem; }
	.leadpop__lead { font-size: 16px; margin-bottom: 20px; }
	.leadpop__close { top: 14px; right: 14px; width: 44px; height: 44px; }
	.leadpop__form .btn { font-size: 19px; white-space: nowrap; padding-left: 20px; padding-right: 20px; }
}
.leadbar {
	position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 880;
	display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 10px;
	background: #0a1519; color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 22px;
	box-shadow: 6px -6px 0 var(--primary), 0 18px 40px rgba(0, 0, 0, 0.4);
	transform: translateY(calc(100% + 40px)); transition: transform 0.55s var(--ease);
}
.leadbar.is-in { transform: none; }
.leadbar[hidden] { display: none; }
.leadbar__open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 4px; border: 0; background: none; color: inherit; text-align: left; font: inherit; }
.leadbar__open img { width: 44px; height: 44px; flex: none; }
.leadbar__text { flex: 1; min-width: 0; font-family: var(--font-serif); font-size: 17px; line-height: 1.15; }
.leadbar__text small { display: block; margin-bottom: 2px; font-family: inherit; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.leadbar__go { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; }
.leadbar__go .icon { width: 20px; height: 20px; }
.leadbar__close { width: 40px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, 0.6); }
.leadbar__close .icon { width: 18px; height: 18px; }
.leadbar__open:focus-visible, .leadbar__close:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) {
	.leadbar { transition: none; }
	.leadpop[open], .leadpop.is-closing, .leadpop[open]::backdrop, .leadpop.is-closing::backdrop, .leadpop[open] .leadpop__sheet, .leadpop.is-done .leadpop__done, .leadpop.is-done .leadpop__tick .icon path { animation: none; }
}

/* ---------- Custom cursor (fine pointers only, added by main.js) ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.has-cursor textarea, html.has-cursor [contenteditable="true"] { cursor: text !important; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; width: 0; height: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity 0.25s; transform: translate3d(-100px, -100px, 0); }
html.cursor-on .cursor-dot, html.cursor-on .cursor-ring { opacity: 1; }
html.cursor-text .cursor-dot, html.cursor-text .cursor-ring { opacity: 0; }
.cursor-dot::before, .cursor-ring::before { content: ""; position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%) scale(var(--s, 1)); transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s; }
.cursor-dot::before { width: 9px; height: 9px; background: var(--lime); box-shadow: 0 0 0 1.5px rgba(10, 21, 25, 0.55); }
.cursor-ring::before { width: 42px; height: 42px; border: 1.5px solid var(--teal); box-shadow: 0 0 0 1px rgba(10, 21, 25, 0.12); }
html.cursor-hot .cursor-ring { --s: 1.6; }
html.cursor-hot .cursor-ring::before { background: rgba(29, 173, 201, 0.16); border-color: var(--teal); }
html.cursor-hot .cursor-dot { --s: 0.6; }
html.cursor-down .cursor-ring { --s: 0.75; }
html.cursor-hot.cursor-down .cursor-ring { --s: 1.3; }

@media (max-width: 1180px) {
	.nav__list a { padding: 10px; font-size: 15.5px; }
	.site-header__cta { display: none; }
}
@media (max-width: 1024px) {
	.nav, .site-header__cta { display: none; }
	.menu-toggle { display: inline-flex; }
	.explorer { grid-template-columns: 1fr; }
	.explorer__tabs { position: static; display: grid; grid-template-columns: 1fr 1fr; }
	.services .explorer__tab[aria-selected="true"] { transform: none; }

	/* accordion: each service opens directly under its own button */
	.explorer.is-accordion .explorer__tabs { display: flex; flex-direction: column; gap: 10px; }
	.explorer.is-accordion .explorer__panels { display: none; }
	/* panels now sit between the buttons, so count every other child for the colours */
	.services .explorer.is-accordion .explorer__tab:nth-child(12n + 1) { --card: var(--teal); --card-ink: var(--ink); }
	.services .explorer.is-accordion .explorer__tab:nth-child(12n + 3) { --card: var(--green); --card-ink: var(--ink); }
	.services .explorer.is-accordion .explorer__tab:nth-child(12n + 5) { --card: var(--lime); --card-ink: var(--ink); }
	.services .explorer.is-accordion .explorer__tab:nth-child(12n + 7) { --card: var(--primary); --card-ink: #fff; }
	.services .explorer.is-accordion .explorer__tab:nth-child(12n + 9) { --card: var(--cyan); --card-ink: var(--ink); }
	.services .explorer.is-accordion .explorer__tab:nth-child(12n + 11) { --card: var(--slate); --card-ink: #fff; }
	.explorer.is-accordion .explorer__panel { margin: 4px 0 14px; }
	.services .explorer.is-accordion .explorer__tab[aria-expanded="true"] { background: var(--card); color: var(--card-ink); box-shadow: 0 0 0 3px #fff, 0 12px 30px rgba(0, 0, 0, 0.35); }
	.explorer.is-accordion .explorer__go { opacity: 1; transform: rotate(90deg); }
	.explorer.is-accordion .explorer__tab[aria-expanded="true"] .explorer__go { transform: rotate(-90deg); }
	.explorer.is-accordion .explorer__tab:hover { transform: none; }
	.checklist__grid { grid-template-columns: 1fr 1fr; }
	.audiences, .cards { grid-template-columns: 1fr 1fr; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.why__grid { grid-template-columns: 1fr 1fr; }
	.why__media { grid-row: auto; grid-column: 1 / -1; min-height: 0; }
	.why__media img { aspect-ratio: 16 / 8; height: auto; }
	.lifecycle { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 20px; border-radius: 28px; }
	.lifecycle__step, .lifecycle__step:nth-last-child(2) { padding: 0; }
	.lifecycle__line { display: none; }
}
@media (max-width: 820px) {
	.split, .contact__grid { grid-template-columns: 1fr; }
	.portraits { margin: 8px auto 0; max-width: 460px; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	:root { --r-panel: 24px; }
	.site-header { inset: 10px 0 auto; }
	.site-header__inner { min-height: 58px; padding: 6px 6px 6px 16px; }
	.site-header__brand .logo { height: 32px; }
	.menu-toggle { min-height: 46px; padding: 0 16px; }
	.hero { padding-top: calc(var(--frame) + 96px); }
	.hero__title { font-size: clamp(3rem, 14vw, 4.6rem); letter-spacing: -0.04em; }
	.h2, .split .h2, .contact__grid .h2 { font-size: clamp(2.8rem, 12.6vw, 3.8rem); }
	.hero__inner, 	.hero .btn { min-height: 60px; }
	.hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; }
	.explorer__tabs, .explorer__items, .checklist__grid, .audiences, .cards, .form__row, .why__grid { grid-template-columns: 1fr; }
	.explorer__media img { aspect-ratio: 16 / 9; }
	.explorer__head { grid-template-columns: 1fr; }
	.services .explorer__media { width: min(100%, 360px); }
	.lifecycle { grid-template-columns: 1fr 1fr; padding: 24px; }
	.site-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__bottom { flex-direction: column; }
	.split__text .btn, .panel .btn { width: 100%; }
	.post-nav { flex-direction: column; }
	.feature { padding: 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
html.reduce-motion .loader { display: none !important; }

/* ---------- Editor palette helpers ---------- */
.has-ink-color { color: #14202b; } .has-ink-background-color { background-color: #14202b; }
.has-navy-color { color: #1c2533; } .has-navy-background-color { background-color: #1c2533; }
.has-primary-color { color: #0b7d97; } .has-primary-background-color { background-color: #0b7d97; }
.has-teal-color { color: #1dadc9; } .has-teal-background-color { background-color: #1dadc9; }
.has-cyan-color { color: #27ccda; } .has-cyan-background-color { background-color: #27ccda; }
.has-green-color { color: #00d27f; } .has-green-background-color { background-color: #00d27f; }
.has-lime-color { color: #c1cd24; } .has-lime-background-color { background-color: #c1cd24; }
.has-cream-color { color: #ebe1d0; } .has-cream-background-color { background-color: #ebe1d0; }
