/*
 * Keys4Cars — block styles and component CSS.
 *
 * Everything theme.json can't express. Colours, sizes and spacing are always
 * referenced through the --wp--preset--* and --wp--custom--* variables that
 * WordPress generates from theme.json, so changing a token in
 * tokens/keys4cars.tokens.json changes this file's output without editing it.
 *
 * Every value traces back to example/new-look/Homepage.html.
 *
 * Sections
 *   1. Base & accessibility
 *   2. Top bar
 *   3. Header & navigation (desktop list + <details> mobile menu)
 *   4. Buttons
 *   5. Text styles
 *   6. Chips & lists
 *   7. Containers: cards, nested frame, steps, notices
 *   8. Forms (quote card, callback, number plate)
 *   9. Hero
 *  10. Trust bar
 *  11. Google reviews
 *  12. Comparison table
 *  13. Areas & coverage map
 *  14. Stats, FAQ, page header, breadcrumbs
 *  15. CTA band
 *  16. Footer
 *  17. Sticky mobile call bar
 *  18. Motion (spring)
 *  19. Print
 */

/* ========== 1. Base & accessibility ========== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* theme.json colours headings ink; inside navy/blue groups they take the group colour. */
.has-brand-navy-background-color :is(h1,h2,h3,h4), .has-brand-deep-background-color :is(h1,h2,h3,h4), .has-primary-background-color :is(h1,h2,h3,h4) { color: inherit; }

/* Lowercase house style is applied to headings/buttons/labels in theme.json; these never get it. */
.num, abbr, .k4c-plate, .k4c-postcode { text-transform: none; }
.num { font-variant-numeric: tabular-nums; }

/* Readable measure for running text. */
.k4c-page-body .wp-block-post-content > p,
.k4c-page-body .wp-block-post-content > ul,
.k4c-page-body .wp-block-post-content > ol { max-width: 65ch; }

/* Visible, high-contrast focus on everything (WCAG 2.4.7, 2.4.11). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--wp--custom--layout--focus-width) solid var(--wp--preset--color--focus);
	outline-offset: var(--wp--custom--layout--focus-offset);
	border-radius: var(--wp--custom--radius--sm);
}
:where(a, button, input, select, textarea, summary):focus:not(:focus-visible) { outline: none; }
.has-brand-navy-background-color :focus-visible,
.has-brand-deep-background-color :focus-visible,
.has-primary-background-color :focus-visible { outline-color: var(--wp--preset--color--focus-on-dark); }

/* Sticky header must never cover a focused element. */
:target, [tabindex]:focus { scroll-margin-top: calc(var(--wp--custom--layout--header) + 1.5rem); }

.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 0.5rem; left: 0.5rem;
	z-index: 100000;
	width: auto; height: auto;
	padding: 0.75rem 1rem;
	clip: auto; clip-path: none;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--on-primary);
	font-weight: var(--wp--custom--font-weight--semibold);
	text-decoration: none;
	border-radius: var(--wp--custom--radius--pill);
}

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

/* Links in body text: underline is the signal, not colour alone. */
.wp-block-post-content a:not(.wp-block-button__link):not(.wp-element-button) {
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

img { height: auto; max-width: 100%; }
::selection { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }

/* Full-bleed sections inside the constrained main. */
.k4c-main > .wp-block-post-content > .alignfull, .k4c-main > .alignfull { margin-block: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > main.wp-block-group { margin-block: 0; }

/* Inline SVG icons from the sprite. */
.k4c-icon { flex-shrink: 0; display: inline-block; vertical-align: -0.15em; }

/* ========== 2. Top bar ========== */

.k4c-topbar { font-size: var(--wp--preset--font-size--body-sm); }
.k4c-topbar__row { min-height: var(--wp--custom--layout--topbar); gap: var(--wp--preset--spacing--40); }
.k4c-topbar__facts { display: flex; align-items: center; gap: var(--wp--preset--spacing--50); min-width: 0; overflow: hidden; white-space: nowrap; }
.k4c-topbar__fact { display: inline-flex; align-items: center; gap: 0.375rem; opacity: 0.9; }
.k4c-topbar__sep { opacity: 0.3; }
/* Facts (and the separator before each) appear by breakpoint: rating always, hours from 48rem, base from 64rem. */
.k4c-topbar__fact--md, .k4c-topbar__fact--lg { display: none; }
@media (min-width: 48rem) { .k4c-topbar__fact--md { display: inline-flex; } }
@media (min-width: 64rem) { .k4c-topbar__fact--lg { display: inline-flex; } }
.k4c-rating .k4c-stars { color: var(--wp--preset--color--accent); letter-spacing: -0.02em; font-size: 1.2em; line-height: 1; }
/* Phones: stars + "4.9" only, so the rating and the WhatsApp pill both fit. */
@media (max-width: 47.99rem) { .k4c-topbar .k4c-rating__count { display: none; } }

.k4c-social { display: flex; align-items: center; gap: var(--wp--preset--spacing--20); flex-shrink: 0; }
.k4c-social__btn {
	display: inline-grid; place-items: center;
	width: 40px; height: 40px; border-radius: var(--wp--custom--radius--pill);
	background: rgba(255,255,255,.12); color: var(--wp--preset--color--on-navy);
	transition: background var(--wp--custom--duration--base), color var(--wp--custom--duration--base);
}
.k4c-social__btn:hover, .k4c-social__btn:focus-visible { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--brand-deep); }
/* 44px tap target without changing the 40px visual. */
.k4c-social__btn::after { content: ""; position: absolute; inset: -2px; }
.k4c-social__btn--wa { background: var(--wp--preset--color--whatsapp); color: var(--wp--preset--color--on-whatsapp); }
/* The WhatsApp button is a labelled pill: icon + "WhatsApp" on phones, "connect via WhatsApp" from 48rem. Brand name keeps its capitals. */
.k4c-social__btn--wa { display: inline-flex; width: auto; gap: 0.45rem; padding: 0 0.95rem 0 0.6rem; font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--bold); letter-spacing: 0.01em; line-height: 1; white-space: nowrap; text-decoration: none; }
.k4c-social__label { display: inline-block; }
.k4c-social__label-pre { display: none; }
@media (min-width: 48rem) { .k4c-social__label-pre { display: inline; } }
.k4c-social__btn { position: relative; }

/* Scrolling services strip under the top bar (pure CSS; static when reduced motion is on). */
.k4c-ticker { position: relative; overflow: hidden; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--brand-deep); font-size: var(--wp--preset--font-size--body); font-weight: var(--wp--custom--font-weight--extrabold); line-height: 1; padding: 0.7rem 0; border-bottom: 1px solid rgba(1,27,97,.12); }
.k4c-ticker__track { display: flex; width: max-content; will-change: transform; }
.k4c-ticker__item { white-space: nowrap; padding-right: 0.5rem; }
.k4c-ticker__item i { font-style: normal; color: var(--wp--preset--color--primary); margin: 0 0.75rem; }
@keyframes k4c-ticker { to { transform: translateX(-50%); } }

/* ========== 3. Header & navigation ========== */

.k4c-header {
	position: sticky; top: 0; z-index: 40;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.k4c-header__row { min-height: var(--wp--custom--layout--header); gap: var(--wp--preset--spacing--30); position: relative; }
@media (min-width: 40rem) { .k4c-header__row { gap: var(--wp--preset--spacing--60); } }
.k4c-logo { line-height: 0; flex-shrink: 0; }
.k4c-logo a { display: block; border-radius: var(--wp--custom--radius--sm); }
.k4c-logo__img { display: block; width: auto; height: 48px; border-radius: 0; }
@media (min-width: 40rem) { .k4c-header .k4c-logo__img { height: 58px; } }
.k4c-footer .k4c-logo__img { height: 42px; }

.k4c-header__right { display: flex; align-items: center; gap: var(--wp--preset--spacing--30); margin-left: auto; }
@media (min-width: 40rem) { .k4c-header__right { gap: var(--wp--preset--spacing--60); } }

/* Desktop list ≥ 1024 */
.k4c-nav { display: none; }
.k4c-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--wp--preset--spacing--70); }
.k4c-nav__list a {
	display: inline-flex; align-items: center; min-height: var(--wp--custom--layout--target);
	position: relative; padding: 0 2px;
	font-size: 19px; font-weight: var(--wp--custom--font-weight--medium);
	color: var(--wp--preset--color--on-navy); opacity: 0.9; text-decoration: none; text-transform: lowercase;
	transition: opacity var(--wp--custom--duration--base), color var(--wp--custom--duration--base);
}
/* Hover: yellow underline springs in from the left, text brightens to the accent. */
.k4c-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 3px; border-radius: 3px; background: var(--wp--preset--color--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--wp--custom--duration--spring) var(--wp--custom--easing--spring); }
.k4c-nav__list a:hover, .k4c-nav__list a:focus-visible { opacity: 1; color: var(--wp--preset--color--accent); }
.k4c-nav__list a:hover::after, .k4c-nav__list a:focus-visible::after, .k4c-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.k4c-nav__list a[aria-current="page"] { opacity: 1; font-weight: var(--wp--custom--font-weight--semibold); }
@media (min-width: 64rem) { .k4c-nav { display: block; } }

/* "call now" pill: hidden wherever the hamburger shows (< 1024) — the sticky bar covers it */
.k4c-header__right .k4c-header__call {
	display: none; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: var(--wp--custom--layout--target-lg); padding: 0 1.5rem;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary);
	font-size: 15px; font-weight: var(--wp--custom--font-weight--semibold); text-decoration: none; text-transform: lowercase; white-space: nowrap;
	border: 1px solid var(--wp--preset--color--primary);
}
@media (min-width: 64rem) { .k4c-header__right .k4c-header__call { display: inline-flex; } }
/* 1024–1200: six links + the pill only fit with tighter spacing */
@media (min-width: 64rem) and (max-width: 75rem) {
	.k4c-header__row, .k4c-header__right { gap: var(--wp--preset--spacing--40); }
	.k4c-nav__list { gap: var(--wp--preset--spacing--50); }
	.k4c-nav__list a { font-size: 17px; }
	.k4c-header__right .k4c-header__call { padding: 0 1.1rem; }
	.k4c-header .k4c-logo__img { height: 50px; }
}

/* Mobile <details> menu (< 1024) */
.k4c-mnav { position: static; }
.k4c-mnav__btn {
	display: grid; place-items: center; width: 48px; height: 48px;
	border-radius: var(--wp--custom--radius--pill); background: rgba(255,255,255,.1);
	cursor: pointer; list-style: none;
}
.k4c-mnav__btn::-webkit-details-marker { display: none; }
.k4c-mnav__bars { display: grid; gap: 5px; width: 20px; }
.k4c-mnav__bars i { display: block; height: 2px; border-radius: 2px; background: var(--wp--preset--color--on-navy); transition: transform var(--wp--custom--duration--spring) var(--wp--custom--easing--spring), opacity var(--wp--custom--duration--base); }
.k4c-mnav[open] .k4c-mnav__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.k4c-mnav[open] .k4c-mnav__bars i:nth-child(2) { opacity: 0; }
.k4c-mnav[open] .k4c-mnav__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.k4c-mnav__panel {
	position: absolute; left: 0; right: 0; top: 100%; margin-top: 1px;
	background: var(--wp--preset--color--brand-navy);
	border-top: 1px solid rgba(255,255,255,.1);
	box-shadow: var(--wp--preset--shadow--menu);
	padding: var(--wp--preset--spacing--20) var(--wp--custom--layout--gutter) var(--wp--preset--spacing--40);
	border-radius: 0 0 var(--wp--custom--radius--xxxl) var(--wp--custom--radius--xxxl);
	max-height: calc(100dvh - var(--wp--custom--layout--header)); overflow-y: auto;
}
.k4c-mnav__list { list-style: none; margin: 0; padding: 0; }
.k4c-mnav__list a, .k4c-mnav__call {
	display: flex; align-items: center; min-height: var(--wp--custom--layout--target);
	font-size: 18px; font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--on-navy); text-decoration: none; text-transform: lowercase;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.k4c-mnav__list a[aria-current="page"] { color: var(--wp--preset--color--accent); }
.k4c-mnav__call { margin-top: var(--wp--preset--spacing--30); justify-content: center; border: 0; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--primary); text-transform: none; }
.k4c-mnav__call { font-variant-numeric: tabular-nums; }
@media (min-width: 64rem) { .k4c-mnav { display: none; } }

/* ========== 4. Buttons ========== */

.wp-block-button__link,
.wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
	min-height: var(--wp--custom--layout--target-lg);
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background-color var(--wp--custom--duration--base), border-color var(--wp--custom--duration--base), color var(--wp--custom--duration--base), box-shadow var(--wp--custom--duration--base);
}
.wp-block-button__link[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.wp-block-buttons { gap: var(--wp--preset--spacing--30); }
@media (min-width: 40rem) { .wp-block-buttons { gap: var(--wp--preset--spacing--40); } }
@media (max-width: 39.99rem) {
	.wp-block-buttons.k4c-stack-sm { flex-direction: column; }
	.wp-block-buttons.k4c-stack-sm .wp-block-button, .wp-block-buttons.k4c-stack-sm .wp-block-button__link { width: 100%; }
}

/* Phone icon via the sprite (no inline SVG needed in patterns). */
.wp-block-button.is-style-call .wp-block-button__link::before {
	content: ""; width: 19px; height: 19px; flex-shrink: 0; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.6 3h3l1.5 4.2-2 1.4a12 12 0 0 0 6.3 6.3l1.4-2L21 14.4v3c0 1.4-1.2 2.6-2.6 2.6A15.4 15.4 0 0 1 4 5.6C4 4.2 5.2 3 6.6 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.6 3h3l1.5 4.2-2 1.4a12 12 0 0 0 6.3 6.3l1.4-2L21 14.4v3c0 1.4-1.2 2.6-2.6 2.6A15.4 15.4 0 0 1 4 5.6C4 4.2 5.2 3 6.6 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Call buttons get a white border on hover/focus (hero + CTA band + cards). */
.wp-block-button.is-style-call .wp-block-button__link:hover, .wp-block-button.is-style-call .wp-block-button__link:focus-visible { box-shadow: inset 0 0 0 2px var(--wp--preset--color--white), var(--wp--preset--shadow--button-hover); }

/* WhatsApp: green fill, ink text (white on #25D366 fails WCAG) */
.wp-block-button.is-style-whatsapp .wp-block-button__link, .k4c-mbar__wa, .is-style-outline-white .wp-block-button__link[href*="wa.me"] { text-transform: none; }
.wp-block-button.is-style-whatsapp .wp-block-button__link {
	background: var(--wp--preset--color--whatsapp); border-color: var(--wp--preset--color--whatsapp);
	color: var(--wp--preset--color--on-whatsapp);
}
.wp-block-button.is-style-whatsapp .wp-block-button__link:hover,
.wp-block-button.is-style-whatsapp .wp-block-button__link:focus-visible { background: #1EBE5A; border-color: #1EBE5A; color: var(--wp--preset--color--on-whatsapp); }

/* Outline on light */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--brand-navy);
	border-color: var(--wp--preset--color--brand-navy);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible { background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); }

/* Outline on navy (hero WhatsApp) */
.wp-block-button.is-style-outline-white .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--on-navy);
	border-color: rgba(255,255,255,.35);
}
.wp-block-button.is-style-outline-white .wp-block-button__link:hover,
.wp-block-button.is-style-outline-white .wp-block-button__link:focus-visible { background: rgba(255,255,255,.1); border-color: var(--wp--preset--color--white); color: var(--wp--preset--color--on-navy); }

