/* Z Accountancy — theme styles beyond what theme.json covers */

/* ==========================================================================
   Design tokens — fallbacks
   The live values are printed in <head> by inc/design.php (`#za-design`) from
   the Design & Brand screen. This block repeats the shipped defaults at zero
   specificity (:where) so the stylesheet stands on its own — in the editor,
   in a static preview, or if the inline block is ever missing — while the
   printed `:root` block always wins. Nothing below this block may use a raw
   brand value: colours, fonts, radii, measures, rules and motion all go
   through these variables.
   ========================================================================== */
:where(:root) {
	/* colour */
	--za-navy: #0B2A4A;
	--za-navy-rgb: 11, 42, 74;
	--za-navy-light: #16324F;
	--za-navy-light-rgb: 22, 50, 79;
	--za-navy-deep: #0D2C4F;
	--za-glass-dark-rgb: 16, 38, 62;
	--za-slate: #5C7286;
	--za-gold: #876321;
	--za-gold-bright: #E0B15E;
	--za-gold-bright-rgb: 224, 177, 94;
	--za-gold-dark: #C89448;
	--za-gold-muted: #B4842C;
	--za-gold-muted-rgb: 180, 132, 44;
	--za-canvas: #F5F7F9;
	--za-canvas-rgb: 245, 247, 249;
	--za-white: #FFFFFF;
	--za-white-rgb: 255, 255, 255;
	--za-line: #DDE4EA;
	--za-frost-rgb: 223, 232, 240;
	--za-star: #F4B400;
	--za-rain-ink: #7E93A8;
	--za-rain-figure: #EAF1F7;
	--za-success: #1E5631;
	--za-success-bg: #EAF6EE;
	--za-success-line: #BFE3C8;
	--za-error: #8A2A22;
	--za-error-bg: #FCEBEA;
	--za-error-line: #F3C6C1;
	--za-gold-gradient: linear-gradient(180deg, var(--za-gold-bright), var(--za-gold-dark));
	--za-navy-gradient: linear-gradient(180deg, var(--za-navy) 0%, var(--za-navy-deep) 55%, var(--za-navy-light) 100%);
	/* type */
	--za-font-heading: SuperBlue, Georgia, 'Times New Roman', serif;
	--za-font-body: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
	--za-heading-weight: 400;
	/* shape */
	--za-radius-xs: 2px;
	--za-radius-sm: 3px;
	--za-radius-md: 4px;
	--za-radius-panel: 5px;
	--za-radius-lg: 6px;
	--za-radius-card: 14px;
	--za-radius-button: 3px;
	--za-radius-pill: 999px;
	/* layout */
	--za-col: 1200px;
	--za-gutter: 1.25rem;
	--za-measure: 640px;
	--za-measure-wide: 860px;
	--za-measure-ch: 68ch;
	--za-space: 1;
	--za-header-h: 76px;
	/* decoration */
	--za-rule-w: 44px;
	--za-rule-h: 3px;
	--za-mark-url: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20107%20106%27%3E%3Cg%20fill%3D%27%23FFFFFF%27%3E%3Cpath%20d%3D%27M40%200%20L105%200%20L31%2092%20L107%2092%20A16%2014%200%200%201%2091%20106%20L0%20106%20L0%20102%20L63%2021%20L22%2021%20L22%2018%20A18%2018%200%200%201%2040%200%20Z%27%2F%3E%3Crect%20x%3D%2749%27%20y%3D%2778%27%20width%3D%2715%27%20height%3D%2715%27%2F%3E%3Crect%20x%3D%2770%27%20y%3D%2755%27%20width%3D%2715%27%20height%3D%2738%27%2F%3E%3Crect%20x%3D%2792%27%20y%3D%2729%27%20width%3D%2715%27%20height%3D%2764%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
	--za-mark-url-gold: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20107%20106%27%3E%3Cg%20fill%3D%27%23B4842C%27%3E%3Cpath%20d%3D%27M40%200%20L105%200%20L31%2092%20L107%2092%20A16%2014%200%200%201%2091%20106%20L0%20106%20L0%20102%20L63%2021%20L22%2021%20L22%2018%20A18%2018%200%200%201%2040%200%20Z%27%2F%3E%3Crect%20x%3D%2749%27%20y%3D%2778%27%20width%3D%2715%27%20height%3D%2715%27%2F%3E%3Crect%20x%3D%2770%27%20y%3D%2755%27%20width%3D%2715%27%20height%3D%2738%27%2F%3E%3Crect%20x%3D%2792%27%20y%3D%2729%27%20width%3D%2715%27%20height%3D%2764%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
	--za-mark-opacity: 0.04;
	--za-faq-open: "+";
	--za-faq-close: "−";
	--za-review-lines: 6;
	/* motion */
	--za-motion-scale: 1;
	--za-ease-fast: 0.2s;
	--za-ease-base: 0.25s;
	--za-ease-slow: 0.35s;
	--za-ring-duration: 3.2s;
	--za-cue-duration: 2.2s;
	--za-lift: -4px;
	/* effects */
	--za-frost: 16px;
	--za-map-filter: grayscale(1) contrast(1.08) brightness(1.04);
	--za-map-tint: 0.1;
}
/* Derived: where the shared content column starts (see "Reading width"). */
:root {
	--za-col-start: max(0px, calc(50% - (var(--za-col) / 2)));
}

/* ---------- Query-loop grids ----------
   These grids are built on core's Post Template, whose real grid items are
   the <li> elements. Core's is-layout-flow rule puts margin-block-start on
   every child except the first, which knocks the first card in each grid out
   of alignment with its siblings and shortens it. The grid's own `gap`
   already handles spacing, so the margins are reset here, and the cards are
   stretched so every card in a row is the same height. */
.za-services-grid > .wp-block-post-template,
.za-blog-index > .wp-block-post-template,
.za-area-index > .wp-block-post-template {
	display: contents;
}
.za-services-grid > .wp-block-post-template > li,
.za-blog-index > .wp-block-post-template > li,
.za-area-index > .wp-block-post-template > li {
	margin: 0;
	display: flex;
	flex-direction: column;
}
.za-services-grid > .wp-block-post-template > li > *,
.za-blog-index > .wp-block-post-template > li > *,
.za-area-index > .wp-block-post-template > li > * {
	margin-block-start: 0;
	flex: 1;
}

/* ---------- Screen-reader-only utility ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

/* ---------- Inline brand mention ("Z Accountancy" with graphical Z) ---------- */
.za-brand-inline {
	white-space: nowrap;
}
.za-brand-mark {
	display: inline-block;
	width: 0.92em;
	height: 0.92em;
	vertical-align: -0.12em;
	margin-right: 0.06em;
}

/* ---------- Header ---------- */
.za-header {
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--za-line);
	position: sticky;
	top: 0;
	background: var(--za-white);
	z-index: 100;
}
.za-header .wp-block-site-logo img {
	max-height: 44px;
	width: auto;
}
.za-header-cta .wp-block-button__link {
	font-size: 0.9rem;
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
	white-space: nowrap;
}
/* The header row is deliberately nowrap on desktop, which means its three
   items must be allowed to shrink on small screens or they overflow the
   viewport and push the whole page sideways. */
@media (max-width: 782px) {
	.za-header .wp-block-site-logo {
		flex: 0 1 auto;
		min-width: 0;
	}
	.za-header .wp-block-site-logo img {
		max-height: 34px;
		max-width: 145px;
	}
	.za-header-cta .wp-block-button__link {
		font-size: 0.8rem;
		padding: 0.6rem 0.9rem;
	}
}
@media (max-width: 420px) {
	.za-header .wp-block-site-logo img {
		max-width: 118px;
	}
	.za-header-cta .wp-block-button__link {
		font-size: 0.74rem;
		padding: 0.55rem 0.7rem;
	}
}

/* --- header actions: the "call us" number beside the button --- */
.za-header-actions {
	flex-shrink: 0;
	gap: 1.1rem;
}
.za-header-tel {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.3rem 0.7rem 0.3rem 0.3rem;
	border-radius: var(--za-radius-pill);
	text-decoration: none;
	color: var(--za-navy);
	transition: background-color var(--za-ease-fast) ease;
}
.za-header-tel:hover,
.za-header-tel:focus-visible {
	background: rgba(var(--za-gold-muted-rgb), 0.08);
}
.za-header-tel-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--za-radius-pill);
	background: var(--za-gold-gradient);
	color: var(--za-navy);
	box-shadow: 0 8px 16px -8px rgba(var(--za-gold-muted-rgb), 0.7);
	flex-shrink: 0;
}
.za-header-tel-icon svg {
	width: 19px;
	height: 19px;
}
/* A slow gold ring breathes out from the icon: the one thing on the bar
   that asks for attention. Stands down under reduced motion. */
.za-header-tel-icon::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 2px solid rgba(var(--za-gold-bright-rgb), 0.8);
	animation: za-tel-ring var(--za-ring-duration) ease-out infinite;
	pointer-events: none;
}
@keyframes za-tel-ring {
	0%   { transform: scale(1); opacity: 0.7; }
	60%  { transform: scale(1.55); opacity: 0; }
	100% { transform: scale(1.55); opacity: 0; }
}
.za-header-tel-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.za-header-tel-label {
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--za-gold);
	margin-bottom: 0.28rem;
}
.za-header-tel-num {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	color: var(--za-navy);
	white-space: nowrap;
	transition: color var(--za-ease-fast) ease;
}
.za-header-tel:hover .za-header-tel-num {
	color: var(--za-gold);
}
/* Below this width the row cannot fit the number; the menu overlay carries
   its own "Call" link instead. */
@media (max-width: 1180px) {
	.za-header-tel {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.za-header-tel-icon::after {
		animation: none;
		opacity: 0;
	}
}
/* ---------- Footer ---------- */
.za-footer {
	padding-top: clamp(3rem, 5vw, 4rem);
	padding-bottom: 2rem;
}
.za-footer-grid {
	display: grid;
	grid-template-columns: var(--za-footer-cols, 1.5fr 1fr 1fr 1.2fr);
	gap: 2.5rem;
}
.za-footer-logo {
	/* Vector lockup, so the colour is set directly rather than by inverting
	   a navy image. */
	display: inline-flex;
	color: var(--za-white);
	margin-bottom: 1.25rem;
	text-decoration: none;
}
.za-footer-logo .za-logo-mark {
	width: 30px;
	height: 30px;
}
.za-footer-logo .za-logo-word {
	color: var(--za-white);
	font-size: 1.2rem;
}
.za-footer a {
	color: var(--za-white);
	text-decoration: none;
}
.za-footer a:hover {
	color: var(--za-gold-bright);
}
.za-footer h3 {
	font-family: var(--za-font-heading);
	font-weight: var(--za-heading-weight);
	font-size: 1.05rem;
	color: var(--za-gold-bright);
	margin: 0 0 1rem;
}
.za-footer-col p {
	margin: 0 0 0.6rem;
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--za-line);
}
.za-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.za-footer-col li {
	margin-bottom: 0.6rem;
	font-size: 0.88rem;
}
.za-footer-col li:last-child {
	margin-bottom: 0;
}
.za-footer-base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--za-navy-light);
}
.za-footer-base p {
	margin: 0;
	font-size: 0.84rem;
	color: var(--za-line);
}
@media (max-width: 900px) {
	.za-footer-grid { grid-template-columns: repeat(min(var(--za-cols, 4), 2), 1fr); gap: 2rem; }
}
@media (max-width: 560px) {
	.za-footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reading width ----------
   Every section shares one 1200px content column so left edges line up down
   the whole page. Long-form prose still needs a shorter measure to stay
   readable.

   The catch: the 120px left edge is produced by core centring a 1200px box
   inside the section. Narrowing that box to a reading measure and keeping
   `margin: auto` re-centres the text (wrong), while `margin-left: 0` drops it
   to the section's padding edge at 20px (also wrong). So the column offset is
   reproduced explicitly — align to where the 1200px column starts, and
   collapse to the padding edge once the viewport is narrower than the column. */
.za-page-content > p,
.za-page-content > h2,
.za-page-content > h3,
.za-page-content > h4,
.za-page-content > ul,
.za-page-content > ol,
.za-page-content > blockquote,
.za-service-body > p,
.za-service-body > h2,
.za-service-body > h3,
.za-service-body > ul,
.za-service-body > ol,
.za-post-body > p,
.za-post-body > h2,
.za-post-body > h3,
.za-post-body > ul,
.za-post-body > ol,
.za-post-body > blockquote {
	max-width: calc(var(--za-measure-ch) + var(--za-col-start));
	padding-left: var(--za-col-start);
	margin-left: 0 !important;
	margin-right: auto !important;
}
/* Section intros run in the same 1200px column as the grids below them, so
   their paragraphs need a reading cap or lines get uncomfortably long.
   These are the left-aligned sections, so the cap is pinned left to keep the
   shared left edge. */
.za-about-story > p,
.za-offer-who > p,
.za-offer-who > ul,
.za-area-intro p,
.za-services > p,
.za-packages > p,
.za-why > p,
.za-testimonials > p,
.za-faq > p,
.za-process > p,
.za-related > p,
.za-offer-hero > p,
.za-offer-final > p,
.za-page-title-wrap > p,
.za-blog-index ~ p {
	max-width: calc(var(--za-measure-ch) + var(--za-col-start));
	padding-left: var(--za-col-start);
	margin-left: 0 !important;
	margin-right: auto !important;
}

/* Centred sections keep their text centred — capped for readability but not
   pinned left, or the centring breaks. (The homepage hero is now a split
   layout and manages its own measure.) */
.za-area-hero > p,
.za-404 > p {
	max-width: var(--za-measure-ch);
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ---------- Shared ---------- */
.za-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.za-page-title-wrap {
	padding-top: 3rem;
	padding-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1.5px solid var(--za-navy);
	color: var(--za-navy);
	background: transparent;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--za-navy);
	color: var(--za-white);
}
.wp-block-button.is-style-fill-gold .wp-block-button__link {
	background: var(--za-gold-bright);
	color: var(--za-navy);
	font-weight: 600;
}
.wp-block-button.is-style-fill-gold .wp-block-button__link:hover {
	background: var(--za-white);
}

/* ---------- Hero ----------
   Split layout: message left, an animated client-overview card right.
   The card ships fully rendered; GSAP only replays its assembly. */
.za-hero {
	padding-top: clamp(2.5rem, 5vw, 4.5rem);
	padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
	overflow: hidden; /* ambient glyphs drift near the edges */
}
.za-hero-split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.za-hero-title {
	font-family: var(--za-font-heading);
	font-weight: var(--za-heading-weight);
	font-size: clamp(2.1rem, 3.6vw, 3.1rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--za-navy);
	margin: 0 0 1rem;
	text-wrap: balance;
}
.za-hero-eyebrow {
	margin: 0 0 0.9rem;
}
.za-hero-sub {
	font-size: 1.08rem;
	line-height: 1.65;
	color: var(--za-slate);
	max-width: calc(var(--za-measure-ch) - 14ch);
	margin: 0 0 1.75rem;
}
.za-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 1.9rem;
}
.za-hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.za-hero-chip {
	margin: 0;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-pill);
	color: var(--za-slate);
	font-size: 0.85rem;
}

/* --- the stage (card + ambient) --- */
.za-hero-stage {
	position: relative;
	min-width: 0;
}

/* Ledger rain: canvas-driven "digital rain" of financial glyphs behind the
   card (see ledger-rain.js). The script owns all drawing and no-ops under
   reduced motion / small screens / missing canvas — CSS only positions it. */
.za-rain {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

/* --- "The Sort": paperwork tidied into a folder ---
   Server-rendered in its finished state (docs stacked in the folder, seal
   landed). The timeline in hero-animation.js scatters the paperwork and
   replays the tidy-up. Every colour is a design token. */
.za-scene {
	position: relative;
	z-index: 1;
	max-width: 460px;
	margin-left: auto;
}
.za-scene-stage {
	position: relative;
	height: 400px;
	overflow: visible;
}
/* A soft gold halo behind the folder: the warmth of a job done. */
.za-scene-glow {
	position: absolute;
	left: 50%;
	bottom: 10px;
	width: 380px;
	height: 220px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(var(--za-gold-bright-rgb), 0.22), transparent 70%);
	filter: blur(6px);
	pointer-events: none;
}

