/* ==========================================================================
   Coreline Mechanical Services — main stylesheet
   Purple, black and brushed steel, from the Coreline logo.
   ========================================================================== */

:root {
	--accent: #a400d8;      /* Coreline purple, from the logo */
	--accent-hi: #b51fea;
	--accent-ink: #7d00a6;  /* purple for small text on white (AA) */
	--accent-lt: #cf6bff;   /* purple for text on black (AA) */
	--on-accent: #fff;
	--ink: #0c0e0d;
	--ink-2: #1a1e1c;
	--text: #1d2221;
	--muted: #5a6366;
	--line: #dfe4e6;
	--steel: #eef1f2;
	--steel-2: #d9dfe2;
	--white: #fff;
	--radius: 6px;
	--wrap: 1200px;
	--display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--shadow: 0 10px 30px -12px rgba(12, 14, 13, .25);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-ink); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }
.icon { flex: 0 0 auto; }

/* Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px;
	border: 2px solid transparent; border-radius: var(--radius);
	font-family: var(--display); font-weight: 700; font-size: 19px;
	letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
	line-height: 1; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: var(--accent-lt); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-dark { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-dark:hover { background: #fff; color: var(--accent-ink); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--display); font-weight: 700; font-size: 16px;
	letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
	margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--accent); }

/* Top bar & header ------------------------------------------------------ */
.topbar { background: var(--ink); color: #c9d0d2; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar-item, .topbar-links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { color: var(--accent-lt); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: #fff; text-decoration: none; }
.topbar-links a:hover { color: var(--accent-lt); }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: saturate(140%) blur(6px);
	box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.logo-link { display: block; }
.site-logo { width: auto; height: 96px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav .menu a {
	display: block; padding: 10px 14px;
	font-family: var(--display); font-weight: 700; font-size: 19px;
	letter-spacing: .05em; text-transform: uppercase;
	color: var(--ink); text-decoration: none; position: relative;
}
.site-nav .menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav .menu a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after { transform: scaleX(1); }
.site-nav .sub-menu { display: none; }

.nav-toggle {
	display: none; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius);
	width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .shut { display: none; }
.nav-open .nav-toggle .open { display: none; }
.nav-open .nav-toggle .shut { display: inline-flex; }

/* Lime rule with black/green slashes on the right, as on the statement */
.header-stripe {
	height: 6px; position: relative;
	background: linear-gradient(90deg, var(--ink) 0 22%, var(--accent) 22% 100%);
}
.header-stripe::after {
	content: ""; position: absolute; right: 0; bottom: 0; width: 220px; height: 14px;
	background: repeating-linear-gradient(115deg, var(--ink) 0 14px, var(--accent) 14px 22px, transparent 22px 30px);
	clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

/* Hero ------------------------------------------------------------------ */
.hero {
	position: relative; overflow: hidden;
	background:
		linear-gradient(105deg, #fff 0 48%, transparent 48%),
		repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 1px, transparent 1px 3px),
		linear-gradient(160deg, var(--steel) 0%, #cfd6d9 60%, #e7ebec 100%);
	padding: 72px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-title {
	font-weight: 800; text-transform: uppercase;
	font-size: clamp(42px, 5.6vw, 76px); line-height: .92; letter-spacing: .005em;
	margin-bottom: 22px;
}
.hero-title span { display: block; color: var(--accent); }
.service-tags {
	list-style: none; margin: 0 0 30px; padding: 0;
	display: flex; flex-wrap: wrap; gap: 6px 0;
	font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase;
}
.service-tags li { display: inline-flex; align-items: center; }
.service-tags li + li::before { content: ""; width: 2px; height: 18px; background: var(--accent); margin: 0 14px; }
.hero-tagline {
	font-family: var(--display); font-weight: 800; color: var(--ink); text-transform: uppercase;
	font-size: clamp(26px, 2.8vw, 36px); line-height: 1.05; letter-spacing: .01em; margin-bottom: 18px;
	padding-bottom: 18px; position: relative;
}
.hero-tagline span { color: var(--accent); }
.hero-tagline::after { content: ""; position: absolute; left: 0; bottom: 0; width: 140px; height: 4px; background: var(--accent); }
.hero-lead { color: var(--muted); font-size: 19px; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media {
	position: relative; display: grid; gap: 12px;
	grid-template-columns: 1fr 1fr; grid-template-rows: 1.1fr .8fr 1fr;
	aspect-ratio: 1 / 1;
}
.shot { margin: 0; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-a { grid-column: 1 / 3; clip-path: polygon(14% 0, 100% 0, 100% 100%, 6% 100%); }
.shot-b { grid-column: 1 / 3; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.shot-c { clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.shot-d { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); margin-left: -9%; }

/* Fact strip ------------------------------------------------------------ */
.facts { background: var(--ink); color: #dfe5e6; position: relative; }
.facts::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 34px 28px; text-align: center; }
.fact + .fact { border-left: 1px solid #2a2f2d; }
.fact-icon {
	display: inline-flex; width: 60px; height: 60px; border-radius: 50%;
	background: var(--accent); color: var(--on-accent); align-items: center; justify-content: center; margin-bottom: 12px;
}
.fact h2 { color: #fff; font-size: 22px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.fact p { margin: 0; }

/* Sections -------------------------------------------------------------- */
.section { padding: 80px 0; }
.section-tint { background: var(--steel); }

.section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.section-heading .badge {
	flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%;
	background: var(--ink); color: var(--accent-lt); display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 4px var(--accent);
}
.section-heading h2 {
	margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
	font-size: clamp(30px, 3.6vw, 42px); white-space: nowrap;
}
.section-heading h2 span { color: var(--accent); }
.section-heading .rule { flex: 1; height: 3px; background: var(--accent); min-width: 30px; }

/* Capability cards */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px 26px 26px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cap-card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 4px; background: var(--accent); border-radius: var(--radius) 0 0 0; }
.cap-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.cap-icon {
	display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center;
	border-radius: 12px; background: #f6e8fd; color: var(--accent-ink); margin-bottom: 16px;
}
.cap-card h3 { font-size: 24px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.cap-card p { color: var(--muted); margin: 0; font-size: 16px; }

/* List variant (capability statement page) */
.cap-grid-list { grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.cap-grid-list .cap-card {
	display: grid; grid-template-columns: 64px 1fr; column-gap: 18px;
	background: transparent; border: 0; border-bottom: 1px solid var(--steel-2); border-radius: 0; padding: 26px 0;
}
.cap-grid-list .cap-card::before { display: none; }
.cap-grid-list .cap-card:hover { box-shadow: none; transform: none; }
.cap-grid-list .cap-icon { grid-row: span 2; background: transparent; color: var(--accent); width: 64px; height: 64px; margin: 0; }
.cap-grid-list .cap-icon .icon { width: 44px; height: 44px; }
.cap-grid-list h3 { font-size: 21px; margin-bottom: 4px; }

/* Experience band */
.experience { background: var(--steel); padding: 80px 0; position: relative; overflow: hidden; }
.experience::after {
	content: ""; position: absolute; right: -40px; bottom: 0; width: 260px; height: 26px;
	background: repeating-linear-gradient(115deg, var(--ink) 0 22px, var(--accent) 22px 34px, transparent 34px 44px);
}
.experience-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.stat {
	background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center;
	border-bottom: 6px solid var(--accent);
}
.stat-num { display: block; font-family: var(--display); font-weight: 800; font-size: 110px; line-height: .9; color: var(--accent-lt); }
.stat-num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; }
.stat-label { display: block; font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; }
.experience-copy h2 { font-size: clamp(30px, 3.4vw, 42px); text-transform: uppercase; font-weight: 800; }
.experience-copy p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticks .icon { color: var(--on-accent); background: var(--accent); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

/* CTA band */
.cta-band { background: var(--accent); padding: 52px 0; position: relative; overflow: hidden; }
.cta-band::before {
	content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
	background: repeating-linear-gradient(115deg, rgba(0,0,0,.12) 0 18px, transparent 18px 36px);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); text-transform: uppercase; font-weight: 800; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #f3e3fb; font-size: 18px; font-weight: 500; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page banner ----------------------------------------------------------- */
.page-banner {
	position: relative; overflow: hidden; color: #fff;
	background:
		linear-gradient(100deg, var(--ink) 0 50%, rgba(12,14,13,.45) 50%),
		url("../img/bw.jpg") right center / cover no-repeat,
		var(--ink);
	padding: 70px 0 74px;
}
.page-banner .eyebrow { color: #b9c2c4; letter-spacing: .2em; }
.page-title { color: #fff; font-weight: 800; text-transform: uppercase; font-size: clamp(42px, 6vw, 72px); line-height: .95; margin: 0; }
.page-title span { color: var(--accent-lt); }
.page-lead { margin: 16px 0 0; font-size: 20px; color: #d6dcde; max-width: 640px; }
.banner-stripes { position: absolute; right: 0; bottom: 0; display: flex; gap: 10px; transform: skewX(-25deg); transform-origin: bottom right; }
.banner-stripes span { width: 28px; height: 70px; background: var(--accent); }
.banner-stripes span:nth-child(2) { background: #fff; opacity: .9; }
.banner-stripes span:nth-child(3) { width: 80px; background: var(--accent); }

/* Capability statement page --------------------------------------------- */
.cap-toolbar { background: var(--steel); border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.cap-toolbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.cap-toolbar-actions { display: flex; gap: 10px; }

.overview { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.overview-copy p { font-size: 19px; }
.overview-facts { margin: 0; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 8px 24px; border-left: 6px solid var(--accent); }
.overview-facts div { padding: 14px 0; }
.overview-facts div + div { border-top: 1px solid #2c3230; }
.overview-facts dt { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-lt); font-size: 15px; }
.overview-facts dd { margin: 0; font-size: 18px; font-weight: 600; }

.person { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.person-name { font-size: 34px; text-transform: uppercase; font-weight: 800; margin-bottom: 4px; }
.person-role { color: var(--accent-ink); font-weight: 700; font-size: 18px; }
.person-main p:last-child { color: var(--muted); font-size: 18px; }
.quals { border-left: 3px solid var(--accent); padding-left: 28px; }
.quals h4 { display: flex; align-items: center; gap: 10px; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; }
.quals h4 .icon { background: var(--ink); color: var(--accent-lt); border-radius: 50%; padding: 6px; width: 36px; height: 36px; }
.quals ul { list-style: none; padding: 0; margin: 0; }
.quals li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px dashed var(--steel-2); }
.quals li::before { content: ""; position: absolute; left: 0; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.area { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.area p { font-size: 19px; margin: 0; }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600;
}
.area-list .icon { color: var(--accent-ink); }
.print-contact { display: none; }

/* Contact page ---------------------------------------------------------- */
.contact-section { background: var(--steel); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.form-card {
	background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow);
	border-top: 5px solid var(--accent);
}
.form-card h2 { font-size: 32px; text-transform: uppercase; font-weight: 800; margin-bottom: 20px; }

.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.cf-field { display: block; }
.cf-field > span:first-child { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.cf-field b { color: var(--accent-ink); }
.cf-full { grid-column: 1 / -1; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 select, .wpcf7 textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--text);
	padding: 13px 14px; background: #fafbfb; border: 1.5px solid var(--steel-2); border-radius: var(--radius);
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.wpcf7 select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230c0e0d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
	outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(164, 0, 216, .18);
}
.wpcf7 .wpcf7-not-valid { border-color: #c0392b; }
.wpcf7-not-valid-tip { color: #b3261e; font-size: 14px; margin-top: 4px; }
.cf-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.cf-actions input[type="submit"] { font-family: var(--display); }
.cf-note { color: var(--muted); font-size: 14px; }
.wpcf7-spinner { margin: 0; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; border-radius: var(--radius); border-width: 2px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--accent); background: #f6e8fd; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #e0a100; background: #fff8e1; }

.form-fallback .fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-fallback .admin-hint { margin-top: 18px; font-size: 14px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 12px; }

.contact-side { display: grid; gap: 20px; }
.urgent { display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px 24px; }
.urgent-icon { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--on-accent); align-items: center; justify-content: center; flex: 0 0 auto; }
.urgent-label { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #b9c2c4; }
.urgent-number { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--accent-lt); text-decoration: none; line-height: 1; }
.urgent-name { margin: 4px 0 0; color: #b9c2c4; font-size: 14px; }
.urgent-number:hover { color: #fff; }
.contact-list { list-style: none; margin: 0; padding: 8px 24px; background: #fff; border-radius: var(--radius); }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; }
.contact-list li + li { border-top: 1px solid var(--line); }
.contact-list .ci { color: var(--accent-ink); padding-top: 2px; }
.contact-list strong { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; background: var(--steel-2); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4); }

/* Generic content ------------------------------------------------------- */
.entry-content { max-width: 820px; }
.entry-content h2 { font-size: 34px; text-transform: uppercase; margin-top: 1.4em; }
.entry-content h3 { font-size: 26px; margin-top: 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { margin: 0 0 4px; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-meta { color: var(--muted); font-size: 14px; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #b9c2c4; position: relative; padding-top: 70px; font-size: 16px; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.footer-stripes { position: absolute; top: 0; right: 0; display: flex; gap: 10px; transform: skewX(-25deg); transform-origin: top right; }
.footer-stripes span { width: 24px; height: 48px; background: var(--accent); }
.footer-stripes span:nth-child(2) { background: #fff; }
.footer-stripes span:nth-child(3) { width: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 50px; }
.footer-logo-plate { display: inline-block; background: #fff; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; border-bottom: 4px solid var(--accent); }
.footer-logo { width: 200px; height: auto; }
.footer-brand p { max-width: 340px; }
.site-footer h3 { color: #fff; font-size: 20px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-lt); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list.menu { gap: 8px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact small { color: #8f999c; font-size: 13px; }
.footer-contact .icon { color: var(--accent-lt); margin-top: 3px; }
.footer-base { border-top: 1px solid #252a28; font-size: 14px; }
.footer-base-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; }

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

@media (max-width: 900px) {
	.topbar-item { display: none; }
	.topbar-inner { justify-content: center; }
	.site-logo { height: 64px; }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px;
		background: #fff; padding: 12px 24px 24px; border-bottom: 4px solid var(--accent);
		box-shadow: 0 18px 30px -18px rgba(0,0,0,.35);
		display: none;
	}
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu li + li { border-top: 1px solid var(--line); }
	.site-nav .menu a { padding: 14px 4px; }
	.site-nav .menu a::after { display: none; }

	.hero { padding: 48px 0 56px; background: linear-gradient(180deg, #fff 0 62%, var(--steel) 62%); }
	.hero-grid { grid-template-columns: 1fr; gap: 36px; }
	.facts-grid { grid-template-columns: 1fr; }
	.fact + .fact { border-left: 0; border-top: 1px solid #2a2f2d; }
	.experience-grid, .overview, .area, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
	.cap-grid-list { grid-template-columns: 1fr; }
	.section, .experience { padding: 60px 0; }
	.section-heading h2 { white-space: normal; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.topbar-links { gap: 14px; font-size: 13px; }
	.cap-grid { grid-template-columns: 1fr; }
	.cf-grid { grid-template-columns: 1fr; }
	.form-card { padding: 26px 20px; }
	.footer-grid { grid-template-columns: 1fr; }
	.section-heading { gap: 12px; }
	.section-heading .badge { width: 46px; height: 46px; }
	.section-heading .rule { display: none; }
	.stat-num { font-size: 88px; }
	.hero-actions .btn, .cta-actions .btn { width: 100%; }
	.service-tags { font-size: 16px; }
	.service-tags li + li::before { margin: 0 10px; }
	.banner-stripes { display: none; }
}

/* Print: the Capability Statement prints as a clean document ------------ */
@media print {
	@page { size: A4; margin: 14mm; }
	body { font-size: 11pt; color: #000; }
	.topbar, .nav-toggle, .site-nav, .cap-toolbar, .cta-band, .site-footer, .header-stripe::after, .banner-stripes { display: none !important; }
	.site-header { position: static; box-shadow: none; border-bottom: 3px solid var(--accent); }
	.site-logo { height: 80px; }
	.page-banner { background: #fff !important; color: #000; padding: 10px 0 14px; }
	.page-title { color: #000; font-size: 32pt; }
	.page-lead, .page-banner .eyebrow { color: #333; }
	.section, .section-tint { padding: 14px 0; background: #fff !important; }
	.section-heading { margin-bottom: 12px; }
	.cap-grid-list .cap-card { padding: 8px 0; break-inside: avoid; }
	.overview-facts { background: #fff; color: #000; border: 1px solid #ccc; }
	.print-contact { display: block; border-top: 3px solid var(--accent); margin-top: 16px; padding-top: 8px; font-size: 9pt; }
	* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
