/*
 * Burer Energy — site styles.
 * Design: an engineering datasheet. IBM Plex Sans for headings and text,
 * IBM Plex Mono for codes and labels, blueprint grids on the dark bands.
 * Colours are custom properties; the plugin replaces them with the palette
 * taken from the logo.
 */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-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; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-700-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: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens (defaults; the logo palette overrides these) ---------- */
:root {
	--ink: #0c1626;
	--ink-2: #1a2435;
	--ink-3: #293343;
	--text: #2a2e34;
	--steel: #595e66;
	--steel-2: #858990;
	--line: #dde0e3;
	--line-2: #e9ebee;
	--line-strong: #c1c4c9;
	--mist: #edf6fa;
	--mist-2: #deecf3;
	--on-dark: #e9ebef;
	--on-dark-2: #b8bec7;
	--hi: #2bb3e6;
	--hi-text: #007398;
	--hi-bright: #2bb3e6;
	--hi-soft: #d6f0fd;
	--accent: #f39200;
	--accent-hover: #ffa53e;
	--accent-ink: #0c1626;
	--accent-text: #a05e00;
	--accent-mark: #f39200;
	--accent-bright: #f39200;

	--ok: #067647;
	--error: #b42318;
	--error-bg: #fef3f2;

	--font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 4px;
	--top-h: 40px;
	--mast-h: 76px;
	--rule-dark: rgba(255, 255, 255, .14);
	--shadow: 0 1px 2px rgba(10, 18, 32, .06), 0 10px 28px -8px rgba(10, 18, 32, .14);
	--shadow-lg: 0 2px 4px rgba(10, 18, 32, .06), 0 24px 48px -12px rgba(10, 18, 32, .24);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--mast-h) + 20px);
}
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--font);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.015em;
	color: var(--ink);
	text-wrap: balance;
}
p { margin: 0 0 1.1em; }
a { color: inherit; }
strong, b { font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.icon { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.topbar :focus-visible, .blueprint :focus-visible, .section--ink :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-bright); }
::selection { background: var(--accent); color: var(--accent-ink); }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.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;
	top: -200px;
	left: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--radius);
}
.skip-link:focus { top: 12px; outline-color: var(--accent-bright); }
.site-main { display: block; }
.site-main:focus { outline: none; }

/* Labels: a square marker and small mono capitals. */
.label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-family: var(--mono);
	font-size: .75rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--steel);
}
.label::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: none;
	background: var(--accent-mark);
}
.label--light, .blueprint .label, .section--ink .label { color: var(--on-dark-2); }
.label--light::before, .blueprint .label::before, .section--ink .label::before { background: var(--accent-bright); }

.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--text); }

/* Code tags (LV, MV, …). */
.code-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 24px;
	padding: 0 6px;
	border: 1px solid var(--line-strong);
	border-radius: 3px;
	font-family: var(--mono);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1;
	color: var(--ink);
	background: #fff;
	flex: none;
}

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .005em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { color: var(--ink); border-color: var(--line-strong); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }

.link {
	color: var(--ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--accent-mark);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.link:hover { color: var(--accent-text); }
.link--arrow, .link--back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}
.link--arrow .icon, .link--back .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.link--arrow:hover .icon { transform: translateX(3px); }
.link--back:hover .icon { transform: translateX(-3px); }
.section--ink .link, .blueprint .link { color: #fff; }

/* ---------- Blueprint grid and corner frames ---------- */
.blueprint {
	position: relative;
	background-color: var(--ink);
	color: var(--on-dark-2);
	background-image:
		linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}
.blueprint h1, .blueprint h2, .blueprint h3 { color: #fff; }

/* A ruler along the bottom edge of the dark top bands. */
.page-hero::after, .hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 12px;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .26) 0 1px, transparent 1px 12px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 120px);
	background-size: 100% 6px, 100% 12px;
	background-position: -1px 100%, -1px 100%;
	background-repeat: no-repeat;
}

.frame { position: relative; }
.frame::before, .frame::after {
	content: "";
	position: absolute;
	z-index: 2;
	width: 30px;
	height: 30px;
	border: 2px solid var(--accent-mark);
	pointer-events: none;
}
.frame::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.frame::after { right: -10px; bottom: -10px; border-left: 0; border-top: 0; }
.frame--dark::before, .frame--dark::after { border-color: var(--accent-bright); }

.fig-caption {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: baseline;
	gap: 10px;
	max-width: calc(100% - 24px);
	margin: 0;
	padding: 9px 14px;
	background: rgba(8, 14, 24, .82);
	background: color-mix(in srgb, var(--ink) 86%, transparent);
	color: #fff;
	font-size: .8125rem;
	line-height: 1.4;
}
.fig-caption span {
	flex: none;
	font-family: var(--mono);
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent-bright);
}

/* ---------- Top strip ---------- */
.topbar {
	background: var(--ink);
	color: var(--on-dark-2);
	font-size: .8125rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--top-h);
}
.topbar__tag {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--mono);
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.topbar__mark { width: 6px; height: 6px; background: var(--accent-bright); flex: none; }
.topbar__links { display: flex; align-items: center; gap: 24px; list-style: none; }
.topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	color: var(--on-dark);
	text-decoration: none;
}
.topbar__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar__links .icon { width: 15px; height: 15px; color: var(--accent-bright); }