/* --- the folder ---------------------------------------------------------- */
.za-folder,
.za-folder-front {
	position: absolute;
	left: 50%;
	bottom: 28px;
	width: 300px;
	transform: translateX(-50%);
}
.za-folder {
	height: 190px;
	z-index: 1;
}
.za-folder-back {
	position: absolute;
	inset: 0;
	border-radius: var(--za-radius-card) var(--za-radius-card) 10px 10px;
	background: linear-gradient(180deg, var(--za-navy-light), var(--za-navy-deep));
	border: 1px solid rgba(var(--za-frost-rgb), 0.18);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.za-folder-tab {
	position: absolute;
	top: -30px;
	left: 18px;
	padding: 0.42rem 0.95rem 0.5rem;
	border-radius: 8px 8px 0 0;
	background: linear-gradient(180deg, var(--za-gold-bright), var(--za-gold-dark));
	color: var(--za-navy);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 -6px 14px -8px rgba(var(--za-gold-bright-rgb), 0.6);
}
.za-folder-front {
	height: 150px;
	z-index: 3;
	border-radius: 10px;
	background: linear-gradient(180deg, rgba(var(--za-frost-rgb), 0.12), rgba(var(--za-frost-rgb), 0.04)), var(--za-navy-light);
	border: 1px solid rgba(var(--za-frost-rgb), 0.22);
	box-shadow: inset 0 1px 0 rgba(var(--za-frost-rgb), 0.18), 0 18px 40px -22px rgba(0, 0, 0, 0.7);
	transform-origin: 50% 100%;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.za-folder-front {
		background: linear-gradient(180deg, rgba(var(--za-frost-rgb), 0.12), rgba(var(--za-frost-rgb), 0.04)), rgba(var(--za-navy-light-rgb), 0.82);
		-webkit-backdrop-filter: blur(var(--za-frost, 16px)) saturate(1.3);
		backdrop-filter: blur(var(--za-frost, 16px)) saturate(1.3);
	}
}
.za-folder-mark {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 54px;
	height: 54px;
	transform: translate(-50%, -50%);
	color: var(--za-gold-bright);
	opacity: 0.9;
}

/* --- the paperwork ------------------------------------------------------- */
.za-docs {
	position: absolute;
	inset: 0;
	z-index: 2;
}
.za-doc {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 9px 9px 10px;
	background: linear-gradient(180deg, var(--za-white), var(--za-canvas));
	color: var(--za-navy);
	border-radius: 3px;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(var(--za-navy-rgb), 0.06);
	/* Finished state: a tidy stack, each sheet a hair behind the last, sitting
	   inside the folder. The timeline scatters them from here. */
	--za-stack: calc(var(--za-doc-i, 0) * -5px);
	transform: translate(calc(-50% + 72px + var(--za-stack)), calc(-50% + 30px + var(--za-stack) * 0.6)) rotate(calc(var(--za-doc-i, 0) * -1.2deg));
	will-change: transform;
}
.za-doc-label {
	font-size: 0.56rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--za-navy);
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* Ruled lines stand in for text, so the documents carry no figures. */
.za-doc-body {
	display: block;
	flex: 1;
	min-height: 28px;
	border-radius: 2px;
	background:
		repeating-linear-gradient(180deg, rgba(var(--za-navy-rgb), 0.16) 0 2px, transparent 2px 8px);
}
.za-doc-receipt {
	width: 84px;
	height: 112px;
	border-radius: 3px 3px 0 0;
	clip-path: polygon(0 0, 100% 0, 100% 94%, 92% 100%, 84% 94%, 76% 100%, 68% 94%, 60% 100%, 52% 94%, 44% 100%, 36% 94%, 28% 100%, 20% 94%, 12% 100%, 4% 94%, 0 100%);
}
.za-doc-receipt .za-doc-body {
	background:
		repeating-linear-gradient(180deg, rgba(var(--za-navy-rgb), 0.16) 0 2px, transparent 2px 9px) left/60% 100% no-repeat,
		repeating-linear-gradient(180deg, rgba(var(--za-navy-rgb), 0.16) 0 2px, transparent 2px 9px) right/22% 100% no-repeat;
}
.za-doc-invoice {
	width: 98px;
	height: 124px;
	border-top: 6px solid var(--za-gold-bright);
}
.za-doc-invoice .za-doc-body {
	background:
		linear-gradient(90deg, rgba(var(--za-navy-rgb), 0.08), rgba(var(--za-navy-rgb), 0.08)) 0 100%/100% 10px no-repeat,
		repeating-linear-gradient(180deg, rgba(var(--za-navy-rgb), 0.16) 0 2px, transparent 2px 8px) 0 0/100% calc(100% - 14px) no-repeat;
}
.za-doc-statement {
	width: 104px;
	height: 120px;
}
.za-doc-statement .za-doc-body {
	background:
		repeating-linear-gradient(180deg, rgba(var(--za-navy-rgb), 0.07) 0 7px, transparent 7px 14px),
		repeating-linear-gradient(180deg, rgba(var(--za-navy-rgb), 0.16) 0 2px, transparent 2px 14px);
}
.za-doc-payslip {
	width: 118px;
	height: 76px;
	border-left: 5px solid var(--za-gold-bright);
}
.za-doc-letter {
	width: 102px;
	height: 72px;
}
.za-doc-letter::after {
	content: "";
	position: absolute;
	top: 8px;
	right: 8px;
	width: 14px;
	height: 16px;
	border: 1.5px dashed rgba(var(--za-gold-muted-rgb), 0.9);
	border-radius: 2px;
}
.za-doc-letter .za-doc-body {
	background: repeating-linear-gradient(180deg, rgba(var(--za-navy-rgb), 0.16) 0 2px, transparent 2px 8px) 0 0/70% 100% no-repeat;
}

/* --- the seal ------------------------------------------------------------ */
.za-seal {
	position: absolute;
	right: calc(50% - min(150px, 43vw) + 14px);
	bottom: 36px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.9rem 0.5rem 0.6rem;
	border-radius: var(--za-radius-pill);
	background: linear-gradient(180deg, var(--za-gold-bright), var(--za-gold-dark));
	color: var(--za-navy);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	box-shadow: 0 14px 30px -14px rgba(var(--za-gold-bright-rgb), 0.9);
	transform: rotate(-6deg);
	transform-origin: 50% 50%;
	will-change: transform;
}
.za-seal-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: var(--za-radius-pill);
	background: var(--za-navy);
	color: var(--za-gold-bright);
}
.za-seal-icon svg {
	width: 12px;
	height: 11px;
}
.za-seal-ring {
	position: absolute;
	inset: -3px;
	border: 2px solid var(--za-gold-bright);
	border-radius: inherit;
	opacity: 0; /* only during the landing pulse */
	pointer-events: none;
}
.za-scene-caption {
	margin: 0.4rem 0 0;
	text-align: center;
	font-size: 0.88rem;
	color: rgba(var(--za-frost-rgb), 0.78);
}
/* --- responsive tiers --- */
@media (max-width: 900px) {
	.za-hero-split {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.za-scene {
		margin-left: 0;
		max-width: 460px;
	}
}
@media (max-width: 700px) {
	.za-rain {
		display: none; /* the script also no-ops here; this is belt-and-braces */
	}
	.za-hero-split {
		gap: 1.5rem;
	}
	.za-scene {
		max-width: 100%;
	}
	.za-scene-stage {
		height: 340px;
		margin-top: 1.25rem;
	}
	.za-folder,
	.za-folder-front {
		width: min(300px, 86vw);
	}
}
@media (max-width: 485px) {
	.za-scene-stage { height: 300px; }
	.za-doc { transform: translate(calc(-50% + 72px + var(--za-stack)), calc(-50% + 30px + var(--za-stack) * 0.6)) rotate(calc(var(--za-doc-i, 0) * -1.2deg)) scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
	.za-rain { display: none; }
}
/* ---------- Accreditations ----------
   Professional bodies and software partners as a row of equal tiles, each
   logo sized optically (inline --za-logo-h from the admin) and captioned.
   On narrow screens the row becomes a native scroll-snap carousel; the
   arrows in trust-carousel.js are an enhancement on top. */
.za-trust-head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 2.25rem;
}
.za-trust-head .za-trust-label {
	margin: 0 0 0.6rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 600;
}
.za-trust-heading {
	margin: 0 0 0.7rem;
	font-family: var(--za-font-heading);
	font-weight: 400;
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
	line-height: 1.2;
	color: var(--za-navy);
	text-wrap: balance;
}
/* The global "eyebrow + heading" gold rule, centred here. */
.za-trust-head .za-eyebrow + .za-trust-heading::after {
	content: "";
	display: block;
	width: var(--za-rule-w, 44px);
	height: var(--za-rule-h, 3px);
	margin: 0.75rem auto 0;
	background: var(--za-gold);
	border-radius: 2px;
}
.za-trust-intro {
	margin: 0;
	color: var(--za-slate);
	font-size: 1rem;
	line-height: 1.6;
}

.za-trust-carousel {
	position: relative;
}
.za-trust-logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
}
.za-trust-item {
	display: flex;
	margin: 0;
	min-width: 0;
}
.za-trust-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 150px;
	padding: 1.25rem 0.9rem 1rem;
	background: var(--za-white);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-card, 14px);
	box-shadow: 0 10px 28px -22px rgba(var(--za-navy-rgb), 0.45);
	text-decoration: none;
	overflow: hidden;
	transition: transform var(--za-ease-base) ease, box-shadow var(--za-ease-base) ease, border-color var(--za-ease-base) ease;
}
/* The gold top edge the other cards use, drawn in on hover. */
.za-trust-tile::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--za-gold), var(--za-gold-bright));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--za-ease-slow) ease;
}
.za-trust-tile:hover {
	transform: translateY(var(--za-lift, -4px));
	border-color: rgba(var(--za-gold-muted-rgb), 0.45);
	box-shadow: 0 18px 34px -22px rgba(var(--za-navy-rgb), 0.5);
}
.za-trust-tile:hover::before {
	transform: scaleX(1);
}
.za-trust-media {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	width: 100%;
	min-height: 84px;
}
.za-trust-logo {
	display: block;
	height: var(--za-logo-h, 34px);
	width: auto;
	max-width: 100%;
	object-fit: contain;
}
.za-trust-caption {
	display: block;
	width: 100%;
	padding-top: 0.75rem;
	border-top: 1px solid var(--za-line);
	text-align: center;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.35;
	color: var(--za-navy);
	text-wrap: balance;
	min-height: calc(2 * 1.35em + 0.75rem);
}

/* Plain-row layout (admin option): no tiles, logos on the band itself. */
.za-trust-bar.is-strip .za-trust-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem 3rem;
}
.za-trust-bar.is-strip .za-trust-tile {
	min-height: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}
.za-trust-bar.is-strip .za-trust-tile::before {
	display: none;
}
.za-trust-bar.is-strip .za-trust-media {
	min-height: 0;
}

/* Carousel arrows: hidden until the script finds the row overflowing. */
.za-trust-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	padding: 0;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-pill);
	background: var(--za-white);
	color: var(--za-navy);
	box-shadow: 0 8px 20px -10px rgba(var(--za-navy-rgb), 0.45);
	cursor: pointer;
	transition: background var(--za-ease-fast) ease, color var(--za-ease-fast) ease, opacity var(--za-ease-fast) ease;
}
.za-trust-nav[hidden] {
	display: none;
}
.za-trust-nav svg {
	width: 16px;
	height: 16px;
}
.za-trust-nav:hover:not(:disabled) {
	background: var(--za-navy);
	color: var(--za-gold-bright);
}
.za-trust-nav:disabled {
	opacity: 0.35;
	cursor: default;
}
.za-trust-nav.is-prev { left: -8px; }
.za-trust-nav.is-next { right: -8px; }

@media (max-width: 1100px) {
	.za-trust-bar.is-tiles .za-trust-logos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 860px) {
	.za-trust-logo {
		height: var(--za-logo-h-m, calc(var(--za-logo-h, 34px) * 0.82));
	}
	/* Phones and small tablets: one swipeable row, a tile and a half in view
	   so it is obvious there is more to the side. */
	.za-trust-bar.is-tiles .za-trust-logos {
		display: grid;
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-auto-columns: clamp(150px, 40vw, 200px);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 2px;
		padding: 6px 2px 22px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.za-trust-bar.is-tiles .za-trust-logos::-webkit-scrollbar {
		display: none;
	}
	.za-trust-bar.is-tiles .za-trust-item {
		scroll-snap-align: start;
	}
	.za-trust-bar.is-tiles .za-trust-tile {
		min-height: 136px;
	}
	.za-trust-carousel.is-scrollable {
		padding-inline: 24px;
	}
	.za-trust-nav.is-prev { left: 0; }
	.za-trust-nav.is-next { right: 0; }
	.za-trust-bar.is-strip .za-trust-logos {
		justify-content: center;
		gap: 1.75rem 2.25rem;
	}
}

/* Endless auto-scroll (trust-carousel.js): snap points would fight the
   continuous glide, so they are switched off while the loop runs. */
.za-trust-carousel.is-auto .za-trust-logos {
	scroll-snap-type: none;
}
/* Desktop loop (admin option): the six-column grid becomes the same row. */
@media (min-width: 861px) {
	.za-trust-bar.is-tiles .za-trust-carousel.is-auto .za-trust-logos {
		display: grid;
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-auto-columns: 190px;
		overflow-x: auto;
		padding: 6px 2px 22px;
		scrollbar-width: none;
	}
	.za-trust-bar.is-tiles .za-trust-carousel.is-auto .za-trust-logos::-webkit-scrollbar {
		display: none;
	}
	.za-trust-carousel.is-auto.is-scrollable {
		padding-inline: 24px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.za-trust-tile,
	.za-trust-tile::before,
	.za-trust-nav {
		transition: none;
	}
}
/* ---------- Services grid ---------- */
.za-services {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.za-services-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
.za-services-post-template {
	display: contents;
}
.za-service-card {
	background: var(--za-canvas);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-md);
	padding: 2rem;
	transition: transform var(--za-ease-base) ease, box-shadow var(--za-ease-base) ease;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
/* Core's constrained layout puts `margin-inline: auto` on children. Harmless
   in normal flow, but in a flex column those auto margins centre every item,
   so they're reset here. */
.za-service-card > * {
	margin-inline: 0;
	width: 100%;
}
/* Pushes "Read more" to the bottom so it lines up across a row. */
.za-service-card .wp-block-read-more {
	margin-top: auto;
	padding-top: 1rem;
	width: auto;
	align-self: flex-start;
	text-align: left;
}
.za-service-card:hover {
	transform: translateY(var(--za-lift));
	box-shadow: 0 12px 32px rgba(var(--za-navy-rgb), 0.1);
}
.za-service-card h3 {
	font-family: var(--za-font-heading);
	font-size: 1.2rem;
	margin: 0 0 0.6rem;
}
.za-service-card p {
	color: var(--za-slate);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0 0 1rem;
}
.za-service-link,
.za-service-card .wp-block-read-more {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--za-navy);
	text-decoration: none;
}
.za-service-card .wp-block-post-excerpt {
	color: var(--za-slate);
	font-size: 0.95rem;
	line-height: 1.6;
}

@media (max-width: 980px) {
	.za-services-grid { grid-template-columns: repeat(min(var(--za-cols, 3), 2), 1fr); }
}
@media (max-width: 640px) {
	.za-services-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.za-stats {
	padding-top: clamp(2.5rem, 5vw, 4rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.za-stats-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 4), 1fr);
	gap: 2rem;
}
@media (max-width: 860px) {
	.za-stats-grid { grid-template-columns: repeat(min(var(--za-cols, 4), 2), 1fr); gap: 2rem 1.5rem; }
}
@media (max-width: 480px) {
	.za-stats-grid { grid-template-columns: 1fr; }
}
.za-stat {
	text-align: left;
}
.za-stat-label {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.85;
}
.za-stat-num {
	font-family: var(--za-font-heading);
	font-size: clamp(1.9rem, 3.6vw, 2.4rem);
	line-height: 1.15;
	margin: 0 0 0.4rem;
	font-variant-numeric: tabular-nums;
	color: var(--za-gold-bright);
}
/* The software line is a list of names rather than a figure, so it needs to
   sit at a readable size instead of display scale. */
.za-stat-num.is-compact {
	font-size: clamp(1.05rem, 1.8vw, 1.3rem);
	line-height: 1.35;
}
.za-stat p:not(.za-stat-num) {
	margin: 0;
	opacity: 0.85;
}

/* ---------- Testimonials ---------- */
.za-testimonials {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.za-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
.za-testimonial-card {
	background: var(--za-white);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-md);
	padding: 2rem;
	margin: 0;
}
.za-testimonial-card blockquote {
	margin: 0 0 1.25rem;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--za-navy);
}
.za-testimonial-card figcaption {
	display: flex;
	flex-direction: column;
	font-size: 0.85rem;
}
.za-testimonial-name {
	font-weight: 600;
	color: var(--za-navy);
}
.za-testimonial-role {
	color: var(--za-slate);
}

@media (max-width: 980px) {
	.za-testimonial-grid { grid-template-columns: repeat(min(var(--za-cols, 3), 2), 1fr); }
}
@media (max-width: 640px) {
	.za-testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- Google reviews ---------- */
.za-greviews-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	flex-wrap: wrap;
}
.za-greviews-head h2 {
	margin: 0;
}
.za-greviews-summary {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.8rem 1.2rem 0.8rem 0.9rem;
	background: var(--za-white);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-pill);
	text-decoration: none;
	color: var(--za-navy);
	box-shadow: 0 10px 24px -16px rgba(var(--za-navy-rgb), 0.35);
	transition: transform var(--za-ease-fast) ease, box-shadow var(--za-ease-fast) ease;
}
.za-greviews-summary:hover {
	transform: translateY(calc(var(--za-lift) * 0.5));
	box-shadow: 0 16px 28px -16px rgba(var(--za-navy-rgb), 0.4);
}
.za-greviews-g {
	display: inline-flex;
	width: 40px;
	height: 40px;
	border-radius: var(--za-radius-pill);
	background: var(--za-canvas);
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.za-greviews-g svg {
	width: 22px;
	height: 22px;
}
.za-greviews-summary-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}
.za-greviews-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 1.15rem;
	font-weight: 700;
}
.za-greviews-count {
	font-size: 0.78rem;
	color: var(--za-slate);
	margin-top: 0.15rem;
}
.za-stars {
	display: inline-flex;
	gap: 2px;
}
.za-star {
	width: 16px;
	height: 16px;
	fill: var(--za-line);
}
.za-star.is-full {
	fill: var(--za-star);
}
.za-star.is-half {
	fill: var(--za-star);
	opacity: 0.6;
}
.za-greviews-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
.za-greviews-grid .za-greview {
	display: flex;
	flex-direction: column;
	padding: 1.6rem 1.6rem 1.5rem;
}
.za-testimonial-card.za-greview figcaption {
	border-top: 0;
	padding-top: 0;
	margin-bottom: 0.9rem;
}
.za-testimonial-avatar.is-photo {
	width: 2.6rem;
	height: 2.6rem;
	border-radius: var(--za-radius-pill);
	object-fit: cover;
	display: block;
}
.za-greview-badge {
	margin-left: auto;
	display: inline-flex;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	opacity: 0.9;
}
.za-greview-badge svg {
	width: 100%;
	height: 100%;
}
.za-greview .za-stars {
	margin-bottom: 0.7rem;
}
.za-greview blockquote {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.62;
	color: var(--za-navy);
	display: -webkit-box;
	-webkit-line-clamp: var(--za-review-lines);
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.za-greview blockquote p {
	margin: 0;
}
.za-greviews-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}
.za-greviews-all {
	font-weight: 600;
	color: var(--za-navy);
	text-decoration: none;
	border-bottom: 2px solid var(--za-gold);
	padding-bottom: 1px;
}
.za-greviews-all:hover {
	color: var(--za-gold);
}
@media (max-width: 980px) {
	.za-greviews-grid { grid-template-columns: repeat(min(var(--za-cols, 3), 2), 1fr); }
}
@media (max-width: 640px) {
	.za-greviews-grid { grid-template-columns: 1fr; }
	.za-greviews-head { align-items: flex-start; }
}
/* ---------- Final CTA ---------- */
.za-cta-final {
	padding-top: clamp(2rem, 5vw, 4rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.za-cta-card {
	border-radius: var(--za-radius-lg);
	padding: 2.75rem;
	gap: 2rem;
}
.za-cta-card h2 {
	margin: 0 0 0.5rem;
}
.za-cta-card p {
	margin: 0;
	opacity: 0.85;
}

/* ---------- Single service page ---------- */
.za-service-hero {
	padding-top: clamp(2.5rem, 5vw, 4rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.za-service-hero h1 {
	margin-top: 0;
}
.za-service-image img {
	width: 100%;
	height: auto;
	border-radius: var(--za-radius-panel);
	display: block;
}
.za-service-body {
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
}
.za-service-body h2 {
	margin-top: 2.5rem;
	font-size: 1.5rem;
}
.za-service-body h2:first-child { margin-top: 0; }
.za-service-body ul {
	padding-left: 0;
	list-style: none;
	display: grid;
	gap: 0.65rem;
	margin: 1.25rem 0;
}
.za-service-body li {
	position: relative;
	padding-left: 1.5rem;
	line-height: 1.6;
}
.za-service-body li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: var(--za-radius-pill);
	background: var(--za-gold);
}

/* ---------- Related services ---------- */
.za-related {
	padding-top: clamp(2.5rem, 5vw, 4rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.za-related-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
.za-related-card {
	display: block;
	background: var(--za-white);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-md);
	padding: 1.75rem;
	text-decoration: none;
	transition: transform var(--za-ease-base) ease, box-shadow var(--za-ease-base) ease;
}
.za-related-card:hover {
	transform: translateY(calc(var(--za-lift) * 0.75));
	box-shadow: 0 12px 30px rgba(var(--za-navy-rgb), 0.1);
}
.za-related-card h3 {
	font-family: var(--za-font-heading);
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
	color: var(--za-navy);
}
.za-related-card p {
	color: var(--za-slate);
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0 0 0.9rem;
}
.za-related-more {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--za-navy);
}
@media (max-width: 860px) {
	.za-related-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.za-related-card { transition: none; }
	.za-related-card:hover { transform: none; }
}

/* ---------- Why choose us ---------- */
.za-why {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.za-why-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 2rem 2.5rem;
	margin-top: 2.5rem;
}
.za-why-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--za-radius-pill);
	background: var(--za-canvas);
	border: 1px solid var(--za-line);
	color: var(--za-navy);
	margin-bottom: 1rem;
}
.za-reason-icon {
	width: 21px;
	height: 21px;
}
.za-why-card h3 {
	font-family: var(--za-font-heading);
	font-size: 1.12rem;
	margin: 0 0 0.5rem;
	color: var(--za-navy);
}
.za-why-card p {
	color: var(--za-slate);
	font-size: 0.94rem;
	line-height: 1.65;
	margin: 0;
}
@media (max-width: 980px) {
	.za-why-grid { grid-template-columns: repeat(min(var(--za-cols, 3), 2), 1fr); }
}
@media (max-width: 640px) {
	.za-why-grid { grid-template-columns: 1fr; }
}

/* ---------- Packages ---------- */
.za-packages {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.za-packages-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 4), 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
	/* default stretch equalises card heights per row; the flex column plus
	   margin-top:auto on the CTA pins it to the bottom. (`height:100%` with
	   `align-items:start` made the card box resolve shorter than its own
	   content, which painted each card's CTA over the card below when the
	   grid stacked on mobile.) */
}
.za-package {
	position: relative;
	background: var(--za-white);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-panel);
	padding: 2rem 1.6rem;
	display: flex;
	flex-direction: column;
}
.za-package.is-featured {
	border-color: var(--za-navy);
	box-shadow: 0 18px 44px -28px rgba(var(--za-navy-rgb), 0.55);
}
.za-package-flag {
	position: absolute;
	top: -11px;
	left: 1.6rem;
	background: var(--za-navy);
	color: var(--za-white);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.32rem 0.7rem;
	border-radius: var(--za-radius-xs);
}
.za-package h3 {
	font-family: var(--za-font-heading);
	font-size: 1.2rem;
	margin: 0 0 0.35rem;
	color: var(--za-navy);
}
/* Taglines and audience lines wrap to one or two lines depending on the
   package, which would leave each card's divider — and therefore each
   feature list — starting at a different height. Reserving two lines for
   both keeps the dividers on one line across the row. */
