/* ==========================================================================
   Fionet Security theme
   Palette: petrol (oil & gas Port Harcourt) + hi-vis orange (actions only).
   Type: Archivo variable, width axis used expanded for display.
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
	     url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"),
	     url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations"),
	     url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens ----------------------------------------------------------------- */
:root {
	--petrol: #0f2f36;
	--petrol-deep: #0a2328;
	--petrol-frame: #071a1e;
	--petrol-line: rgba(232, 240, 239, 0.14);
	--ink: #15252a;
	--steel: #56676b;
	--rule: #d6dedd;
	--paper: #f2f5f4;
	--white: #ffffff;
	--gold: #f8c500;
	--gold-hover: #ffd43a;
	--gold-deep: #a67c00;
	--gold-ink: #15252a;
	--brand-red: #d3140c;
	--signal: #3bd07f;
	--alert: #b42318;
	--on-dark: #e8f0ef;
	--on-dark-muted: #a9bdbc;

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;

	--fs-body: 1.125rem;
	--fs-small: 0.9375rem;
	--fs-xs: 0.8125rem;
	--fs-lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
	--fs-h4: 1.3125rem;
	--fs-h3: clamp(1.3125rem, 1.2rem + 0.4vw, 1.5rem);
	--fs-h2: clamp(1.875rem, 1.35rem + 1.9vw, 3rem);
	--fs-h1: clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem);
	--fs-display: clamp(2.5rem, 1.25rem + 4.4vw, 4.5rem);

	--wide-display: 118%;
	--wide-heading: 112%;
	--wide-title: 108%;

	--wrap: 1240px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--section: clamp(4rem, 2.8rem + 4vw, 7.5rem);
	--header-h: 84px;

	--r-sm: 4px;
	--r-md: 10px;
	--r-lg: 16px;

	--shadow-pop: 0 22px 48px -22px rgba(10, 35, 40, 0.38), 0 2px 6px rgba(10, 35, 40, 0.06);
	--focus: 0 0 0 3px var(--white), 0 0 0 5px var(--ink);
	--focus-dark: 0 0 0 3px var(--petrol), 0 0 0 5px var(--gold);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 1079px) {
	:root {
		--header-h: 68px;
	}
}

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

html {
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--fs-body);
	font-weight: 400;
	font-stretch: 100%;
	line-height: 1.6;
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.nav-open {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

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

a:hover {
	color: var(--ink);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: none;
	box-shadow: var(--focus);
	border-radius: var(--r-sm);
}

::selection {
	background: var(--gold);
	color: var(--gold-ink);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: inherit;
	font-weight: 720;
	line-height: 1.12;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

address {
	font-style: normal;
}

abbr[title] {
	text-decoration: none;
}

dl,
dd {
	margin: 0;
}

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--gold);
	color: var(--gold-ink);
	font-weight: 650;
	text-decoration: none;
	border-radius: var(--r-sm);
}

.skip-link:focus {
	top: 12px;
}

.icon {
	flex: none;
	display: inline-block;
	vertical-align: middle;
}

.muted {
	color: var(--steel);
}

.nowrap {
	white-space: nowrap;
}

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

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

.section-title {
	font-size: var(--fs-h2);
	font-stretch: var(--wide-heading);
	font-weight: 740;
	letter-spacing: -0.012em;
	line-height: 1.06;
}

.section-lead {
	margin-top: 1rem;
	color: var(--steel);
	font-size: var(--fs-lead);
	line-height: 1.5;
	max-width: 46ch;
}

