/* ==========================================================================
   John McKenna Ltd — main stylesheet
   Palette derived from the company logo greens.
   ========================================================================== */

:root {
	--g900: #0e3d18;
	--g700: #1c6b2c;
	--g500: #2e8b3a;
	--g400: #4fae3a;
	--g300: #5cc24a;
	--lime: #9ad45a;
	--dark: #12211a;
	--dark-2: #182b20;
	--cream: #f7f4ed;
	--sand: #ede7d9;
	--paper: #ffffff;
	--ink: #17231a;
	--ink-2: #4d5c50;
	--line: #ddd6c6;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(14, 45, 22, 0.10);
	--font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}

/* ---------- reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--g700); }
a:hover { color: var(--g900); }

/* Site-wide keyboard focus ring (brief 4: matches the brand lime). */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
	outline: 3px solid var(--lime);
	outline-offset: 3px;
}

h1, h2, h3 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: 0.01em;
	margin: 0 0 0.5em;
	color: var(--g900);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); text-transform: none; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

.sr-only, .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	background: var(--lime);
	color: var(--g900);
	padding: 10px 16px;
	z-index: 200;
	border-radius: 0 0 8px 0;
	font-weight: 600;
}
.skip-link:focus { left: 0; }

.ic { width: 1.05em; height: 1.05em; fill: currentColor; vertical-align: -0.18em; flex: none; }

/* ---------- buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.12rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
	line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }

.btn-cta { background: var(--g700); color: #fff !important; }
.btn-cta:hover { background: var(--g500); }

.btn-lime { background: var(--lime); color: var(--g900) !important; }
.btn-lime:hover { background: #88c54b; }

.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime) !important; }

.btn-outline { background: transparent; color: var(--g700) !important; border-color: var(--g700); }
.btn-outline:hover { background: var(--g700); color: #fff !important; }

/* ---------- utility bar ---------- */

.utility-bar {
	background: var(--g900);
	color: #e8f2e2;
	font-size: 0.92rem;
	font-weight: 600;
}
.utility-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 18px;
	padding-top: 7px;
	padding-bottom: 7px;
}
.utility-bar .u-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #e8f2e2;
	text-decoration: none;
	white-space: nowrap;
}
.utility-bar a.u-item:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 0.18em; }
.utility-bar .ic { color: var(--lime); }
.u-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.25); }

/* ---------- header & nav ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	/* The blur lives on a ::before layer so the header itself does not become
	   the containing block for the fixed mobile nav panel (see main.css notes). */
	background: transparent;
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(14, 45, 22, 0.12); }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	transition: padding 0.2s ease;
}
.site-header.scrolled .header-inner { padding-top: 6px; padding-bottom: 6px; }

/* Original script logo is a squarer lockup (~2.9:1) than the old wordmark, so the width is trimmed to keep the header compact. */
.brand img { width: 236px; max-width: 52vw; }

.primary-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list a {
	position: relative;
	display: block;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	padding: 10px 13px 9px;
	white-space: nowrap;
	transition: color 0.15s ease;
}
.nav-list a::after {
	content: "";
	position: absolute;
	left: 13px;
	right: 13px;
	bottom: 3px;
	height: 2px;
	background: var(--g500);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.18s ease;
}
.nav-list a:hover { color: var(--g700); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list .current-menu-item > a { color: var(--g700); }
.nav-list .current-menu-item > a::after { transform: scaleX(1); }
.nav-list a:focus-visible {
	outline: 2px solid var(--g500);
	outline-offset: 2px;
	border-radius: 2px;
}

.nav-cta {
	margin-left: 12px;
	font-size: 0.82rem;
	letter-spacing: 0.09em;
	padding: 10px 18px;
	border-radius: 999px;
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.nav-toggle .bar {
	display: block;
	width: 26px;
	height: 3px;
	margin: 5px 0;
	border-radius: 2px;
	background: var(--g700);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero (front page) ---------- */

.hero {
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(92, 194, 74, 0.16), transparent 60%),
		linear-gradient(160deg, var(--dark-2), var(--dark) 60%);
	color: #f2f7ee;
	padding: 64px 0 72px;
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: center;
}
.hero .eyebrow {
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--lime);
	margin-bottom: 14px;
}
.hero h1 {
	color: #fff;
	margin-bottom: 18px;
	text-wrap: balance;
	max-width: 25ch;
}
.hero .lede { color: #cfe0c8; font-size: 1.15rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-media { align-self: stretch; display: flex; }
.hero-media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
	outline: 3px solid rgba(154, 212, 90, 0.35);
	outline-offset: 6px;
}

/* ---------- trust bar ---------- */

.trust { background: var(--g700); color: #fff; }
.trust-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px 24px;
	padding-top: 18px;
	padding-bottom: 18px;
}
.trust-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 1.06rem;
	letter-spacing: 0.02em;
}
.trust-item .ic { color: var(--lime); width: 1.3em; height: 1.3em; flex: none; margin-top: 0.2em; }
.trust-item span { text-wrap: balance; }