/* ---------- Masthead ---------- */
.masthead {
	position: sticky;
	top: 0;
	z-index: 60;
	background: #fff;
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease;
}
.admin-bar .masthead { top: 32px; }
.masthead.is-solid { box-shadow: 0 8px 24px -12px rgba(10, 18, 32, .22); }
.masthead__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--mast-h);
}
.logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	text-decoration: none;
	margin-right: auto;
}
.logo__img {
	width: auto;
	height: 46px;
	max-width: min(270px, 56vw);
	object-fit: contain;
	object-position: left center;
}
.logo__img--tall { height: 58px; }
.logo__word { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }

.nav { display: none; }
.nav__list { display: flex; align-items: stretch; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item--drop { position: static; }
.nav__link {
	position: relative;
	display: flex;
	align-items: center;
	min-height: var(--mast-h);
	padding: 0 14px;
	font-size: .9688rem;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
}
.nav__link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: -1px;
	height: 3px;
	background: var(--accent-mark);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
.nav__link:hover::after, .nav__link.is-current::after, .nav__item--drop.is-open > .nav__link::after { transform: scaleX(1); }
.nav__item--drop > .nav__link { padding-right: 4px; }
.nav__toggle {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-right: 6px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: var(--steel);
}
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__toggle:hover { color: var(--ink); background: var(--mist); }
.nav__item--drop.is-open .nav__toggle .icon { transform: rotate(180deg); }

.dropdown {
	position: absolute;
	top: 100%;
	right: var(--gutter);
	z-index: 5;
	width: 600px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent-mark);
	box-shadow: var(--shadow-lg);
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.nav__item--drop.is-open .dropdown {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity .15s ease, transform .15s ease;
}
.dropdown__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; list-style: none; }
.dropdown__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 3px;
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--ink);
	text-decoration: none;
}
.dropdown__link:hover { background: var(--mist); }
.dropdown__icon { width: 22px; height: 22px; color: var(--ink-3); transition: color .15s ease; }
.dropdown__link:hover .dropdown__icon { color: var(--accent-text); }
.dropdown__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 10px 0 0;
	padding: 12px 12px 2px;
	border-top: 1px solid var(--line);
	font-family: var(--mono);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
}
.dropdown__all .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.dropdown__all:hover { color: var(--accent-text); }
.dropdown__all:hover .icon { transform: translateX(3px); }

.masthead__cta { display: none; min-height: 44px; padding: 10px 20px; }

.burger {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-right: -6px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
}
.burger .icon { width: 24px; height: 24px; }
.burger__open, .burger__close { display: grid; place-items: center; }
.burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: grid; }

.mobile-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--mast-h) - var(--top-h));
	max-height: calc(100dvh - var(--mast-h) - var(--top-h));
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-top: 1px solid var(--line);
	box-shadow: 0 30px 40px -20px rgba(10, 18, 32, .35);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner { padding-top: 8px; padding-bottom: 28px; }
.mobile-nav__list { list-style: none; }
.mobile-nav__item { border-bottom: 1px solid var(--line); }
.mobile-nav__row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__link {
	flex: 1;
	display: block;
	padding: 15px 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}
.mobile-nav__link[aria-current="page"] { color: var(--accent-text); }
.mobile-nav__toggle {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
}
.mobile-nav__toggle .icon { transition: transform .2s ease; }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__sub { display: grid; gap: 2px; padding: 0 0 14px; list-style: none; }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	font-size: 1rem;
	color: var(--text);
	text-decoration: none;
}
.mobile-nav__icon { width: 20px; height: 20px; color: var(--steel); }
.mobile-nav__foot { display: grid; gap: 6px; padding-top: 22px; }
.mobile-nav__foot .btn { margin-bottom: 10px; }
.mobile-nav__contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
}
.mobile-nav__contact .icon { width: 18px; height: 18px; color: var(--steel); }
body.menu-open { overflow: hidden; }
/* Without JavaScript the small-screen menu is shown open, below the header. */
html:not(.js) .burger, html:not(.js) .mobile-nav__toggle { display: none; }
html:not(.js) .mobile-nav[hidden], html:not(.js) .mobile-nav__sub[hidden] { display: block; }
html:not(.js) .mobile-nav { position: static; max-height: none; box-shadow: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 4vw + 40px, 112px); }
.section--tight-top { padding-top: clamp(40px, 3vw + 20px, 64px); }
.section--mist { background: var(--mist); }
.section--line { padding-block: clamp(48px, 3vw + 28px, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { color: var(--on-dark-2); }
.section--ink + .section--ink { border-top: 1px solid var(--rule-dark); }

.section-head { margin-bottom: clamp(32px, 3vw + 12px, 52px); }
.section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px 48px;
}
.section-head__main { max-width: 680px; }
.section-head--split .section-lead { max-width: 42ch; }
.section-title { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.625rem); margin: 0 0 22px; }
.section-head .section-title { margin: 0; }
.section-title--sm { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); }
.section-lead { max-width: 46ch; margin: 0; color: var(--steel); }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-lead { color: var(--on-dark-2); }
.section-head__main .section-title + p { margin-top: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; list-style: none; }
.chips li {
	padding: 6px 12px;
	border: 1px solid var(--line-strong);
	border-radius: 3px;
	background: #fff;
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--ink);
}
.chips--dark { margin: 0 0 40px; }
.chips--dark li { border-color: rgba(255, 255, 255, .26); background: transparent; color: #fff; }

/* ---------- Page heroes ---------- */
.page-hero { padding: clamp(36px, 3vw + 20px, 56px) 0 clamp(56px, 4vw + 32px, 88px); color: var(--on-dark-2); }
.crumbs { margin-bottom: clamp(28px, 3vw + 8px, 48px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; }
.crumbs li {
	display: inline-flex;
	align-items: center;
	font-family: var(--mono);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--on-dark-2);
}
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .35); }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--on-dark-2); }
.page-hero__body { display: grid; gap: 24px; }
.page-hero__title { max-width: 22ch; margin: 0; font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.375rem); letter-spacing: -.025em; line-height: 1.08; }
.page-hero__lead { max-width: 62ch; margin: 20px 0 0; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--on-dark-2); }
.page-hero__code {
	font-family: var(--mono);
	font-size: clamp(3.5rem, 2rem + 6vw, 8.5rem);
	font-weight: 500;
	line-height: .85;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--hi-bright);
}
.page-hero__icon { display: inline-flex; color: var(--hi-bright); }
.page-hero__icon .icon { width: clamp(56px, 3rem + 4vw, 120px); height: clamp(56px, 3rem + 4vw, 120px); stroke-width: 1.1; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 22px 0 0;
	font-size: .9375rem;
	color: var(--on-dark-2);
}
.page-hero__meta .icon { width: 18px; height: 18px; color: var(--accent-bright); }
.page-hero--article .page-hero__title { max-width: 30ch; font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem); }
.page-hero--overlap { padding-bottom: clamp(120px, 10vw + 60px, 180px); }