.section-head {
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: var(--petrol);
	font-weight: 650;
	text-decoration: underline;
	text-decoration-color: var(--gold-deep);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

.text-link:hover {
	color: var(--ink);
	text-decoration-thickness: 3px;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-border: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 48px;
	padding: 0.7em 1.35em;
	border: 2px solid var(--btn-border);
	border-radius: var(--r-sm);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: inherit;
	font-size: 1rem;
	font-weight: 680;
	font-stretch: 104%;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.btn:hover {
	color: var(--btn-fg);
	text-decoration: none;
}

.btn-lg {
	min-height: 56px;
	padding: 0.85em 1.6em;
	font-size: 1.0625rem;
}

.btn-block {
	width: 100%;
}

.btn-primary {
	--btn-bg: var(--gold);
	--btn-fg: var(--gold-ink);
	--btn-border: var(--gold);
}

.btn-primary:hover {
	--btn-bg: var(--gold-hover);
	--btn-border: var(--gold-hover);
}

.btn-outline {
	--btn-fg: var(--petrol);
	--btn-border: var(--petrol);
}

.btn-outline:hover {
	--btn-bg: var(--petrol);
	--btn-fg: var(--white);
}

.btn-ghost {
	--btn-fg: var(--white);
	--btn-border: rgba(232, 240, 239, 0.45);
}

.btn-ghost:hover {
	--btn-border: var(--white);
	--btn-bg: rgba(255, 255, 255, 0.06);
}

.btn[disabled],
.btn.is-busy {
	opacity: 0.7;
	cursor: progress;
}

/* Header ----------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--petrol);
	color: var(--on-dark);
	transition: box-shadow 0.2s var(--ease);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}


.site-header.is-scrolled {
	box-shadow: 0 1px 0 var(--petrol-line), 0 14px 30px -20px rgba(0, 0, 0, 0.7);
}

.brand:focus-visible,
.header-actions :focus-visible {
	box-shadow: var(--focus-dark);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	text-decoration: none;
	color: var(--white);
}

.brand-logo {
	width: auto;
	height: 64px;
	max-width: 240px;
	object-fit: contain;
	object-position: left center;
}

@media (max-width: 1079px) {
	.brand-logo {
		height: 50px;
		max-width: 190px;
	}
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.25rem;
	font-weight: 780;
	font-stretch: 116%;
	letter-spacing: -0.01em;
	line-height: 1;
}

.wordmark--light {
	color: var(--petrol);
}

.wordmark--dark {
	color: var(--white);
}

.wordmark-icon {
	color: var(--gold);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}

.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--white);
	font-weight: 650;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	white-space: nowrap;
	padding: 8px 4px;
}

.header-phone .icon {
	color: var(--gold);
}

.header-phone:hover {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

.nav-toggle,
.nav-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: var(--r-sm);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.nav-toggle {
	color: var(--white);
}

/* Desktop navigation */
.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav .top-item {
	position: relative;
	display: flex;
	align-items: center;
}

.primary-nav .top-item > .menu-link {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 0.75rem;
	color: var(--on-dark);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	border-radius: var(--r-sm);
}

.primary-nav .top-item.has-children > .menu-link {
	padding-right: 0.15rem;
}

.primary-nav .top-item > .menu-link:hover,
.primary-nav .top-item.is-current > .menu-link {
	color: var(--white);
}

.primary-nav .top-item.is-current > .menu-link .menu-title {
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.45em;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--on-dark-muted);
	cursor: pointer;
	border-radius: var(--r-sm);
}

.submenu-toggle .icon {
	transition: transform 0.2s var(--ease);
}

.submenu-toggle[aria-expanded="true"] .icon {
	transform: rotate(180deg);
}

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

@media (min-width: 1080px) {
	.primary-nav {
		margin-left: 1rem;
	}

	.primary-nav .top-item > .menu-link:focus-visible,
	.primary-nav .submenu-toggle:focus-visible {
		box-shadow: var(--focus-dark);
	}

	.primary-nav .submenu-toggle:hover {
		color: var(--white);
	}

	.primary-nav .sub-menu {
		position: absolute;
		top: calc(100% + 10px);
		left: -0.5rem;
		min-width: 250px;
		padding: 0.5rem;
		background: var(--white);
		border: 1px solid var(--rule);
		border-radius: var(--r-md);
		box-shadow: var(--shadow-pop);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-4px);
		transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0s linear 0.16s;
	}

	.primary-nav .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -12px;
		height: 12px;
	}

	.primary-nav .top-item.is-open > .sub-menu,
	.primary-nav .top-item.has-children:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0s;
	}

	.primary-nav .sub-item > .menu-link {
		display: flex;
		align-items: flex-start;
		gap: 0.75rem;
		padding: 0.6rem 0.75rem;
		color: var(--ink);
		font-size: 0.975rem;
		font-weight: 560;
		line-height: 1.35;
		text-decoration: none;
		border-radius: var(--r-sm);
	}

	.primary-nav .sub-item > .menu-link:hover,
	.primary-nav .sub-item > .menu-link:focus-visible {
		background: var(--paper);
		color: var(--petrol);
	}

	.primary-nav .sub-item > .menu-link[aria-current="page"] {
		background: var(--paper);
		box-shadow: inset 3px 0 0 var(--gold-deep);
	}

	/* Services: wide panel with icons */
	.primary-nav .top-item.is-mega > .sub-menu {
		left: 50%;
		width: min(760px, 70vw);
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px;
		padding: 0.75rem;
		transform: translate(-50%, -4px);
	}

	.primary-nav .top-item.is-mega.is-open > .sub-menu,
	.primary-nav .top-item.is-mega:hover > .sub-menu {
		transform: translate(-50%, 0);
	}

	.menu-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		flex: none;
		border: 1px solid var(--rule);
		border-radius: var(--r-sm);
		color: var(--petrol);
		background: var(--white);
	}

	.menu-text {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.menu-desc {
		color: var(--steel);
		font-size: 0.8125rem;
		font-weight: 400;
		line-height: 1.4;
	}
}

@media (min-width: 1080px) and (max-width: 1199px) {
	.header-phone-number {
		display: none;
	}
}

.nav-panel-head,
.nav-panel-actions {
	display: none;
}

/* Mobile navigation (panel) */
@media (max-width: 1079px) {
	.header-cta {
		display: none;
	}

	.header-phone {
		width: 48px;
		height: 48px;
		justify-content: center;
		padding: 0;
		border: 1.5px solid var(--petrol-line);
		border-radius: var(--r-sm);
	}

	.header-phone-number {
		display: none;
	}

	.nav-toggle,
	.nav-close {
		display: inline-flex;
	}

	.header-actions {
		gap: 0.5rem;
	}

	.primary-nav {
		position: fixed;
		inset: 0 0 0 auto;
		z-index: 200;
		width: min(420px, 100%);
		height: 100vh;
		height: 100dvh;
		display: flex;
		flex-direction: column;
		background: var(--white);
		box-shadow: -24px 0 48px -24px rgba(10, 35, 40, 0.45);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.28s var(--ease), visibility 0s linear 0.28s;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.primary-nav.is-open {
		transform: none;
		visibility: visible;
		transition: transform 0.28s var(--ease), visibility 0s;
	}

	.nav-panel-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.5rem 0.5rem 0.5rem 1.25rem;
		min-height: var(--header-h);
		border-bottom: 1px solid var(--rule);
	}

	.nav-panel-title {
		font-weight: 700;
		font-stretch: 110%;
		font-size: 1.125rem;
	}

	.primary-nav .menu {
		display: block;
		padding: 0.5rem 0;
	}

	.primary-nav .top-item {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--rule);
	}

	.primary-nav .top-item > .menu-link {
		flex: 1;
		padding: 1rem 1.25rem;
		color: var(--ink);
		font-size: 1.125rem;
		font-stretch: 106%;
	}

	.primary-nav .top-item > .menu-link:hover,
	.primary-nav .top-item.is-current > .menu-link {
		color: var(--petrol);
	}

	.primary-nav .top-item.is-current > .menu-link .menu-title {
		text-decoration-color: var(--gold-deep);
	}

	.primary-nav .top-item.has-children > .menu-link {
		padding-right: 0.5rem;
	}

	.submenu-toggle {
		width: 56px;
		height: 56px;
		color: var(--petrol);
	}

	.primary-nav .sub-menu {
		display: none;
		width: 100%;
		padding: 0 0 0.75rem;
	}

	.primary-nav .top-item.is-open > .sub-menu {
		display: block;
	}

	.primary-nav .sub-item > .menu-link {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 0.65rem 1.25rem 0.65rem 1.5rem;
		color: var(--ink);
		font-size: 1rem;
		text-decoration: none;
	}

	.primary-nav .sub-item > .menu-link[aria-current="page"] {
		color: var(--petrol);
		font-weight: 650;
		box-shadow: inset 3px 0 0 var(--gold-deep);
	}

	.menu-icon {
		color: var(--petrol);
		display: inline-flex;
	}

	.menu-desc {
		display: none;
	}

	.nav-panel-actions {
		display: grid;
		gap: 0.75rem;
		margin-top: auto;
		padding: 1.25rem;
		border-top: 1px solid var(--rule);
		background: var(--paper);
	}

	.nav-panel-actions .btn-outline {
		background: var(--white);
	}

	.nav-scrim {
		position: fixed;
		inset: 0;
		z-index: 150;
		background: rgba(7, 26, 30, 0.5);
	}
}

