/* =========================================================
   Abbey Taylor Jones — Design tokens (Brand Book V1.0)
   ========================================================= */
:root {
	--atj-navy: #0A2A87;
	--atj-ink: #071A4F;
	--atj-sky: #8FA8E0;
	--atj-gold: #D4A72C;
	--atj-gold-deep: #86650A;
	--atj-gold-light: #E8C766;
	--atj-paper: #F4F4F5;
	--atj-paper-alt: #FAFAFA;
	--atj-charcoal: #2E343B;
	--atj-grey: #5A6472;
	--atj-grey-light: #8A929C;
	--atj-grey-lighter: #9AA1AB;
	--atj-border: #E2E2E5;
	--atj-border-soft: #ECECEE;
	--atj-white: #FFFFFF;

	--atj-success: #3F8F68;
	--atj-success-tint: #EAF3EE;
	--atj-warning: #B77B18;
	--atj-warning-tint: #FDF3E3;
	--atj-critical: #C0392B;
	--atj-critical-tint: #FBECEA;

	--atj-font-display: 'Manrope', system-ui, sans-serif;
	--atj-font-body: 'Source Sans 3', system-ui, sans-serif;

	--atj-max: 1320px;
	--atj-gutter: 60px;
	--atj-radius: 12px;
	--atj-radius-sm: 8px;

	--atj-space-1: 8px;
	--atj-space-2: 16px;
	--atj-space-3: 24px;
	--atj-space-4: 32px;
	--atj-space-6: 48px;
	--atj-space-8: 64px;
	--atj-space-12: 96px;
	--atj-space-16: 128px;
}

@media (max-width: 900px) {
	:root { --atj-gutter: 24px; }
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--atj-paper);
	color: var(--atj-charcoal);
	font-family: var(--atj-font-body);
	font-weight: 400;
	line-height: 1.68;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--atj-navy); text-decoration: none; }
/* Gold Deep, not raw Gold, on hover — raw Gold text on a white/paper
   ground fails WCAG AA (Brand Guidelines v2.0 §02, Contrast Warning). */
a:hover { color: var(--atj-gold-deep); }
::selection { background: var(--atj-sky); color: var(--atj-ink); }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 16px; }

h1, h2, h3, h4, h5 {
	font-family: var(--atj-font-display);
	color: var(--atj-navy);
	margin: 0;
}

.atj-container {
	max-width: var(--atj-max);
	margin: 0 auto;
	padding: 0 var(--atj-gutter);
}

.atj-eyebrow {
	display: inline-block;
	font: 500 12px/1 var(--atj-font-display);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--atj-gold-deep);
}
.atj-eyebrow--light { color: var(--atj-sky); }
/* --atj-gold-light for small text on navy (7.5:1) — the main gold
   is kept for large display text and decorative rules. */
.atj-hero__eyebrow { font-weight: 700; color: var(--atj-gold-light); }

.atj-display {
	font: 300 76px/1.05 var(--atj-font-display);
	letter-spacing: -0.045em;
}
.atj-h1 { font: 300 56px/1.12 var(--atj-font-display); letter-spacing: -0.035em; }
.atj-h2 { font: 400 38px/1.2 var(--atj-font-display); letter-spacing: -0.03em; }
.atj-h3 { font: 600 24px/1.3 var(--atj-font-display); letter-spacing: -0.02em; }
.atj-h4 { font: 600 18px/1.35 var(--atj-font-display); letter-spacing: -0.01em; }

.atj-body-lg { font: 300 21px/1.62 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-body { font: 400 17px/1.68 var(--atj-font-body); color: var(--atj-charcoal); max-width: 68ch; }
.atj-small { font: 400 15px/1.6 var(--atj-font-body); color: var(--atj-grey); }

@media (max-width: 780px) {
	.atj-display { font-size: 44px; }
	.atj-h1 { font-size: 36px; }
	.atj-h2 { font-size: 28px; }
	.atj-h3 { font-size: 21px; }
}

/* Section rhythm */
.atj-section { padding: var(--atj-space-16) 0; }
@media (max-width: 900px) {
	.atj-section { padding: var(--atj-space-8) 0; }
}
.atj-section--navy { background: var(--atj-navy); color: var(--atj-white); }
.atj-section--ink { background: var(--atj-ink); color: var(--atj-white); }
.atj-section--white { background: var(--atj-white); }
.atj-section--paper { background: var(--atj-paper); }
.atj-section--navy h2, .atj-section--navy h3, .atj-section--ink h2, .atj-section--ink h3 { color: var(--atj-white); }

/* Buttons */
.atj-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: var(--atj-radius-sm);
	padding: 14px 24px;
	font: 600 15px/1 var(--atj-font-display);
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
	border: 1px solid transparent;
	white-space: nowrap;
}
/* .atj-btn's own `display: inline-flex` otherwise beats the browser's
   default [hidden]{display:none} UA rule (author styles always win
   over UA styles, specificity tie or not) — so a hidden .atj-btn
   would render anyway. Needed for the wizard's Back/Next/Submit swap. */
.atj-btn[hidden] { display: none; }
.atj-btn--primary { background: var(--atj-navy); color: var(--atj-white); }
.atj-btn--primary:hover { background: var(--atj-ink); color: var(--atj-white); }
.atj-btn--white { background: var(--atj-white); color: var(--atj-navy); }
.atj-btn--white:hover { background: var(--atj-paper); color: var(--atj-navy); }
.atj-btn--outline { border-color: #C9CED5; color: var(--atj-navy); }
.atj-btn--outline:hover { border-color: var(--atj-navy); }
.atj-btn--outline-light { border-color: rgba(255,255,255,0.4); color: var(--atj-white); }
.atj-btn--outline-light:hover { border-color: var(--atj-white); }
/* White text on bright gold at the client's request — note this is
   ~2.2:1, below the WCAG AA 4.5:1 minimum for button text. */
.atj-btn--gold { background: var(--atj-gold); color: var(--atj-white); }
.atj-btn--gold:hover { background: var(--atj-ink); color: var(--atj-white); }
.atj-btn__icon { width: 14px; height: 14px; flex: none; }
.atj-btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 6px; }

.atj-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 600 15px/1 var(--atj-font-display);
	color: var(--atj-navy);
}
.atj-link-arrow:hover { color: var(--atj-gold-deep); }
/* Comfortable touch target on phones without changing the layout:
   pad the link vertically and cancel it out with negative margin. */
@media (max-width: 780px) {
	.atj-link-arrow { padding-top: 12px; padding-bottom: 12px; margin-top: -12px; margin-bottom: -12px; }
}

/* Cards */
.atj-card {
	background: var(--atj-white);
	border: 1px solid var(--atj-border);
	border-radius: var(--atj-radius);
	padding: 34px 32px;
}
.atj-card-icon {
	width: 40px;
	height: 40px;
	border: 1.5px solid var(--atj-navy);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.atj-card-icon span {
	width: 14px;
	height: 14px;
	border: 1.5px solid var(--atj-gold);
	border-radius: 50%;
}

/* =========================================================
   Top utility bar — secondary links that don't need main-nav weight.
   Sits above the sticky header and scrolls away with the page, rather
   than sticking, so it doesn't compete with the primary nav for space.
   ========================================================= */
.atj-topbar { background: var(--atj-ink); }
.atj-topbar__inner {
	display: flex;
	justify-content: flex-end;
	gap: 24px;
	padding: 8px var(--atj-gutter);
}
.atj-topbar a {
	font: 500 12.5px/1 var(--atj-font-display);
	letter-spacing: 0.03em;
	color: rgba(255,255,255,0.7);
}
.atj-topbar a:hover { color: var(--atj-white); }
@media (max-width: 620px) {
	.atj-topbar__inner { justify-content: center; gap: 20px; padding-top: 0; padding-bottom: 0; }
	/* Taller tap area without making the bar look any bigger. */
	.atj-topbar a { padding: 10px 0; }
}

/* =========================================================
   Header — navy bar with a pill-shaped nav capsule and icon-tipped
   CTA buttons, styled after the begbies-traynorgroup.com reference.
   ========================================================= */
.atj-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--atj-navy);
}
.atj-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px var(--atj-gutter);
}
/* Logo clear space = min 24px on every side (Brand Guidelines v2.0 §01);
   the flex gap covers the right edge, this padding covers top/bottom/left. */
.atj-logo { flex: none; display: block; padding: 24px 0; margin: -24px 0; }
.atj-logo img { width: 320px; height: auto; }

.atj-nav {
	display: flex;
	align-items: center;
	gap: 36px;
	flex-wrap: nowrap;
	flex: none;
}
.atj-nav li { position: relative; }
.atj-nav > li { display: flex; align-items: center; }
.atj-nav a {
	font: 500 15px/1 var(--atj-font-display);
	color: rgba(255,255,255,0.85);
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 0;
	position: relative;
	white-space: nowrap;
}
.atj-nav a:hover { color: var(--atj-white); }

/* Active state — a single gold underline, per the brand's "one rule,
   one active state, one underline" colour restraint. */
.atj-nav > li.atj-has-mega.is-open > a::after,
.atj-nav > li.current-menu-item > a::after,
.atj-nav > li.current-menu-parent > a::after,
.atj-nav > li.current_page_parent > a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--atj-gold);
}

/* =========================================================
   Mega menu (Services) — full-bleed panel, grouped columns
   + navy CTA card, matching the brand book nav pattern.
   ========================================================= */
.atj-mega {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--atj-paper);
	border-top: 1px solid var(--atj-border-soft);
	border-bottom: 1px solid var(--atj-border-soft);
	z-index: 90;
}
.atj-mega.is-open { display: block; }
.atj-mega__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr) 340px;
	gap: var(--atj-space-6);
	padding: var(--atj-space-6) var(--atj-gutter);
}
.atj-mega__col { display: flex; flex-direction: column; gap: 16px; }
.atj-mega__eyebrow {
	font: 500 11px/1 var(--atj-font-display);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--atj-grey-lighter);
	margin-bottom: 4px;
}
.atj-mega__col a {
	font: 400 17px/1.3 var(--atj-font-body);
	color: var(--atj-navy);
	padding: 2px 0;
}
.atj-mega__col a:hover { color: var(--atj-gold-deep); }
/* Column headings are links (to each group's overview page, as on the
   old site) but keep the small-caps eyebrow look. */