.title-block { display: none; }
.title-block p { margin: 0; }
.hero-search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; margin-top: 30px; }
.hero-search__field { position: relative; flex: 1 1 260px; }
.hero-search__field .icon { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; color: var(--steel); transform: translateY(-50%); pointer-events: none; }
.hero-search input {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px 12px 44px;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	background: #fff;
	color: var(--text);
	font-size: 1rem;
}
.hero-search input:focus { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.hero-search .btn { min-height: 50px; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(48px, 4vw + 24px, 88px) 0 0; color: var(--on-dark-2); overflow: hidden; }
.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero__title { margin: 0; font-size: clamp(2.375rem, 1.6rem + 2.9vw, 3.75rem); line-height: 1.05; letter-spacing: -.03em; max-width: 17ch; }
.hero__lead { max-width: 54ch; margin: 24px 0 0; font-size: clamp(1.0625rem, .98rem + .4vw, 1.25rem); line-height: 1.6; color: var(--on-dark-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__figure { margin: 0 10px; }
.hero__media { aspect-ratio: 5 / 4; overflow: hidden; background: var(--ink-2); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }

.spec-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: clamp(48px, 4vw + 24px, 80px) 0 0;
	padding-bottom: 36px;
	border-top: 1px solid var(--rule-dark);
}
.spec-row__item { padding: 20px 20px 0 0; }
.spec-row__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule-dark); }
.spec-row dt {
	font-family: var(--mono);
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--on-dark-2);
}
.spec-row dd { margin: 6px 0 0; font-size: clamp(1.0625rem, .92rem + .6vw, 1.375rem); font-weight: 600; line-height: 1.3; color: #fff; }

/* ---------- Service cards ---------- */
.svc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1px;
	list-style: none;
	background: var(--line);
	border: 1px solid var(--line);
}
.svc { display: flex; background: #fff; }
.svc__link {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 28px 26px 24px;
	color: inherit;
	text-decoration: none;
	transition: background-color .2s ease;
}
.svc__link::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	height: 3px;
	background: var(--accent-mark);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.svc__link:hover { background: var(--mist); }
.svc__link:hover::before, .svc__link:focus-visible::before { transform: scaleX(1); }
.svc__link:focus-visible { outline-offset: -3px; }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.svc__code {
	display: inline-flex;
	align-items: center;
	min-width: 44px;
	height: 28px;
	justify-content: center;
	padding: 0 8px;
	border: 1px solid var(--line-strong);
	border-radius: 3px;
	font-family: var(--mono);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--ink);
	transition: border-color .2s ease, background-color .2s ease;
}
.svc__link:hover .svc__code { border-color: var(--accent-mark); background: #fff; }
.svc__icon { width: 36px; height: 36px; color: var(--ink-3); transition: color .2s ease; }
.svc__link:hover .svc__icon { color: var(--accent-text); }
.svc__title { margin: 24px 0 10px; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; }
.svc__text { flex: 1; font-size: .9375rem; line-height: 1.6; color: var(--steel); }
.svc__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px dashed var(--line-strong);
	font-family: var(--mono);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--steel);
}
.svc__foot .icon { width: 18px; height: 18px; color: var(--ink); transition: transform .2s ease; }
.svc__link:hover .svc__foot .icon { transform: translateX(4px); }

.svc--cta .svc__link { background: var(--ink); color: var(--on-dark-2); }
.svc--cta .svc__link:hover { background: var(--ink-2); }
.svc--cta .svc__code { border-color: rgba(255, 255, 255, .3); color: #fff; }
.svc--cta .svc__link:hover .svc__code { background: transparent; border-color: var(--accent-bright); }
.svc--cta .svc__icon { color: var(--accent-bright); }
.svc--cta .svc__title { color: #fff; }
.svc--cta .svc__text { color: var(--on-dark-2); }
.svc--cta .svc__foot { border-top-color: rgba(255, 255, 255, .2); color: #fff; }
.svc--cta .svc__foot .icon { color: var(--accent-bright); }
.svc--cta .svc__link:focus-visible { outline-color: var(--accent-bright); }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: 48px; align-items: center; }
.split__text > p:last-of-type { margin-bottom: 0; }
.split__text .link--arrow { margin-top: 4px; }
.split__media { margin: 0 10px; }
.split--top { align-items: start; }
.split__frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); }
.split__img { width: 100%; height: 100%; object-fit: cover; }