@media (min-width: 1080px) {
	.nav-scrim {
		display: none !important;
	}
}

/* Hero ------------------------------------------------------------------- */
.hero {
	background: var(--petrol);
	color: var(--on-dark);
	padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
	align-items: center;
	gap: clamp(2.5rem, 1rem + 4vw, 5rem);
}

.hero-title {
	color: var(--white);
	font-size: var(--fs-display);
	font-stretch: var(--wide-display);
	font-weight: 790;
	letter-spacing: -0.022em;
	line-height: 1.01;
	max-width: 11.5ch;
}

.hero-lead {
	margin: 1.5rem 0 0;
	max-width: 52ch;
	color: var(--on-dark);
	font-size: var(--fs-lead);
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin-top: 2.25rem;
}

/* The control-room monitor wall */
.monitor {
	margin: 0;
	padding: 10px;
	background: var(--petrol-frame);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 14px;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

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

.monitor-tile {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #0d2a30;
	border-radius: 4px;
}

.monitor-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.1) brightness(0.8);
}

.monitor-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px),
		linear-gradient(180deg, rgba(7, 26, 30, 0.15) 0%, rgba(7, 26, 30, 0) 40%, rgba(7, 26, 30, 0.55) 100%);
	mix-blend-mode: normal;
}

.monitor-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: rgba(15, 47, 54, 0.32);
	mix-blend-mode: multiply;
}

.monitor-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: rgba(232, 240, 239, 0.35);
}

.monitor-cam {
	position: absolute;
	left: 10px;
	top: 8px;
	z-index: 2;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.75rem;
	font-weight: 600;
	font-stretch: 108%;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.monitor-rec {
	position: absolute;
	right: 10px;
	top: 11px;
	z-index: 2;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--brand-red);
	box-shadow: 0 0 8px rgba(211, 20, 12, 0.85);
	animation: rec 2s steps(1) infinite;
}

@keyframes rec {
	0%,
	60% {
		opacity: 1;
	}
	61%,
	100% {
		opacity: 0.25;
	}
}

.monitor-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem 1.25rem;
	padding: 0.85rem 0.4rem 0.3rem;
	color: var(--on-dark-muted);
	font-size: 0.875rem;
	line-height: 1.3;
}

.monitor-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--on-dark);
	font-weight: 600;
}

.status-dot {
	position: relative;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--signal);
}

.status-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--signal);
	opacity: 0;
	animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
	0% {
		transform: scale(0.6);
		opacity: 0.7;
	}
	80%,
	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

.monitor-clock,
.monitor-next strong {
	color: var(--white);
	font-variant-numeric: tabular-nums;
	font-weight: 650;
}

.monitor-clock abbr {
	color: var(--on-dark-muted);
	font-weight: 500;
}

/* Credentials strip ------------------------------------------------------ */
.creds {
	border-bottom: 1px solid var(--rule);
}

.creds-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cred-cell {
	padding: 1.75rem 1.5rem 1.75rem 0;
}

.cred-cell + .cred-cell {
	padding-left: 1.5rem;
	border-left: 1px solid var(--rule);
}

.cred-icon {
	color: var(--petrol);
	margin-bottom: 0.75rem;
}

.cred-title {
	margin: 0;
	font-weight: 680;
	font-stretch: 104%;
	line-height: 1.3;
}

.cred-detail {
	margin: 0.25rem 0 0;
	color: var(--steel);
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
	line-height: 1.45;
}

/* Services index (home) -------------------------------------------------- */
.services-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: start;
}

.services-intro {
	position: sticky;
	top: calc(var(--header-h) + 32px);
}

.services-preview {
	position: relative;
	margin: 2rem 0 1.5rem;
	aspect-ratio: 4 / 3;
	border-radius: var(--r-md);
	overflow: hidden;
	background: var(--petrol);
}

.preview-frame {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.35s var(--ease);
}

.preview-frame.is-active {
	opacity: 1;
}

.preview-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.preview-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 35, 40, 0) 50%, rgba(10, 35, 40, 0.8) 100%);
}

.preview-icon {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: rgba(232, 240, 239, 0.5);
}

.preview-caption {
	position: absolute;
	left: 1.25rem;
	bottom: 1rem;
	z-index: 1;
	color: var(--white);
	font-weight: 700;
	font-stretch: 110%;
	font-size: 1.125rem;
}

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

.service-rows li {
	border-bottom: 1px solid var(--rule);
}

.service-row {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) 24px;
	align-items: center;
	gap: 1.25rem;
	padding: 1.35rem 1rem 1.35rem 0.75rem;
	color: var(--ink);
	text-decoration: none;
	transition: background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.service-row:hover,
.service-row:focus-visible,
.service-row.is-active {
	color: var(--ink);
	background: var(--paper);
	box-shadow: inset 3px 0 0 var(--gold-deep);
}

.service-row:focus-visible {
	box-shadow: inset 3px 0 0 var(--gold-deep), var(--focus);
}

.service-row-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--rule);
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--petrol);
}

