/* Royal Electrical Services. Mako Digital, 2026.
   Brand: Royal Navy blue #0b1f3f + the logo red #c8102e, crest gold #e3b448 on dark grounds.
   The --blue* tokens are the ACCENT (kept from the base theme); they now hold red.
   Superwide: the container and the root font size step up at 1600/2100/2600px,
   so a 3440px screen gets a bigger page, not a narrow column in a sea of white. */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-semi-condensed-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-semi-condensed-700.woff2) format('woff2'); }

:root {
	--navy: #0b1f3f;
	--navy-deep: #07162e;
	--blue: #c8102e;        /* logo red: large text and decoration */
	--blue-ink: #b30e29;    /* red for text, links and buttons (6.6:1 on white) */
	--blue-ink-hover: #8c0b20;
	--blue-soft: #fbeced;
	--blue-line: #f2c6cd;
	--blue-on-navy: #e3b448;
	--ink: #16202c;
	--body: #3a4553;
	--muted: #5b6674;
	--line: #e1e6ec;
	--field-line: #8795a5;  /* 3:1 against white, as form borders must be */
	--tint: #f4f6f8;
	--paper: #ffffff;
	--ok: #146b43;
	--ok-bg: #e6f4ec;
	--err: #b3261e;
	--err-bg: #fdecea;
	--radius: 14px;
	--radius-lg: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(11, 31, 63, .06), 0 10px 30px rgba(11, 31, 63, .08);
	--font-head: 'Barlow Semi Condensed', 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--head-h: 4rem;
	--section: clamp(3.25rem, 2rem + 5vw, 6.5rem);
	--ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 1080px) { :root { --head-h: 4.75rem; } }
@media (min-width: 1600px) { :root { --wrap: 1360px; } html { font-size: 106.25%; } }
@media (min-width: 2100px) { :root { --wrap: 1560px; } html { font-size: 115%; } }
@media (min-width: 2600px) { :root { --wrap: 1780px; } html { font-size: 128%; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font-family: var(--font-body);
	font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-ink); text-underline-offset: .18em; }
a:hover { color: var(--blue-ink-hover); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 4.1rem); line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.85rem); line-height: 1.06; }
h3 { font-size: clamp(1.2rem, 1.1rem + .35vw, 1.4rem); line-height: 1.2; color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
.small { font-size: .95rem; color: var(--muted); }
.lede { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); line-height: 1.5; color: var(--body); max-width: 38rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 1rem; color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 52px; padding: .85em 1.45em;
	border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: .01em; line-height: 1.1;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue-ink); color: #fff; }
.btn-primary:hover { background: var(--blue-ink-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: #b9c6d4; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost .ico { transition: transform .2s var(--ease); }
.btn-ghost:hover .ico { transform: translateX(3px); }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--blue-ink); text-decoration: none; }
.link-arrow .ico { transition: transform .2s var(--ease); }
.link-arrow:hover .ico, a:hover > .link-arrow .ico, a:hover .link-arrow .ico { transform: translateX(4px); }

/* ----------------------------------------------------------------- header */
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; pointer-events: none; }
.site-head {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.is-scrolled .site-head { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(11, 31, 63, .06); }
.head-in { display: flex; align-items: center; gap: 1.5rem; height: var(--head-h); }
.brand { flex: none; display: block; }
.brand img { height: 2.75rem; width: auto; }
@media (min-width: 1080px) { .brand img { height: 3.25rem; } }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.9rem); }
.nav-list > li > a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.02rem; padding: .4rem 0; position: relative; }
.nav-list > li > a:hover { color: var(--blue-ink); }
.nav-list > li > a[aria-current="page"], .nav-list > li > a.is-section { color: var(--navy); }
.nav-list > li > a[aria-current="page"]::after, .nav-list > li > a.is-section::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--blue); }