.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; padding-bottom: 24px; }
.duo__a, .duo__b { overflow: visible; }
.duo__b { margin-top: 64px; }
.duo__b.frame::before, .duo__b.frame::after { display: none; }
.duo__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--mist-2); }
.stamp {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	display: grid;
	place-content: center;
	gap: 4px;
	width: 116px;
	height: 116px;
	margin: 0;
	background: var(--accent);
	color: var(--accent-ink);
	text-align: center;
}
.stamp__k { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.stamp__v { font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; }

/* ---------- Sectors (dark band) ---------- */
.sectors { display: grid; grid-template-columns: minmax(0, 1fr); list-style: none; border-top: 1px solid var(--rule-dark); }
.sector { padding: 26px 0 22px; }
.sector + .sector { border-top: 1px solid var(--rule-dark); }
.sector__num { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; color: var(--hi-bright); }
.sector__icon { display: block; width: 36px; height: 36px; margin: 18px 0 14px; color: #fff; }
.sector__title { margin: 0; font-size: 1.25rem; color: #fff; }
.sector__list { margin: 14px 0 0; list-style: none; }
.sector__list li { padding: 7px 0; font-size: .9375rem; border-bottom: 1px dashed rgba(255, 255, 255, .12); color: var(--on-dark-2); }
.sector__list li:last-child { border-bottom: 0; }

/* ---------- Why us: promises and the scope sheet ---------- */
.why { display: grid; gap: 48px; align-items: start; }
.promises { margin: 32px 0 0; list-style: none; }
.promise { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.promise:last-child { border-bottom: 1px solid var(--line); }
.promise__icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.promise__icon .icon { width: 26px; height: 26px; }
.promise__title { margin: 2px 0 6px; font-size: 1.1875rem; }
.promise p { margin: 0; color: var(--steel); }

.sheet { background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; background: var(--ink); }
.sheet__title { margin: 0; font-size: 1.0625rem; color: #fff; letter-spacing: 0; }
.sheet__ref { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--hi-bright); }
.sheet__list { padding: 6px 22px; list-style: none; }
.sheet__list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); line-height: 1.45; }
.sheet__list li:last-child { border-bottom: 0; }
.sheet__list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); }
.sheet__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 22px;
	border-top: 1px solid var(--line-strong);
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.sheet__link .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.sheet__link:hover { background: var(--accent); color: var(--accent-ink); }
.sheet__link:hover .icon { transform: translateX(3px); }
.sheet__link:focus-visible { outline-offset: -3px; }

/* ---------- Clients ---------- */
.clients-band { display: grid; gap: 28px; align-items: center; }
.clients-band__head .section-title { max-width: 18ch; }
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); }
.clients__item { display: grid; place-items: center; min-height: 128px; padding: 22px clamp(12px, 2vw, 24px); background: #fff; }
.clients__img { width: auto; height: auto; max-width: min(168px, 100%); max-height: 70px; object-fit: contain; }
.clients__name { font-weight: 600; color: var(--ink); text-align: center; }

/* ---------- Article cards ---------- */
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.news-card { display: flex; }
.news-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--line);
	color: inherit;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.news-card__link:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.news-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card__link:hover .news-card__img { transform: scale(1.03); }
.news-card__placeholder { display: grid; place-items: center; height: 100%; min-height: 140px; color: var(--steel-2); }
.news-card__placeholder .icon { width: 40px; height: 40px; }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.news-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	font-family: var(--mono);
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--steel);
}
.news-card__meta span { color: var(--accent-text); }
.news-card__title { margin: 12px 0 18px; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.005em; }
.news-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: .875rem; font-weight: 600; color: var(--ink); }
.news-card__more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.news-card__link:hover .news-card__more .icon { transform: translateX(3px); }

/* Blog listing: the latest article large, two beside it. */
.news-top { display: grid; gap: 24px; margin-bottom: 56px; }
.lead-story { display: flex; }
.lead-story__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border: 1px solid var(--line);
	color: inherit;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.lead-story__link:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.lead-story__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist-2); }
.lead-story__img { width: 100%; height: 100%; object-fit: cover; }
.lead-story__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2vw + 10px, 34px); }
.lead-story__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.lead-story__meta span { padding: 2px 8px; background: var(--accent); color: var(--accent-ink); }
.lead-story__title { margin: 14px 0 12px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
.lead-story__text { margin: 0 0 20px; color: var(--steel); }
.lead-story__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 600; color: var(--ink); }
.lead-story__more .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.lead-story__link:hover .lead-story__more .icon { transform: translateX(3px); }
.news-top__side { display: grid; gap: 24px; }

.list-title {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-family: var(--mono);
	font-size: .78rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--steel);
}
* + .list-title { margin-top: 48px; }

.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	font-family: var(--mono);
	font-size: .875rem;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
}
.page-numbers .icon { width: 16px; height: 16px; }
a.page-numbers:hover { border-color: var(--ink); }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-numbers.dots { border-color: transparent; }