.service-row-text {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.service-row-title {
	font-size: 1.3125rem;
	font-weight: 690;
	font-stretch: var(--wide-title);
	line-height: 1.25;
}

.service-row-desc {
	color: var(--steel);
	font-size: 1rem;
	line-height: 1.5;
}

.service-row-go {
	color: var(--steel);
	transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}

.service-row:hover .service-row-go,
.service-row.is-active .service-row-go {
	color: var(--petrol);
	transform: translateX(3px);
}

/* Process ---------------------------------------------------------------- */
.process {
	background: var(--paper);
}

.steps {
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3rem clamp(1.5rem, 1rem + 2vw, 3rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	counter-increment: step;
	position: relative;
	padding-top: 1.5rem;
	border-top: 2px solid var(--ink);
}

.step::after {
	content: "";
	position: absolute;
	left: 0;
	top: -2px;
	width: 48px;
	height: 2px;
	background: var(--gold-deep);
}

.step::before {
	content: counter(step);
	display: block;
	margin-bottom: 0.75rem;
	color: var(--petrol);
	font-size: 3.25rem;
	font-weight: 300;
	font-stretch: 125%;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.step-title {
	font-size: var(--fs-h3);
	font-stretch: var(--wide-title);
	font-weight: 700;
	margin-bottom: 0.6rem;
}

.step p {
	margin: 0;
	color: var(--ink);
	font-size: 1.0625rem;
	line-height: 1.55;
	max-width: 36ch;
}

/* About band + stats ----------------------------------------------------- */
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 1rem + 5vw, 6rem);
	align-items: start;
}

.about-copy .section-title {
	margin-bottom: 1.5rem;
	max-width: 16ch;
}

.about-copy p {
	max-width: 60ch;
}

.about-copy .btn {
	margin-top: 1rem;
}

.stats {
	border-top: 1px solid var(--rule);
}

.stat {
	display: flex;
	flex-direction: column-reverse;
	gap: 0.25rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--rule);
}

.stat-value {
	color: var(--petrol);
	font-size: clamp(2.75rem, 2rem + 2.6vw, 4.25rem);
	font-weight: 800;
	font-stretch: 120%;
	letter-spacing: -0.02em;
	line-height: 1;
	font-variant-numeric: tabular-nums lining-nums;
}

.stat-label {
	color: var(--steel);
	font-size: 1.0625rem;
	font-weight: 500;
}

/* Clients ---------------------------------------------------------------- */
.clients {
	padding-top: 0;
}

.clients-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	padding-top: var(--section);
}

.clients-grid::before,
.footer-bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	border-top: 1px solid var(--rule);
}

.client-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.client-list li {
	padding: 0.95rem 0;
	border-top: 1px solid var(--rule);
	font-size: 1.1875rem;
	font-weight: 560;
	font-stretch: 106%;
	line-height: 1.35;
}

/* Leadership + ID cards -------------------------------------------------- */
.leadership {
	background: var(--paper);
}

.id-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 0.5rem + 2vw, 2rem);
}

.id-card {
	--slot-bg: var(--paper);
	position: relative;
}

.id-card-link {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-top: 30px;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: 14px;
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.18s var(--ease);
}

.id-card-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: var(--gold);
}

.id-card-link:hover {
	color: var(--ink);
	border-color: var(--petrol);
}

.id-card-slot {
	position: absolute;
	top: 11px;
	left: 50%;
	width: 54px;
	height: 9px;
	margin-left: -27px;
	border-radius: 6px;
	background: var(--slot-bg);
	box-shadow: inset 0 1px 2px rgba(10, 35, 40, 0.25);
}

.id-card-photo {
	display: grid;
	place-items: center;
	margin: 0 18px;
	aspect-ratio: 4 / 4.4;
	overflow: hidden;
	border-radius: 8px;
	background: var(--paper);
	color: var(--steel);
}

.id-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
}

.id-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
	padding: 1.15rem 1.25rem 1.6rem;
}

.id-card-name {
	font-size: 1.375rem;
	font-weight: 720;
	font-stretch: 110%;
	line-height: 1.2;
}

.id-card-role {
	color: var(--steel);
	font-size: 1rem;
}

.id-card-creds {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.35rem;
}

.cred {
	padding: 0.15rem 0.5rem;
	border: 1px solid var(--rule);
	border-radius: var(--r-sm);
	color: var(--petrol);
	font-size: 0.8125rem;
	font-weight: 650;
	line-height: 1.5;
}

.id-card-more {
	margin-top: auto;
	padding-top: 0.75rem;
	color: var(--petrol);
	font-weight: 650;
	font-size: 0.975rem;
	text-decoration: underline;
	text-decoration-color: var(--gold-deep);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

.id-cards--page {
	margin-top: 1rem;
}

.page-wide .id-card {
	--slot-bg: var(--white);
}

.page-wide .id-card-slot {
	background: var(--paper);
}

/* Certificates (home) ---------------------------------------------------- */
.certs-grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: center;
}

.certs-copy .text-link {
	margin-top: 1.5rem;
}

.cert-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.875rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cert-thumbs a {
	display: block;
	aspect-ratio: 3 / 4;
	padding: 6px;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--r-sm);
	transition: border-color 0.18s var(--ease);
}

.cert-thumbs a:hover {
	border-color: var(--petrol);
}

.cert-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Call to action --------------------------------------------------------- */
.cta-band {
	padding-block: 0 var(--section);
}

.site-main > .cta-band:first-child,
.page-layout + .cta-band,
.page-wide + .cta-band,
.profile-layout + .cta-band {
	padding-top: 0;
}

.cta-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: center;
	gap: 2rem 3rem;
	padding: clamp(2rem, 1rem + 4vw, 3.75rem);
	background: var(--petrol);
	color: var(--on-dark);
	border-radius: var(--r-lg);
}

.cta-title {
	color: var(--white);
	font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
	font-weight: 760;
	font-stretch: 114%;
	letter-spacing: -0.015em;
	line-height: 1.05;
	margin-bottom: 1rem;
}

.cta-copy p {
	margin: 0;
	max-width: 48ch;
	font-size: var(--fs-lead);
	line-height: 1.5;
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.875rem;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
	background: var(--petrol-deep);
	color: var(--on-dark-muted);
	font-size: 1rem;
}