/* ---------- sections (one spacing scale: 96 / 72 / 56) ---------- */

.section { padding: 96px 0; }
.section.tint { background: var(--cream); }
.categories { padding: 96px 0; }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { color: var(--ink-2); margin-top: 0.6em; }

.h-tight { margin-top: 44px; }

/* ---------- category tiles ---------- */

.tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.tile {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(14, 45, 22, 0.16); }
.tile-img { display: block; background: var(--cream); }
.tile-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile-body { flex: 1; display: flex; flex-direction: column; padding: 18px 20px 20px; }
.tile-body strong {
	display: block;
	font-family: var(--font-head);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--g900);
	margin-bottom: 4px;
}
.tile-body > span:not(.tile-link) { color: var(--ink-2); font-size: 0.98rem; display: block; margin-bottom: 14px; }
.tile-link {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-family: var(--font-head);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.98rem;
	color: var(--g500) !important;
}
.tile:hover .tile-link { color: var(--g700) !important; }

/* ---------- key message band ---------- */

.message { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.message-inner {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 44px;
	padding: 96px 24px;
}
.message h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.message-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.message-facts { display: grid; gap: 14px; align-content: center; }
.fact {
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 5px solid var(--g400);
	border-radius: 10px;
	padding: 14px 18px;
}
.fact strong {
	display: block;
	font-family: var(--font-head);
	font-size: 1.5rem;
	color: var(--g700);
}
.fact span { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- brand grid (logo cards, text fallback) ---------- */

.brand-grid {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 1.6rem;
	padding: 0;
}
.brand-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 10px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex: 0 1 158px;
	min-height: 92px;
	text-align: center;
}
.brand-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
}
.brand-mark img {
	max-width: 140px;
	max-height: 44px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.2s ease, opacity 0.2s ease;
}
.brand-card:hover .brand-mark img,
.brand-card:focus-within .brand-mark img { filter: grayscale(0); opacity: 1; }
/* Badge-style marks (Briggs, NGK, Champion, Walbro) read lighter than wide
   wordmarks at the standard cap, so they get a size boost to match. */
.brand-card--boost .brand-mark img { max-height: 58px; max-width: 150px; }
.brand-name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.94rem;
	letter-spacing: 0.03em;
	color: var(--g900);
	line-height: 1.1;
}
/* Text-only tiles read as deliberate wordmarks (until real logos exist). */
.brand-card--text .brand-name {
	font-size: 1.08rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--g700);
	opacity: 0.8;
	transition: opacity 0.2s ease;
}
.brand-card--text:hover .brand-name,
.brand-card--text:focus-within .brand-name { opacity: 1; }
.brand-note {
	font-size: 0.74rem;
	line-height: 1.3;
	color: var(--ink-2);
}

.brand-grid--compact {
	gap: 9px;
	margin-bottom: 0;
}
.brand-grid--compact .brand-card { min-height: 68px; padding: 10px 8px 9px; gap: 0; flex-basis: 128px; }
.brand-grid--compact .brand-mark { min-height: 34px; }
.brand-grid--compact .brand-mark img { max-width: 112px; max-height: 32px; }
.brand-grid--compact .brand-card--boost .brand-mark img { max-height: 40px; max-width: 104px; }
.brand-grid--compact .brand-card--text .brand-name { font-size: 0.92rem; }
/* In the home strip the logo speaks for itself — drop the duplicate caption. */
.brand-grid--compact .brand-card:not(.brand-card--text) .brand-name { display: none; }

