/*
 * Your Plumbing Mate – styles theme.json can't express.
 * Loaded on the front end and inside the editor, so both look the same.
 */

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(a, button, input, summary):focus-visible { outline: 2px solid var(--wp--preset--color--aqua); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { box-shadow: 0 1px 0 var(--wp--preset--color--line); }
.site-header .wp-block-site-logo img { height: auto; }
.site-topbar p { margin: 0; }
.site-topbar a { color: inherit; text-decoration: none; }
.site-header .wp-block-navigation .wp-block-navigation-item__content { padding: 0.4rem 0; }
.site-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.site-header .wp-block-navigation [aria-current="page"] { color: var(--wp--preset--color--teal); box-shadow: inset 0 -2px 0 var(--wp--preset--color--aqua); }
.site-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1.1rem; font-size: 1.25rem; }
.header-phone .wp-block-button__link { white-space: nowrap; }

/* ---------- Eyebrow / kicker text ---------- */
.is-style-eyebrow, .eyebrow {
	display: block;
	font-size: 0.8rem !important;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
}
.is-style-section-navy .eyebrow, .has-navy-background-color .eyebrow, .wp-block-cover .eyebrow { color: var(--wp--preset--color--aqua); }
.eyebrow-pill {
	width: fit-content;
	padding: 0.35rem 0.85rem;
	border: 1px solid rgba(45, 212, 191, 0.45);
	border-radius: 999px;
	background: rgba(45, 212, 191, 0.12);
}

/* ---------- Icons ---------- */
.wp-block-icon.icon-badge svg { box-sizing: content-box; }
.icon-inline { display: flex; align-items: center; gap: 0.6rem; }

/* ---------- Cards ---------- */
.is-style-card { transition: transform .2s ease, box-shadow .2s ease; }
.is-style-card.is-link-card:hover { transform: translateY(-3px); box-shadow: var(--wp--preset--shadow--lifted); }
.is-style-card > .wp-block-image:first-child { margin-top: calc(-1 * var(--wp--preset--spacing--40)); margin-left: calc(-1 * var(--wp--preset--spacing--40)); margin-right: calc(-1 * var(--wp--preset--spacing--40)); }
.is-style-card > .wp-block-image:first-child img { border-radius: var(--wp--custom--radius--medium) var(--wp--custom--radius--medium) 0 0; }
.card-link a { font-weight: 700; text-decoration: none; }
.card-link a::after { content: " →"; }

/* Push last element (link/button) to bottom so card rows line up */
.is-layout-grid > .is-style-card, .wp-block-column.is-style-card { display: flex; flex-direction: column; }
.is-link-card > :last-child { margin-top: auto; padding-top: 0.5rem; }