.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; list-style: none; }
.tile {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) 18px;
	grid-template-areas: "icon title arrow" "icon text arrow";
	gap: 4px 16px;
	align-items: start;
	align-content: start;
	height: 100%;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--line);
	color: inherit;
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tile:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.tile__icon { grid-area: icon; width: 28px; height: 28px; color: var(--ink-3); }
.tile__title { grid-area: title; font-weight: 600; color: var(--ink); }
.tile__text { grid-area: text; font-size: .9375rem; line-height: 1.5; color: var(--steel); }
.tile__arrow { grid-area: arrow; align-self: center; width: 18px; height: 18px; color: var(--ink); transition: transform .15s ease; }
.tile:hover .tile__arrow { transform: translateX(3px); }

.empty { max-width: 560px; margin: 0 auto; padding: 48px 0; text-align: center; }
.empty__icon { width: 44px; height: 44px; margin: 0 auto 18px; color: var(--steel-2); }
.empty__title { font-size: 1.5rem; }
.empty a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent-mark); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- About ---------- */
.facts { margin: 28px 0 30px; border-top: 1px solid var(--line-strong); }
.facts__row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { padding-top: 3px; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.facts dd { margin: 0; font-weight: 500; color: var(--ink); }

.purpose { display: grid; gap: 24px; }
.purpose__card { position: relative; padding: clamp(28px, 2vw + 16px, 44px); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.purpose__icon { display: grid; place-items: center; width: 54px; height: 54px; background: var(--ink); color: var(--accent-bright); }
.purpose__icon .icon { width: 28px; height: 28px; }
.purpose__title { margin: 26px 0 12px; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.purpose__text { margin: 0; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; list-style: none; background: var(--line); border: 1px solid var(--line); }
.value { display: grid; align-content: start; gap: 14px; min-height: 160px; padding: 24px 22px; background: #fff; transition: background-color .2s ease; }
.value:hover { background: var(--mist); }
.value__num { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: var(--steel); }
.value__icon { width: 32px; height: 32px; color: var(--ink); transition: color .2s ease; }
.value:hover .value__icon { color: var(--accent-text); }
.value__name { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--ink); }

/* ---------- Services page ---------- */
.svc-rows { list-style: none; border-top: 1px solid var(--line-strong); }
.svc-row { position: relative; display: grid; gap: 14px 40px; padding: 36px 0; border-bottom: 1px solid var(--line-strong); }
.svc-row__index { display: flex; align-items: center; gap: 16px; }
.svc-row__icon { width: 56px; height: 56px; padding: 12px; border: 1px solid var(--line-strong); color: var(--ink); transition: color .2s ease, border-color .2s ease; }
.svc-row:hover .svc-row__icon { color: var(--accent-text); border-color: var(--accent-mark); }
.svc-row__code { font-family: var(--mono); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.875rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; color: var(--ink); transition: color .2s ease; }
.svc-row__count { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; color: var(--steel); }
.svc-row__title { margin: 0 0 12px; font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); line-height: 1.2; }
.svc-row__title a { color: var(--ink); text-decoration: none; }
.svc-row__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-row__title a:focus-visible { outline: none; }
.svc-row__title a:focus-visible::after { outline: 3px solid var(--ink); outline-offset: 6px; }
.svc-row__text { max-width: 64ch; margin: 0 0 18px; color: var(--steel); }
.svc-row__points { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.svc-row__points li { padding: 5px 10px; border: 1px solid var(--line); background: var(--mist); font-size: .8125rem; line-height: 1.35; color: var(--text); }
.svc-row__points .svc-row__more { border-style: dashed; border-color: var(--line-strong); background: transparent; color: var(--steel); }
.svc-row__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.svc-row__go .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.svc-row:hover .svc-row__title a { color: var(--accent-text); }
.svc-row:hover .svc-row__go .icon { transform: translateX(4px); }
.svc-row__media { display: none; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); }
.svc-row__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc-row:hover .svc-row__img { transform: scale(1.03); }

/* ---------- Service page ---------- */
.page-hero--service .page-hero__icon { order: -1; }
.service { display: grid; gap: 48px; align-items: start; }
.service__intro { margin: 0 0 36px; }
.datasheet { overflow: hidden; border: 1px solid var(--line-strong); }
.datasheet__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 16px 22px; background: var(--ink); }
.datasheet__title { margin: 0; font-size: 1.0625rem; color: #fff; letter-spacing: 0; }
.datasheet__ref { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--hi-bright); }
.datasheet__list { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: -1px; list-style: none; }
.datasheet__list li { display: flex; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.45; color: var(--ink); }
.datasheet__list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); }
.datasheet__num { flex: none; min-width: 54px; padding-top: 2px; font-family: var(--mono); font-size: .75rem; font-weight: 500; color: var(--steel); }
.service__side { display: grid; gap: 28px; }
.service__figure { margin: 0 10px; }
.service__frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); }
.service__img { width: 100%; height: 100%; object-fit: cover; }
.talk { padding: 24px; background: var(--mist); border-left: 3px solid var(--accent-mark); }
.talk__title { margin: 0 0 8px; font-size: 1.125rem; }
.talk p { margin: 0; font-size: .9375rem; color: var(--steel); }
.talk__list { margin: 14px 0 0; list-style: none; }
.talk__list li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.talk__list .icon { width: 18px; height: 18px; color: var(--steel); }
.talk__list a { font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.talk__list a:hover { text-decoration: underline; text-decoration-color: var(--accent-mark); text-underline-offset: 3px; }

.quote-band { display: grid; gap: 40px; align-items: start; }
.quote-band__title { margin-bottom: 14px; }
.quote-band__copy > p { color: var(--steel); }
.steps { margin: 28px 0 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-strong); font-weight: 500; color: var(--ink); }
.steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.steps__num { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ink); font-family: var(--mono); font-size: .75rem; font-weight: 500; color: var(--ink); }
.steps--stack li { align-items: flex-start; font-weight: 400; color: var(--text); }
.steps--stack strong { color: var(--ink); }