@media (prefers-reduced-motion: reduce) {
	.brand-mark img, .brand-card--text .brand-name { transition: none; }
}

.brands-strip {
	background: linear-gradient(160deg, var(--dark-2), var(--dark));
	padding: 96px 0;
}
.brands-note { text-align: center; margin: 22px 0 0; }
.brands-note a { color: var(--lime); font-weight: 600; }

.chip-group-title {
	margin: 30px 0 12px;
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--g700);
}
.chip-group-title:first-of-type { margin-top: 18px; }

/* ---------- feature rows (machinery / oils / about) ---------- */

.feature {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 40px;
	align-items: center;
	margin-bottom: 54px;
}
.feature.flip .feature-img { order: 2; }
.feature-img img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	background: var(--cream);
	object-fit: cover;
	aspect-ratio: 4 / 3;
}
.feature-copy h2 { margin-bottom: 8px; }
.feature-copy p { color: var(--ink-2); }

/* ---------- lists ---------- */

.ticks {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}
.ticks li {
	position: relative;
	padding: 5px 0 5px 30px;
}
.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #eef7e6;
	box-shadow: inset 0 0 0 1px #bcdc9a;
}
.ticks li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 13px;
	width: 8px;
	height: 5px;
	border-left: 2px solid var(--g500);
	border-bottom: 2px solid var(--g500);
	transform: rotate(-45deg);
}

.pill-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 26px;
	margin: 0;
	padding: 0;
}
.pill-list li {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 16px;
}

.fineprint {
	margin-top: 34px;
	font-size: 0.88rem;
	color: var(--ink-2);
	border-top: 1px solid var(--line);
	padding-top: 14px;
}

/* ---------- parts cards ---------- */

.part-grid { display: grid; gap: 46px; }
.part-card {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 36px;
	align-items: center;
	scroll-margin-top: 120px;
}
.part-card.flip .part-img { order: 2; }
.part-img img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	background: var(--cream);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.part-card h2 { margin-bottom: 4px; }

/* ---------- who we work with ---------- */