/* White on electric (CTA band) */
.wp-block-button.is-style-white .wp-block-button__link {
	background: var(--wp--preset--color--white); border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--primary);
}
.wp-block-button.is-style-white .wp-block-button__link:hover,
.wp-block-button.is-style-white .wp-block-button__link:focus-visible { background: var(--wp--preset--color--surface-tint); border-color: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--brand-navy); }

/* Navy fill (callback submit, "see all recent jobs") */
.wp-block-button.is-style-navy .wp-block-button__link { background: var(--wp--preset--color--brand-navy); border-color: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); }
.wp-block-button.is-style-navy .wp-block-button__link:hover,
.wp-block-button.is-style-navy .wp-block-button__link:focus-visible { background: var(--wp--preset--color--brand-deep); border-color: var(--wp--preset--color--brand-deep); }

/* Text link at button size */
.wp-block-button.is-style-text .wp-block-button__link {
	background: transparent; border-color: transparent;
	color: var(--wp--preset--color--primary);
	padding-left: var(--wp--preset--spacing--30); padding-right: var(--wp--preset--spacing--30);
	text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px;
}
.wp-block-button.is-style-text .wp-block-button__link:hover { color: var(--wp--preset--color--brand-navy); background: transparent; }

/* Small pill (service card "call now") */
.wp-block-button.k4c-btn-sm .wp-block-button__link { min-height: var(--wp--custom--layout--target); padding-left: 1.25rem; padding-right: 1.25rem; font-size: var(--wp--preset--font-size--body-sm); }

/* ========== 5. Text styles ========== */

.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: var(--wp--custom--font-weight--semibold);
	letter-spacing: normal;
	text-transform: lowercase; line-height: 1.3;
	color: var(--wp--preset--color--primary);
}
.has-brand-navy-background-color .is-style-eyebrow,
.has-brand-deep-background-color .is-style-eyebrow { color: var(--wp--preset--color--on-navy-muted); }
.has-primary-background-color .is-style-eyebrow { color: var(--wp--preset--color--on-navy-soft); }

.is-style-lede { font-size: var(--wp--preset--font-size--lede); line-height: var(--wp--custom--line-height--body); font-weight: var(--wp--custom--font-weight--light); max-width: 54ch; }
.has-brand-navy-background-color .is-style-lede { color: rgba(255,255,255,.85); }
.is-style-meta { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.has-brand-navy-background-color .is-style-meta,
.has-brand-deep-background-color .is-style-meta { color: var(--wp--preset--color--on-navy-muted); }
.is-style-hint { font-size: var(--wp--preset--font-size--label); color: var(--wp--preset--color--muted-2); }

.wp-block-heading.is-style-display, h1.is-style-display { font-size: var(--wp--preset--font-size--display); letter-spacing: var(--wp--custom--letter-spacing--display); line-height: var(--wp--custom--line-height--tight); }
.wp-block-heading.is-style-cta { font-size: var(--wp--preset--font-size--title-cta); }
.k4c-h1-soft { color: var(--wp--preset--color--on-navy-soft); }
.k4c-nowrap { white-space: nowrap; }

/* Section heading row with something on the right. */
.k4c-section-head { align-items: flex-end; gap: var(--wp--preset--spacing--50); }
.k4c-section-head > .wp-block-group { max-width: 46ch; }
.k4c-section-head .wp-block-heading { margin-top: var(--wp--preset--spacing--30); }
.k4c-section-head .is-style-lede { margin-top: var(--wp--preset--spacing--40); }

/* ========== 6. Chips & lists ========== */

.wp-block-list.is-style-chips,
.wp-block-list.is-style-chips-outline { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); }
.wp-block-list.is-style-chips li,
.wp-block-list.is-style-chips-outline li a {
	display: inline-flex; align-items: center; min-height: 38px; padding: 0 0.875rem;
	border-radius: var(--wp--custom--radius--pill);
	font-size: var(--wp--preset--font-size--body-sm); font-weight: var(--wp--custom--font-weight--semibold);
	text-transform: lowercase; text-decoration: none;
}
.wp-block-list.is-style-chips li { background: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--brand-navy); }
.wp-block-list.is-style-chips-outline li a {
	min-height: var(--wp--custom--layout--target-lg); padding: 0 1.25rem;
	border: 1px solid var(--wp--preset--color--border-strong); color: var(--wp--preset--color--brand-navy); background: var(--wp--preset--color--base);
	transition: background var(--wp--custom--duration--base), color var(--wp--custom--duration--base), border-color var(--wp--custom--duration--base), transform var(--wp--custom--duration--base);
}
@media (min-width: 40rem) { .wp-block-list.is-style-chips-outline li a { min-height: 38px; padding: 0 1rem; } }
.wp-block-list.is-style-chips-outline li a:hover,
.wp-block-list.is-style-chips-outline li a:focus-visible { background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); border-color: var(--wp--preset--color--brand-navy); }
.wp-block-list.is-style-chips-outline li a:active { transform: translateY(1px); }

.wp-block-list.is-style-checklist { list-style: none; padding-left: 0; display: grid; gap: var(--wp--preset--spacing--30); }
.wp-block-list.is-style-checklist li { position: relative; padding-left: 1.75rem; }
.wp-block-list.is-style-checklist li::before {
	content: ""; position: absolute; left: 0.25rem; top: 0.4em; width: 0.45rem; height: 0.8rem;
	border: solid var(--wp--preset--color--primary); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.has-brand-navy-background-color .wp-block-list.is-style-checklist li::before { border-color: #7FA0FF; }

/* Numbered steps (quote card) */
.wp-block-list.is-style-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--wp--preset--spacing--30); counter-reset: step; }
.wp-block-list.is-style-steps li, .k4c-step {
	display: grid; grid-template-columns: 36px 1fr; gap: var(--wp--preset--spacing--40); align-items: start;
	padding: var(--wp--preset--spacing--50); border-radius: var(--wp--custom--radius--xl);
	background: var(--wp--preset--color--surface); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border);
}
.wp-block-list.is-style-steps li::before, .k4c-step__num {
	counter-increment: step; content: counter(step);
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--brand-navy);
	font-weight: var(--wp--custom--font-weight--bold); font-size: 15px; font-variant-numeric: tabular-nums;
}
.k4c-step__num--on { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); }
.k4c-step__title { font-weight: var(--wp--custom--font-weight--semibold); font-size: var(--wp--preset--font-size--heading); line-height: var(--wp--custom--line-height--snug); text-transform: lowercase; margin: 0; }
.k4c-step__text { margin: 0.25rem 0 0; font-size: var(--wp--preset--font-size--body); line-height: var(--wp--custom--line-height--relaxed); color: var(--wp--preset--color--muted); }
.k4c-step--plain { padding: 0; background: none; box-shadow: none; }

/* ========== 7. Containers ========== */

.wp-block-group.is-style-card-tint, .wp-block-column.is-style-card-tint,
.wp-block-group.is-style-card-white, .wp-block-column.is-style-card-white,
.wp-block-group.is-style-card-outline {
	border-radius: var(--wp--custom--radius--xxl);
	padding: var(--wp--preset--spacing--60);
	display: flex; flex-direction: column;
	transition: transform var(--wp--custom--duration--spring) var(--wp--custom--easing--spring), box-shadow var(--wp--custom--duration--base);
}
.is-style-card-tint { background: var(--wp--preset--color--surface-tint); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.is-style-card-white { background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.is-style-card-outline { background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); overflow: hidden; padding: 0; }
.is-style-card-tint > * + *, .is-style-card-white > * + * { margin-block-start: var(--wp--preset--spacing--20); }
.is-style-card-tint h3, .is-style-card-white h3 { font-size: var(--wp--preset--font-size--heading-sm); }
.is-style-card-tint h3 a, .is-style-card-white h3 a { color: inherit; text-decoration: none; }
.is-style-card-tint h3 a:hover, .is-style-card-white h3 a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.is-style-card-tint p, .is-style-card-white p { font-size: var(--wp--preset--font-size--body-sm); line-height: var(--wp--custom--line-height--relaxed); color: var(--wp--preset--color--muted); }
.k4c-card__foot { margin-top: auto !important; padding-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--wp--preset--color--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); }
.k4c-card__foot--cta-only { justify-content: flex-end; }
.k4c-card__body h3 { font-size: var(--wp--preset--font-size--heading-lg); margin: 0; }
.k4c-card__body p { font-size: var(--wp--preset--font-size--body); margin-top: var(--wp--preset--spacing--30); }
.k4c-card--media > .k4c-card__body { margin-top: 0; }
.k4c-card__foot .wp-block-buttons { margin: 0; }
/* Service cards with a photo (or placeholder) above the title: media bleeds to the card edges */
.wp-block-group.k4c-card--media, .k4c-card--media { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.k4c-card__media-link { display: block; color: inherit; text-decoration: none; }
.k4c-card__media { margin: 0 !important; background: var(--wp--preset--color--surface-tint); border-bottom: 1px solid var(--wp--preset--color--border); overflow: hidden; }
.k4c-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.k4c-card__media--placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; align-content: center; gap: 0.5rem; padding: 1rem; color: var(--wp--preset--color--brand-navy); font-size: var(--wp--preset--font-size--label); font-weight: var(--wp--custom--font-weight--semibold); background: repeating-linear-gradient(135deg, var(--wp--preset--color--surface-tint) 0 14px, var(--wp--preset--color--border-strong) 14px 15px); }
.k4c-card__media--placeholder svg { width: 40px; height: 40px; opacity: .8; }
.k4c-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--wp--preset--spacing--50); }
.k4c-card__body > * + * { margin-block-start: var(--wp--preset--spacing--20); }
/* Why-choose-us icon badge */
.k4c-why__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); margin-bottom: var(--wp--preset--spacing--30); }
.k4c-price-from { font-size: var(--wp--preset--font-size--body-sm); font-weight: var(--wp--custom--font-weight--semibold); color: var(--wp--preset--color--heading); }

/* Nested frame: outer radius = inner radius + padding. */
.wp-block-group.is-style-nest, .k4c-nest {
	--r-in: var(--wp--custom--radius--nest-inner);
	--pad: var(--wp--custom--radius--nest-pad);
	padding: var(--pad);
	border-radius: calc(var(--r-in) + var(--pad));
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast);
	box-shadow: var(--wp--preset--shadow--hero-card), inset 0 0 0 1px var(--wp--preset--color--border);
}
@media (min-width: 40rem) { .wp-block-group.is-style-nest, .k4c-nest { --pad: var(--wp--custom--radius--nest-pad-sm); } }
@media (min-width: 64rem) { .wp-block-group.is-style-nest, .k4c-nest { --pad: var(--wp--custom--radius--nest-pad-md); } }
.k4c-nest > * { border-radius: var(--r-in); }
.k4c-nest > * + * { margin-block-start: var(--wp--preset--spacing--50); }
.k4c-nest .k4c-eyebrow-sm { border-radius: 0; margin-top: var(--wp--preset--spacing--50); }
.k4c-eyebrow-sm { font-size: var(--wp--preset--font-size--label); font-weight: var(--wp--custom--font-weight--semibold); letter-spacing: var(--wp--custom--letter-spacing--label); text-transform: lowercase; color: var(--wp--preset--color--muted-2); margin: 0; }

/* Notices: leading border + colour fill; heading names the type. */
[class*="is-style-notice-"] {
	border-left: var(--wp--custom--border--emphasis) solid currentColor;
	border-radius: var(--wp--custom--radius--md);
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}
[class*="is-style-notice-"] > p:first-child { font-weight: var(--wp--custom--font-weight--semibold); margin-bottom: 0.25rem; }
[class*="is-style-notice-"] > * + * { margin-block-start: 0.25rem; }
.is-style-notice-info { color: var(--wp--preset--color--brand-navy); background: var(--wp--preset--color--surface-tint); }
.is-style-notice-success { color: var(--wp--preset--color--success); background: var(--wp--preset--color--success-bg); }
.is-style-notice-error { color: var(--wp--preset--color--error); background: var(--wp--preset--color--error-bg); }
[class*="is-style-notice-"] a { color: inherit; }

/* ========== 8. Forms ========== */