.atj-mega__col a.atj-mega__eyebrow {
	font: 500 11px/1 var(--atj-font-display);
	color: var(--atj-grey);
	padding: 0;
}
.atj-mega__col a.atj-mega__eyebrow:hover { color: var(--atj-gold-deep); }
.atj-mega__cta {
	background: var(--atj-navy);
	border-radius: var(--atj-radius);
	padding: var(--atj-space-4);
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.atj-mega__cta h4 {
	color: var(--atj-white);
	font: 600 21px/1.3 var(--atj-font-display);
	letter-spacing: -0.01em;
	margin: 0;
}
.atj-mega__cta p {
	margin: 0;
	color: rgba(255,255,255,0.7);
	font: 400 15px/1.55 var(--atj-font-body);
}
.atj-link-arrow--gold { color: var(--atj-gold-light); }

@media (max-width: 1240px) {
	.atj-mega { position: static; border: none; background: none; }
	.atj-mega__inner { grid-template-columns: 1fr; padding: 0 0 16px 16px; gap: var(--atj-space-3); }
	.atj-mega__cta { margin-top: 8px; }
	.atj-nav > li.current-menu-item > a::after,
	.atj-nav > li.current-menu-parent > a::after,
	.atj-nav > li.current_page_parent > a::after,
	.atj-nav > li.atj-has-mega.is-open > a::after { display: none; }
}

.atj-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.atj-header__phone { font: 600 15px/1 var(--atj-font-display); color: rgba(255,255,255,0.85); white-space: nowrap; }
.atj-header__phone:hover { color: var(--atj-white); }

.atj-menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
}
.atj-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--atj-white); }

@media (max-width: 1240px) {
	.atj-nav { display: none; }
	.atj-header__phone,
	.atj-header__offices { display: none; }
	.atj-menu-toggle { display: flex; }
	.atj-nav.is-open {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--atj-white);
		border: none;
		border-radius: 0;
		padding: 20px var(--atj-gutter) 28px;
		border-bottom: 1px solid var(--atj-border);
	}
	.atj-nav.is-open a { padding: 10px 0; width: 100%; color: var(--atj-charcoal); }
	.atj-nav.is-open a:hover { color: var(--atj-navy); }

	/* The open menu can be taller than a phone screen — scroll inside it
	   rather than running off the bottom of the sticky header. */
	.atj-nav.is-open {
		max-height: calc(100dvh - 72px);
		overflow-y: auto;
		box-shadow: 0 16px 32px rgba(7, 26, 79, 0.12);
	}
	.atj-nav.is-open > li { width: 100%; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--atj-border-soft); }
	.atj-nav.is-open > li:last-child { border-bottom: 0; }
	.atj-nav.is-open > li > a { font-size: 17px; padding: 14px 0; }

	/* Services: main.js moves the mega panel inside its <li> at this
	   width, so it opens as an accordion within the menu. */
	.atj-nav.is-open .atj-has-mega > a::before {
		content: '';
		order: 2;
		margin-left: auto;
		width: 8px; height: 8px;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translateY(-3px);
		transition: transform .2s ease;
	}
	.atj-nav.is-open .atj-has-mega.is-open > a::before { transform: rotate(-135deg) translateY(-2px); }
	.atj-nav .atj-mega__inner { padding: 0 0 20px; gap: 22px; }
	.atj-nav .atj-mega__col { gap: 2px; }
	.atj-nav.is-open .atj-mega__col a { font: 400 16px/1.35 var(--atj-font-body); color: var(--atj-navy); padding: 9px 0 9px 14px; white-space: normal; }
	.atj-nav.is-open .atj-mega__col a.atj-mega__eyebrow { font: 500 11.5px/1 var(--atj-font-display); letter-spacing: 0.14em; color: var(--atj-grey); padding: 8px 0; }
	.atj-nav.is-open .atj-mega__cta { padding: 24px; }
	.atj-nav.is-open .atj-mega__cta a { color: var(--atj-gold-light); padding: 6px 0 0; }

	/* The phone number and offices link are hidden from the bar at this
	   width, so repeat them at the foot of the open menu. */
	.atj-nav__mobile-extras { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; width: 100%; }
	.atj-nav.is-open .atj-nav__mobile-extras a.atj-btn { justify-content: center; width: 100%; padding: 14px 20px; color: var(--atj-navy); }
	.atj-nav.is-open .atj-nav__mobile-extras a.atj-btn--primary { color: var(--atj-white); }

	.atj-menu-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; }
	.atj-menu-toggle span { transition: transform .2s ease, opacity .2s ease; }
	.atj-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.atj-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.atj-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* Small laptops: full nav + logo + three header actions only just fit,
   eating into the side gutter — tighten the nav and drop "Our offices"
   (still one tap away via Contact). */
@media (min-width: 1241px) and (max-width: 1360px) {
	.atj-nav { gap: 26px; }
	.atj-header__offices { display: none; }
}
/* Qualified to beat `.atj-nav > li { display: flex }`. */
@media (min-width: 1241px) { .atj-nav > li.atj-nav__mobile-extras { display: none; } }

/* Phones: the 320px logo plus the CTA and menu button overflowed the
   screen (the menu button sat off the right edge, unreachable), so
   scale the logo with the viewport and tighten the bar. */
/* Phones: "Free advice" lives in the bottom contact bar instead
   (.atj-mobile-bar), leaving the bar to the logo and menu button. */
@media (max-width: 780px) {
	.atj-header__actions .atj-btn--gold { display: none; }
}
@media (max-width: 640px) {
	.atj-header__inner { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
	.atj-logo { padding: 12px 0; margin: -12px 0; min-width: 0; flex: 0 1 auto; }
	.atj-logo img { width: clamp(180px, 62vw, 260px); }
	.atj-header__actions { gap: 4px; }
}
@media (max-width: 400px) {
	:root { --atj-gutter: 16px; }
}

/* =========================================================
   Hero
   ========================================================= */
.atj-hero {
	position: relative;
	background: var(--atj-navy);
	color: var(--atj-white);
	overflow: hidden;
	padding: 88px 0 0;
}
.atj-hero__rings::before, .atj-hero__rings::after {
	content: '';
	position: absolute;
	border: 1px solid rgba(143,168,224,0.22);
	border-radius: 50%;
	width: 620px;
	height: 620px;
	right: -180px;
	top: -120px;
}
.atj-hero__rings::after { right: -90px; top: -190px; border-color: rgba(143,168,224,0.13); }
.atj-hero__grid {
	position: relative;
	max-width: var(--atj-max);
	margin: 0 auto;
	padding: 0 var(--atj-gutter);
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 60px;
	align-items: center;
}
.atj-hero__content { display: flex; flex-direction: column; gap: 26px; padding-bottom: 88px; }
/* One gold rule for emphasis, per the brand's colour restraint — a
   short standalone divider under the hero headline, not an underline
   tracing the text itself. */
.atj-rule-gold { width: 64px; height: 3px; background: var(--atj-gold); }
.atj-hero__content p { max-width: 46ch; font: 300 20px/1.6 var(--atj-font-body); color: rgba(255,255,255,0.8); margin: 0; }
.atj-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 8px; }
.atj-hero__media {
	align-self: end;
	height: 420px;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.16);
	border-bottom: none;
	background: rgba(255,255,255,0.05);
}
.atj-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Video variant — the base .atj-hero__media box is shaped for a
   full-bleed portrait photo that deliberately bleeds into the stats
   bar below (fixed height, square bottom corners, no bottom border).
   A video needs to read as a self-contained player instead: true
   16:9, floating clear of the bar, fully rounded. Doubled-up selector
   for higher specificity than the base rule regardless of source order. */
.atj-hero__media.atj-hero__media--video {
	position: relative;
	align-self: center;
	height: auto;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	border-bottom: 1px solid rgba(255,255,255,0.16);
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at center, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
/* Poster still under a navy wash so the play button and caption read. */
.atj-hero__media--video .atj-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.atj-hero__media--video:has(.atj-hero__poster)::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11,22,45,0.15) 0%, rgba(11,22,45,0.35) 55%, rgba(11,22,45,0.75) 100%);
	pointer-events: none;
}
.atj-hero__media--video .atj-hero__play,
.atj-hero__media--video .atj-hero__video-caption { position: relative; z-index: 1; }
.atj-hero__media--video .atj-hero__video-caption { position: absolute; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.atj-hero__play {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--atj-white);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease;
}
.atj-hero__play:hover { transform: scale(1.06); background: var(--atj-gold-light); }
.atj-hero__play-icon { width: 28px; height: 28px; color: var(--atj-navy); margin-left: 4px; }
.atj-hero__video-caption {
	position: absolute;
	bottom: 24px;
	left: 0;
	right: 0;
	text-align: center;
	font: 500 12px/1 var(--atj-font-display);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.7);
}

@media (max-width: 980px) {
	.atj-hero__grid { grid-template-columns: 1fr; }
	.atj-hero__content { padding-bottom: 48px; }
	.atj-hero__media { display: none; }
}

/* Photo hero — full-bleed environmental photograph with a dark
   left-to-right gradient for text legibility, styled after the
   begbies-traynorgroup.com reference. Replaces the .atj-hero__grid
   two-column layout for the homepage specifically. */
.atj-hero--photo { padding: 0; min-height: 620px; display: flex; align-items: flex-end; }
.atj-hero--photo__media { position: absolute; inset: 0; z-index: 0; }
.atj-hero--photo__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.atj-hero--photo__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(11,22,45,0.78) 0%, rgba(11,22,45,0.62) 34%, rgba(11,22,45,0.22) 64%, rgba(11,22,45,0.04) 100%);
}
.atj-hero--photo__inner { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 96px; }
.atj-hero--photo .atj-hero__content { padding-bottom: 0; max-width: 640px; }
/* One phrase in italic, echoing the reference's accent treatment —
   Manrope has no true italic in the weights we load, so this is a
   browser-synthesised slant; acceptable at large display sizes. */
/* Main gold on the hero's dark overlay — set as a 56px display
   heading, so large-text contrast applies. */
.atj-hero--photo .atj-hero__content em { font-style: italic; font-weight: 300; color: var(--atj-gold); }
@media (max-width: 640px) {
	.atj-hero--photo { min-height: 560px; }
	.atj-hero--photo__inner { padding-top: 100px; padding-bottom: 64px; }
}

/* Video section — the hero's video, relocated further down the
   homepage now the hero itself is a full-bleed photo. Longhand
   padding only — this sits on the same element as .atj-container,
   and a shorthand `padding: 96px 0` here would wipe its horizontal
   gutter (see the alignment fixes elsewhere in this file). */