/* dropdowns: Services and Areas list every page, so the menu links the whole site */
.has-sub { position: relative; display: flex; align-items: center; gap: .1rem; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.sub-toggle:hover { color: var(--blue-ink); background: var(--blue-soft); }
.sub-toggle .ico { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.has-sub.is-open > .sub-toggle .ico { transform: rotate(180deg); }
.sub ul { display: grid; gap: .1rem; }
.sub a { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.sub a:hover { background: var(--blue-soft); color: var(--blue-ink); }
.sub a[aria-current="page"] { color: var(--blue-ink); background: var(--blue-soft); }
.sub .ico { width: 1.2rem; height: 1.2rem; color: var(--blue-ink); }
.sub-all { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; padding: .75rem .75rem .35rem; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--blue-ink); text-decoration: none; }
.sub-all .ico { width: 1.05rem; height: 1.05rem; transition: transform .2s var(--ease); }
.sub-all:hover .ico { transform: translateX(3px); }
@media (min-width: 1080px) {
	.sub {
		position: absolute; top: calc(100% + 12px); left: -1rem; z-index: 60;
		padding: .6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(11, 31, 63, .16);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .18s ease, transform .18s var(--ease), visibility 0s linear .18s;
	}
	.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
	.sub-services { width: 34rem; }
	.sub-services ul { grid-template-columns: 1fr 1fr; }
	.sub-areas { width: 17rem; }
	.has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (min-width: 1080px) and (hover: hover) {
	.has-sub:hover > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.has-sub:hover > .sub-toggle .ico { transform: rotate(180deg); }
}
.nav-call { display: none; }
.head-call {
	flex: none; display: inline-flex; align-items: center; gap: .5em;
	background: var(--blue-ink); color: #fff; text-decoration: none;
	font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
	padding: .6em 1.15em; border-radius: 999px; min-height: 46px;
	transition: background-color .2s ease;
}
.head-call:hover { background: var(--blue-ink-hover); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1079.98px) {
	.head-in { gap: .75rem; }
	.head-call { margin-left: auto; width: 46px; height: 46px; padding: 0; justify-content: center; }
	.head-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; border-radius: 999px; border: 2px solid #b9c6d4;
		background: #fff; color: var(--navy); cursor: pointer; padding: 0;
	}
	.nav-toggle .ico { width: 24px; height: 24px; }
	.nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
	.nav-open .nav-toggle .i-close { display: block; }
	.nav {
		position: fixed; inset: var(--head-h) 0 0 0; z-index: 49;
		background: #fff; padding: 1.5rem var(--gutter) 2rem;
		display: none; overflow-y: auto; border-top: 1px solid var(--line);
	}
	.nav-open .nav { display: block; }
	.nav-open { overflow: hidden; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { border-bottom: 1px solid var(--line); }
	.nav-list > li > a { display: block; padding: 1rem 0; font-family: var(--font-head); font-size: 1.45rem; }
	.nav-list > li > a[aria-current="page"]::after, .nav-list > li > a.is-section::after { display: none; }
	.nav-list > li > a[aria-current="page"], .nav-list > li > a.is-section { color: var(--blue-ink); }
	.has-sub { flex-wrap: wrap; }
	.has-sub > a { flex: 1; }
	.sub-toggle { width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 999px; }
	.sub { display: none; flex-basis: 100%; padding: 0 0 1rem; }
	.has-sub.is-open > .sub { display: block; }
	.sub a { padding: .7rem .5rem; font-size: 1.1rem; }
	.sub-all { padding: .8rem .5rem .2rem; }
	.nav-call {
		display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.5rem;
		background: var(--blue-ink); color: #fff; text-decoration: none; border-radius: 999px;
		font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; padding: 1rem;
	}
	.nav-call:hover { color: #fff; }
}

/* ------------------------------------------------------------------- hero */
.hero, .page-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(circle at 1.5px 1.5px, rgba(200, 16, 46, .16) 1.5px, transparent 2px) 0 0 / 22px 22px,
		linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}
.hero::before, .page-hero::before {
	/* fade the dot pattern out towards the right so it never fights the photo */
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 45%, #fff 75%);
}
.hero-grid { position: relative; display: grid; gap: 2rem; padding-block: 2rem 3rem; align-items: center; }
.hero h1 span, .page-hero h1 span { display: block; color: var(--blue); }
.hero-media picture { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
@media (min-width: 900px) {
	.hero-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 5rem); padding-block: clamp(2.75rem, 5vw, 5rem) clamp(3.5rem, 6vw, 6rem); }
	.hero-media img { aspect-ratio: 4 / 4.6; max-height: calc(100vh - var(--head-h) - 7rem); min-height: 420px; }
}

/* ------------------------------------------------------------ trust strip */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; padding-block: 1.4rem; }
.trust-list li { display: flex; align-items: center; gap: .75rem; font-size: 1rem; line-height: 1.3; color: var(--body); }
.trust-list .ico { width: 1.9rem; height: 1.9rem; color: var(--blue-ink); }
.trust-list strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, 1fr); padding-block: 1.75rem; } }

/* ---------------------------------------------------------------- sections */
section { scroll-margin-top: calc(var(--head-h) + 12px); }
.services, .steps, .split-sec, .fleet, .areas, .faq, .quote, .values, .faults, .prose-sec, .base-note, .svc-links, .area-links, .towns-sec, .signs { padding-block: var(--section); }
.is-tint { background: var(--tint); }
.sec-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); }
.sec-head p { font-size: 1.12rem; color: var(--body); }