.k4c-form { display: grid; gap: var(--wp--preset--spacing--40); }
.k4c-nest > .k4c-form { margin-top: 0; }
.k4c-nest > p:empty { display: none; }
.k4c-nest > [class*="is-style-notice"] { margin-bottom: var(--wp--preset--spacing--50); }
.k4c-form--tint { background: var(--wp--preset--color--surface-tint); border-radius: var(--wp--custom--radius--xl); padding: var(--wp--preset--spacing--50); }
.k4c-form__title { font-size: var(--wp--preset--font-size--heading-lg); margin: 0; }
.k4c-field { display: grid; gap: 0.375rem; margin: 0; }
.k4c-field label, .k4c-label { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; }
.k4c-form input[type="text"], .k4c-form input[type="tel"], .k4c-form input[type="email"], .k4c-form select, .k4c-form textarea, .k4c-search .wp-block-search__input {
	width: 100%; min-height: var(--wp--custom--layout--target);
	padding: 0 1.25rem; font: inherit; font-size: var(--wp--preset--font-size--body);
	color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-strong); border-radius: var(--wp--custom--radius--pill);
	transition: border-color var(--wp--custom--duration--base), box-shadow var(--wp--custom--duration--base), scale var(--wp--custom--duration--spring) var(--wp--custom--easing--spring);
}
.k4c-form textarea { border-radius: var(--wp--custom--radius--xl); padding: 0.875rem 1.25rem; min-height: 8rem; resize: vertical; }
.k4c-form input::placeholder, .k4c-form textarea::placeholder { color: var(--wp--preset--color--muted-2); opacity: 1; }
.k4c-form input:focus, .k4c-form textarea:focus, .k4c-form select:focus { border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 1px var(--wp--preset--color--primary); }
.k4c-form input[type="tel"] { font-variant-numeric: tabular-nums; letter-spacing: var(--wp--custom--letter-spacing--tel); }
.k4c-form .is-invalid { border-color: var(--wp--preset--color--error); box-shadow: 0 0 0 1px var(--wp--preset--color--error); }
.k4c-error { color: var(--wp--preset--color--error); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); }
.k4c-hint { font-size: var(--wp--preset--font-size--label); color: var(--wp--preset--color--muted-2); }
.k4c-form button[type="submit"], .k4c-form .k4c-submit {
	display: inline-flex; align-items: center; justify-content: center; width: 100%;
	min-height: var(--wp--custom--layout--target-lg); padding: 0 1.5rem;
	border: 2px solid var(--wp--preset--color--primary); border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary);
	font: inherit; font-size: var(--wp--preset--font-size--body); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; cursor: pointer;
	transition: background var(--wp--custom--duration--base), translate var(--wp--custom--duration--spring) var(--wp--custom--easing--spring), box-shadow var(--wp--custom--duration--base);
}
.k4c-form button[type="submit"]:hover { background: var(--wp--preset--color--primary-hover); border-color: var(--wp--preset--color--primary-hover); box-shadow: var(--wp--preset--shadow--button-hover); }
.k4c-form .k4c-consent { display: grid; grid-template-columns: auto 1fr; gap: 0.625rem; align-items: start; font-size: var(--wp--preset--font-size--small); }
.k4c-form .k4c-consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; accent-color: var(--wp--preset--color--primary); }
.k4c-form .k4c-consent label { text-transform: none; font-weight: var(--wp--custom--font-weight--regular); }
.k4c-honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Callback mini-form (hero) */
.k4c-callback { background: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--contrast); border-radius: var(--wp--custom--radius--xl); padding: var(--wp--preset--spacing--40); max-width: 560px; }
@media (min-width: 40rem) { .k4c-callback { padding: var(--wp--preset--spacing--50); } }
.k4c-callback__row { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.75rem; }
@media (min-width: 40rem) { .k4c-callback__row { flex-direction: row; } }
.k4c-callback__row input { flex: 1; }
.k4c-callback button[type="submit"] { width: auto; flex-shrink: 0; background: var(--wp--preset--color--brand-navy); border-color: var(--wp--preset--color--brand-navy); min-height: var(--wp--custom--layout--target); font-size: var(--wp--preset--font-size--body-sm); text-transform: none; }
.k4c-callback button[type="submit"]:hover { background: var(--wp--preset--color--brand-deep); border-color: var(--wp--preset--color--brand-deep); }
.k4c-callback__label { font-size: var(--wp--preset--font-size--body-sm); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; }
.k4c-callback .k4c-hint { margin-top: 0.625rem; color: var(--wp--preset--color--brand-navy); font-size: var(--wp--preset--font-size--small); }

/* UK number plate */
.k4c-plate {
	display: flex; align-items: stretch; height: 60px; border-radius: var(--wp--custom--radius--md); overflow: hidden;
	background: var(--wp--preset--color--plate); border: 2px solid #1a1a1a; box-shadow: inset 0 0 0 2px var(--wp--preset--color--white);
}
.k4c-plate__band { display: flex; align-items: flex-end; justify-content: center; width: 44px; padding-bottom: 6px; background: var(--wp--preset--color--plate-band); color: var(--wp--preset--color--white); font-weight: var(--wp--custom--font-weight--extrabold); font-size: 12px; }
.k4c-form input.k4c-plate__input {
	flex: 1; min-width: 0; min-height: 0; border: 0; border-radius: 0; background: transparent;
	color: var(--wp--preset--color--plate-ink); font-weight: var(--wp--custom--font-weight--extrabold);
	font-size: var(--wp--preset--font-size--plate); letter-spacing: var(--wp--custom--letter-spacing--plate); text-transform: uppercase; padding: 0 16px;
}
.k4c-form input.k4c-plate__input::placeholder { color: rgba(17,17,17,.4); }
.k4c-form input.k4c-plate__input:focus { box-shadow: none; }
.k4c-plate:focus-within { outline: var(--wp--custom--layout--focus-width) solid var(--wp--preset--color--focus); outline-offset: var(--wp--custom--layout--focus-offset); }
@media (max-width: 23.75rem) { .k4c-plate__band { width: 36px; } .k4c-form input.k4c-plate__input { padding: 0 12px; letter-spacing: 0.08em; } }

/* Search block */
.k4c-search .wp-block-search__inside-wrapper { gap: 0.5rem; border: 0 !important; padding: 0 !important; }
.k4c-search .wp-block-search__button { min-height: var(--wp--custom--layout--target); border-radius: var(--wp--custom--radius--pill); padding: 0 1.25rem; }

/* ========== 9. Hero ========== */

.k4c-hero { padding-top: var(--wp--preset--spacing--hero-top); padding-bottom: var(--wp--preset--spacing--hero-bottom); }
.k4c-hero .wp-block-columns { gap: var(--wp--preset--spacing--80); }
@media (min-width: 64rem) { .k4c-hero .wp-block-columns { gap: var(--wp--preset--spacing--90); } }
.k4c-hero .wp-block-column > * + * { margin-block-start: var(--wp--preset--spacing--60); }
.k4c-hero .is-style-eyebrow + .wp-block-image { margin-block-start: var(--wp--preset--spacing--50); }
.k4c-hero h1 { margin-block-start: var(--wp--preset--spacing--50); }
.k4c-hero .is-style-lede { margin-block-start: var(--wp--preset--spacing--60); }
.k4c-hero .wp-block-buttons { margin-block-start: var(--wp--preset--spacing--70); }
.wp-block-image.is-style-van img, .k4c-hero-van { display: block; width: 100%; max-width: 520px; height: auto; border-radius: 0; filter: var(--wp--custom--van-drop-shadow); }
@media (max-width: 39.99rem) { .wp-block-image.is-style-van img { max-width: 88%; } }
.k4c-hero .wp-block-button__link { font-size: 17px; padding-left: 1.75rem; padding-right: 1.75rem; }

/* ========== 10. Trust bar ========== */

.k4c-trust { border-top: 1px solid rgba(255,255,255,.1); }
.k4c-trust__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 64rem) { .k4c-trust__grid { grid-template-columns: repeat(4, 1fr); } }
.k4c-trust__item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 14px; border: 0 solid rgba(255,255,255,.12); }
.k4c-trust__grid .k4c-trust__item:nth-child(odd) { border-right-width: 1px; }
.k4c-trust__grid .k4c-trust__item:nth-child(-n+2) { border-bottom-width: 1px; }
@media (min-width: 40rem) { .k4c-trust__item { flex-direction: row; align-items: center; gap: 14px; padding: 22px 16px; } }
@media (min-width: 64rem) { .k4c-trust__item { padding: 26px 24px; border-bottom-width: 0 !important; border-right-width: 1px; } .k4c-trust__grid .k4c-trust__item:last-child { border-right-width: 0; } }
.k4c-trust__icon { width: 38px; height: 38px; padding: 8px; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); flex-shrink: 0; transition: scale var(--wp--custom--duration--spring-lg) var(--wp--custom--easing--spring), rotate var(--wp--custom--duration--spring-lg) var(--wp--custom--easing--spring); }
@media (min-width: 40rem) { .k4c-trust__icon { width: 44px; height: 44px; padding: 10px; } }
.k4c-trust__title { margin: 0; font-weight: var(--wp--custom--font-weight--bold); font-size: 15.5px; line-height: 1.2; text-transform: lowercase; }
@media (min-width: 40rem) { .k4c-trust__title { font-size: 17px; } }
.k4c-trust__sub { margin: 3px 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--on-navy-muted); line-height: 1.35; }

/* ========== 11. Google reviews ========== */

.k4c-gr { font-family: var(--wp--preset--font-family--google); color: var(--wp--preset--color--google-ink); }
.k4c-gr__summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: var(--wp--preset--spacing--70); }
.k4c-gr__left { display: flex; align-items: center; gap: 16px; }
.k4c-gr__logo { width: 52px; height: 52px; flex-shrink: 0; }
.k4c-gr__logo--sm { width: 20px; height: 20px; margin-left: auto; }
.k4c-gr__excellent { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; text-transform: none; }
.k4c-gr__rating { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.k4c-gr__score { font-size: 20px; font-weight: 700; }
.k4c-gr__stars { color: var(--wp--preset--color--google-star); letter-spacing: .04em; font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
.k4c-gr__stars--lg { font-size: 22px; }
.k4c-gr__based { margin: 2px 0 0; font-size: 14px; font-weight: 500; color: var(--wp--preset--color--google-text); }
.k4c-gr__based strong { color: var(--wp--preset--color--google-ink); }
.k4c-gr__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--google-blue); color: var(--wp--preset--color--white); font-weight: 500; font-size: 15px; text-decoration: none; transition: background var(--wp--custom--duration--base), box-shadow var(--wp--custom--duration--base), translate var(--wp--custom--duration--spring) var(--wp--custom--easing--spring); }
.k4c-gr__btn:hover, .k4c-gr__btn:focus-visible { background: var(--wp--preset--color--google-blue-hover); color: var(--wp--preset--color--white); box-shadow: 0 1px 3px rgba(60,64,67,.3); }
.k4c-gr__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: var(--wp--preset--spacing--70); }
@media (min-width: 48rem) { .k4c-gr__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.k4c-gr__card { background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--google-border); border-radius: var(--wp--custom--radius--lg); padding: 20px; margin: 0; display: flex; flex-direction: column; box-shadow: var(--wp--preset--shadow--google); transition: box-shadow var(--wp--custom--duration--base), translate var(--wp--custom--duration--spring-lg) var(--wp--custom--easing--spring); }
.k4c-gr__card:hover { box-shadow: var(--wp--preset--shadow--google-hover); }
.k4c-gr__head { display: flex; align-items: center; gap: 12px; }
.k4c-gr__avatar { width: 40px; height: 40px; border-radius: var(--wp--custom--radius--pill); color: var(--wp--preset--color--white); display: grid; place-items: center; font-weight: 500; font-size: 18px; flex-shrink: 0; text-transform: uppercase; }
.k4c-gr__name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; text-transform: none; }
.k4c-gr__date { margin: 0; font-size: 13px; color: var(--wp--preset--color--google-muted-2); }
.k4c-gr__card .k4c-gr__stars { margin-top: 12px; }
.k4c-gr__verified { width: 15px; height: 15px; }
.k4c-gr__text { margin: 8px 0 0; font-family: var(--wp--preset--font-family--sans); font-size: 15.5px; line-height: 1.55; font-weight: var(--wp--custom--font-weight--semibold); color: var(--wp--preset--color--google-ink); flex: 1; }
.k4c-gr__more { margin-top: 12px; font-size: 14px; color: var(--wp--preset--color--google-muted-2); align-self: flex-start; padding: 6px 0; }
.k4c-gr__more:hover { color: var(--wp--preset--color--google-blue); }
.k4c-gr__response { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--wp--preset--color--google-rule); font-size: 13.5px; color: var(--wp--preset--color--google-muted); }

/* ========== 12. Dealer vs us cards ========== */

@property --k4c-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.k4c-vs { display: grid; gap: var(--wp--preset--spacing--50); align-items: stretch; }
@media (min-width: 48rem) { .k4c-vs { grid-template-columns: 1fr auto 1fr; gap: var(--wp--preset--spacing--40); } }
.k4c-vs__card { position: relative; margin: 0; border-radius: var(--wp--custom--radius--xxl); padding: var(--wp--preset--spacing--60); background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.k4c-vs__eyebrow { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); letter-spacing: var(--wp--custom--letter-spacing--wide); text-transform: lowercase; color: var(--wp--preset--color--muted-2); }
.k4c-vs__name { margin: 0.25rem 0 0; font-size: var(--wp--preset--font-size--title-sm); font-weight: var(--wp--custom--font-weight--bold); line-height: 1.1; text-transform: lowercase; color: inherit; }
.k4c-vs__list { margin: var(--wp--preset--spacing--50) 0 0; }
.k4c-vs__row { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; padding: 0.75rem 0; border-top: 1px solid var(--wp--preset--color--border); align-items: start; }
@media (min-width: 40rem) { .k4c-vs__row { grid-template-columns: 7.5rem 1fr; } }
.k4c-vs__row dt { display: flex; align-items: center; gap: 0.45rem; font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; color: var(--wp--preset--color--muted); }
.k4c-vs__dt-icon { flex-shrink: 0; color: var(--wp--preset--color--primary); }
.k4c-vs__card--us .k4c-vs__dt-icon { color: var(--wp--preset--color--on-navy-soft); }
.k4c-vs__row dd { margin: 0; display: flex; gap: 0.5rem; align-items: flex-start; font-size: var(--wp--preset--font-size--body-sm); line-height: var(--wp--custom--line-height--snug); }
.k4c-vs__icon { flex-shrink: 0; margin-top: 1px; }
.k4c-vs__card--dealer, .k4c-vs__card--dealer .k4c-vs__name { color: var(--wp--preset--color--muted); }
.k4c-vs__card--dealer .k4c-vs__icon { color: var(--wp--preset--color--error); }
.k4c-vs__card--us { background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); box-shadow: 0 0 0 3px var(--wp--preset--color--accent); }
.k4c-vs__card--us .k4c-vs__eyebrow, .k4c-vs__card--us .k4c-vs__icon { color: var(--wp--preset--color--accent); }
.k4c-vs__card--us .k4c-vs__row { border-top-color: rgba(255,255,255,.14); }
.k4c-vs__card--us .k4c-vs__row dt { color: var(--wp--preset--color--on-navy-muted); }
.k4c-vs__card--us .k4c-vs__row dd { font-weight: var(--wp--custom--font-weight--semibold); }
.k4c-vs__cta { margin: var(--wp--preset--spacing--60) 0 0; }
.k4c-vs__btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; min-height: var(--wp--custom--layout--target-lg); padding: 0 1.5rem; border-radius: var(--wp--custom--radius--pill); border: 2px solid var(--wp--preset--color--primary); background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); font-weight: var(--wp--custom--font-weight--semibold); text-decoration: none; font-variant-numeric: tabular-nums; }
.k4c-vs__btn:hover, .k4c-vs__btn:focus-visible { background: var(--wp--preset--color--primary-hover); border-color: var(--wp--preset--color--white); }
.k4c-vs__badge { position: relative; z-index: 1; align-self: center; justify-self: center; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--brand-deep); font-weight: var(--wp--custom--font-weight--extrabold); font-size: 19px; text-transform: lowercase; box-shadow: 0 0 0 6px var(--wp--preset--color--surface); }
@media (max-width: 47.99rem) { .k4c-vs__badge { margin: calc(-1 * var(--wp--preset--spacing--50) - 1.4rem) auto; } }

/* ========== 13. Areas & coverage map ========== */