.atj-video-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.atj-video-section .atj-hero__media--video { align-self: center; }
@media (max-width: 900px) { .atj-video-section { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; } }

/* Stats band */
.atj-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--atj-ink);
	color: var(--atj-white);
}
.atj-stats__item {
	padding: 24px var(--atj-gutter);
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-right: 1px solid rgba(255,255,255,0.12);
}
.atj-stats__item:last-child { border-right: none; }
.atj-stats__icon { width: 26px; height: 26px; color: var(--atj-sky); margin-bottom: 6px; flex: none; }
.atj-stats__num { font: 300 26px/1 var(--atj-font-display); }
.atj-stats__label { font: 400 13.5px/1.4 var(--atj-font-body); color: rgba(255,255,255,0.62); }
@media (max-width: 780px) {
	.atj-stats { grid-template-columns: repeat(2, 1fr); }
	.atj-stats__item:nth-child(2) { border-right: none; }
}

/* Generic grids */
.atj-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	margin-bottom: 44px;
	flex-wrap: wrap;
}
.atj-section-head__copy { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }

.atj-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.atj-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.atj-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 980px) {
	.atj-grid-3, .atj-grid-4 { grid-template-columns: 1fr 1fr; }
	.atj-grid-2 { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
	.atj-grid-3, .atj-grid-4 { grid-template-columns: 1fr; }
}

/* Service cards */
.atj-service-card { display: flex; flex-direction: column; gap: 18px; min-height: 250px; transition: box-shadow .15s ease, border-color .15s ease; }
a.atj-service-card:hover { border-color: var(--atj-navy); box-shadow: 0 8px 24px rgba(10,42,135,0.08); }
.atj-service-card p { color: var(--atj-grey); font: 400 15.5px/1.62 var(--atj-font-body); margin: 0; }
.atj-service-card .atj-link-arrow { margin-top: auto; }

/* Why-us list */
.atj-reasons { display: flex; flex-direction: column; border-top: 1px solid var(--atj-border-soft); }
.atj-reasons__item { padding: 22px 0; border-bottom: 1px solid var(--atj-border-soft); display: flex; gap: 20px; }
/* Gold Deep, not Sky — this list sits on a white section, and Sky is
   reserved for screen use on dark grounds only (Brand Guidelines v2.0 §02). */
.atj-reasons__num { font: 500 13px/1.6 var(--atj-font-body); color: var(--atj-gold-deep); width: 26px; flex: none; }
.atj-reasons__item h4 { font: 600 17px/1.35 var(--atj-font-display); color: var(--atj-navy); }
.atj-reasons__item p { margin: 5px 0 0; font: 400 15.5px/1.6 var(--atj-font-body); color: var(--atj-grey); }
.atj-media-frame {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--atj-border);
	background: var(--atj-border-soft);
	min-height: 320px;
}
.atj-media-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Fixed-shape frame — no min-height, which with a fixed aspect ratio
   forced a minimum width wider than a phone. */
.atj-media-frame--4x3 { aspect-ratio: 4 / 3; min-height: 0; }
@media (max-width: 780px) { .atj-media-frame { min-height: 0; aspect-ratio: 4 / 3; } }

/* Pair of CTA buttons (callback + phone). Wraps instead of overflowing
   on narrow screens; on phones each button takes a full row. */
.atj-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 480px) {
	.atj-btn-row .atj-btn { flex: 1 1 100%; justify-content: center; }
}

/* Process steps */
.atj-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.atj-steps::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 19px;
	height: 1px;
	background: #DCDCDF;
}
.atj-steps__item { display: flex; flex-direction: column; gap: 18px; position: relative; }
.atj-steps__num {
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--atj-navy); color: var(--atj-white);
	display: flex; align-items: center; justify-content: center;
	font: 600 15px/1 var(--atj-font-display);
	position: relative; z-index: 1;
}
.atj-steps__item:last-child .atj-steps__num { background: var(--atj-gold); color: var(--atj-ink); }
.atj-steps__item h4 { font: 600 19px/1.3 var(--atj-font-display); color: var(--atj-navy); }
.atj-steps__item p { margin: 0; font: 400 15.5px/1.62 var(--atj-font-body); color: var(--atj-grey); }
@media (max-width: 780px) {
	.atj-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.atj-steps::before { display: none; }
}

/* =========================================================
   Route selector cards (Liquidation page redesign) — jump links
   to the matching section below, styled like the homepage's
   "How we help" service cards.
   ========================================================= */
.atj-route-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--atj-white);
	border: 1px solid var(--atj-border);
	border-radius: var(--atj-radius);
	padding: 30px 28px;
	transition: box-shadow .15s ease, border-color .15s ease;
}
a.atj-route-card:hover { border-color: var(--atj-navy); box-shadow: 0 8px 24px rgba(10,42,135,0.08); }
.atj-route-icon-wrap {
	width: 44px; height: 44px;
	border: 1.5px solid var(--atj-navy);
	border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	flex: none;
}
.atj-route-icon { width: 22px; height: 22px; color: var(--atj-navy); }
.atj-route-card h4 { font: 600 19px/1.3 var(--atj-font-display); color: var(--atj-navy); }
.atj-route-card p { margin: 0; color: var(--atj-grey); font: 400 15px/1.6 var(--atj-font-body); }
.atj-route-card__facts {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 0;
	border-top: 1px solid var(--atj-border-soft);
	border-bottom: 1px solid var(--atj-border-soft);
	font: 400 13.5px/1.5 var(--atj-font-body);
	color: var(--atj-grey);
}
.atj-route-card__facts strong { color: var(--atj-navy); font-weight: 600; }
.atj-route-card .atj-link-arrow { margin-top: auto; }

/* =========================================================
   Vertical timeline (Compulsory Liquidation process) — replaces a
   plain numbered list with a connected step sequence.
   ========================================================= */
.atj-timeline { display: flex; flex-direction: column; }
.atj-timeline__item { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.atj-timeline__item:last-child { padding-bottom: 0; }
.atj-timeline__item::before {
	content: '';
	position: absolute;
	left: 15px; top: 32px; bottom: 0;
	width: 1px;
	background: var(--atj-border);
}
.atj-timeline__item:last-child::before { display: none; }
.atj-timeline__num {
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--atj-navy); color: var(--atj-white);
	display: flex; align-items: center; justify-content: center;
	font: 600 14px/1 var(--atj-font-display);
	flex: none; position: relative; z-index: 1;
}
.atj-timeline__item:last-child .atj-timeline__num { background: var(--atj-gold); color: var(--atj-ink); }
.atj-timeline__body { padding-top: 4px; }
.atj-timeline__body p { margin: 0; font: 400 16px/1.6 var(--atj-font-body); color: var(--atj-charcoal); }

/* Pulled-out stat within body content (e.g. a vote threshold, a
   statutory deadline) — gives long-form service copy the same visual
   rhythm as the timeline/route cards elsewhere on the page. */
.atj-stat-highlight {
	display: flex;
	align-items: baseline;
	gap: 20px;
	background: var(--atj-white);
	border: 1px solid var(--atj-border);
	border-left: 3px solid var(--atj-navy);
	border-radius: var(--atj-radius-sm);
	padding: 22px 26px;
	margin: 28px 0;
}
.atj-stat-highlight__num { font: 300 40px/1 var(--atj-font-display); color: var(--atj-navy); flex: none; }
.atj-stat-highlight__label { font: 400 15px/1.5 var(--atj-font-body); color: var(--atj-grey); max-width: 42ch; }
@media (max-width: 560px) { .atj-stat-highlight { flex-direction: column; gap: 8px; } }

/* =========================================================
   Urgent inline CTA (Liquidation page, Compulsory section) — the
   highest-urgency moment on the page gets its own contained navy
   card instead of trailing off into a plain paragraph + buttons.
   ========================================================= */
/* Qualified with .atj-section (always present, wherever this card is
   placed) rather than a specific parent layout — the previous version
   was scoped to .atj-content-grid/.atj-route-detail specifically and
   silently lost its styling when the markup moved to a different
   parent. .atj-section gives enough specificity to beat the generic
   .atj-content h3/p rules without caring what wraps it. */
.atj-section .atj-urgent-cta {
	background: var(--atj-navy);
	border-radius: var(--atj-radius);
	padding: 40px;
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
}
.atj-urgent-cta__icon {
	width: 44px; height: 44px;
	border-radius: 12px;
	background: rgba(255,255,255,0.1);
	color: var(--atj-gold-light);
	display: flex; align-items: center; justify-content: center;
	flex: none;
}
.atj-urgent-cta__icon svg { width: 24px; height: 24px; }
/* Qualified with .atj-content so these reliably beat the generic
   .atj-content h3 / .atj-content p rules — same specificity as those
   otherwise, which resolves by source order (fragile) instead of intent. */
.atj-section .atj-urgent-cta h3 { color: var(--atj-white); font: 600 22px/1.3 var(--atj-font-display); letter-spacing: -0.01em; margin: 0; }
.atj-section .atj-urgent-cta p { color: rgba(255,255,255,0.78); font: 400 15.5px/1.6 var(--atj-font-body); margin: 0; }
.atj-urgent-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 560px) { .atj-urgent-cta { padding: 28px; } }

/* =========================================================
   Route detail layout (Liquidation page) — a genuine two-column
   section (main copy + a supporting facts/case-study card), rather
   than a lone text column with dead space or a centred floating block.
   ========================================================= */
.atj-route-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.atj-route-detail .atj-content { max-width: 68ch; }
.atj-route-detail .atj-content > * + * { margin-top: var(--atj-space-3); }
@media (max-width: 900px) { .atj-route-detail { grid-template-columns: minmax(0, 1fr); } }
/* Grid items default to min-width:auto, so one long unbreakable child
   (e.g. a nowrap button label) can stretch a column wider than the
   screen. Let every grid column shrink to the viewport instead. */
.atj-route-detail > *, .atj-grid-2 > *, .atj-grid-3 > *, .atj-grid-4 > *, .atj-content-grid > * { min-width: 0; }
@media (max-width: 400px) {
	.atj-btn { white-space: normal; text-align: center; }
}

/* Individual service pages (page-service-detail.php) — one long copy
   column beside a sticky sidebar of facts / case study / guide cards. */