/* services */
.svc-feature { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .svc-feature { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.svc-big {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: clamp(320px, 30vw, 460px); border-radius: var(--radius-lg); overflow: hidden;
	background: var(--navy); color: #fff; text-decoration: none; isolation: isolate;
}
.svc-big picture { position: absolute; inset: 0; z-index: -2; }
.svc-big img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-big::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(7, 22, 46, 0) 20%, rgba(7, 22, 46, .55) 55%, rgba(7, 22, 46, .94) 100%);
}
.svc-big:hover img { transform: scale(1.04); }
.svc-big-copy { padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); max-width: 34rem; }
.svc-big h3 { color: #fff; font-size: clamp(1.55rem, 1.3rem + .9vw, 2.1rem); font-weight: 700; margin-bottom: .35rem; }
.svc-big .p { display: block; color: rgba(255, 255, 255, .9); margin-bottom: .9rem; line-height: 1.5; }
.svc-big .link-arrow { color: var(--blue-on-navy); }
.svc-big:hover .link-arrow, .svc-big:hover { color: #fff; }
.svc-list { display: grid; gap: 1.75rem 2rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
@media (min-width: 640px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-list { grid-template-columns: repeat(3, 1fr); } }
.svc-list li { padding-top: 1.35rem; border-top: 1px solid var(--line); }
.svc-list a { display: flex; gap: 1rem; align-items: flex-start; color: inherit; text-decoration: none; }
.svc-list a:hover h3 { color: var(--blue-ink); text-decoration: underline; text-underline-offset: .15em; }
.svc-all { margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); }
.svc-list .ico { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); }
.svc-list h3 { margin-bottom: .25rem; }
.svc-list p { color: var(--muted); font-size: 1rem; line-height: 1.5; }

/* steps */
.steps h2 { margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); }
.step-list { display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 640px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .step-list { grid-template-columns: repeat(4, 1fr); gap: 2.25rem; } }
.step-list li { position: relative; }
.step-list .ico { width: 3.2rem; height: 3.2rem; padding: .7rem; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 1.1rem; position: relative; z-index: 1; }
@media (min-width: 1024px) {
	.step-list li:not(:last-child)::after {
		content: ''; position: absolute; top: 1.6rem; left: 3.9rem; right: -1.6rem; height: 2px;
		background: repeating-linear-gradient(90deg, #b9c6d4 0 8px, transparent 8px 14px);
	}
}
.step-list h3 { margin-bottom: .35rem; }
.step-list p { color: var(--muted); font-size: 1rem; line-height: 1.5; }

/* split image + text */
.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media picture { border-radius: var(--radius-lg); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-copy { max-width: 36rem; }
.split-copy .link-arrow { margin-top: .5rem; }
@media (max-width: 899.98px) { .split.is-flip .split-media { order: -1; } }

/* fleet band */
.fleet { background: var(--navy); color: #d6e2ef; }
.fleet h2 { color: #fff; }
.fleet p { color: #d6e2ef; font-size: 1.12rem; }
.fleet-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .fleet-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }
.fleet-copy { max-width: 36rem; }
.fleet .link-arrow { color: var(--blue-on-navy); margin-top: .5rem; }
.fleet .link-arrow:hover { color: #fff; }
.ticks { display: grid; gap: 1rem; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; color: #fff; font-size: 1.08rem; line-height: 1.45; }
.ticks .ico { width: 1.7rem; height: 1.7rem; padding: .3rem; border-radius: 50%; background: rgba(227, 180, 72, .18); color: var(--blue-on-navy); margin-top: -.05rem; }

/* areas */
.areas-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.areas-copy { max-width: 36rem; }
.towns { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.towns a { display: flex; align-items: center; gap: .6rem; height: 100%; padding: .95rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; color: var(--navy); line-height: 1.15; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.towns a:hover { border-color: var(--blue-ink); color: var(--blue-ink); }
.towns .ico { color: var(--blue-ink); width: 1.35rem; height: 1.35rem; }
.areas.is-tint .towns a { border-color: #dde4eb; }
.areas-copy .link-arrow { margin-top: 1.25rem; }

/* FAQs */
.faq-grid { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(16rem, 1fr) 2fr; align-items: start; } .faq-head { position: sticky; top: calc(var(--head-h) + 2rem); } }
.faq-head h2 { margin-bottom: .75rem; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: clamp(1.12rem, 1.05rem + .3vw, 1.3rem); }
.qa summary .ico { color: var(--blue-ink); width: 1.4rem; height: 1.4rem; transition: transform .25s var(--ease); }
.qa[open] summary .ico { transform: rotate(180deg); }
.qa summary:hover h3 { color: var(--blue-ink); }
.qa-a { padding: 0 0 1.35rem; max-width: 44rem; }
.qa-a p { color: var(--body); }

/* quote */
.quote { background: var(--tint); }
.quote-grid { display: grid; gap: 2.25rem; align-items: start; }
@media (min-width: 1024px) { .quote-grid { grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); } }
.quote-side .lede { margin-bottom: 1.75rem; }
.reach { display: grid; gap: .75rem; }
.reach a, .reach-row { display: flex; align-items: center; gap: .9rem; padding: .95rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--body); text-decoration: none; transition: border-color .2s ease; }
.reach a:hover { border-color: var(--blue-ink); color: var(--body); }
.reach .ico { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); }
.reach strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); line-height: 1.2; }
.reach span span, .reach-row > span { font-size: .98rem; line-height: 1.35; }
.reach-row a { padding: 0; border: 0; background: none; display: inline; color: var(--blue-ink); word-break: break-word; }
.quote-note { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; font-size: .98rem; color: var(--muted); }
.quote-note .ico { color: var(--blue-ink); margin-top: .15rem; }
.quote-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.25rem, .9rem + 2vw, 2.4rem); }

/* form */
.fields { display: grid; gap: 1.15rem 1.25rem; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fld-wide { grid-column: 1 / -1; } }
.fld { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.fld label { font-weight: 600; color: var(--ink); font-size: 1rem; }
.opt { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea {
	width: 100%; min-height: 50px; padding: .7rem .9rem;
	font: inherit; font-size: 1.02rem; color: var(--ink);
	background: #fff; border: 1.5px solid var(--field-line); border-radius: var(--radius-sm);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.fld textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 4px rgba(22, 105, 193, .18); }
.fld [aria-invalid="true"] { border-color: var(--err); }
.fld input.reg { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .12em; text-transform: uppercase; }
.fld-file input { padding: .6rem; min-height: auto; font-size: .95rem; }
.fld-file input::file-selector-button { font: inherit; font-weight: 600; margin-right: .8rem; padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--field-line); background: var(--tint); color: var(--navy); cursor: pointer; }
.hint { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.fld-err { font-size: .92rem; color: var(--err); font-weight: 600; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 1.25rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.5rem; }
.btn-send { min-width: 13rem; }
.btn-send[disabled] { opacity: .7; cursor: progress; }
.form-status { margin: 0; font-size: .98rem; color: var(--muted); }
.form-status.is-err { color: var(--err); font-weight: 600; }
.form-small { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.form-note { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 12px; margin-bottom: 1.5rem; }
.form-note .ico { width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
.form-note.is-ok { background: var(--ok-bg); color: var(--ok); }
.form-note.is-ok strong { color: var(--ok); }
.form-note.is-err { background: var(--err-bg); color: var(--err); }
.form-note:focus { outline: none; }

/* ---------------------------------------------------------- inner pages */
.page-hero-grid { position: relative; display: grid; gap: 2rem; padding-block: 1.75rem clamp(2.75rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .page-hero:not(.is-text) .page-hero-grid { grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 5vw, 5rem); padding-top: clamp(2.25rem, 4vw, 3.5rem); } }
.page-hero.is-text .page-hero-copy { max-width: 52rem; }
.page-hero h1 { font-size: clamp(2.1rem, 1.45rem + 2.7vw, 3.6rem); }
.page-hero-media picture { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.page-hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.crumbs { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-ink); text-decoration: underline; }
.crumb-sep { width: .85em; height: .85em; transform: rotate(-90deg); color: #9aa6b3; }

.prose-sec p { max-width: 70ch; }
.prose-sec h2 { margin-top: 2.25rem; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); }
.prose-sec h2:first-child { margin-top: 0; }
.prose-sec .big { font-size: clamp(1.18rem, 1.08rem + .5vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.prose-sec.is-tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.prose-sec + .quote, .prose-sec.is-tint + .faq { margin-top: 0; }
.legal h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
.details { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: .6rem 1.5rem; margin: 1.5rem 0 2rem; padding: 1.25rem 1.4rem; background: var(--tint); border-radius: var(--radius); }
.details dt { font-weight: 600; color: var(--ink); }
.details dd { margin: 0; }
.callout { display: flex; gap: 1.1rem; align-items: flex-start; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius); }
.callout > .ico { width: 2.4rem; height: 2.4rem; color: var(--blue-ink); }
.callout h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin: 0 0 .4rem; }
.base-note { padding-block: 0 var(--section); background: var(--tint); }

/* values */
.values h2 { margin-bottom: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); }
.value-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .value-grid { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; } }
.value-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; }
.value-grid .ico { width: 2.3rem; height: 2.3rem; color: var(--blue-ink); margin-bottom: .9rem; }
.value-grid h3 { margin-bottom: .35rem; }
.value-grid p { color: var(--muted); font-size: 1rem; line-height: 1.5; }

/* faults */
.chip-grid { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.5rem; }
.chip-grid li { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.05rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.chip-grid .ico { color: var(--blue-ink); width: 1.15rem; height: 1.15rem; }

/* entry content (fallback pages) */
.entry > * + * { margin-top: 1em; }

/* ---------------------------------------------------------------- footer */
.site-foot { background: var(--navy-deep); color: #c9d6e5; padding-top: clamp(3rem, 2rem + 4vw, 5rem); }
.site-foot a { color: #c9d6e5; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; } }
@media (min-width: 1280px) { .foot-grid { grid-template-columns: 1.35fr repeat(4, 1fr); gap: 3rem 2.25rem; } .foot-brand { grid-column: auto; } }
.foot-brand img { height: 3.4rem; width: auto; margin-bottom: 1.1rem; }
.foot-brand p { max-width: 24rem; }
.foot-h { font-family: var(--font-head); font-size: 1.15rem; color: #fff; margin: 0 0 .9rem; letter-spacing: .01em; }
.foot-links { display: grid; gap: .5rem; }
.foot-h a { color: #fff; }
.foot-btn { padding: 0; border: 0; background: none; font: inherit; color: #c9d6e5; cursor: pointer; text-align: left; }
.foot-btn:hover { color: #fff; text-decoration: underline; }
.foot-contact { display: grid; gap: .6rem; margin-top: 1.25rem; }
.foot-contact li { display: flex; align-items: center; gap: .55rem; }
.foot-contact li > a { display: inline-flex; align-items: center; gap: .55rem; }
.foot-contact .ico { color: var(--blue-on-navy); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; color: #9fb1c6; }
.foot-base p { margin: 0; }

/* ------------------------------------------------- mobile quick-contact bar */
.action-bar { display: none; }
@media (max-width: 899.98px) {
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
	.action-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
		display: grid; grid-template-columns: 1fr 1fr 1.2fr;
		background: #fff; border-top: 1px solid var(--line);
		box-shadow: 0 -6px 20px rgba(11, 31, 63, .08);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 64px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .9rem; }
	.action-bar .ico { width: 1.45rem; height: 1.45rem; }
	.action-bar a + a { border-left: 1px solid var(--line); }
	.action-bar .is-primary { background: var(--blue-ink); color: #fff; border-left: 0; }
	.nav-open .action-bar { display: none; }
}

/* ---------------------------------------------------------------- motion */
/* Content is visible without JavaScript; only animate when JS is running and
   the visitor has not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.js .step-list li:nth-child(2), .js .svc-list li:nth-child(2), .js .value-grid li:nth-child(2) { transition-delay: .06s; }
	.js .step-list li:nth-child(3), .js .svc-list li:nth-child(3), .js .value-grid li:nth-child(3) { transition-delay: .12s; }
	.js .step-list li:nth-child(4), .js .svc-list li:nth-child(4), .js .value-grid li:nth-child(4) { transition-delay: .18s; }
	.hero-copy > * { animation: rise .8s var(--ease) both; }
	.hero-copy > :nth-child(2) { animation-delay: .06s; }
	.hero-copy > :nth-child(3) { animation-delay: .12s; }
	@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
	.svc-big img, .svc-big:hover img { transition: none; transform: none; }
}

/* ============================================================ home hero */
/* Number-plate quick quote: yellow UK rear-plate styling, blue UK band. */
.plate-form { margin-top: 1.9rem; max-width: 34rem; }
.plate-label { display: block; font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: .55rem; }
.plate-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.plate { flex: 1 1 15rem; display: flex; align-items: stretch; min-height: 62px; background: #f7d117; border: 2px solid #111; border-radius: 10px; overflow: hidden; transition: box-shadow .15s ease; }
.plate-uk { flex: none; width: 2.7rem; background: #1d3f9e; color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
.plate input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.65rem, 1.35rem + 1vw, 2.15rem); letter-spacing: .08em; text-transform: uppercase; color: #111; text-align: center; padding: 0 .75rem; }
.plate input::placeholder { color: rgba(17, 17, 17, .55); letter-spacing: .06em; }
.plate input:focus { outline: none; }
.plate:focus-within { box-shadow: 0 0 0 4px rgba(200, 16, 46, .5); }
.plate-go { min-height: 62px; }
.plate-or { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: .95rem; font-size: 1rem; color: var(--muted); }
.plate-or a { font-weight: 700; color: var(--navy); text-decoration: none; }
.plate-or a:hover { text-decoration: underline; }
.plate-or .ico { color: var(--blue-ink); }
.plate-form.is-dark .plate-label { color: #fff; }
.plate-form.is-dark .plate-or { color: #c9d6e5; }
.plate-form.is-dark .plate-or a { color: #fff; }
.plate-form.is-dark .plate-or .ico { color: var(--blue-on-navy); }
@media (max-width: 559.98px) { .plate-go { width: 100%; } }

.hero-x { position: relative; overflow: hidden; }
.hx-copy { position: relative; z-index: 1; max-width: 38rem; }
.hx-copy h1 { font-size: clamp(2.5rem, 1.45rem + 4vw, 4.6rem); line-height: 1; }
.hx-copy h1 span { display: block; }

/* Night: navy ground, the photo bleeds off the right edge */
.hero-night { background: radial-gradient(1100px 600px at 8% 0%, #1a3566 0%, rgba(26, 53, 102, 0) 62%), var(--navy); }
.hero-night h1 { color: #fff; }
.hero-night h1 span { color: var(--blue-on-navy); }
.hero-night .lede { color: #cddaea; }
.night-grid { position: relative; display: flex; align-items: center; min-height: clamp(34rem, 78vh, 52rem); padding-block: 3.5rem; }
.night-media { position: relative; }
.night-media picture, .night-media img { width: 100%; }
@media (min-width: 900px) {
	.night-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
	.night-media picture, .night-media img { height: 100%; }
	.night-media img { object-fit: cover; object-position: 50% 60%; }
	.night-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 31, 63, .55) 20%, rgba(11, 31, 63, 0) 52%); }
	.hero-night .hx-copy { max-width: min(38rem, 46%); }
}
@media (max-width: 899.98px) {
	.night-media img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 62%; }
	.night-media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(0deg, var(--navy), rgba(11, 31, 63, 0)); }
	.night-grid { min-height: 0; padding-block: 1.25rem 3rem; }
}

@media (prefers-reduced-motion: no-preference) {
	.hx-copy > * { animation: rise .8s var(--ease) both; }
	.hx-copy > :nth-child(2) { animation-delay: .06s; }
	.hx-copy > :nth-child(3) { animation-delay: .12s; }
}

/* ======================================================= service + town links */
/* service cards (town pages, hub, related services) */
.svc-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } .svc-grid.is-short { grid-template-columns: repeat(3, 1fr); } }
.svc-grid > li { display: flex; }
.svc-card { display: flex; flex-direction: column; width: 100%; padding: 1.4rem 1.35rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--body); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease); }
.svc-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); color: var(--body); transform: translateY(-2px); }
.svc-card > .ico { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); margin-bottom: 1rem; }
.svc-card h3 { margin-bottom: .35rem; }
.svc-card-p { display: block; color: var(--muted); font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; }
.svc-card-go { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--blue-ink); }
.svc-card-go .ico { transition: transform .2s var(--ease); }
.svc-card:hover .svc-card-go .ico { transform: translateX(4px); }
.svc-links.is-tint .svc-card { border-color: #dde4eb; }

/* town links (service pages, nearby areas, hub) */
.area-links:not(.is-tint) { border-top: 1px solid var(--line); }
.town-links { display: grid; gap: .75rem; margin-bottom: 1.75rem; }
@media (min-width: 640px) { .town-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .town-links { grid-template-columns: repeat(3, 1fr); } }
.town-links a { display: flex; align-items: center; gap: .85rem; height: 100%; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); text-decoration: none; transition: border-color .2s ease; }
.town-links a:hover { border-color: var(--blue-ink); color: var(--muted); }
.town-links .ico { width: 1.4rem; height: 1.4rem; color: var(--blue-ink); }
.town-links strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); line-height: 1.2; }
.town-links span span { font-size: .95rem; }
.town-links .town-go { margin-left: auto; width: 1.15rem; height: 1.15rem; transition: transform .2s var(--ease); }
.town-links a:hover .town-go { transform: translateX(4px); }
.area-links.is-tint .town-links a { border-color: #dde4eb; }

/* areas hub: town cards */
.town-cards { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 640px) { .town-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .town-cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.town-cards > li { display: flex; }
.town-card { display: flex; flex-direction: column; width: 100%; padding: 1.4rem 1.35rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--body); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease); }
.town-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow); color: var(--body); transform: translateY(-2px); }
.town-card-top { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .8rem; font-size: .95rem; font-weight: 600; color: var(--blue-ink); }
.town-card-top .ico { width: 1.15rem; height: 1.15rem; }
.town-card h3 { margin-bottom: .4rem; }
.town-card-p { display: block; color: var(--muted); font-size: 1rem; line-height: 1.5; margin-bottom: 1rem; }
.town-card:hover .svc-card-go .ico { transform: translateX(4px); }

/* coverage map (inline SVG, see res_area_map) */
.area-map { margin: 0; padding: clamp(1rem, .8rem + 1vw, 1.5rem) clamp(.75rem, .5rem + 1vw, 1.25rem) 1rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: radial-gradient(520px 420px at 55% 62%, #17426f 0%, rgba(23, 66, 111, 0) 70%), var(--navy); }
.area-map svg { width: 100%; height: auto; max-height: min(34rem, 72vh); margin-inline: auto; overflow: hidden; }
.area-map figcaption { margin-top: .6rem; text-align: center; font-size: .9rem; line-height: 1.35; color: #b8c9dc; }
.map-ring { fill: none; stroke: rgba(227, 180, 72, .32); stroke-width: 1.5; stroke-dasharray: 3 7; }
.map-ring-l { fill: #e3b448; font-family: var(--font-body); font-weight: 600; font-size: 12px; paint-order: stroke; stroke: var(--navy); stroke-width: 5px; stroke-linejoin: round; }
.map-north path { fill: #e3b448; }
.map-north text { fill: #e3b448; font-family: var(--font-head); font-weight: 700; font-size: 13px; text-anchor: middle; }
.map-town circle { fill: #fff; }
.map-town text { fill: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px; paint-order: stroke; stroke: var(--navy); stroke-width: 5px; stroke-linejoin: round; }
.map-town .map-mi, .map-base .map-mi { fill: #b8c9dc; font-family: var(--font-body); font-weight: 500; font-size: 12.5px; }
.map-town.is-current circle { fill: #f7d117; }
.map-town.is-current .map-halo { fill: rgba(247, 209, 23, .22); }
.map-town.is-current text { font-size: 18px; }
.map-town.is-current .map-mi { fill: #f7d117; font-size: 13px; }
.map-line { stroke: #f7d117; stroke-width: 2; stroke-dasharray: 5 5; opacity: .85; }
.map-base circle { fill: var(--blue); }
.map-base .map-base-halo { fill: rgba(200, 16, 46, .3); }
.map-base text { fill: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; paint-order: stroke; stroke: var(--navy); stroke-width: 5px; stroke-linejoin: round; }
.page-hero.has-map .page-hero-media { max-width: 30rem; width: 100%; justify-self: center; }
@media (min-width: 900px) { .page-hero.has-map .page-hero-grid { grid-template-columns: 1.15fr .85fr; } }

/* brake/clutch warning signs */
.signs h2 { margin-bottom: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); }
.signs-grid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .signs-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.sign-card { padding: 1.5rem 1.5rem 1.35rem; background: #fff; border: 1px solid #dde4eb; border-radius: var(--radius); }
.sign-card h3 { display: flex; align-items: center; gap: .55rem; font-size: clamp(1.3rem, 1.2rem + .4vw, 1.55rem); margin-bottom: .9rem; }
.sign-card h3 .ico { width: 1.6rem; height: 1.6rem; color: var(--blue-ink); }
.sign-list { display: grid; gap: .6rem; }
.sign-list li { position: relative; padding-left: 1.35rem; line-height: 1.45; }
.sign-list li::before { content: ''; position: absolute; left: .15rem; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--blue); }
.callout.is-warn { background: #fff8e6; border-color: #f2d58a; }
.callout.is-warn > .ico { color: #9a6a00; }
.callout .sign-list { margin-top: .75rem; }
.towns-note { max-width: 52rem; }

/* ========================================================== cookie banner */
.cookie {
	position: fixed; z-index: 70; left: 1rem; bottom: 1rem; width: min(26rem, calc(100% - 2rem));
	padding: 1.1rem 1.2rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(11, 31, 63, .2);
}
.cookie[hidden] { display: none; }
.cookie p { font-size: .98rem; line-height: 1.45; margin: 0 0 .9rem; }
.cookie strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); margin-bottom: .2rem; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cookie-btn { min-height: 46px; padding: .6em 1em; font-size: 1.05rem; background: var(--navy); color: #fff; }
.cookie-btn:hover { background: var(--navy-deep); color: #fff; }
@media (max-width: 899.98px) {
	.cookie { left: .75rem; right: .75rem; width: auto; bottom: calc(66px + env(safe-area-inset-bottom) + .75rem); }
	.nav-open .cookie { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
	.cookie:not([hidden]) { animation: rise .45s var(--ease) both; }
}
/* phones: service cards become a compact two-up grid (icon + title), so eight
   services take four short rows instead of a very long scroll */
@media (max-width: 639.98px) {
	.svc-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
	.svc-card { padding: 1rem .95rem .9rem; }
	.svc-card > .ico { width: 2.3rem; height: 2.3rem; padding: .45rem; margin-bottom: .7rem; }
	.svc-card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
	.svc-card-p { display: none; }
	.svc-card-go { font-size: .98rem; }
}
/* small phones: hero buttons always stack full width, so the layout does not
   change when the web font arrives (it made the pair wrap late: layout shift) */
@media (max-width: 479.98px) {
	.ctas { flex-direction: column; align-items: stretch; }
	.ctas .btn { width: 100%; }
}

/* ================================================== common jobs (22 Sep 2026) */
.job-links { padding-block: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); }
.job-links:not(.is-tint) { border-top: 1px solid var(--line); }
.job-links-in { display: grid; gap: 1.25rem 3rem; align-items: center; }
@media (min-width: 1024px) { .job-links-in { grid-template-columns: minmax(16rem, .8fr) 2fr; } }
.job-links-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); margin-bottom: .4rem; }
.job-links-head p { color: var(--muted); margin: 0; }
.job-chips { display: flex; flex-wrap: wrap; gap: .65rem; }
.job-chips a { display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1rem .75rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; line-height: 1.2; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.job-chips a:hover, .job-chips a[aria-current="page"] { border-color: var(--blue-ink); color: var(--blue-ink); }
.job-chips .ico { width: 1.2rem; height: 1.2rem; color: var(--blue-ink); }
.job-chips .job-go { width: 1rem; height: 1rem; color: var(--muted); transition: transform .2s var(--ease); }
.job-chips a:hover .job-go { transform: translateX(3px); color: var(--blue-ink); }
.job-links.is-tint .job-chips a { border-color: #dde4eb; }
/* menu: services, common repairs and warning lights in three columns. On
   desktop it hangs centred under the header (not under "Services"), so the
   wide panel can never run off the side of the screen. */
.sub-services .sub-cols { display: grid; gap: .25rem 1rem; }
.sub-services .sub-cols ul { grid-template-columns: 1fr; }
.sub-label { margin: 0; padding: .6rem .75rem .25rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
@media (min-width: 1080px) {
	.has-sub.is-mega { position: static; }
	.sub-services { left: 50%; top: calc(100% - 6px); width: min(42rem, calc(100vw - 2 * var(--gutter))); transform: translate(-50%, 6px); }
	.sub-services::before { top: -1rem; height: 1rem; }
	.has-sub.is-open > .sub-services { transform: translate(-50%, 0); }
	.sub-services .sub-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) and (hover: hover) {
	.has-sub.is-mega:hover > .sub-services { transform: translate(-50%, 0); }
}
.foot-h-sub { margin-top: 1.6rem; }
.signs .sign-card .link-arrow { margin-top: 1rem; }

/* common jobs strip: two labelled groups */
.job-groups { display: grid; gap: 1.5rem; }
.job-group-h { margin: 0 0 .7rem; font-size: 1.05rem; color: var(--navy); }

/* links inside chip lists (res_chips): the big pages link to the job pages */
.chip-grid li.is-link { padding: 0; }
.chip-grid li.is-link a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.05rem; border-radius: 999px; color: var(--blue-ink); text-decoration: none; }
.chip-grid li.is-link:hover { border-color: var(--blue-ink); }
.chip-grid li.is-link a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* dashboard warning-light card and van illustration (inc/visuals.php) */
.dash-card { margin: 0; padding: clamp(1rem, .8rem + 1vw, 1.5rem) clamp(.75rem, .5rem + 1vw, 1.25rem) 1rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: radial-gradient(520px 420px at 55% 40%, #17426f 0%, rgba(23, 66, 111, 0) 70%), var(--navy); }
.dash-card svg { display: block; width: 100%; height: auto; }
.dash-card figcaption { margin-top: .6rem; text-align: center; font-size: .9rem; line-height: 1.35; color: #b8c9dc; }

/* FAQs page: topic links under the hero */
.faq-jump { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: .5rem; }
.faq-jump a { padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-ink); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; }
.faq-jump a:hover { border-color: var(--blue-ink); }

/* callouts that sit inside another section rather than in their own */
.split-copy .callout, .signs .callout { margin-top: 1.5rem; }
.signs .callout, .faults .callout { max-width: 52rem; }
.callout h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); margin: 0 0 .4rem; }
.steps .sec-head h2 { margin-bottom: .5em; }

/* ============================================================ reviews */
/* Endless scroller: two copies of the list slide left by exactly one copy's
   width. Each list carries its own trailing gap so the seam is invisible.
   Without JS, or with reduced motion, it is a plain swipeable row. */
.reviews { padding-block: var(--section); overflow: hidden; }
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); }
.rv-head > div:first-child { max-width: 44rem; }
.rv-head p { font-size: 1.12rem; margin: 0; }
.rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.rv-pause { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--field-line); border-radius: 999px; background: #fff; color: var(--navy); font: 600 .98rem/1 var(--font-body); cursor: pointer; }
.rv-pause:hover { border-color: var(--blue-ink); color: var(--blue-ink); }
.rv-pause[hidden] { display: none; }
.rv-pause .ico { width: .95rem; height: .95rem; }
.rv-pause .rv-i-play, .rv-pause[aria-pressed="true"] .rv-i-pause { display: none; }
.rv-pause[aria-pressed="true"] .rv-i-play { display: block; }
.rv-viewport { --rv-gap: clamp(1rem, .8rem + .8vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.rv-track { display: flex; width: max-content; }
.rv-list { display: flex; align-items: flex-start; gap: var(--rv-gap); margin: 0; padding: 0 var(--rv-gap) 0 0; list-style: none; }
.rv-list[aria-hidden="true"] { display: none; }
.rv-track > .rv-list:first-child { padding-left: var(--gutter); }
.rv-card { scroll-snap-align: center; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; width: clamp(16.5rem, 78vw, 23rem); padding: 1.5rem 1.5rem 1.35rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.reviews.is-tint .rv-card { border-color: #dde4eb; }
.rv-card blockquote { position: relative; margin: 0; padding-top: 1.6rem; }
.rv-card blockquote::before { content: "\201C"; position: absolute; top: -.2rem; left: -.15rem; font: 700 3.6rem/1 Georgia, "Times New Roman", serif; color: var(--blue); }
.rv-card blockquote p { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.55; }
.rv-by { display: flex; align-items: center; gap: .75rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); line-height: 1.25; }
.rv-by strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--navy); }
.rv-avatar { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.1rem/1 var(--font-head); }
.rv-src { display: block; font-size: .9rem; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
	.js .rv-viewport { overflow: hidden; scroll-snap-type: none; padding-block: .5rem 1.25rem; margin-block: -.5rem -1.25rem;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
		mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
	.js .rv-list[aria-hidden="true"] { display: flex; }
	.js .rv-track > .rv-list:first-child { padding-left: 0; }
	.js .rv-track { animation: rv-scroll var(--rv-dur, 80s) linear infinite; }
	.js .reviews:hover .rv-track, .js .rv-viewport:focus-within .rv-track, .js .reviews.is-paused .rv-track { animation-play-state: paused; }
	@keyframes rv-scroll { to { transform: translateX(-50%); } }
}
/* Uniform cards: JS clamps every review to the line count of the "standard"
   one (Steve H.'s, measured at the current card width) and shows Read more
   where the text runs longer. No JS = full text, no button. */
.rv-body { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.rv-more { min-height: 2.25rem; padding: 0; border: 0; background: none; color: var(--blue-ink); font: 600 1rem/1 var(--font-body); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.rv-more:hover { color: var(--blue-ink-hover); }
.rv-more[hidden] { display: none; }
.rv-more.is-idle { visibility: hidden; }
.js .rv-clamped .rv-card blockquote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--rv-lines); line-clamp: var(--rv-lines); height: var(--rv-h); overflow: hidden; }
.js .rv-clamped .rv-card.is-open blockquote p { display: block; -webkit-line-clamp: none; line-clamp: none; height: auto; }
@media (prefers-reduced-motion: no-preference) {
	.js .reviews.has-open .rv-track { animation-play-state: paused; }
}

/* ================================================================ Royal
   Components added for Royal Electrical Services (30 Sep 2026). */

/* thin Union-flag rule under the header: red on white on navy */
.site-head { box-shadow: 0 3px 0 0 var(--blue), 0 5px 0 0 #fff, 0 8px 0 0 var(--navy); }
.brand img { height: calc(var(--head-h) - .9rem); width: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; padding: .4rem .85rem .4rem .6rem; border: 1px solid rgba(227, 180, 72, .45); border-radius: 999px; color: var(--blue-on-navy); font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow .ico { width: 1.15rem; height: 1.15rem; }
.eyebrow.is-dark { color: var(--blue-ink); border-color: var(--blue-line); background: var(--blue-soft); }

/* home hero */
.hero-royal .night-media { background: var(--navy-deep); }
.hero-royal .night-media img:not(.hero-seal) { object-position: 50% 45%; }
.hero-seal { position: absolute; z-index: 2; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); width: clamp(5.5rem, 4rem + 5vw, 9.5rem); height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.hero-royal .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero-royal .btn-ghost:hover { color: #fff; border-color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin-top: 2.1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.6rem); line-height: 1; color: #fff; }
.hero-stats span { margin-top: .3rem; color: #b9c8dc; font-size: .95rem; }
@media (max-width: 899px) { .hero-seal { width: 5.25rem; right: 1rem; bottom: 1rem; } }

/* accreditation strip */
.creds { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.creds-in { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 1000px) { .creds-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 3rem; } }
.creds h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.creds-copy p { color: var(--muted); max-width: 34rem; }
.creds-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: .85rem; }
.creds-list li { display: grid; place-items: center; aspect-ratio: 1; padding: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.creds-list img { max-height: 100%; width: auto; object-fit: contain; }

/* heritage split on the home page */
.heritage-media { position: relative; }
.heritage-media picture img { border-radius: var(--radius-lg); }
.heritage-badge { position: absolute; left: -.75rem; bottom: -1.25rem; width: clamp(6rem, 4.5rem + 5vw, 9rem); height: auto; filter: drop-shadow(0 10px 20px rgba(7, 22, 46, .35)); }
.ticks.is-dark { margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; }
.ticks.is-dark li { color: var(--ink); font-size: 1.02rem; }
.ticks.is-dark .ico { color: var(--blue-ink); flex: none; width: 1.35rem; height: 1.35rem; margin-top: .1rem; }

/* motto band */
.motto { background: var(--navy); background-image: linear-gradient(115deg, rgba(200, 16, 46, .0) 55%, rgba(200, 16, 46, .22) 55.2%, rgba(200, 16, 46, .22) 58%, rgba(200, 16, 46, 0) 58.2%); padding-block: clamp(2.5rem, 2rem + 3vw, 4.25rem); }
.motto-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.motto-line { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3rem); line-height: 1.1; color: #fff; }
.motto-line span { white-space: nowrap; }
.motto-line span:nth-child(2) { color: var(--blue-on-navy); }

/* key worker discount band */
.discount-band { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); background: linear-gradient(135deg, var(--blue-ink) 0%, #7a0a1c 100%); color: #fff; }
.discount-in { display: grid; gap: 1.25rem 2.5rem; align-items: center; }
@media (min-width: 900px) { .discount-in { grid-template-columns: auto 1fr auto; } .discount-band .link-arrow { grid-column: 2 / -1; } }
.discount-num { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 3rem + 4vw, 6.5rem); line-height: .85; color: #fff; }
.discount-num span { display: block; font-size: .32em; letter-spacing: .12em; text-transform: uppercase; color: #ffd7dc; }
.discount-band h2 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }
.discount-band p { color: #ffe3e6; max-width: 40rem; }
.discount-icons { display: flex; gap: .6rem; }
.discount-icons li { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.discount-icons .ico { width: 1.6rem; height: 1.6rem; color: #fff; }
.discount-band .link-arrow, .discount-band .link-arrow:hover { color: #fff; }

/* footer badges */
.foot-badges { display: flex; gap: .75rem; margin: 1.25rem 0; }
.foot-badges li { display: grid; place-items: center; width: 4.6rem; height: 4.6rem; padding: .45rem; border-radius: 12px; background: #fff; }
.foot-badges img { max-height: 100%; width: auto; }
.foot-brand img:not(.foot-badges img) { height: 4.5rem; }

/* gallery (our work) */
.work-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.work-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work-grid figcaption { padding: .8rem 1rem 1rem; font-size: .95rem; color: var(--muted); line-height: 1.4; }
/* the seal must beat ".night-media img { width:100%; height:100% }" */
.hero-royal .night-media img.hero-seal { position: absolute; width: clamp(5.25rem, 3.5rem + 5vw, 9.5rem); height: auto; object-fit: contain; inset: auto clamp(1rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) auto; }
.brand img { height: calc(var(--head-h) - .6rem); }
.heritage-media img.heritage-badge { position: absolute; width: clamp(6rem, 4.5rem + 5vw, 9rem); height: auto; aspect-ratio: auto; object-fit: contain; left: -.75rem; bottom: -1.25rem; }
.details dd { min-width: 0; overflow-wrap: anywhere; }