/* Homepage "where we cover": stepped clock beside the three travel-time rows. */
.k4c-areas__rows { display: grid; gap: var(--wp--preset--spacing--60); margin-top: var(--wp--preset--spacing--70); }
.k4c-areas__clock { display: grid; justify-items: center; gap: var(--wp--preset--spacing--20); }
.k4c-areas__clock .k4c-clock { width: 8.5rem; height: 8.5rem; }
/* reading="below": the time sits under the dial instead of across its face */
.k4c-clock-wrap { display: grid; justify-items: center; gap: var(--wp--preset--spacing--20); }
.k4c-clock--below .k4c-clock__time { display: none; }
.k4c-clock__reading { display: grid; margin: 0; font-size: var(--wp--preset--font-size--title-sm); font-weight: var(--wp--custom--font-weight--extrabold); letter-spacing: var(--wp--custom--letter-spacing--heading); line-height: 1; color: var(--wp--preset--color--brand-navy); text-align: center; white-space: nowrap; }
.k4c-clock__reading > span { grid-area: 1 / 1; }
.k4c-clock__reading--1, .k4c-clock__reading--2, .k4c-clock__reading--3 { opacity: 0; }
.k4c-getting__head .k4c-clock__reading { font-size: var(--wp--preset--font-size--heading); }
.k4c-areas__caption { margin: 0; font-size: var(--wp--preset--font-size--label-sm); font-weight: var(--wp--custom--font-weight--semibold); color: var(--wp--preset--color--muted); text-transform: lowercase; text-align: center; line-height: 1.3; }
/* Homepage pop map: a wide tilted board, every town a standing pin that pops up nearest-first and loops. */
@property --zoom { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --cam-x { syntax: "<length>"; inherits: true; initial-value: 650px; }
@property --cam-y { syntax: "<length>"; inherits: true; initial-value: 260px; }
.k4c-areas__towns .k4c-m3d--pop { margin-top: var(--wp--preset--spacing--30); }
.k4c-m3d--pop { --zoom: 1.338; --cam-x: 870px; --cam-y: 480px; }
.k4c-m3d--pop .k4c-m3d__stage { perspective: 900px; perspective-origin: 50% 10%; }
.k4c-m3d--pop .k4c-m3d__board { top: 50%; transform: translate(-50%, -50%) scale3d(calc(var(--s) * var(--zoom)), calc(var(--s) * var(--zoom)), calc(var(--s) * var(--zoom))) rotateX(var(--tilt)) rotateZ(var(--spin)) translate(calc(var(--w) / 2 - var(--cam-x)), calc(var(--h) / 2 - var(--cam-y))); }
/* taller pins; heads and names scale with the board (zoomed-in stops have room for bigger names) */
.k4c-m3d--pop .k4c-m3d__pin i { height: 34px; top: -34px; }
.k4c-m3d--pop .k4c-m3d__pin b { transform: translateZ(36px) rotateZ(calc(-1 * var(--spin))) rotateX(calc(-1 * var(--tilt))); }
.k4c-m3d--pop .k4c-m3d__pin span { --lx: -50%; --ly: -34px; transform: translateZ(36px) rotateZ(calc(-1 * var(--spin))) rotateX(calc(-1 * var(--tilt))) translate(var(--lx), var(--ly)); }
.k4c-m3d--pop .k4c-m3d__pin--base span { --ly: -40px; }
.k4c-m3d__river--minor { stroke-width: 10; }
.k4c-pop__pin--right span { --lx: 10px; --ly: -36px; }
.k4c-pop__pin--left span { --lx: calc(-100% - 10px); --ly: -36px; }
.k4c-pop__pin--below span { --lx: -50%; --ly: 6px; }
.k4c-pop__pin--ar span { --lx: 6px; --ly: -52px; }
.k4c-pop__pin--al span { --lx: calc(-100% - 6px); --ly: -52px; }
.k4c-pop__pin--br span { --lx: 6px; --ly: -12px; }
.k4c-pop__pin--bl span { --lx: calc(-100% - 6px); --ly: -12px; }
.k4c-pop__pin span { font-size: 11px; padding: 0.28rem 0.5rem; }
/* Each name shows as its pin pops, then settles to a dot; hovering the map pauses it, hovering a pin shows its name. */
.k4c-pop__pin:hover span { animation: none; opacity: 1; }
.k4c-pop__pin:hover { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .k4c-pop__pin span { opacity: 0; } .k4c-pop__pin:hover span { opacity: 1; } }
.k4c-pop__pin--b3 b, .k4c-pop__pin--b3 span, .k4c-pop__pin--b3 i, .k4c-pop__pin--b4 b, .k4c-pop__pin--b4 span, .k4c-pop__pin--b4 i { background: var(--wp--preset--color--brand-navy); }
.k4c-pop__pin--b3::before, .k4c-pop__pin--b4::before { background: rgba(1,27,97,.18); }
.k4c-pop__pin:hover b, .k4c-pop__pin:hover span { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--brand-deep); }
@media (max-width: 40rem) {
	.k4c-m3d--pop { aspect-ratio: 1 / 0.8; }
	.k4c-m3d--pop .k4c-m3d__board { --s: tan(atan2(190cqw, var(--w))); top: 50%; }
	.k4c-pop__pin span { display: none; }
}
.k4c-area-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wp--preset--spacing--30); width: 100%; }
.k4c-area-rows li { display: flex; align-items: center; justify-content: space-between; gap: var(--wp--preset--spacing--40); padding: 1rem 1.25rem; border-radius: var(--wp--custom--radius--lg); background: var(--wp--preset--color--surface-tint); }
.k4c-area-rows__towns { font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; }
.k4c-area-rows__towns a { color: inherit; text-decoration: none; }
.k4c-area-rows__towns a:hover { text-decoration: underline; }
.k4c-area-rows__time { flex-shrink: 0; font-weight: var(--wp--custom--font-weight--semibold); color: var(--wp--preset--color--primary); font-size: var(--wp--preset--font-size--body-sm); font-variant-numeric: tabular-nums; }

.k4c-map {
	position: relative; height: 400px; overflow: hidden;
	border-radius: var(--wp--custom--radius--map-outer); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border-strong);
	background-color: var(--wp--preset--color--surface-tint);
	background-image: linear-gradient(rgba(11,30,140,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(11,30,140,.10) 1px, transparent 1px);
	background-size: 34px 34px;
}
@media (min-width: 40rem) { .k4c-map { height: 460px; } }
@media (min-width: 64rem) { .k4c-map { height: 100%; min-height: 460px; } }
.k4c-map--embed { background-image: none; }
.k4c-map__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.k4c-map__road { position: absolute; background: rgba(11,30,140,.18); }
.k4c-map__pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--wp--preset--color--brand-navy); box-shadow: 0 0 0 4px rgba(11,30,140,.15); transform: translate(-50%, -50%); }
.k4c-map__pin--home { width: 16px; height: 16px; background: var(--wp--preset--color--primary); box-shadow: 0 0 0 6px rgba(2,65,232,.18); }
.k4c-map__label { position: absolute; transform: translate(-50%, 10px); padding: 0.25rem 0.625rem; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); font-size: var(--wp--preset--font-size--label); font-weight: var(--wp--custom--font-weight--semibold); white-space: nowrap; }
.k4c-map__card { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 0.75rem 1rem; border-radius: var(--wp--custom--radius--lg); background: rgba(255,255,255,.95); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.k4c-map__card p { margin: 0; }
.k4c-map__card .k4c-map__title { font-weight: var(--wp--custom--font-weight--semibold); font-size: var(--wp--preset--font-size--small); }
.k4c-map__card .k4c-map__addr { font-size: var(--wp--preset--font-size--label); color: var(--wp--preset--color--muted); }

/* "towns we cover" label, chips and the see-all link read larger than the default chip scale. */
.k4c-areas__label { margin: 0; font-size: var(--wp--preset--font-size--lede); font-weight: var(--wp--custom--font-weight--bold); text-transform: lowercase; color: var(--wp--preset--color--heading); }
.k4c-areas__cols .wp-block-list.is-style-chips li { font-size: var(--wp--preset--font-size--body-sm); min-height: 42px; padding: 0 1rem; }
.k4c-areas__more { margin: 0; font-size: var(--wp--preset--font-size--lede); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; }
.k4c-areas__more a { color: var(--wp--preset--color--primary); text-decoration: none; }
.k4c-areas__more a:hover, .k4c-areas__more a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }

/* ========== 14. Stats, FAQ, page header, breadcrumbs ========== */

.k4c-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wp--preset--spacing--30); margin: 0; }
.k4c-stats > div { padding: 1rem; border-radius: var(--wp--custom--radius--lg); background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.k4c-stats dt { font-size: var(--wp--preset--font-size--label-sm); font-weight: var(--wp--custom--font-weight--semibold); letter-spacing: var(--wp--custom--letter-spacing--wide); text-transform: uppercase; color: var(--wp--preset--color--muted-2); }
.k4c-stats dd { margin: 0.25rem 0 0; font-weight: var(--wp--custom--font-weight--bold); font-size: var(--wp--preset--font-size--heading); line-height: 1.2; color: var(--wp--preset--color--heading); }
.k4c-stats dd small { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--regular); color: var(--wp--preset--color--muted); }

.k4c-photo-frame { border-radius: var(--wp--custom--radius--xxl); overflow: hidden; background: var(--wp--preset--color--surface-tint); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.k4c-photo-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.k4c-photo-frame--square img { aspect-ratio: 1; }
.k4c-photo-frame--placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--wp--preset--color--brand-navy); font-weight: var(--wp--custom--font-weight--semibold); font-size: var(--wp--preset--font-size--small); background: rgba(11,30,140,.1); }

.wp-block-details.is-style-faq { border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--xxl); background: var(--wp--preset--color--base); padding: 0; overflow: hidden; }
.wp-block-details.is-style-faq + .wp-block-details.is-style-faq { margin-top: var(--wp--preset--spacing--30); }
.wp-block-details.is-style-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--wp--preset--spacing--40); padding: 1.125rem 1.25rem; cursor: pointer; list-style: none; font-weight: var(--wp--custom--font-weight--semibold); font-size: var(--wp--preset--font-size--heading-lg); line-height: var(--wp--custom--line-height--snug); text-transform: lowercase; min-height: var(--wp--custom--layout--target-lg); }
@media (min-width: 40rem) { .wp-block-details.is-style-faq summary { padding: 1.25rem 1.5rem; } }
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--brand-navy); font-size: 20px; font-weight: 400; line-height: 1; transition: rotate var(--wp--custom--duration--spring) var(--wp--custom--easing--spring); }
.wp-block-details.is-style-faq[open] summary::after { rotate: 45deg; }
.wp-block-details.is-style-faq[open] summary { border-bottom: 1px solid var(--wp--preset--color--border); }
.wp-block-details.is-style-faq > summary + :not(summary) { padding-top: 1.125rem; }
.wp-block-details.is-style-faq > :not(summary) { padding: 0 1.25rem 1.25rem; margin: 0; font-size: var(--wp--preset--font-size--body); line-height: var(--wp--custom--line-height--relaxed); color: var(--wp--preset--color--muted); }
@media (min-width: 40rem) { .wp-block-details.is-style-faq > :not(summary) { padding: 0 1.5rem 1.25rem; } }
.wp-block-details.is-style-faq > :not(summary) + :not(summary) { padding-top: 0; }

/* Inner page header + breadcrumbs */
.k4c-page-header.wp-block-group > :where(:not(.alignfull)) { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }
/* the excerpt block spans the wide column (core centres it with !important margins); its inner paragraph is capped */
.k4c-page-header .wp-block-post-excerpt__excerpt { max-width: 60ch; }
/* a plain lede paragraph in a page header: start it at the wide column's left edge, not centred */
.k4c-page-header.wp-block-group > .is-style-lede:not(.wp-block-post-excerpt) { max-width: 60ch; margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important; }
.k4c-page-header > * + *, .k4c-page-header__text > * + * { margin-block-start: var(--wp--preset--spacing--30); }
.k4c-page-header__row { gap: var(--wp--preset--spacing--70); }
.k4c-page-header__text { flex: 1 1 auto; min-width: 0; }
.k4c-page-header__media { flex: 0 0 auto; width: clamp(180px, 22vw, 300px); margin: 0; }
.k4c-page-header__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--wp--custom--radius--xl); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
@media (max-width: 47.99rem) { .k4c-page-header__row { flex-wrap: wrap; } .k4c-page-header__media { width: 100%; max-width: 240px; } }
/* Imported copy (services): same wide column as the top half, prose capped at a readable measure */
.k4c-imported.wp-block-group > :where(:not(.alignfull)) { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }
.k4c-prose > :is(p, h2, h3, h4, ul, ol) { max-width: 70ch; }
.k4c-prose > h2 { font-size: var(--wp--preset--font-size--title-sm); margin-top: var(--wp--preset--spacing--80); }
.k4c-prose > :is(h2, h3) + p { margin-top: var(--wp--preset--spacing--30); }
.k4c-prose > h3 { font-size: var(--wp--preset--font-size--heading-lg); margin-top: var(--wp--preset--spacing--60); }
.k4c-prose > p { color: var(--wp--preset--color--muted); line-height: var(--wp--custom--line-height--relaxed); }
.k4c-prose > .k4c-emblems, .k4c-prose > .k4c-gr { margin-top: var(--wp--preset--spacing--60); }
/* Car-make emblems strip */
.k4c-emblems { overflow: hidden; padding: var(--wp--preset--spacing--40) 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.k4c-emblems__track { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--wp--preset--spacing--50); width: max-content; }
.k4c-emblems__item a { display: grid; justify-items: center; gap: 0.5rem; width: 7rem; padding: 1rem 0.5rem; border-radius: var(--wp--custom--radius--xl); background: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--brand-navy); text-decoration: none; transition: background var(--wp--custom--duration--base), color var(--wp--custom--duration--base); }
.k4c-emblems__item a:hover, .k4c-emblems__item a:focus-visible { background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); }
.k4c-emblems__logo { display: grid; place-items: center; width: 44px; height: 44px; }
.k4c-emblems__logo--text::before { content: attr(data-letter); }
.k4c-emblems__logo--text { border-radius: 50%; background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); font-weight: var(--wp--custom--font-weight--extrabold); font-size: 20px; }
.k4c-emblems__item a:hover .k4c-emblems__logo--text { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--brand-deep); }
.k4c-emblems__name { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; }
@keyframes k4c-emblems { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .k4c-emblems { -webkit-mask: none; mask: none; } .k4c-emblems__track { flex-wrap: wrap; width: auto; } .k4c-emblems__item[aria-hidden="true"] { display: none; } }
.k4c-page-header h1 { text-wrap: balance; }
.k4c-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--on-navy-muted); }
.k4c-breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: .5; }
.k4c-breadcrumbs a { color: inherit; }
.k4c-breadcrumbs [aria-current] { color: var(--wp--preset--color--on-navy); }