.atj-content p.atj-service-detail__lead { font: 400 20px/1.6 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-route-detail .atj-service-detail > h2 { margin-top: var(--atj-space-8); }
.atj-content .atj-check-list { grid-template-columns: 1fr; padding-left: 0; }
.atj-content .atj-check-list li { list-style: none; margin-bottom: 0; }
.atj-timeline__title { font: 600 17px/1.35 var(--atj-font-display); color: var(--atj-navy); margin: 0 0 6px; }
.atj-service-detail__aside { position: sticky; top: 24px; }
.atj-service-detail__aside .atj-facts-card + .atj-facts-card { margin-top: 24px; }
@media (max-width: 900px) { .atj-service-detail__aside { position: static; } }

.atj-facts-card dl { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.atj-facts-card + .atj-facts-card { margin-top: 24px; }
.atj-facts-card dl + dl { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--atj-border-soft); }
.atj-facts-card dt { font: 500 11px/1 var(--atj-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--atj-grey-lighter); }
.atj-facts-card dd { margin: 6px 0 0; font: 600 17px/1.35 var(--atj-font-display); color: var(--atj-navy); }

/* Checkmark benefit list — an alternative to .atj-content's default
   disc bullets for feature/benefit lists that want more visual weight. */
.atj-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; list-style: none; padding: 0; margin: 0; }
.atj-check-list li { display: flex; gap: 12px; align-items: flex-start; font: 400 16px/1.5 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-check-list__icon { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--atj-gold-deep); }
.atj-check-list--cross .atj-check-list__icon { color: var(--atj-critical); }
@media (max-width: 640px) { .atj-check-list { grid-template-columns: 1fr; } }

/* Benefits/drawbacks comparison pair — two cards side by side, each
   holding its own .atj-check-list (positive) / .atj-check-list--cross
   (negative) so the trade-offs of a route read as a clean weigh-up. */
.atj-compare-card { background: var(--atj-white); border: 1px solid var(--atj-border); border-radius: var(--atj-radius); padding: 32px; }
.atj-compare-card h3 { margin: 0 0 20px; }

/* Case studies */
.atj-case-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.atj-case-card {
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--atj-border);
	overflow: hidden;
}
.atj-case-card--featured { background: var(--atj-navy); color: var(--atj-white); border: none; }
.atj-case-card__media { height: 200px; background: var(--atj-border-soft); overflow: hidden; }
.atj-case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.atj-case-card__body { padding: 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.atj-case-card--featured .atj-case-card__body p { color: rgba(255,255,255,0.72); }
.atj-case-card:not(.atj-case-card--featured) .atj-case-card__body { padding: 32px; }
.atj-case-card:not(.atj-case-card--featured) p { color: var(--atj-grey); margin: 0; }
.atj-case-card h3 { font: 400 22px/1.35 var(--atj-font-display); letter-spacing: -0.02em; margin: 0; color: var(--atj-white); }
.atj-case-card:not(.atj-case-card--featured) h3 { font-size: 21px; color: var(--atj-navy); }
.atj-case-card .atj-link-arrow { margin-top: auto; }
.atj-case-card--featured .atj-link-arrow { color: var(--atj-gold-light); }
@media (max-width: 980px) { .atj-case-grid { grid-template-columns: 1fr; } }

/* FAQ */
.atj-faq { display: flex; flex-direction: column; background: var(--atj-white); border: 1px solid var(--atj-border); border-radius: 12px; overflow: hidden; }
.atj-faq__item { border-top: 1px solid var(--atj-border-soft); }
.atj-faq__item:first-child { border-top: none; }
.atj-faq__q {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 24px 28px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	font: 600 17px/1.4 var(--atj-font-display);
	color: var(--atj-navy);
}
.atj-faq__q .atj-faq__icon { font: 300 22px/1 var(--atj-font-display); color: var(--atj-grey-lighter); flex: none; }
.atj-faq__item.is-open .atj-faq__icon { color: var(--atj-gold); }
.atj-faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 28px; }
.atj-faq__a p { margin: 0 0 24px; max-width: 62ch; font: 400 16px/1.68 var(--atj-font-body); color: var(--atj-grey); }
.atj-faq__item.is-open .atj-faq__a { max-height: 1200px; }
.atj-faq__a ul { margin: 0 0 24px; padding-left: 20px; max-width: 62ch; font: 400 16px/1.68 var(--atj-font-body); color: var(--atj-grey); }
.atj-faq__a li { margin-bottom: 8px; list-style: disc; }
.atj-faq__a strong { color: var(--atj-navy); }
/* FAQ page: one wide column, and room for the longer answers. */
.atj-faq-page { max-width: 920px; }
.atj-faq-page .atj-faq__item.is-open .atj-faq__a { max-height: 2400px; }

/* CTA band */
.atj-cta-band { position: relative; overflow: hidden; }
.atj-cta-band::before {
	content: '';
	position: absolute;
	left: -160px; bottom: -260px;
	width: 600px; height: 600px;
	border: 1px solid rgba(143,168,224,0.2);
	border-radius: 50%;
}
/* Navy duotone treatment for a CTA band with a background photo —
   navy multiply over the image per the brand's photography spec
   ("used sparingly for full-bleed CTA bands, twice per site at most").
   Uses ::after since ::before is already the decorative ring. */
.atj-cta-band--photo { background-size: cover; background-position: center; }
.atj-cta-band--photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--atj-navy);
	opacity: 0.82;
	mix-blend-mode: multiply;
}
.atj-cta-band--photo .atj-container,
.atj-cta-band--photo .atj-cta-band__grid { position: relative; z-index: 1; }

.atj-cta-band__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.atj-cta-band p { max-width: 48ch; font: 300 19px/1.6 var(--atj-font-body); color: rgba(255,255,255,0.76); margin: 0; }
.atj-insight-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.16);
	border-radius: 12px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.atj-insight-card h3 { color: var(--atj-white); font: 400 22px/1.35 var(--atj-font-display); letter-spacing: -0.02em; }
.atj-insight-card p { margin: 0; color: rgba(255,255,255,0.7); font: 400 15.5px/1.6 var(--atj-font-body); }
.atj-insight-card .atj-link-arrow { color: var(--atj-gold-light); }
@media (max-width: 980px) { .atj-cta-band__grid { grid-template-columns: 1fr; gap: 40px; } }

/* =========================================================
   Footer
   ========================================================= */
.atj-footer { background: var(--atj-ink); color: var(--atj-white); padding: 72px 0 0; }
.atj-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 60px;
	padding-bottom: 52px;
	border-bottom: 1px solid rgba(255,255,255,0.14);
}
.atj-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.atj-footer__brand img { width: 210px; height: auto; }
.atj-footer__brand p { max-width: 34ch; font: 400 15px/1.65 var(--atj-font-body); color: rgba(255,255,255,0.62); margin: 0; }
.atj-footer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.atj-footer__badges span { border: 1px solid rgba(255,255,255,0.24); border-radius: 100px; padding: 6px 14px; font: 500 12px/1 var(--atj-font-display); color: rgba(255,255,255,0.8); }
.atj-footer__col { display: flex; flex-direction: column; gap: 12px; font: 400 15px/1.5 var(--atj-font-body); color: rgba(255,255,255,0.7); }
.atj-footer__col-title { font: 500 11px/1 var(--atj-font-display); letter-spacing: 0.16em; color: var(--atj-sky); margin-bottom: 4px; text-transform: uppercase; }
.atj-footer__col a { color: rgba(255,255,255,0.7); }
.atj-footer__col a:hover { color: var(--atj-white); }
/* wp_nav_menu outputs bare <li>s here (items_wrap drops the <ul>), so
   the ul reset doesn't reach them — strip the default bullets. */
.atj-footer__col li { list-style: none; }
@media (max-width: 620px) {
	/* Footer links are stacked tightly; give each a 40px+ tap area. */
	.atj-footer__col { gap: 2px; }
	.atj-footer__col a { display: inline-block; padding: 9px 0; }
	.atj-footer__col-title { margin: 14px 0 6px; }
}
.atj-footer__phone { color: var(--atj-white); font: 600 17px/1.3 var(--atj-font-display); }
.atj-footer__office { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.1); }
.atj-footer__office strong { color: rgba(255,255,255,0.85); font: 600 13px/1.4 var(--atj-font-display); }
.atj-footer__bottom {
	padding: 26px var(--atj-gutter);
	max-width: var(--atj-max);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font: 400 13.5px/1.5 var(--atj-font-body);
	color: rgba(255,255,255,0.45);
}
.atj-footer__bottom nav { display: flex; gap: 26px; flex-wrap: wrap; }
.atj-footer__bottom a { color: rgba(255,255,255,0.45); }
.atj-footer__bottom a:hover { color: var(--atj-white); }
@media (max-width: 980px) { .atj-footer__grid { grid-template-columns: 1fr 1fr; } }
/* Phones: brand and contact full width, the two link lists side by
   side — stacked in one column the footer ran to several screens. */
@media (max-width: 620px) {
	.atj-footer__grid { grid-template-columns: 1fr 1fr; column-gap: 20px; }
	.atj-footer__brand,
	.atj-footer__grid > .atj-footer__col:last-child { grid-column: 1 / -1; }
	.atj-footer__bottom nav { gap: 4px 22px; }
	.atj-footer__bottom nav a { display: inline-block; padding: 10px 0; }
}

/* =========================================================
   Internal pages: page header treatments
   ========================================================= */
/* Padding + max-width live on the SAME element here (matching
   .atj-container and .atj-header__inner) so this band's content lines
   up with the header, body sections and footer — putting padding on
   the outer wrapper and centering a narrower box inside it shifts the
   content left, since the max-width box then centers within an
   already-inset area instead of the full viewport. */
.atj-page-header { padding: 64px 0 56px; }
.atj-page-header--navy { background: var(--atj-navy); color: var(--atj-white); }
.atj-page-header--navy h1 { color: var(--atj-white); }
.atj-page-header__inner { max-width: var(--atj-max); margin: 0 auto; padding: 0 var(--atj-gutter); display: flex; flex-direction: column; gap: 14px; }
.atj-page-header__inner p { margin: 0; max-width: 60ch; font: 400 17px/1.6 var(--atj-font-body); }
.atj-page-header--navy .atj-page-header__inner p { color: rgba(255,255,255,0.75); }

/* padding-top/bottom only (not shorthand "padding") — this class is
   always combined with .atj-container on the same element, and a
   shorthand redeclaration here would silently wipe out .atj-container's
   horizontal gutter instead of merging with it. */