/* ---------- Checklists ---------- */
ul.is-style-checklist, ul.checklist { list-style: none; padding-left: 0; }
ul.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.55rem; }
ul.checklist li::before {
	content: "";
	position: absolute; left: 0; top: 0.3em;
	width: 1.15rem; height: 1.15rem; border-radius: 50%;
	background: var(--wp--preset--color--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2540' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}
ul.checklist.is-inline { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
ul.checklist.is-inline li { margin: 0; }
ul.columns-2 { columns: 2; column-gap: 2rem; }
ul.columns-3 { columns: 3; column-gap: 2rem; }
@media (max-width: 600px) { ul.columns-3 { columns: 2; } }

/* ---------- Steps ---------- */
.step-number {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 50%;
	background: var(--wp--preset--color--navy); color: var(--wp--preset--color--aqua);
	font-weight: 800; font-size: 1.1rem !important; margin: 0;
}

/* ---------- Images ---------- */
.wp-block-image img, .wp-block-media-text__media img { object-fit: cover; }
.wp-block-image img { width: 100%; }
.wp-block-media-text .wp-block-media-text__media img { border-radius: var(--wp--custom--radius--medium); }
.hero-image img { box-shadow: var(--wp--preset--shadow--lifted); }

/* ---------- Area / suburb pills ---------- */
.area-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-links .wp-block-button__link { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); font-weight: 600; }
.area-links .wp-block-button__link:hover { background: var(--wp--preset--color--aqua); color: var(--wp--preset--color--navy); }

/* ---------- Accordion (FAQ) ---------- */
.wp-block-accordion-item { border-bottom: 1px solid var(--wp--preset--color--line); }
.wp-block-accordion-heading__toggle { padding: 1.1rem 0 !important; }

/* ---------- Forms (Fluent Forms) to match the theme ---------- */
.fluentform .ff-el-input--label label { font-weight: 600; color: var(--wp--preset--color--navy); }
.fluentform .ff-el-form-control { border: 1px solid #C9D6E3 !important; border-radius: 10px !important; padding: 0.8rem 0.9rem !important; font: inherit !important; }
.fluentform .ff-el-form-control:focus { border-color: var(--wp--preset--color--teal) !important; box-shadow: 0 0 0 3px rgba(45,212,191,.25) !important; }
.fluentform .ff-btn-submit { background: var(--wp--preset--color--aqua) !important; color: var(--wp--preset--color--navy) !important; border-radius: 999px !important; font-weight: 700 !important; padding: 0.9rem 1.75rem !important; font-size: 1rem !important; border: 0 !important; width: 100%; }
.fluentform .ff-btn-submit:hover { background: #5EEAD4 !important; }
.ff-message-success { border-radius: 12px; border: 1px solid var(--wp--preset--color--aqua) !important; background: var(--wp--preset--color--mist) !important; color: var(--wp--preset--color--navy); }

/* ---------- Footer ---------- */
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: none; }
.site-footer .wp-block-heading { font-size: 1rem; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; padding-left: 0; }
.site-footer ul li { margin-bottom: 0.45rem; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar { display: none; }
@media (max-width: 781px) {
	.site-topbar, .header-actions .header-phone { display: none !important; }
	.mobile-callbar {
		display: flex;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
		background: var(--wp--preset--color--navy-deep);
		box-shadow: 0 -8px 24px rgba(6,26,46,.25);
	}
	.mobile-callbar .wp-block-buttons { width: 100%; flex-wrap: nowrap; gap: 0.6rem; }
	.mobile-callbar .wp-block-button { flex: 1 1 0; }
	.mobile-callbar .wp-block-button__link { width: 100%; padding: 0.8rem 0.5rem; }
	body { padding-bottom: 76px; }
	.header-actions .header-quote .wp-block-button__link { padding: 0.6rem 1rem; font-size: 0.9rem; }
}
/* Never show the fixed bar inside the editor canvas */
.editor-styles-wrapper .mobile-callbar { display: flex; position: static; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.is-style-card { transition: none; }
}

/* ---------- Page rhythm: full-width sections sit flush ---------- */
.wp-site-blocks > * { margin-block-start: 0 !important; }
:where(.wp-block-post-content, .is-root-container) > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.contact-row p { margin: 0; font-weight: 600; } .contact-row a { text-decoration: none; }

/* ---------- Sticky header: top bar scrolls away, main bar stays ---------- */
header.wp-block-template-part { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) - 40px); z-index: 40; }
.site-topbar { height: 40px; box-sizing: border-box; padding-block: 0 !important; display: flex; flex-direction: column; justify-content: center; }
.site-topbar .wp-block-icon svg { display: block; }
@media (max-width: 781px) {
	header.wp-block-template-part { top: 0; }
	.site-header .wp-block-site-logo img { width: 160px !important; }
}
.wp-block-icon svg { height: auto; aspect-ratio: 1; fill: currentColor; }
.site-topbar > * { width: 100%; }
.maint-row h3 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.maint-row h3 a:hover { color: var(--wp--preset--color--teal); }
.maint-row p { margin-top: 0; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.page-hero .wp-block-cover__inner-container { width: 100%; }

/* ---------- Editor canvas parity ---------- */
.editor-styles-wrapper header.wp-block-template-part { position: static; }
.editor-styles-wrapper .is-root-container > * { margin-block-start: 0; }

/* =====================================================================
   v1.1 – accent type, layered hero, background graphics, tiles, motion
   ===================================================================== */

/* ---------- Accent words: use Italic in any heading ---------- */
:where(h1, h2, h3, .wp-block-heading) em {
	font-family: var(--wp--preset--font-family--accent);
	font-style: italic;
	font-weight: 400;
	font-size: 1.12em;
	line-height: 1;
	letter-spacing: 0;
	color: var(--wp--preset--color--teal);
}
:where(.is-style-section-navy, .has-navy-background-color, .has-navy-deep-background-color, .wp-block-cover) :where(h1, h2, h3) em { color: var(--wp--preset--color--aqua); }
:where(.has-aqua-background-color) :where(h1, h2, h3) em { color: var(--wp--preset--color--navy); }

/* ---------- Background graphics ---------- */
.is-style-section-navy:not(.site-footer):not(.service-tile-cta) {
	background-image:
		radial-gradient(ellipse 38% 45% at 92% 4%, rgba(245, 184, 46, 0.10), transparent 70%),
		radial-gradient(ellipse 50% 60% at 0% 100%, rgba(45, 212, 191, 0.16), transparent 70%),
		var(--page-art, url("../img/ribbon.svg?v=3")),
		var(--wp--preset--gradient--ocean);
	background-repeat: no-repeat;
	background-size: auto, auto, cover, auto;
	background-position: center, center, right center, center;
}
.site-footer {
	background-image: linear-gradient(rgba(6, 26, 46, 0.45), rgba(6, 26, 46, 0.45)), url("../img/ribbon.svg?v=3"), linear-gradient(160deg, #061A2E 0%, #071F37 60%, #0A2A47 100%);
	background-size: auto, cover, auto; background-position: center, center 30%, center; background-repeat: no-repeat;
}
.site-footer > * { position: relative; }
.page-hero .wp-block-cover__background { opacity: 1; }
.page-hero::after {
	content: ""; position: absolute; inset: 0;
	background: var(--page-art, url("../img/ribbon.svg?v=3")) center / cover no-repeat;
	pointer-events: none; z-index: 1; opacity: 0.75;
}
.page-hero .wp-block-cover__inner-container { z-index: 2; }
/* Light-section textures live in the "Light-section accents" block below. */

/* ---------- Layered hero images ---------- */
.hero-media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.hero-media .hero-main { margin: 0; }
.hero-media .hero-main img { border-radius: var(--wp--custom--radius--large); box-shadow: var(--wp--preset--shadow--lifted); }
.hero-media .hero-inset {
	position: absolute; left: 0; bottom: 0; width: 44%; margin: 0; z-index: 2;
}
.hero-media .hero-inset img { border-radius: var(--wp--custom--radius--medium); border: 6px solid var(--wp--preset--color--navy); box-shadow: var(--wp--preset--shadow--lifted); }
.hero-media .hero-badge {
	position: absolute; top: 1.75rem; right: -1.25rem; z-index: 3;
	padding: 0.8rem 1.1rem 0.8rem 0.8rem; border-radius: 16px;
	box-shadow: 0 16px 40px rgba(6, 26, 46, 0.28); color: var(--wp--preset--color--slate);
}
.hero-badge p { margin: 0; line-height: 1.3; }
.hero-badge .hero-badge__title { font-weight: 800; color: var(--wp--preset--color--navy); }
.home-hero::before {
	content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px;
	border-radius: 50%; border: 1px solid rgba(45, 212, 191, 0.18); pointer-events: none;
}
.home-hero { position: relative; overflow: hidden; }
@media (max-width: 781px) {
	.hero-media { padding: 0 0 1.75rem 1.5rem; margin-top: 1rem; }
	.hero-media .hero-badge { right: 0.5rem; top: 0.75rem; }
	.hero-media .hero-main img { aspect-ratio: 4 / 3 !important; }
}

/* ---------- "What we do" service tiles ---------- */
.service-tile { position: relative; }
.service-tile h3 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.service-tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-tile .tile-arrow { transition: transform .25s ease; }
.service-tile:hover .tile-arrow { transform: translateX(4px); }
.service-tile:hover h3 a { color: var(--wp--preset--color--teal); }
.service-tile:hover { border-color: var(--wp--preset--color--aqua); }
.service-tile p { margin-bottom: 0; }
.service-tile-cta { display: flex; flex-direction: column; justify-content: center; }
.service-tile-cta .wp-block-buttons { margin-top: auto; }

/* ---------- Area cards (navy band) ---------- */
.area-card {
	position: relative; padding: 0.9rem 1rem; border-radius: 14px;
	background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.area-card p { margin: 0; }
.area-card .area-card__name { font-weight: 700; }
.area-card .area-card__name a { color: #fff; text-decoration: none; }
.area-card .area-card__name a::after { content: ""; position: absolute; inset: 0; }
.area-card .area-card__meta { color: #9FB3C8; }
.area-card:hover { background: rgba(45, 212, 191, 0.14); border-color: var(--wp--preset--color--aqua); transform: translateY(-2px); }

/* ---------- Footer bottom ---------- */
.footer-bottom p { margin: 0; }

/* ---------- Motion ---------- */
@keyframes plumbing-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes plumbing-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body:not(.wp-admin) .hero-badge { animation: plumbing-float 5s ease-in-out infinite; }
body:not(.wp-admin) .home-hero .wp-block-column:first-child > * { animation: plumbing-rise .7s ease both; }
body:not(.wp-admin) .home-hero .wp-block-column:first-child > :nth-child(2) { animation-delay: .08s; }
body:not(.wp-admin) .home-hero .wp-block-column:first-child > :nth-child(3) { animation-delay: .16s; }
body:not(.wp-admin) .home-hero .wp-block-column:first-child > :nth-child(n+4) { animation-delay: .24s; }
body:not(.wp-admin) .hero-media { animation: plumbing-rise .9s .15s ease both; }
/* Scroll reveal (classes added by assets/js/reveal.js; content stays visible without JS) */
.has-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0s); }
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.hero-badge, .home-hero .wp-block-column:first-child > *, .hero-media { animation: none !important; }
	.has-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
.service-tile.is-link-card > :last-child { margin-top: 0.5rem; padding-top: 0; }
@media (max-width: 781px) {
	.hero-media .hero-badge { position: relative; top: auto; right: auto; margin: 1rem 0 0 -1.5rem; width: fit-content; animation: none !important; }
	.hero-media { padding-bottom: 0; }
	.hero-media .hero-inset { bottom: 4.5rem; width: 40%; }
}

/* =====================================================================
   v1.2 – tablet nav, dropdown, hover states, pointer effects
   ===================================================================== */

/* ---------- Hamburger below 1100px (core only switches at 600px) ---------- */
@media (min-width: 600px) and (max-width: 1199px) {
	.site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ---------- Desktop dropdown ---------- */
@media (min-width: 1200px) {
	.site-header .wp-block-navigation .wp-block-navigation__submenu-container {
		min-width: 250px !important;
		padding: 0.6rem !important;
		margin-top: 0.9rem;
		border: 1px solid var(--wp--preset--color--line) !important;
		border-radius: 16px;
		background: #fff !important;
		box-shadow: 0 24px 48px rgba(6, 26, 46, 0.16), 0 2px 6px rgba(6, 26, 46, 0.06);
		opacity: 0; transform: translateY(8px);
		transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s !important;
	}
	/* Invisible bridge so the pointer can travel from the parent into the panel */
	.site-header .wp-block-navigation .wp-block-navigation__submenu-container::before {
		content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem;
	}
	/* Little pointer notch */
	.site-header .wp-block-navigation .wp-block-navigation__submenu-container::after {
		content: ""; position: absolute; top: -7px; left: 26px; width: 12px; height: 12px;
		background: #fff; border-left: 1px solid var(--wp--preset--color--line); border-top: 1px solid var(--wp--preset--color--line);
		transform: rotate(45deg);
	}
	.site-header .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
	.site-header .wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container,
	.site-header .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		opacity: 1; transform: none; transition: opacity .22s ease, transform .22s ease, visibility 0s !important;
	}
	.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex !important; align-items: center; gap: 0.65rem;
		padding: 0.6rem 0.75rem !important; border-radius: 10px;
		font-weight: 600; color: var(--wp--preset--color--navy);
		transition: background .18s ease, color .18s ease, padding .18s ease;
	}
	.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before {
		content: ""; flex: none; width: 30px; height: 30px; border-radius: 9px;
		background: var(--wp--preset--color--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath fill='%230B7A72' d='M480-186q117-104 177-190.5T717-529q0-106-68.5-173.5T480-770q-100 0-168.5 67.5T243-529q0 66 60 152.5T480-186Zm0 84q-12 0-24-4t-22-12Q304-230 240-328.5T176-529q0-143 92-229.5T480-845q120 0 212 86.5T784-529q0 102-64 200.5T526-118q-10 8-22 12t-24 4Zm0-362q33 0 56.5-23.5T560-544q0-33-23.5-56.5T480-624q-33 0-56.5 23.5T400-544q0 33 23.5 56.5T480-464Z'/%3E%3C/svg%3E") center / 18px no-repeat;
		transition: background-color .18s ease;
	}
	.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
		content: "→"; margin-left: auto; opacity: 0; transform: translateX(-6px);
		transition: opacity .18s ease, transform .18s ease; color: var(--wp--preset--color--teal);
	}
	.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		background: var(--wp--preset--color--mist); color: var(--wp--preset--color--teal);
	}
	.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover::before { background-color: #fff; }
	.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover::after { opacity: 1; transform: none; }
	.site-header .wp-block-navigation__submenu-container [aria-current="page"] { box-shadow: none !important; background: var(--wp--preset--color--mist); }
	/* Chevron flips when open */
	.site-header .wp-block-navigation__submenu-icon svg { transition: transform .22s ease; }
	.site-header .has-child:hover > .wp-block-navigation__submenu-icon svg,
	.site-header .has-child:focus-within > .wp-block-navigation__submenu-icon svg { transform: rotate(180deg); }

	/* Top-level link underline that grows from the left */
	.site-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { position: relative; }
	.site-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
		background: var(--wp--preset--color--aqua); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
	}
	.site-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
	.site-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > [aria-current="page"]::after { transform: scaleX(1); }
	.site-header .wp-block-navigation [aria-current="page"] { box-shadow: none; }
}

/* ---------- Mobile/tablet overlay menu polish ---------- */
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	padding: 0.25rem 0 0.25rem 1rem !important; margin-top: 0.5rem; border-left: 2px solid var(--wp--preset--color--aqua) !important;
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.05rem; color: var(--wp--preset--color--slate); }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: 0.3rem 0; }

/* ---------- Buttons: lift, glow and a light sweep ---------- */
.wp-element-button, .wp-block-button__link { position: relative; overflow: hidden; isolation: isolate; transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease; }
.wp-block-button__link::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	transform: skewX(-20deg); transition: left .55s ease; pointer-events: none;
}
@media (hover: hover) {
	.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(10, 37, 64, 0.22); }
	.wp-block-button__link:hover::after { left: 115%; }
	.wp-block-button__link:active { transform: translateY(0); box-shadow: none; }
	/* Outline buttons fill on hover – navy on light backgrounds, white on dark ones */
	.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); color: #fff; }
	:where(.is-style-section-navy, .has-navy-background-color, .has-navy-deep-background-color, .wp-block-cover, .mobile-callbar) .is-style-outline > .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--wp--preset--color--navy); }
	.has-navy-background-color.wp-block-button__link:hover { background-color: #12375C !important; }
	.has-white-background-color.wp-block-button__link:hover { background-color: var(--wp--preset--color--mist) !important; }
}

