/*
Theme Name: Blackburn Loxley
Theme URI: https://blackburnloxley.com/
Author: Netzalive
Author URI: https://netzalive.com
Description: Custom block theme for Blackburn Loxley Chartered Surveyors. Replaces Elementor: every page layout ships with the theme and is edited in Appearance › Editor.
Version: 1.4.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary
Text Domain: blackburn-loxley
*/

/* ---------------------------------------------------------------- tokens */
:root {
	--bl-navy: #182333;
	--bl-navy-deep: #0f1824;
	--bl-orange: #f05523;      /* brand accent: lines, numbers, on-navy text */
	--bl-orange-btn: #c8401a;  /* button fill: passes WCAG AA with white text */
	--bl-orange-btn-hover: #a8350f;
	--bl-paper: #f9f9f7;
	--bl-sand: #f1f0ed;
	--bl-mist: #eef0f2;
	--bl-white: #ffffff;
	--bl-ink: #141a22;
	--bl-muted: #5b6573;
	--bl-line: rgba(24, 35, 51, 0.14);
	--bl-line-dark: rgba(255, 255, 255, 0.14);
	--bl-font-head: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--bl-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--bl-gutter: clamp(20px, 5vw, 48px);
	--bl-max: 1200px;
}

/* ---------------------------------------------------------------- base */
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bl-paper);
	color: var(--bl-ink);
	font-family: var(--bl-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.bl-main p, .bl-main h1, .bl-main h2, .bl-main h3, .bl-main h4, .bl-main ul, .bl-main ol, .bl-main figure, .bl-main blockquote,
.bl-site-header p, .bl-site-footer p, .bl-site-footer ul, .bl-cta p, .bl-cta h2 { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bl-orange-btn); }
.is-dark a:hover { color: var(--bl-orange); }
:focus-visible { outline: 3px solid var(--bl-orange); outline-offset: 3px; }
strong { font-weight: 700; }

h1, h2, h3, h4, .bl-card__title, .bl-stat__num, .bl-brand__name, .bl-panel__title, .bl-aside__title, .bl-statement__text {
	font-family: var(--bl-font-head);
	font-weight: 700;
	color: inherit;
	letter-spacing: -0.03em;
	line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; }

.bl-wrap { max-width: var(--bl-max); margin-inline: auto; padding-inline: var(--bl-gutter); box-sizing: border-box; }