.pager { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 40px; }
.pager__link { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .15s ease; }
.pager__link:hover { border-color: var(--ink); }
.pager__dir { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.pager__dir .icon { width: 16px; height: 16px; }
.pager__title { font-weight: 600; line-height: 1.35; color: var(--ink); }
.pager__link--next { justify-items: end; text-align: right; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(22px, 2.5vw + 10px, 40px); background: #fff; border: 1px solid var(--line-strong); border-top: 3px solid var(--accent-mark); box-shadow: var(--shadow); }
.form-card__title {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 16px;
	margin: 0 0 24px;
	padding-bottom: 14px;
	border-bottom: 1px dashed var(--line-strong);
	font-family: var(--mono);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink);
}
.form-card__ref { color: var(--steel); }
.enquiry__title { margin: 0 0 8px; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); }
.enquiry__intro { margin: 0 0 26px; color: var(--steel); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 20px; }
.field { display: grid; gap: 8px; margin: 0 0 20px; }
.field label, .field > .label-like { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--steel); }
.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: #fff;
	color: var(--text);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--accent-mark); outline-offset: 1px; }
.field ::placeholder { color: var(--steel-2); opacity: 1; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--steel);
	border-bottom: 2px solid var(--steel);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.field--file input[type="file"] {
	padding: 10px;
	border-style: dashed;
	background: var(--mist);
	cursor: pointer;
}
.field--file input[type="file"]::file-selector-button {
	margin-right: 14px;
	padding: 9px 14px;
	border: 0;
	border-radius: 3px;
	background: var(--ink);
	color: #fff;
	font: 600 .875rem/1.2 var(--font);
	cursor: pointer;
}
.field__hint { margin: 0; font-size: .875rem; color: var(--steel); }
.field__error { margin: 0; font-size: .875rem; font-weight: 600; color: var(--error); }
.field--error input:not([type="checkbox"]), .field--error select, .field--error textarea { border-color: var(--error); }
.check, .field > .check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-size: .9375rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--text);
	cursor: pointer;
}
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.field--check { margin: 4px 0 22px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__actions, .apply__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.enquiry__privacy, .apply__privacy { flex: 1 1 220px; margin: 0; font-size: .875rem; color: var(--steel); }
.form-alert { margin: 0 0 24px; padding: 14px 18px; border-left: 4px solid var(--error); background: var(--error-bg); color: #7a271a; }
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 4px; }
.form-alert:focus, .form-done:focus { outline: none; }
.form-done { padding: 8px 0; }
.form-done__icon { width: 46px; height: 46px; margin-bottom: 14px; color: var(--ok); }
.form-done__title { margin: 0 0 10px; font-size: 1.5rem; }
.form-done p { color: var(--text); }
.form-done__note { padding: 10px 14px; border-left: 3px solid var(--line-strong); background: var(--mist); font-size: .9375rem; }

/* ---------- Careers ---------- */
.careers { display: grid; gap: 48px; align-items: start; }
.careers__info > p a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent-mark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.careers__info .section-title { margin-bottom: 16px; }
.careers__sub { margin: 34px 0 14px; font-size: 1.0625rem; letter-spacing: 0; }
.disciplines { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 20px; list-style: none; }
.disciplines li { display: flex; gap: 10px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.disciplines .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); }
.careers__email { margin: 30px 0 0; padding: 16px 18px; background: var(--mist); border-left: 3px solid var(--accent-mark); }
.careers__email a { color: var(--ink); font-weight: 600; word-break: break-word; text-decoration-color: var(--accent-mark); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 18px; align-items: start; padding: 22px; background: #fff; border: 1px solid var(--line); }
.contact-card > :not(.contact-card__icon) { grid-column: 2; }
.contact-card__icon { grid-row: span 4; display: grid; place-items: center; width: 48px; height: 48px; background: var(--mist); color: var(--ink); }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card__title { margin: 2px 0 6px; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.contact-card p { margin: 0; color: var(--ink); }
.contact-card .link--arrow { margin-top: 10px; }
.contact-card__list { list-style: none; }
.contact-card__big { font-size: 1.25rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-card__mail { font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-card__big:hover, .contact-card__mail:hover { text-decoration: underline; text-decoration-color: var(--accent-mark); text-underline-offset: 3px; }

.hours { margin: 14px 0 0; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--rule-dark); }
.hours dt, .hours dd { margin: 0; }
.hours--card .hours__row { border-bottom-color: var(--line); }

.map { position: relative; display: flex; flex-direction: column; background: var(--mist-2); }
.map__frame { display: block; width: 100%; height: 340px; border: 0; }
.map__card { padding: 22px 0 32px; }
.map__coords { margin: 0 0 6px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; color: var(--steel); }
.map__card .map__name { margin: 0 0 4px; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.map__card p { margin: 0 0 10px; }

/* ---------- Articles ---------- */
.article { max-width: calc(900px + var(--gutter) * 2); padding-bottom: clamp(56px, 4vw + 32px, 88px); }
.article__body, .article__foot { max-width: 720px; margin-inline: auto; }
.page-hero--article .page-hero__inner { max-width: calc(720px + var(--gutter) * 2); }
.article__figure { position: relative; z-index: 2; margin: 0 0 40px; }
.page-hero--overlap + .article .article__figure { margin-top: calc(-1 * clamp(84px, 8vw + 40px, 140px)); }
.article__img { width: 100%; max-height: 560px; object-fit: cover; box-shadow: var(--shadow-lg); }
.article__figure figcaption { margin-top: 10px; font-size: .875rem; color: var(--steel); }
.page-hero--article + .article { padding-top: 48px; }
.page-hero--overlap + .article { padding-top: 0; }

.prose { font-size: 1.125rem; line-height: 1.75; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2em 0 .6em; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); line-height: 1.25; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 1.3125rem; line-height: 1.3; }
.prose h4 { margin: 1.6em 0 .5em; font-size: 1.125rem; }
.prose p { margin: 0 0 1.25em; }
.prose a { color: var(--ink); font-weight: 500; text-decoration-color: var(--accent-mark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-text); }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--accent-text); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent-mark); font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-caption-text { margin-top: 8px; font-size: .875rem; color: var(--steel); }
.prose .wp-caption { max-width: 100%; }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); border-bottom-color: var(--line-strong); }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose code { padding: 2px 6px; background: var(--mist); font-family: var(--mono); font-size: .9em; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose iframe { width: 100%; }

.article__foot { display: grid; gap: 22px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.article__foot .link--back { color: var(--ink); font-weight: 600; }
.article__nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.article__step { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .15s ease; }
.article__step:hover { border-color: var(--ink); }
.article__step-label { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.article__step-title { font-weight: 600; line-height: 1.35; color: var(--ink); }
.article__step--older { text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background-color: var(--footer-bg, var(--ink)); color: var(--footer-muted, var(--on-dark-2)); }
.footer-cta { padding: clamp(56px, 4vw + 32px, 88px) 0; border-bottom: 1px solid var(--rule-dark); }
.footer-cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.footer-cta__copy { max-width: 640px; }
.footer-cta__title { margin: 0 0 12px; font-size: clamp(1.875rem, 1.35rem + 1.7vw, 2.875rem); letter-spacing: -.02em; color: #fff; }
.footer-cta__copy > p:not(.label) { margin: 0; font-size: 1.0625rem; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-main { display: grid; gap: 40px; padding-top: clamp(48px, 4vw + 24px, 72px); padding-bottom: clamp(40px, 3vw + 24px, 64px); }
.logo--footer { margin: 0; }
.logo--footer .logo__img { height: 50px; max-width: 280px; }
.logo--footer .logo__img--tall { height: 72px; }
.logo--footer .logo__word { color: #fff; }
.logo-plate { display: inline-flex; padding: 10px 14px; background: #fff; border-radius: var(--radius); }
.logo-plate .logo__img { height: 42px; }
.footer-brand__blurb { max-width: 42ch; margin: 22px 0 16px; font-size: .9375rem; line-height: 1.65; }
.footer-brand__tag { margin: 0; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--footer-accent, var(--accent-bright)); }
.footer-col__title { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-dark); font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-col ul { display: grid; gap: 10px; list-style: none; }
.footer-col a { color: var(--footer-muted, var(--on-dark-2)); text-decoration: none; font-size: .9375rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-col--services a { display: inline-flex; gap: 10px; }
.footer-code { display: inline-block; min-width: 24px; font-family: var(--mono); font-size: .75rem; font-weight: 500; line-height: 1.9; color: var(--footer-accent, var(--accent-bright)); }
.footer-contact__line { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; margin: 0 0 12px; font-size: .9375rem; line-height: 1.55; }
.footer-contact__line .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--footer-accent, var(--accent-bright)); }
.footer-contact__line a { color: inherit; text-decoration: none; word-break: break-word; }
.footer-contact__line a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--rule-dark); font-size: .875rem; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.footer-bottom p { margin: 0; }
.credit a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: var(--footer-accent, var(--accent-bright)); text-underline-offset: 3px; }

/* ---------- Plain fallback (plugin inactive) ---------- */
.is-fallback .fallback-head, .is-fallback .fallback-foot { padding: 18px 0; background: var(--ink); color: #fff; }
.is-fallback .fallback-head a, .is-fallback .fallback-foot a { color: #fff; font-weight: 600; }
.is-fallback .fallback-main { padding-block: 48px; }

/* ---------- Wider screens ---------- */
@media (min-width: 560px) {
	.values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article__step--older:only-child { grid-column: 2; }
	.disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 700px) {
	.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sector { padding: 28px 28px 24px 0; }
	.sector + .sector { border-top: 0; }
	.sector:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--rule-dark); }
	.sector:nth-child(n + 3) { border-top: 1px solid var(--rule-dark); }
	.purpose { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.datasheet__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.datasheet__list li:nth-child(odd) { border-right: 1px solid var(--line); }
	.svc-row { grid-template-columns: minmax(0, 1fr) 220px; }
	.svc-row__index { grid-column: 1 / -1; }
	.svc-row__media { display: block; grid-column: 2; grid-row: 2; }
	.footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.map { display: block; height: 480px; }
	.map__frame { position: absolute; inset: 0; height: 100%; }
	.map__inner { position: relative; display: flex; align-items: flex-end; height: 100%; padding-bottom: 32px; pointer-events: none; }
	.map__card { max-width: 380px; padding: 22px 24px; background: #fff; border-top: 3px solid var(--accent-mark); box-shadow: var(--shadow-lg); pointer-events: auto; }
	.spec-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.spec-row__item { padding: 22px 24px 0 0; }
	.spec-row__item + .spec-row__item { padding-left: 24px; border-left: 1px solid var(--rule-dark); }
}

@media (min-width: 900px) {
	:root { --mast-h: 76px; }
	.values { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 72px); }
	.split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px); }
	.split--media-left .split__media { order: -1; }
	.why { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 6vw, 88px); }
	.clients-band { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; }
	.service { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 5vw, 72px); }
	.quote-band { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 72px); }
	.careers { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 72px); }
	.contact-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; }
	.contact-cards { grid-template-columns: minmax(0, 1fr); }
	.news-top { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
	.news-top__side { grid-template-rows: 1fr 1fr; }
	.news-card--side .news-card__link { flex-direction: row; }
	.news-card--side .news-card__media { flex: 0 0 40%; aspect-ratio: auto; }
	.news-card--side .news-card__title { font-size: 1.0625rem; }
	.page-hero--service .page-hero__body, .page-hero__body:has(.page-hero__code) { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
	.page-hero__body .page-hero__code, .page-hero__body .page-hero__icon { order: 2; }
	.footer-main { grid-template-columns: minmax(0, 1.35fr) minmax(0, .7fr) minmax(0, 1.1fr) minmax(0, 1.15fr); gap: 40px; }
}

@media (min-width: 1000px) {
	.page-hero__body:has(.title-block) { grid-template-columns: minmax(0, 1fr) 300px; align-items: end; gap: 48px; }
	.title-block {
		display: grid;
		grid-template-columns: 1fr 1fr;
		border: 1px solid rgba(255, 255, 255, .22);
		background: rgba(255, 255, 255, .02);
		font-family: var(--mono);
		font-size: .78rem;
		font-weight: 500;
		color: #fff;
	}
	.title-block__name { grid-column: 1 / -1; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .22); font-family: var(--font); font-size: .9375rem; font-weight: 600; letter-spacing: .01em; }
	.title-block__cell { display: grid; gap: 3px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
	.title-block__cell + .title-block__cell:not(.title-block__cell--wide) { border-left: 1px solid rgba(255, 255, 255, .22); }
	.title-block__cell--wide { grid-column: 1 / -1; border-bottom: 0; }
	.title-block__cell span { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
	.split--top .split__media { position: sticky; top: calc(var(--mast-h) + 40px); }
	.svc-row { grid-template-columns: 80px minmax(0, 1fr) 300px; align-items: start; gap: 40px; padding: 40px 0; }
	.svc-row__index { grid-column: auto; }
	.svc-row__media { grid-column: auto; grid-row: auto; }
	.svc-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sector, .sector:nth-child(n) { padding: 30px 26px 10px; border-top: 0; border-left: 1px solid var(--rule-dark); }
	.sector:first-child { padding-left: 0; border-left: 0; }
	.sector:last-child { padding-right: 0; }
}

@media (min-width: 1080px) {
	.nav { display: block; }
	.masthead__cta { display: inline-flex; }
	.burger, .mobile-nav { display: none !important; }
	.masthead__inner { gap: 12px; }
	.logo { margin-right: auto; }
	.svc-grid:not(.svc-grid--compact) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.svc-grid:not(.svc-grid--compact) .svc__link { min-height: 320px; }
}

@media (hover: hover) and (min-width: 1080px) {
	.nav__item--drop:hover .dropdown {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity .15s ease, transform .15s ease;
	}
	.nav__item--drop:hover > .nav__link::after { transform: scaleX(1); }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 899px) {
	:root { --mast-h: 66px; --top-h: 38px; }
	.topbar__tag { display: none; }
	.topbar__inner { justify-content: center; }
	.logo__img { height: 38px; }
	.logo__img--tall { height: 48px; }
	.page-hero__code { font-size: clamp(3rem, 2rem + 6vw, 4.5rem); }
	.hero__figure { margin-top: 8px; }
}

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

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

@media (max-width: 520px) {
	.topbar__email { display: none; }
	.hero__actions .btn, .page-hero__actions .btn, .footer-cta__actions .btn { flex: 1 1 100%; }
	.fig-caption { position: static; max-width: none; }
	.duo { gap: 12px; }
	.duo__b { margin-top: 40px; }
	.stamp { width: 92px; height: 92px; }
	.stamp__v { font-size: 1.625rem; }
	.facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.svc__link { padding: 24px 20px 20px; }
	.enquiry__actions .btn, .apply__actions .btn { width: 100%; }
}

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
	.topbar, .masthead, .footer-cta, .map, .hero-search, .skip-link { display: none !important; }
	.blueprint, .site-footer { background: #fff !important; color: #000 !important; }
	.blueprint h1, .blueprint h2, .blueprint h3, .site-footer h2 { color: #000 !important; }
}