.za-package-tagline {
	color: var(--za-gold);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 0.75rem;
	min-height: calc(2 * 1.4 * 0.82rem);
}
.za-package-for {
	color: var(--za-slate);
	font-size: 0.85rem;
	line-height: 1.45;
	margin: 0 0 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--za-line);
	min-height: calc(2 * 1.45 * 0.85rem);
}
.za-package-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.6rem;
	flex: 1;
}
.za-package-list li {
	position: relative;
	padding-left: 1.4rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--za-navy);
}
.za-package-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 7px;
	height: 7px;
	border-radius: var(--za-radius-pill);
	background: var(--za-gold);
}
.za-package-cta {
	margin-top: auto;
	align-self: flex-start;
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--za-navy);
	text-decoration: none;
	border-bottom: 1.5px solid var(--za-gold);
	padding-bottom: 0.15rem;
}
.za-package-cta:hover { color: var(--za-gold); }
@media (max-width: 1080px) {
	.za-packages-grid { grid-template-columns: repeat(min(var(--za-cols, 4), 2), 1fr); }
}
@media (max-width: 640px) {
	.za-packages-grid { grid-template-columns: 1fr; }
}

/* ---------- Process steps ---------- */
.za-process {
	padding-top: clamp(2rem, 5vw, 3.5rem);
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.za-process-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 2rem;
	margin-top: 2rem;
}
.za-process-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--za-radius-pill);
	background: var(--za-navy);
	color: var(--za-white);
	font-family: var(--za-font-heading);
	font-size: 1.05rem;
	margin-bottom: 1rem;
}
.za-process-step h3 {
	font-family: var(--za-font-heading);
	font-size: 1.15rem;
	margin: 0 0 0.5rem;
}
.za-process-step p {
	color: var(--za-slate);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
}
@media (max-width: 860px) {
	.za-process-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.za-faq {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
/* Left edge must line up with the section heading, so the list keeps the
   container's own content width rather than being narrowed and re-centred.
   Readability is handled on the answer text instead. */
.za-faq-list {
	margin-top: 2rem;
}
.za-faq-item p {
	max-width: calc(var(--za-measure-ch) + 2ch);
}
.za-faq-item {
	border-bottom: 1px solid var(--za-line);
	padding: 1.25rem 0;
}
.za-faq-item summary {
	cursor: pointer;
	font-family: var(--za-font-heading);
	font-size: 1.05rem;
	color: var(--za-navy);
	list-style: none;
}
.za-faq-item summary::-webkit-details-marker {
	display: none;
}
.za-faq-item summary::after {
	content: var(--za-faq-open);
	float: right;
	font-family: var(--za-font-body);
	color: var(--za-gold);
}
.za-faq-item[open] summary::after {
	content: var(--za-faq-close);
}
.za-faq-item p {
	color: var(--za-slate);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0.9rem 0 0;
}
@media (max-width: 860px) {
	.za-offer-benefit-grid { grid-template-columns: 1fr; }
}

/* ---------- Blog index ---------- */
.za-blog-index {
	margin: 1rem 0 4rem;
}
/* Grid lives on the query wrapper (matching the services and areas grids), so
   the Post Template <ul> can be display:contents and the <li> become the
   grid items. */
.za-blog-index {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 1.75rem;
}
.za-blog-card {
	background: var(--za-canvas);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-md);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.za-blog-card > * {
	margin-inline: 0;
	width: 100%;
}
.za-blog-thumb img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	border-radius: var(--za-radius-md);
	display: block;
	margin-bottom: 1rem;
}
@media (max-width: 980px) {
	.za-blog-index { grid-template-columns: repeat(min(var(--za-cols, 3), 2), 1fr); }
}
@media (max-width: 640px) {
	.za-blog-index { grid-template-columns: 1fr; }
}
.za-blog-card .wp-block-post-date {
	color: var(--za-slate);
	font-size: 0.85rem;
}
.za-blog-card h3 {
	font-size: 1.35rem;
	margin: 0.4rem 0 0.6rem;
}
.za-blog-card .wp-block-post-excerpt {
	color: var(--za-slate);
	font-size: 0.98rem;
	line-height: 1.6;
}
.za-blog-card .wp-block-read-more {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--za-navy);
	text-decoration: none;
	margin-top: auto;
	padding-top: 1rem;
	width: auto;
	align-self: flex-start;
	text-align: left;
}
.za-area-index-card {
	display: flex;
	flex-direction: column;
}

/* ---------- Location & map ---------- */
.za-location {
	padding-top: clamp(3rem, 6vw, 4.5rem);
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.za-location-card {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	background: var(--za-white);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-lg);
	box-shadow: 0 20px 50px -30px rgba(var(--za-navy-rgb), 0.35);
	overflow: hidden;
}
.za-location-details {
	display: flex;
	flex-direction: column;
	padding: 2.75rem;
}
.za-location-details .za-eyebrow {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
}
.za-location-details h2 {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
}
.za-location-details h2 .za-brand-inline {
	color: var(--za-navy);
	font-family: var(--za-font-heading);
}
.za-location-details h2 .za-brand-mark {
	vertical-align: -0.1em;
}
.za-location-lede {
	color: var(--za-slate);
	font-size: 0.98rem;
	line-height: 1.6;
	margin: 0 0 1.75rem;
	max-width: calc(var(--za-measure-ch) - 28ch);
}
.za-location-item {
	margin-bottom: 1.1rem;
}
.za-location-item h3 {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--za-slate);
	margin: 0 0 0.3rem;
	font-weight: 600;
}
.za-location-item p {
	margin: 0;
	font-size: 0.96rem;
	color: var(--za-navy);
	line-height: 1.5;
}
.za-location-item a {
	color: var(--za-navy);
	text-decoration: none;
}
.za-location-directions {
	display: inline-block;
	margin-top: 0.6rem;
	align-self: flex-start;
	color: var(--za-navy);
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	border-bottom: 1.5px solid var(--za-gold);
	padding-bottom: 0.15rem;
}
.za-location-directions:hover {
	color: var(--za-gold);
}

.za-location-map-wrap {
	display: flex;
	flex-direction: column;
	border-left: 1px solid var(--za-line);
}
.za-location-map-bar {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.25rem;
	background: var(--za-navy);
	color: var(--za-white);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}
.za-location-map-dot {
	width: 8px;
	height: 8px;
	border-radius: var(--za-radius-pill);
	background: var(--za-gold-bright);
	flex-shrink: 0;
}
.za-location-map {
	position: relative;
	flex: 1;
	min-height: 320px;
}
.za-location-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	filter: var(--za-map-filter);
}
.za-location-map-tint {
	position: absolute;
	inset: 0;
	background: var(--za-navy);
	opacity: var(--za-map-tint);
	mix-blend-mode: multiply;
	pointer-events: none;
}
.za-location-pin {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -100%);
	width: 34px;
	height: 34px;
	border-radius: var(--za-radius-pill) var(--za-radius-pill) var(--za-radius-pill) var(--za-radius-xs);
	background: var(--za-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	transform-origin: bottom center;
	rotate: -45deg;
	box-shadow: 0 6px 14px rgba(var(--za-navy-rgb), 0.4);
	pointer-events: none;
}
.za-location-pin svg {
	rotate: 45deg;
}
@media (max-width: 860px) {
	.za-location-card { grid-template-columns: 1fr; }
	.za-location-map-wrap { border-left: none; border-top: 1px solid var(--za-line); }
	.za-location-map { min-height: 260px; }
	.za-location-map iframe { min-height: 260px; }
}

/* ---------- Contact ---------- */
.za-contact {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.za-contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 3rem;
	margin-top: 2.5rem;
	align-items: start;
}
.za-contact-form {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.za-contact-form label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--za-navy);
	margin-top: 0.9rem;
}
.za-contact-form label span {
	font-weight: 400;
	color: var(--za-slate);
}
.za-contact-form input,
.za-contact-form textarea {
	font-family: var(--za-font-body);
	font-size: 0.95rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-sm);
	background: var(--za-white);
	color: var(--za-navy);
}
.za-contact-form input:focus,
.za-contact-form textarea:focus {
	outline: 2px solid var(--za-navy);
	outline-offset: 1px;
}
.za-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.za-form-submit {
	margin-top: 1.5rem;
	align-self: flex-start;
	background: var(--za-navy);
	color: var(--za-white);
	border: none;
	border-radius: var(--za-radius-button);
	padding: 0.9rem 1.75rem;
	font-family: var(--za-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
}
.za-form-submit:hover {
	background: var(--za-navy-light);
}
.za-form-notice {
	padding: 0.9rem 1.1rem;
	border-radius: var(--za-radius-sm);
	font-size: 0.9rem;
	margin-bottom: 1.25rem;
}
.za-form-success {
	background: var(--za-success-bg);
	color: var(--za-success);
	border: 1px solid var(--za-success-line);
}
.za-form-error {
	background: var(--za-error-bg);
	color: var(--za-error);
	border: 1px solid var(--za-error-line);
}
.za-contact-details {
	background: var(--za-canvas);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-md);
	padding: 2rem;
}
.za-contact-details-title {
	font-family: var(--za-font-heading);
	font-weight: var(--za-heading-weight);
	font-size: 1.25rem;
	color: var(--za-navy);
	margin: 0 0 0.5rem;
}
.za-contact-details-lede {
	color: var(--za-slate);
	font-size: 0.9rem;
	line-height: 1.55;
	margin: 0 0 1.5rem;
}
.za-contact-action {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.85rem 1rem;
	margin-bottom: 0.6rem;
	background: var(--za-white);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-sm);
	text-decoration: none;
	transition: border-color var(--za-ease-fast) ease;
}
.za-contact-action:hover {
	border-color: var(--za-navy);
}
.za-contact-action.is-primary {
	border-color: var(--za-navy);
}
.za-contact-action-label {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--za-slate);
	font-weight: 600;
}
.za-contact-action-value {
	font-size: 0.98rem;
	color: var(--za-navy);
	font-weight: 500;
}
@media (prefers-reduced-motion: reduce) {
	.za-contact-action { transition: none; }
}
.za-contact-item {
	margin-bottom: 1.5rem;
}
.za-contact-item h3 {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--za-slate);
	margin: 0 0 0.35rem;
}
.za-contact-item p {
	margin: 0;
	font-size: 1rem;
	color: var(--za-navy);
	line-height: 1.5;
}
.za-contact-item a {
	color: var(--za-navy);
	text-decoration: none;
}
.za-calendly-cta {
	display: inline-block;
	margin-top: 0.5rem;
	background: var(--za-navy);
	color: var(--za-white);
	text-decoration: none;
	padding: 0.85rem 1.4rem;
	border-radius: var(--za-radius-button);
	font-size: 0.9rem;
	font-weight: 600;
}
.za-calendly-cta:hover {
	background: var(--za-navy-light);
}
@media (max-width: 860px) {
	.za-contact-grid { grid-template-columns: 1fr; }
}

/* ---------- About story ---------- */
.za-about-story {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: 1rem;
}
.za-values-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}
.za-value h3 {
	font-family: var(--za-font-heading);
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
	color: var(--za-navy);
}
.za-value p {
	color: var(--za-slate);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0;
}
@media (max-width: 860px) {
	.za-values-grid { grid-template-columns: 1fr; }
}

/* ---------- Credentials ---------- */
.za-credentials {
	margin-top: 2.5rem;
	padding: 1.75rem 2rem;
	background: var(--za-canvas);
	border-left: var(--za-rule-h) solid var(--za-gold);
	border-radius: var(--za-radius-sm);
}
.za-credentials h3 {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--za-slate);
	margin: 0 0 0.9rem;
	font-weight: 600;
}
.za-credentials ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}
.za-credentials li {
	font-size: 0.92rem;
	color: var(--za-navy);
	line-height: 1.5;
}

/* ---------- Team ---------- */
.za-team {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.za-team-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
.za-team-card {
	background: var(--za-canvas);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-md);
	padding: 2rem;
}
.za-team-photo {
	width: 84px;
	height: 84px;
	border-radius: var(--za-radius-pill);
	overflow: hidden;
	margin-bottom: 1.1rem;
	background: var(--za-line);
}
.za-team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}
.za-team-avatar {
	width: 56px;
	height: 56px;
	border-radius: var(--za-radius-pill);
	background: var(--za-navy);
	color: var(--za-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--za-font-heading);
	font-size: 1.1rem;
	margin-bottom: 1.1rem;
}
.za-team-card h3 {
	font-family: var(--za-font-heading);
	font-size: 1.15rem;
	margin: 0 0 0.2rem;
}
.za-team-role {
	color: var(--za-gold);
	font-size: 0.85rem;
	font-weight: 600;
	margin: 0 0 0.85rem;
}
.za-team-bio {
	color: var(--za-slate);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0;
}
@media (max-width: 980px) {
	.za-team-grid { grid-template-columns: repeat(min(var(--za-cols, 3), 2), 1fr); }
}
@media (max-width: 640px) {
	.za-team-grid { grid-template-columns: 1fr; }
}

/* ---------- Area / location pages ---------- */
.za-area-hero {
	padding-top: clamp(2.5rem, 5vw, 4rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}
.za-area-postcodes {
	color: var(--za-slate);
	font-size: 0.9rem;
	margin: -0.5rem 0 1.5rem;
}
/* The hero is centred, so its button must be too — buttons are a flex
   container and don't inherit text-align. */
.za-area-hero .wp-block-buttons {
	justify-content: center;
}
.za-area-intro {
	padding-top: 2.5rem;
	padding-bottom: 1rem;
}
.za-area-nearby {
	padding-top: 2rem;
	padding-bottom: 3rem;
}
.za-area-nearby-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}
.za-area-nearby-link {
	padding: 0.6rem 1.1rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-pill);
	font-size: 0.88rem;
	color: var(--za-navy);
	text-decoration: none;
}
.za-area-nearby-link:hover {
	background: var(--za-canvas);
}
.za-area-index {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
	gap: 1.5rem;
	margin: 2rem 0 4rem;
}
.za-area-index-card {
	background: var(--za-canvas);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-md);
	padding: 1.75rem;
}
.za-area-index-card h3 {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
}
@media (max-width: 980px) {
	.za-area-index { grid-template-columns: repeat(min(var(--za-cols, 3), 2), 1fr); }
}
@media (max-width: 640px) {
	.za-area-index { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */
.za-404 {
	padding-top: 5rem;
	padding-bottom: 5rem;
	text-align: center;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.za-hero-eyebrow,
	.za-hero-title,
	.za-hero-sub,
	.za-hero-ctas,
	.za-hero-chip,
	.za-scene,
	.za-scene-caption,
	.za-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ==========================================================================
   Section rhythm — intentionally last in the file
   These override the per-section padding declared further up, so they must
   come after them in source order rather than fight on specificity.
   ========================================================================== */

/* Top-level sections butt directly against each other. Core's layout adds a
   24px block gap between siblings, which shows as a seam wherever two
   coloured bands meet. The selector is class-based to outweigh core's own
   `.wp-container-… > :where(…)` rule. Vertical space comes from each
   section's padding instead. */
main.wp-block-group > *,
.za-page-content.wp-block-post-content > *,
footer.wp-block-template-part > *,
.wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* Generous bands: content-heavy sections. */
.za-services,
.za-why,
.za-packages,
.za-testimonials,
.za-faq,
.za-team,
.za-about-story,
.za-related,
.za-offer-who,
.za-offer-benefits {
	padding-top: calc(clamp(3rem, 6vw, 5rem) * var(--za-space));
	padding-bottom: calc(clamp(3rem, 6vw, 5rem) * var(--za-space));
}

/* Tighter bands: supporting sections. */
.za-process,
.za-stats,
.za-location,
.za-area-nearby,
.za-cta-final,
.za-offer-final,
.za-service-body,
.za-area-intro {
	padding-top: calc(clamp(2.5rem, 4.5vw, 4rem) * var(--za-space));
	padding-bottom: calc(clamp(2.5rem, 4.5vw, 4rem) * var(--za-space));
}

/* Compact band: the logo strip. */
.za-trust-bar {
	padding-top: calc(clamp(1.75rem, 3vw, 2.75rem) * var(--za-space));
	padding-bottom: calc(clamp(1.75rem, 3vw, 2.75rem) * var(--za-space));
}

/* Page/post title blocks lead straight into their content. */
.za-page-title-wrap {
	padding-top: calc(clamp(2.5rem, 4.5vw, 3.5rem) * var(--za-space));
	padding-bottom: 0.5rem;
}

/* Long-form bodies need their own breathing room: they sit directly between
   a title block above and the location/footer bands below. */
.za-post-body {
	padding-top: calc(clamp(2rem, 3.5vw, 2.75rem) * var(--za-space));
	padding-bottom: calc(clamp(2.5rem, 4.5vw, 4rem) * var(--za-space));
}
/* Pages whose content is plain prose (Privacy Policy and similar) need a
   closing gap before the next band. Pages composed of full-width section
   patterns already end with a padded section, so they are excluded — the
   :has() test simply does nothing on browsers without support, which leaves
   today's spacing rather than breaking anything. */
.za-page-content:not(:has(> section)) {
	padding-bottom: calc(clamp(2.5rem, 4.5vw, 4rem) * var(--za-space));
}

/* ==========================================================================
   Mobile refinement — deliberately last in the cascade
   ========================================================================== */

/* iOS inflates text in landscape unless told not to. */
html {
	-webkit-text-size-adjust: 100%;
}

/* iOS Safari zooms the whole page when a focused input's text is under
   16px. The desktop 0.95rem is fine with a mouse; on touch it makes the
   contact form "jump". */
@media (max-width: 782px) {
	.za-contact-form input,
	.za-contact-form textarea {
		font-size: 1rem;
	}
}


/* --- touch ergonomics ---------------------------------------------------- */
.za-faq-item summary {
	padding-top: 0.55rem;             /* row now clears 44px */
	padding-bottom: 0.55rem;
}
.za-footer-col li a {
	display: inline-block;
	padding: 0.3rem 0;
}

/* --- stacked, full-width CTAs on phones ---------------------------------- */
@media (max-width: 485px) {
	.za-hero-ctas .wp-block-button,
	.za-404 .wp-block-buttons .wp-block-button {
		width: 100%;
	}
	.za-hero-ctas .wp-block-button__link,
	.za-404 .wp-block-buttons .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
	.za-hero-chips {
		width: 100%;
	}
	.za-hero-chip {
		flex: 1 1 auto;
		text-align: center;
	}
}

/* --- small-screen component tiers ---------------------------------------- */
@media (max-width: 485px) {
	.za-location-details {
		padding: 1.5rem;
	}
	.za-location-map-bar {
		font-size: 0.74rem;
		padding: 0.7rem 1rem;
	}
	.za-location-map,
	.za-location-map iframe {
		min-height: 240px;
	}
}
@media (max-width: 380px) {
	.za-header .wp-block-site-logo img {
		max-width: 100px;
	}
	.za-header-cta .wp-block-button__link {
		font-size: 0.7rem;
		padding: 0.5rem 0.6rem;
	}
}

/* ==========================================================================
   Navigation bar refinement — last in the cascade on purpose
   ========================================================================== */

/* Skip link: invisible until keyboard-focused, then a clear pill. */
.za-skip-link:focus {
	position: fixed !important;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 0.7rem 1.2rem;
	background: var(--za-navy);
	color: var(--za-white);
	border-radius: var(--za-radius-button);
	font-weight: 600;
	z-index: 1000;
	text-decoration: none;
}

/* --- desktop links: quiet weight, gold underline that slides in, and a
   persistent underline on the page you're on (core sets aria-current). --- */
.za-header .wp-block-navigation__container {
	gap: 1.7rem;
}
.za-header .wp-block-navigation-item__content {
	position: relative;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--za-navy);
	padding: 0.35rem 0;
	text-decoration: none;
}
.za-header .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--za-gold);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--za-ease-fast) ease;
}
.za-header .wp-block-navigation-item__content:hover::after,
.za-header .wp-block-navigation-item__content:focus-visible::after,
.za-header .wp-block-navigation-item__content[aria-current="page"]::after,
.za-header .wp-block-navigation-item__content.is-current-section::after {
	transform: scaleX(1);
}
.za-header .wp-block-navigation-item__content[aria-current="page"],
.za-header .wp-block-navigation-item__content.is-current-section {
	font-weight: 600;
}