.atj-content-grid { display: grid; grid-template-columns: 1fr 260px; gap: 60px; padding-top: 64px; padding-bottom: 64px; }
.atj-content-grid--full { grid-template-columns: 1fr; }
.atj-content-grid .atj-content { max-width: 68ch; }
.atj-content-grid .atj-content > * + * { margin-top: var(--atj-space-3); }
.atj-content h2 { font: 400 30px/1.3 var(--atj-font-display); letter-spacing: -0.02em; margin-top: var(--atj-space-8); }
.atj-content > h2:first-child { margin-top: 0; }
.atj-content h3 { font: 600 21px/1.3 var(--atj-font-display); margin-top: var(--atj-space-6); }
.atj-content p, .atj-content li { font: 400 17px/1.68 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-content ul, .atj-content ol { padding-left: 22px; }
.atj-content ul li { list-style: disc; margin-bottom: 8px; }
.atj-content ol li { list-style: decimal; margin-bottom: 8px; }
.atj-content blockquote {
	border-left: 2px solid var(--atj-gold);
	padding-left: 22px;
	margin: 32px 0;
	color: var(--atj-navy);
	font: 400 20px/1.55 var(--atj-font-display);
}
.atj-content img { border-radius: 12px; margin: 32px 0; }
.atj-onpage-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 8px; align-self: start; }
.atj-onpage-nav__title { font: 500 11px/1 var(--atj-font-display); letter-spacing: 0.14em; color: var(--atj-grey-lighter); text-transform: uppercase; margin-bottom: 8px; }
.atj-onpage-nav a { font: 400 14px/1.5 var(--atj-font-body); color: var(--atj-grey); padding: 4px 0; border-left: 2px solid var(--atj-border); padding-left: 12px; }
.atj-onpage-nav a:hover, .atj-onpage-nav a.is-active { color: var(--atj-navy); border-left-color: var(--atj-gold); }
@media (max-width: 980px) { .atj-content-grid { grid-template-columns: 1fr; } .atj-onpage-nav { display: none; } }

/* Team */
.atj-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 260px)); gap: 24px; }
.atj-team-card { display: block; border: 1px solid var(--atj-border); border-radius: 12px; overflow: hidden; background: var(--atj-white); transition: box-shadow .15s ease, border-color .15s ease; }
.atj-team-card:hover { border-color: var(--atj-navy); box-shadow: 0 8px 24px rgba(10,42,135,0.08); }
.atj-team-card:hover h4 { color: var(--atj-gold-deep); }
.atj-team-card__media { aspect-ratio: 4/5; background: var(--atj-border-soft); overflow: hidden; }
.atj-team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.atj-team-card__body { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.atj-team-card__body h4 { font: 600 17px/1.3 var(--atj-font-display); color: var(--atj-navy); }
.atj-team-card__role { font: 500 13px/1.4 var(--atj-font-display); color: var(--atj-gold-deep); }
.atj-team-card__dial { font: 400 14px/1.5 var(--atj-font-body); color: var(--atj-grey); margin-top: 8px; }
@media (max-width: 980px) { .atj-team-grid { grid-template-columns: 1fr 1fr; } }

/* Same fix as .atj-content-grid above: longhand so it doesn't clobber
   .atj-container's horizontal padding when combined on one element. */
.atj-bio-grid { padding-top: var(--atj-space-8); padding-bottom: var(--atj-space-8); display: grid; grid-template-columns: 320px 1fr; gap: var(--atj-space-8); align-items: start; }
@media (max-width: 780px) { .atj-bio-grid { grid-template-columns: 1fr; } }

/* Blog / archive cards */
.atj-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.atj-post-card { border: 1px solid var(--atj-border); border-radius: 12px; overflow: hidden; background: var(--atj-white); display: flex; flex-direction: column; }
.atj-post-card__media { aspect-ratio: 16/9; background: var(--atj-border-soft); overflow: hidden; }
.atj-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.atj-post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.atj-post-card__meta { font: 500 11px/1 var(--atj-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--atj-gold-deep); }
.atj-post-card h3 { font: 400 22px/1.3 var(--atj-font-display); letter-spacing: -0.02em; }
.atj-post-card p { margin: 0; color: var(--atj-grey); font: 400 15.5px/1.6 var(--atj-font-body); }
.atj-post-card .atj-link-arrow { margin-top: auto; }
@media (max-width: 980px) { .atj-post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .atj-post-grid { grid-template-columns: 1fr; } }

.atj-pagination { display: flex; gap: 10px; justify-content: center; padding: var(--atj-space-8) 0; }
.atj-pagination a, .atj-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; border-radius: 8px;
	border: 1px solid var(--atj-border); font: 500 14px/1 var(--atj-font-display); color: var(--atj-navy);
}
.atj-pagination .current { background: var(--atj-navy); color: var(--atj-white); border-color: var(--atj-navy); }

/* Comments */
.atj-comments { padding: var(--atj-space-8) 0; border-top: 1px solid var(--atj-border-soft); }
.atj-comments .comment-list { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.atj-comments .comment-body { border: 1px solid var(--atj-border); border-radius: 12px; padding: 22px; background: var(--atj-white); }
.atj-comments .comment-form input, .atj-comments .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--atj-border); border-radius: 8px; margin-bottom: 14px;
}
.atj-comments .comment-form textarea { min-height: 140px; }

/* 404 */
/* Longhand padding (not shorthand) so this doesn't wipe out
   .atj-container's horizontal gutter; no custom max-width either, so
   the 404 text lines up on the same left edge as every other page
   instead of centering as a narrower floating block. */
.atj-404 { text-align: left; padding-top: var(--atj-space-16); padding-bottom: var(--atj-space-16); }
.atj-404 > * { max-width: 640px; }
.atj-404__code { font: 200 96px/1 var(--atj-font-display); letter-spacing: -0.05em; color: var(--atj-navy); }

/* =========================================================
   Core Gutenberg blocks used inside page content (wp:buttons,
   wp:list, wp:quote) — styled to match the .atj-btn system rather
   than WordPress's default block-library look.
   ========================================================= */
.atj-content .wp-block-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: var(--atj-space-3) 0; list-style: none; padding: 0; }
.atj-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	border-radius: var(--atj-radius-sm);
	padding: 14px 24px;
	font: 600 15px/1 var(--atj-font-display);
	background: var(--atj-navy);
	color: var(--atj-white);
	text-decoration: none;
	border: 1px solid transparent;
}
.atj-content .wp-block-button__link:hover { background: var(--atj-ink); color: var(--atj-white); }
.atj-content .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--atj-navy);
	border-color: #C9CED5;
}
.atj-content .wp-block-quote {
	border-left: 2px solid var(--atj-gold);
	padding-left: 22px;
	margin: 32px 0;
	color: var(--atj-navy);
	font: 400 20px/1.55 var(--atj-font-display);
}

/* =========================================================
   Enquiry form (Contact page)
   ========================================================= */
.atj-form { display: flex; flex-direction: column; gap: 16px; }
.atj-form__row { display: flex; flex-direction: column; gap: 6px; }
.atj-form__row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.atj-form label { font: 500 13px/1.3 var(--atj-font-display); color: var(--atj-navy); }
.atj-form input, .atj-form textarea {
	font: 400 16px/1.5 var(--atj-font-body);
	padding: 12px 14px;
	border: 1px solid var(--atj-border);
	border-radius: var(--atj-radius-sm);
	background: var(--atj-white);
	color: var(--atj-charcoal);
	width: 100%;
}
.atj-form input:focus, .atj-form textarea:focus { outline: 2px solid var(--atj-sky); outline-offset: 1px; border-color: var(--atj-navy); }
@media (max-width: 560px) { .atj-form__row-group { grid-template-columns: 1fr; } }

/* =========================================================
   Advice wizard ("Not sure where to start?") — multi-step qualifier,
   progress bar, radio/checkbox option cards, ending in the contact
   fields shared visually with the main enquiry form.
   ========================================================= */
.atj-wizard {
	background: var(--atj-white);
	border: 1px solid var(--atj-border);
	border-radius: var(--atj-radius);
	padding: 40px;
}
.atj-wizard__progress { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.atj-wizard__progress-track { flex: 1; height: 4px; border-radius: 2px; background: var(--atj-border-soft); overflow: hidden; }
.atj-wizard__progress-fill { height: 100%; width: 20%; background: var(--atj-navy); border-radius: 2px; transition: width .25s ease; }
.atj-wizard__progress-label { font: 500 13px/1 var(--atj-font-display); color: var(--atj-grey); flex: none; }
.atj-wizard__step-num { color: var(--atj-navy); font-weight: 700; }

.atj-wizard__step h2 { margin: 0 0 20px; }
.atj-wizard__step--error .atj-wizard__options { animation: atj-wizard-shake .25s ease; }
.atj-wizard__step--error h2::after {
	content: 'Please choose an option to continue.';
	display: block;
	margin-top: 8px;
	font: 400 14px/1.4 var(--atj-font-body);
	color: var(--atj-critical);
}
@keyframes atj-wizard-shake {
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}
.atj-wizard__options { display: flex; flex-direction: column; gap: 12px; }
.atj-wizard__option {
	display: flex;
	align-items: center;
	gap: 14px;
	border: 1px solid var(--atj-border);
	border-radius: var(--atj-radius-sm);
	padding: 16px 18px;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
	font: 400 16px/1.4 var(--atj-font-body);
	color: var(--atj-charcoal);
}
.atj-wizard__option:hover { border-color: var(--atj-sky); }
.atj-wizard__option input { width: 18px; height: 18px; accent-color: var(--atj-navy); flex: none; }
.atj-wizard__option:has(input:checked) { border-color: var(--atj-navy); background: var(--atj-paper); font-weight: 600; }

.atj-wizard__reassure { display: flex; gap: 16px; align-items: flex-start; }
.atj-wizard__reassure-icon {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--atj-success-tint); color: var(--atj-success);
	display: flex; align-items: center; justify-content: center; flex: none;
}
.atj-wizard__reassure-icon svg { width: 22px; height: 22px; }

.atj-wizard__nav { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
@media (max-width: 560px) {
	.atj-wizard { padding: 24px; }
	.atj-wizard__nav { flex-direction: column-reverse; align-items: stretch; }
	.atj-wizard__nav .atj-btn { margin-left: 0 !important; width: 100%; justify-content: center; }
}

/* =========================================================
   Advice wizard popup — a big, full modal (per businesshelpline.uk
   reference): dark overlay + large centred dialog, scrolls internally
   if the step content is taller than the viewport.
   ========================================================= */
.atj-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	align-items: center;
	justify-content: center;
	padding: 32px 20px;
}
.atj-modal.is-open { display: flex; }
body.atj-modal-open { overflow: hidden; }

