/* ==========================================================================
   IMA Consultancy Limited — site stylesheet
   ========================================================================== */

/* Fonts (self-hosted, no third-party requests) */
@font-face {
	font-family: 'Newsreader';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/newsreader-latin-opsz-normal.woff2') format('woff2-variations'), url('../fonts/newsreader-latin-opsz-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Newsreader';
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/newsreader-latin-opsz-italic.woff2') format('woff2-variations'), url('../fonts/newsreader-latin-opsz-italic.woff2') format('woff2');
}
@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'); }
@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'); }
@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'); }
@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'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@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'); }

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
	--site-max: 1600px;          /* content frame - wider screens show --backdrop */
	--backdrop: #D9DEE5;         /* colour either side of the content frame */
	--content-max: 1240px;

	--ink: #15202D;
	--night: #1B2938;
	--deep: #0F1822;
	--slate: #4F5E7B;
	--slate-deep: #34425C;
	--slate-mid: #5D7194;
	--chrome: #A9B6CC;
	--chrome-soft: #C9D1DC;
	--mist: #F2F4F7;
	--mist-2: #F8F9FB;
	--line: #DCE1E7;
	--line-soft: #E6EAEF;
	--line-strong: #B8C1CE;
	--muted: #56606D;
	--body: #36414E;
	--paper: #FFFFFF;
	--signal: #D89A3E;
	--signal-btn: #E0A24C;
	--signal-btn-hover: #F0B25C;
	--signal-light: #E6B56E;
	--signal-dark: #9A5B12;
	--warn: #C4832C;
	--on-dark: #D5DCE5;
	--on-dark-muted: #A9B6CC;
	--dark-line: #2C3C4F;
	--dark-line-2: #3A4B60;

	--serif: 'Newsreader', Georgia, 'Times New Roman', serif;
	--sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--gutter: 32px;
	--section-pad: clamp(64px, 9vw, 112px);
	--header-h: 77px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--backdrop);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