/* --- scrolled state: the sticky bar earns a shadow once content slides
   under it (class toggled in scroll-reveal.js). --- */
.za-header {
	transition: box-shadow var(--za-ease-base) ease;
}
.za-header.is-scrolled {
	box-shadow: 0 10px 28px -20px rgba(var(--za-navy-rgb), 0.45);
}

/* --- hamburger arrives earlier ---------------------------------------
   Core swaps to the overlay only below 600px, which leaves 600–1020px
   squeezing six items, a logo and a button into one row. Take the overlay
   instead across that whole range. */
@media (max-width: 1020px) {
	.za-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}
	.za-header .wp-block-navigation__responsive-container-open {
		display: flex !important;
		align-items: center;
	}
}

/* ==========================================================================
   Mobile section polish — page-by-page audit findings (kept last)
   ========================================================================== */

/* Card "Read more" links: pinned left like every other line in the card.
   (They were rendering centred — the flex-item auto margins from core's
   constrained layout win unless both margins are pinned.) */
.za-service-card .wp-block-read-more,
.za-blog-card .wp-block-read-more {
	align-self: flex-start !important;
	width: auto !important;
	margin-left: 0 !important;
	margin-right: auto !important;
	text-align: left;
}

/* FAQ rows: the "+" was floated, so on wrapped questions it sat mid-row
   at the end of the last line. Flex keeps the question (wrapped in a single
   .za-faq-q span — bare text nodes would each become flex items and
   scatter) on the left and the marker pinned top-right. */
.za-faq-item summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}
.za-faq-item summary .za-faq-q {
	flex: 1 1 auto;
	min-width: 0;
}
.za-faq-item summary::after {
	float: none;
	flex-shrink: 0;
	line-height: 1.4;
}

/* Stacked package cards don't need the two-line reservations that keep a
   desktop row's dividers level — they just read as stray gaps. */
@media (max-width: 640px) {
	.za-package-tagline,
	.za-package-for {
		min-height: 0;
	}
}

/* Final CTA card on phones: single column, text left, button full width. */
@media (max-width: 640px) {
	.za-cta-card {
		display: block;
		padding: 2rem 1.5rem;
	}
	.za-cta-card h2,
	.za-cta-card p {
		text-align: left;
		text-wrap: initial;
	}
	.za-cta-card .wp-block-buttons {
		margin-top: 1.5rem;
	}
	.za-cta-card .wp-block-button {
		width: 100%;
	}
	.za-cta-card .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
}

/* ==========================================================================
   Mobile menu overlay — complete rebuild (kept last)
   The nav block's `justifyContent: right` leaks into the overlay, pushing
   everything into a narrow right-hand column, and the close button collided
   with the first item. Everything the overlay needs lives in this block.
   ========================================================================== */
.wp-block-navigation__responsive-container-open {
	color: var(--za-navy);
}
.wp-block-navigation__responsive-container-open svg {
	width: 28px;
	height: 28px;
}

.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--za-white);
	padding: 4.5rem 1.5rem 2rem;
	animation: za-overlay-in var(--za-ease-base) ease both;
}
/* Neutralise the desktop right-justification inside the overlay. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	padding: 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	gap: 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	margin: 0;
	border-bottom: 1px solid var(--za-line);
	animation: za-overlay-item var(--za-ease-slow) ease backwards;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: calc(0.04s * 1 * var(--za-motion-scale)); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: calc(0.04s * 2 * var(--za-motion-scale)); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: calc(0.04s * 3 * var(--za-motion-scale)); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: calc(0.04s * 4 * var(--za-motion-scale)); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: calc(0.04s * 5 * var(--za-motion-scale)); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: calc(0.04s * 6 * var(--za-motion-scale)); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(7) { animation-delay: calc(0.04s * 7 * var(--za-motion-scale)); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(8) { animation-delay: calc(0.04s * 8 * var(--za-motion-scale)); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 0.95rem 0;
	font-family: var(--za-font-heading);
	font-size: 1.35rem;
	line-height: 1.3;
	color: var(--za-navy);
	text-decoration: none;
}
/* Overlay links don't need the desktop hover-underline effect. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
	display: none;
}

/* The close button is nested inside core's dialog wrapper, which is
   position:relative — that would anchor the button beside the first menu
   item instead of the overlay corner. Let it anchor to the overlay. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	position: static;
}
/* Close button: pinned clear of the items, generous target. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	position: absolute;
	top: 1rem;
	right: 1.1rem;
	padding: 0.6rem;
	color: var(--za-navy);
	z-index: 2;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 26px;
	height: 26px;
}

/* --- the two menu-only actions ---------------------------------------- */
.wp-block-navigation__responsive-container.is-menu-open .za-nav-tel {
	border-bottom: none;
	margin-top: 0.5rem;
}
.wp-block-navigation__responsive-container.is-menu-open .za-nav-tel .wp-block-navigation-item__content {
	font-family: var(--za-font-body);
	font-size: 1rem;
	font-weight: 600;
	color: var(--za-gold);
	padding: 1.1rem 0 0.9rem;
}
.wp-block-navigation__responsive-container.is-menu-open .za-nav-cta {
	border-bottom: none;
	margin-top: 0.4rem;
}
.wp-block-navigation__responsive-container.is-menu-open .za-nav-cta .wp-block-navigation-item__content {
	font-family: var(--za-font-body);
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	background: var(--za-navy);
	color: var(--za-white);
	border-radius: var(--za-radius-button);
	padding: 0.95rem 1rem;
}

/* In the desktop row these two hide — the header shows its own CTA. */
@media (min-width: 1021px) {
	.za-header .za-nav-tel,
	.za-header .za-nav-cta {
		display: none;
	}
}

@keyframes za-overlay-in {
	from { opacity: 0; transform: translateX(24px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes za-overlay-item {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-navigation__responsive-container.is-menu-open,
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		animation: none;
	}
	.za-header .wp-block-navigation-item__content::after {
		transition: none;
	}
}

/* ==========================================================================
   Hero: glass treatment + full-screen mobile (kept last)
   ========================================================================== */

/* Ambient colour field. Glass needs something soft behind it to refract —
   two barely-there radial washes, gold low-left and navy high-right. */
.za-hero {
	position: relative;
	background:
		radial-gradient(42rem 30rem at 88% 12%, rgba(var(--za-navy-rgb), 0.07), transparent 60%),
		radial-gradient(38rem 28rem at 4% 88%, rgba(var(--za-gold-muted-rgb), 0.08), transparent 60%),
		var(--za-white);
}

/* --- chips go glassy too ----------------------------------------------- */
.za-hero-chip {
	background: rgba(var(--za-white-rgb), 0.5);
	-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.625));
	backdrop-filter: blur(calc(var(--za-frost) * 0.625));
	border: 1px solid rgba(var(--za-navy-rgb), 0.14);
}

/* --- scroll cue: hidden by default, appears on the full-screen mobile hero */
.za-hero-scrollcue {
	display: none;
}

/* --- full-screen mobile hero ------------------------------------------- */
@media (max-width: 700px) {
	/* The overview card sits beneath the copy at full width on phones. */
	.za-hero-stage {
		margin-top: 0.5rem;
	}

	/* The hero owns the first viewport: header-height subtracted, content
	   vertically centred, message first. */
	.za-hero {
		padding-top: 0;
		padding-bottom: 0;
		background:
			radial-gradient(30rem 24rem at 90% 6%, rgba(var(--za-navy-rgb), 0.09), transparent 62%),
			radial-gradient(26rem 22rem at 0% 100%, rgba(var(--za-gold-muted-rgb), 0.1), transparent 62%),
			var(--za-white);
	}
	.za-hero-split {
		grid-template-columns: 1fr;
		gap: 0;
		min-height: calc(100vh - var(--za-header-h));
		min-height: calc(100svh - var(--za-header-h));
		align-content: center;
		padding: 4.5rem 0 5.5rem;
		box-sizing: border-box;
	}
	.za-hero-title {
		font-size: clamp(2.2rem, 9vw, 2.6rem);
	}
	.za-hero-sub {
		font-size: 1.02rem;
	}
	.za-hero-ctas {
		margin-bottom: 1.6rem;
	}

	.za-hero-scrollcue {
		display: flex;
		position: absolute;
		left: 50%;
		bottom: 1.4rem;
		transform: translateX(-50%);
		width: 38px;
		height: 38px;
		align-items: center;
		justify-content: center;
		border-radius: var(--za-radius-pill);
		color: var(--za-gold);
		background: rgba(var(--za-white-rgb), 0.55);
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.625));
		backdrop-filter: blur(calc(var(--za-frost) * 0.625));
		border: 1px solid rgba(var(--za-navy-rgb), 0.14);
		animation: za-cue var(--za-cue-duration) ease-in-out infinite;
	}
	.za-hero-scrollcue svg {
		width: 15px;
		height: 15px;
	}
}
@keyframes za-cue {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50%      { transform: translateX(-50%) translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
	.za-hero-scrollcue {
		animation: none;
	}
}

/* ==========================================================================
   Sitewide glass system (kept last)
   Ambient washes give every canvas section something for glass to refract;
   card surfaces become frosted. Everything lives inside @supports so
   browsers without backdrop-filter keep today's solid look untouched.
   ========================================================================== */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {

	/* soft colour fields behind glassed sections */
	.za-trust-bar,
	.za-services,
	.za-packages,
	.za-testimonials,
	.za-faq,
	.za-why,
	.za-team,
	.za-related,
	.za-offer-benefits,
	.za-location {
		background:
			radial-gradient(40rem 26rem at 92% 0%, rgba(var(--za-navy-rgb), 0.05), transparent 60%),
			radial-gradient(34rem 24rem at 2% 100%, rgba(var(--za-gold-muted-rgb), 0.06), transparent 60%),
			var(--za-canvas);
	}
	.za-about-story,
	.za-process,
	.za-area-intro {
		background:
			radial-gradient(36rem 24rem at 96% 10%, rgba(var(--za-navy-rgb), 0.04), transparent 60%),
			var(--za-white);
	}

	/* frosted light surfaces */
	.za-service-card,
	.za-blog-card,
	.za-area-index-card,
	.za-team-card,
	.za-testimonial-card,
	.za-package,
	.za-offer-benefit,
	.za-contact-details,
	.za-contact-action,
	.za-location-card {
		background: rgba(var(--za-white-rgb), 0.55);
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.75)) saturate(1.3);
		backdrop-filter: blur(calc(var(--za-frost) * 0.75)) saturate(1.3);
		border-color: rgba(var(--za-white-rgb), 0.7);
		box-shadow:
			0 18px 44px -30px rgba(var(--za-navy-rgb), 0.3),
			inset 0 1px 0 rgba(var(--za-white-rgb), 0.7);
	}
	.za-package.is-featured {
		border-color: rgba(var(--za-navy-rgb), 0.55);
	}

	/* frosted navy surfaces */
	.za-stats,
	.za-cta-card,
	.za-offer-hero,
	.za-offer-final,
	.za-location-map-bar {
		background-color: rgba(var(--za-navy-rgb), 0.88);
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.625));
		backdrop-filter: blur(calc(var(--za-frost) * 0.625));
	}

	/* Glass chrome: sticky header + mobile menu overlay.

	   The blur lives on a pseudo-element, never on .za-header itself. An
	   element with backdrop-filter becomes the containing block for its
	   position:fixed descendants — and the mobile menu overlay is a fixed
	   descendant of the header. Blurring the header directly collapsed the
	   full-screen overlay into the header's own 76px-tall box, so the menu
	   "opened" as a sliver. The pseudo-element has no descendants, so it
	   carries the same glass without trapping anything.

	   The background colour moves onto the pseudo too: backdrop-filter blurs
	   whatever is painted *behind* the element, so leaving the translucent
	   white on the header would have the blur sampling that flat fill instead
	   of the page scrolling underneath. */
	.za-header {
		background: transparent;
		border-bottom-color: rgba(var(--za-navy-rgb), 0.08);
	}
	.za-header::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: rgba(var(--za-white-rgb), 0.72);
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.875)) saturate(1.4);
		backdrop-filter: blur(calc(var(--za-frost) * 0.875)) saturate(1.4);
		pointer-events: none;
	}
	.wp-block-navigation__responsive-container.is-menu-open {
		background: rgba(var(--za-canvas-rgb), 0.82);
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 1.125)) saturate(1.4);
		backdrop-filter: blur(calc(var(--za-frost) * 1.125)) saturate(1.4);
	}
}

/* ==========================================================================
   Brand reinforcement — the Z, the gold, everywhere it earns its place
   ========================================================================== */

/* Eyebrows carry the ledger-cut Z as their bullet. */
.za-eyebrow::before {
	content: "";
	display: inline-block;
	width: 0.85em;
	height: 0.8em;
	margin-right: 0.5em;
	vertical-align: -0.08em;
	background: var(--za-mark-url-gold) no-repeat center / contain;
}

/* Section headings that follow an eyebrow earn a short gold rule —
   the same stroke as the nav underline and the card's bookkeeping rules. */
.za-eyebrow + h2::after,
.za-eyebrow + .wp-block-heading::after {
	content: "";
	display: block;
	width: var(--za-rule-w);
	height: var(--za-rule-h);
	margin-top: 0.65rem;
	background: var(--za-gold);
	border-radius: var(--za-radius-xs);
}

/* Ghost Z watermark on the navy bands. */
.za-cta-card,
.za-stats {
	position: relative;
	overflow: hidden;
}
.za-cta-card::before,
.za-stats::before {
	content: "";
	position: absolute;
	right: -3%;
	top: 50%;
	width: 290px;
	height: 287px;
	transform: translateY(-50%) rotate(-6deg);
	background: var(--za-mark-url) no-repeat center / contain;
	opacity: calc(var(--za-mark-opacity) * 1.25);
	pointer-events: none;
}
.za-cta-card > *,
.za-stats > * {
	position: relative;
}

/* Branded text selection and keyboard focus. */
::selection {
	background: rgba(var(--za-gold-muted-rgb), 0.28);
}
:focus-visible {
	outline: 2px solid var(--za-gold);
	outline-offset: 2px;
}

/* ==========================================================================
   Visual richness pass — icons, ghost numbers, avatars, connectors, photos
   Sits last in the cascade on purpose: several rules re-tune earlier generic
   card rules (e.g. the `> *` width reset inside .za-service-card).
   ========================================================================== */

/* ---------- Service cards: brand icon + ghost number ---------- */
.za-service-card {
	position: relative;
	overflow: hidden;
}
.za-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--za-radius-pill);
	background: rgba(var(--za-white-rgb), 0.85);
	border: 1px solid var(--za-line);
	box-shadow: 0 4px 14px rgba(var(--za-navy-rgb), 0.06);
	margin-bottom: 1.1rem;
	transition: transform var(--za-ease-base) ease, box-shadow var(--za-ease-base) ease;
}
.za-service-icon svg {
	width: 26px;
	height: 26px;
	display: block;
}
.za-service-card:hover .za-service-icon {
	transform: translateY(calc(var(--za-lift) * 0.5));
	box-shadow: 0 8px 20px rgba(var(--za-navy-rgb), 0.1);
}
/* Oversized ledger-folio numeral, ghosted into the top-right corner. */
.za-service-num {
	position: absolute;
	top: 0.4rem;
	right: 1rem;
	width: auto;
	font-family: var(--za-font-heading);
	font-size: 3.4rem;
	line-height: 1;
	color: var(--za-navy);
	opacity: 0.06;
	pointer-events: none;
	user-select: none;
}

/* ---------- Gold top-edge hover sweep on cards ---------- */
.za-service-card,
.za-blog-card,
.za-area-index-card,
.za-offer-benefit {
	position: relative;
	overflow: hidden;
}
.za-service-card::before,
.za-blog-card::before,
.za-area-index-card::before,
.za-offer-benefit::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--za-rule-h);
	background: linear-gradient(90deg,
		var(--za-gold),
		var(--za-gold-bright));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--za-ease-slow) ease;
	pointer-events: none;
}
.za-service-card:hover::before,
.za-blog-card:hover::before,
.za-area-index-card:hover::before,
.za-offer-benefit:hover::before {
	transform: scaleX(1);
}

/* Read-more arrow nudges right as the card is hovered. */
.za-service-card .wp-block-read-more,
.za-blog-card .wp-block-read-more {
	transition: color var(--za-ease-base) ease, transform var(--za-ease-base) ease;
}
.za-service-card:hover .wp-block-read-more,
.za-blog-card:hover .wp-block-read-more {
	color: var(--za-gold);
	transform: translateX(calc(var(--za-lift) * -1));
}

/* ---------- Testimonials: quote glyph + initial avatars ---------- */
.za-testimonial-card {
	position: relative;
	overflow: hidden;
	padding-top: 2.6rem;
}
.za-testimonial-mark {
	position: absolute;
	top: 0.2rem;
	left: 1.4rem;
	font-family: var(--za-font-heading);
	font-size: 4.6rem;
	line-height: 1;
	color: var(--za-gold);
	opacity: 0.22;
	pointer-events: none;
	user-select: none;
}
.za-testimonial-card figcaption {
	flex-direction: row;
	align-items: center;
	gap: 0.8rem;
	border-top: 1px solid var(--za-line);
	padding-top: 1rem;
}
.za-testimonial-avatar {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: var(--za-radius-pill);
	background: var(--za-navy);
	color: var(--za-gold-bright);
	font-family: var(--za-font-heading);
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}
.za-testimonial-meta {
	display: flex;
	flex-direction: column;
}

/* ---------- Process steps: gold connector thread ---------- */
.za-process-step {
	position: relative;
}
/* A dotted gold thread runs from each step's numbered disc back to the
   previous one — the work handed along. Desktop rows only; the thread makes
   no sense once the steps stack. */
@media (min-width: 861px) {
	.za-process-step + .za-process-step::before {
		content: "";
		position: absolute;
		top: 1.125rem; /* centre of the 2.25rem number disc */
		left: -2rem;   /* spans the 2rem grid gap */
		width: 2rem;
		border-top: 2px dotted var(--za-gold);
		opacity: 0.55;
	}
}