.site-footer a {
	color: var(--on-dark);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

.site-footer :focus-visible {
	box-shadow: 0 0 0 3px var(--petrol-deep), 0 0 0 5px var(--gold);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
	gap: 2.5rem clamp(1.5rem, 1rem + 2vw, 3rem);
	padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 3rem;
}

.brand--footer .brand-logo {
	height: 68px;
	max-width: 260px;
}

.footer-blurb {
	margin: 1.25rem 0 1.5rem;
	max-width: 36ch;
	color: var(--on-dark-muted);
	line-height: 1.6;
}

.footer-reg {
	display: grid;
	gap: 0.6rem;
}

.footer-reg div {
	display: flex;
	flex-direction: column;
}

.footer-reg dt {
	font-size: var(--fs-xs);
	color: var(--on-dark-muted);
}

.footer-reg dd {
	color: var(--on-dark);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.footer-heading {
	margin-bottom: 1.1rem;
	color: var(--white);
	font-size: 1rem;
	font-weight: 680;
	font-stretch: 108%;
}

.footer-links,
.footer-lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.55rem;
}

.footer-contact address {
	color: var(--on-dark);
	line-height: 1.55;
}

.footer-contact p {
	margin: 0.6rem 0 1.25rem;
}

.footer-contact .text-link {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

.footer-lines li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.55rem;
	font-variant-numeric: tabular-nums;
}

.footer-lines .icon {
	color: var(--on-dark-muted);
}

.footer-lines .muted {
	color: var(--on-dark-muted);
	font-size: var(--fs-small);
}

.footer-bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	padding-block: 1.4rem 1.75rem;
	font-size: var(--fs-small);
}

.footer-bottom::before {
	border-top-color: var(--petrol-line);
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
}

.social-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

/* Inner page hero -------------------------------------------------------- */
.page-hero {
	background: var(--petrol);
	color: var(--on-dark);
	padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(2.75rem, 2rem + 3vw, 4.5rem);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
	font-size: var(--fs-small);
}

.breadcrumbs li {
	color: var(--on-dark-muted);
}

.breadcrumbs li + li::before {
	content: "/";
	margin: 0 0.6em;
	color: rgba(169, 189, 188, 0.6);
}

.breadcrumbs a {
	color: var(--on-dark);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

.breadcrumbs :focus-visible {
	box-shadow: var(--focus-dark);
}

.page-hero-heading {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

.page-hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 64px;
	height: 64px;
	border: 1px solid var(--petrol-line);
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, 0.04);
	color: var(--white);
}

.page-title {
	color: var(--white);
	font-size: var(--fs-h1);
	font-weight: 770;
	font-stretch: 114%;
	letter-spacing: -0.018em;
	line-height: 1.04;
	max-width: 22ch;
}

.page-lead {
	margin: 1.15rem 0 0;
	max-width: 60ch;
	color: var(--on-dark);
	font-size: var(--fs-lead);
	line-height: 1.55;
}

/* Page layouts ----------------------------------------------------------- */
.page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(2.5rem, 1rem + 4vw, 5rem);
	align-items: start;
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section);
}

.page-wide {
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section);
}

.page-aside {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: grid;
	gap: 1.25rem;
}

.aside-card {
	padding: 1.5rem;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--r-md);
}

.aside-title {
	margin-bottom: 1rem;
	font-size: 1.125rem;
	font-weight: 700;
	font-stretch: 108%;
}

.aside-nav ul {
	margin: 0 -0.5rem;
	padding: 0;
	list-style: none;
}

.aside-nav a {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.6rem 0.5rem;
	color: var(--ink);
	font-size: 1rem;
	line-height: 1.35;
	text-decoration: none;
	border-radius: var(--r-sm);
}

.aside-nav a .icon {
	color: var(--petrol);
}

.aside-nav a:hover {
	background: var(--paper);
	color: var(--petrol);
}

.aside-nav a[aria-current="page"] {
	background: var(--paper);
	color: var(--petrol);
	font-weight: 650;
	box-shadow: inset 3px 0 0 var(--gold-deep);
}

.aside-quote {
	background: var(--petrol);
	border-color: var(--petrol);
	color: var(--on-dark);
}

.aside-quote .aside-title {
	color: var(--white);
}

.aside-quote p {
	font-size: 1rem;
	line-height: 1.55;
}

.aside-quote :focus-visible,
.hero :focus-visible,
.cta-panel :focus-visible,
.page-hero :focus-visible {
	box-shadow: var(--focus-dark);
}

.aside-phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 0.85rem;
	color: var(--white);
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}

.aside-phone:hover {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

.aside-note {
	display: flex;
	gap: 0.85rem;
	background: var(--paper);
	border-color: var(--paper);
}

.aside-note .icon {
	color: var(--petrol);
}

.aside-note p {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.55;
}

/* Prose (page content and core blocks) ----------------------------------- */
.prose {
	max-width: 70ch;
}

.prose--wide {
	max-width: none;
}

.prose--small {
	font-size: 1.0625rem;
}

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

.prose > *:last-child {
	margin-bottom: 0;
}

.prose p {
	margin: 0 0 1.15em;
	line-height: 1.68;
}

.prose h2 {
	margin: 1.9em 0 0.6em;
	font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem);
	font-weight: 730;
	font-stretch: var(--wide-heading);
	letter-spacing: -0.01em;
	line-height: 1.12;
}

.prose h3 {
	margin: 2em 0 0.6em;
	font-size: var(--fs-h3);
	font-weight: 700;
	font-stretch: var(--wide-title);
	line-height: 1.25;
}

.prose h4 {
	margin: 1.75em 0 0.5em;
	font-size: var(--fs-h4);
	font-weight: 680;
}

.prose h2 + h3 {
	margin-top: 1em;
}

.prose strong,
.prose b {
	font-weight: 680;
}

.prose a {
	color: var(--petrol);
	text-decoration: underline;
	text-decoration-color: var(--gold-deep);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
}

.prose a:hover {
	color: var(--ink);
}

.prose ul,
.prose ol {
	margin: 0 0 1.4em;
	padding-left: 1.5em;
}