p, h1, h2, h3, h4, figure, blockquote, ul, ol { margin: 0; }
a { color: var(--slate-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
button { font: inherit; }
em { font-style: italic; }

.site {
	max-width: var(--site-max);
	margin: 0 auto;
	background: var(--paper);
	min-height: 100vh;
	box-shadow: 0 0 0 1px rgba(21, 32, 45, 0.04), 0 0 60px rgba(21, 32, 45, 0.10);
	overflow-x: clip;
}

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--night { background: var(--night); color: var(--on-dark); }
.section--rule { border-top: 1px solid var(--dark-line); }

.stack { display: flex; flex-direction: column; gap: 22px; }
.stack--xs { gap: 8px; }
.stack--sm { gap: 14px; }
.stack--md { gap: 32px; }
.stack--lg { gap: 44px; }
.stack--xl { gap: 56px; }

.split { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.split--tight { gap: 40px 64px; }
.split--center { align-items: center; }
.split--end { align-items: flex-end; }
.split--stretch { align-items: stretch; }
.col { flex: 1 1 440px; min-width: 0; }
.col--sm { flex: 1 1 340px; min-width: 0; }
.col--md { flex: 1.4 1 480px; min-width: 0; }
.col--lg { flex: 2 1 560px; min-width: 0; }
.col--xl { flex: 3 1 520px; min-width: 0; }
.col--full { flex: 1 1 100%; min-width: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
.grid--gap-lg { gap: 24px; }
.grid--gap-sm { gap: 10px; }
.grid--220 { --min: 220px; }
.grid--240 { --min: 240px; }
.grid--260 { --min: 260px; }
.grid--300 { --min: 300px; }
.grid--340 { --min: 340px; }
.grid--440 { --min: 440px; }
.grid--460 { --min: 460px; }

.measure { max-width: 760px; }
.measure-lg { max-width: 900px; }
.mt-6 { margin-top: 6px; }
.mt-12 { margin-top: 12px; }
.mt-auto { margin-top: auto; }
.rule-top { border-top: 1px solid var(--line); padding-top: 40px; }
.on-dark .rule-top, .section--ink .rule-top { border-top-color: var(--dark-line); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(40px, 5.2vw, 70px); line-height: 1.04; letter-spacing: -0.015em;
}
.h2 {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.01em;
}
.h2--sm { font-size: clamp(30px, 3vw, 38px); line-height: 1.12; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.h4 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.2; }
.h-sans { font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.3; }
.display em, .h2 em, .h3 em, .quote em { color: var(--slate); }
.on-dark .display em, .on-dark .h2 em, .section--ink .h2 em, .section--night .h2 em, .on-dark .quote em, .section--ink .quote em { color: var(--signal-light); }
.section--ink .h2, .section--night .h2, .on-dark .h2, .on-dark .display, .on-dark .h3 { color: #fff; }

.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--body); max-width: 600px; }
.lead--wide { max-width: 680px; }
.lead-serif { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 26px); line-height: 1.4; color: var(--ink); }
.quote { font-family: var(--serif); font-size: clamp(23px, 2.4vw, 30px); line-height: 1.3; color: var(--ink); }
.quote--xl { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.22; }
.quote--lg { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.28; }
.text-body { color: var(--body); }
.text-muted { color: var(--muted); }
.text-white { color: #fff; }
.text-sm { font-size: 15.5px; }
.text-xs { font-size: 13px; }
.serif-italic { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--slate); }

.eyebrow {
	display: flex; align-items: center; gap: 12px;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--slate);
}
.eyebrow::before {
	content: ""; flex: none; width: 10px; height: 18px;
	border: 2px solid var(--signal); border-right: 0;
}
.eyebrow--light { color: var(--on-dark-muted); }
.eyebrow--signal { color: var(--signal-light); }

.label {
	font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
	line-height: 1.5;
}
.label--light { color: var(--on-dark-muted); }
.label--signal { color: var(--signal-light); }
.label--slate { color: var(--slate); }
.num { font-family: var(--mono); font-size: 12px; color: var(--slate); }

/* Bracket-marked statement */
.bracket-line { display: flex; gap: 16px; align-items: flex-start; }
.bracket-line::before {
	content: ""; flex: none; width: 12px; height: 34px; margin-top: 4px;
	border: 2px solid var(--signal); border-right: 0;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.2;
	text-decoration: none; text-align: center; border: 0; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--slate-deep); color: #fff; }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--signal { background: var(--signal-btn); color: var(--ink); font-weight: 600; min-height: 54px; padding: 0 28px; }
.btn--signal:hover { background: var(--signal-btn-hover); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--on-dark { border-color: #fff; color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
	font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none;
	border-bottom: 1.5px solid var(--signal); padding-bottom: 3px;
}
.text-link:hover { color: var(--slate-deep); }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(140%) blur(6px);
}
.site-header__inner {
	max-width: 1360px; margin: 0 auto; padding: 12px var(--gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 16px 28px;
	position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 48px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 23px; letter-spacing: 0.05em; white-space: nowrap; color: var(--ink); }
.brand__name span { color: var(--slate); }
.brand__ltd { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.nav__link, .nav__trigger {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
	padding: 2px 0 0; color: var(--ink); text-decoration: none; background: none; border: 0;
	border-bottom: 2px solid transparent; cursor: pointer; font-weight: 500; font-size: 15px; white-space: nowrap;
}
.nav__link:hover, .nav__trigger:hover { color: var(--slate-deep); }
.nav__link[aria-current="page"], .nav__trigger.is-current { border-bottom-color: var(--signal); }
.nav__trigger svg { width: 12px; height: 12px; flex: none; transition: transform .2s ease; }
.nav__dropdown { position: relative; }
.nav__menu {
	position: absolute; top: calc(100% + 14px); left: -24px; width: 340px;
	background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(21, 32, 45, 0.14);
	padding: 10px; display: none; flex-direction: column; gap: 2px; list-style: none; margin: 0;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu,
.nav__dropdown.is-open .nav__menu { display: flex; }
html.js .nav__dropdown:not(.is-open) .nav__menu { display: none; }
.nav__dropdown.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__menu a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--mist); }
.nav__menu strong { font-weight: 600; font-size: 15px; }
.nav__menu span { font-weight: 400; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.nav__cta { margin-left: 6px; white-space: nowrap; }

.nav-toggle {
	display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px;
	background: none; border: 1.5px solid var(--ink); color: var(--ink); cursor: pointer; font-weight: 500; font-size: 15px;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.site-header.nav-open .nav-toggle .icon-open { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1320px) {
	.nav-toggle { display: inline-flex; }
	html.js .nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(21, 32, 45, 0.12);
		padding: 8px var(--gutter) 24px; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
	}
	html.js .site-header.nav-open .nav { display: flex; }
	html:not(.js) .nav { flex-wrap: wrap; justify-content: flex-end; }
	html:not(.js) .nav-toggle { display: none; }
	html.js .nav__link, html.js .nav__trigger {
		width: 100%; min-height: 54px; justify-content: space-between; font-size: 17px;
		border-bottom: 1px solid var(--line-soft); padding: 0;
	}
	html.js .nav__link[aria-current="page"], html.js .nav__trigger.is-current {
		border-bottom-color: var(--line-soft); box-shadow: inset 3px 0 0 var(--signal); padding-left: 14px;
	}
	html.js .nav__menu {
		position: static; width: auto; box-shadow: none; border: 0; border-bottom: 1px solid var(--line-soft);
		padding: 6px 0 10px; background: var(--mist-2);
	}
	html.js .nav__menu::before { display: none; }
	.nav__cta { margin: 18px 0 0; width: 100%; min-height: 52px; }
}
@media (max-width: 560px) {
	.brand img { width: 40px; }
	.brand__name { font-size: 19px; }
	.brand__ltd { font-size: 9px; margin-top: 5px; }
	.nav-toggle .nav-toggle__label { display: none; }
	.nav-toggle { padding: 0 10px; }
}
@media (max-width: 360px) {
	.brand__name { font-size: 17px; letter-spacing: 0.03em; }
	.brand { gap: 8px; }
}

/* Breadcrumbs */
.breadcrumb { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.breadcrumb li { display: flex; gap: 10px; }
.breadcrumb li + li::before { content: "/"; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink); }
.on-dark .breadcrumb, .on-dark .breadcrumb a { color: var(--on-dark-muted); }
.on-dark .breadcrumb [aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   Image frames (the bracket motif)
   -------------------------------------------------------------------------- */
.frame { position: relative; padding: 24px 0 0 24px; }
.frame::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 40px; width: 50%;
	border: 2px solid var(--slate); border-right: 0; pointer-events: none;
}
.frame > picture, .frame > img { position: relative; }
.frame--right { padding: 24px 24px 0 0; }
.frame--right::before { left: auto; right: 0; top: 0; bottom: 48px; border-right: 2px solid var(--slate); border-left: 0; }
.frame--right-low { padding: 0 24px 24px 0; }
.frame--right-low::before { left: auto; right: 0; top: 40px; bottom: 0; border-right: 2px solid var(--slate); border-left: 0; }
.frame--signal::before { border-color: var(--signal); }
.frame--hero { padding: 28px 0 44px 28px; }
.frame--hero::before { bottom: 18px; width: 58%; }

.img-cover { width: 100%; object-fit: cover; display: block; }
.ratio-hero { aspect-ratio: 4 / 4.4; object-position: 60% 50%; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-5-4 { aspect-ratio: 5 / 4; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-16-8 { aspect-ratio: 16 / 8; }

/* --------------------------------------------------------------------------
   Page heroes
   -------------------------------------------------------------------------- */
.page-hero { background: var(--mist); }
.page-hero__inner { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 36px; }
.page-hero--dark { background: var(--ink); color: var(--on-dark); }
.page-hero--dark .display { color: #fff; }
.page-hero--dark .display em { color: var(--signal-light); }
.page-hero--dark .lead { color: var(--on-dark); }
.page-hero--white { background: #fff; border-bottom: 1px solid var(--line); }

.page-hero--image { position: relative; background: var(--deep); color: #fff; overflow: hidden; }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; }
.page-hero--image .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.page-hero--image::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(15, 24, 34, 0.96) 0%, rgba(15, 24, 34, 0.78) 55%, rgba(15, 24, 34, 0.35) 100%);
}
.page-hero--image .page-hero__inner { position: relative; z-index: 1; padding-bottom: clamp(80px, 10vw, 132px); }
.page-hero--image .display { color: #fff; }
.page-hero--image .display em { color: var(--signal-light); }
.page-hero--image .lead { color: #fff; }

/* Home hero */
.hero { background: var(--mist); overflow: hidden; }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 112px); }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__media { flex: 1 1 420px; min-width: 0; }
.hero__sub { margin-top: -8px; color: var(--muted); max-width: 560px; }
.hero__stat { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding-top: 22px; border-top: 1px solid #D3D9E1; max-width: 560px; }
.hero__stat strong { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--slate); }
.hero__stat span { font-size: 15px; line-height: 1.45; color: var(--body); }

.sector-card {
	position: absolute; left: 0; bottom: 0; z-index: 2; width: min(310px, 82%);
	background: var(--ink); color: #fff; padding: 22px 26px 20px;
	display: flex; flex-direction: column; gap: 8px; box-shadow: 0 18px 40px rgba(21, 32, 45, 0.25);
}
.sector-card__word { font-family: var(--serif); font-size: 28px; line-height: 1.15; min-height: 33px; }
.sector-card .rotator { list-style: none; padding: 0; }
.bars { display: flex; gap: 5px; margin-top: 6px; }
.bars span { flex: 1; height: 2px; background: var(--dark-line-2); transition: background-color .3s ease; }
.bars span.is-active { background: var(--signal); }
html:not(.js) .bars { display: none; }

/* --------------------------------------------------------------------------
   Rotators & tabs (progressive enhancement)
   -------------------------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.js .rotator > li { display: none; }
html.js .rotator > li.is-active { display: block; animation: fadeUp .6s ease both; }
@media (prefers-reduced-motion: reduce) {
	html.js .rotator > li.is-active, .tab-panel.is-active { animation: none !important; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.stat { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.stat strong { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5vw, 60px); line-height: 1; }
.stat span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.stat--signal { border-top-color: var(--signal); }
.stat--signal strong { color: var(--slate); }

/* Chips */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border: 1px solid var(--line); background: var(--mist-2); font-size: 15px; line-height: 1.4; }
.chips--white li { background: #fff; padding: 8px 14px; }
.chips--sm li { padding: 7px 14px; font-size: 14.5px; background: var(--mist); border-color: transparent; }
.chips--dark li { border-color: var(--dark-line-2); background: transparent; color: var(--on-dark); padding: 4px 10px; font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
	text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(21, 32, 45, 0.12); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
.card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card--feature .card__body { padding: 32px 34px 34px; gap: 12px; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.2; }
.card--feature .card__title { font-size: 32px; line-height: 1.15; }
.card__text { color: var(--muted); font-size: 15.5px; }
.card--feature .card__text { font-size: 16.5px; }
.card__more { margin-top: auto; padding-top: 8px; font-weight: 500; font-size: 15px; color: var(--slate-deep); display: block; }
.card__more svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-left: 6px; }

/* Flat info boxes */
.box { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.box--mist { background: var(--mist); border-color: transparent; }
.box--ink { background: var(--ink); color: var(--on-dark); border-color: transparent; }
.box--panel { background: var(--night); border: 1px solid var(--dark-line); color: var(--on-dark); }
.box--top-signal { border-top: 3px solid var(--signal); }
.box--top-ink { border-top: 3px solid var(--ink); }

.callout-dark {
	background: var(--ink); color: #fff; padding: 20px 24px;
	font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.3;
}
.callout-dark::before { content: ""; display: block; width: 32px; height: 3px; background: var(--signal); margin-bottom: 14px; }
.callout-mist { background: var(--mist); padding: 22px 24px; font-family: var(--serif); font-size: 22px; line-height: 1.4; }
.callout-strip {
	background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 20px 40px; padding: 26px 32px;
}
.callout-strip p { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.35; flex: 1 1 420px; }

/* Bracketed quote */
.bracket-quote { position: relative; padding: 44px clamp(40px, 5vw, 72px); }
.bracket-quote::before, .bracket-quote::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 24px; border: 3px solid var(--slate);
}
.bracket-quote::before { left: 0; border-right: 0; }
.bracket-quote::after { right: 0; border-left: 0; border-color: var(--line-strong); }
.bracket-quote--signal::after { border-color: var(--signal); }
.bracket-quote--white { background: #fff; }

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.list-plain { list-style: none; padding: 0; }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.check-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.check-list li:last-child { border-bottom: 0; }
.check-list svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--slate); }
.check-list--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); column-gap: 32px; }
.check-list--cols li:last-child { border-bottom: 1px solid var(--line-soft); }
.check-list--dark li { border-color: var(--dark-line); color: #fff; }
.check-list--dark svg { color: var(--signal-light); }

.num-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.num-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.num-list li:last-child { border-bottom: 0; }
.num-list li > span:first-child { font-family: var(--mono); font-size: 12px; color: var(--slate); padding-top: 4px; flex: none; }
.num-list--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); column-gap: 32px; }
.num-list--cols li:last-child { border-bottom: 1px solid var(--line-soft); }
.boxed-items li, .boxed-items li:last-child { background: #fff; padding: 20px 22px; border: 0; }
.box--ink .rule-top, .on-dark .rule-top { border-top-color: var(--dark-line); padding-top: 18px; }
.box--ink p { color: var(--on-dark); }
.box--ink .text-white, .box--ink .quote { color: #fff; }

.plus-list { list-style: none; padding: 0; }
.plus-list li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--dark-line); color: #fff; }
.plus-list li:last-child { border-bottom: 0; }
.plus-list li::before { content: "+"; color: var(--signal-light); flex: none; }
.plus-list--arrow li::before { content: "→"; }
.plus-list--q li { color: var(--ink); border-color: var(--line-soft); }
.plus-list--q li::before { content: "?"; color: var(--warn); font-weight: 600; }

/* Numbered tile grid */
.tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 220px)), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tiles li { background: #fff; padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; font-weight: 500; }
.tiles li > span:first-child, .tiles .tile-num { font-family: var(--mono); font-size: 12px; color: var(--slate); font-weight: 400; }
.tiles svg { width: 26px; height: 26px; color: var(--slate); }
.tiles .is-signal svg { color: var(--warn); }

/* Numbered cards (serif) */
.num-cards { list-style: none; padding: 0; }
.num-cards li { background: #fff; padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--ink); }
.num-cards li:last-child { border-top-color: var(--signal); }
.num-cards li > span:last-child { font-family: var(--serif); font-size: 22px; line-height: 1.25; }

/* Dash cards ("when it can help") */
.dash-cards { list-style: none; padding: 0; }
.dash-cards li { background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dash-cards li::before { content: ""; width: 28px; height: 3px; background: var(--signal); }
.section--mist .dash-cards li { border-color: var(--line); }
.section:not(.section--mist) .dash-cards li { background: var(--mist-2); }

/* Warning cards */
.warn-cards { list-style: none; padding: 0; }
.warn-cards li { background: #fff; border: 1px solid var(--line); padding: 18px 22px; display: flex; gap: 16px; align-items: flex-start; }
.warn-cards svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--warn); }

/* Dark bordered items */
.dark-items { list-style: none; padding: 0; }
.dark-items li { border: 1px solid var(--dark-line); background: var(--night); padding: 14px 16px; color: #fff; font-size: 15.5px; }

/* Icon benefit cards */
.icon-cards { list-style: none; padding: 0; }
.icon-cards li { background: #fff; padding: 26px; display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--slate); font-weight: 500; }
.icon-cards li:first-child { border-top-color: var(--signal); }
.icon-cards svg { width: 28px; height: 28px; color: var(--slate); }

/* --------------------------------------------------------------------------
   Steps (How we work)
   -------------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; }
.steps li { background: var(--mist-2); border-top: 3px solid var(--ink); padding: 26px 24px 30px; display: flex; flex-direction: column; gap: 12px; transition: background-color .2s ease; }
.steps li:last-child { border-top-color: var(--signal); }
.steps li:hover { background: var(--mist); }
.steps__n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--slate); }
.steps p { font-size: 15.5px; color: var(--muted); }

/* Comparison (PM vs DM) */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border: 1px solid var(--line); background: #fff; }
.compare > div { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.compare > div:first-child { border-right: 1px solid var(--line); }
.compare__dark { background: var(--ink); color: var(--on-dark); }
@media (max-width: 760px) { .compare > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); } }

/* --------------------------------------------------------------------------
   Home: Delivery Management spotlight
   -------------------------------------------------------------------------- */
.spotlight { position: relative; background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.spotlight::after { content: ""; position: absolute; right: 28px; top: 28px; width: 22px; height: 40px; border: 2px solid var(--slate); border-left: 0; }
.spotlight .rotator { list-style: none; padding: 0; min-height: 2.4em; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; padding-right: 30px; }
html:not(.js) .spotlight .rotator { font-size: 20px; font-family: var(--sans); line-height: 1.5; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
html:not(.js) .spotlight .rotator li::before { content: "+ "; color: var(--signal-light); }
.spotlight__controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
html:not(.js) .spotlight__controls { display: none; }
.spotlight__count { font-family: var(--mono); font-size: 14px; }
.spotlight__count span { color: #7F8B9B; }
.segments { display: flex; gap: 4px; flex: 1 1 200px; }
.segments button { flex: 1; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.segments button::after { content: ""; display: block; width: 100%; height: 3px; background: #33445A; transition: background-color .3s ease; }
.segments button.is-active::after { background: var(--signal); }
.segments--light button::after { background: var(--line); }
.icon-btn { width: 44px; height: 44px; background: transparent; border: 1px solid var(--dark-line-2); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: #26364A; }
.icon-btn svg { width: 16px; height: 16px; }

/* Home: lanes diagram */
.lanes-fig { background: var(--night); border: 1px solid var(--dark-line); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.lanes { position: relative; display: flex; flex-direction: column; gap: 22px; padding-top: 26px; }
.lanes__ms { position: absolute; top: 0; bottom: -8px; border-left: 1px dashed var(--signal); }
.lanes__ms span { position: absolute; top: 0; left: 0; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--signal-light); background: var(--night); padding: 0 6px; white-space: nowrap; }
.lanes__ms--a { left: 36%; }
.lanes__ms--b { left: 74%; }
.lane { display: flex; flex-direction: column; gap: 8px; }
.lane__head { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #fff; position: relative; z-index: 1; }
.lane__head span { background: var(--night); padding-right: 6px; }
.lane__head span:last-child { padding: 0 0 0 6px; }
.lane__head span:last-child { font-family: var(--mono); font-size: 11px; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: 0.1em; text-align: right; }
.lane__track { display: flex; gap: 4px; height: 34px; font-size: 12px; color: #fff; }
.lane__track span { flex: 1 1 0; background: var(--slate-mid); display: flex; align-items: center; padding-left: 10px; overflow: hidden; white-space: nowrap; }
.lane__track .s-a { background: #3E4E68; }
.lane__track .s-b { background: #46587A; }
.lane__track .s-c { background: #4F6386; }
.w6 { flex-grow: 6 !important; } .w24 { flex-grow: 24 !important; } .w26 { flex-grow: 26 !important; } .w34 { flex-grow: 34 !important; } .w38 { flex-grow: 38 !important; }
.goal { display: flex; align-items: center; gap: 14px; border: 1px solid var(--signal); padding: 14px 18px; margin-top: 8px; color: #fff; font-size: 14.5px; }
.goal svg { flex: none; width: 22px; height: 22px; color: var(--signal-light); }
.closing-quote { border-top: 1px solid var(--dark-line); padding-top: 40px; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; color: #fff; max-width: 900px; }
.closing-quote em { color: var(--signal-light); }
@media (max-width: 520px) {
	.lane__track { font-size: 10.5px; }
	.lane__track span { padding-left: 5px; }
	.lanes__ms span i { display: none; }
	.lane__head { font-size: 12.5px; }
}

/* Home: rescue overlay chip */
.stage-chip {
	position: absolute; left: 24px; right: 76px; bottom: 0; z-index: 2; background: #fff; padding: 16px 20px;
	display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-deep);
	box-shadow: 0 12px 30px rgba(21, 32, 45, 0.12);
}
.stage-chip i { font-style: normal; color: var(--signal); }
@media (max-width: 520px) { .stage-chip { position: relative; left: auto; right: auto; margin: -20px 12px 0; } }

/* Closing CTA band */
.cta-band { background: var(--night); color: var(--on-dark); overflow: hidden; }
.cta-band__inner { padding-block: clamp(64px, 8vw, 96px); display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-end; justify-content: space-between; }
.cta-band__copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cta-band__copy p { font-size: 18px; }
.cta-band .h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
.cta-band--mark .cta-band__inner { align-items: center; }
.cta-band__mark { flex: 0 1 300px; width: 300px; max-width: 70%; margin-bottom: -40px; }

/* --------------------------------------------------------------------------
   Project Rescue
   -------------------------------------------------------------------------- */
.bridge { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.bridge li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(48px, 0.6fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.25; }
.bridge li > span:first-child { text-align: right; }
.bridge__link { display: flex; align-items: center; }
.bridge__link::before, .bridge__link::after { content: ""; width: 8px; height: 22px; border: 2px solid var(--slate); flex: none; }
.bridge__link::before { border-right: 0; }
.bridge__link::after { border-left: 0; }
.bridge__link i { flex: 1; border-top: 2px dashed var(--signal); }
@media (max-width: 520px) { .bridge li { grid-template-columns: 1fr; gap: 6px; text-align: left; } .bridge li > span:first-child { text-align: left; } .bridge__link { width: 60px; } }

.stepper { display: flex; flex-wrap: wrap; gap: 24px; }
.stepper__list { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.stepper__tab {
	text-align: left; cursor: pointer; display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 20px;
	font-size: 18px; border: 1px solid var(--dark-line); background: transparent; color: var(--on-dark);
}
.stepper__tab span { font-family: var(--mono); font-size: 12px; opacity: 0.8; }
.stepper__tab:hover { background: #1F2E3F; }
.stepper__tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.stepper__panels { flex: 2 1 480px; min-width: 0; background: var(--night); border: 1px solid var(--dark-line); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tab-panel { position: relative; }
.stepper .tab-panel { display: flex; flex-direction: column; gap: 18px; }
.stepper .tab-panel + .tab-panel { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--dark-line); }
html.js .stepper .tab-panel + .tab-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.stepper__bg { position: absolute; right: 24px; top: -10px; font-family: var(--serif); font-size: 200px; line-height: 1; color: #23344A; pointer-events: none; }
.stepper__title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.05; color: #fff; position: relative; }
.stepper__text { font-size: 19px; line-height: 1.6; max-width: 560px; position: relative; }
.stepper__progress { display: flex; gap: 4px; margin-top: auto; padding-top: 24px; position: relative; }
.stepper__progress span { flex: 1; height: 3px; background: var(--dark-line); }
.stepper__progress span.is-done { background: var(--slate-mid); }
.stepper__progress span.is-active { background: var(--signal); }
html:not(.js) .stepper__list, html:not(.js) .stepper__progress { display: none; }
html.js .tab-panel[hidden] { display: none !important; }
html.js .tab-panel.is-active { animation: fadeUp .5s ease both; }

/* Recommendation tiles */
.word-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.word-tiles div { border-top: 3px solid var(--ink); background: var(--mist); padding: 22px 20px 26px; font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.word-tiles div:nth-child(2) { border-top-color: var(--slate); }
.word-tiles div:nth-child(3) { border-top-color: var(--signal); }

/* --------------------------------------------------------------------------
   Supplier Management
   -------------------------------------------------------------------------- */
.perspectives { display: flex; flex-wrap: wrap; align-items: stretch; }
.perspectives__card { flex: 1 1 320px; border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.perspectives__card--mist { background: var(--mist); }
.perspectives__card p { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.35; }
.perspectives__gap { flex: 0 0 72px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.perspectives__gap::before, .perspectives__gap::after { content: ""; width: 10px; height: 40px; border: 2px solid var(--signal); }
.perspectives__gap::before { border-left: 0; }
.perspectives__gap::after { border-right: 0; }
@media (max-width: 760px) { .perspectives__gap { flex-basis: 100%; height: 56px; } }
.alert-bar { background: var(--ink); color: #fff; padding: 20px clamp(24px, 3vw, 36px); display: flex; gap: 14px; align-items: center; margin-top: 16px; font-size: 16px; }
.alert-bar svg { flex: none; width: 20px; height: 20px; color: var(--signal-light); }

/* Websites: service model */
.model { display: flex; flex-wrap: wrap; align-items: stretch; }
.model__node { flex: 1 1 220px; border: 1px solid var(--line); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.model__node--hub { flex: 1.4 1 300px; background: var(--ink); color: var(--on-dark); border-color: var(--ink); gap: 12px; }
.model__node--hub .model__name { color: #fff; font-size: 26px; }
.model__node--mist { background: var(--mist); }
.model__name { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.model__arrow { flex: 0 0 64px; display: flex; align-items: center; justify-content: center; color: var(--signal); }
.model__arrow svg { width: 44px; height: 16px; }
@media (max-width: 860px) { .model__arrow { flex-basis: 100%; height: 48px; } .model__arrow svg { transform: rotate(90deg); } }

/* Tabs (Websites) */
.tabs__list { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs__tab { font-size: 16px; font-weight: 500; cursor: pointer; background: none; border: 0; min-height: 56px; padding: 0 22px; margin-bottom: -1px; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); }
html:not(.js) .tabs__list { display: none; }
.tabs .tab-panel + .tab-panel { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
html.js .tabs .tab-panel + .tab-panel { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 640px) {
	.tabs__list { border-bottom: 0; gap: 6px; }
	.tabs__tab { flex: 1 1 auto; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); margin: 0; }
	.tabs__tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
}

/* --------------------------------------------------------------------------
   Broadcast
   -------------------------------------------------------------------------- */
.name-wall { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.name-wall li { background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 120px; padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.name-wall strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.name-wall small { font-size: 13.5px; color: var(--muted); }
.persp-strip { display: flex; align-items: stretch; background: var(--ink); color: #fff; }
.persp-strip > div { flex: 1; min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.persp-strip > div:last-child { text-align: right; }
.persp-strip strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.persp-strip__arrow { flex: 0 0 56px !important; align-items: center; justify-content: center; color: var(--signal-light); padding: 0 !important; }
.persp-strip__arrow svg { width: 40px; height: 16px; }

.pipeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 6px; }
.pipeline li { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.pipeline li span { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--slate-deep); }
.pipeline li:nth-child(1) { background: var(--line); }
.pipeline li:nth-child(2) { background: var(--chrome-soft); }
.pipeline li:nth-child(3) { background: var(--chrome); }
.pipeline li:nth-child(3) span { color: var(--ink); }
.pipeline li:nth-child(4) { background: var(--slate); color: #fff; }
.pipeline li:nth-child(5) { background: var(--slate-deep); color: #fff; }
.pipeline li:nth-child(6) { background: var(--ink); color: #fff; }
.pipeline li:nth-child(n+4) span { color: var(--line); }
.pipeline li:nth-child(6) span { color: var(--signal-light); }
.metadata-line { display: flex; align-items: center; gap: 12px; margin-top: -8px; color: var(--signal); }
.metadata-line span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal-dark); }
.metadata-line i { flex: 1; border-top: 2px dashed var(--signal); }
.metadata-line svg { width: 10px; height: 12px; }

.method-bars { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.method-bars div { display: flex; gap: 4px; height: 22px; }
.method-bars span { flex: 1; background: var(--slate-mid); }
.method-bars .m-a { background: #3E4E68; flex: 3; } .method-bars .m-b { background: #46587A; flex: 3; } .method-bars .m-c { background: #4F6386; flex: 2; }
.method-bars hr { height: 2px; background: var(--signal); border: 0; margin: 4px 0 0; }

/* --------------------------------------------------------------------------
   Business Change
   -------------------------------------------------------------------------- */
.not-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.not-cards div { border: 1px dashed var(--line-strong); padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.not-cards span { font-family: var(--mono); font-size: 12px; }
.not-cards strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; }
.statement { background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.statement p:first-child { flex: 2 1 480px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; }
.statement p:first-child em { color: var(--signal-light); }
.statement p:last-child { flex: 1 1 300px; color: var(--on-dark); font-size: 16px; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow__end { font-family: var(--mono); font-size: 12px; padding: 10px 14px; background: var(--mist); }
.flow__end--dark { background: var(--ink); color: #fff; }
.flow__node { padding: 14px 18px; border: 1.5px solid var(--slate); font-weight: 500; }
.flow__link { flex: 1 1 20px; min-width: 20px; border-top: 2px solid var(--signal); }

.approach-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.approach { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.approach--tool { border: 1px dashed var(--line-strong); color: var(--muted); }
.approach--process { border: 1px solid var(--ink); background: #fff; box-shadow: 6px 6px 0 var(--signal); }
.approach__flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.approach__flow b { font-weight: 400; padding: 10px 14px; border: 1.5px solid var(--line-strong); }
.approach__flow b.is-dashed { border-style: dashed; }
.approach__flow b.is-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.approach__flow b.is-slate { border-color: var(--slate); }
.approach__flow i { flex: 1 1 24px; min-width: 24px; border-top: 2px dashed var(--line-strong); }
.approach__flow i.is-signal { border-top: 2px solid var(--signal); }

.stairs { display: flex; align-items: flex-end; gap: 10px; height: 280px; border-bottom: 2px solid var(--ink); }
.stairs div { flex: 1; min-width: 0; overflow-wrap: anywhere; hyphens: auto; padding: 12px; font-size: 13.5px; font-weight: 500; display: flex; flex-direction: column; justify-content: space-between; }
.stairs div:nth-child(1) { height: 34%; background: var(--chrome-soft); }
.stairs div:nth-child(2) { height: 52%; background: var(--chrome); }
.stairs div:nth-child(3) { height: 72%; background: var(--slate); color: #fff; }
.stairs div:nth-child(4) { height: 100%; background: var(--ink); color: #fff; }
.stairs div:nth-child(4)::after { content: ""; width: 24px; height: 3px; background: var(--signal); }
.stairs-caption { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; font-family: var(--mono); font-size: 11px; line-height: 1.4; color: var(--muted); }
.stairs-caption span:first-child { grid-column: 2; }
@media (max-width: 480px) { .stairs { height: 240px; gap: 6px; } .stairs div { padding: 8px; font-size: 12px; } }

.connected { display: flex; flex-wrap: wrap; align-items: stretch; }
.connected > div { flex: 1 1 300px; border: 1px solid var(--dark-line); background: var(--night); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.connected ul { margin: 0; padding-left: 18px; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.connected .connected__hub { flex: 1 1 260px; background: var(--signal); color: var(--ink); border: 0; justify-content: center; gap: 8px; text-align: center; }
.connected__hub strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.connected__hub span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-mark { flex: 2 1 280px; min-width: 0; width: 100%; max-width: 420px; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 24px; padding-top: 28px; border-top: 2px solid var(--ink); position: relative; }
.timeline > div { display: flex; flex-direction: column; gap: 8px; position: relative; }
.timeline > div::before { content: ""; position: absolute; top: -37px; left: 0; width: 14px; height: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.timeline > div:last-child::before { background: var(--signal); border-color: var(--signal); }
.timeline strong { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1; }
.timeline > div:last-child strong { color: var(--slate); }
.timeline span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 840px) {
	.timeline { border-top: 0; border-left: 2px solid var(--ink); padding: 0 0 0 26px; gap: 32px; }
	.timeline > div::before { top: 14px; left: -35px; }
}
.principles .pc { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s ease; }
.principles .pc:hover { border-color: var(--slate); }
.principles .pc p { color: var(--muted); font-size: 15.5px; }
.principles .pc--cta { background: var(--ink); color: #fff; border-color: var(--ink); justify-content: space-between; gap: 24px; text-decoration: none; }
.principles .pc--cta:hover { background: var(--slate-deep); color: #fff; }
.principles .pc--cta strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.principles .pc--cta span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: var(--signal-light); }
.principles .pc--cta svg { width: 16px; height: 16px; }

.outcomes { position: relative; padding: 36px clamp(36px, 5vw, 64px); }
.outcomes::before, .outcomes::after { content: ""; position: absolute; top: 0; bottom: 0; width: 22px; border: 3px solid var(--slate); }
.outcomes::before { left: 0; border-right: 0; }
.outcomes::after { right: 0; border-left: 0; border-color: var(--line-strong); }
.outcomes .rotator { list-style: none; padding: 0; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; min-height: 2.3em; }
html:not(.js) .outcomes .rotator { font-size: 24px; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.outcomes .segments { max-width: 320px; margin-top: 20px; }
html:not(.js) .outcomes .segments { display: none; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-details { background: var(--mist); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-details__row { display: flex; gap: 14px; align-items: flex-start; }
.contact-details__row svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--slate); }
.contact-details__row div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact-details__row a, .contact-details__row strong { font-weight: 500; color: var(--ink); }
.contact-details > p { padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--body); }

.form-card { border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); position: relative; }
.form-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 4px; background: var(--signal); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14.5px; font-weight: 500; }
.field label small { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input, .field textarea {
	font: inherit; font-size: 16px; color: var(--ink); background: #fff;
	border: 1px solid var(--line-strong); border-radius: 0; padding: 0 14px; min-height: 50px; width: 100%;
	-webkit-appearance: none; appearance: none;
}
.field textarea { padding: 12px 14px; min-height: 160px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--ink); }
.field--error input, .field--error textarea { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent label { font-size: 14.5px; color: var(--body); line-height: 1.5; }
.form-alert { padding: 16px 18px; border-left: 4px solid #B3261E; background: #FBEDEC; color: #5C1712; font-size: 15px; }
.form-success { display: flex; flex-direction: column; gap: 18px; padding: 12px 0; }
.form-success svg { width: 48px; height: 48px; }

/* Honeypot fields: hidden from people, visible to naive bots */
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* --------------------------------------------------------------------------
   Legal / prose pages
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; color: var(--body); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; color: var(--ink); margin-top: 44px; }
.prose h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 28px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--mist); }
.table-wrap { overflow-x: auto; }
.note { padding: 16px 18px; background: var(--mist); border-left: 4px solid var(--signal); font-size: 15px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--deep); color: #C9D0DA; font-size: 14.5px; line-height: 1.6; }
.site-footer__inner { padding-block: 72px 32px; display: flex; flex-direction: column; gap: 56px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__logo { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.site-footer__logo img { width: 44px; height: auto; }
.site-footer__logo span { font-family: var(--serif); font-size: 20px; letter-spacing: 0.05em; color: #fff; white-space: nowrap; }
.site-footer__logo span span { color: var(--chrome); }
.site-footer__brand p { max-width: 300px; }
.site-footer nav, .site-footer__contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer h2 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8C97A6; margin-bottom: 2px; }
.site-footer a { color: #E6EAF0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal { border-top: 1px solid #263343; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 13px; color: #8C97A6; }
.site-footer__legal nav { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__legal a { color: #C9D0DA; }

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */
.error-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.error-hero__inner { position: relative; z-index: 1; padding-block: clamp(72px, 10vw, 140px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.error-hero__copy { flex: 2 1 480px; display: flex; flex-direction: column; gap: 22px; }
.error-hero .error-hero__code { max-width: none; font-family: var(--serif); font-size: clamp(96px, 16vw, 200px); line-height: 0.9; color: #fff; letter-spacing: -0.02em; display: flex; align-items: center; gap: 18px; }
.error-hero__code::before, .error-hero__code::after { content: ""; width: clamp(16px, 2vw, 26px); align-self: stretch; border: 3px solid var(--signal); }
.error-hero__code::before { border-right: 0; }
.error-hero__code::after { border-left: 0; border-color: var(--slate); }
.error-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; color: #fff; }
.error-hero p { max-width: 620px; font-size: 18px; }
.error-hero__links { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.error-hero__links a { color: #fff; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: 12px; }
.error-hero__links a:hover { color: var(--signal-light); }
.error-hero__links svg { width: 14px; height: 14px; align-self: center; }
.error-hero__copy a:not(.btn) { color: var(--signal-light); }

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
	:root { --gutter: 20px; --header-h: 69px; }
	body { font-size: 16px; }
	.split { gap: 36px; }
	.hero__inner { gap: 40px; }
	.frame--hero { padding: 18px 0 34px 18px; }
	.frame { padding: 16px 0 0 16px; }
	.frame--right, .frame--right-low { padding: 16px 16px 0 0; }
	.callout-strip { padding: 22px 20px; }
	.bracket-quote { padding: 32px 36px; }
	.cta-band__mark { width: 200px; margin: 0 auto -30px; }
	.persp-strip > div { padding: 16px 14px; }
	.persp-strip strong { font-size: 19px; }
	.stepper__bg { font-size: 140px; }
	.name-wall li { min-height: 88px; }
	.name-wall strong { font-size: 24px; }
}

@media print {
	body { background: #fff; }
	.site { box-shadow: none; max-width: none; }
	.site-header, .nav-toggle, .cta-band, .site-footer nav, .spotlight__controls { display: none !important; }
	.section--ink, .section--night, .page-hero--dark, .page-hero--image { background: #fff !important; color: #000 !important; }
	html.js .rotator > li, html.js .tab-panel[hidden] { display: block !important; }
}

/* Broadcast: paired cards keep their own height */
.grid--start { align-items: start; }
main:focus { outline: none; }

/* --------------------------------------------------------------------------
   Tablet refinements (from device testing)
   -------------------------------------------------------------------------- */
@media (min-width: 560px) { .name-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Home: four service cards - 4 / 2 / 1 columns, never 3+1 */
.grid--4 { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* How we work: five in a row on desktop, 2 + 2 + 1 (wide) on tablets, one column on phones */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Media lifecycle: 6 / 3+3 / 2+2+2 */
@media (min-width: 1101px) { .pipeline { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 1100px) {
	/* Process flow becomes a vertical sequence */
	.flow { flex-direction: column; align-items: flex-start; gap: 0; }
	.flow__link { flex: none; min-width: 0; width: 0; height: 18px; border-top: 0; border-left: 2px solid var(--signal); margin-left: 24px; }
	/* Footer as 2 x 2 */
	.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Home hero photo less tall once it stacks */
	.ratio-hero { aspect-ratio: 16 / 10; }
}
@media (max-width: 1000px) {
	.connected > div, .connected .connected__hub { flex-basis: 100%; }
	.connected .connected__hub { padding: 22px; }
}
@media (max-width: 900px) {
	.cta-band__mark { width: 200px; flex-basis: 200px; margin: 0 auto -30px; }
	.ratio-4-5 { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
	.site-footer__cols { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Phone refinements (from device testing)
   -------------------------------------------------------------------------- */
/* Bigger tap targets in the footer and breadcrumb */
.site-footer__cols nav, .site-footer__contact { gap: 0; }
.site-footer__cols nav a, .site-footer__contact a, .site-footer__contact span { display: inline-block; padding-block: 8px; }
.site-footer__cols h2 { margin-bottom: 6px; }
.site-footer__legal nav { gap: 0 24px; }
.site-footer__legal a { display: inline-block; padding-block: 10px; }
.breadcrumb a { display: inline-block; padding-block: 12px; margin-block: -12px; }

@media (max-width: 560px) {
	.word-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats .stat:last-child { grid-column: 1 / -1; }
	/* Tables become stacked label/value rows */
	.prose table, .prose thead, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
	.prose thead { position: absolute; left: -10000px; }
	.prose tr { border: 1px solid var(--line); margin-bottom: 12px; }
	.prose td { border-bottom: 1px solid var(--line-soft); }
	.prose td:last-child { border-bottom: 0; }
	.prose td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}
@media (max-width: 400px) {
	.persp-strip > div { padding: 14px 12px; }
	.persp-strip .label { letter-spacing: 0.06em; font-size: 10px; }
	.persp-strip__arrow { flex-basis: 36px !important; }
	.persp-strip__arrow svg { width: 28px; }
	.stairs div { font-size: 11px; padding: 6px; }
	.goal { align-items: flex-start; }
}
.lanes__ms span i { font-style: normal; }