/* Blog list */
.k4c-post-list { display: grid; gap: var(--wp--preset--spacing--50); list-style: none; margin: 0; padding: 0; }
@media (min-width: 48rem) { .k4c-post-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .k4c-post-list { grid-template-columns: 1fr 1fr 1fr; } }
/* post cards: photo on top, category pills, ink title, clamped excerpt, date + reading time and a read link pinned to the foot */
.k4c-post-card { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; border-radius: var(--wp--custom--radius--xxl); background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border), 0 1px 2px rgba(1,27,97,.04); }
.k4c-post-card__media { margin: 0; }
.k4c-post-card__media a { display: block; }
.k4c-post-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; transition: scale var(--wp--custom--duration--spring) var(--wp--custom--easing--spring); }
.k4c-post-card__body { display: flex; flex-direction: column; flex: 1; gap: var(--wp--preset--spacing--30); padding: var(--wp--preset--spacing--50); }
.k4c-post-card__body > * { margin: 0 !important; }
.k4c-post-card__cats { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); font-size: var(--wp--preset--font-size--label); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; }
.k4c-post-card__cats a { display: inline-flex; align-items: center; min-height: 26px; padding: 0 0.65rem; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--brand-navy); text-decoration: none; }
.k4c-post-card__cats a:hover { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); }
.k4c-post-card__cats .wp-block-post-terms__separator { display: none; }
/* Category link in the single-post hero: light on navy, gold on hover (the default link blue was unreadable). */
.k4c-page-header .wp-block-post-terms a { color: var(--wp--preset--color--on-navy-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.k4c-page-header .wp-block-post-terms a:hover, .k4c-page-header .wp-block-post-terms a:focus-visible { color: var(--wp--preset--color--accent); text-decoration-thickness: 2px; }
.k4c-page-header .wp-block-post-terms__separator { color: var(--wp--preset--color--on-navy-muted); }
.k4c-post-card .wp-block-post-title { font-size: var(--wp--preset--font-size--heading-lg); line-height: var(--wp--custom--line-height--title); text-wrap: balance; }
.k4c-post-card .wp-block-post-title a { color: var(--wp--preset--color--heading); text-decoration: none; }
.k4c-post-card:hover .wp-block-post-title a, .k4c-post-card .wp-block-post-title a:focus-visible { color: var(--wp--preset--color--primary); }
.k4c-post-card .wp-block-post-excerpt { font-size: var(--wp--preset--font-size--body); line-height: var(--wp--custom--line-height--relaxed); color: var(--wp--preset--color--muted); }
.k4c-post-card .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.k4c-post-card__foot { margin-top: auto !important; padding-top: var(--wp--preset--spacing--40); border-top: 1px solid var(--wp--preset--color--border); gap: var(--wp--preset--spacing--30); }
.k4c-post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--medium); color: var(--wp--preset--color--muted-2); font-variant-numeric: tabular-nums; }
.k4c-post-card .wp-block-read-more { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); color: var(--wp--preset--color--primary); text-decoration: none; text-transform: lowercase; white-space: nowrap; }
.k4c-post-card .wp-block-read-more::after { content: " →"; }
.k4c-post-card .wp-block-read-more:hover { text-decoration: underline; text-underline-offset: 0.2em; }
/* the newest post leads as a wide feature card on page one of the blog and category archives */
@media (min-width: 48rem) {
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child { grid-column: 1 / -1; }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .k4c-post-card { flex-direction: row; }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .k4c-post-card__media { flex: 0 0 52%; }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .k4c-post-card__media a, body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .k4c-post-card__media img { height: 100%; }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .k4c-post-card__media img { aspect-ratio: auto; min-height: 320px; }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .k4c-post-card__body { justify-content: center; gap: var(--wp--preset--spacing--40); padding: var(--wp--preset--spacing--70); }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .wp-block-post-title { font-size: var(--wp--preset--font-size--title-sm); }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .wp-block-post-excerpt { font-size: var(--wp--preset--font-size--lede); }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .wp-block-post-excerpt__excerpt { -webkit-line-clamp: 5; }
	body:is(.blog, .category):not(.paged) .k4c-post-list > li:first-child .k4c-post-card__foot { margin-top: var(--wp--preset--spacing--40) !important; }
}
/* category chips above the list */
.k4c-cat-nav { margin-bottom: var(--wp--preset--spacing--60); }
.k4c-cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--20); }
.k4c-cat-nav a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 38px; padding: 0 1rem; border-radius: var(--wp--custom--radius--pill); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border-strong); color: var(--wp--preset--color--brand-navy); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; text-decoration: none; }
.k4c-cat-nav a .num { font-size: var(--wp--preset--font-size--label-sm); color: var(--wp--preset--color--muted); }
.k4c-cat-nav a:hover { background: var(--wp--preset--color--surface-tint); }
.k4c-cat-nav a[aria-current="page"] { background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); box-shadow: none; }
.k4c-cat-nav a[aria-current="page"] .num { color: var(--wp--preset--color--on-navy-soft); }
.wp-block-query-pagination { margin-top: var(--wp--preset--spacing--70); font-weight: var(--wp--custom--font-weight--semibold); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: var(--wp--custom--layout--target); min-height: var(--wp--custom--layout--target); padding: 0 0.75rem; border-radius: var(--wp--custom--radius--pill); text-decoration: none; }
.wp-block-query-pagination a:hover { background: var(--wp--preset--color--surface-tint); }
.wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); }

/* ========== 15. CTA band ========== */

.k4c-cta { padding-top: var(--wp--preset--spacing--section-md); padding-bottom: var(--wp--preset--spacing--section-md); }
.k4c-cta h2 { max-width: 24ch; text-wrap: balance; }
.k4c-cta .is-style-lede { color: rgba(255,255,255,.85); }
.k4c-cta .wp-block-button__link { font-size: 17px; }

/* ========== 16. Footer ========== */

.k4c-footer { font-size: var(--wp--preset--font-size--body-sm); }
.k4c-footer__blurb { color: rgba(255,255,255,.75); line-height: var(--wp--custom--line-height--relaxed); max-width: 44ch; }
.k4c-footer__heading { font-size: var(--wp--preset--font-size--label); font-weight: var(--wp--custom--font-weight--semibold); letter-spacing: var(--wp--custom--letter-spacing--label); text-transform: uppercase; color: var(--wp--preset--color--on-navy-muted); margin-bottom: var(--wp--preset--spacing--40); }
.k4c-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.125rem; }
.k4c-footer-list a { display: inline-block; padding: 0.375rem 0; color: var(--wp--preset--color--on-navy); text-decoration: none; opacity: .85; text-transform: lowercase; }
.k4c-footer-list a:hover, .k4c-footer-list a:focus-visible { opacity: 1; text-decoration: underline; }
.k4c-footer-list--contact a { text-transform: none; font-weight: var(--wp--custom--font-weight--semibold); }
.k4c-footer .is-style-meta a { color: inherit; }
.k4c-footer__rule { border-color: rgba(255,255,255,.12) !important; opacity: 1; }
.k4c-footer .wp-block-column > * + * { margin-block-start: var(--wp--preset--spacing--40); }
@media (max-width: 48rem) { .k4c-footer__cols > .wp-block-column { flex-basis: 100% !important; } }

/* ========== 17. Sticky mobile call bar ========== */

.k4c-mbar {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	background: var(--wp--preset--color--brand-deep); border-top: 1px solid rgba(255,255,255,.15);
	box-shadow: var(--wp--preset--shadow--bar);
}
.k4c-mbar__row { display: flex; gap: 0.625rem; padding: 0.625rem 0.75rem calc(0.625rem + env(safe-area-inset-bottom)); }
.k4c-mbar__call, .k4c-mbar__wa {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: var(--wp--custom--layout--target-lg); border-radius: var(--wp--custom--radius--pill);
	font-weight: var(--wp--custom--font-weight--semibold); text-decoration: none;
}
.k4c-mbar__call { flex: 1; background: var(--wp--preset--color--brand-deep); color: var(--wp--preset--color--on-navy); border: 2px solid var(--wp--preset--color--white); font-size: 16px; }
.k4c-mbar__wa { padding: 0 1.25rem; background: var(--wp--preset--color--whatsapp); color: var(--wp--preset--color--on-whatsapp); font-size: 15px; }
@media (max-width: 47.99rem) {
	.k4c-mbar { display: block; }
	body { padding-bottom: calc(var(--wp--custom--layout--mobilebar) + env(safe-area-inset-bottom)); }
}

/* ========== 18. Motion (spring) ========== */

@media (prefers-reduced-motion: no-preference) {
	@keyframes k4c-rise  { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
	@keyframes k4c-pop   { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
	@keyframes k4c-fade  { from { opacity: 0; } to { opacity: 1; } }
	@keyframes k4c-drive { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
	@keyframes k4c-menu  { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
	@keyframes k4c-mbar-in { from { transform: translateY(110%); } to { transform: none; } }
	@keyframes k4c-nudge { 0%, 82%, 100% { scale: 1; } 88% { scale: 1.06; } 94% { scale: .99; } }

	/* Hero load-in, staggered */
	.k4c-hero-stagger > * { animation: k4c-rise var(--wp--custom--duration--spring-lg) var(--wp--custom--easing--spring) both; }
	.k4c-hero-stagger > .is-style-eyebrow { animation-name: k4c-fade; animation-duration: .5s; animation-timing-function: ease-out; }
	.k4c-hero-stagger > .wp-block-image { animation: k4c-drive var(--wp--custom--duration--van) var(--wp--custom--easing--spring) .08s both; }
	.k4c-hero-stagger > :nth-child(3) { animation-delay: .16s; }
	.k4c-hero-stagger > :nth-child(4) { animation-delay: .24s; }
	.k4c-hero-stagger > :nth-child(5) { animation-delay: .32s; }
	.k4c-hero-stagger > :nth-child(6) { animation-delay: .40s; }
	.k4c-hero-card { animation: k4c-pop .8s var(--wp--custom--easing--spring) .22s both; }
	.k4c-trust__item { animation: k4c-rise var(--wp--custom--duration--spring-lg) var(--wp--custom--easing--spring) both; }
	.k4c-trust__item:nth-child(1) { animation-delay: .45s; }
	.k4c-trust__item:nth-child(2) { animation-delay: .52s; }
	.k4c-trust__item:nth-child(3) { animation-delay: .59s; }
	.k4c-trust__item:nth-child(4) { animation-delay: .66s; }
	.k4c-mnav[open] .k4c-mnav__panel { animation: k4c-menu var(--wp--custom--duration--menu) var(--wp--custom--easing--spring) both; }
	.k4c-mbar { animation: k4c-mbar-in var(--wp--custom--duration--mbar) var(--wp--custom--easing--spring) .6s both; }
	.k4c-mbar__call { animation: k4c-nudge 4s var(--wp--custom--easing--spring) 2s infinite; }

	/* Scroll reveal: scroll-driven, no JS; browsers without view timelines show content as-is. */
	@supports (animation-timeline: view()) {
		.k4c-main .k4c-section h2,
		.k4c-main .is-style-card-tint, .k4c-main .is-style-card-white, .k4c-main .is-style-card-outline,
		.k4c-gr__card, .k4c-gr__summary, .k4c-main .wp-block-details, .k4c-stats > div, .k4c-post-card {
			animation: k4c-pop linear both;
			animation-timing-function: var(--wp--custom--easing--spring);
			animation-timeline: view();
			animation-range: entry 0% entry 70%;
		}
	}

	/* Interactive springs */
	.wp-block-button__link, .wp-element-button, .k4c-header__call, .k4c-gr__btn { transition: translate var(--wp--custom--duration--spring) var(--wp--custom--easing--spring), scale var(--wp--custom--duration--spring) var(--wp--custom--easing--spring), background-color var(--wp--custom--duration--base), color var(--wp--custom--duration--base), box-shadow var(--wp--custom--duration--base), border-color var(--wp--custom--duration--base); }
	.wp-block-button__link:hover, .wp-element-button:hover, .k4c-header__call:hover, .k4c-gr__btn:hover { translate: 0 -3px; box-shadow: var(--wp--preset--shadow--button-hover); }
	.wp-block-button__link:active, .wp-element-button:active, .k4c-header__call:active, .k4c-gr__btn:active, .k4c-social__btn:active { scale: .95; transition-duration: var(--wp--custom--duration--fast); }
	.k4c-social__btn { transition: translate var(--wp--custom--duration--spring) var(--wp--custom--easing--spring), scale var(--wp--custom--duration--spring) var(--wp--custom--easing--spring), background-color var(--wp--custom--duration--base), color var(--wp--custom--duration--base); }
	.k4c-social__btn:hover { translate: 0 -2px; scale: 1.12; }
	.k4c-ticker__track { animation: k4c-ticker 32s linear infinite; }
	.k4c-emblems.is-looped .k4c-emblems__track { animation: k4c-emblems 45s linear infinite; }
	.k4c-emblems:hover .k4c-emblems__track { animation-play-state: paused; }
	/* "how it works": 1, then 2, then 3 throb in turn */
	.k4c-service__cols .k4c-step__num { animation: k4c-step-throb 2.7s ease-in-out infinite; }
	.k4c-service__cols .k4c-step:nth-child(2) .k4c-step__num { animation-delay: 0.9s; }
	.k4c-service__cols .k4c-step:nth-child(3) .k4c-step__num { animation-delay: 1.8s; }
	@keyframes k4c-step-throb { 0%, 34%, 100% { scale: 1; box-shadow: 0 0 0 0 rgba(2,65,232,.45); } 12% { scale: 1.2; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); box-shadow: 0 0 0 10px rgba(2,65,232,0); } 24% { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); } }
	.k4c-ticker:hover .k4c-ticker__track { animation-play-state: paused; }
	.k4c-nav__list a:hover { translate: 0 -1px; }
	/* Keys 4 Cars card: rotating gradient border + soft yellow pulse */
	.k4c-vs__card--us { box-shadow: none; border: 3px solid transparent; background: linear-gradient(var(--wp--preset--color--brand-navy), var(--wp--preset--color--brand-navy)) padding-box, conic-gradient(from var(--k4c-angle), var(--wp--preset--color--accent), var(--wp--preset--color--primary), var(--wp--preset--color--white), var(--wp--preset--color--accent)) border-box; animation: k4c-border-spin 4s linear infinite, k4c-pulse 2.4s ease-in-out infinite, k4c-throb 2.4s ease-in-out infinite; transform-origin: center; }
	@keyframes k4c-throb { 0%, 100% { scale: 1; } 50% { scale: 1.022; } }
	@keyframes k4c-border-spin { to { --k4c-angle: 360deg; } }
	@keyframes k4c-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,201,74,.55); } 50% { box-shadow: 0 0 0 14px rgba(255,201,74,0); } }
	.is-style-card-tint:hover, .is-style-card-white:hover, .k4c-gr__card:hover, .k4c-post-card:hover { translate: 0 -6px; }
	.k4c-card__media img { transition: scale var(--wp--custom--duration--spring) var(--wp--custom--easing--spring); }
	.k4c-card--media:hover .k4c-card__media img { scale: 1.05; }
	.k4c-post-card:hover .k4c-post-card__media img { scale: 1.04; }
	.is-style-card-tint:hover, .is-style-card-white:hover { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border), var(--wp--preset--shadow--card-hover); }
	.k4c-trust__item:hover .k4c-trust__icon { scale: 1.15; rotate: -8deg; }
	.k4c-form input:focus { scale: 1.015; }
}