/* ---------- About: lead copy beside a real photo ---------- */
/* Single column until a photo is actually chosen, otherwise the copy sits in
   a 7fr column with an empty 5fr hole beside it. */
.za-about-lead {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	margin-top: 0.5rem;
}
.za-about-lead-copy p {
	color: var(--za-slate);
}
.za-about-lead-copy p:first-child {
	font-size: var(--wp--preset--font-size--large, 1.2rem);
}
.za-about-photo {
	margin: 0;
	position: relative;
}
.za-about-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--za-radius-md);
	box-shadow: 0 18px 44px rgba(var(--za-navy-rgb), 0.16);
}
/* Gold ledger-corner behind the photo — the brand's rule, made physical. */
.za-about-photo::before {
	content: "";
	position: absolute;
	top: -10px;
	right: -10px;
	width: 40%;
	height: 55%;
	border-top: var(--za-rule-h) solid var(--za-gold);
	border-right: var(--za-rule-h) solid var(--za-gold);
	border-radius: 0 var(--za-radius-md) 0 0;
	pointer-events: none;
}
@media (max-width: 860px) {
	.za-about-lead { grid-template-columns: 1fr; }
	.za-about-photo { margin-top: 0.5rem; }
	.za-about-photo::before { top: -8px; right: -6px; }
}
@media (max-width: 860px) {
	.za-offer-who-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion: hover choreography stands down ---------- */
@media (prefers-reduced-motion: reduce) {
	.za-service-card::before,
	.za-blog-card::before,
	.za-area-index-card::before,
	.za-offer-benefit::before,
	.za-service-icon,
	.za-service-card .wp-block-read-more,
	.za-blog-card .wp-block-read-more {
		transition: none;
	}
	.za-service-card:hover .wp-block-read-more,
	.za-blog-card:hover .wp-block-read-more,
	.za-service-card:hover .za-service-icon {
		transform: none;
	}
}

/* ==========================================================================
   Mobile hero — "The Night Ledger"
   On phones the hero flips to a full-screen navy scene: the ledger rain runs
   full-bleed behind the copy (gold + frost glyphs, low density), and the
   client-overview card sits beneath the copy at full width. Desktop (>700px)
   is untouched: the mobile canvas stays display:none there.
   ========================================================================== */
.za-rain-m {
	display: none;
}
/* The mobile canvas sits before the split in the markup, which makes the
   split a "second child" and hands it core's flow-layout sibling margin —
   the canvas is absolutely positioned, so that margin is pure phantom. */
.za-hero .za-hero-split {
	margin-block-start: 0 !important;
}

@media (max-width: 700px) {

	/* --- the scene: deep navy, gold glow, ghost Z --------------------- */
	.za-hero {
		overflow: hidden;
		background:
			radial-gradient(24rem 20rem at 88% 0%, rgba(var(--za-gold-bright-rgb), 0.18), transparent 62%),
			radial-gradient(30rem 24rem at 0% 100%, rgba(var(--za-navy-light-rgb), 0.85), transparent 70%),
			var(--za-navy-gradient);
	}
	.za-hero::before {
		content: "";
		position: absolute;
		right: -14%;
		bottom: 4%;
		width: 300px;
		height: 297px;
		transform: rotate(-6deg);
		background: var(--za-mark-url) no-repeat center / contain;
		opacity: var(--za-mark-opacity);
		pointer-events: none;
	}

	/* --- the rain, full-bleed behind everything ----------------------- */
	.za-rain-m {
		display: block;
		position: absolute;
		inset: 0;
		pointer-events: none;
	}
	.za-hero-split {
		position: relative;
		z-index: 1;
	}

	/* --- copy goes light on dark -------------------------------------- */
	.za-hero .za-hero-eyebrow {
		color: var(--za-gold-bright) !important;
	}
	.za-hero-title {
		color: var(--za-white);
	}
	.za-hero-sub {
		color: rgba(var(--za-frost-rgb), 0.86);
		margin-bottom: 1.5rem;
	}

	/* Everything — copy, CTAs, receipt — must fit one phone screen with the
	   scroll cue clear beneath, so the vertical rhythm tightens a step. */
	.za-hero-split {
		padding: 1.2rem 0 2.4rem;
	}
	.za-hero-ctas {
		margin-bottom: 0;
	}
	.za-hero .za-hero-title {
		font-size: clamp(1.9rem, 7.8vw, 2.2rem);
		margin-bottom: 0.55rem;
	}
	.za-hero .za-hero-sub {
		font-size: 0.94rem;
		line-height: 1.5;
		margin-bottom: 0.85rem;
	}
	.za-hero-ctas .wp-block-button__link {
		padding-top: 0.6rem;
		padding-bottom: 0.6rem;
	}

	/* Primary CTA turns gold on navy; secondary becomes glass. The preset
	   colour classes carry !important, so these must too. */
	.za-hero-ctas .wp-block-button__link.has-navy-background-color {
		background: var(--za-gold-gradient) !important;
		color: var(--za-navy) !important;
		border: 0;
	}
	.za-hero-ctas .is-style-outline .wp-block-button__link {
		color: var(--za-white) !important;
		border-color: rgba(var(--za-white-rgb), 0.38) !important;
		background: rgba(var(--za-white-rgb), 0.06) !important;
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.5));
		backdrop-filter: blur(calc(var(--za-frost) * 0.5));
	}

	/* The chips' facts are carried by the overview card — retire them on phones. */
	.za-hero-chips {
		display: none;
	}

	/* --- scroll cue joins the dark scene ------------------------------ */
	.za-hero-scrollcue {
		background: rgba(var(--za-white-rgb), 0.08);
		border-color: rgba(var(--za-white-rgb), 0.2);
		color: var(--za-gold-bright);
	}
}

/* ==========================================================================
   Night Ledger — desktop
   The mobile hero's navy scene, promoted to every screen: dark glass, gold
   CTAs, the rain in gold-and-frost. Scoped >700px because mobile already carries
   its own rendition above; kept last so it outranks the light-hero rules and
   the sitewide glass block.
   ========================================================================== */
@media (min-width: 701px) {

	.za-hero {
		background:
			radial-gradient(42rem 30rem at 88% 8%, rgba(var(--za-gold-bright-rgb), 0.16), transparent 62%),
			radial-gradient(38rem 30rem at 0% 100%, rgba(var(--za-navy-light-rgb), 0.85), transparent 70%),
			var(--za-navy-gradient);
	}
	.za-hero::before {
		content: "";
		position: absolute;
		left: -6%;
		bottom: -14%;
		width: 420px;
		height: 416px;
		transform: rotate(-6deg);
		background: var(--za-mark-url) no-repeat center / contain;
		opacity: var(--za-mark-opacity);
		pointer-events: none;
	}

	.za-hero .za-hero-eyebrow {
		color: var(--za-gold-bright) !important;
	}
	.za-hero-title {
		color: var(--za-white);
	}
	.za-hero-sub {
		color: rgba(var(--za-frost-rgb), 0.86);
	}

	.za-hero-ctas .wp-block-button__link.has-navy-background-color {
		background: var(--za-gold-gradient) !important;
		color: var(--za-navy) !important;
		border: 0;
	}
	.za-hero-ctas .is-style-outline .wp-block-button__link {
		color: var(--za-white) !important;
		border-color: rgba(var(--za-white-rgb), 0.38) !important;
		background: rgba(var(--za-white-rgb), 0.06) !important;
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.5));
		backdrop-filter: blur(calc(var(--za-frost) * 0.5));
	}

	.za-hero-chip {
		background: rgba(var(--za-white-rgb), 0.07);
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.625));
		backdrop-filter: blur(calc(var(--za-frost) * 0.625));
		border-color: rgba(var(--za-white-rgb), 0.2);
		color: rgba(var(--za-frost-rgb), 0.85);
	}

}

/* ==========================================================================
   Night bands — the hero's language, sitewide
   Every page header and every navy band now speaks the Night Ledger dialect:
   the same navy gradient, gold glow, ghost Z, gold-on-dark eyebrows, gold
   primary buttons. One selector list defines the club; kept last so it
   outranks the preset background/colour classes baked into the markup.
   ========================================================================== */
.za-page-title-wrap,
.za-area-hero,
.za-service-hero,
.za-archive-hero,
.za-offer-hero,
.za-offer-final,
.za-stats,
.za-cta-card {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(30rem 22rem at 88% 0%, rgba(var(--za-gold-bright-rgb), 0.14), transparent 62%),
		radial-gradient(28rem 22rem at 0% 100%, rgba(var(--za-navy-light-rgb), 0.85), transparent 70%),
		var(--za-navy-gradient) !important;
}

/* Ghost Z on the bands that don't already carry one (.za-stats and
   .za-cta-card get theirs from the brand block above). */
.za-page-title-wrap::before,
.za-area-hero::before,
.za-service-hero::before,
.za-archive-hero::before,
.za-offer-hero::before,
.za-offer-final::before {
	content: "";
	position: absolute;
	right: -4%;
	top: 50%;
	width: 250px;
	height: 248px;
	transform: translateY(-50%) rotate(-6deg);
	background: var(--za-mark-url) no-repeat center / contain;
	opacity: var(--za-mark-opacity);
	pointer-events: none;
}
.za-page-title-wrap > *,
.za-area-hero > *,
.za-service-hero > *,
.za-archive-hero > *,
.za-offer-hero > *,
.za-offer-final > * {
	position: relative;
}

/* Title bands become real bands, not a caption above white space. */
.za-page-title-wrap,
.za-archive-hero {
	padding-top: clamp(2.75rem, 5vw, 4rem);
	padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
	margin-bottom: 0;
}

/* --- ink on the night bands ---------------------------------------------- */
.za-page-title-wrap h1,
.za-page-title-wrap h2,
.za-area-hero h1,
.za-service-hero h1,
.za-archive-hero h1,
.za-page-title-wrap .wp-block-post-title {
	color: var(--za-white);
}
/* Slate-preset copy (intros, dates, excerpts, postcodes) reads light here. */
.za-page-title-wrap .has-slate-color,
.za-area-hero .has-slate-color,
.za-service-hero .has-slate-color,
.za-archive-hero .has-slate-color,
.za-page-title-wrap .wp-block-post-date,
.za-page-title-wrap .wp-block-post-author-name {
	color: rgba(var(--za-frost-rgb), 0.82) !important;
}
.za-area-postcodes {
	color: rgba(var(--za-frost-rgb), 0.75);
}
/* Gold eyebrows step up to the on-dark gold. */
.za-page-title-wrap .za-eyebrow,
.za-area-hero .za-eyebrow,
.za-service-hero .za-eyebrow,
.za-archive-hero .za-eyebrow {
	color: var(--za-gold-bright) !important;
}

/* --- buttons on the night bands ------------------------------------------ */
.za-area-hero .wp-block-button__link.has-navy-background-color,
.za-service-hero .wp-block-button__link.has-navy-background-color {
	background: var(--za-gold-gradient) !important;
	color: var(--za-navy) !important;
	border: 0;
}

/* Service hero's photo sits on dark glass now — give it lift. */
.za-service-hero .za-service-image img {
	box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.55);
}

/* Archive hero hands straight over to its grid. */
.za-archive-hero + .za-services {
	padding-top: clamp(2rem, 4vw, 3rem);
}

/* --- night-band refinements ---------------------------------------------- */
/* Title bands whose parent <main> is constrained render as a 1200px box with
   white gutters — break them out to full bleed; their own constrained layout
   re-centres the content. (The !importants counter core's auto margins.) */
.za-page-title-wrap,
.za-offer-hero {
	max-width: none !important;
	width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}
/* Content inside the freed bands keeps the page gutter on narrow screens. */
.za-page-title-wrap,
.za-offer-hero {
	padding-left: var(--wp--style--root--padding-left, 1.25rem);
	padding-right: var(--wp--style--root--padding-right, 1.25rem);
}

/* The centred area hero centres its gold heading rule too. */
.za-area-hero .za-eyebrow + .wp-block-heading::after {
	margin-inline: auto;
}
/* Gold heading rules brighten on every night band. */
.za-page-title-wrap .za-eyebrow + .wp-block-heading::after,
.za-area-hero .za-eyebrow + .wp-block-heading::after,
.za-service-hero .za-eyebrow + .wp-block-heading::after,
.za-archive-hero .za-eyebrow + .wp-block-heading::after {
	background: var(--za-gold-bright);
}
/* The postcodes line no longer tucks under the heading — the centred gold
   rule occupies that slot now. */
.za-area-hero .za-area-postcodes {
	margin-top: 0.4rem;
}

/* ==========================================================================
   Packages — the fee schedule
   Four near-identical white cards gave the recommended tier no more weight
   than the others. The featured package now renders in the night-ledger navy
   (the same language as the hero), the "included" lists are ticked rather
   than dotted, and every card ends in a real button instead of a text link.
   Late in the cascade so it outranks the sitewide glass-card block.
   ========================================================================== */

.za-packages-grid {
	gap: 1.25rem;
	align-items: stretch;
}

.za-package {
	/* Deliberately not overflow:hidden — the "most popular" flag hangs above
	   the card's top edge, and clipping the card decapitates it. The sweep
	   below carries its own corner radius instead. */
	padding: 2.1rem 1.6rem 1.8rem;
	transition: transform var(--za-ease-slow) ease, box-shadow var(--za-ease-slow) ease;
}
/* Gold edge sweeps in on hover, matching the service and blog cards. */
.za-package::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--za-rule-h);
	border-radius: var(--za-radius-panel) var(--za-radius-panel) 0 0;
	background: linear-gradient(90deg, var(--za-gold), var(--za-gold-bright));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--za-ease-slow) ease;
	pointer-events: none;
}
/* The flag must sit above the card's own surface and its hover sweep. */
.za-package-flag {
	z-index: 2;
}
.za-package:hover {
	transform: translateY(var(--za-lift));
	box-shadow: 0 22px 46px -26px rgba(var(--za-navy-rgb), 0.4);
}
.za-package:hover::after {
	transform: scaleX(1);
}

/* Ledger folio number, ghosted into the corner. */
.za-package-index {
	position: absolute;
	top: 0.9rem;
	right: 1.1rem;
	font-family: var(--za-font-heading);
	font-size: 1.6rem;
	line-height: 1;
	color: var(--za-navy);
	opacity: 0.13;
	pointer-events: none;
	user-select: none;
}

/* --- optional price line -------------------------------------------------- */
/* Value and note each take their own line. Inline, a longer figure pushed the
   note onto a second line on some cards only, which shunted that card's
   feature list down and broke the row's alignment. */
.za-package-price {
	margin: 0 0 1.1rem;
	min-height: 3.1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
}
.za-package-price-value {
	font-family: var(--za-font-heading);
	font-size: 1.6rem;
	line-height: 1.1;
	color: var(--za-navy);
}
.za-package-price-note {
	font-size: 0.78rem;
	color: var(--za-slate);
}

/* --- "what's included" ---------------------------------------------------- */
.za-package-includes {
	margin: 0 0 0.7rem;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--za-slate);
}
.za-package-list {
	margin: 0 0 1.6rem;
	gap: 0.55rem;
}
.za-package-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding-left: 0;
	font-size: 0.88rem;
}
/* The old dot bullet is replaced by a drawn tick. */
.za-package-list li::before {
	content: none;
}
.za-package-check {
	flex: 0 0 auto;
	width: 12px;
	height: 10px;
	margin-top: 0.42em;
	color: var(--za-gold);
}

/* --- the card's button ---------------------------------------------------- */
.za-package-cta {
	margin-top: auto;
	align-self: stretch;
	text-align: center;
	padding: 0.7rem 1rem;
	border: 1.5px solid var(--za-navy);
	border-radius: var(--za-radius-button);
	background: transparent;
	color: var(--za-navy);
	font-size: 0.86rem;
	transition: background-color var(--za-ease-base) ease, color var(--za-ease-base) ease, border-color var(--za-ease-base) ease;
}
.za-package-cta:hover {
	background: var(--za-navy);
	border-color: var(--za-navy);
	color: var(--za-white);
}

/* --- the featured tier: a night-ledger card among daylight ones ----------- */
.za-package.is-featured {
	background:
		radial-gradient(20rem 16rem at 100% 0%, rgba(var(--za-gold-bright-rgb), 0.16), transparent 60%),
		linear-gradient(180deg, var(--za-navy) 0%, var(--za-navy-deep) 100%);
	border-color: rgba(var(--za-white-rgb), 0.14);
	box-shadow: 0 26px 54px -24px rgba(var(--za-navy-rgb), 0.6);
}
.za-package.is-featured h3,
.za-package.is-featured .za-package-price-value {
	color: var(--za-white);
}
.za-package.is-featured .za-package-tagline {
	color: var(--za-gold-bright);
}
.za-package.is-featured .za-package-for {
	color: rgba(var(--za-frost-rgb), 0.78);
	border-bottom-color: rgba(var(--za-white-rgb), 0.18);
}
.za-package.is-featured .za-package-includes,
.za-package.is-featured .za-package-price-note {
	color: rgba(var(--za-frost-rgb), 0.6);
}
.za-package.is-featured .za-package-list li {
	color: rgba(var(--za-white-rgb), 0.94);
}
.za-package.is-featured .za-package-check {
	color: var(--za-gold-bright);
}
.za-package.is-featured .za-package-index {
	color: var(--za-white);
	opacity: 0.12;
}
.za-package.is-featured .za-package-flag {
	background: var(--za-gold-gradient);
	color: var(--za-navy);
}
.za-package.is-featured .za-package-cta {
	background: var(--za-gold-gradient);
	border-color: transparent;
	color: var(--za-navy);
}
.za-package.is-featured .za-package-cta:hover {
	filter: brightness(1.07);
	color: var(--za-navy);
}
/* Glass sits over a light backdrop; the navy card supplies its own surface. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.za-package.is-featured {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

/* The recommended tier stands a little proud — but only while the row is
   genuinely a row. Once the cards stack, lifting one just looks misaligned. */
@media (min-width: 1081px) {
	.za-package.is-featured {
		transform: translateY(calc(var(--za-lift) * 2.5));
	}
	.za-package.is-featured:hover {
		transform: translateY(calc(var(--za-lift) * 3.5));
	}
}

@media (prefers-reduced-motion: reduce) {
	.za-package,
	.za-package::after,
	.za-package-cta {
		transition: none;
	}
	.za-package:hover,
	.za-package.is-featured:hover {
		transform: none;
	}
}

/* ==========================================================================
   Header logo lockup
   The Z is inline SVG so each of its four ledger strokes can be animated on
   load; the wordmark is real text in SuperBlue. Sizes match the lockup image
   this replaced, at every breakpoint it had.
   ========================================================================== */
.za-logo-wrap {
	line-height: 0;
	flex: 0 1 auto;
	min-width: 0;
}
.za-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: var(--za-navy);
	line-height: 1;
}
.za-logo-mark {
	display: block;
	flex: 0 0 auto;
}
.za-logo-mark svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}
/* Each stroke scales from its own box, so the wipe follows the letterform
   rather than the whole SVG's origin. */
.za-logo-stroke {
	transform-box: fill-box;
}
.za-logo-stroke.is-bar-top,
.za-logo-stroke.is-bar-bottom {
	transform-origin: left center;
}
.za-logo-stroke.is-diag-upper,
.za-logo-stroke.is-diag-lower {
	transform-origin: right top;
}
.za-logo-word {
	font-family: var(--za-font-heading);
	font-size: 1.32rem;
	letter-spacing: -0.005em;
	white-space: nowrap;
	color: var(--za-navy);
}