/* ---------- Links: animated underline ---------- */
:where(main, .site-footer) :where(p, li) a:not(.wp-element-button) {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .3s ease, color .2s ease;
	padding-bottom: 1px;
}
:where(main, .site-footer) :where(p, li) a:not(.wp-element-button):hover { background-size: 0 1px; background-position: 100% 100%; }
.site-footer :where(p, li) a:not(.wp-element-button), .card-link a, .area-card a, .service-tile a, .maint-row a, .contact-row a {
	background-size: 0 1px;
}
.site-footer :where(p, li) a:not(.wp-element-button):hover, .card-link a:hover, .contact-row a:hover { background-size: 100% 1px; background-position: 0 100%; }
.site-footer .footer-links a { display: inline-block; transition: transform .2s ease, color .2s ease, background-size .3s ease; }
.site-footer .footer-links a:hover { transform: translateX(4px); color: #fff; }
.card-link a::after { display: inline-block; transition: transform .25s ease; }
.card-link a:hover::after, .is-link-card:hover .card-link a::after { transform: translateX(4px); }
.breadcrumbs a, .wp-block-breadcrumbs a { transition: color .2s ease; }
.site-topbar a:hover { color: var(--wp--preset--color--aqua); }
.site-header .wp-block-site-logo a { display: inline-block; transition: transform .25s ease; }
.site-header .wp-block-site-logo a:hover { transform: scale(1.03); }
.icon-badge svg { transition: transform .3s ease; }
.is-style-card:hover .icon-badge svg, .maint-row:hover .icon-badge svg, .contact-row:hover .icon-badge svg { transform: scale(1.08) rotate(-6deg); }

/* ---------- Pointer effects (JS adds .pointer-glow + CSS vars) ---------- */
/* Glow is a fixed-size circle moved with transform only – it is painted once and
   never re-rasterised, which avoids GPU tile seams while the pointer moves. */
.pointer-glow {
	position: absolute; left: 0; top: 0; width: 1100px; height: 1100px; z-index: 1;
	pointer-events: none; opacity: 0; border-radius: 50%;
	background: radial-gradient(circle closest-side, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0.08) 45%, transparent);
	transform: translate3d(calc(var(--gx, 50vw) - 550px), calc(var(--gy, 300px) - 550px), 0);
	will-change: transform, opacity;
	transition: opacity .5s ease;
}
.has-glow { position: relative; overflow: hidden; }
.has-glow:hover > .pointer-glow { opacity: 1; }
.has-glow:not(.wp-block-cover) > :not(.pointer-glow) { position: relative; z-index: 2; }
/* Banner waves drift (a separate composited layer, so moving it is cheap) */
.page-hero.has-glow::after { translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -10px); transition: translate .2s linear; }
/* Hero layers move at different depths */
.home-hero .hero-main { translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 6px); }
.home-hero .hero-inset { translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -10px); }
.home-hero .hero-badge { translate: calc(var(--px, 0) * 20px) calc(var(--py, 0) * 14px); }
.home-hero::before { translate: calc(var(--px, 0) * -30px) calc(var(--py, 0) * -20px); }
/* Card spotlight */
.is-link-card::before, .service-tile::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
	background: radial-gradient(320px circle at var(--cx, 50%) var(--cy, 50%), rgba(45, 212, 191, 0.12), transparent 60%);
	transition: opacity .3s ease;
}
.is-link-card { position: relative; }
.is-link-card:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.pointer-glow, .is-link-card::before { display: none; }
	.home-hero .hero-main, .home-hero .hero-inset, .home-hero .hero-badge, .home-hero::before, .page-hero::after { translate: none !important; }
	.wp-block-button__link::after { display: none; }
}
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 1.5rem; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: clamp(1.35rem, 4.5vw, 1.75rem); font-weight: 700; color: var(--wp--preset--color--navy); letter-spacing: -0.01em; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.1rem; }

/* ---------- Touch targets (≥ 44px) ---------- */
.site-header .wp-block-navigation__responsive-container-open,
.site-header .wp-block-navigation__responsive-container-close {
	width: 44px; height: 44px; align-items: center; justify-content: center;
	border-radius: 12px; transition: background-color .2s ease;
}
.site-header .wp-block-navigation__responsive-container-open:hover,
.site-header .wp-block-navigation__responsive-container-close:hover { background: var(--wp--preset--color--mist); }
.site-header .wp-block-navigation__responsive-container-open svg,
.site-header .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.site-header .wp-block-site-logo a { min-height: 44px; display: inline-flex; align-items: center; }
.header-actions .header-quote .wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; }
.maint-row { position: relative; }
.maint-row h3 a::after { content: ""; position: absolute; inset: 0; }
.is-link-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.trust-title { margin: 0; line-height: 1.35; }
.is-style-card h3 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.is-style-card:hover h3 a { color: var(--wp--preset--color--teal); }
.page-hero.has-glow::after, .home-hero .hero-main, .home-hero .hero-inset, .home-hero .hero-badge, .home-hero::before { will-change: translate; }
.header-actions .header-quote .wp-block-button__link { white-space: nowrap; }


/* =====================================================================
   v1.3 – light-section accents (all static: no repaint while scrolling)
   ===================================================================== */

/* Mist sections: dot grid top-right, wave motif + soft aqua glow bottom-left */
.is-style-section-mist {
	background-image:
		url("../img/wave-motif.svg"),
		radial-gradient(circle at 0% 100%, rgba(45, 212, 191, 0.14), transparent 38%),
		radial-gradient(circle at 100% 0%, transparent 0, var(--wp--preset--color--mist) 380px),
		url("../img/dots.svg");
	background-position: left max(1.5rem, 4%) bottom 2.5rem, 0 0, 0 0, 0 0;
	background-size: 240px auto, auto, auto, auto;
	background-repeat: no-repeat, no-repeat, no-repeat, repeat;
}
/* Mist columns/cards inside other sections stay plain */
.wp-block-column.is-style-section-mist, .wp-block-columns.is-style-section-mist { background-image: none; }