.bl-eyebrow {
	font-family: var(--bl-font-head);
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bl-navy);
	margin-bottom: 18px !important;
	display: flex;
	align-items: center;
	gap: 12px;
}
.bl-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--bl-orange); flex: none; }
.is-dark .bl-eyebrow { color: #fff; }

.bl-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; }
.bl-muted { color: var(--bl-muted); }
.bl-break { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- surfaces */
.is-dark { background: var(--bl-navy); color: #fff; }
.is-dark .bl-lead, .is-dark p { color: rgba(255, 255, 255, 0.82); }
.is-mist { background: var(--bl-mist); }
.is-sand { background: var(--bl-sand); }

.bl-section { padding-block: clamp(64px, 9vw, 120px); }
.bl-section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.bl-section__head h2 + .bl-section__intro { margin-top: 20px; }
.bl-section__intro { color: var(--bl-muted); font-size: 1.1rem; }
.is-dark .bl-section__intro { color: rgba(255, 255, 255, 0.78); }

/* ---------------------------------------------------------------- buttons */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px !important; }
.wp-block-button__link, .wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--bl-font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	padding: 17px 24px;
	border-radius: 0;
	border: 2px solid transparent;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
	cursor: pointer;
}
.wp-block-button__link::after { content: "\2192"; font-family: Arial, sans-serif; transition: transform .2s ease; }
.wp-block-button__link:hover::after { transform: translateX(3px); }
.is-style-bl-primary .wp-block-button__link, .wp-block-button:not([class*="is-style-"]) .wp-block-button__link {
	background: var(--bl-orange-btn);
	color: #fff;
}
.is-style-bl-primary .wp-block-button__link:hover, .wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover {
	background: var(--bl-orange-btn-hover);
	color: #fff;
}
.is-style-bl-ghost .wp-block-button__link { background: transparent; color: var(--bl-navy); border-color: var(--bl-navy); }
.is-style-bl-ghost .wp-block-button__link:hover { background: var(--bl-navy); color: #fff; }
.is-dark .is-style-bl-ghost .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.is-dark .is-style-bl-ghost .wp-block-button__link:hover { background: #fff; color: var(--bl-navy); border-color: #fff; }

/* ---------------------------------------------------------------- header */
.bl-site-header { position: sticky; top: 0; z-index: 50; }
.bl-topbar { background: var(--bl-navy); color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.bl-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.bl-topbar__contact { display: flex; gap: 24px; }
.bl-topbar a { text-decoration: none; color: inherit; }
.bl-topbar a:hover { color: #fff; text-decoration: underline; }

.bl-masthead { background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--bl-line); backdrop-filter: saturate(1.4) blur(8px); }
.bl-masthead__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.bl-brand { flex: none; }
.bl-brand__name { font-size: 22px; letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; }
.bl-brand__name a { text-decoration: none; color: var(--bl-navy); }
.bl-brand__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bl-orange-btn); margin-top: 6px !important; }
.bl-masthead__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.bl-masthead__actions .wp-block-buttons { margin-top: 0 !important; }
.bl-masthead__actions .wp-block-button__link { padding: 13px 18px; font-size: 14px; }
.bl-masthead__call { display: none; }
.bl-masthead__call a {
	display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px;
	background: var(--bl-orange-btn); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
}

/* core navigation block, restyled */
.bl-nav { flex: 1; justify-content: flex-end; }
.bl-nav .wp-block-navigation__container { gap: 30px; }
.bl-nav .wp-block-navigation-item__content { font-size: 15px; font-weight: 600; color: var(--bl-navy); text-decoration: none; padding-block: 8px; }
.bl-nav .wp-block-navigation-item__content:hover { color: var(--bl-orange-btn); }
.bl-nav .wp-block-navigation__submenu-icon { color: var(--bl-navy); }
.bl-nav .wp-block-navigation__submenu-container {
	background: #fff !important;
	border: 1px solid var(--bl-line) !important;
	box-shadow: 0 18px 40px rgba(15, 24, 36, 0.12);
	padding: 8px 0;
	min-width: 230px !important;
}
.bl-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 20px; font-weight: 500; }
.bl-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--bl-mist); }
.bl-nav .wp-block-navigation__responsive-container-open { color: var(--bl-navy); }
.bl-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--bl-navy) !important; color: #fff !important; padding: 28px var(--bl-gutter); }
.bl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff; font-size: 22px; font-family: var(--bl-font-head); font-weight: 700; }
.bl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; border: 0 !important; box-shadow: none; padding: 4px 0 8px 16px; }
.bl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, 0.8); padding: 6px 0; }
.bl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: transparent; color: #fff; }
.bl-nav .wp-block-navigation__responsive-container-close { color: #fff; }

/* ---------------------------------------------------------------- hero (home) */
.bl-hero {
	position: relative;
	background:
		linear-gradient(100deg, rgba(15, 24, 36, 0.96) 0%, rgba(24, 35, 51, 0.86) 45%, rgba(24, 35, 51, 0.55) 100%),
		url("/wp-content/uploads/2025/03/Slider-6.webp") center / cover no-repeat,
		var(--bl-navy);
	padding-block: clamp(80px, 11vw, 150px) clamp(72px, 9vw, 120px);
}
.bl-hero__inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.bl-hero__title { color: #fff; margin-bottom: 26px !important; }
.bl-hero .bl-lead { max-width: 620px; }
.bl-hero__panel { background: rgba(15, 24, 36, 0.72); border: 1px solid var(--bl-line-dark); padding: 32px; backdrop-filter: blur(6px); }
.bl-panel__title { font-size: 1.4rem; line-height: 1.2; margin-bottom: 22px !important; color: #fff; letter-spacing: -0.02em; }
.bl-panel__list { list-style: none; padding: 0; counter-reset: bl; }
.bl-panel__list li { counter-increment: bl; display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--bl-line-dark); font-weight: 600; color: #fff; }
.bl-panel__list li::before { content: counter(bl, decimal-leading-zero); color: var(--bl-orange); font-size: 13px; font-weight: 700; padding-top: 2px; }

/* stats strip */
.bl-statsband { background: #fff; border-bottom: 1px solid var(--bl-line); }
.bl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bl-stat { padding: 34px 28px 34px 0; }
.bl-stat + .bl-stat { padding-left: 28px; border-left: 1px solid var(--bl-line); }
.bl-stat__num { font-size: 1.35rem; color: var(--bl-navy); margin-bottom: 8px !important; }
.bl-stat p:not(.bl-stat__num) { font-size: 14px; color: var(--bl-muted); line-height: 1.5; }

/* ---------------------------------------------------------------- splits */
.bl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 96px); align-items: start; }
.bl-split__main > * + *, .bl-split__side > * + *, .bl-person__body > * + *, .bl-prose > * + * { margin-top: 18px !important; }
.bl-split__main > .bl-eyebrow + *, .bl-person__body > .bl-eyebrow + * { margin-top: 0 !important; }
.bl-split__main h2 + * { margin-top: 26px !important; }
.bl-split--intro, .bl-split--head { align-items: end; }
.bl-split--head { margin-bottom: clamp(40px, 5vw, 64px); }
.bl-split--intro .bl-split__side p:not(.bl-lead) { color: var(--bl-muted); }
.bl-split--why { align-items: center; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.bl-split--cta { align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

/* ---------------------------------------------------------------- service list (home) */
.bl-servicelist { border-top: 1px solid var(--bl-line-dark); }
.bl-servicerow {
	position: relative;
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.4fr) 48px;
	gap: 24px;
	align-items: center;
	padding: 28px 0;
	border-bottom: 1px solid var(--bl-line-dark);
	transition: background-color .2s ease;
}
.bl-servicerow::after {
	content: "\2192";
	font-family: Arial, sans-serif;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	background: var(--bl-orange-btn); color: #fff;
	grid-column: 4;
	transition: transform .2s ease;
}
.bl-servicerow:hover { background: rgba(255, 255, 255, 0.03); }
.bl-servicerow:hover::after { transform: translateX(4px); }
.bl-servicerow__title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: #fff; }
.bl-servicerow__title a { text-decoration: none; color: #fff; }
.bl-servicerow__title a::before { content: ""; position: absolute; inset: 0; }
.bl-servicerow p:not(.bl-num) { font-size: 15px; }
.bl-num { font-family: var(--bl-font-head); font-size: 13px !important; font-weight: 700; color: var(--bl-orange) !important; letter-spacing: 0.06em; }
.bl-also { margin-top: 36px !important; color: rgba(255, 255, 255, 0.8); }
.bl-also a { color: #fff; font-weight: 700; }
.bl-also--dark { color: var(--bl-muted); }
.bl-also--dark a { color: var(--bl-navy); }

/* ---------------------------------------------------------------- grids & cards */
.bl-grid { display: grid; gap: 20px; }
.bl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bl-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bl-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--bl-line);
	padding: clamp(24px, 3vw, 34px);
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.bl-card p { color: var(--bl-muted); font-size: 15.5px; }
.bl-card .bl-num { margin-bottom: 6px !important; }
.bl-card__title { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; color: var(--bl-navy) !important; }
.bl-card__title a { color: inherit; text-decoration: none; }
.bl-card__title a:hover { color: var(--bl-orange-btn); }
.bl-card--link .bl-card__title a::before { content: ""; position: absolute; inset: 0; }
.bl-card--link:hover { border-color: var(--bl-navy); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 24, 36, 0.08); }
.bl-card--link .bl-card__title { font-size: 1.6rem; }
.bl-more { margin-top: auto !important; padding-top: 12px; font-weight: 700; color: var(--bl-orange-btn) !important; font-size: 15px; }
.bl-more::after { content: " \2192"; font-family: Arial, sans-serif; }
.bl-card--accent { background: var(--bl-navy); border-color: var(--bl-navy); }
.bl-card--accent .bl-card__title { color: #fff !important; }
.bl-card--accent p { color: rgba(255, 255, 255, 0.8); }
.bl-card--accent .wp-block-buttons { margin-top: auto !important; padding-top: 8px; }
.bl-link a { font-weight: 700; color: var(--bl-orange-btn); text-decoration: none; }
.bl-link a::after { content: " \2192"; font-family: Arial, sans-serif; }

/* ---------------------------------------------------------------- person */
.bl-person { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
.bl-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; filter: grayscale(0.15); }
.bl-portrait { position: relative; }
.bl-portrait::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%; border-left: 3px solid var(--bl-orange); border-bottom: 3px solid var(--bl-orange); pointer-events: none; }
.bl-person__name { font-family: var(--bl-font-head); font-weight: 700; font-size: 1.4rem; color: var(--bl-navy); margin-top: 28px !important; }
.bl-person__creds { font-size: 12px !important; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bl-orange-btn); }
.bl-person__name + .bl-person__creds { margin-top: 6px !important; }
.bl-person__body p:not([class]) { color: var(--bl-muted); }

/* statement box */
.bl-statement { position: relative; padding: clamp(36px, 5vw, 56px); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.bl-statement__text { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; color: #fff !important; position: relative; z-index: 1; }
.bl-statement__mark { position: absolute; top: 28px; left: clamp(36px, 5vw, 56px); font-family: var(--bl-font-head); font-size: 88px !important; font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: #fff !important; }
.bl-statement::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; }

/* checks & steps */
.bl-checks { list-style: none; padding: 0; }
.bl-checks li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--bl-line); }
.bl-checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 7px; border-left: 2.5px solid var(--bl-orange-btn); border-bottom: 2.5px solid var(--bl-orange-btn); transform: rotate(-45deg); }
.is-dark .bl-checks li, .bl-aside--dark .bl-checks li { border-color: var(--bl-line-dark); }
.bl-steps { list-style: none; padding: 0; counter-reset: step; }
.bl-steps li { counter-increment: step; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--bl-line); }
.bl-steps li::before {
	content: counter(step); position: absolute; left: 0; top: 12px;
	width: 32px; height: 32px; display: grid; place-items: center;
	background: var(--bl-navy); color: #fff; font-family: var(--bl-font-head); font-weight: 700; font-size: 14px;
}
.bl-steps strong { color: var(--bl-navy); }