@media (max-width: 782px) {
	.za-logo-word { font-size: 1.06rem; }
	.za-logo { gap: 0.42rem; }
}
@media (max-width: 420px) {
	.za-logo-word { font-size: 0.94rem; }
}
@media (max-width: 380px) {
	.za-logo-word { font-size: 0.86rem; }
	.za-logo { gap: 0.34rem; }
}

/* Two columns only once a photo has been chosen (see about-story.php). */
@media (min-width: 861px) {
	.za-about-lead.has-photo {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

/* ==========================================================================
   Navigation: Services dropdown and the offer item
   ========================================================================== */

/* --- the dropdown panel --------------------------------------------------- */
.za-header .wp-block-navigation .wp-block-navigation__submenu-container {
	min-width: 260px;
	padding: 0.5rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-lg);
	background: var(--za-white);
	box-shadow: 0 24px 48px -24px rgba(var(--za-navy-rgb), 0.4);
	/* The panel is offset from the menu bar for legibility, but the offset
	   must not be a dead zone: the submenu opens on hover, so a gap the
	   pointer has to cross closes it before anything can be clicked. The
	   space is therefore padding *inside* the hoverable box, with the visible
	   panel pulled back up by the same amount via a transparent top border. */
	margin-top: 0;
	border-top: 0.55rem solid transparent;
	background-clip: padding-box;
	z-index: 20;
}
/* Widen the hover target sideways too, so a diagonal move from the menu item
   into the first link does not slip out of the panel. */
.za-header .wp-block-navigation .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	top: -0.55rem;
	left: -0.5rem;
	right: -0.5rem;
	height: 1rem;
	background: transparent;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.za-header .wp-block-navigation .wp-block-navigation__submenu-container {
		background: rgba(var(--za-white-rgb), 0.86);
		-webkit-backdrop-filter: blur(var(--za-frost)) saturate(1.4);
		backdrop-filter: blur(var(--za-frost)) saturate(1.4);
	}
}
.za-header .wp-block-navigation__submenu-container .wp-block-navigation-item {
	width: 100%;
}
.za-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 0.6rem 0.75rem;
	border-radius: var(--za-radius-md);
	font-size: 0.92rem;
	color: var(--za-navy);
	transition: background-color var(--za-ease-fast) ease, color var(--za-ease-fast) ease;
}
.za-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.za-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: rgba(var(--za-navy-rgb), 0.06);
	color: var(--za-navy);
}
/* The desktop underline animation belongs to top-level items only. */
.za-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
	content: none;
}
/* "All services" closes the list as a summary line. */
.za-header .wp-block-navigation__submenu-container .za-nav-all .wp-block-navigation-item__content {
	margin-top: 0.3rem;
	padding-top: 0.7rem;
	border-top: 1px solid var(--za-line);
	border-radius: 0;
	font-weight: 600;
	color: var(--za-gold);
}

/* --- the fixed-price item stands slightly apart --------------------------- */

/* --- inside the mobile overlay -------------------------------------------- */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	min-width: 0;
	margin: 0;
	padding: 0 0 0.4rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.55rem 0 0.55rem 1rem;
	font-size: 1rem;
	color: var(--za-slate);
	border-bottom: 0;
}
/* A rule down the left edge marks the group as belonging to Services. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border-left: 2px solid var(--za-line);
	margin-left: 0.2rem;
}

/* Mobile submenu: core indents the panel heavily and the overlay's own
   divider rule doubles up with the parent list's. Both are reset here so the
   services read as a tidy indented group under Services. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	padding-left: 0 !important;
	margin-left: 0.15rem;
	gap: 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
	padding-left: 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.5rem 0 0.5rem 0.9rem;
	font-size: 0.98rem;
}
/* The overlay draws a divider under every item; inside the submenu the left
   rule already groups them, so the extra lines are noise. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
	content: none;
}
/* Give the parent a little room before the group starts. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content {
	margin-bottom: 0.15rem;
}

/* The submenu panel keeps absolute-positioning offsets from the desktop rules
   once it is inside the overlay; pin it back into normal flow so the group
   sits directly under Services rather than floating off to the right. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	position: static !important;
	left: auto !important;
	top: auto !important;
	width: auto !important;
	min-width: 0 !important;
	margin-top: 0 !important;
	transform: none !important;
}
/* The Services item is a flex child in the overlay; making it a full-width
   block gives the submenu a left edge to align against instead of being
   positioned by the flex line. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu {
	display: block;
	width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
	border: 0;
}

/* Core's layout rules put `margin-inline: auto` on the submenu list, which
   centres it inside the overlay instead of aligning it under Services. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	margin-left: 0.2rem !important;
	margin-right: 0 !important;
	align-self: stretch;
}

/* ==========================================================================
   Why choose us — brought into the brand
   The six reasons were bare navy line-icons in thin grey rings on an empty
   background: the plainest section on the page, and the one carrying the
   sales argument. Each is now a card with a navy roundel and a gold icon,
   picking up the same language as the service cards and the packages.
   ========================================================================== */
.za-why-grid {
	gap: 1.25rem;
	margin-top: 2.5rem;
}
.za-why-card {
	position: relative;
	overflow: hidden;
	padding: 1.9rem 1.6rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-lg);
	background: rgba(var(--za-white-rgb), 0.7);
	transition: transform var(--za-ease-base) ease, box-shadow var(--za-ease-base) ease, border-color var(--za-ease-base) ease;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.za-why-card {
		background: rgba(var(--za-white-rgb), 0.6);
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.75)) saturate(1.3);
		backdrop-filter: blur(calc(var(--za-frost) * 0.75)) saturate(1.3);
		border-color: rgba(var(--za-white-rgb), 0.75);
	}
}
.za-why-card:hover {
	transform: translateY(var(--za-lift));
	border-color: rgba(var(--za-navy-rgb), 0.14);
	box-shadow: 0 22px 46px -26px rgba(var(--za-navy-rgb), 0.38);
}
/* Gold edge sweep, matching the service and package cards. */
.za-why-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--za-rule-h);
	border-radius: var(--za-radius-lg) var(--za-radius-lg) 0 0;
	background: linear-gradient(90deg, var(--za-gold), var(--za-gold-bright));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--za-ease-slow) ease;
	pointer-events: none;
}
.za-why-card:hover::after {
	transform: scaleX(1);
}

/* The roundel: solid navy with a gold mark, so the icons finally carry the
   brand instead of reading as generic grey UI chrome. */
.za-why-icon-wrap {
	width: 50px;
	height: 50px;
	border: 0;
	background:
		radial-gradient(14rem 10rem at 100% 0%, rgba(var(--za-gold-bright-rgb), 0.22), transparent 62%),
		linear-gradient(160deg, var(--za-navy) 0%, var(--za-navy-light) 100%);
	color: var(--za-gold-bright);
	box-shadow: 0 8px 18px -8px rgba(var(--za-navy-rgb), 0.55);
	margin-bottom: 1.15rem;
	transition: transform var(--za-ease-base) ease, box-shadow var(--za-ease-base) ease;
}
.za-why-card:hover .za-why-icon-wrap {
	transform: translateY(calc(var(--za-lift) * 0.5));
	box-shadow: 0 12px 24px -8px rgba(var(--za-navy-rgb), 0.6);
}
.za-reason-icon {
	width: 23px;
	height: 23px;
}
.za-why-card h3 {
	font-size: 1.14rem;
	margin-bottom: 0.55rem;
}

@media (prefers-reduced-motion: reduce) {
	.za-why-card,
	.za-why-card::after,
	.za-why-icon-wrap {
		transition: none;
	}
	.za-why-card:hover,
	.za-why-card:hover .za-why-icon-wrap {
		transform: none;
	}
}

/* The header navigation is right-justified, so core right-aligns the dropdown
   against its parent and the panel opens leftwards from "Services". Aligning
   it to the parent's left edge reads far more naturally, and there is ample
   room: Services sits well inside the bar. */
.za-header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-container {
	/* !important is needed here: core right-aligns submenus inside a
	   right-justified navigation with a more specific selector, which makes
	   the panel open leftwards out of the bar. */
	left: 0 !important;
	right: auto !important;
}

/* ==========================================================================
   Why choose us — a night band
   The page ran light from the trust strip all the way to the credentials
   band. Putting the sales argument on navy breaks that stretch, gives the
   section the weight it deserves, and lets the gold do some work.
   ========================================================================== */
.za-why {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(34rem 24rem at 88% 0%, rgba(var(--za-gold-bright-rgb), 0.16), transparent 62%),
		radial-gradient(30rem 24rem at 0% 100%, rgba(var(--za-navy-light-rgb), 0.9), transparent 70%),
		var(--za-navy-gradient);
}
/* Ghost Z, as on the other night bands. */
.za-why::before {
	content: "";
	position: absolute;
	right: -5%;
	top: 50%;
	width: 300px;
	height: 297px;
	transform: translateY(-50%) rotate(-6deg);
	background: var(--za-mark-url) no-repeat center / contain;
	opacity: var(--za-mark-opacity);
	pointer-events: none;
}
.za-why > * {
	position: relative;
}

/* --- headings on the dark ground ----------------------------------------- */
.za-why .za-eyebrow {
	color: var(--za-gold-bright) !important;
}
.za-why .za-eyebrow + .wp-block-heading::after {
	background: var(--za-gold-bright);
}
.za-why h2 {
	color: var(--za-white);
}

/* --- the cards become dark glass ----------------------------------------- */
.za-why-card {
	background: rgba(var(--za-white-rgb), 0.055);
	border-color: rgba(var(--za-white-rgb), 0.13);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.za-why-card {
		background: rgba(var(--za-white-rgb), 0.06);
		-webkit-backdrop-filter: blur(calc(var(--za-frost) * 0.875)) saturate(1.2);
		backdrop-filter: blur(calc(var(--za-frost) * 0.875)) saturate(1.2);
		border-color: rgba(var(--za-white-rgb), 0.14);
	}
}
.za-why-card:hover {
	border-color: rgba(var(--za-gold-bright-rgb), 0.4);
	box-shadow: 0 24px 48px -26px rgba(0, 0, 0, 0.6);
}
.za-why-card h3 {
	color: var(--za-white);
}
.za-why-card p {
	color: rgba(var(--za-frost-rgb), 0.8);
}

/* A navy roundel would vanish against the band, so the mark inverts: frosted
   glass ringed in gold, with the icon in gold-on-dark. */
.za-why-icon-wrap {
	background: rgba(var(--za-gold-bright-rgb), 0.14);
	border: 1px solid rgba(var(--za-gold-bright-rgb), 0.45);
	color: var(--za-gold-bright);
	box-shadow: none;
}
.za-why-card:hover .za-why-icon-wrap {
	background: rgba(var(--za-gold-bright-rgb), 0.2);
	border-color: rgba(var(--za-gold-bright-rgb), 0.7);
	box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.5);
}

/* The map pin draws the shared mark, which carries no intrinsic size. */
.za-location-pin svg {
	width: 17px;
	height: 17px;
	display: block;
}

/* ==========================================================================
   Mark sizing for the rebuilt logo
   The new mark is nearly square and carries the chart bars, so it reads
   denser than the open Z it replaces. It needs slightly more room, and more
   space before the word that follows it, to stay legible at text size.
   ========================================================================== */
.za-brand-mark {
	width: 1em;
	height: 1em;
	vertical-align: -0.15em;
	margin-right: 0.22em;
}
.za-logo-mark {
	width: 33px;
	height: 33px;
}
@media (max-width: 782px) {
	.za-logo-mark { width: 27px; height: 27px; }
}
@media (max-width: 420px) {
	.za-logo-mark { width: 24px; height: 24px; }
}
@media (max-width: 380px) {
	.za-logo-mark { width: 22px; height: 22px; }
}

/* ==========================================================================
   Design toggles — kept last
   inc/design.php adds one body class per switch on the Design & Brand screen
   (`za-no-animations`, `za-no-rain`, `za-no-telring`, `za-no-scrollcue`,
   `za-no-sheen`, `za-no-glass`, `za-no-watermarks`, `za-no-heading-rule`,
   `za-no-ghost-numbers`, `za-light-bands`, `za-light-why`,
   `za-light-featured`). Each block below undoes one effect; the scripts
   check the same classes. Nothing here runs with default settings.
   ========================================================================== */

/* --- motion ------------------------------------------------------------- */
body.za-no-animations {
	--za-ease-fast: 0s;
	--za-ease-base: 0s;
	--za-ease-slow: 0s;
	--za-lift: 0px;
}
body.za-no-animations .za-header-tel-icon::after,
body.za-no-telring .za-header-tel-icon::after {
	animation: none;
	opacity: 0;
}
body.za-no-animations .za-hero-scrollcue {
	animation: none;
}
body.za-no-scrollcue .za-hero-scrollcue {
	display: none !important;
}
body.za-no-animations .wp-block-navigation__responsive-container.is-menu-open,
body.za-no-animations .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	animation: none;
}
body.za-no-animations .za-reveal {
	opacity: 1 !important;
	transform: none !important;
}
body.za-no-animations .za-rain,
body.za-no-animations .za-rain-m,
body.za-no-rain .za-rain,
body.za-no-rain .za-rain-m {
	display: none !important;
}

/* --- decoration --------------------------------------------------------- */
body.za-no-watermarks .za-cta-card::before,
body.za-no-watermarks .za-stats::before,
body.za-no-watermarks .za-hero::before,
body.za-no-watermarks .za-why::before,
body.za-no-watermarks .za-page-title-wrap::before,
body.za-no-watermarks .za-area-hero::before,
body.za-no-watermarks .za-service-hero::before,
body.za-no-watermarks .za-archive-hero::before,
body.za-no-watermarks .za-offer-hero::before,
body.za-no-watermarks .za-offer-final::before {
	display: none;
}
body.za-no-heading-rule .za-eyebrow + h2::after,
body.za-no-heading-rule .za-eyebrow + .wp-block-heading::after {
	display: none;
}
body.za-no-ghost-numbers .za-service-num,
body.za-no-ghost-numbers .za-package-index {
	display: none;
}

/* --- glass off: every frosted surface returns to its solid fill ---------- */
body.za-no-glass .za-folder-front,
body.za-no-glass .za-service-card,
body.za-no-glass .za-blog-card,
body.za-no-glass .za-area-index-card,
body.za-no-glass .za-team-card,
body.za-no-glass .za-testimonial-card,
body.za-no-glass .za-package,
body.za-no-glass .za-offer-benefit,
body.za-no-glass .za-contact-details,
body.za-no-glass .za-contact-action,
body.za-no-glass .za-location-card,
body.za-no-glass .za-why-card,
body.za-no-glass .za-stats,
body.za-no-glass .za-cta-card,
body.za-no-glass .za-offer-hero,
body.za-no-glass .za-offer-final,
body.za-no-glass .za-location-map-bar,
body.za-no-glass .za-header::before,
body.za-no-glass .wp-block-navigation__responsive-container.is-menu-open,
body.za-no-glass .za-header .wp-block-navigation .wp-block-navigation__submenu-container,
body.za-no-glass .za-hero-chip,
body.za-no-glass .za-hero-scrollcue,
body.za-no-glass .za-hero-ctas .is-style-outline .wp-block-button__link {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
body.za-no-glass .za-folder-front {
	background: var(--za-navy-light);
}
body.za-no-glass .za-trust-bar,
body.za-no-glass .za-services,
body.za-no-glass .za-packages,
body.za-no-glass .za-testimonials,
body.za-no-glass .za-faq,
body.za-no-glass .za-team,
body.za-no-glass .za-related,
body.za-no-glass .za-offer-benefits,
body.za-no-glass .za-location {
	background: var(--za-canvas);
}
body.za-no-glass .za-about-story,
body.za-no-glass .za-process,
body.za-no-glass .za-area-intro {
	background: var(--za-white);
}
body.za-no-glass .za-service-card,
body.za-no-glass .za-blog-card,
body.za-no-glass .za-area-index-card,
body.za-no-glass .za-team-card,
body.za-no-glass .za-contact-details {
	background: var(--za-canvas);
	border-color: var(--za-line);
	box-shadow: none;
}
body.za-no-glass .za-testimonial-card,
body.za-no-glass .za-package:not(.is-featured),
body.za-no-glass .za-offer-benefit,
body.za-no-glass .za-contact-action,
body.za-no-glass .za-location-card {
	background: var(--za-white);
	border-color: var(--za-line);
	box-shadow: none;
}
body.za-no-glass .za-location-card {
	box-shadow: 0 20px 50px -30px rgba(var(--za-navy-rgb), 0.35);
}
body.za-no-glass .za-location-map-bar {
	background-color: var(--za-navy);
}
body.za-no-glass .za-header {
	background: var(--za-white);
	border-bottom-color: var(--za-line);
}
body.za-no-glass .za-header::before {
	display: none;
}
body.za-no-glass .wp-block-navigation__responsive-container.is-menu-open,
body.za-no-glass .za-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--za-white);
}
body.za-no-glass .za-why-card {
	background: rgba(var(--za-white-rgb), 0.055);
	border-color: rgba(var(--za-white-rgb), 0.13);
}

/* --- light title bands --------------------------------------------------- */
body.za-light-bands .za-page-title-wrap,
body.za-light-bands .za-area-hero,
body.za-light-bands .za-service-hero,
body.za-light-bands .za-archive-hero,
body.za-light-bands .za-offer-hero {
	background: var(--za-canvas) !important;
}
body.za-light-bands .za-page-title-wrap::before,
body.za-light-bands .za-area-hero::before,
body.za-light-bands .za-service-hero::before,
body.za-light-bands .za-archive-hero::before,
body.za-light-bands .za-offer-hero::before {
	display: none;
}
body.za-light-bands .za-page-title-wrap h1,
body.za-light-bands .za-page-title-wrap h2,
body.za-light-bands .za-page-title-wrap .wp-block-post-title,
body.za-light-bands .za-area-hero h1,
body.za-light-bands .za-service-hero h1,
body.za-light-bands .za-archive-hero h1,
body.za-light-bands .za-offer-hero h1 {
	color: var(--za-navy);
}
body.za-light-bands .za-page-title-wrap .has-slate-color,
body.za-light-bands .za-area-hero .has-slate-color,
body.za-light-bands .za-service-hero .has-slate-color,
body.za-light-bands .za-archive-hero .has-slate-color,
body.za-light-bands .za-page-title-wrap .wp-block-post-date,
body.za-light-bands .za-page-title-wrap .wp-block-post-author-name,
body.za-light-bands .za-area-postcodes {
	color: var(--za-slate) !important;
}
body.za-light-bands .za-page-title-wrap .za-eyebrow,
body.za-light-bands .za-area-hero .za-eyebrow,
body.za-light-bands .za-service-hero .za-eyebrow,
body.za-light-bands .za-archive-hero .za-eyebrow {
	color: var(--za-gold) !important;
}
body.za-light-bands .za-page-title-wrap .za-eyebrow + .wp-block-heading::after,
body.za-light-bands .za-area-hero .za-eyebrow + .wp-block-heading::after,
body.za-light-bands .za-service-hero .za-eyebrow + .wp-block-heading::after,
body.za-light-bands .za-archive-hero .za-eyebrow + .wp-block-heading::after {
	background: var(--za-gold);
}
body.za-light-bands .za-area-hero .wp-block-button__link.has-navy-background-color,
body.za-light-bands .za-service-hero .wp-block-button__link.has-navy-background-color {
	background: var(--za-navy) !important;
	color: var(--za-white) !important;
}
body.za-light-bands .za-service-hero .za-service-image img {
	box-shadow: 0 24px 50px -22px rgba(var(--za-navy-rgb), 0.25);
}