/* White sections: faint water-ripple rings, alternating corners */
:where(.wp-block-post-content, .is-root-container) > section.wp-block-group:not([class*="is-style-section"]):not(.cta-strip):not(.trust-bar) {
	background-image: url("../img/ripple.svg");
	background-repeat: no-repeat;
	background-size: 560px;
	background-position: right -260px top -240px;
}
:where(.wp-block-post-content, .is-root-container) > section.wp-block-group:not([class*="is-style-section"]):not(.cta-strip):not(.trust-bar):nth-child(even) {
	background-position: left -280px bottom -260px;
}
/* "What we do" keeps its dot grid and gains a ripple in the opposite corner */
.bg-dots {
	background-image:
		url("../img/ripple.svg"),
		radial-gradient(circle at 100% 0%, transparent 0, #fff 380px),
		url("../img/dots.svg") !important;
	background-position: left -280px bottom -260px, 0 0, 0 0 !important;
	background-size: 560px, auto, auto !important;
	background-repeat: no-repeat, no-repeat, repeat !important;
}

/* Section labels: a small wave squiggle before the text (uses the label's colour) */
.eyebrow::before {
	content: ""; display: inline-block; width: 26px; height: 8px; margin-right: 0.6rem; vertical-align: 0.1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M1 4c3-3 5-3 8 0s5 3 8 0 5-3 8 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%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 26 8'%3E%3Cpath d='M1 4c3-3 5-3 8 0s5 3 8 0 5-3 8 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.has-text-align-center .eyebrow::after, .section-intro.has-text-align-center .eyebrow::after {
	content: ""; display: inline-block; width: 26px; height: 8px; margin-left: 0.6rem; vertical-align: 0.1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 8'%3E%3Cpath d='M1 4c3-3 5-3 8 0s5 3 8 0 5-3 8 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%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 26 8'%3E%3Cpath d='M1 4c3-3 5-3 8 0s5 3 8 0 5-3 8 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Aqua call-to-action strip: see "v3.1 – call-to-action cards" */

/* Link cards: a small ripple blooms in the corner on hover */
.is-link-card {
	background-image: url("../img/ripple.svg");
	background-repeat: no-repeat;
	background-position: right -70px top -70px;
	background-size: 120px;
	transition: transform .2s ease, box-shadow .2s ease, background-size .45s ease, border-color .2s ease;
}
.is-link-card:hover { background-size: 220px; }

@media (max-width: 781px) {
	:where(.wp-block-post-content, .is-root-container) > section.wp-block-group:not([class*="is-style-section"]):not(.cta-strip):not(.trust-bar) { background-size: 340px; background-position: right -170px top -150px; }
	:where(.wp-block-post-content, .is-root-container) > section.wp-block-group:not([class*="is-style-section"]):not(.cta-strip):not(.trust-bar):nth-child(even) { background-position: left -170px bottom -150px; }
	.bg-dots { background-size: 340px, auto, auto !important; background-position: left -170px bottom -150px, 0 0, 0 0 !important; }
	.is-style-section-mist { background-size: 170px auto, auto, auto, auto; background-position: left 1rem bottom 1.25rem, 0 0, 0 0, 0 0; }
}
@media (max-width: 781px) {
	/* Keep the wave motif clear of left-aligned buttons on phones */
	.is-style-section-mist { background-size: 120px auto, auto, auto, auto; background-position: right 1rem bottom 1rem, 0 0, 0 0, 0 0; }
}

/* ---------- "Other areas we serve" photo tiles ---------- */
.area-tile { overflow: hidden; box-shadow: var(--wp--preset--shadow--soft); transition: transform .3s ease, box-shadow .3s ease; }
.area-tile .wp-block-cover__image-background { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.area-tile .wp-block-cover__inner-container { width: 100%; color: #fff; }
.area-tile h3 { margin: 0; }
.area-tile h3 a { color: #fff; text-decoration: none; }
.area-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.area-tile p { margin: 0.25rem 0 0; }
.area-tile .area-tile__suburbs { color: #C9D8E6; }
.area-tile .area-tile__cta {
	display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem;
	padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 700;
	background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.area-tile .area-tile__cta::after { content: "→"; transition: transform .25s ease; }
.area-tile:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--lifted); }
.area-tile:hover .wp-block-cover__image-background { transform: scale(1.07); }
.area-tile:hover .area-tile__cta { background: var(--wp--preset--color--aqua); border-color: var(--wp--preset--color--aqua); color: var(--wp--preset--color--navy); }
.area-tile:hover .area-tile__cta::after { transform: translateX(3px); }
.area-tile:focus-within { outline: 3px solid var(--wp--preset--color--aqua); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .area-tile, .area-tile .wp-block-cover__image-background { transition: none; } }
@media (max-width: 600px) { .area-tile { min-height: 220px !important; } }


/* =====================================================================
   v2.0 – Your Plumbing Mate brand: lockup, gold accents
   ===================================================================== */
.brand-lockup { gap: 0.7rem; }
.brand-wordmark p { margin: 0; line-height: 1; }
.brand-wordmark a { color: inherit; text-decoration: none; background: none !important; }
.brand-your { font-size: 0.62rem !important; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--wp--preset--color--teal); margin-bottom: 0.2rem !important; }
.brand-name { font-size: 1.55rem !important; font-weight: 800; letter-spacing: -0.025em; color: var(--wp--preset--color--navy); white-space: nowrap; }
.brand-name em { font-family: var(--wp--preset--font-family--accent); font-style: italic; font-weight: 400; font-size: 1.16em; color: var(--wp--preset--color--teal); letter-spacing: 0; }
.brand-wordmark.is-dark .brand-your { color: var(--wp--preset--color--gold); }
.brand-wordmark.is-dark .brand-name { color: #fff; font-size: 1.75rem !important; }
.brand-wordmark.is-dark .brand-name em { color: var(--wp--preset--color--aqua); }
.brand-tagline { margin-top: 0.45rem !important; font-size: 0.85rem !important; font-weight: 600; color: #9FB3C8; letter-spacing: 0.02em; }
.site-header .brand-lockup .wp-block-site-logo img { width: 54px !important; height: auto; }
.site-header .brand-lockup:hover .wp-block-site-logo img { transform: rotate(-4deg) scale(1.04); }
.site-header .brand-lockup .wp-block-site-logo img { transition: transform .3s ease; }
@media (max-width: 1250px) and (min-width: 1200px) { .brand-name { font-size: 1.3rem !important; } .site-header .wp-block-navigation { gap: 1.25rem !important; } }
@media (max-width: 480px) { .site-header .brand-wordmark { display: none; } }
@media (max-width: 781px) { .brand-name { font-size: 1.3rem !important; } .site-header .brand-lockup .wp-block-site-logo img { width: 46px !important; } }

/* Kōwhai gold – the sun from the logo, used sparingly for warmth */
:where(.is-style-section-navy, .site-footer) .eyebrow { color: var(--wp--preset--color--gold); }
.area-card .wp-block-icon { color: var(--wp--preset--color--gold); }
.area-card .wp-block-icon svg { fill: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--gold) !important; }
.site-footer .wp-block-heading { color: #fff; }
.site-footer .wp-block-heading::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 0.6rem; border-radius: 3px; background: var(--wp--preset--color--gold); }
.hero-badge .icon-badge svg { background: var(--wp--preset--color--gold) !important; }
ul.checklist.is-inline li::before { background-color: var(--wp--preset--color--gold); }

/* ---------- Hero readability: calm the ribbon behind the text column ---------- */
.home-hero.is-style-section-navy:not(.site-footer):not(.service-tile-cta) {
	background-image:
		radial-gradient(ellipse 38% 45% at 88% 6%, rgba(245, 184, 46, 0.12), transparent 70%),
		radial-gradient(ellipse 50% 60% at 0% 100%, rgba(45, 212, 191, 0.16), transparent 70%),
		url("../img/ribbon.svg?v=3"),
		var(--wp--preset--gradient--ocean);
	background-size: auto, auto, cover, auto;
}
@media (max-width: 781px) {
	.home-hero.is-style-section-navy:not(.site-footer):not(.service-tile-cta) { background-image: linear-gradient(rgba(6, 26, 46, 0.35), rgba(6, 26, 46, 0.35)), url("../img/ribbon.svg?v=3"), var(--wp--preset--gradient--ocean); background-size: auto, cover, auto; }
}
/* Hero trust points as solid chips */
.home-hero ul.checklist.is-inline { gap: 0.6rem; }
.home-hero ul.checklist.is-inline li {
	padding: 0.5rem 0.9rem 0.5rem 2.3rem;
	border-radius: 999px;
	background: rgba(6, 26, 46, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff; font-weight: 600;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.home-hero ul.checklist.is-inline li::before { left: 0.8rem; top: 50%; transform: translateY(-50%); }
/* One underline only: the animated one (no native text-decoration on hover) */
:where(main, .site-footer, .site-header) a:not(.wp-element-button):hover { text-decoration: none; }


/* =====================================================================
   v2.3 – "Areas we serve" band: light section with map-contour texture
   ===================================================================== */
.areas-band.is-style-section-mist {
	background-color: var(--wp--preset--color--mist);
	background-image:
		radial-gradient(ellipse 45% 60% at 100% 50%, rgba(45, 212, 191, 0.18), transparent 70%),
		url("../img/art-contours-light.svg");
	background-size: auto, cover;
	background-position: center, right center;
	background-repeat: no-repeat;
}
.areas-band .area-card {
	background: #fff; border: 1px solid var(--wp--preset--color--line);
	box-shadow: var(--wp--preset--shadow--soft);
}
.areas-band .area-card .area-card__name a { color: var(--wp--preset--color--navy); }
.areas-band .area-card .area-card__meta { color: var(--wp--preset--color--slate); }
.areas-band .area-card .wp-block-icon svg { fill: var(--wp--preset--color--teal) !important; color: var(--wp--preset--color--teal) !important; }
.areas-band .area-card:hover { background: #fff; border-color: var(--wp--preset--color--aqua); box-shadow: var(--wp--preset--shadow--lifted); }
.areas-band .area-card:hover .area-card__name a { color: var(--wp--preset--color--teal); }
.areas-band .hero-image img { border: 6px solid #fff; }
.footer-legal { column-gap: 1.75rem; row-gap: 0.4rem; }
.footer-legal p { margin: 0; }
@media (max-width: 781px) { .brand-your { font-size: 0.72rem !important; } }
/* Make the whole photo tile clickable (link overlay spans the Cover, not just its text) */
.area-tile .wp-block-cover__inner-container { position: static; }
.area-tile h3 a::after { z-index: 5; }
@media (max-width: 781px) { .brand-your { font-size: 0.76rem !important; } }

/* =====================================================================
   v2.4 – mobile header, compact mobile hero, WhatsApp button
   ===================================================================== */

/* ---------- Mobile header: full logo left, menu button far right, no quote button ---------- */
@media (max-width: 1199px) {
	.site-header .header-actions { display: none !important; }
	.site-header .brand-lockup + .wp-block-group { margin-left: auto; }
}
@media (max-width: 480px) { .site-header .brand-wordmark { display: flex !important; } }
@media (max-width: 781px) {
	.site-header { padding-top: 0.6rem !important; padding-bottom: 0.6rem !important; }
	.site-header .brand-lockup .wp-block-site-logo img { width: 44px !important; }
	.site-header .brand-name { font-size: 1.28rem !important; }
	.site-header .brand-your { font-size: 0.76rem !important; }
	.site-header .wp-block-navigation__responsive-container-open { margin-right: -8px; }
}
/* Menu overlay: always scrollable, above everything */
.site-header .wp-block-navigation__responsive-container.is-menu-open { overflow-y: auto; z-index: 100000; }

/* ---------- Compact hero on phones ---------- */
@media (max-width: 781px) {
	.home-hero { padding-top: 2.25rem !important; padding-bottom: 2.5rem !important; }
	.home-hero h1 { font-size: 2rem !important; line-height: 1.12; }
	.home-hero h1 em { font-size: 1.1em; }
	.home-hero .wp-block-column:first-child > p.has-large-font-size { font-size: 1.1rem !important; line-height: 1.45; margin-top: 0.9rem; }
	.home-hero .wp-block-column:first-child > p.has-medium-font-size { font-size: 0.98rem !important; line-height: 1.55; }
	.home-hero .wp-block-buttons { gap: 0.6rem; }
	.home-hero .wp-block-button__link { padding: 0.75rem 1.2rem; font-size: 0.95rem; }
	.home-hero ul.checklist.is-inline { margin-top: 1.25rem !important; }
	.home-hero ul.checklist.is-inline li { font-size: 0.82rem; padding: 0.4rem 0.8rem 0.4rem 2.1rem; }
	.page-hero { min-height: 0 !important; padding-top: 2.25rem !important; padding-bottom: 2.5rem !important; }
	.page-hero h1 { font-size: 1.85rem !important; line-height: 1.15; }
	.page-hero .has-medium-font-size { font-size: 0.98rem !important; line-height: 1.55; }
	.page-hero .wp-block-button__link { padding: 0.75rem 1.2rem; font-size: 0.95rem; }
}

/* ---------- Old sticky call bar is gone ---------- */
@media (max-width: 781px) { body { padding-bottom: 0 !important; } }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	display: inline-flex; align-items: center; gap: 0.6rem;
	height: 58px; padding: 0 14px; border-radius: 999px;
	background: #25D366; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
	box-shadow: 0 10px 28px rgba(6, 26, 46, 0.28), 0 2px 6px rgba(6, 26, 46, 0.16);
	transition: transform .2s ease, box-shadow .2s ease, padding .25s ease;
}
.wa-float svg { flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; }
.wa-float:hover, .wa-float:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(6, 26, 46, 0.34); padding-right: 20px; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 140px; }
.wa-float:focus-visible { outline: 3px solid var(--wp--preset--color--navy); outline-offset: 3px; }
.wa-float::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; background: #25D366; z-index: -1;
	animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@media (max-width: 781px) { .wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); height: 54px; padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
html.has-modal-open .wa-float, body.has-modal-open .wa-float { display: none; }

/* ---------- "Areas we serve" band: no background graphic on phones ---------- */
@media (max-width: 781px) {
	.areas-band.is-style-section-mist { background-image: none; }
}

/* =====================================================================
   v3.0 – services structure + client home layout
   ===================================================================== */

/* ---------- Hero quote card (form in the home hero) ---------- */
.hero-quote { color: var(--wp--preset--color--slate); }
.hero-quote :where(h1, h2, h3) { color: var(--wp--preset--color--navy); margin-top: 0; }
.hero-quote :where(h1, h2, h3) em { color: var(--wp--preset--color--teal) !important; }
.hero-quote > p { margin-top: 0.3rem; }
.hero-quote .fluentform .ff-el-group { margin-bottom: 0.8rem; }
.hero-quote .fluentform textarea.ff-el-form-control { min-height: 84px; }
.home-hero .hero-quote { box-shadow: var(--wp--preset--shadow--lifted); }

/* ---------- Category cards (home + area pages) ---------- */
.cat-card .cat-card__head h3 { margin: 0; }
.cat-card .cat-card__head h3 a { color: var(--wp--preset--color--navy); text-decoration: none; background: none; }
.cat-card .cat-card__head h3 a:hover { color: var(--wp--preset--color--teal); }
ul.service-links { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
ul.service-links li { border-top: 1px solid var(--wp--preset--color--line); }
ul.service-links li a {
	display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
	padding: 0.6rem 0.1rem; color: var(--wp--preset--color--navy); font-weight: 600; font-size: 0.95rem;
	text-decoration: none; background: none !important; transition: color .2s ease, padding .2s ease;
}
ul.service-links li a::after { content: "→"; color: var(--wp--preset--color--teal); transition: transform .2s ease; }
ul.service-links li a:hover { color: var(--wp--preset--color--teal); padding-left: 0.35rem; }
ul.service-links li a:hover::after { transform: translateX(3px); }
.cat-card { display: flex; flex-direction: column; }
.cat-card > .card-link { margin-top: auto; }

/* ---------- Service grid cards (Query Loop) ---------- */
/* gap comes from the block layout (overriding it breaks the core column maths) */
.service-grid .wp-block-post-template > li { display: flex; }
.service-grid .wp-block-post-template > li[hidden] { display: none; }
.service-card { width: 100%; display: flex; flex-direction: column; }
.is-style-card > .wp-block-post-featured-image:first-child {
	margin: calc(-1 * var(--wp--preset--spacing--40)) calc(-1 * var(--wp--preset--spacing--40)) var(--wp--preset--spacing--30);
	overflow: hidden; border-radius: var(--wp--custom--radius--medium) var(--wp--custom--radius--medium) 0 0;
}
.is-style-card > .wp-block-post-featured-image img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.service-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.service-card .wp-block-post-title { margin: 0 0 0.4rem; }
.service-card .wp-block-post-title a { color: var(--wp--preset--color--navy); text-decoration: none; background: none !important; }
.service-card:hover .wp-block-post-title a { color: var(--wp--preset--color--teal); }
.service-card .wp-block-post-excerpt { margin-top: 0; display: flex; flex-direction: column; flex: 1; }
.service-card .wp-block-post-excerpt__excerpt { margin: 0 0 0.9rem; }
.service-card .wp-block-post-excerpt__more-text { margin-top: auto !important; margin-bottom: 0; }
.service-card .wp-block-post-excerpt__more-link { font-weight: 700; color: var(--wp--preset--color--teal); text-decoration: none; background: none !important; }
.service-card .wp-block-post-excerpt__more-link::after { content: " →"; display: inline-block; transition: transform .25s ease; }
.service-card:hover .wp-block-post-excerpt__more-link::after { transform: translateX(4px); }
.service-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }

/* ---------- Filter chips (category pages: links; all services: instant buttons) ---------- */
.filter-chips { gap: 0.5rem !important; margin-bottom: var(--wp--preset--spacing--50) !important; }
.filter-chips .wp-block-button__link, .service-filter button {
	padding: 0.55rem 1.1rem; font-size: 0.92rem; font-weight: 700; border-radius: 999px;
	background: #fff; color: var(--wp--preset--color--navy); border: 1.5px solid var(--wp--preset--color--line);
	box-shadow: none; transform: none;
}
.filter-chips .wp-block-button__link:hover, .service-filter button:hover { border-color: var(--wp--preset--color--aqua); background: var(--wp--preset--color--mist); color: var(--wp--preset--color--navy); transform: none; box-shadow: none; }
.filter-chips .is-active .wp-block-button__link {
	background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); color: #fff;
}
.filter-chips .wp-block-button__link::after { display: none; }
.service-filter button { cursor: pointer; font-family: inherit; line-height: 1.2; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.service-filter { margin-bottom: 0.5rem !important; }
.service-filter__status { color: var(--wp--preset--color--slate); margin: 0 0 var(--wp--preset--spacing--40) !important; min-height: 1.4em; }

/* ---------- Reason rows (why choose us / benefits) ---------- */
.reason-row p { margin: 0; }
.reason-row .reason-title { line-height: 1.35; }

/* ---------- Service page: sticky sidebar ---------- */
@media (min-width: 782px) {
	.service-main .wp-block-columns { align-items: flex-start !important; }
	.service-side-col { position: sticky; top: 110px; }
}
.service-side h2 { margin-bottom: 0.4rem; }
.side-actions { gap: 0.6rem !important; }
.side-actions .wp-block-button, .side-actions .wp-block-button__link { width: 100%; text-align: center; }
.side-hours { margin-top: 0.9rem !important; color: var(--wp--preset--color--slate); }
.service-main .checklist { margin-top: 1rem; }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; gap: 0.8rem; }
.testimonial .testimonial__text { font-size: 1.02rem; line-height: 1.6; color: var(--wp--preset--color--navy); font-style: italic; }
.testimonial .testimonial__who { margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--wp--preset--color--line); }
.testimonial .testimonial__who p { margin: 0; }

/* ---------- Local trust ---------- */
.trust-media { position: relative; }
.trust-media .trust-badge {
	position: absolute; left: -1rem; bottom: 1.5rem; z-index: 2;
	padding: 0.8rem 1.1rem 0.8rem 0.8rem; border-radius: 16px; box-shadow: 0 16px 40px rgba(6, 26, 46, 0.2);
}
.trust-badge p { margin: 0; line-height: 1.3; }
.placeholder-note { color: var(--wp--preset--color--teal); font-style: italic; }
@media (max-width: 781px) { .trust-media .trust-badge { position: relative; left: 0; bottom: 0; margin-top: -1.5rem; margin-left: 1rem; width: fit-content; } }

/* ---------- Final CTA ---------- */

.final-cta .eyebrow { color: var(--wp--preset--color--navy); justify-content: center; }
.final-cta h2 { color: var(--wp--preset--color--navy); }
.final-cta p { color: var(--wp--preset--color--navy); }
.final-cta .wp-block-buttons { gap: 0.7rem; }
.btn-whatsapp .wp-block-button__link::before {
	content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.45em; vertical-align: -0.15em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.04 3C9.4 3 4 8.34 4 14.93c0 2.1.56 4.16 1.62 5.97L4 29l8.33-2.16a12.1 12.1 0 0 0 3.7.58C22.65 27.42 28 22.08 28 15.49 28 8.9 22.65 3 16.04 3Zm5.5 14.75c-.3-.15-1.78-.87-2.05-.97-.28-.1-.48-.15-.68.15-.2.3-.78.97-.95 1.17-.18.2-.35.22-.65.07-.3-.15-1.27-.46-2.42-1.48a9 9 0 0 1-1.67-2.07c-.18-.3-.02-.46.13-.61.14-.13.3-.35.45-.52.15-.18.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.68-1.63-.93-2.23-.25-.58-.5-.5-.68-.51h-.58c-.2 0-.52.07-.8.37-.27.3-1.05 1.02-1.05 2.5 0 1.47 1.08 2.9 1.23 3.1.15.2 2.12 3.22 5.14 4.51.72.31 1.28.5 1.72.64.72.23 1.38.2 1.9.12.58-.09 1.78-.72 2.03-1.42.25-.7.25-1.3.18-1.42-.08-.13-.28-.2-.58-.35Z'/%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 32 32'%3E%3Cpath d='M16.04 3C9.4 3 4 8.34 4 14.93c0 2.1.56 4.16 1.62 5.97L4 29l8.33-2.16a12.1 12.1 0 0 0 3.7.58C22.65 27.42 28 22.08 28 15.49 28 8.9 22.65 3 16.04 3Zm5.5 14.75c-.3-.15-1.78-.87-2.05-.97-.28-.1-.48-.15-.68.15-.2.3-.78.97-.95 1.17-.18.2-.35.22-.65.07-.3-.15-1.27-.46-2.42-1.48a9 9 0 0 1-1.67-2.07c-.18-.3-.02-.46.13-.61.14-.13.3-.35.45-.52.15-.18.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.68-1.63-.93-2.23-.25-.58-.5-.5-.68-.51h-.58c-.2 0-.52.07-.8.37-.27.3-1.05 1.02-1.05 2.5 0 1.47 1.08 2.9 1.23 3.1.15.2 2.12 3.22 5.14 4.51.72.31 1.28.5 1.72.64.72.23 1.38.2 1.9.12.58-.09 1.78-.72 2.03-1.42.25-.7.25-1.3.18-1.42-.08-.13-.28-.2-.58-.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Footer columns ---------- */
.site-footer .wp-block-heading a { color: #fff; background: none !important; }
.site-footer .wp-block-heading a:hover { color: var(--wp--preset--color--aqua); }
.footer-col-stack .wp-block-heading:not(:first-child) { margin-top: var(--wp--preset--spacing--40); }

/* ---------- Dropdown icons: services get a tick, areas keep the pin ---------- */
@media (min-width: 1200px) {
	.site-header .menu-services .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath fill='%230B7A72' d='m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z'/%3E%3C/svg%3E");
	}
	.site-header .menu-services .wp-block-navigation__submenu-container { min-width: 300px !important; }
	.site-header .wp-block-navigation { gap: 1.4rem; }
}
@media (min-width: 1200px) and (max-width: 1320px) {
	.site-header .wp-block-navigation { font-size: 0.92rem; }
	.site-header .wp-block-navigation .wp-block-navigation__container { gap: 1.05rem !important; }
	.site-header .brand-name { font-size: 1.3rem !important; }
}
/* Service grids: max 3 columns, 1px slack so rounding never drops a column */
.service-grid .wp-block-post-template.is-layout-grid {
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: repeat(auto-fill, minmax(max(min(17rem, 100%), calc((100% - 2 * var(--wp--preset--spacing--40)) / 3 - 1px)), 1fr)) !important;
}
.service-filter__status { text-align: center; }
/* Dropdowns open from the item's left edge (core right-aligns them on a right-justified menu) */
@media (min-width: 1200px) {
	.site-header .wp-block-navigation .has-child > .wp-block-navigation__submenu-container { left: -0.75rem !important; right: auto !important; }
	.site-header .menu-services .wp-block-navigation__submenu-container { min-width: 320px !important; }
	.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { white-space: normal; line-height: 1.3; }
}
@media (max-width: 600px) { ul.columns-2 { columns: 1; } }
.site-footer .wp-block-heading a { display: inline-block; padding: 0.7rem 0; margin: -0.7rem 0; }

/* =====================================================================
   v3.1 – call-to-action cards above the footer (home final CTA + strip)
   ===================================================================== */
.final-cta,
.cta-strip .has-aqua-background-color {
	position: relative; overflow: hidden; isolation: isolate;
	background-color: #2DD4BF !important;
	background-image:
		url("../img/cta-mark.svg?v=3"),
		url("../img/cta-lines.svg"),
		radial-gradient(ellipse 55% 85% at 0% 0%, rgba(255, 255, 255, 0.55), transparent 62%),
		radial-gradient(ellipse 50% 80% at 100% 100%, rgba(11, 122, 114, 0.42), transparent 65%),
		linear-gradient(118deg, #7EEEDC 0%, #2DD4BF 45%, #16B0A4 100%) !important;
	background-repeat: no-repeat !important;
	background-size: 340px auto, cover, auto, auto, auto !important;
	background-position: right -70px bottom -90px, center bottom, center, center, center !important;
	box-shadow: 0 34px 70px -28px rgba(11, 122, 114, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
/* Watermark opacity comes from the stroke; keep it subtle */
.final-cta::after,
.cta-strip .has-aqua-background-color::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.cta-strip .has-aqua-background-color { background-size: 230px auto, cover, auto, auto, auto !important; background-position: left -80px bottom -95px, center bottom, center, center, center !important; }
.final-cta h2, .cta-strip h2 { letter-spacing: -0.025em; }
.final-cta .wp-block-button__link, .cta-strip .wp-block-button__link { box-shadow: 0 8px 20px -8px rgba(6, 26, 46, 0.35); }
/* No ripple rings behind the CTA sections */
:where(.wp-block-post-content, .is-root-container) > section.final-cta-section,
:where(.wp-block-post-content, .is-root-container) > section.cta-strip { background-image: none !important; }
@media (max-width: 781px) {
	.final-cta, .cta-strip .has-aqua-background-color { background-size: 220px auto, cover, auto, auto, auto !important; background-position: right -60px bottom -70px, center bottom, center, center, center !important; }
}

/* ---------- Footer: 4 columns, smaller contact icons ---------- */
.site-footer .footer-contact .icon-badge svg { width: 18px !important; padding: 9px !important; border-radius: 10px !important; }
.site-footer .footer-contact .contact-row { gap: 0.75rem !important; }
.site-footer .footer-contact .contact-row p { font-size: 0.95rem; font-weight: 600; }
.site-footer .footer-links a { font-size: 0.95rem; }
.cat-card .cat-card__head h3 a { display: inline-block; padding: 0.65rem 0; margin: -0.65rem 0; }

/* =====================================================================
   v3.2 – compact hero quote form so the whole banner fits on screen
   ===================================================================== */
.hero-quote { padding: 1.6rem 1.75rem 1.4rem !important; }
.hero-quote > h2 { font-size: 1.45rem !important; margin-bottom: 0; }
.hero-quote > p { margin: 0.25rem 0 0.9rem !important; }
.hero-quote form fieldset { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.85rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.hero-quote form fieldset > legend,
.hero-quote form fieldset > .ff-el-group:has(textarea),
.hero-quote form fieldset > .ff_submit_btn_wrapper { grid-column: 1 / -1; }
.hero-quote .fluentform .ff-el-group { margin-bottom: 0.65rem; }
.hero-quote .fluentform .ff-el-input--label { margin-bottom: 0.2rem; }
.hero-quote .fluentform .ff-el-input--label label { font-size: 0.85rem; }
.hero-quote .fluentform .ff-el-form-control { padding: 0.6rem 0.8rem !important; font-size: 0.95rem !important; }
.hero-quote .fluentform textarea.ff-el-form-control { min-height: 0; height: 68px; resize: vertical; }
.hero-quote .fluentform .ff-btn-submit { padding: 0.8rem 1.5rem !important; margin-top: 0.2rem; }
.hero-quote .fluentform .ff_submit_btn_wrapper { margin-bottom: 0; }
@media (min-width: 782px) {
	.home-hero { padding-top: clamp(2.5rem, 5vh, 4rem) !important; padding-bottom: clamp(2.5rem, 5vh, 4rem) !important; }
	.home-hero h1 { font-size: clamp(2.3rem, 3.2vw, 3.1rem) !important; }
	.home-hero .wp-block-column:first-child > p.has-large-font-size { font-size: 1.3rem !important; }
}
@media (max-width: 600px) { .hero-quote form fieldset { grid-template-columns: 1fr; } }
/* Service Areas page */
.area-region .wp-block-media-text__media img { aspect-ratio: 4 / 3.4; }
.area-region .checklist { margin-top: 0.6rem; }
@media (min-width: 782px) { .area-region .wp-block-media-text__media { position: sticky; top: 110px; align-self: start; } }
/* Area tiles: text above the photo overlay while the link still covers the whole tile.
   Flex items can take z-index without becoming the link's containing block. */
.area-tile .wp-block-cover__inner-container { display: flex; flex-direction: column; align-items: flex-start; }
.area-tile .wp-block-cover__inner-container > * { z-index: 2; }
.area-tile .wp-block-cover__inner-container > h3 { z-index: 4; }
.filter-chips .wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; }

/* =====================================================================
   v3.4 – roomier hero: centred form heading, taller message box,
   trust points stacked in one vertical line
   ===================================================================== */
@media (min-width: 782px) {
	.home-hero { padding-top: clamp(3.5rem, 8vh, 5.5rem) !important; padding-bottom: clamp(3.5rem, 8vh, 5.5rem) !important; }
	.home-hero h1 { font-size: clamp(2.5rem, 3.4vw, 3.4rem) !important; }
	.home-hero .home-hero-cols { gap: clamp(2.5rem, 5vw, 5rem) !important; }
}
.hero-quote { padding: 2.25rem 2.25rem 2rem !important; }
.hero-quote > h2, .hero-quote > p { text-align: center; }
.hero-quote > h2 { font-size: 1.6rem !important; }
.hero-quote > p { margin: 0.35rem 0 1.4rem !important; }
.hero-quote form fieldset { column-gap: 1rem; }
.hero-quote .fluentform .ff-el-group { margin-bottom: 0.95rem; }
.hero-quote .fluentform .ff-el-form-control { padding: 0.72rem 0.9rem !important; }
.hero-quote .fluentform textarea.ff-el-form-control { height: 120px; }
.hero-quote .fluentform .ff-btn-submit { padding: 0.95rem 1.5rem !important; margin-top: 0.35rem; }
/* Trust points: one straight row, equal height, aligned */
.home-hero ul.checklist.is-inline { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 0.6rem; }
.home-hero ul.checklist.is-inline li { white-space: nowrap; display: flex; align-items: center; min-height: 2.4rem; margin: 0; }
@media (max-width: 1280px) { .home-hero ul.checklist.is-inline li { font-size: 0.78rem; padding-left: 2rem; padding-right: 0.75rem; } }
@media (max-width: 781px) { .home-hero ul.checklist.is-inline { flex-wrap: wrap; } }
@media (min-width: 1200px) and (max-width: 1360px) { .site-header .header-quote .wp-block-button__link { padding-inline: 1.1rem; } }
.home-hero ul.checklist.is-inline { gap: 0.5rem; }
.home-hero ul.checklist.is-inline li { padding: 0.45rem 0.8rem 0.45rem 2.05rem; }
.home-hero ul.checklist.is-inline li::before { left: 0.7rem; }

/* ---------- WhatsApp button in brand colours (navy + aqua) ---------- */
.wa-float { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--aqua); border: 2px solid rgba(45, 212, 191, 0.55); }
.wa-float::before { background: var(--wp--preset--color--aqua); }
.wa-float:hover, .wa-float:focus-visible { background: var(--wp--preset--color--aqua); color: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--aqua); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 260px; }
.wa-float__label { font-weight: 700; }

/* =====================================================================
   v3.6 – smooth scroll (Lenis) + 3D scroll-in reveals
   ===================================================================== */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Reveal: rise + settle from a slight 3D tilt (reference: y 35px, .9s, ease .22,1,.36,1) */
.has-reveal .reveal {
	opacity: 0;
	transform: perspective(1200px) translate3d(0, 38px, 0) rotateX(9deg) scale(0.985);
	transform-origin: 50% 100%;
	transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}
.has-reveal .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
@media (max-width: 781px) {
	.has-reveal .reveal { transform: perspective(900px) translate3d(0, 28px, 0) rotateX(6deg); }
}
@media (prefers-reduced-motion: reduce) {
	.has-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =====================================================================
   v3.6 – testimonial slider (scroll-snap, arrows, dots)
   ===================================================================== */
.testimonial-slider {
	gap: var(--wp--preset--spacing--40) !important;
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; -ms-overflow-style: none;
	padding: 0.75rem 0.25rem 1.5rem !important; margin-top: -0.75rem;
	cursor: grab;
}
.testimonial-slider::-webkit-scrollbar { display: none; }
.testimonial-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.testimonial-slider:focus-visible { outline: 2px solid var(--wp--preset--color--aqua); outline-offset: 4px; border-radius: 16px; }
.testimonial-slider > .testimonial {
	flex: 0 0 calc((100% - 2 * var(--wp--preset--spacing--40)) / 3);
	scroll-snap-align: start; margin: 0 !important;
}
@media (max-width: 1024px) { .testimonial-slider > .testimonial { flex-basis: calc((100% - var(--wp--preset--spacing--40)) / 2); } }
@media (max-width: 640px) { .testimonial-slider > .testimonial { flex-basis: 86%; } }

.testimonial { transition: transform .3s ease, box-shadow .3s ease; }
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--lifted); }
.testimonial .testimonial__stars { margin: 0; color: var(--wp--preset--color--gold); letter-spacing: 0.15em; font-size: 1.05rem; }
.testimonial .testimonial__mark { opacity: .6; }
.testimonial .testimonial__text { font-style: normal !important; font-size: 1.02rem; }
.testimonial__avatar {
	flex: none; width: 44px; height: 44px; margin: 0 !important; border-radius: 50%;
	display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
	background: var(--wp--preset--color--navy); color: var(--wp--preset--color--aqua);
}

.slider-ui { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.5rem; }
.slider-ui[hidden] { display: none; }
.slider-btn {
	width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	background: #fff; color: var(--wp--preset--color--navy); border: 1.5px solid var(--wp--preset--color--line);
	box-shadow: var(--wp--preset--shadow--soft); transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.slider-btn:hover:not(:disabled) { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--aqua); border-color: var(--wp--preset--color--navy); }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider-dots { display: flex; gap: 0.25rem; }
.slider-dot { width: 26px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider-dot::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #B8C9D6; transition: width .3s ease, background .3s ease; }
.slider-dot[aria-selected="true"]::before { width: 24px; background: var(--wp--preset--color--teal); }

/* Admin-only reminder (hidden from visitors) */
.admin-only-note { display: none; }
body.logged-in .admin-only-note {
	display: block; max-width: 720px; margin: -1rem auto 1.5rem !important; padding: 0.6rem 1rem;
	text-align: center; border: 1px dashed var(--wp--preset--color--teal); border-radius: 10px;
	color: var(--wp--preset--color--teal); background: #fff;
}
.editor-styles-wrapper .admin-only-note { display: block; }

/* =====================================================================
   v3.7 – mobile menu: slide-in drawer from the right + accordion submenus
   ===================================================================== */
@media (max-width: 1199px) {
	.site-header .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed; top: 0; bottom: 0; left: auto !important; right: 0;
		width: min(380px, 88vw); height: 100%; max-height: 100dvh;
		padding: 1.25rem 1.5rem 2rem !important;
		background: #fff !important; color: var(--wp--preset--color--navy) !important;
		box-shadow: -24px 0 60px rgba(6, 26, 46, 0.28);
		border-radius: 20px 0 0 20px;
		animation: ypm-drawer-in .42s cubic-bezier(.22, 1, .36, 1) both !important;
		overflow-y: auto; overscroll-behavior: contain;
	}
	@keyframes ypm-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
	.ypm-nav-backdrop {
		position: fixed; inset: 0; z-index: 99999; background: rgba(6, 26, 46, 0.55);
		-webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
		opacity: 0; pointer-events: none; transition: opacity .35s ease;
	}
	html.ypm-drawer-open .ypm-nav-backdrop { opacity: 1; pointer-events: auto; }

	/* Drawer header: brand strip + close button */
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close { max-width: none; }
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { padding-top: 3.25rem; }
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 1rem !important; right: 1rem !important; background: var(--wp--preset--color--mist); }
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 0 !important; }

	/* Items: full-width rows with dividers */
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; }
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
		width: 100%; display: flex !important; flex-wrap: wrap; align-items: center !important;
		border-bottom: 1px solid var(--wp--preset--color--line);
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		flex: 1; padding: 0.95rem 0 !important; font-size: 1.12rem !important; font-weight: 700; color: var(--wp--preset--color--navy);
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }

	/* Arrow toggles */
	.ypm-sub-toggle {
		flex: none; width: 44px; height: 44px; margin-right: -0.4rem; border: 0; border-radius: 12px; cursor: pointer;
		display: grid; place-items: center; background: transparent; color: var(--wp--preset--color--teal);
		transition: background .2s ease, transform .3s ease;
	}
	.ypm-sub-toggle:hover { background: var(--wp--preset--color--mist); }
	.ypm-sub-toggle svg { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
	.ypm-sub-toggle[aria-expanded="true"] { background: var(--wp--preset--color--mist); }
	.ypm-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

	/* Collapsible service lists */
	.site-header .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container {
		flex-basis: 100%; display: grid !important; grid-template-rows: 0fr; overflow: hidden;
		padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0;
		transition: grid-template-rows .38s cubic-bezier(.22, 1, .36, 1), opacity .25s ease, padding .38s ease;
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container > * { min-height: 0; }
	.site-header .wp-block-navigation__responsive-container.is-menu-open .has-child.ypm-sub-open > .wp-block-navigation__submenu-container {
		grid-template-rows: 1fr; opacity: 1; padding: 0 0 0.75rem !important;
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding: 0.55rem 0.75rem !important; font-size: 0.98rem !important; font-weight: 600; color: var(--wp--preset--color--slate);
		border-left: 2px solid var(--wp--preset--color--line); margin-left: 0.2rem;
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container [aria-current="page"] {
		color: var(--wp--preset--color--teal); border-left-color: var(--wp--preset--color--aqua);
	}
	/* Core's own submenu icons are not needed in the drawer */
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none !important; }
	/* CTA at the bottom of the drawer */
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container::after {
		content: none;
	}
}
@media (min-width: 1200px) { .ypm-sub-toggle, .ypm-nav-backdrop { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
	.site-header .wp-block-navigation__responsive-container.is-menu-open { animation: none !important; }
}
@media (max-width: 1199px) {
	.site-header .wp-block-navigation__responsive-container.is-menu-open {
		left: auto !important; right: 0 !important; width: min(380px, 88vw) !important; max-width: 88vw !important; height: 100dvh !important; top: 0 !important;
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
		flex-direction: row !important; justify-content: space-between;
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; }
	.ypm-nav-backdrop { z-index: 99990; }
}
@media (max-width: 1199px) {
	.site-header .wp-block-navigation__responsive-container.is-menu-open { box-sizing: border-box; }
	/* Collapsed service lists take no space; open ones slide down */
	.site-header .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-container {
		display: none !important; grid-template-rows: none; opacity: 1; overflow: visible;
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .has-child.ypm-sub-open > .wp-block-navigation__submenu-container {
		display: flex !important; flex-direction: column; animation: ypm-sub-in .35s cubic-bezier(.22, 1, .36, 1) both;
	}
	@keyframes ypm-sub-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
.ypm-drawer-actions { display: none; }
@media (max-width: 1199px) {
	.is-menu-open .ypm-drawer-actions { display: flex; flex-direction: column; gap: 0.7rem; width: 100%; margin-top: 1.75rem; }
	.ypm-drawer-actions a {
		display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 50px; border-radius: 999px;
		font-weight: 700; text-decoration: none; background: none;
	}
	.ypm-drawer-quote { background: var(--wp--preset--color--aqua) !important; color: var(--wp--preset--color--navy) !important; }
	.ypm-drawer-call { border: 2px solid var(--wp--preset--color--navy); color: var(--wp--preset--color--navy) !important; }
}
img[src*="painter-on-ladder"], img[srcset*="painter-on-ladder"] { object-position: 50% 14% !important; }
@media (max-width: 781px) { .hero-quote .fluentform .ff-el-form-control { font-size: 16px !important; } }
.slider-dot { width: 40px; }
.slider-dots { gap: 0; }
.cat-card .cat-card__head h3 a { padding: 0.8rem 0; margin: -0.8rem 0; }
.slider-btn { flex: none; width: 48px; }

/* ---------- About: promise cards (navy) ---------- */
.promise-card {
	height: 100%; box-sizing: border-box; padding: var(--wp--preset--spacing--40);
	border-radius: var(--wp--custom--radius--medium);
	background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.promise-card:hover { transform: translateY(-4px); background: rgba(45, 212, 191, 0.1); border-color: rgba(45, 212, 191, 0.5); }
.promise-card p { margin-bottom: 0; color: #C9D8E6; }
.promise-card .promise__num { margin: 0; font-family: var(--wp--preset--font-family--accent); font-style: italic; font-size: 2.6rem !important; line-height: 1; color: var(--wp--preset--color--aqua); }
.about-promise .section-intro p { color: #C9D8E6; }

/* Hero trust chips never shrink or clip */
.home-hero ul.checklist.is-inline li { flex: none; overflow: visible; }

/* =====================================================================
   v3.10 – drawer polish: header row, compact rows & buttons
   ===================================================================== */
.ypm-drawer-brand { display: none; }
@media (max-width: 1199px) {
	.site-header .wp-block-navigation__responsive-container.is-menu-open { padding: 0 1.25rem 1.5rem !important; width: min(340px, 86vw) !important; }
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog { padding-top: 0 !important; margin-top: 0 !important; }
	.site-header .wp-block-navigation__responsive-container.is-menu-open .ypm-drawer-brand {
		display: flex; align-items: center; gap: 0.55rem; height: 64px; margin-bottom: 0.25rem;
		border-bottom: 1px solid var(--wp--preset--color--line); text-decoration: none; background: none;
		color: var(--wp--preset--color--navy); padding-right: 48px;
	}
	.ypm-drawer-brand img { width: 34px; height: auto; }
	.ypm-drawer-brand span { display: flex; flex-direction: column; line-height: 1; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--wp--preset--color--teal); }
	.ypm-drawer-brand b { font-size: 1.05rem; letter-spacing: -0.02em; text-transform: none; color: var(--wp--preset--color--navy); margin-top: 0.2rem; }
	.ypm-drawer-brand em { font-family: var(--wp--preset--font-family--accent); font-weight: 400; font-size: 1.15em; color: var(--wp--preset--color--teal); }
	/* Close button: 40px, aligned inside the drawer padding, vertically centred on the header row */
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		position: absolute; top: 12px !important; right: 1rem !important; width: 40px; height: 40px; margin: 0;
		border-radius: 10px; background: var(--wp--preset--color--mist); color: var(--wp--preset--color--navy);
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { width: 20px; height: 20px; }
	/* Rows */
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding: 0.8rem 0 !important; font-size: 1rem !important; font-weight: 700;
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open [aria-current="page"] { box-shadow: none !important; color: var(--wp--preset--color--teal) !important; }
	.ypm-sub-toggle { width: 38px; height: 38px; margin-right: -0.35rem; border-radius: 10px; }
	.ypm-sub-toggle svg { width: 18px; height: 18px; }
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding: 0.5rem 0.75rem !important; font-size: 0.9rem !important;
	}
	/* Buttons */
	.is-menu-open .ypm-drawer-actions { margin-top: 1.25rem; gap: 0.6rem; }
	.ypm-drawer-actions a { min-height: 44px; font-size: 0.95rem; }
	.ypm-drawer-call { border-width: 1.5px !important; }
}

/* Hero chips: wrap neatly (never overlap) if the row ever runs out of room */
.home-hero ul.checklist.is-inline { flex-wrap: wrap !important; row-gap: 0.5rem; }
@media (max-width: 1199px) {
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		display: flex !important; align-items: center; justify-content: center; padding: 0 !important; right: 1.25rem !important;
	}
	.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { margin: 0; display: block; }
}
/* Chips are always at least as wide as their text */
.home-hero ul.checklist.is-inline li { min-width: max-content; box-sizing: border-box; }
@media (max-width: 1199px) { .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { right: 0 !important; } }

/* =====================================================================
   v4.0 – service page layout (client structure)
   ===================================================================== */
.breadcrumb-bar { background: var(--wp--preset--color--mist); border-bottom: 1px solid var(--wp--preset--color--line); }
.breadcrumb-bar .wp-block-breadcrumbs { margin: 0; font-size: 0.88rem; }
.breadcrumb-bar a { color: var(--wp--preset--color--teal); }
.service-intro .eyebrow { justify-content: center; }
.service-intro .service-intro-text { font-weight: 500; color: var(--wp--preset--color--navy); line-height: 1.55; margin-top: 0.75rem; }
.included-item {
	padding: 0.9rem 1.1rem; border-radius: 14px; background: #fff;
	border: 1px solid var(--wp--preset--color--line); box-shadow: var(--wp--preset--shadow--soft);
	transition: transform .25s ease, border-color .25s ease;
}
.included-item:hover { transform: translateY(-2px); border-color: var(--wp--preset--color--aqua); }
.included-item p { margin: 0; font-weight: 600; color: var(--wp--preset--color--navy); }
.included-item .wp-block-icon { flex: none; }
.process-step .step-number { margin: 0; }
.service-quote .enquiry-card > h3 { text-align: center; }
.service-what .wp-block-media-text__media img { aspect-ratio: 4 / 3.2; }

/* =====================================================================
   v4.1 – client logo (house + waves + spanner) and matching wordmark
   ===================================================================== */
.brand-your { color: #2A9CA1 !important; letter-spacing: 0.42em; }
.brand-name { color: #14304F !important; }
.brand-name em { color: #2A9CA1 !important; }
.brand-services {
	margin: 0.35rem 0 0 !important; font-size: 0.56rem !important; font-weight: 700; letter-spacing: 0.1em;
	text-transform: uppercase; color: #14304F; white-space: nowrap; line-height: 1;
}
.brand-services span { color: #2A9CA1; margin: 0 0.25em; font-size: 0.9em; }
.site-header .brand-lockup .wp-block-site-logo img { width: 66px !important; }
.site-header .brand-lockup { gap: 0.6rem; }
@media (max-width: 1399px) { .site-header .brand-services { display: none; } }
@media (max-width: 781px) { .site-header .brand-lockup .wp-block-site-logo img { width: 52px !important; } }
/* Footer (dark) */
.brand-wordmark.is-dark .brand-your { color: #3CC6C9 !important; }
.brand-wordmark.is-dark .brand-name { color: #fff !important; }
.brand-wordmark.is-dark .brand-name em { color: #3CC6C9 !important; }
.brand-services.is-footer { color: #C9D8E6; font-size: 0.6rem !important; margin-top: 0.5rem !important; }
.brand-services.is-footer span { color: #3CC6C9; }
.site-footer .footer-logo img { width: 78px !important; }
.brand-lockup > .wp-block-image, .brand-lockup > .wp-block-site-logo { flex: none; }
.brand-lockup .brand-wordmark { min-width: 0; }
.brand-services.is-footer { white-space: normal; line-height: 1.5; }
@media (max-width: 781px) { .brand-services.is-footer { font-size: 0.7rem !important; } }

/* =====================================================================
   v4.2 – client's final logo used as supplied (image, not live text)
   ===================================================================== */
.site-header .brand-lockup .wp-block-site-logo img { width: 250px !important; height: auto; }
@media (max-width: 1320px) and (min-width: 1200px) { .site-header .brand-lockup .wp-block-site-logo img { width: 210px !important; } }
@media (max-width: 781px) { .site-header .brand-lockup .wp-block-site-logo img { width: 190px !important; } }
@media (max-width: 360px) { .site-header .brand-lockup .wp-block-site-logo img { width: 165px !important; } }
.site-footer .footer-logo img { width: 280px !important; max-width: 100%; }
.ypm-drawer-brand img { width: 170px !important; height: auto; }
.ypm-drawer-brand span { display: none; }

/* ---------- Social icons (footer) – theme colours ---------- */
.site-footer .wp-block-social-links { gap: 0.6rem !important; margin-top: 1.25rem; padding-left: 0; }
.site-footer .wp-block-social-links .wp-social-link {
	background: rgba(45, 212, 191, 0.12) !important;
	color: var(--wp--preset--color--aqua) !important;
	border: 1px solid rgba(45, 212, 191, 0.35);
	border-radius: 10px !important;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.site-footer .wp-block-social-links .wp-social-link a {
	width: 40px; height: 40px; padding: 0 !important;
	display: flex; align-items: center; justify-content: center;
	color: inherit !important; background: none !important;
}
.site-footer .wp-block-social-links .wp-social-link svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer .wp-block-social-links .wp-social-link:hover,
.site-footer .wp-block-social-links .wp-social-link:focus-within {
	background: var(--wp--preset--color--aqua) !important;
	color: var(--wp--preset--color--navy) !important;
	border-color: var(--wp--preset--color--aqua);
	transform: translateY(-2px);
}