.prose li {
	margin-bottom: 0.45em;
	line-height: 1.6;
	padding-left: 0.25em;
}

.prose ul {
	list-style: none;
	padding-left: 1.6em;
}

.prose ul > li {
	position: relative;
}

.prose ul > li::before {
	content: "";
	position: absolute;
	left: -1.3em;
	top: 0.62em;
	width: 7px;
	height: 7px;
	background: var(--gold-deep);
}

.prose ol > li::marker {
	color: var(--petrol);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.prose blockquote {
	margin: 2em 0;
	padding: 0.25em 0 0.25em 1.5em;
	border-left: 3px solid var(--gold-deep);
	font-size: var(--fs-lead);
	line-height: 1.5;
}

.prose blockquote p:last-child {
	margin-bottom: 0;
}

.prose blockquote cite {
	display: block;
	margin-top: 0.75em;
	color: var(--steel);
	font-size: var(--fs-small);
	font-style: normal;
}

.prose hr,
.prose .wp-block-separator {
	margin: 3em 0;
	border: 0;
	border-top: 1px solid var(--rule);
	opacity: 1;
}

.prose figure {
	margin: 2.25em 0;
}

.prose figcaption {
	margin-top: 0.75em;
	color: var(--steel);
	font-size: var(--fs-small);
	text-align: left;
}

.prose .wp-block-image img {
	border-radius: var(--r-sm);
}

/* Lead paragraph style for the first paragraph of key pages */
.prose .is-style-lead,
.prose p.has-large-font-size {
	font-size: var(--fs-lead);
	line-height: 1.55;
}

/* Columns (mission / vision / values) */
.prose .wp-block-columns {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin: 2.5em 0;
}

.prose .wp-block-column {
	margin: 0 !important;
	flex-basis: auto !important;
}

.prose .wp-block-column .wp-block-image {
	margin: 0 0 1rem;
}

.prose .wp-block-column .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.prose .wp-block-column h3 {
	margin: 0 0 0.4em;
}

.prose .wp-block-column p {
	font-size: 1rem;
	line-height: 1.55;
}

/* Gallery: even grid, lightbox-ready */
.prose .wp-block-gallery.has-nested-images {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 12px !important;
	margin: 2.5em 0;
}

.prose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: auto !important;
	margin: 0 !important;
	flex: none !important;
}

.prose .wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--r-sm);
}

.prose .wp-block-gallery.has-nested-images figure.wp-block-image a {
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.prose .wp-block-gallery.has-nested-images figure.wp-block-image::before {
	display: none;
}

/* Documents (certificates) show whole, not cropped */
.prose .wp-block-gallery.is-style-documents {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
}

.prose .wp-block-gallery.is-style-documents figure.wp-block-image:not(#individual-image) img {
	aspect-ratio: 3 / 4;
	object-fit: contain !important;
	padding: 8px;
	background: var(--white);
	border: 1px solid var(--rule);
}

.prose .wp-block-gallery.is-style-documents figure.wp-block-image:not(#individual-image) a:hover img {
	border-color: var(--petrol);
}

.prose .wp-block-embed {
	margin: 2.25em 0;
}

.embed-fallback a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--rule);
	border-radius: var(--r-md);
	color: var(--petrol);
	font-weight: 650;
	text-decoration: none;
}

.embed-fallback a .icon {
	color: var(--gold-deep);
}

.embed-fallback a:hover {
	border-color: var(--petrol);
}

.prose .wp-block-embed iframe {
	border-radius: var(--r-md);
	width: 100%;
}

/* Company information list (shortcode) */
.company-info {
	margin: 2em 0;
	border-top: 1px solid var(--rule);
}

.company-info > div {
	display: grid;
	grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
	gap: 0.25rem 1.5rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--rule);
}

.company-info dt {
	color: var(--steel);
	font-size: 1rem;
}

.company-info dd {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Services overview page ------------------------------------------------- */
.services-overview-head {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: 2rem clamp(2rem, 1rem + 4vw, 5rem);
	align-items: start;
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.facts {
	border-top: 1px solid var(--rule);
}

.fact {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--rule);
}

.fact dt {
	color: var(--steel);
}

.fact dd {
	font-weight: 680;
	text-align: right;
}

.service-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
	margin: 0 0 var(--section);
	padding: 0;
	list-style: none;
}

.service-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--ink);
	text-decoration: none;
	border-top: 2px solid var(--ink);
}

.service-card-link:hover {
	color: var(--ink);
}

.service-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	margin-top: 1rem;
	overflow: hidden;
	border-radius: var(--r-sm);
	background: var(--paper);
}

.service-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}

.service-card-link:hover .service-card-media img {
	transform: scale(1.03);
}

.service-card-media.is-icon-tile {
	display: grid;
	place-items: center;
	background: var(--petrol);
	color: rgba(232, 240, 239, 0.75);
}

.service-card-media.is-icon-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
	pointer-events: none;
}

.service-card-icon {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--petrol);
	box-shadow: 0 6px 16px -8px rgba(10, 35, 40, 0.4);
}

.service-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
	padding: 1.25rem 0 0.5rem;
}

.service-card-title {
	font-size: 1.375rem;
	font-weight: 720;
	font-stretch: 110%;
	line-height: 1.2;
}

.service-card-desc {
	margin: 0;
	color: var(--steel);
	font-size: 1rem;
	line-height: 1.55;
}

.service-card-more {
	margin-top: auto;
	padding-top: 0.5rem;
	color: var(--petrol);
	font-weight: 650;
	font-size: 0.975rem;
	text-decoration: underline;
	text-decoration-color: var(--gold-deep);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

/* Single service --------------------------------------------------------- */
.service-figure {
	margin: 0 0 2.25rem;
}

.service-figure img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--r-md);
}

.service-cta {
	margin: 2.75rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--rule);
}

/* Team profile ----------------------------------------------------------- */
.profile-layout {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr);
	gap: clamp(2.5rem, 1rem + 4vw, 5rem);
	align-items: start;
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section);
}

.profile-card {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.profile-photo {
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--paper);
	color: var(--steel);
}

.profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
}