/* ---- grids & misc used by shortcodes/patterns ---- */
.k4c-grid { display: grid; gap: var(--wp--preset--spacing--40); }
@media (min-width: 40rem) { .k4c-grid { gap: var(--wp--preset--spacing--50); } .k4c-grid--3, .k4c-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .k4c-grid--3 { grid-template-columns: 1fr 1fr 1fr; } }
.k4c-grid > .is-style-card-tint, .k4c-grid > .is-style-card-white, .k4c-grid > .is-style-card-outline { margin: 0; }
.k4c-measure { max-width: 52ch; }
.k4c-measure > * + * { margin-block-start: var(--wp--preset--spacing--30); }
.k4c-measure .is-style-lede { margin-block-start: var(--wp--preset--spacing--40); }
.k4c-ring-us { font-weight: var(--wp--custom--font-weight--semibold); font-size: 15px; color: var(--wp--preset--color--brand-navy); text-transform: lowercase; white-space: nowrap; }
.k4c-ring-us a { text-decoration-thickness: 2px; text-underline-offset: 4px; color: inherit; }
.k4c-btn-sm-link { min-height: var(--wp--custom--layout--target); padding: 0 1.25rem; font-size: var(--wp--preset--font-size--body-sm); font-weight: var(--wp--custom--font-weight--semibold); border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--primary); color: var(--wp--preset--color--on-primary); text-transform: lowercase; }
.k4c-card__foot .k4c-btn-sm-link { flex: 1 1 100%; font-size: var(--wp--preset--font-size--lede); }
.wp-block-group.k4c-job, .k4c-job { padding: 0; overflow: hidden; }
.k4c-job .k4c-photo-frame { border-radius: 0; box-shadow: none; margin: 0; }
.k4c-job__cta { margin: var(--wp--preset--spacing--30) 0 0 !important; }
.k4c-job .k4c-photo-frame--placeholder { aspect-ratio: auto; min-height: 200px; }
.k4c-job__body { padding: var(--wp--preset--spacing--50); display: flex; flex-direction: column; gap: var(--wp--preset--spacing--20); }
.k4c-job__body h3 { font-size: var(--wp--preset--font-size--heading-sm); margin: 0; }
.k4c-job__body h3 a { text-decoration: none; color: inherit; }
.k4c-job__body h3 a:hover { text-decoration: underline; }
.k4c-job__body p { margin: 0; font-size: var(--wp--preset--font-size--body-sm); color: var(--wp--preset--color--muted); line-height: var(--wp--custom--line-height--relaxed); }
.k4c-job__body .is-style-eyebrow { color: var(--wp--preset--color--primary); }
.k4c-job__chips { margin-top: var(--wp--preset--spacing--30) !important; }
.k4c-job__chips li { min-height: 30px; padding: 0 0.625rem; font-size: var(--wp--preset--font-size--label); }
.k4c-steps-list { list-style: none; margin: var(--wp--preset--spacing--30) 0 0; padding: 0; display: grid; gap: var(--wp--preset--spacing--30); }
.k4c-service__cols .k4c-steps-list { margin-top: 0; }
/* price guide stretches to the height of the three step cards on desktop */
.k4c-service__cols > .wp-block-column > .is-style-card-tint { height: 100%; display: flex; flex-direction: column; }
.k4c-service__cols > .wp-block-column > .is-style-card-tint > .wp-block-buttons { margin-top: auto; padding-top: var(--wp--preset--spacing--50); }
.k4c-service__cols > .wp-block-column > .is-style-card-tint h3 { font-size: var(--wp--preset--font-size--title-sm); }
.k4c-service__cols > .wp-block-column > .is-style-card-tint h3 .k4c-price-from { font-size: inherit; font-weight: inherit; }
.k4c-service__cols > .wp-block-column > .is-style-card-tint p { font-size: var(--wp--preset--font-size--body); }
/* in-content feature cards, callouts and step rows (built by content/cleanup.py) */
.k4c-prose > .k4c-features, .k4c-prose > .k4c-callout, .k4c-prose > .k4c-steps-row { margin-top: var(--wp--preset--spacing--60); }
.k4c-prose > :first-child { margin-top: 0; }
.k4c-prose > .k4c-features + h2, .k4c-prose > .k4c-callout + h2, .k4c-prose > .k4c-steps-row + h2, .k4c-prose > .k4c-emblems + h2 { margin-top: var(--wp--preset--spacing--90); }
.k4c-feature h3 { font-size: var(--wp--preset--font-size--heading-lg); margin-top: var(--wp--preset--spacing--30); }
.k4c-feature p { margin-top: var(--wp--preset--spacing--20); font-size: var(--wp--preset--font-size--body); }
.k4c-callout { padding: var(--wp--preset--spacing--70); border-radius: var(--wp--custom--radius--xxl); max-width: none; }
.k4c-callout .k4c-why__icon { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--brand-deep); }
.k4c-callout h3 { color: inherit; font-size: var(--wp--preset--font-size--heading-lg); margin-top: var(--wp--preset--spacing--30); }
.k4c-callout p { color: rgba(255,255,255,.85); max-width: 70ch; margin-top: var(--wp--preset--spacing--30); }
.k4c-callout p:last-child { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--on-navy-muted); }
.k4c-step-card { position: relative; }
.k4c-step-card .k4c-step__num { width: 44px; height: 44px; font-size: 17px; }
.k4c-step-card h3 { font-size: var(--wp--preset--font-size--heading); margin-top: var(--wp--preset--spacing--30); }
.k4c-prose .is-style-checklist { max-width: 70ch; }
/* ---- Areas: route map, coverage map, band cards, town map ---- */
.k4c-route { position: relative; margin-top: var(--wp--preset--spacing--50); border-radius: var(--wp--custom--radius--xl); overflow: hidden; background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.k4c-route__badge { position: absolute; top: 0.75rem; right: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.8rem; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--bold); font-variant-numeric: tabular-nums; }
}
.wp-block-group.k4c-getting--wide { display: grid; gap: var(--wp--preset--spacing--60); align-items: center; }
@media (min-width: 48rem) { .wp-block-group.k4c-getting--wide { grid-template-columns: 1fr 1.15fr; } }
.k4c-getting__text > * + * { margin-block-start: var(--wp--preset--spacing--30); }
.k4c-getting__text .wp-block-buttons { margin-top: var(--wp--preset--spacing--50); }
.k4c-getting__map .k4c-route { margin-top: 0; }
.k4c-getting__head { display: flex; gap: var(--wp--preset--spacing--50); align-items: center; }
.k4c-getting__head > .wp-block-group > * + * { margin-block-start: var(--wp--preset--spacing--20); }
/* travel-time clock: tinted band = the window, the minute hand sweeps to the top of it and settles */
.k4c-clock { flex: none; width: 7.25rem; height: 7.25rem; }
.k4c-clock svg { display: block; width: 100%; height: 100%; overflow: visible; }
.k4c-clock__face { fill: #fff; stroke: var(--wp--preset--color--brand-navy); stroke-width: 3; }
.k4c-clock__ticks line { stroke: var(--wp--preset--color--border-strong); stroke-width: 2; stroke-linecap: round; }
.k4c-clock__band, .k4c-clock__sweep { fill: none; transform: rotate(-90deg); transform-origin: 60px 60px; }
.k4c-clock__band { stroke: rgba(2,65,232,.2); stroke-width: 12; }
.k4c-clock__sweep { stroke: var(--wp--preset--color--primary); stroke-width: 4; stroke-linecap: round; stroke-dasharray: var(--arc) 60; }
.k4c-clock__hand { stroke: var(--wp--preset--color--brand-navy); stroke-width: 4; stroke-linecap: round; transform-origin: 60px 60px; rotate: var(--hand); }
.k4c-clock__pin { fill: var(--wp--preset--color--brand-navy); stroke: #fff; stroke-width: 2; }
.k4c-clock__time { fill: var(--wp--preset--color--brand-navy); font-family: var(--wp--preset--font-family--sans); font-weight: 800; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
	.k4c-clock__hand { animation: k4c-clock-hand 7s cubic-bezier(.45,0,.2,1) infinite both; }
	.k4c-clock__sweep { animation: k4c-clock-sweep 7s cubic-bezier(.45,0,.2,1) infinite both; }
}
@keyframes k4c-clock-hand { 0%, 8% { rotate: 0deg; } 42%, 84% { rotate: var(--hand); } 96%, 100% { rotate: 0deg; } }
@keyframes k4c-clock-sweep { 0%, 8% { stroke-dasharray: 0 60; } 42%, 84% { stroke-dasharray: var(--arc) 60; } 96%, 100% { stroke-dasharray: 0 60; } }
@media (max-width: 40rem) { .k4c-clock { width: 5.75rem; height: 5.75rem; } .k4c-getting__head { gap: var(--wp--preset--spacing--40); } }
.k4c-area__reviews .k4c-gr__grid { margin-top: 0; }
@media (min-width: 64rem) { .k4c-area__reviews .k4c-gr__grid { grid-template-columns: repeat(3, 1fr); } }
.k4c-area__mapcols { gap: var(--wp--preset--spacing--60); }
.k4c-map--area { height: 360px; }
@media (min-width: 64rem) { .k4c-map--area { height: 100%; min-height: 420px; } }
.k4c-local h3 { font-size: var(--wp--preset--font-size--heading-lg); margin-top: var(--wp--preset--spacing--30); }
.k4c-local .is-style-checklist { margin-top: var(--wp--preset--spacing--40); }

.k4c-cov { display: grid; gap: var(--wp--preset--spacing--50); }
@media (min-width: 64rem) { .k4c-cov { grid-template-columns: 5fr 7fr; align-items: stretch; } }
@media (min-width: 64rem) { /* the map fills the column beside the clock + band cards */
	.k4c-cov .k4c-cov__map { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
	.k4c-cov .k4c-m3d--cov { aspect-ratio: auto; height: 100%; min-height: 26rem; }
}
.k4c-cov__cards { display: grid; gap: var(--wp--preset--spacing--50); align-content: center; }
/* intro row: copy on the left, the stepped travel clock on the right */
.wp-block-group.k4c-cov__intro { display: grid; gap: var(--wp--preset--spacing--60); align-items: center; }
@media (min-width: 48rem) { .wp-block-group.k4c-cov__intro { grid-template-columns: 1fr auto; gap: var(--wp--preset--spacing--90); } }
.k4c-cov__clock { display: grid; justify-items: center; gap: var(--wp--preset--spacing--30); }
.k4c-cov__clock .k4c-clock { width: 11rem; height: 11rem; }
.k4c-cov__clock > p { margin: 0; font-size: var(--wp--preset--font-size--label); font-weight: var(--wp--custom--font-weight--semibold); color: var(--wp--preset--color--muted); text-transform: lowercase; }
@media (max-width: 48rem) { .k4c-cov__clock { justify-items: start; } .k4c-cov__clock .k4c-clock { width: 8rem; height: 8rem; } }
.k4c-clock__band--1 { stroke: rgba(2,65,232,.42); } .k4c-clock__band--2 { stroke: rgba(2,65,232,.26); } .k4c-clock__band--3 { stroke: rgba(1,27,97,.16); }
.k4c-clock__band--1, .k4c-clock__band--2, .k4c-clock__band--3 { stroke-width: 6; }
/* stepped dial (bands=): the hand pauses at the top of each window and the matching band card lights up; 12s loop.
   Behind reduced-motion the hand rests at the hour, the overall label shows and nothing pulses. */
.k4c-clock--bands .k4c-clock__time--1, .k4c-clock--bands .k4c-clock__time--2, .k4c-clock--bands .k4c-clock__time--3 { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	.k4c-clock--bands .k4c-clock__hand { animation: k4c-clock-hand-steps 12s cubic-bezier(.45,0,.2,1) infinite both; }
	.k4c-clock--bands .k4c-clock__sweep { animation: k4c-clock-sweep-steps 12s cubic-bezier(.45,0,.2,1) infinite both; }
	.k4c-clock--bands .k4c-clock__time--all { opacity: 0; }
	.k4c-clock--bands .k4c-clock__time--1 { animation: k4c-clock-step-1 12s linear infinite both; }
	.k4c-clock--bands .k4c-clock__time--2 { animation: k4c-clock-step-2 12s linear infinite both; }
	.k4c-clock--bands .k4c-clock__time--3 { animation: k4c-clock-step-3 12s linear infinite both; }
	.k4c-clock--bands .k4c-clock__band--1 { animation: k4c-clock-band-1 12s linear infinite both; }
	.k4c-clock--bands .k4c-clock__band--2 { animation: k4c-clock-band-2 12s linear infinite both; }
	.k4c-clock--bands .k4c-clock__band--3 { animation: k4c-clock-band-3 12s linear infinite both; }
	.k4c-section:has(.k4c-clock--bands) .k4c-cov__card--1 { animation: k4c-cov-card-1 12s linear infinite both; }
	.k4c-section:has(.k4c-clock--bands) .k4c-cov__card--2 { animation: k4c-cov-card-2 12s linear infinite both; }
	.k4c-section:has(.k4c-clock--bands) .k4c-cov__card--3 { animation: k4c-cov-card-3 12s linear infinite both; }
	.k4c-clock-wrap:has(.k4c-clock--bands) .k4c-clock__reading--all { opacity: 0; }
	.k4c-clock-wrap:has(.k4c-clock--bands) .k4c-clock__reading--1 { animation: k4c-clock-step-1 12s linear infinite both; }
	.k4c-clock-wrap:has(.k4c-clock--bands) .k4c-clock__reading--2 { animation: k4c-clock-step-2 12s linear infinite both; }
	.k4c-clock-wrap:has(.k4c-clock--bands) .k4c-clock__reading--3 { animation: k4c-clock-step-3 12s linear infinite both; }
	.k4c-m3d--pop .k4c-m3d__board { animation: k4c-pop-cam var(--dur) cubic-bezier(.55,0,.25,1) infinite both; }
	.k4c-pop__pin { animation: k4c-pop-vis var(--dur) linear infinite both; animation-delay: var(--t); }
	.k4c-pop__pin i, .k4c-pop__pin b { animation: k4c-pop-in var(--dur) cubic-bezier(.34,1.56,.64,1) infinite both; animation-delay: var(--t); }
	.k4c-pop__pin span { animation: k4c-pop-label var(--dur) linear infinite both; animation-delay: var(--t); }
	.k4c-m3d--pop:hover .k4c-m3d__board, .k4c-m3d--pop:hover .k4c-pop__pin, .k4c-m3d--pop:hover .k4c-pop__pin i, .k4c-m3d--pop:hover .k4c-pop__pin b, .k4c-m3d--pop:hover .k4c-pop__pin span { animation-play-state: paused; }
	.k4c-stats > div { animation: k4c-stat-pulse 8s linear infinite both; }
	.k4c-stats > div:nth-child(2) { animation-delay: 2s; }
	.k4c-stats > div:nth-child(3) { animation-delay: 4s; }
	.k4c-stats > div:nth-child(4) { animation-delay: 6s; }
	.k4c-section:has(.k4c-clock--bands) .k4c-area-rows li:nth-child(1) { animation: k4c-row-step-1 12s linear infinite both; }
	.k4c-section:has(.k4c-clock--bands) .k4c-area-rows li:nth-child(2) { animation: k4c-row-step-2 12s linear infinite both; }
	.k4c-section:has(.k4c-clock--bands) .k4c-area-rows li:nth-child(3) { animation: k4c-row-step-3 12s linear infinite both; }
}
@keyframes k4c-clock-hand-steps { 0%, 4% { rotate: 0deg; } 18%, 34% { rotate: var(--h1); } 44%, 60% { rotate: var(--h2); } 70%, 90% { rotate: var(--h3); } 97%, 100% { rotate: 0deg; } }
@keyframes k4c-clock-sweep-steps { 0%, 4% { stroke-dasharray: 0 60; } 18%, 34% { stroke-dasharray: var(--a1) 60; } 44%, 60% { stroke-dasharray: var(--a2) 60; } 70%, 90% { stroke-dasharray: var(--a3) 60; } 97%, 100% { stroke-dasharray: 0 60; } }
@keyframes k4c-clock-step-1 { 0%, 17% { opacity: 0; } 19%, 43% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes k4c-clock-step-2 { 0%, 43% { opacity: 0; } 45%, 69% { opacity: 1; } 71%, 100% { opacity: 0; } }
@keyframes k4c-clock-step-3 { 0%, 69% { opacity: 0; } 71%, 94% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes k4c-clock-band-1 { 0%, 17% { stroke: rgba(2,65,232,.42); } 19%, 34% { stroke: #0241E8; } 36%, 100% { stroke: rgba(2,65,232,.42); } }
@keyframes k4c-clock-band-2 { 0%, 43% { stroke: rgba(2,65,232,.26); } 45%, 60% { stroke: #0241E8; } 62%, 100% { stroke: rgba(2,65,232,.26); } }
@keyframes k4c-clock-band-3 { 0%, 69% { stroke: rgba(1,27,97,.16); } 71%, 90% { stroke: #0B1E8C; } 92%, 100% { stroke: rgba(1,27,97,.16); } }
@keyframes k4c-stat-pulse { 0%, 2% { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); translate: 0 0; } 5%, 21% { box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary), 0 14px 26px -18px rgba(1,27,97,.45); translate: 0 -4px; } 25%, 100% { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); translate: 0 0; } }
@keyframes k4c-row-step-1 { 0%, 17% { box-shadow: none; translate: 0 0; } 19%, 34% { box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary), 0 14px 26px -18px rgba(1,27,97,.45); translate: 6px 0; } 36%, 100% { box-shadow: none; translate: 0 0; } }
@keyframes k4c-row-step-2 { 0%, 43% { box-shadow: none; translate: 0 0; } 45%, 60% { box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary), 0 14px 26px -18px rgba(1,27,97,.45); translate: 6px 0; } 62%, 100% { box-shadow: none; translate: 0 0; } }
@keyframes k4c-row-step-3 { 0%, 69% { box-shadow: none; translate: 0 0; } 71%, 90% { box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary), 0 14px 26px -18px rgba(1,27,97,.45); translate: 6px 0; } 92%, 100% { box-shadow: none; translate: 0 0; } }
@keyframes k4c-cov-card-1 { 0%, 17% { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); translate: 0 0; } 19%, 34% { box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary), 0 16px 30px -18px rgba(1,27,97,.5); translate: 6px 0; } 36%, 100% { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); translate: 0 0; } }
@keyframes k4c-cov-card-2 { 0%, 43% { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); translate: 0 0; } 45%, 60% { box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary), 0 16px 30px -18px rgba(1,27,97,.5); translate: 6px 0; } 62%, 100% { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); translate: 0 0; } }
@keyframes k4c-cov-card-3 { 0%, 69% { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); translate: 0 0; } 71%, 90% { box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary), 0 16px 30px -18px rgba(1,27,97,.5); translate: 6px 0; } 92%, 100% { box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); translate: 0 0; } }
.k4c-cov__card { display: grid; grid-template-columns: 6.25rem 1fr; gap: var(--wp--preset--spacing--50); align-items: center; padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); border-radius: var(--wp--custom--radius--xl); background: var(--wp--preset--color--surface-tint); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); transition: translate var(--wp--custom--duration--spring) var(--wp--custom--easing--spring), box-shadow var(--wp--custom--duration--base); }
.k4c-cov__card:hover { translate: 4px 0; box-shadow: inset 0 0 0 2px var(--wp--preset--color--primary); }
.k4c-cov__time { display: grid; align-content: center; justify-items: center; align-self: center; height: 4.75rem; border-radius: var(--wp--custom--radius--lg); background: var(--wp--preset--color--brand-navy); color: var(--wp--preset--color--on-navy); padding: 0.5rem 0.25rem; text-align: center; line-height: 1; }
.k4c-cov__body { align-self: center; }
.k4c-cov__time .num { font-size: 1.5rem; font-weight: var(--wp--custom--font-weight--extrabold); letter-spacing: -0.02em; }
.k4c-cov__time small { margin-top: 0.3rem; font-size: var(--wp--preset--font-size--label-sm); text-transform: lowercase; color: var(--wp--preset--color--on-navy-soft); }
.k4c-cov__card--2 .k4c-cov__time { background: var(--wp--preset--color--primary); }
.k4c-cov__card--3 .k4c-cov__time { background: var(--wp--preset--color--brand-deep); }
.k4c-cov__label { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; color: var(--wp--preset--color--primary); }
.k4c-cov__towns { margin: 0.25rem 0 0; font-size: var(--wp--preset--font-size--body-sm); line-height: var(--wp--custom--line-height--relaxed); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; }
.k4c-cov__towns a { color: var(--wp--preset--color--heading); text-decoration: none; }
.k4c-cov__towns a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
.k4c-cov__map { position: relative; border-radius: var(--wp--custom--radius--xxl); overflow: hidden; background: var(--wp--preset--color--base); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border-strong); }
.k4c-cov__svg { display: block; width: 100%; height: auto; }
.k4c-cov__river { fill: none; stroke: rgba(2,65,232,.16); stroke-width: 18; stroke-linecap: round; }
.k4c-cov__ring { fill: rgba(2,65,232,.04); stroke: rgba(2,65,232,.35); stroke-width: 1.5; stroke-dasharray: 4 5; transition: fill var(--wp--custom--duration--base), stroke var(--wp--custom--duration--base), stroke-width var(--wp--custom--duration--base); }
.k4c-cov__ring-label { font: 700 12px/1 var(--wp--preset--font-family--sans); fill: var(--wp--preset--color--primary); opacity: .9; }
.k4c-cov__town circle { fill: var(--wp--preset--color--brand-navy); stroke: #fff; stroke-width: 2; transition: r var(--wp--custom--duration--base), fill var(--wp--custom--duration--base); }
.k4c-cov__town--1 circle { fill: var(--wp--preset--color--primary); }
.k4c-cov__town--4 circle { fill: var(--wp--preset--color--border-strong); }
.k4c-cov__town text { font: 600 11px/1 var(--wp--preset--font-family--sans); fill: var(--wp--preset--color--heading); opacity: .85; pointer-events: none; }
.k4c-cov__town--4 text { opacity: .55; }
/* the inner ring is crowded: its labels appear on hover (the band card lists them) */
.k4c-cov__town--1 text { opacity: 0; }
.k4c-cov__town--1:hover text, .k4c-cov__town--1:focus-visible text, .k4c-cov:has(.k4c-cov__card--1:hover) .k4c-cov__town--1 text { opacity: 1; }
.k4c-cov__town text { font-size: 12px; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.k4c-cov__town:hover circle, .k4c-cov__town:focus-visible circle { fill: var(--wp--preset--color--accent); r: 8; }
.k4c-cov__town:hover text { opacity: 1; font-weight: 700; }
.k4c-cov__town { text-decoration: none; }
.k4c-cov__town:focus-visible { outline: none; }
.k4c-cov__key { margin: 0; padding: 0.6rem 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; font-size: var(--wp--preset--font-size--label); font-weight: var(--wp--custom--font-weight--semibold); color: var(--wp--preset--color--muted); border-top: 1px solid var(--wp--preset--color--border); }
.k4c-cov__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.35rem; vertical-align: middle; background: var(--wp--preset--color--brand-navy); }
.k4c-cov__dot--1 { background: var(--wp--preset--color--primary); }
.k4c-cov__dot--3 { background: var(--wp--preset--color--brand-deep); }
.k4c-cov__dot--4 { background: var(--wp--preset--color--border-strong); }
/* hovering a band card lights up its ring and dims the rest (no JS) */
.k4c-cov:has(.k4c-cov__card--1:hover) .k4c-cov__ring--1, .k4c-cov:has(.k4c-cov__card--2:hover) .k4c-cov__ring--2, .k4c-cov:has(.k4c-cov__card--3:hover) .k4c-cov__ring--3 { fill: rgba(255,201,74,.22); stroke: var(--wp--preset--color--accent); stroke-width: 3; stroke-dasharray: none; }
.k4c-cov:has(.k4c-cov__card:hover) .k4c-cov__town { opacity: .3; }
.k4c-cov:has(.k4c-cov__card--1:hover) .k4c-cov__town--1, .k4c-cov:has(.k4c-cov__card--2:hover) .k4c-cov__town--2, .k4c-cov:has(.k4c-cov__card--3:hover) .k4c-cov__town--3 { opacity: 1; }
.k4c-region { margin-top: var(--wp--preset--spacing--80); }
.k4c-region > h3 { margin: 0; }
.k4c-region > p { margin-top: var(--wp--preset--spacing--30); max-width: 70ch; color: var(--wp--preset--color--muted); }
.k4c-region > .wp-block-list.is-style-chips,
.k4c-region > .wp-block-list.is-style-chips-outline { margin-top: var(--wp--preset--spacing--70); }
.k4c-region .wp-block-list.is-style-chips li { font-size: var(--wp--preset--font-size--body-sm); min-height: 42px; padding: 0 1rem; }

/* About page */
.k4c-about__photos { display: grid; gap: var(--wp--preset--spacing--40); align-content: start; }
.k4c-about__photos-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--wp--preset--spacing--40); }
.k4c-about__photos-row .k4c-photo-frame,
.k4c-about__photos-row .k4c-photo-frame img { aspect-ratio: 4 / 5; }
.k4c-about__photos-row .k4c-photo-frame p { font-size: var(--wp--preset--font-size--label-sm); }
.k4c-about__ethos { gap: var(--wp--preset--spacing--80); }
@media (min-width: 64rem) { .k4c-about__ethos { gap: var(--wp--preset--spacing--90); } }
.k4c-about__ethos .is-style-checklist { margin-top: var(--wp--preset--spacing--50); }
.k4c-about__facts { margin-top: var(--wp--preset--spacing--80); }
.k4c-about__fact { padding: var(--wp--preset--spacing--50); border-radius: var(--wp--custom--radius--xl); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.k4c-about__fact .k4c-why__icon { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--brand-deep); }
.k4c-about__fact h3 { margin: 0; font-size: var(--wp--preset--font-size--heading); color: inherit; }
.k4c-about__fact p { margin: var(--wp--preset--spacing--20) 0 0; font-size: var(--wp--preset--font-size--body-sm); line-height: var(--wp--custom--line-height--relaxed); color: var(--wp--preset--color--on-navy-soft); }
.k4c-about__strip { display: grid; gap: var(--wp--preset--spacing--40); margin-top: var(--wp--preset--spacing--70); }
@media (min-width: 40rem) { .k4c-about__strip { grid-template-columns: repeat(3, 1fr); } }
.k4c-about__strip .k4c-photo-frame { aspect-ratio: 4 / 3; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: var(--wp--preset--color--on-navy-soft); }
.k4c-about__base .k4c-cov__map { height: 100%; }