.atj-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 22, 45, 0.72);
}
.atj-modal__dialog {
	position: relative;
	background: var(--atj-white);
	border-radius: var(--atj-radius);
	width: 100%;
	max-width: 820px;
	max-height: calc(100vh - 64px);
	overflow-y: auto;
	box-shadow: 0 24px 64px rgba(11, 22, 45, 0.35);
}
.atj-modal__body { padding: 48px; }
.atj-modal__close {
	position: sticky;
	top: 16px;
	left: 100%;
	margin: 16px 16px -40px auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--atj-border);
	background: var(--atj-white);
	color: var(--atj-charcoal);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: none;
	z-index: 1;
}
.atj-modal__close svg { width: 18px; height: 18px; }
.atj-modal__close:hover { border-color: var(--atj-navy); color: var(--atj-navy); }
.atj-modal .atj-wizard { border: 0; padding: 0; }
@media (max-width: 720px) {
	.atj-modal { padding: 0; }
	.atj-modal__dialog { max-width: none; max-height: 100vh; height: 100%; border-radius: 0; }
	.atj-modal__body { padding: 32px 24px; }
}

/* =========================================================
   Mobile contact bar — pinned to the bottom of the screen on phones,
   slides up once the visitor has scrolled past the top of the page.
   ========================================================= */
.atj-mobile-bar { display: none; }
@media (max-width: 780px) {
	.atj-mobile-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 95; /* under the header (100) and the wizard modal (1000) */
		padding: 10px var(--atj-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--atj-ink);
		box-shadow: 0 -8px 24px rgba(7, 26, 79, 0.18);
		transform: translateY(100%);
		visibility: hidden;
		transition: transform .25s ease, visibility 0s linear .25s;
	}
	.atj-mobile-bar.is-visible {
		transform: none;
		visibility: visible;
		transition: transform .25s ease, visibility 0s;
	}
	/* Keep the last of the footer clear of the bar. */
	body.atj-has-mobile-bar .atj-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 780px) and (prefers-reduced-motion: reduce) {
	.atj-mobile-bar, .atj-mobile-bar.is-visible { transition: none; }
}
.atj-mobile-bar__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border-radius: var(--atj-radius-sm);
	font: 600 15px/1 var(--atj-font-display);
	border: 1.5px solid transparent;
}
.atj-mobile-bar__btn svg { width: 20px; height: 20px; flex: none; }
.atj-mobile-bar__btn--call { border-color: rgba(255,255,255,0.45); color: var(--atj-white); }
.atj-mobile-bar__btn--call:hover { border-color: var(--atj-white); color: var(--atj-white); }
/* Gold, matching the header's "Free advice" button. */
.atj-mobile-bar__btn--advice { background: var(--atj-gold); color: var(--atj-white); }
.atj-mobile-bar__btn--advice:hover { background: var(--atj-white); color: var(--atj-ink); }
.atj-mobile-bar__btn--advice svg { width: 16px; height: 16px; }

/* =========================================================
   Coming soon page (coming-soon.php) — full-screen, same photo +
   navy treatment as the homepage hero.
   ========================================================= */
body.atj-cs-body { background: var(--atj-ink); }
.atj-cs { position: relative; min-height: 100vh; min-height: 100dvh; color: var(--atj-white); overflow: hidden; }
.atj-cs__media { position: absolute; inset: 0; }
.atj-cs__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.atj-cs__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(7,26,79,0.96) 0%, rgba(7,26,79,0.9) 40%, rgba(7,26,79,0.6) 70%, rgba(7,26,79,0.4) 100%);
}
.atj-cs__inner {
	position: relative;
	max-width: var(--atj-max);
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	padding: 48px var(--atj-gutter) 32px;
	display: flex;
	flex-direction: column;
	gap: 56px;
}
.atj-cs__brand img { width: 300px; }
.atj-cs__content { max-width: 660px; margin-block: auto; display: flex; flex-direction: column; gap: 22px; }
.atj-cs__eyebrow { color: var(--atj-gold-light); font-weight: 700; }
.atj-cs__title { font: 300 64px/1.08 var(--atj-font-display); letter-spacing: -0.035em; color: var(--atj-white); margin: 0; }
.atj-cs__title em { font-style: italic; color: var(--atj-gold); }
.atj-cs__message { margin: 0; max-width: 54ch; font: 300 19px/1.65 var(--atj-font-body); color: rgba(255,255,255,0.82); }
.atj-cs__offices { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.16); }
.atj-cs__office h2 { font: 600 15px/1.3 var(--atj-font-display); color: var(--atj-white); margin: 0 0 8px; }
.atj-cs__office p { margin: 0 0 8px; font: 400 15px/1.55 var(--atj-font-body); color: rgba(255,255,255,0.72); }
.atj-cs__office a { font: 500 15px/1.4 var(--atj-font-body); color: var(--atj-gold-light); }
.atj-cs__office a:hover { color: var(--atj-white); }
.atj-cs__footer { font: 400 13px/1.5 var(--atj-font-body); color: rgba(255,255,255,0.45); }
@media (max-width: 780px) {
	.atj-cs__media::after { background: linear-gradient(180deg, rgba(7,26,79,0.9) 0%, rgba(7,26,79,0.95) 100%); }
	.atj-cs__inner { padding-top: 28px; gap: 44px; }
	.atj-cs__brand img { width: clamp(180px, 62vw, 260px); }
	.atj-cs__title { font-size: clamp(38px, 11vw, 52px); }
	.atj-cs__message { font-size: 17px; }
	.atj-cs__offices { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* Skip link */
.atj-skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--atj-navy); color: #fff;
	padding: 12px 20px; z-index: 999;
}
.atj-skip-link:focus { left: 12px; top: 12px; }

/* =========================================================
   Client review (Oct 2026) — building blocks for the client's
   own copy: statement boxes, numbered step blocks, Q&A boxes,
   benefits/considerations, closing "Speak to us" band and the
   services disclaimer. Shared by service pages, About and Home.
   ========================================================= */
.atj-page-header__inner p.atj-page-header__tagline { font: 300 21px/1.5 var(--atj-font-body); color: rgba(255,255,255,0.85); }
.atj-page-header__actions { margin-top: 10px; }

.atj-service-detail__intro > * + * { margin-top: var(--atj-space-3); }
.atj-service-detail__intro > p:first-child { font: 400 20px/1.6 var(--atj-font-body); }