.profile-subtitle {
	margin: 1.75rem 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	font-stretch: 108%;
}

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

.profile-creds li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--rule);
	font-size: 1rem;
	line-height: 1.45;
}

.profile-creds .icon {
	color: var(--petrol);
	margin-top: 0.15em;
}

/* Contact page ----------------------------------------------------------- */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 1rem + 4vw, 5rem);
	align-items: start;
	padding-block: clamp(3rem, 2rem + 3vw, 5rem);
}

.contact-details {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--rule);
}

.contact-item {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 1rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--rule);
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--r-sm);
	background: var(--paper);
	color: var(--petrol);
}

.contact-heading {
	margin-bottom: 0.4rem;
	font-size: 1.0625rem;
	font-weight: 700;
	font-stretch: 106%;
}

.contact-item address,
.contact-item p {
	margin: 0 0 0.35rem;
	line-height: 1.55;
}

.contact-people {
	display: grid;
	gap: 0.75rem;
}

.contact-people dt {
	color: var(--steel);
	font-size: var(--fs-small);
}

.contact-people dd {
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

.contact-people a,
.contact-emails a {
	color: var(--ink);
	text-decoration: none;
}

.contact-people a:hover,
.contact-emails a:hover {
	color: var(--petrol);
	text-decoration: underline;
	text-decoration-color: var(--gold-deep);
}

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

.contact-emails li {
	margin-bottom: 0.3rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.contact-emails .muted {
	font-weight: 400;
	font-size: var(--fs-small);
}

.contact-form-panel,
.quote-main {
	min-width: 0;
}

.panel-title {
	margin-bottom: 0.75rem;
	font-size: var(--fs-h3);
	font-weight: 720;
	font-stretch: var(--wide-title);
}

.contact-form-panel .prose {
	margin-bottom: 1.5rem;
	color: var(--steel);
}

.map-band {
	padding-bottom: var(--section);
}

.map-frame {
	overflow: hidden;
	width: 100%;
	height: clamp(320px, 36vw, 480px);
	border-radius: var(--r-md);
	background: var(--paper);
	border: 1px solid var(--rule);
}

.map-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Quote page ------------------------------------------------------------- */
.quote-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(2.5rem, 1rem + 4vw, 5rem);
	align-items: start;
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section);
}

.quote-main .prose {
	margin-bottom: 2rem;
	color: var(--steel);
}

/* Forms ------------------------------------------------------------------ */
.fx-form {
	position: relative;
	display: grid;
	gap: 1.5rem;
}

.fx-form fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.fx-form .fx-section {
	display: grid;
	gap: 1.25rem;
	padding-top: 2rem;
	border-top: 1px solid var(--rule);
}

.fx-form .fx-section:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.fx-legend,
.fx-section-title {
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
	font-size: 1.25rem;
	font-weight: 720;
	font-stretch: 108%;
	line-height: 1.3;
}

.fx-hint {
	margin: -0.75rem 0 0;
	color: var(--steel);
	font-size: var(--fs-small);
}

.fx-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.fx-field {
	display: grid;
	gap: 0.4rem;
	min-width: 0;
}

.fx-label {
	font-size: 1rem;
	font-weight: 620;
}

.fx-label .fx-optional {
	color: var(--steel);
	font-weight: 400;
	font-size: var(--fs-small);
}

.fx-input,
.fx-textarea {
	width: 100%;
	min-height: 52px;
	padding: 0.75rem 0.9rem;
	border: 1.5px solid #b9c5c4;
	border-radius: var(--r-sm);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1.0625rem;
	line-height: 1.4;
	transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.fx-textarea {
	min-height: 150px;
	resize: vertical;
}

.fx-input:hover,
.fx-textarea:hover {
	border-color: var(--steel);
}

.fx-input:focus,
.fx-textarea:focus {
	outline: none;
	border-color: var(--petrol);
	box-shadow: 0 0 0 3px rgba(248, 197, 0, 0.55);
}

.fx-field.has-error .fx-input,
.fx-field.has-error .fx-textarea {
	border-color: var(--alert);
}

.fx-error {
	margin: 0;
	color: var(--alert);
	font-size: var(--fs-small);
	font-weight: 600;
}

.fx-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.fx-chip {
	position: relative;
	display: inline-flex;
}

.fx-chip input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.fx-chip > span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 46px;
	padding: 0.55rem 1rem 0.55rem 0.8rem;
	border: 1.5px solid #b9c5c4;
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: 1rem;
	font-weight: 560;
	line-height: 1.2;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.fx-chip-icon,
.fx-check {
	display: inline-flex;
	align-items: center;
}

.fx-chip > span .icon {
	color: var(--petrol);
}

.fx-chip > span .fx-check {
	display: none;
}

.fx-chip:hover > span {
	border-color: var(--petrol);
}

.fx-chip input:checked + span {
	background: var(--petrol);
	border-color: var(--petrol);
	color: var(--white);
}

.fx-chip input:checked + span .icon {
	color: var(--white);
}

.fx-chip input:checked + span .fx-check {
	display: inline-flex;
	color: var(--gold);
}

.fx-chip input:checked + span .fx-chip-icon {
	display: none;
}

.fx-chip input:focus-visible + span {
	box-shadow: var(--focus);
}

.fx-hp input {
	width: 1px;
}

.fx-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fx-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	padding-top: 0.5rem;
}

.fx-privacy {
	margin: 0;
	color: var(--steel);
	font-size: var(--fs-small);
	max-width: 46ch;
}

.fx-status:empty {
	display: none;
}

.fx-alert {
	display: flex;
	gap: 0.75rem;
	padding: 1rem 1.15rem;
	border-radius: var(--r-md);
	font-size: 1rem;
	line-height: 1.5;
}

.fx-alert p {
	margin: 0;
}

.fx-alert--error {
	background: #fdeceb;
	color: #7a1610;
}

.fx-alert--error .icon {
	color: var(--alert);
}

.fx-done {
	display: grid;
	justify-items: start;
	gap: 0.75rem;
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	background: var(--paper);
	border-radius: var(--r-md);
	border-left: 4px solid var(--signal);
}