/* ---- 3D map board (route map on town pages, coverage map on /areas/ and About) ---- */
.k4c-m3d { position: relative; container-type: inline-size; aspect-ratio: var(--ar); overflow: hidden; border-radius: var(--wp--custom--radius--xl); background: linear-gradient(180deg, #E8EEFF 0%, #F6F8FF 60%); box-shadow: inset 0 0 0 1px var(--wp--preset--color--border); }
.k4c-m3d__stage { position: absolute; inset: 0; perspective: 1200px; perspective-origin: 50% 0%; }
.k4c-m3d__board {
	position: absolute; left: 50%; top: 56%; width: var(--w); height: var(--h);
	--s: tan(atan2(100cqw, var(--w)));
	transform: translate(-50%, -50%) scale3d(var(--s), var(--s), var(--s)) rotateX(var(--tilt)) rotateZ(var(--spin));
	transform-style: preserve-3d; border-radius: 12px; overflow: visible;
	box-shadow: 0 30px 50px -20px rgba(1,27,97,.45);
}
.k4c-m3d__svg { display: block; width: var(--w); height: var(--h); border-radius: 12px; }
.k4c-m3d__park { fill: rgba(72,160,110,.18); }
.k4c-m3d__river { fill: none; stroke: rgba(2,65,232,.22); stroke-width: 22; stroke-linecap: round; }
.k4c-m3d__road { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; paint-order: stroke; filter: drop-shadow(0 0 1px rgba(11,30,140,.25)); }
.k4c-m3d__road--minor { stroke-width: 8; }
.k4c-m3d__route-bed { fill: none; stroke: rgba(11,30,140,.16); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.k4c-m3d__route-bed--loop { stroke: rgba(255,255,255,.9); stroke-width: 12; }
.k4c-m3d__route { fill: none; stroke: var(--wp--preset--color--primary); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: k4c-route-draw var(--dur) cubic-bezier(.45,0,.3,1) infinite both; }
@keyframes k4c-route-draw { 0% { stroke-dashoffset: 1; } 82%, 100% { stroke-dashoffset: 0; } }

/* pins: a post standing on the board, a head and a label billboarded towards the camera */
.k4c-m3d__pin { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.k4c-m3d__pin i { position: absolute; left: -2px; top: -26px; width: 4px; height: 26px; border-radius: 2px; background: var(--wp--preset--color--brand-navy); transform-origin: 50% 100%; transform: rotateX(-90deg); }
.k4c-m3d__pin b { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--wp--preset--color--brand-navy); box-shadow: inset 0 0 0 4px #fff, 0 2px 4px rgba(0,0,0,.3); transform: translateZ(28px) rotateZ(calc(-1 * var(--spin))) rotateX(calc(-1 * var(--tilt))); }
.k4c-m3d__pin::after { content: ""; position: absolute; left: -7px; top: -4px; width: 14px; height: 8px; border-radius: 50%; background: rgba(1,27,97,.35); filter: blur(2px); }
.k4c-m3d__pin span { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 0.3rem 0.6rem; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--brand-navy); color: #fff; font: 700 12px/1 var(--wp--preset--font-family--sans); transform: translateZ(28px) rotateZ(calc(-1 * var(--spin))) rotateX(calc(-1 * var(--tilt))) translate(-50%, -34px); }
.k4c-m3d__pin--town b, .k4c-m3d__pin--town span, .k4c-m3d__pin--town i { background: var(--wp--preset--color--primary); }
.k4c-m3d__pin--town::before { content: ""; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; background: rgba(2,65,232,.22); animation: k4c-pin-pulse 2.2s ease-out infinite; }
@keyframes k4c-pin-pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* towns on the coverage board: a dot on the plane and a small upright label */
.k4c-m3d__town { position: absolute; width: 0; height: 0; transform-style: preserve-3d; text-decoration: none; transition: opacity var(--wp--custom--duration--base); }
.k4c-m3d__town i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--wp--preset--color--brand-navy); box-shadow: 0 0 0 2px #fff; transition: scale var(--wp--custom--duration--base), background var(--wp--custom--duration--base); }
.k4c-m3d__town span { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.92); color: var(--wp--preset--color--heading); font: 600 11px/1.1 var(--wp--preset--font-family--sans); box-shadow: 0 1px 2px rgba(1,27,97,.18); transform: translateZ(6px) rotateZ(calc(-1 * var(--spin))) rotateX(calc(-1 * var(--tilt))) translate(8px, -8px); }
.k4c-m3d__town.k4c-cov__town--1 i { background: var(--wp--preset--color--primary); }
.k4c-m3d__town.k4c-cov__town--4 i { background: var(--wp--preset--color--border-strong); }
.k4c-m3d__town.k4c-cov__town--4 span { opacity: .7; }
.k4c-m3d__town.k4c-cov__town--1 span { opacity: 0; }
.k4c-m3d__town.k4c-cov__town--1:hover span, .k4c-m3d__town.k4c-cov__town--1:focus-visible span, .k4c-cov:has(.k4c-cov__card--1:hover) .k4c-m3d__town.k4c-cov__town--1 span { opacity: 1; }
.k4c-m3d__town:hover i, .k4c-m3d__town:focus-visible i { background: var(--wp--preset--color--accent); scale: 1.5; }
.k4c-m3d__town:hover span { background: var(--wp--preset--color--accent); }
.k4c-m3d__town:focus-visible { outline: none; }
.k4c-m3d__town:focus-visible span { box-shadow: 0 0 0 3px var(--wp--preset--color--focus); }

/* the van: the Keys 4 Cars Transit as CSS faces, driven along the route */
.k4c-m3d__van { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; offset-rotate: auto; offset-distance: 0%; animation: k4c-drive var(--dur) cubic-bezier(.45,0,.3,1) infinite both; }
.k4c-m3d__van--loop { animation-timing-function: linear; animation-name: k4c-drive-loop; }
@keyframes k4c-drive { 0% { offset-distance: 0%; } 82%, 100% { offset-distance: var(--end, 100%); } }
@keyframes k4c-drive-loop { to { offset-distance: 100%; } }
.k4c-m3d__shadow { position: absolute; left: calc(var(--L) / -2 - 4px); top: calc(var(--W) / -2 - 4px); width: calc(var(--L) + 8px); height: calc(var(--W) + 8px); border-radius: 50%; background: radial-gradient(rgba(1,27,97,.45), rgba(1,27,97,0) 72%); transform: translate(3px, 3px); }
.k4c-m3d__box { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; --navy: #0B1E8C; --blue: #0241E8; --ink: #0A1230; --glass: #16213f; --white: #F7F9FF; }
.k4c-m3d__box .f { position: absolute; left: calc(var(--fw) / -2); top: calc(var(--fh) / -2); width: var(--fw); height: var(--fh); transform: translate3d(var(--cx), var(--cy), var(--cz)) var(--o); backface-visibility: visible; }
/* orientation: CSS x/y of each face map onto the van so livery reads the right way from outside */
.k4c-m3d__box .f--top    { --o: translateZ(0); }
.k4c-m3d__box .f--side   { --o: rotateX(-90deg); }           /* right side */
.k4c-m3d__box .v-side--l { --o: rotateX(-90deg) scaleX(-1); } /* left side: seen from the other direction, so mirrored. Verified with labelled faces. */
.k4c-m3d__box .f--front  { --o: rotateX(-90deg) rotateY(-90deg) scaleX(-1); }
.k4c-m3d__box .f--back   { --o: rotateX(-90deg) rotateY(90deg) scaleX(-1); }
.k4c-m3d__box .f--screen { --o: rotateY(calc(-1 * var(--slope))) rotateX(-90deg) rotateY(-90deg) scaleX(-1); }
/* roof: white with a soft panel line; bonnet: white with the blue cab stripe */
.k4c-m3d__box .v-roof { border-radius: 8% / 20%; background: linear-gradient(90deg, var(--white) 0 70%, #E9EEFF 70% 100%), var(--white); box-shadow: inset 0 0 0 1px rgba(10,18,48,.18); }
.k4c-m3d__box .v-bonnet { border-radius: 0 30% 30% 0 / 0 50% 50% 0; background: linear-gradient(90deg, var(--white) 0 40%, #E3E9FF 100%); box-shadow: inset 0 0 0 1px rgba(10,18,48,.18); }
/* sides: white cab at the front, blue body, the white brush swoosh behind the rear wheel, dark cab window, black skirt.
   The left panel has the cab at CSS-left; the right panel is the same art mirrored (cab at CSS-right) so the lettering
   stays left-to-right on both. Verified by rendering the van heading 0° and 180° under the route-map camera. */
.k4c-m3d__box .v-side { overflow: hidden; }
.k4c-m3d__box .v-side--l { border-radius: 10% 2% 2% 20% / 30% 4% 4% 45%; clip-path: polygon(100% 0, 23% 0, 10% 48%, 0 48%, 0 100%, 100% 100%); }
.k4c-m3d__box .v-side--r { border-radius: 2% 10% 20% 2% / 4% 30% 45% 4%; clip-path: polygon(0 0, 77% 0, 90% 48%, 100% 48%, 100% 100%, 0 100%); }
.k4c-m3d__box .v-side .art { position: absolute; inset: 0; display: block; box-shadow: inset 0 0 0 1px rgba(10,18,48,.22); }
.k4c-m3d__box .v-side--l .art {
	background:
		linear-gradient(var(--glass), var(--glass)) 28% 14% / 14% 30% no-repeat,
		linear-gradient(68deg, transparent 0 38%, #fff 38% 52%, transparent 52% 58%, #fff 58% 66%, transparent 66%) 100% 0 / 22% 100% no-repeat,
		linear-gradient(0deg, var(--ink) 0 9%, transparent 9%),
		linear-gradient(90deg, var(--white) 0 38%, var(--blue) 38% 100%);
}
.k4c-m3d__box .v-side--r .art {
	background:
		linear-gradient(var(--glass), var(--glass)) 72% 14% / 14% 30% no-repeat,
		linear-gradient(-68deg, transparent 0 38%, #fff 38% 52%, transparent 52% 58%, #fff 58% 66%, transparent 66%) 0 0 / 22% 100% no-repeat,
		linear-gradient(0deg, var(--ink) 0 9%, transparent 9%),
		linear-gradient(90deg, var(--blue) 0 62%, var(--white) 62% 100%);
}
.k4c-m3d__box .v-side em { position: absolute; font-style: normal; color: #fff; text-align: center; white-space: nowrap; font-family: var(--wp--preset--font-family--sans); text-shadow: 0 0 1px rgba(0,0,0,.3); }
.k4c-m3d__box .v-side .t1 { width: 36%; top: 26%; font-weight: 800; font-size: calc(var(--H) * 0.19); letter-spacing: -0.02em; }
.k4c-m3d__box .v-side .t2 { width: 36%; top: 58%; font-weight: 600; font-size: calc(var(--H) * 0.1); }
.k4c-m3d__box .v-side--l em { left: 40%; transform: rotate(6deg); }
.k4c-m3d__box .v-side--r em { left: 24%; transform: rotate(-6deg); }
.k4c-m3d__van--sm .t2 { display: none; } /* map-marker sizes: the phone number would be a smudge */
/* windscreen: dark glass with a reflection; front: white nose, grille, lamps, black bumper and the plate */
.k4c-m3d__box .v-screen { border-radius: 10% 10% 0 0 / 30% 30% 0 0; background: linear-gradient(170deg, #2c3a66 0 35%, var(--glass) 35% 100%); box-shadow: inset 0 0 0 1px rgba(10,18,48,.4); }
.k4c-m3d__box .v-screen::after { content: ""; position: absolute; inset: 8% 10% 55% 55%; background: rgba(255,255,255,.14); border-radius: 40%; transform: skewX(-20deg); }
.k4c-m3d__box .v-front {
	border-radius: 12% 12% 6% 6% / 20% 20% 8% 8%;
	background:
		/* lamps */ radial-gradient(circle, #fff 0 40%, #cfd8ff 41% 60%, transparent 61%) 10% 28% / 22% 30% no-repeat,
		radial-gradient(circle, #fff 0 40%, #cfd8ff 41% 60%, transparent 61%) 90% 28% / 22% 30% no-repeat,
		/* grille */ linear-gradient(var(--ink), var(--ink)) 50% 30% / 40% 34% no-repeat,
		/* bumper */ linear-gradient(0deg, var(--ink) 0 42%, transparent 42%),
		var(--white);
	box-shadow: inset 0 0 0 1px rgba(10,18,48,.3);
}
.k4c-m3d__box .v-front::after { /* number plate */
	content: "K3Y5 4C4RS"; position: absolute; left: 25%; right: 25%; top: 62%; height: 18%; border-radius: 10%; background: #FFD500; color: #111; font: 800 calc(var(--H) * 0.08) / 1 var(--wp--preset--font-family--sans); display: grid; place-items: center; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
}
.k4c-m3d__box .v-back {
	border-radius: 10% 10% 4% 4% / 14% 14% 6% 6%;
	background:
		/* lights */ linear-gradient(#e8323c, #b1121c) 4% 55% / 8% 26% no-repeat, linear-gradient(#e8323c, #b1121c) 96% 55% / 8% 26% no-repeat,
		/* door seam */ linear-gradient(90deg, transparent 49.2%, rgba(10,18,48,.55) 49.2% 50.8%, transparent 50.8%),
		/* rear windows */ linear-gradient(var(--glass), var(--glass)) 50% 14% / 80% 26% no-repeat,
		/* bumper */ linear-gradient(0deg, var(--ink) 0 14%, transparent 14%),
		var(--blue);
	box-shadow: inset 0 0 0 1px rgba(10,18,48,.3);
}
.k4c-m3d__box .v-wheel { border-radius: 50%; background: radial-gradient(circle, #d7dbe6 0 26%, #8a90a3 27% 40%, #0f1115 41% 100%); box-shadow: 0 0 0 1px #000; }
.k4c-m3d--route .k4c-route__badge { z-index: 2; }
.k4c-cov__map .k4c-m3d { border-radius: 0; box-shadow: none; }
.k4c-m3d--cov .k4c-m3d__board { --s: tan(atan2(114cqw, var(--w))); top: 45%; left: 47%; } /* a touch closer, rings sat high in the box */
/* no offset-path / trig support: flat map, no van */
@supports not ((offset-path: path("M0 0 L1 1")) and (scale: tan(atan2(1px, 2px)))) {
	.k4c-m3d { aspect-ratio: auto; }
	.k4c-m3d__stage { position: static; perspective: none; }
	.k4c-m3d__board { position: static; width: auto; height: auto; transform: none; }
	.k4c-m3d__svg { width: 100%; height: auto; }
	.k4c-m3d__van, .k4c-m3d__pin, .k4c-m3d__town { display: none; }
}
@media (prefers-reduced-motion: reduce) { .k4c-m3d__pin--town::before { animation: none; display: none; } }
/* phones: zoom the route board in so it is taller than a letterbox (the ends of the board crop, the route doesn't) */
@media (max-width: 40rem) {
	.k4c-m3d--route { aspect-ratio: 1 / 0.78; }
	.k4c-m3d--route .k4c-m3d__board { --s: tan(atan2(140cqw, var(--w))); top: 58%; }
	.k4c-m3d--route .k4c-route__badge { top: 0.5rem; right: 0.5rem; padding: 0.35rem 0.6rem; font-size: var(--wp--preset--font-size--label); }
	.k4c-m3d--cov { aspect-ratio: 1 / 0.9; }
	.k4c-m3d--cov .k4c-m3d__board { --s: tan(atan2(150cqw, var(--w))); }
}

/* Emergency band (services archive) */
.k4c-emergency__points { list-style: none; margin: var(--wp--preset--spacing--60) 0 0; padding: 0; display: grid; gap: var(--wp--preset--spacing--30); max-width: 60ch; }
.k4c-emergency__points li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: var(--wp--custom--font-weight--semibold); line-height: var(--wp--custom--line-height--snug); text-transform: lowercase; }
.k4c-emergency__points svg { flex-shrink: 0; margin-top: 2px; color: var(--wp--preset--color--primary); }
.k4c-emergency__areas h3 { font-size: var(--wp--preset--font-size--heading-lg); margin-top: var(--wp--preset--spacing--30); }
.k4c-emergency__areas .wp-block-list.is-style-chips { margin-top: var(--wp--preset--spacing--40); }
.k4c-emergency__areas .k4c-areas__more { margin-top: var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--body); }
.k4c-label { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); text-transform: lowercase; margin: 0; }
.k4c-contact-list { margin-top: var(--wp--preset--spacing--60); gap: 0.5rem; }
.k4c-contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; color: var(--wp--preset--color--contrast); }
.k4c-contact-list a { color: var(--wp--preset--color--primary); opacity: 1; }
.k4c-contact-list strong { text-transform: lowercase; color: var(--wp--preset--color--muted-2); font-weight: var(--wp--custom--font-weight--semibold); font-size: var(--wp--preset--font-size--small); padding-top: 0.45rem; }
.k4c-models li { text-transform: none; }
.k4c-price-from__prefix { text-transform: lowercase; }
/* The quote form's title is an h2 inside the form; match the mockup's card title size. */
.k4c-nest .k4c-form__title { font-size: var(--wp--preset--font-size--heading-lg); line-height: 1.1; }
.k4c-quote .k4c-step--plain { margin-top: var(--wp--preset--spacing--10); }

/* ========== 19. Print ========== */

@media print {
	.k4c-topbar, .k4c-mnav, .k4c-header__call, .k4c-mbar, .k4c-cta, .k4c-form button { display: none !important; }
	.k4c-header { position: static; }
	a[href^="tel:"]::after { content: " (" attr(href) ")"; font-size: .9em; }
}