/* asides */
.bl-aside { background: #fff; border: 1px solid var(--bl-line); padding: clamp(26px, 3.5vw, 38px); }
.bl-aside > * + * { margin-top: 14px !important; }
.bl-aside__title { font-size: 1.3rem; line-height: 1.2; color: var(--bl-navy); letter-spacing: -0.02em; }
.bl-aside .wp-block-buttons { margin-top: 24px !important; }
.bl-aside--dark { background: var(--bl-navy); border-color: var(--bl-navy); color: #fff; }
.bl-aside--dark .bl-aside__title { color: #fff; }
.bl-aside--dark p { color: rgba(255, 255, 255, 0.82); }
.bl-aside__phone a { font-family: var(--bl-font-head); font-size: 1.6rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.bl-aside__email a { color: #fff; overflow-wrap: anywhere; }
.bl-aside--accent { border-top: 4px solid var(--bl-orange); }
.bl-aside--accent p { color: var(--bl-muted); }

/* reviews */
.bl-review { background: #fff; border: 1px solid var(--bl-line); padding: 34px; margin: 0; display: flex; flex-direction: column; gap: 24px; position: relative; }
.bl-review::before { content: "\201C"; font-family: Georgia, serif; font-size: 72px; line-height: 0.6; color: var(--bl-orange); height: 26px; }
.bl-review p { font-size: 16.5px; line-height: 1.6; }
.bl-review cite { font-style: normal; font-weight: 700; font-size: 15px; color: var(--bl-navy); margin-top: auto; line-height: 1.5; }
.bl-review cite br + * , .bl-review cite { display: block; }

/* ---------------------------------------------------------------- inner page hero */
.bl-pagehero { background: var(--bl-navy); color: #fff; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.bl-pagehero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; pointer-events: none; }
.bl-pagehero--tall { padding-block: clamp(96px, 14vw, 180px); }
.bl-pagehero__title { color: #fff; max-width: 16ch; }
.bl-pagehero .bl-lead { max-width: 680px; margin-top: 22px !important; color: rgba(255, 255, 255, 0.82); }
.bl-pagehero .bl-eyebrow { color: #fff; }
.bl-crumbs { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-bottom: 28px !important; }
.bl-crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.bl-crumbs a:hover { color: #fff; text-decoration: underline; }
.bl-crumbs .bl-sep { margin-inline: 6px; opacity: 0.5; }
.bl-crumbs [aria-current] { color: #fff; }
.bl-pagehero .is-style-bl-ghost .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.bl-pagehero .is-style-bl-ghost .wp-block-button__link:hover { background: #fff; color: var(--bl-navy); }

.bl-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------------------------------------------------------------- CTA band */
.bl-cta { padding-block: clamp(64px, 9vw, 112px); }
.bl-cta h2 { color: #fff; }
.bl-cta .bl-lead { margin-top: 22px !important; max-width: 520px; }
.bl-contactlist { display: flex; flex-direction: column; }
.bl-contactlist__item, .bl-contactlist__offices { padding: 20px 0; border-top: 1px solid var(--bl-line-dark); }
.bl-contactlist__offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bl-label { font-size: 11px !important; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6) !important; margin-bottom: 6px !important; }
.bl-big { font-family: var(--bl-font-head); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -0.01em; }
.bl-big a { color: #fff; text-decoration: none; }
.bl-cta .bl-contactlist p { font-size: 15px; }

.bl-contactlist--light .bl-contactlist__item { border-color: var(--bl-line); }
.bl-contactlist--light .bl-label { color: var(--bl-muted) !important; }
.bl-contactlist--light .bl-big a { color: var(--bl-navy); }
.bl-contactlist--light .bl-link { margin-top: 8px !important; }
.bl-contactlist--light .bl-steps { margin-top: 8px !important; }
.bl-contactlist--light .bl-steps li { padding-block: 10px; font-size: 15px; }
.bl-contactlist--light .bl-steps li::before { top: 8px; }

/* ---------------------------------------------------------------- contact form */
.bl-contactgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.bl-formcard { background: #fff; border: 1px solid var(--bl-line); border-top: 4px solid var(--bl-orange); padding: clamp(24px, 4vw, 48px); }
.bl-form__title { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--bl-navy); }
.bl-form__note { color: var(--bl-muted); font-size: 15px; margin-top: 10px !important; }
.bl-formcard .wpforms-container { margin: 24px 0 0 !important; }
.bl-formcard .wpforms-field-label { font-weight: 700 !important; color: var(--bl-navy) !important; font-size: 15px !important; }
.bl-formcard input[type="text"], .bl-formcard input[type="email"], .bl-formcard input[type="tel"], .bl-formcard select, .bl-formcard textarea {
	width: 100% !important; max-width: 100% !important; border: 1px solid #c9ced6 !important; border-radius: 0 !important;
	padding: 12px 14px !important; font-size: 16px !important; background: #fff !important; box-shadow: none !important; min-height: 48px;
}
.bl-formcard input:focus, .bl-formcard select:focus, .bl-formcard textarea:focus { border-color: var(--bl-navy) !important; outline: 2px solid var(--bl-orange) !important; outline-offset: 0; }
.bl-formcard .wpforms-submit {
	background: var(--bl-orange-btn) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important;
	padding: 17px 28px !important; font-family: var(--bl-font-head) !important; font-weight: 700 !important; font-size: 15px !important; height: auto !important;
}
.bl-formcard .wpforms-submit:hover { background: var(--bl-orange-btn-hover) !important; }

/* ---------------------------------------------------------------- prose (legal pages, generic pages) */
.bl-prose { max-width: 760px; }
.bl-prose h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin-top: 44px !important; color: var(--bl-navy); }
.bl-prose h3 { margin-top: 32px !important; color: var(--bl-navy); }
.bl-prose ul, .bl-prose ol { padding-left: 1.3em; }
.bl-prose li + li { margin-top: 8px; }
.bl-prose a { color: var(--bl-orange-btn); }

/* ---------------------------------------------------------------- footer */
.bl-footer { background: var(--bl-navy-deep); padding-block: clamp(56px, 7vw, 88px) 32px; font-size: 15px; }
.bl-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.bl-footer .bl-brand__name a { color: #fff; }
.bl-footer .bl-brand__tag { color: var(--bl-orange); }
.bl-footer__blurb { margin-top: 20px !important; max-width: 320px; color: rgba(255, 255, 255, 0.72) !important; }
.bl-footer__contact { margin-top: 18px !important; line-height: 1.9; }
.bl-footer__contact a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.bl-footer__head { font-size: 11px !important; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55) !important; margin-bottom: 16px !important; }
.bl-footer__links { list-style: none; padding: 0; }
.bl-footer__links li + li { margin-top: 8px; }
.bl-footer__links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.bl-footer__links a:hover { color: #fff; text-decoration: underline; }
.bl-footer__col p + p { margin-top: 14px !important; }
.bl-footer__col strong { color: #fff; }
.bl-footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--bl-line-dark); display: grid; gap: 6px; font-size: 13px; }
.bl-footer__legal p { color: rgba(255, 255, 255, 0.6) !important; }
.bl-footer__credit a { color: rgba(255, 255, 255, 0.85); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
	.bl-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bl-stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.bl-stat:nth-child(n+3) { border-top: 1px solid var(--bl-line); }
	.bl-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bl-masthead__cta { display: none !important; }
	.bl-masthead__call { display: block; }
}
@media (max-width: 860px) {
	.bl-hero__inner, .bl-split, .bl-split--why, .bl-person, .bl-contactgrid { grid-template-columns: minmax(0, 1fr); }
	.bl-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bl-servicerow { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 6px 16px; }
	.bl-servicerow p:not(.bl-num) { grid-column: 2; grid-row: 2; }
	.bl-servicerow::after { grid-column: 3; grid-row: 1 / span 2; }
	.bl-portrait { max-width: 420px; }
	.bl-split--head, .bl-split--intro { align-items: start; gap: 20px; }
	.bl-topbar__places { display: none; }
	.bl-topbar__inner { justify-content: center; }
	.bl-masthead__inner { gap: 20px; }
	.bl-nav .wp-block-navigation__container { gap: 18px; }
	.bl-brand__name { font-size: 19px; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.bl-topbar { display: none; }
	.bl-masthead__inner { min-height: 68px; gap: 12px; }
	.bl-brand__name { font-size: 18px; }
	.bl-brand__tag { font-size: 9.5px; letter-spacing: 0.22em; }
	.bl-nav { order: 3; flex: none; }
	.bl-masthead__actions { margin-left: auto; }
	.bl-grid--2, .bl-grid--3, .bl-grid--4, .bl-stats, .bl-footer__grid, .bl-contactlist__offices { grid-template-columns: minmax(0, 1fr); }
	.bl-stat, .bl-stat + .bl-stat { padding: 20px 0; border-left: 0; border-top: 1px solid var(--bl-line); }
	.bl-stat:first-child { border-top: 0; }
	.bl-hero__panel { padding: 24px; }
	.wp-block-buttons > .wp-block-button { flex: 1 1 100%; }
	.wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; box-sizing: border-box; }
	.bl-masthead__actions .wp-block-button { flex: none; }
	.bl-portrait::after { left: -8px; bottom: -8px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* anchors land below the sticky header */
[id] { scroll-margin-top: 140px; }

/* illustrations */
.bl-illustration img { border: 1px solid var(--bl-line); background: var(--bl-mist); }

/* logo (vector, from the supplied artwork) */
.bl-logo { margin: 0; flex: none; line-height: 0; }
.bl-logo a { display: block; }
.bl-logo img { width: 236px; height: auto; display: block; }
.bl-logo--footer img { width: 220px; }
@media (max-width: 860px) { .bl-logo img { width: 200px; } }
@media (max-width: 600px) { .bl-logo img { width: 168px; } .bl-logo--footer img { width: 200px; } }

/* ---------------------------------------------------------------- cookie consent */
.bl-consent {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
	max-width: 980px; margin-inline: auto;
	background: var(--bl-navy-deep); color: #fff;
	border-top: 4px solid var(--bl-orange);
	box-shadow: 0 20px 50px rgba(15, 24, 36, 0.35);
	font-size: 15px; line-height: 1.55;
}
.bl-consent[hidden] { display: none; }
.bl-consent__inner { display: flex; align-items: center; gap: 28px; padding: 22px 26px; }
.bl-consent__text { flex: 1; }
.bl-consent__text p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.bl-consent__text a { color: #fff; }
.bl-consent__title { font-family: var(--bl-font-head); font-weight: 700; font-size: 17px; color: #fff !important; margin-bottom: 4px !important; }
.bl-consent__actions { display: flex; gap: 12px; flex: none; }
.bl-consent__btn {
	font-family: var(--bl-font-head); font-size: 15px; font-weight: 700; line-height: 1.2;
	padding: 14px 26px; min-width: 120px; border-radius: 0; cursor: pointer;
	border: 2px solid #fff; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.bl-consent__btn--reject { background: transparent; color: #fff; }
.bl-consent__btn--reject:hover { background: #fff; color: var(--bl-navy); }
.bl-consent__btn--accept { background: var(--bl-orange-btn); border-color: var(--bl-orange-btn); color: #fff; }
.bl-consent__btn--accept:hover { background: var(--bl-orange-btn-hover); border-color: var(--bl-orange-btn-hover); }
@media (max-width: 700px) {
	.bl-consent { left: 0; right: 0; bottom: 0; }
	.bl-consent__inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
	.bl-consent__actions .bl-consent__btn { flex: 1; }
}