/* --- light "why choose us" ----------------------------------------------- */
body.za-light-why .za-why {
	background:
		radial-gradient(40rem 26rem at 92% 0%, rgba(var(--za-navy-rgb), 0.05), transparent 60%),
		radial-gradient(34rem 24rem at 2% 100%, rgba(var(--za-gold-muted-rgb), 0.06), transparent 60%),
		var(--za-canvas);
}
body.za-light-why .za-why::before {
	display: none;
}
body.za-light-why .za-why .za-eyebrow {
	color: var(--za-gold) !important;
}
body.za-light-why .za-why .za-eyebrow + .wp-block-heading::after {
	background: var(--za-gold);
}
body.za-light-why .za-why h2,
body.za-light-why .za-why-card h3 {
	color: var(--za-navy);
}
body.za-light-why .za-why-card p {
	color: var(--za-slate);
}
body.za-light-why .za-why-card {
	background: rgba(var(--za-white-rgb), 0.6);
	border-color: rgba(var(--za-white-rgb), 0.75);
}
body.za-light-why.za-no-glass .za-why-card {
	background: var(--za-white);
	border-color: var(--za-line);
}
body.za-light-why .za-why-card:hover {
	border-color: rgba(var(--za-navy-rgb), 0.14);
	box-shadow: 0 22px 46px -26px rgba(var(--za-navy-rgb), 0.38);
}
body.za-light-why .za-why-icon-wrap,
body.za-light-why .za-why-card:hover .za-why-icon-wrap {
	background:
		radial-gradient(14rem 10rem at 100% 0%, rgba(var(--za-gold-bright-rgb), 0.22), transparent 62%),
		linear-gradient(160deg, var(--za-navy) 0%, var(--za-navy-light) 100%);
	border: 0;
	color: var(--za-gold-bright);
	box-shadow: 0 8px 18px -8px rgba(var(--za-navy-rgb), 0.55);
}
body.za-light-why .za-why-card:hover .za-why-icon-wrap {
	box-shadow: 0 12px 24px -8px rgba(var(--za-navy-rgb), 0.6);
}

/* --- light featured package ---------------------------------------------- */
body.za-light-featured .za-package.is-featured {
	background: var(--za-white);
	border-color: var(--za-navy);
	box-shadow: 0 18px 44px -28px rgba(var(--za-navy-rgb), 0.55);
}
body.za-light-featured .za-package.is-featured h3,
body.za-light-featured .za-package.is-featured .za-package-price-value,
body.za-light-featured .za-package.is-featured .za-package-list li {
	color: var(--za-navy);
}
body.za-light-featured .za-package.is-featured .za-package-tagline,
body.za-light-featured .za-package.is-featured .za-package-check {
	color: var(--za-gold);
}
body.za-light-featured .za-package.is-featured .za-package-for {
	color: var(--za-slate);
	border-bottom-color: var(--za-line);
}
body.za-light-featured .za-package.is-featured .za-package-includes,
body.za-light-featured .za-package.is-featured .za-package-price-note {
	color: var(--za-slate);
}
body.za-light-featured .za-package.is-featured .za-package-index {
	color: var(--za-navy);
	opacity: 0.13;
}
body.za-light-featured .za-package.is-featured .za-package-flag {
	background: var(--za-navy);
	color: var(--za-white);
}
body.za-light-featured .za-package.is-featured .za-package-cta {
	background: transparent;
	border-color: var(--za-navy);
	color: var(--za-navy);
}
body.za-light-featured .za-package.is-featured .za-package-cta:hover {
	background: var(--za-navy);
	color: var(--za-white);
	filter: none;
}


/* ==========================================================================
   Backend-driven sections: home
   ========================================================================== */
   Everything here reads a --za-* token or an inline custom property written by
   the homepage patterns; defaults reproduce main.css exactly. */

/* ---------- Grid columns (inline --za-cols / --za-cols-md from the patterns) ---------- */
.za-services-grid,
.za-testimonial-grid,
.za-greviews-grid,
.za-why-grid,
.za-process-grid {
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
}
.za-packages-grid,
.za-stats-grid {
	grid-template-columns: repeat(var(--za-cols, 4), 1fr);
}
@media (max-width: 1080px) {
	.za-packages-grid { grid-template-columns: repeat(var(--za-cols-md, 2), 1fr); }
}
@media (max-width: 980px) {
	.za-services-grid,
	.za-testimonial-grid,
	.za-greviews-grid,
	.za-why-grid { grid-template-columns: repeat(var(--za-cols-md, 2), 1fr); }
}
@media (max-width: 860px) {
	.za-stats-grid { grid-template-columns: repeat(var(--za-cols-md, 2), 1fr); }
	.za-process-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.za-services-grid,
	.za-testimonial-grid,
	.za-greviews-grid,
	.za-why-grid,
	.za-packages-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.za-stats-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero: copy-only and image variants ---------- */
.za-hero-split.is-copy-only {
	grid-template-columns: minmax(0, 1fr);
}
.za-hero-split.is-copy-only .za-hero-copy {
	max-width: var(--za-measure-wide, 860px);
}
.za-hero-stage.is-image .za-hero-image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--za-radius-card, 14px);
	box-shadow: 0 30px 60px -30px rgba(var(--za-navy-rgb), 0.45);
}

/* ---------- Accreditations: greyscale option ---------- */
.za-trust-bar.is-mono .za-trust-logo {
	filter: grayscale(1);
}
.za-trust-bar.is-mono .za-trust-logo:hover {
	filter: none;
}

/* ---------- Why choose us: uploaded icon images ---------- */
.za-reason-icon.is-image {
	width: 26px;
	height: 26px;
	object-fit: contain;
	display: block;
}

/* ---------- Process steps: icon in place of the number ---------- */
.za-process-num.has-icon svg {
	width: 1.15rem;
	height: 1.15rem;
	display: block;
}

/* ---------- Packages: plain bullets ---------- */
.za-package-list.is-plain li > span {
	margin-left: 0;
}

/* ---------- Google reviews: line clamp (inline --za-review-lines) ---------- */
.za-greview blockquote {
	-webkit-line-clamp: var(--za-review-lines, 6);
}

/* ---------- FAQ: open/close glyphs (inline --za-faq-open / --za-faq-close) ---------- */
.za-faq-item summary::after {
	content: var(--za-faq-open, "+");
}
.za-faq-item[open] summary::after {
	content: var(--za-faq-close, "−");
}
.za-faq-item > p + p {
	margin-top: 0.75rem;
}
.za-faq-item p a {
	color: var(--za-navy, inherit);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Night bands: optional watermark off ---------- */
.za-stats.has-no-mark::before,
.za-cta-card.has-no-mark::before {
	display: none;
}

/* ---------- Any section switched to navy ---------- */
.za-bg-navy > .wp-block-heading,
.za-bg-navy > h2,
.za-bg-navy > h3,
.za-bg-navy > p:not(.za-eyebrow) {
	color: var(--za-white);
}
.za-bg-navy .za-process-num {
	background: var(--za-gold-bright, var(--za-gold));
	color: var(--za-navy);
}
.za-bg-navy .za-faq-item summary,
.za-bg-navy .za-faq-item p {
	color: var(--za-white);
}
.za-bg-navy .za-faq-item {
	border-bottom-color: rgba(255, 255, 255, 0.18);
}
.za-bg-navy .za-trust-label {
	color: rgba(255, 255, 255, 0.75);
}
.za-cta-card.has-canvas-background-color,
.za-cta-card:not(.has-background) {
	color: var(--za-navy);
}


/* ==========================================================================
   Backend-driven sections: chrome
   ========================================================================== */
   Everything here is driven by Z Accountancy → Header & Footer / Resources /
   Areas settings; defaults reproduce the shipped look exactly. */

/* ---------- Header: phone block icon from the icon library ---------- */
.za-header-tel-icon svg {
	width: 19px;
	height: 19px;
	display: block;
}

/* ---------- Footer: columns follow the switches ---------- */
.za-footer-grid {
	grid-template-columns: var(--za-footer-cols, 1.5fr 1fr 1fr 1.2fr);
}
@media (max-width: 900px) {
	.za-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.za-footer-grid { grid-template-columns: 1fr; }
}
.za-footer-social.has-icons a {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	vertical-align: middle;
}
.za-footer-social-icon {
	width: 1.1em;
	height: 1.1em;
	flex-shrink: 0;
}
.za-footer-social-sep {
	color: var(--za-line, var(--wp--preset--color--line));
}

/* ---------- Location panel: map style, pin, no-map layout ---------- */
.za-location-card.has-no-map {
	grid-template-columns: 1fr;
}
.za-location-map.is-map-colour iframe {
	filter: none;
}
.za-location-pin {
	background: var(--za-pin-bg, var(--za-navy, var(--wp--preset--color--navy)));
}

/* ---------- Blog & area grids: column count from settings ---------- */
.za-blog-index {
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
}
.za-area-index {
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
}
@media (max-width: 980px) {
	.za-blog-index,
	.za-area-index { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.za-blog-index,
	.za-area-index { grid-template-columns: 1fr; }
}
.za-blog-thumb img {
	border-radius: var(--za-radius-md, 4px);
}
.za-service-image img {
	border-radius: var(--za-radius-md, 5px);
}

/* Pagination and no-results span the full grid, not one card cell. */
.za-blog-index > .wp-block-query-pagination,
.za-area-index > .wp-block-query-pagination,
.za-blog-index > .wp-block-query-no-results,
.za-area-index > .wp-block-query-no-results {
	grid-column: 1 / -1;
}
.za-blog-index > .wp-block-query-pagination,
.za-area-index > .wp-block-query-pagination {
	margin-top: 1rem;
	font-size: 0.95rem;
}
.za-blog-index .wp-block-query-pagination a,
.za-area-index .wp-block-query-pagination a {
	color: var(--za-navy, var(--wp--preset--color--navy));
	text-decoration: none;
	font-weight: 600;
}
.za-blog-index .wp-block-query-pagination a:hover,
.za-area-index .wp-block-query-pagination a:hover {
	color: var(--za-gold, var(--wp--preset--color--gold));
}
.za-blog-index .wp-block-query-pagination-numbers .current {
	font-weight: 700;
}
.za-archive-empty {
	margin: 0 0 1.25rem;
}
.za-archive-search,
.za-404-search {
	max-width: 480px;
}
.za-404 .za-404-search {
	margin: 1.75rem auto 0;
}
.wp-block-search.za-archive-search .wp-block-search__button,
.wp-block-search.za-404-search .wp-block-search__button {
	background: var(--za-navy, var(--wp--preset--color--navy));
	color: var(--za-white, var(--wp--preset--color--white));
	border: 0;
	border-radius: var(--za-radius-button, 3px);
	padding: 0.65rem 1.1rem;
	font-weight: 600;
	cursor: pointer;
}
.wp-block-search.za-archive-search .wp-block-search__input,
.wp-block-search.za-404-search .wp-block-search__input {
	border: 1px solid var(--za-line, var(--wp--preset--color--line));
	border-radius: var(--za-radius-sm, 3px);
	padding: 0.65rem 0.9rem;
}

/* ---------- Single article meta ---------- */
.za-post-meta-sep,
.za-post-meta-prefix {
	margin: 0;
}
.za-post-tags {
	margin-top: 0.5rem;
}
.za-area-nearby-all {
	font-weight: 600;
}


/* ==========================================================================
   Backend-driven sections: pages
   ========================================================================== */
   Everything here is driven by Z Accountancy → Services / About / Contact settings.
   Colours come from the design tokens (--za-*), falling back to the theme.json presets. */

/* ==========================================================================
   Grids: column counts come from the settings as an inline --za-cols
   ========================================================================== */
.za-related-grid,
.za-values-grid,
.za-team-grid {
	grid-template-columns: repeat(var(--za-cols, 3), 1fr);
}
@media (max-width: 980px) {
	.za-team-grid { grid-template-columns: repeat(min(var(--za-cols, 3), 2), 1fr); }
}
@media (max-width: 860px) {
	.za-related-grid,
	.za-values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.za-team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   About: photo on the left, value icons, credential badges
   ========================================================================== */
@media (min-width: 861px) {
	.za-about-lead.has-photo.has-photo-left {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
	.za-about-lead.has-photo-left .za-about-photo { order: -1; }
	.za-about-lead.has-photo-left .za-about-photo::before {
		right: auto;
		left: -10px;
		border-right: 0;
		border-left: 3px solid var(--za-gold, var(--wp--preset--color--gold));
		border-radius: 4px 0 0 0;
	}
}

.za-value-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 0.9rem;
	border-radius: var(--za-radius-md, 4px);
	background: var(--za-canvas, var(--wp--preset--color--canvas));
	color: var(--za-navy, var(--wp--preset--color--navy));
}
.za-value-icon-wrap svg {
	width: 22px;
	height: 22px;
}

.za-credentials li.has-icon {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
}
.za-credential-icon-wrap {
	flex: 0 0 auto;
	display: inline-flex;
	width: 18px;
	height: 18px;
	margin-top: 0.15em;
	color: var(--za-gold, var(--wp--preset--color--gold));
}
.za-credential-icon-wrap svg {
	width: 100%;
	height: 100%;
}
.za-credentials li a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--za-line, var(--wp--preset--color--line));
	text-underline-offset: 0.15em;
	display: inherit;
	gap: inherit;
	align-items: inherit;
}
.za-credentials li a:hover {
	color: var(--za-gold, var(--wp--preset--color--gold));
}

/* "Badges in a row" layout */
.za-credentials.is-badges ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.za-credentials.is-badges li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.85rem;
	font-size: 0.85rem;
	font-weight: 500;
	background: var(--za-white, var(--wp--preset--color--white));
	border: 1px solid var(--za-line, var(--wp--preset--color--line));
	border-radius: var(--za-radius-pill, 999px);
}
.za-credentials.is-badges .za-credential-icon-wrap {
	margin-top: 0;
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   Team: photo diameter, shape and placeholder image
   ========================================================================== */
.za-team-photo {
	width: var(--za-team-photo, 84px);
	height: var(--za-team-photo, 84px);
}
.za-team-grid.has-rounded-photos .za-team-photo { border-radius: var(--za-radius-card, 14px); }
.za-team-grid.has-square-photos .za-team-photo { border-radius: 0; }
.za-team-grid.has-rounded-photos .za-team-avatar { border-radius: var(--za-radius-card, 14px); }
.za-team-grid.has-square-photos .za-team-avatar { border-radius: 0; }
.za-team-photo.is-placeholder img {
	object-position: center;
}

/* ==========================================================================
   Contact: single-column grid, action icons, consent line, button styles
   ========================================================================== */
.za-contact-grid.is-single {
	grid-template-columns: minmax(0, 1fr);
	max-width: var(--za-measure-wide, 860px);
}

.za-contact-action.has-icon {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 0.85rem;
	align-items: center;
}
.za-contact-action-icon-wrap {
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--za-radius-pill, 999px);
	background: var(--za-canvas, var(--wp--preset--color--canvas));
	color: var(--za-navy, var(--wp--preset--color--navy));
}
.za-contact-action-icon-wrap svg {
	width: 18px;
	height: 18px;
}
.za-contact-action.is-primary .za-contact-action-icon-wrap {
	background: var(--za-navy, var(--wp--preset--color--navy));
	color: var(--za-white, var(--wp--preset--color--white));
}

.za-form-consent {
	margin: 1rem 0 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--za-slate, var(--wp--preset--color--slate));
	font-weight: 400;
}
.za-form-consent a {
	color: var(--za-navy, var(--wp--preset--color--navy));
}
.za-contact-form label.za-form-consent.is-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-top: 1rem;
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--za-slate, var(--wp--preset--color--slate));
}
.za-contact-form .za-form-consent.is-checkbox input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	margin: 0.2em 0 0;
	padding: 0;
	accent-color: var(--za-navy, var(--wp--preset--color--navy));
}

/* Button styles chosen in the settings (navy fill is the default rule in main.css) */
.za-form-submit.is-gold,
.za-calendly-cta.is-gold {
	background: var(--za-gold-bright, var(--wp--preset--color--gold-on-dark));
	color: var(--za-navy, var(--wp--preset--color--navy));
}
.za-form-submit.is-gold:hover,
.za-calendly-cta.is-gold:hover {
	background: var(--za-gold-dark, var(--wp--preset--color--gold));
	color: var(--za-white, var(--wp--preset--color--white));
}
.za-form-submit.is-outline,
.za-calendly-cta.is-outline {
	background: transparent;
	color: var(--za-navy, var(--wp--preset--color--navy));
	box-shadow: inset 0 0 0 1.5px var(--za-navy, var(--wp--preset--color--navy));
}
.za-form-submit.is-outline:hover,
.za-calendly-cta.is-outline:hover {
	background: var(--za-navy, var(--wp--preset--color--navy));
	color: var(--za-white, var(--wp--preset--color--white));
}


/* ==========================================================================
   Articles — the shared card, "Insights & guides", the Resources index and
   the article page. Markup: inc/blog.php and patterns/post-*.php, insights.php,
   blog-index.php. Colours, radii and motion are design tokens throughout.
   ========================================================================== */