.fx-done .icon {
	color: #1f9d58;
}

.fx-done-title {
	font-size: var(--fs-h3);
	font-weight: 720;
	font-stretch: var(--wide-title);
}

.fx-done p {
	margin: 0;
	max-width: 52ch;
}

.fx-spinner {
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(21, 37, 42, 0.25);
	border-top-color: var(--ink);
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
	display: none;
}

.btn.is-busy .fx-spinner {
	display: inline-block;
}

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

/* Lightbox --------------------------------------------------------------- */
.lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--white);
}

.lightbox::backdrop {
	background: rgba(7, 26, 30, 0.94);
}

.lightbox-inner {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 64px 72px;
}

.lightbox-img {
	max-width: 100%;
	max-height: calc(100dvh - 140px);
	width: auto;
	height: auto;
	border-radius: var(--r-sm);
	background: var(--white);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.lightbox-count {
	position: absolute;
	left: 50%;
	bottom: 20px;
	margin: 0;
	transform: translateX(-50%);
	color: var(--on-dark-muted);
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
}

.lightbox-btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	cursor: pointer;
}

.lightbox-btn:hover {
	background: rgba(255, 255, 255, 0.14);
}

.lightbox-btn:focus-visible {
	box-shadow: 0 0 0 3px var(--gold);
}

.lightbox-prev {
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-next {
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-close {
	right: 12px;
	top: 12px;
}

.lightbox.is-single .lightbox-prev,
.lightbox.is-single .lightbox-next,
.lightbox.is-single .lightbox-count {
	display: none;
}

/* 404 and lists ---------------------------------------------------------- */
.notfound-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notfound-links a {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.5rem;
	border: 1px solid var(--rule);
	border-radius: var(--r-md);
	color: var(--ink);
	font-weight: 680;
	font-stretch: 106%;
	text-decoration: none;
}

.notfound-links a .icon {
	color: var(--petrol);
}

.notfound-links a:hover {
	border-color: var(--petrol);
	color: var(--petrol);
}

.post-list {
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 70ch;
}

.post-list-item {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--rule);
}

.post-list-title {
	margin-bottom: 0.5rem;
	font-size: var(--fs-h3);
	font-stretch: var(--wide-title);
}

.post-list-title a {
	color: var(--ink);
	text-decoration: none;
}

.page-lead-dark {
	color: var(--steel);
	font-size: var(--fs-lead);
}

/* WhatsApp --------------------------------------------------------------- */
.whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	height: 56px;
	padding: 0 1.15rem 0 0.95rem;
	border-radius: 999px;
	background: #25d366;
	color: #0b3d22;
	font-weight: 680;
	text-decoration: none;
	box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
}

.whatsapp-float:hover {
	color: #0b3d22;
	background: #3be07a;
}

@media (max-width: 640px) {
	.whatsapp-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.whatsapp-float {
		width: 56px;
		padding: 0;
		justify-content: center;
	}
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (max-width: 1023px) {
	.hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-title {
		max-width: 14ch;
	}

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

	.cred-cell,
	.cred-cell + .cred-cell {
		padding: 1.5rem 1.25rem;
		border-left: 0;
	}

	.cred-cell:nth-child(2n) {
		border-left: 1px solid var(--rule);
	}

	.cred-cell:nth-child(n + 3) {
		border-top: 1px solid var(--rule);
	}

	.cred-cell:nth-child(2n + 1) {
		padding-left: 0;
	}

	.services-grid,
	.about-grid,
	.clients-grid,
	.certs-grid,
	.services-overview-head,
	.contact-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.services-intro {
		position: static;
	}

	.services-preview {
		display: none;
	}

	.services-intro .text-link {
		margin-top: 1rem;
	}

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

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

	.cert-thumbs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cta-panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.cta-actions {
		justify-content: flex-start;
	}

	.page-layout,
	.quote-layout,
	.profile-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-aside,
	.profile-card {
		position: static;
	}

	.profile-card {
		max-width: 420px;
	}

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

@media (max-width: 680px) {
	:root {
		--fs-body: 1.0625rem;
	}

	.hero-actions .btn,
	.cta-actions .btn {
		width: 100%;
	}

	.monitor-bar {
		font-size: 0.8125rem;
	}

	.creds-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.cred-cell,
	.cred-cell + .cred-cell,
	.cred-cell:nth-child(2n),
	.cred-cell:nth-child(2n + 1) {
		display: grid;
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 0.85rem;
		padding: 1.15rem 0;
		border-left: 0;
		border-top: 1px solid var(--rule);
	}

	.cred-cell:first-child {
		border-top: 0;
	}

	.cred-icon {
		grid-row: span 2;
		margin: 0;
	}

	.service-row {
		grid-template-columns: 44px minmax(0, 1fr) 20px;
		gap: 0.9rem;
		padding: 1.1rem 0.5rem 1.1rem 0.25rem;
	}

	.service-row-icon {
		width: 44px;
		height: 44px;
	}

	.service-row-title {
		font-size: 1.1875rem;
	}

	.service-row-desc {
		font-size: 0.9375rem;
	}

	.steps,
	.id-cards,
	.service-cards,
	.client-list,
	.footer-grid,
	.notfound-links {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.fx-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.company-info > div {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-hero-icon {
		width: 52px;
		height: 52px;
	}


	.lightbox-inner {
		padding: 64px 12px 72px;
	}

	.lightbox-prev,
	.lightbox-next {
		top: auto;
		bottom: 8px;
		transform: none;
	}

	.lightbox-prev {
		left: 12px;
	}

	.lightbox-next {
		right: 12px;
	}
}

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

	.monitor-rec {
		opacity: 1;
	}

	.status-dot::after {
		display: none;
	}
}

/* Print ------------------------------------------------------------------ */
@media print {
	.site-header,
	.nav-scrim,
	.cta-band,
	.whatsapp-float,
	.page-aside,
	.lightbox {
		display: none !important;
	}

	.page-hero,
	.hero {
		background: none;
		color: var(--ink);
	}

	.page-title,
	.hero-title,
	.page-lead {
		color: var(--ink);
	}
}