/* Statement boxes — "Label: text" items as a grid of small cards. */
.atj-statements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.atj-content .atj-statements { margin-top: var(--atj-space-3); }
.atj-statement { background: var(--atj-paper); border: 1px solid var(--atj-border-soft); border-left: 3px solid var(--atj-gold); border-radius: var(--atj-radius-sm); padding: 20px 22px; }
.atj-statement > * + * { margin-top: 10px; }
.atj-content .atj-statement p, .atj-statement p { margin: 0; font: 400 16px/1.6 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-statement p + p { margin-top: 10px; }
.atj-statement strong { color: var(--atj-navy); font-weight: 600; }
.atj-content .atj-statement__title, .atj-statement__title { margin: 0; font: 600 18px/1.35 var(--atj-font-display); color: var(--atj-navy); letter-spacing: -0.01em; }
.atj-statements--boxed { grid-template-columns: minmax(0, 1fr); }
.atj-statements--boxed .atj-statement { background: var(--atj-white); border: 1px solid var(--atj-border); border-left: 3px solid var(--atj-navy); padding: 24px 26px; }
@media (max-width: 640px) { .atj-statements { grid-template-columns: minmax(0, 1fr); } }

/* Numbered step blocks — each process stage as its own card. */
.atj-content ol.atj-step-blocks, .atj-step-blocks { list-style: none; padding: 0; margin: var(--atj-space-3) 0 0; display: flex; flex-direction: column; gap: 16px; counter-reset: none; }
.atj-content ol.atj-step-blocks > li { list-style: none; margin: 0; }
.atj-step-block { display: flex; gap: 20px; align-items: flex-start; background: var(--atj-white); border: 1px solid var(--atj-border); border-radius: var(--atj-radius); padding: 24px 26px; }
.atj-step-block__num { width: 44px; height: 44px; border-radius: 50%; background: var(--atj-navy); color: var(--atj-white); display: flex; align-items: center; justify-content: center; font: 600 18px/1 var(--atj-font-display); flex: none; }
.atj-step-block:last-child .atj-step-block__num { background: var(--atj-gold); color: var(--atj-ink); }
.atj-step-block__body { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.atj-step-block__label { font: 500 11px/1 var(--atj-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--atj-gold-deep); padding-top: 4px; }
.atj-content .atj-step-block__title, .atj-step-block__title { margin: 0; font: 600 19px/1.3 var(--atj-font-display); color: var(--atj-navy); letter-spacing: -0.01em; }
.atj-content .atj-step-block p, .atj-step-block p { margin: 0; font: 400 16px/1.6 var(--atj-font-body); color: var(--atj-charcoal); }
@media (max-width: 560px) {
	.atj-step-block { flex-direction: column; gap: 14px; padding: 22px; }
}

/* Q&A boxes. */
.atj-qa { display: flex; flex-direction: column; gap: 16px; }
.atj-content .atj-qa { margin-top: var(--atj-space-3); }
.atj-qa__item { background: var(--atj-white); border: 1px solid var(--atj-border); border-radius: var(--atj-radius); padding: 24px 26px; }
.atj-content .atj-qa__q, .atj-qa__q { margin: 0 0 10px; font: 600 18px/1.35 var(--atj-font-display); color: var(--atj-navy); letter-spacing: -0.01em; }
.atj-content .atj-qa__item p, .atj-qa__item p { margin: 0; font: 400 16px/1.6 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-qa__item p + p { margin-top: 10px; }

/* Benefits / considerations side by side. */
.atj-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.atj-content .atj-proscons { margin-top: var(--atj-space-3); }
.atj-proscons__col { background: var(--atj-white); border: 1px solid var(--atj-border); border-radius: var(--atj-radius); padding: 26px; }
.atj-proscons__col--pro { border-top: 3px solid var(--atj-gold); }
.atj-proscons__col--con { border-top: 3px solid var(--atj-navy); }
.atj-content .atj-proscons__title, .atj-proscons__title { margin: 0 0 18px; font: 600 18px/1.35 var(--atj-font-display); color: var(--atj-navy); }
.atj-proscons .atj-check-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.atj-proscons .atj-check-list strong { color: var(--atj-navy); font-weight: 600; }
.atj-check-list--cross .atj-check-list__icon { color: var(--atj-navy); }
@media (max-width: 1100px) { .atj-proscons { grid-template-columns: minmax(0, 1fr); } }

/* Service-page body links (internal links to other services). */
.atj-content p a, .atj-content li a, .atj-statement a, .atj-qa a { color: var(--atj-navy); text-decoration: underline; text-decoration-color: var(--atj-gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.atj-content p a:hover, .atj-content li a:hover, .atj-statement a:hover, .atj-qa a:hover { color: var(--atj-gold-deep); }

/* Closing "Speak to us about…" band. */
.atj-speak-band__copy { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; max-width: 64ch; }
.atj-speak-band .atj-speak-band__copy p { max-width: none; font: 300 18px/1.6 var(--atj-font-body); }
.atj-speak-band__link { margin-top: 22px !important; }
.atj-speak-band p.atj-speak-band__after { margin-top: 14px; font-size: 16px; }
.atj-speak-band__after a { color: var(--atj-gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* Services disclaimer. */
.atj-section.atj-disclaimer-section { padding: var(--atj-space-6) 0; }
.atj-disclaimer { max-width: 90ch; border-top: 1px solid var(--atj-border); padding-top: 24px; }
.atj-disclaimer__title { margin: 0 0 12px; font: 600 15px/1.3 var(--atj-font-display); color: var(--atj-charcoal); }
.atj-disclaimer p { margin: 0 0 10px; font: 400 14.5px/1.6 var(--atj-font-body); color: var(--atj-grey); }

/* Overview pages with two service cards. */
.atj-grid-2.atj-grid-2--cards { gap: 24px; align-items: stretch; }

/* =========================================================
   Primary nav dropdowns (e.g. About Us > Meet the Team).
   ========================================================= */
.atj-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1241px) {
	.atj-subtoggle { display: none; }
	.atj-nav > li.menu-item-has-children > a::before {
		content: ''; order: 2; width: 6px; height: 6px; margin: -3px 0 0 2px;
		border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg);
	}
	.atj-nav .sub-menu {
		position: absolute; top: 100%; left: -18px; min-width: 210px;
		background: var(--atj-white); border: 1px solid var(--atj-border); border-radius: var(--atj-radius-sm);
		box-shadow: 0 16px 32px rgba(7, 26, 79, 0.12); padding: 8px 0;
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
		z-index: 95;
	}
	.atj-nav > li.menu-item-has-children { padding-bottom: 14px; margin-bottom: -14px; }
	.atj-nav > li.menu-item-has-children:hover > .sub-menu,
	.atj-nav > li.menu-item-has-children:focus-within > .sub-menu,
	.atj-nav > li.menu-item-has-children.is-open > .sub-menu {
		opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease;
	}
	.atj-nav .sub-menu a { color: var(--atj-navy); padding: 12px 20px; font-size: 15px; }
	.atj-nav .sub-menu a:hover { color: var(--atj-gold-deep); background: var(--atj-paper); }
}
@media (max-width: 1240px) {
	.atj-nav.is-open > li.menu-item-has-children:not(.atj-has-mega) { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; }
	.atj-nav.is-open > li.menu-item-has-children:not(.atj-has-mega) > .sub-menu { grid-column: 1 / -1; }
	.atj-subtoggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 0; color: var(--atj-charcoal); cursor: pointer; }
	.atj-subtoggle::before { content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
	li.is-open > .atj-subtoggle::before { transform: rotate(-135deg) translateY(-2px); }
	.atj-nav .sub-menu { display: none; padding: 0 0 12px 14px; }
	.atj-nav li.menu-item-has-children.is-open > .sub-menu { display: block; }
	.atj-nav.is-open .sub-menu a { font: 400 16px/1.35 var(--atj-font-body); color: var(--atj-navy); padding: 9px 0; }
}

/* =========================================================
   Professional bodies strip (ICAEW / IPA / R3 logos).
   ========================================================= */
.atj-bodies { background: var(--atj-white); border-bottom: 1px solid var(--atj-border-soft); }
.atj-bodies__inner { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; padding: 32px var(--atj-gutter); max-width: var(--atj-max); margin: 0 auto; }
.atj-bodies__label { font: 500 11px/1.4 var(--atj-font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--atj-grey); }
.atj-bodies img { height: 56px; width: auto; max-width: 180px; object-fit: contain; }
@media (max-width: 640px) { .atj-bodies__inner { gap: 28px 36px; } .atj-bodies img { height: 44px; } }

/* =========================================================
   About Us page (client copy, Oct 2026).
   ========================================================= */
.atj-about-intro .atj-content > * + * { margin-top: var(--atj-space-3); }
.atj-about-intro .atj-content > p:first-child { font: 400 20px/1.6 var(--atj-font-body); }
.atj-about-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 60px; align-items: start; }
.atj-about-block__copy > * + * { margin-top: var(--atj-space-3); }
.atj-about-block__copy p { margin: 0; font: 400 17px/1.68 var(--atj-font-body); color: var(--atj-charcoal); max-width: 70ch; }
.atj-about-block__copy > p + p { margin-top: 16px; }
.atj-about-block__copy > * + .atj-statements, .atj-about-block__copy > .atj-statements + p, .atj-about-block__copy > * + .atj-btn-row, .atj-about-block__copy > * + .atj-bodies__inner { margin-top: 24px; }
.atj-about-block__copy p a { color: var(--atj-navy); text-decoration: underline; text-decoration-color: var(--atj-gold); text-underline-offset: 3px; }
.atj-about-block .atj-h2 { margin: 0; }
@media (max-width: 900px) { .atj-about-block { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.atj-approach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.atj-approach .atj-card > * + * { margin-top: 14px; }
.atj-approach .atj-card h3 { margin: 0; font: 600 21px/1.3 var(--atj-font-display); color: var(--atj-navy); letter-spacing: -0.01em; }
.atj-approach .atj-card p { margin: 0; font: 400 16px/1.62 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-approach .atj-card h3 + p { margin-top: 14px; }
.atj-approach .atj-card p + p { margin-top: 12px; }
@media (max-width: 1000px) { .atj-approach { grid-template-columns: minmax(0, 1fr); } }
.atj-services-list .atj-statement { background: var(--atj-white); }
.atj-services-list .atj-statement strong a { color: var(--atj-navy); text-decoration: underline; text-decoration-color: var(--atj-gold); text-underline-offset: 3px; }
.atj-why .atj-statement { background: var(--atj-white); }
.atj-cta-band .atj-speak-band__copy p a { color: var(--atj-gold-light); }

/* Team cards without a bio link / photo yet. */
.atj-team-card--static:hover { border-color: var(--atj-border); box-shadow: none; }
.atj-team-card--static:hover h4 { color: var(--atj-navy); }
.atj-team-card__media:has(.atj-team-card__initials) { display: flex; align-items: center; justify-content: center; background: var(--atj-navy); }
.atj-team-card__initials { font: 300 64px/1 var(--atj-font-display); letter-spacing: -0.02em; color: var(--atj-gold-light); }
a.atj-team-card__dial:hover { color: var(--atj-navy); }

/* Service pages: wider copy column beside a fixed-width sidebar, so the
   statement / Q&A / step boxes have room. */
.atj-route-detail.atj-service-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
.atj-route-detail.atj-service-layout .atj-content { max-width: 820px; }
.atj-service-layout .atj-service-detail__aside { top: 120px; }
.atj-service-layout .atj-service-detail__aside > * + * { margin-top: 24px; }
.atj-service-layout .atj-service-detail__aside .atj-urgent-cta { margin-top: 24px; }
.atj-service-layout .atj-service-detail__aside > .atj-urgent-cta:first-child { margin-top: 0; }
@media (max-width: 1100px) { .atj-route-detail.atj-service-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } }
@media (max-width: 900px) { .atj-route-detail.atj-service-layout { grid-template-columns: minmax(0, 1fr); } }
.atj-content .atj-qa__item p + p, .atj-content .atj-statement p + p { margin-top: 10px; }
/* Intro and sidebar side by side at the top; on phones the sidebar
   (at-a-glance) follows the intro rather than dropping to the bottom. */
.atj-route-detail.atj-service-layout { grid-template-areas: "intro aside" "body aside"; row-gap: 0; }
.atj-service-layout > .atj-service-detail__intro { grid-area: intro; }
.atj-service-layout > .atj-service-detail { grid-area: body; }
.atj-service-layout > .atj-service-detail__aside { grid-area: aside; }
@media (max-width: 900px) {
	.atj-route-detail.atj-service-layout { grid-template-areas: "intro" "aside" "body"; row-gap: 40px; }
}
.atj-content .atj-statement__title + p { margin-top: 10px; }
.atj-reasons__item > p { margin: 0; font: 400 16px/1.6 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-reasons__item > p strong { color: var(--atj-navy); font-weight: 600; }

/* Footer regulatory statement (licensing + registered office). */
.atj-footer__regulatory { max-width: var(--atj-max); margin: 0 auto; padding: 24px var(--atj-gutter) 0; border-top: 1px solid rgba(255,255,255,0.08); }
.atj-footer__regulatory p { margin: 0 0 8px; max-width: 120ch; font: 400 13px/1.6 var(--atj-font-body); color: rgba(255,255,255,0.5); }

/* Tables in page copy (legal pages): scroll sideways on phones rather than widen the page. */
.atj-content .wp-block-table { margin: 24px 0 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.atj-content .wp-block-table table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--atj-font-body); }
.atj-content .wp-block-table th, .atj-content .wp-block-table td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--atj-border); }
.atj-content .wp-block-table th { background: var(--atj-paper); color: var(--atj-navy); font-weight: 600; }

/* Logo sizes: the round R3 mark needs more height to match the two wide logos. */
.atj-bodies img.atj-bodies__logo--r3 { height: 84px; }
.atj-bodies__inner--inline { justify-content: flex-start; gap: 32px; padding: 20px 24px; margin-top: 24px; background: var(--atj-white); border: 1px solid var(--atj-border-soft); border-radius: var(--atj-radius-sm); }
.atj-bodies__inner--inline img { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
.atj-bodies__inner--inline img.atj-bodies__logo--r3 { height: 72px; }
@media (max-width: 640px) { .atj-bodies img.atj-bodies__logo--r3 { height: 66px; } }
@media (max-width: 640px) {
	.atj-bodies__inner { gap: 20px; flex-wrap: nowrap; padding-top: 24px; padding-bottom: 24px; }
	.atj-bodies img { height: 36px; max-width: 32%; }
	.atj-bodies img.atj-bodies__logo--r3 { height: 54px; }
	.atj-bodies__inner--inline { gap: 16px; padding: 16px; }
}
.atj-bodies__inner--inline { display: inline-flex; max-width: 100%; }

/* Logos sized on their own class so they never fall back to full size. */
img.atj-bodies__logo { display: block; height: 52px; width: auto; max-width: 170px; object-fit: contain; flex: none; }
img.atj-bodies__logo--r3 { height: 76px; }
.atj-bodies__inner--inline { align-items: center; flex-wrap: nowrap; }
.atj-bodies__inner--inline img.atj-bodies__logo { height: 44px; max-width: 150px; }
.atj-bodies__inner--inline img.atj-bodies__logo--r3 { height: 66px; }
@media (max-width: 640px) {
	img.atj-bodies__logo { height: 34px; max-width: 31%; }
	img.atj-bodies__logo--r3 { height: 52px; }
	.atj-bodies__inner--inline { display: flex; gap: 14px; padding: 14px; }
	.atj-bodies__inner--inline img.atj-bodies__logo { height: 30px; }
	.atj-bodies__inner--inline img.atj-bodies__logo--r3 { height: 46px; }
}

/* About Us: logos under the intro photo, spread across its width. */
.atj-about-intro__media { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.atj-about-intro__media .atj-bodies__inner--inline { display: flex; justify-content: space-around; margin-top: 0; width: 100%; padding: 18px 24px; }

/* =========================================================
   Cookie consent box (accept / reject, equal weight).
   ========================================================= */
.atj-cookie { position: fixed; left: 24px; bottom: 24px; z-index: 1100; width: min(440px, calc(100vw - 48px)); background: var(--atj-white); border: 1px solid var(--atj-border); border-radius: var(--atj-radius); box-shadow: 0 20px 48px rgba(7, 26, 79, 0.22); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.atj-cookie[hidden] { display: none; }
.atj-cookie__title { margin: 0; font: 600 18px/1.3 var(--atj-font-display); color: var(--atj-navy); }
.atj-cookie__text { margin: 0; font: 400 15px/1.55 var(--atj-font-body); color: var(--atj-charcoal); }
.atj-cookie__text a { color: var(--atj-navy); text-decoration: underline; text-decoration-color: var(--atj-gold); text-underline-offset: 3px; }
.atj-cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.atj-cookie__actions .atj-btn { justify-content: center; width: 100%; }
@media (max-width: 640px) {
	.atj-cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
}
/* The phone "Call us / Free advice" bar waits until the cookie choice is made. */
body.atj-cookie-open .atj-mobile-bar { display: none; }
.atj-footer__cookie-settings { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,0.45); cursor: pointer; }
.atj-footer__cookie-settings:hover { color: var(--atj-white); }

/* Closing call-to-action band: copy left over a photo, contact card right. */
.atj-speak-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 80px; align-items: center; }
.atj-speak-band .atj-speak-band__title { margin: 0; font: 300 46px/1.12 var(--atj-font-display); letter-spacing: -0.03em; color: var(--atj-white); }
.atj-speak-band .atj-speak-band__copy { margin-top: 24px; max-width: 64ch; }
.atj-speak-band .atj-speak-band__copy p { max-width: none; color: rgba(255,255,255,0.85); }
.atj-speak-card { background: var(--atj-white); border-radius: var(--atj-radius); box-shadow: 0 24px 56px rgba(7, 26, 79, 0.35); padding: 32px; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--atj-gold); }
.atj-speak-card .atj-speak-card__primary { justify-content: center; width: 100%; padding: 18px 22px; font-size: 17px; }
.atj-speak-card__phone { display: flex; align-items: center; justify-content: center; padding: 14px; border: 1.5px solid var(--atj-navy); border-radius: var(--atj-radius-sm); font: 600 22px/1 var(--atj-font-display); letter-spacing: -0.01em; color: var(--atj-navy); }
.atj-speak-card__phone:hover { background: var(--atj-navy); color: var(--atj-white); }
.atj-speak-card__offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--atj-border-soft); }
.atj-speak-card__office { display: flex; flex-direction: column; gap: 4px; }
.atj-speak-card__office strong { font: 600 13px/1.3 var(--atj-font-display); color: var(--atj-grey); }
.atj-speak-card__office a { font: 600 16px/1.3 var(--atj-font-display); color: var(--atj-navy); }
.atj-speak-card__office a:hover { color: var(--atj-gold-deep); }
@media (max-width: 1000px) {
	.atj-speak-band__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.atj-speak-card { max-width: 480px; }
}
@media (max-width: 640px) {
	.atj-speak-band .atj-speak-band__title { font-size: 34px; }
	.atj-speak-card { padding: 24px; }
}

/* Disclaimer across the full content width. */
.atj-disclaimer { max-width: none; }
.atj-disclaimer p { max-width: none; }

/* Coming soon page: policy links in the footer. */
.atj-cs__footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.atj-cs__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.atj-cs__legal a { color: rgba(255,255,255,0.6); }
.atj-cs__legal a:hover { color: var(--atj-white); }
.atj-cs__regulatory { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); }
.atj-cs__regulatory p { margin: 0 0 8px; max-width: 120ch; font: 400 13px/1.6 var(--atj-font-body); color: rgba(255,255,255,0.55); }

/* Policy pages while coming soon mode is on (coming-soon-policy.php). */
body.atj-cs-policy { background: var(--atj-paper); }
.atj-cs-policy__bar { max-width: 960px; margin: 0 auto; padding: 0 var(--atj-gutter); }
.atj-cs-policy__header { background: var(--atj-navy); padding: 28px 0; }
.atj-cs-policy__logo img { width: 260px; height: auto; display: block; }
.atj-cs-policy__main { max-width: 960px; margin: 0 auto; padding: 56px var(--atj-gutter) 72px; }
.atj-cs-policy__doc { background: var(--atj-white); border: 1px solid var(--atj-border); border-radius: var(--atj-radius); padding: 48px 56px; }
.atj-cs-policy__title { margin: 0 0 24px; font: 300 44px/1.15 var(--atj-font-display); letter-spacing: -0.03em; color: var(--atj-navy); }
.atj-cs-policy__doc .atj-content > * + * { margin-top: var(--atj-space-3); }
.atj-cs-policy__footer { background: var(--atj-ink); padding: 32px 0; }
.atj-cs-policy__footer .atj-cs__footer { margin-top: 20px; font: 400 13px/1.5 var(--atj-font-body); color: rgba(255,255,255,0.45); }
@media (max-width: 640px) {
	.atj-cs-policy__logo img { width: 200px; }
	.atj-cs-policy__main { padding: 32px 16px 48px; }
	.atj-cs-policy__doc { padding: 28px 22px; }
	.atj-cs-policy__title { font-size: 32px; }
}

/* Articles: topic filters and card placeholder. */
.atj-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.atj-topics__item { display: inline-flex; align-items: center; padding: 10px 18px; border: 1px solid var(--atj-border); border-radius: 999px; background: var(--atj-white); font: 500 14.5px/1 var(--atj-font-display); color: var(--atj-navy); }
.atj-topics__item:hover { border-color: var(--atj-navy); }
.atj-topics__item.is-current { background: var(--atj-navy); border-color: var(--atj-navy); color: var(--atj-white); }
.atj-post-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--atj-navy); }
.atj-post-card__placeholder img { width: 64px !important; height: auto !important; opacity: 0.9; object-fit: contain !important; }
.atj-page-header__inner p.atj-article-meta { font: 500 13px/1.4 var(--atj-font-display); letter-spacing: 0.06em; color: rgba(255,255,255,0.7); }