/* ---------- The article card ---------- */
.za-post-grid {
	display: grid;
	grid-template-columns: repeat(var(--za-cols, 3), minmax(0, 1fr));
	gap: 1.75rem;
}
.za-post-grid > div {
	display: flex;
	min-width: 0;
}
.za-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	background: var(--za-white);
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-card, 14px);
	overflow: hidden;
	box-shadow: 0 12px 30px -24px rgba(var(--za-navy-rgb), 0.5);
	transition: transform var(--za-ease-base) ease, box-shadow var(--za-ease-base) ease, border-color var(--za-ease-base) ease;
}
.za-post-card:hover {
	transform: translateY(var(--za-lift, -4px));
	border-color: rgba(var(--za-gold-muted-rgb), 0.45);
	box-shadow: 0 22px 40px -26px rgba(var(--za-navy-rgb), 0.55);
}
.za-post-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	height: 3px;
	background: linear-gradient(90deg, var(--za-gold), var(--za-gold-bright));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--za-ease-slow) ease;
}
.za-post-card:hover::before {
	transform: scaleX(1);
}
.za-post-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--za-navy);
}
.za-post-card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.za-post-card:hover .za-post-card-img {
	transform: scale(1.04);
}
.za-post-card-blank {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 30% 20%, var(--za-navy-light), var(--za-navy) 70%);
}
.za-post-card-blank-mark {
	width: 56px;
	height: 56px;
	color: var(--za-gold-bright);
	opacity: 0.85;
}
.za-post-card-cat {
	position: absolute;
	left: 14px;
	top: 14px;
	padding: 0.32rem 0.7rem;
	border-radius: var(--za-radius-pill);
	background: rgba(var(--za-navy-rgb), 0.86);
	color: var(--za-gold-bright);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.za-post-card-cat.is-inline {
	position: static;
	align-self: flex-start;
	margin-bottom: 0.5rem;
	background: rgba(var(--za-gold-muted-rgb), 0.12);
	color: var(--za-gold);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.za-post-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.3rem 1.4rem 1.4rem;
}
.za-post-card-meta {
	margin: 0 0 0.55rem;
	font-size: 0.8rem;
	color: var(--za-slate);
}
.za-post-card-sep {
	margin: 0 0.3rem;
	color: var(--za-gold);
}
.za-post-card-title {
	margin: 0 0 0.6rem;
	font-family: var(--za-font-heading);
	font-weight: 400;
	font-size: 1.28rem;
	line-height: 1.25;
	color: var(--za-navy);
	text-wrap: balance;
}
.za-post-card-title a {
	color: inherit;
	text-decoration: none;
}
/* The whole card is the link: the title's link stretches over it. */
.za-post-card-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.za-post-card-title a:focus-visible {
	outline: none;
}
.za-post-card:focus-within {
	outline: 2px solid var(--za-gold);
	outline-offset: 2px;
}
.za-post-card-excerpt {
	margin: 0 0 1rem;
	font-size: 0.94rem;
	line-height: 1.6;
	color: var(--za-slate);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.za-post-card-more {
	margin-top: auto;
	align-self: flex-start;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--za-navy);
	border-bottom: 2px solid var(--za-gold);
	padding-bottom: 1px;
	transition: color var(--za-ease-fast) ease;
}
.za-post-card:hover .za-post-card-more {
	color: var(--za-gold);
}

/* Lead story: image beside the text on wide screens. */
.za-post-card.is-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.za-post-card.is-feature .za-post-card-media {
	aspect-ratio: auto;
	min-height: 100%;
}
.za-post-card.is-feature .za-post-card-body {
	justify-content: center;
	padding: 2rem 2.2rem;
}
.za-post-card.is-feature .za-post-card-title {
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}
.za-post-card.is-feature .za-post-card-excerpt {
	-webkit-line-clamp: 4;
	font-size: 1rem;
}

/* Row: small image beside the title (the list next to the lead story). */
.za-post-card.is-row {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	align-items: stretch;
}
.za-post-card.is-row .za-post-card-media {
	aspect-ratio: auto;
	min-height: 100%;
}
.za-post-card.is-row .za-post-card-cat {
	display: none;
}
.za-post-card.is-row .za-post-card-body {
	justify-content: center;
	padding: 0.95rem 1.1rem;
}
.za-post-card.is-row .za-post-card-title {
	font-size: 1.05rem;
	margin: 0;
}
.za-post-card.is-row .za-post-card-meta {
	margin-bottom: 0.35rem;
	font-size: 0.74rem;
}

/* ---------- Homepage: Insights & guides ---------- */
.za-insights {
	padding-top: calc(clamp(3rem, 6vw, 5rem) * var(--za-space, 1));
	padding-bottom: calc(clamp(3rem, 6vw, 5rem) * var(--za-space, 1));
}
.za-insights-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
	flex-wrap: wrap;
	margin-bottom: 2.25rem;
}
.za-insights-head-text {
	max-width: 720px;
}
.za-insights-heading {
	margin: 0;
}
.za-insights-intro {
	margin: 0.9rem 0 0;
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--za-slate);
}
.za-insights-cta {
	margin: 0;
}
.za-insights-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 1.5rem;
}
.za-insights-lead,
.za-insights-lead .za-post-card {
	display: flex;
	height: 100%;
}
/* Inside the homepage split the lead is narrower: image on top, text below. */
.za-insights-lead .za-post-card.is-feature {
	display: flex;
	flex-direction: column;
}
.za-insights-lead .za-post-card.is-feature .za-post-card-media {
	aspect-ratio: 16 / 9;
	min-height: 0;
}
.za-insights-lead .za-post-card.is-feature .za-post-card-body {
	padding: 1.6rem 1.8rem 1.8rem;
}
.za-insights-list {
	display: grid;
	grid-auto-rows: 1fr;
	gap: 1rem;
}
.za-insights-list > div {
	display: flex;
}

/* ---------- Resources index ---------- */
.za-blog-index {
	padding-bottom: calc(clamp(3rem, 6vw, 5rem) * var(--za-space, 1));
}
.za-blog-lead {
	display: flex;
	margin-bottom: 1.75rem;
}
.za-blog-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.4rem;
	margin-top: 2.75rem;
}
.za-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.85rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-pill);
	background: var(--za-white);
	color: var(--za-navy);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background var(--za-ease-fast) ease, color var(--za-ease-fast) ease;
}
.za-blog-pagination a.page-numbers:hover {
	border-color: var(--za-gold);
	color: var(--za-gold);
}
.za-blog-pagination .page-numbers.current {
	background: var(--za-navy);
	border-color: var(--za-navy);
	color: var(--za-gold-bright);
}
.za-blog-pagination .page-numbers.dots {
	border: 0;
	background: none;
}
.za-archive-search {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
	margin-top: 1rem;
}
.za-archive-search input {
	flex: 1;
	padding: 0.75rem 1rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-md, 4px);
	font: inherit;
}
.za-archive-search button {
	padding: 0.75rem 1.25rem;
	border: 0;
	border-radius: var(--za-radius-md, 4px);
	background: var(--za-navy);
	color: var(--za-white);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* ---------- Article page ---------- */
.za-article-page {
	margin-block-start: 0;
}
.za-article-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(2.75rem, 6vw, 4.5rem) 20px clamp(5rem, 9vw, 7rem);
	background:
		radial-gradient(40rem 26rem at 88% 0%, rgba(var(--za-gold-bright-rgb), 0.14), transparent 62%),
		linear-gradient(180deg, var(--za-navy), var(--za-navy-deep, var(--za-navy)));
	color: var(--za-white);
}
.za-article-hero::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -70px;
	width: 300px;
	height: 297px;
	background: var(--za-mark-url, none) no-repeat center / contain;
	opacity: var(--za-mark-opacity, 0.05);
	transform: rotate(-6deg);
	pointer-events: none;
}
.za-article-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 860px;
	margin: 0 auto;
}
.za-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.4rem;
	font-size: 0.82rem;
	color: rgba(var(--za-frost-rgb), 0.6);
}
.za-breadcrumb a {
	color: rgba(var(--za-frost-rgb), 0.85);
	text-decoration: none;
}
.za-breadcrumb a:hover {
	color: var(--za-gold-bright);
}
.za-article-cat {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 0.34rem 0.8rem;
	border-radius: var(--za-radius-pill);
	background: rgba(var(--za-gold-bright-rgb), 0.14);
	border: 1px solid rgba(var(--za-gold-bright-rgb), 0.4);
	color: var(--za-gold-bright);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}
.za-article-title {
	margin: 0 0 1rem;
	font-family: var(--za-font-heading);
	font-weight: 400;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--za-white);
	text-wrap: balance;
}
.za-article-standfirst {
	margin: 0 0 1.6rem;
	max-width: 62ch;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.6;
	color: rgba(var(--za-frost-rgb), 0.86);
}
.za-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
	margin: 0;
	font-size: 0.88rem;
	color: rgba(var(--za-frost-rgb), 0.78);
}
.za-article-sep {
	color: var(--za-gold-bright);
}
.za-article-author {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}
.za-article-author strong {
	color: var(--za-white);
	font-weight: 600;
}
.za-article-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--za-radius-pill);
	background: linear-gradient(180deg, var(--za-gold-bright), var(--za-gold-dark));
}
.za-article-avatar-mark {
	width: 16px;
	height: 16px;
	color: var(--za-navy);
}

/* Featured image overlaps the bottom of the band. */
.za-article-media {
	position: relative;
	z-index: 2;
	max-width: 1040px;
	margin: calc(clamp(5rem, 9vw, 7rem) * -1 + 1.5rem) auto 0;
	padding: 0 20px;
}
.za-article-media .wp-block-post-featured-image {
	margin: 0;
}
.za-article-media img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: var(--za-radius-card, 14px);
	box-shadow: 0 30px 60px -30px rgba(var(--za-navy-rgb), 0.55);
}
.za-article-media:empty,
.za-article-media:not(:has(img)) {
	margin-top: 0;
}

/* Contents beside the text. */
.za-article {
	display: grid;
	grid-template-columns: 240px minmax(0, 720px);
	justify-content: center;
	gap: clamp(2rem, 5vw, 4rem);
	max-width: 1200px;
	margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
	padding: 0 20px clamp(3rem, 6vw, 4.5rem);
}
.za-article-aside:not(:has(.za-toc)) {
	display: none;
}
.za-article:not(:has(.za-toc)) {
	grid-template-columns: minmax(0, 760px);
}
.za-toc {
	position: sticky;
	top: 110px;
	padding: 1.25rem 1.25rem 1.1rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-card, 14px);
	background: var(--za-canvas);
}
.za-toc-title {
	margin: 0 0 0.8rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--za-gold);
}
.za-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: za-toc;
}
.za-toc-list li {
	counter-increment: za-toc;
	margin: 0;
}
.za-toc-list a {
	display: grid;
	grid-template-columns: 1.6rem 1fr;
	padding: 0.45rem 0;
	border-top: 1px solid var(--za-line);
	font-size: 0.86rem;
	line-height: 1.4;
	color: var(--za-navy);
	text-decoration: none;
	transition: color var(--za-ease-fast) ease;
}
.za-toc-list li:first-child a {
	border-top: 0;
}
.za-toc-list a::before {
	content: counter(za-toc, decimal-leading-zero);
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--za-gold);
	padding-top: 0.1rem;
}
.za-toc-list a:hover {
	color: var(--za-gold);
}

/* Article typography. */
.za-prose {
	font-size: 1.075rem;
	line-height: 1.75;
	color: var(--za-navy);
}
.za-prose > * {
	margin-top: 0;
	margin-bottom: 1.25em;
}
.za-prose > p:first-child {
	font-size: 1.2rem;
	line-height: 1.65;
}
.za-prose h2 {
	margin: 2.2em 0 0.7em;
	font-family: var(--za-font-heading);
	font-weight: 400;
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
	line-height: 1.22;
	scroll-margin-top: 110px;
}
.za-prose h2::after {
	content: "";
	display: block;
	width: var(--za-rule-w, 44px);
	height: var(--za-rule-h, 3px);
	margin-top: 0.55rem;
	background: var(--za-gold);
	border-radius: 2px;
}
.za-prose h3 {
	margin: 1.8em 0 0.5em;
	font-family: var(--za-font-heading);
	font-weight: 400;
	font-size: 1.3rem;
	line-height: 1.3;
}
.za-prose a {
	color: var(--za-navy);
	text-decoration: underline;
	text-decoration-color: var(--za-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.za-prose a:hover {
	color: var(--za-gold);
}
.za-prose ul,
.za-prose ol {
	padding-left: 1.35em;
}
.za-prose li {
	margin-bottom: 0.5em;
}
.za-prose ul li::marker {
	color: var(--za-gold);
}
.za-prose ol li::marker {
	color: var(--za-gold);
	font-weight: 700;
}
.za-prose strong {
	font-weight: 650;
}
/* Key-takeaway callout (a quote block with the za-callout class). */
.za-prose .wp-block-quote,
.za-prose blockquote {
	position: relative;
	margin: 2em 0;
	padding: 1.4rem 1.6rem 1.4rem 1.8rem;
	border: 0;
	border-left: 4px solid var(--za-gold);
	border-radius: 0 var(--za-radius-card, 14px) var(--za-radius-card, 14px) 0;
	background: linear-gradient(90deg, rgba(var(--za-gold-muted-rgb), 0.1), var(--za-canvas));
	font-size: 1.08rem;
	line-height: 1.65;
}
.za-prose blockquote p {
	margin: 0;
}
.za-prose blockquote p + p {
	margin-top: 0.75em;
}
.za-prose .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}
.za-prose .wp-block-table th,
.za-prose .wp-block-table td {
	padding: 0.65rem 0.8rem;
	border-bottom: 1px solid var(--za-line);
	text-align: left;
}

/* After the text: terms, share, author. */
.za-article-footer {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--za-line);
	display: grid;
	gap: 1.75rem;
}
.za-article-terms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}
.za-article-terms-label {
	font-size: 0.85rem;
	color: var(--za-slate);
	margin-right: 0.25rem;
}
.za-chip {
	display: inline-block;
	padding: 0.38rem 0.85rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-pill);
	background: var(--za-white);
	color: var(--za-navy);
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color var(--za-ease-fast) ease, color var(--za-ease-fast) ease;
}
.za-chip:hover {
	border-color: var(--za-gold);
	color: var(--za-gold);
}
.za-chip.is-tag {
	font-weight: 500;
	color: var(--za-slate);
}
.za-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}
.za-share-title {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--za-gold);
}
.za-share-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.za-share-link,
.za-share-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	height: 40px;
	min-width: 40px;
	padding: 0 0.7rem;
	border: 1px solid var(--za-line);
	border-radius: var(--za-radius-pill);
	background: var(--za-white);
	color: var(--za-navy);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--za-ease-fast) ease, color var(--za-ease-fast) ease, border-color var(--za-ease-fast) ease;
}
.za-share-link svg,
.za-share-copy svg {
	width: 17px;
	height: 17px;
}
.za-share-link:hover,
.za-share-copy:hover {
	background: var(--za-navy);
	border-color: var(--za-navy);
	color: var(--za-gold-bright);
}
.za-share-copy.is-done {
	background: var(--za-success-bg, var(--za-canvas));
	border-color: var(--za-success-line, var(--za-line));
	color: var(--za-success, var(--za-navy));
}
.za-author-box {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem 1.6rem;
	border-radius: var(--za-radius-card, 14px);
	background: linear-gradient(135deg, var(--za-navy), var(--za-navy-light));
	color: var(--za-white);
}
.za-author-box-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--za-radius-pill);
	background: linear-gradient(180deg, var(--za-gold-bright), var(--za-gold-dark));
}
.za-author-box-svg {
	width: 28px;
	height: 28px;
	color: var(--za-navy);
}
.za-author-box-name {
	margin: 0;
	font-family: var(--za-font-heading);
	font-size: 1.2rem;
	line-height: 1.3;
}
.za-author-box-role {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--za-gold-bright);
}
.za-author-box-bio {
	margin: 0.55rem 0 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: rgba(var(--za-frost-rgb), 0.85);
}
.za-author-box-cta {
	padding: 0.75rem 1.2rem;
	border-radius: var(--za-radius-button, var(--za-radius-md, 4px));
	background: linear-gradient(180deg, var(--za-gold-bright), var(--za-gold-dark));
	color: var(--za-navy);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
}
.za-author-box-cta:hover {
	background: var(--za-white);
}

/* Keep reading. */
.za-related-posts {
	padding: calc(clamp(3rem, 6vw, 4.5rem) * var(--za-space, 1)) 20px;
	background: var(--za-canvas);
}
.za-related-posts-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.za-related-posts-heading {
	margin: 0 0 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.za-article {
		grid-template-columns: minmax(0, 760px);
	}
	.za-article-aside {
		display: none;
	}
}
@media (max-width: 980px) {
	.za-post-grid {
		grid-template-columns: repeat(min(var(--za-cols, 3), 2), minmax(0, 1fr));
	}
	.za-insights-feature {
		grid-template-columns: minmax(0, 1fr);
	}
	.za-insights-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: auto;
	}
	.za-post-card.is-feature {
		display: flex;
		flex-direction: column;
	}
	.za-post-card.is-feature .za-post-card-media {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
	.za-post-card.is-feature .za-post-card-body {
		padding: 1.5rem 1.6rem 1.7rem;
	}
}
@media (max-width: 680px) {
	.za-post-grid,
	.za-insights-list {
		grid-template-columns: minmax(0, 1fr);
	}
	.za-post-card.is-row {
		grid-template-columns: 104px minmax(0, 1fr);
	}
	.za-author-box {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.za-author-box-cta {
		grid-column: 1 / -1;
		text-align: center;
	}
	.za-prose {
		font-size: 1.02rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.za-post-card,
	.za-post-card::before,
	.za-post-card-img {
		transition: none;
	}
}
body.za-no-animations .za-post-card:hover,
body.za-no-animations .za-post-card:hover .za-post-card-img {
	transform: none;
}

/* ---------- Article layer: fixes over the earlier query-block rules ---------- */
/* The index is now built from the shared card (patterns/blog-index.php); the
   grid lives on .za-post-grid, not on the wrapper as the old query block had it. */
.za-blog-index.za-blog-index {
	display: block;
	grid-template-columns: none;
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	max-width: 1200px;
}
/* The cover overlaps the bottom of the navy header band. */
.za-article-page > .za-article-media.za-article-media {
	margin-top: calc(clamp(5rem, 9vw, 7rem) * -1 + 1.5rem);
}
.za-article-page > .za-article.za-article {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.za-article-page > * + * {
	margin-block-start: 0;
}
/* Small thumbnails: frame the cover on its right-hand side, where the
   artwork's icon sits, rather than cropping the title text. */
.za-post-card.is-row .za-post-card-img {
	object-position: 84% 50%;
}

/* ---------- Footer: designer credit (the very last line) ---------- */
.za-footer-credit {
	margin: 1.1rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(var(--za-frost-rgb), 0.08);
	text-align: center;
	font-size: 0.78rem;
	color: rgba(var(--za-frost-rgb), 0.6);
}
.za-footer-credit a {
	color: rgba(var(--za-frost-rgb), 0.85);
	text-decoration: underline;
	text-decoration-color: rgba(var(--za-gold-bright-rgb), 0.6);
	text-underline-offset: 3px;
	transition: color var(--za-ease-fast) ease;
}
.za-footer-credit a:hover {
	color: var(--za-gold-bright);
}

/* ---------- Alignment fixes ---------- */
/* Full-bleed bands are sized with 100vw, which includes the scrollbar, so
   they overhang the page by half its width on each side and let the page
   scroll sideways. Clip that at the root: `clip` (unlike `hidden`) creates
   no scroll container, so the sticky header keeps working. */
html,
body {
	overflow-x: clip;
}

/* Section patterns placed in page content (About, and any page built from
   the theme's sections) span the full window like they do on the homepage;
   each section's own constrained layout re-centres its content at 1200px.
   Plain prose in page content keeps the readable column. */
.za-page-content > section.wp-block-group,
.za-page-content > .za-cta-final {
	max-width: none !important;
	/* Reach past the content wrapper's page padding to the window edges. */
	margin-left: calc(var(--wp--style--root--padding-left, 20px) * -1) !important;
	margin-right: calc(var(--wp--style--root--padding-right, 20px) * -1) !important;
	width: auto;
}
.za-page-content {
	margin-block-start: 0;
}
.za-page-content > * + section.wp-block-group,
.za-page-content > section.wp-block-group + * {
	margin-block-start: 0;
}

/* A short team row (fewer people than columns) sits in the middle. */
.za-team-grid.is-short {
	grid-template-columns: repeat(var(--za-cols, 2), minmax(0, 380px));
	justify-content: center;
}
@media (max-width: 640px) {
	.za-team-grid.is-short {
		grid-template-columns: minmax(0, 1fr);
	}
}
/* The full-bleed sections need their own side padding back: WordPress zeroes
   padding on blocks nested inside a padded wrapper, and the wrapper's padding
   no longer applies once the section reaches past it. */
.za-page-content > section.wp-block-group,
.za-page-content > .za-cta-final {
	padding-left: var(--wp--style--root--padding-left, 20px) !important;
	padding-right: var(--wp--style--root--padding-right, 20px) !important;
}

/* About: the credentials panel measured 1200px plus its padding and border,
   overhanging the content column by ~33px on each side. */
.za-credentials {
	box-sizing: border-box;
}

/* Plain-text pages (Privacy Policy and similar): the section-rhythm rule
   that removes the gap between stacked bands also stripped the spacing
   between paragraphs and headings. Pages built from section patterns are
   unaffected — this only applies where the content has no <section>. */
.za-page-content:not(:has(> section)) {
	padding-top: calc(clamp(2.5rem, 4.5vw, 3.5rem) * var(--za-space, 1));
}
.za-page-content:not(:has(> section)) > p,
.za-page-content:not(:has(> section)) > ul,
.za-page-content:not(:has(> section)) > ol,
.za-page-content:not(:has(> section)) > blockquote,
.za-page-content:not(:has(> section)) > .wp-block-group {
	margin-block-end: 1.1em !important;
	line-height: 1.7;
}
.za-page-content:not(:has(> section)) > h2 {
	margin-block-start: 1.8em !important;
	margin-block-end: 0.5em !important;
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	line-height: 1.25;
}
.za-page-content:not(:has(> section)) > h3 {
	margin-block-start: 1.5em !important;
	margin-block-end: 0.4em !important;
	font-size: 1.25rem;
}
.za-page-content:not(:has(> section)) > :first-child {
	margin-block-start: 0 !important;
}