.who-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}
.who-card {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
}
.who-card .ic { width: 30px; height: 30px; color: var(--g500); margin-bottom: 10px; vertical-align: 0; }
.who-card strong {
	display: block;
	font-family: var(--font-head);
	font-size: 1.25rem;
	color: var(--g900);
	margin-bottom: 4px;
}
.who-card span { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- callout / cta band ---------- */

.callout {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 36px;
	margin-top: 34px;
}
.callout .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.cta-band {
	background:
		radial-gradient(900px 300px at 15% 0%, rgba(92, 194, 74, 0.18), transparent 60%),
		linear-gradient(160deg, var(--g700), var(--g900));
	color: #fff;
	padding: 72px 0;
}
.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #d8e8d0; margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- page hero (sub pages) ---------- */

.page-hero {
	position: relative;
	background:
		radial-gradient(900px 400px at 90% -20%, rgba(92, 194, 74, 0.15), transparent 60%),
		linear-gradient(160deg, var(--dark-2), var(--dark));
	color: #f2f7ee;
	padding: 46px 0 50px;
}
/* Faint diagonal "mown stripe" texture, echoing the hero, fading in from the right. */
.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: repeating-linear-gradient(
		115deg,
		rgba(154, 212, 90, 0.08) 0 14px,
		transparent 14px 44px
	);
	-webkit-mask-image: linear-gradient(to right, transparent 40%, #000 90%);
	mask-image: linear-gradient(to right, transparent 40%, #000 90%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lede { color: #cfe0c8; max-width: 60ch; font-size: 1.12rem; }
.crumbs {
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 14px;
	color: #9fb69a;
	font-family: var(--font-head);
}
.crumbs a { color: var(--lime); text-decoration: none; }

/* ---------- visit band ---------- */

.visit { background: var(--dark); color: #e9f1e4; padding: 96px 0; }
.visit-inner {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 40px;
	align-items: center;
}
.visit h2 { color: #fff; }
.visit-addr { display: flex; gap: 10px; align-items: flex-start; font-size: 1.1rem; }
.visit-lines { margin-bottom: 14px; }
.visit-lines a { display: inline-flex; gap: 9px; align-items: center; margin-right: 6px; }
/* Link colours designed for the dark visit band only. */
.visit .visit-addr .ic, .visit .visit-lines .ic, .visit .visit-hours .ic { color: var(--lime); margin-top: 3px; }
.visit .visit-lines a {
	color: #eef5ea;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-decoration-color: rgba(154, 212, 90, 0.5);
	text-underline-offset: 0.2em;
}
.visit .visit-lines a:hover { color: var(--lime); text-decoration-color: currentColor; }
/* Light callout variant (About page) — matches the contact page links. */
.callout .visit-lines a {
	color: var(--g700);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-decoration-color: rgba(28, 107, 44, 0.45);
	text-underline-offset: 0.2em;
}
.callout .visit-lines a:hover { color: var(--g900); text-decoration-color: currentColor; }
.callout .visit-lines .ic, .callout .visit-addr .ic { color: var(--g500); }
.visit-hours { display: flex; gap: 10px; align-items: flex-start; }
.visit-hours .ic { margin-top: 3px; }
.visit-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); outline: 2px solid rgba(154, 212, 90, 0.3); outline-offset: 4px; background: #d8e4cf; }
.visit-map iframe { width: 100%; height: 340px; border: 0; display: block; background: #d8e4cf; }
.visit-map.big iframe { height: 460px; }
.map-section { padding-top: 0; }

/* ---------- contact page ---------- */

.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 48px;
	align-items: start;
}

.contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ic { color: var(--g500); margin-top: 4px; }
.contact-list address { font-style: normal; }
.contact-list a {
	color: var(--g700);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-decoration-color: rgba(28, 107, 44, 0.45);
	text-underline-offset: 0.2em;
}
.contact-list a:hover { color: var(--g900); text-decoration-color: currentColor; }
.contact-list address a, .f-maplink {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-top: 2px;
}

.contact-info .tip {
	background: var(--cream);
	border-left: 4px solid var(--g400);
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 0.95rem;
	color: var(--ink-2);
}

.contact-form {
	background: var(--cream);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 32px 34px;
}
.contact-form h2 { margin-bottom: 16px; }
.contact-form p { margin-bottom: 14px; }
.contact-form label {
	display: block;
	font-weight: 600;
	font-size: 0.94rem;
	margin-bottom: 5px;
	color: var(--g900);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	font: inherit;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid #cfc8b8;
	border-radius: 9px;
	padding: 11px 13px;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: 3px solid var(--lime);
	outline-offset: 1px;
	border-color: var(--g400);
}
.contact-form .field-invalid { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 0.85rem; font-weight: 600; margin: 6px 0 0; }
.contact-form button[type="submit"] { width: 100%; justify-content: center; padding: 13px 22px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 0; }
.form-row.two p { margin-bottom: 14px; }
.form-foot { font-size: 0.85rem; color: var(--ink-2); }

.hp-field { position: absolute !important; left: -9999px; }

.form-notice {
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-weight: 600;
}
.form-notice.ok { background: #e6f5da; border: 1px solid #a8d68b; color: #14501f; }
.form-notice.bad { background: #fbe7e2; border: 1px solid #e0b4a8; color: #7c2d1c; }

/* ---------- block-authored content (pages editable in wp-admin) ---------- */

/* Rows: the .feature/.part-card grid styles also apply to block columns;
   these rules pin layout against core block CSS loaded later. */
.feature.wp-block-columns {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 40px;
	align-items: center;
	margin: 0 0 54px;
}
.part-card.wp-block-columns {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 36px;
	align-items: center;
	margin: 0;
}
.feature.flip.wp-block-columns > .wp-block-column:first-child,
.part-card.flip.wp-block-columns > .wp-block-column:first-child { order: 2; }
.feature .wp-block-image,
.part-card .wp-block-image { margin: 0; }
.feature .wp-block-column:first-child img,
.part-card .wp-block-column:first-child img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.ticks.wp-block-list { list-style: none; margin: 14px 0 0; padding: 0; }
.pill-list.wp-block-list { padding-left: 0; margin: 0; }
/* Core injects a __inner-container wrapper inside every group; neutralise it
   so our layout classes (.who-grid, .message-facts, .contact-grid, .part-grid…)
   still see their direct children. */
.wp-block-group__inner-container { display: contents; }
.fact > p, .who-card > p { margin: 0; }

/* ---------- prose ---------- */

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }

/* ---------- footer ---------- */

.site-footer {
	background:
		radial-gradient(900px 380px at 100% 0%, rgba(92, 194, 74, 0.10), transparent 60%),
		linear-gradient(180deg, var(--dark-2), var(--dark));
	color: #dce8d6;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 0.7fr;
	gap: 44px;
	padding: 56px 24px 44px;
}
.f-logo { width: 244px; margin-bottom: 16px; }
.f-col p { font-size: 0.97rem; color: #c3d3bd; }
.f-hours-note { font-size: 0.92rem; }
.f-title {
	color: #fff;
	font-size: 1.3rem;
	margin-top: 0;
	margin-bottom: 14px;
}
.f-contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 13px; }
.f-contact li { display: flex; gap: 11px; align-items: flex-start; flex-wrap: wrap; }
.f-contact address { font-style: normal; flex: 1 1 150px; }
/* Colours only in the dark footer — the contact page styles itself via .contact-list. */
.site-footer .f-contact .ic { color: var(--lime); margin-top: 3px; }
.site-footer .f-contact a { color: #dce8d6; text-decoration: none; font-weight: 600; }
.site-footer .f-contact a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 0.18em; }
/* Map link gets its own line under the address instead of squeezing beside it. */
.f-maplink { color: var(--lime) !important; font-size: 0.9rem !important; font-weight: 600; flex: 1 0 100%; margin-top: 6px; }

.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-links a { color: #b9c7b3; text-decoration: none; font-family: var(--font-head); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.f-links a:hover { color: var(--lime); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.22); }
.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 16px;
	padding-bottom: 16px;
	font-size: 0.85rem;
	color: #93a68e;
}
.footer-bottom p { margin: 0; }

/* ---------- responsive ---------- */

/* Squeeze the nav slightly before the drawer breakpoint (1020px). */
@media (max-width: 1100px) {
	.trust-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1150px) {
	.brand img { width: 214px; }
	.nav-list a {
		font-size: 0.82rem;
		letter-spacing: 0.07em;
		padding: 9px 9px 8px;
	}
	.nav-list a::after { left: 9px; right: 9px; }
	.nav-cta { margin-left: 8px; padding: 9px 14px; font-size: 0.78rem; }
}

@media (max-width: 1020px) {
	.hero-inner, .message-inner, .visit-inner, .contact-grid { grid-template-columns: 1fr; }
	.hero-media { order: -1; }
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.who-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	/* tablet step of the spacing scale */
	.section, .categories { padding: 72px 0; }
	.message-inner { padding: 72px 24px; }
	.brands-strip, .visit { padding: 72px 0; }
	.cta-band { padding: 56px 0; }
	.feature, .feature.flip, .part-card, .part-card.flip { grid-template-columns: 1fr; }
	.feature.wp-block-columns, .feature.flip.wp-block-columns,
	.part-card.wp-block-columns, .part-card.flip.wp-block-columns { grid-template-columns: 1fr; }
	.feature.flip.wp-block-columns > .wp-block-column:first-child,
	.part-card.flip.wp-block-columns > .wp-block-column:first-child { order: 0; }
	.feature.wp-block-columns > .wp-block-column:first-child { max-width: 560px; }
	.feature.flip .feature-img, .part-card.flip .part-img { order: 0; }
	.feature-img { max-width: 560px; }
}

/* Nav collapses to the hamburger when the menu stops fitting (needs ~830px). */
@media (max-width: 880px) {
	.nav-toggle { display: block; }

	/* Solid full-width sheet below the header. The header blur now lives on a
	   ::before, so position:fixed here is viewport-relative (see 1.2 brief). */
	.primary-nav {
		position: fixed;
		inset: auto 0 0 0;
		top: var(--nav-anchor, 64px);
		height: calc(100vh - var(--nav-anchor, 64px));
		height: calc(100dvh - var(--nav-anchor, 64px));
		overflow-y: auto;
		background: var(--dark);
		border-top: 1px solid rgba(154, 212, 90, 0.35);
		box-shadow: 0 -12px 30px rgba(14, 45, 22, 0.35);
		flex-direction: column;
		align-items: stretch;
		padding: 14px 24px 30px;
		transform: translateY(105%);
		visibility: hidden;
		opacity: 0;
		transition: transform 0.25s ease, opacity 0.2s ease, visibility 0.25s;
		z-index: 95;
	}
	body.nav-open .primary-nav { transform: translateY(0); visibility: visible; opacity: 1; }
	body.nav-open { overflow: hidden; } /* lock page scroll while the menu is open */

	.nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav-list a {
		font-size: 1.25rem;
		padding: 12px 10px;
		min-height: 48px;
		display: flex;
		align-items: center;
		color: #e9f1e4;
	}
	.nav-list a::after { left: 10px; right: 10px; bottom: 6px; background: var(--lime); }
	.nav-list a:hover { color: var(--lime); }
	.nav-list .current-menu-item > a { color: var(--lime); }
	.nav-list a:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
	.nav-cta { justify-content: center; margin: 16px 0 0; width: 100%; }
}

@media (max-width: 760px) {
	.utility-bar .u-sep, .utility-bar .u-item:last-child { display: none; }

	.pill-list, .form-row.two { grid-template-columns: 1fr; }
	.tiles { grid-template-columns: 1fr; }
	.who-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }
	/* mobile step of the spacing scale */
	.section, .categories { padding: 56px 0; }
	.message-inner { padding: 56px 20px; }
	.brands-strip, .visit { padding: 56px 0; }
	.cta-band { padding: 48px 0; }
	.hero { padding: 44px 0 54px; }
	.brand img { width: 220px; }
}

@media (max-width: 600px) {
	.trust-inner { grid-template-columns: 1fr; }
}

/* ---------- CookieAdmin consent banner — restyled to match the site ----------
   The plugin's consent.css loads before this file, so these rules win.
   The plugin injects some inline button colours, hence a few !important here. */

.cookieadmin_law_container {
	width: min(480px, calc(100vw - 32px));
	font-family: var(--font-body);
}
.cookieadmin_consent_inside {
	font-family: var(--font-body);
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 18px 50px rgba(14, 45, 22, 0.25);
	padding: 20px 22px;
}
.cookieadmin_notice_con a { color: var(--g700); font-weight: 600; }
.cookieadmin_consent_btns { margin-top: 16px; gap: 10px; }
.cookieadmin_btn {
	font-family: var(--font-head) !important;
	font-weight: 600 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 999px !important;
	border: 2px solid transparent;
	padding: 11px 18px !important;
	min-height: 44px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.cookieadmin_btn:hover { transform: translateY(-1px); }
/* Accept and Reject get equal weight (both brand green). */
.cookieadmin_accept_btn, .cookieadmin_reject_btn {
	background: var(--g700) !important;
	border-color: var(--g700) !important;
	color: #fff !important;
}
.cookieadmin_accept_btn:hover, .cookieadmin_reject_btn:hover {
	background: var(--g500) !important;
	border-color: var(--g500) !important;
}
.cookieadmin_customize_btn {
	background: transparent !important;
	border-color: var(--g700) !important;
	color: var(--g700) !important;
}
.cookieadmin_customize_btn:hover { background: rgba(28, 107, 44, 0.08) !important; }
.cookieadmin-poweredby { font-size: 0.72rem; opacity: 0.65; margin-top: 10px; }

/* Preferences modal */
.cookieadmin_cookie_modal { font-family: var(--font-body); }
.cookieadmin_cookie_modal .cookieadmin_mod_head { font-family: var(--font-head); }