/* Team profiles. */
.atj-team-card__quals { font: 500 12px/1 var(--atj-font-display); letter-spacing: 0.06em; color: var(--atj-grey); }
.atj-team-card__more { margin-top: 12px; font-size: 14px; }
.atj-page-header__inner .atj-profile__quals { font: 500 18px/1 var(--atj-font-display); letter-spacing: 0.08em; color: var(--atj-gold-light); vertical-align: middle; }
.atj-page-header__inner p.atj-profile__role { color: var(--atj-gold-light); font: 600 17px/1.4 var(--atj-font-display); }
.atj-profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; }
.atj-profile__photo { border-radius: var(--atj-radius); overflow: hidden; border: 1px solid var(--atj-border); }
.atj-profile__contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--atj-border); border-radius: var(--atj-radius); }
.atj-profile__contact a { font: 600 15.5px/1.4 var(--atj-font-display); color: var(--atj-navy); word-break: break-word; }
.atj-profile__contact a:hover { color: var(--atj-gold-deep); }
.atj-profile__bio { max-width: 70ch; }
.atj-profile__bio > * + * { margin-top: var(--atj-space-3); }
@media (max-width: 860px) { .atj-profile { grid-template-columns: minmax(0, 1fr); gap: 32px; } .atj-profile__aside { max-width: 320px; } }
/* Team cards: equal height, "Read profile" lined up along the bottom. */
.atj-team-grid { align-items: stretch; }
.atj-team-card { display: flex; flex-direction: column; }
.atj-team-card .atj-team-card__body { flex: 1; }
.atj-team-card .atj-team-card__more { margin-top: auto; padding-top: 14px; }


/* Lighter hero overlay (team photo): a soft shadow keeps the text readable. */
.atj-hero--photo .atj-hero__content h1, .atj-hero--photo .atj-hero__content > p, .atj-hero--photo .atj-hero__eyebrow { text-shadow: 0 2px 18px rgba(7, 26, 79, 0.55); }
@media (max-width: 640px) {
	.atj-hero--photo__media::after { background: linear-gradient(180deg, rgba(11,22,45,0.62) 0%, rgba(11,22,45,0.7) 100%); }
}

/* Meet the Team: group photo between the intro and the cards. */
.atj-team-photo { padding-top: 0; padding-bottom: 0; margin-bottom: -48px; position: relative; z-index: 1; }
.atj-team-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 60%; border-radius: var(--atj-radius); box-shadow: 0 20px 48px rgba(7, 26, 79, 0.18); }
.atj-team-photo + .atj-section { padding-top: calc(var(--atj-space-16) + 24px); }
@media (max-width: 640px) { .atj-team-photo { margin-bottom: -24px; } .atj-team-photo img { aspect-ratio: 4 / 3; } }
