/* =============================================================================
   BC Foundation Specialties — site styles
   Single file, mobile-first, no build pipeline.
   Palette and typography locked in Batch 2 against the live bcfoundations.ca:
     primary slate-blue used for buttons/links: rgb(60,69,86) #3C4556
     hover variant: rgb(81,93,114) #515D72
     active: rgb(42,49,61) #2A313D
     ink: rgb(27,27,27) #1B1B1B; muted body: rgb(89,89,89) #595959
     light bg / footer bands: #F7F7F7 / #EEEEEE
     fonts: Open Sans (Google Fonts) for both headings and body — single family
     until a distinct heading face is chosen. FontAwesome 6 free for icons.
   ============================================================================= */

/* ---- Self-hosted body+heading font ---- */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/opensans/opensans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Custom properties ---- */
:root {
  --color-primary:    #3C4556; /* slate blue (live-site primary) */
  --color-secondary:  #515D72; /* lighter slate (hover) */
  --color-accent:     #2A313D; /* dark slate (active) */
  /* Brand accent — pulled from the logo's wordmark/well graphic (#861413).
     Use sparingly: H2 prefix bars, stat-card top borders, nav active
     underlines, section card left-borders, key callout buttons. */
  --color-brand-red:       #861413;
  --color-brand-red-dark:  #6b0e0d;
  --color-bg:         #F7F7F7; /* light bg band */
  --color-bg-alt:     #FFFFFF;
  --color-bg-footer:  #EEEEEE; /* footer surface */
  --color-text:       #1B1B1B; /* ink */
  --color-text-light: #595959; /* muted body */
  --color-white:      #FFFFFF;
  --color-border:     #E2E2E2;

  --font-heading: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1440px;       /* default width for most sections */
  --container-narrow: 1200px;    /* opt-in for sections kept intentionally tighter (e.g. Areas We Serve) */
  --header-height: 80px;
  --section-padding: 5rem 0;
  --border-radius: 4px;
  --transition: 0.25s ease;

  --shadow-sm: 0 1px 3px rgba(60, 69, 86, 0.08);
  --shadow-md: 0 4px 16px rgba(60, 69, 86, 0.12);
  --shadow-lg: 0 12px 32px rgba(60, 69, 86, 0.18);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }

/* Inline CTA: text mention that should read as a link in body copy.
   Used for things like "Contact us today" sentences inside paragraphs. */
.inline-cta { color: var(--color-brand-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 600; }
.inline-cta:hover { color: var(--color-brand-red-dark); text-decoration-thickness: 2px; }
ul { list-style: none; }
/* Type scale.
   Display sizes (h1/h2) drop to 600 weight — Open Sans 700 reads as chunky
   above ~28px. Smaller headings keep 700 for hierarchy against body copy.
   Negative letter-spacing on display sizes tightens the optical look at scale. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-primary);
  letter-spacing: -0.005em;
}
h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
}
h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.005em;
}
h4 { font-size: 1.05rem; font-weight: 700; }
/* Prevent orphans/widows on the last line of body copy (browser-optimised wrap,
   not a fixed measure). Keeps a stranded single word from sitting alone. */
p { margin-bottom: 1rem; text-wrap: pretty; }

/* Branded text selection. */
::selection { background: rgba(60, 69, 86, 0.16); color: var(--color-text); }

/* ---- Accessibility ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; color: var(--color-white); }

/* Visually-hidden but available to assistive tech (e.g. structural headings that
   keep the document outline intact without adding visible chrome). */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
/* Light outline wherever focusable elements sit on the dark hero / CTA bands, so
   the indicator keeps the WCAG 2.4.11 ≥3:1 contrast against its backdrop. (The
   header is a white surface, so it keeps the default dark outline.) */
.hero a:focus-visible,
.hero button:focus-visible,
.page-header a:focus-visible,
.page-header button:focus-visible,
.lets-connect a:focus-visible,
.lets-connect button:focus-visible {
  outline-color: var(--color-white);
}

/* ---- Layout primitives ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
/* Opt-in modifier for sections we deliberately keep tighter than the 1440 default. */
.container--narrow { max-width: var(--container-narrow); }
.l-content { padding-top: var(--header-height); }
.section { padding: var(--section-padding); }
.section-title { text-align: center; margin-bottom: 2.5rem; text-wrap: balance; }
.section-title + .section-lead { margin-top: -1.5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), filter var(--transition);
}
/* Tactile pressed state (darken, no movement per the design rule). */
.btn:active { filter: brightness(0.92); }
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
/* Brand-red CTA — used sparingly on the highest-priority action per page
   (home-hero "Talk to an Engineer", lets-connect band CTA). */
.btn-brand {
  background: var(--color-brand-red);
  color: var(--color-white);
  border-color: var(--color-brand-red);
}
.btn-brand:hover {
  background: var(--color-brand-red-dark);
  border-color: var(--color-brand-red-dark);
  color: var(--color-white);
}

/* ---- Header ----
   White surface so the brand logo (#333 wordmark + #861413 well-graphic)
   shows in its actual colors. Subtle bottom border separates the header
   from the page hero band. .site-header.scrolled keeps the same surface
   but adds a soft shadow once the user scrolls past 50px.
*/
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo-img { height: 44px; width: auto; max-width: 280px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
}
.hamburger { top: 50%; transform: translate(-50%, -50%); }
.hamburger::before { content: ''; top: -8px; }
.hamburger::after  { content: ''; top: 8px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 1.5rem; align-items: center; }
.nav-link {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
}
.nav-link:hover { color: var(--color-accent); }
.nav-link.active:not(.nav-link--cta) { color: var(--color-primary); }
/* Underline indicator: faint on hover (clear feedback), bold red on the current
   page — so hover and the active page stay distinguishable. Fades via opacity,
   no movement. */
.nav-link:not(.nav-link--cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-brand-red);
  opacity: 0;
  transition: opacity var(--transition);
}
.nav-link:not(.nav-link--cta):hover::after { opacity: 0.4; }
.nav-link.active:not(.nav-link--cta)::after { opacity: 1; }
.nav-link--cta,
.nav-link--cta.active {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.65rem 1.4rem;
  border-radius: var(--border-radius);
}
.nav-link--cta:hover,
.nav-link--cta.active:hover { background: var(--color-accent); color: var(--color-white); }

.nav-item-has-children { position: relative; }
.nav-submenu-toggle {
  background: transparent;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0 0.25rem;
}
.nav-submenu-caret { font-size: 0.65em; opacity: 0.7; transition: transform var(--transition); }
.nav-submenu-toggle[aria-expanded="true"] .nav-submenu-caret { transform: rotate(180deg); }
.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 220px;
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
}
/* Desktop ONLY: reveal the dropdown on hover / keyboard focus. This must NOT
   apply at the mobile breakpoint — there the submenu is an accordion driven by
   .submenu-open (JS). If :focus-within reached mobile, tapping the toggle would
   focus the button and :focus-within would pin the submenu open, so a second tap
   could never collapse it (the "expand but not collapse" bug). */
@media (min-width: 1025px) {
  .nav-item-has-children:hover > .nav-submenu,
  .nav-item-has-children:focus-within > .nav-submenu { display: block; }
}
.nav-sublink {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--color-text);
  font-size: 0.9rem;
}
.nav-sublink:hover { background: rgba(60, 69, 86, 0.09); color: var(--color-primary); box-shadow: inset 3px 0 0 var(--color-brand-red); }

/* ---- Footer ---- */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 2rem;
}
.footer-brand p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.footer-logo { height: 48px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.site-footer h2 { color: var(--color-white); font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--color-white); }
/* Footer nav + contact links: ≥24px touch height (WCAG 2.5.8). These are
   discrete nav controls in vertical lists, so the added row spacing is fine. */
.footer-nav ul a,
.footer-phone,
.footer-email { display: inline-block; padding: 0.3rem 0; }
.site-footer ul li { margin-bottom: 0.4rem; font-size: 0.9rem; }
.footer-locations address { font-style: normal; color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; line-height: 1.7; }
.footer-phone, .footer-email { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.footer-phone i, .footer-email i, .footer-hours i { width: 1rem; text-align: center; opacity: 0.7; font-size: 0.85rem; }
.footer-hours { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; font-size: 0.85rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social li { margin: 0; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--color-brand-red); color: var(--color-white); }
.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Page header / hero ----
   One canonical sizing rule for every page-header that uses the shared
   includes/page-header.php partial. Variants (--bg, --service, --area, --blog,
   --post, --gallery, --contact, --404) only flip cosmetic tone (background,
   text colour) — never size. Keeps the H1 Y-coordinate constant across
   ±2px on every partial-driven page. About (--split) and Home (.hero--home)
   are deliberate exceptions. */
.page-header {
  padding: calc(var(--header-height) + 3rem) 0 3.5rem;
  color: var(--color-white);
  background-color: var(--color-primary);
  background-position: center;
  background-size: cover;
  text-align: left;
}
.page-header h1 { color: var(--color-white); margin: 0 0 0.85rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
.page-header p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin: 0; font-size: 1.05rem; line-height: 1.6; }
.page-header-inner { /* container alignment handled by .container; left-align by default. */ }

/* Breadcrumbs render at the very top of .page-header-inner — left-aligned so
   "Home" anchors to the same X position on every route, and the trail grows
   rightward as depth increases (instead of jumping around when centered). */
.breadcrumbs {
  margin: 0 0 1.1rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78);
}
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; justify-content: flex-start; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before { content: "/"; color: rgba(255, 255, 255, 0.45); }
/* inline-block + vertical padding lifts the touch height to ≥24px (WCAG 2.5.8)
   without changing the breadcrumb's visual baseline (li is align-items:center). */
.breadcrumbs a,
.breadcrumbs [aria-current="page"] { display: inline-block; padding: 0.28rem 0; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 600; }

/* Background-image variant: <img.page-header-bg> + <div.page-header-overlay>
   replace the legacy inline style="background-image:..." pattern so CSP can
   drop style-src 'unsafe-inline'. Stacking via z-index keeps the slate
   gradient overlay between the photo and the heading. */
.page-header--bg { position: relative; isolation: isolate; overflow: hidden; }
.page-header--bg .container { position: relative; z-index: 1; }
.page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(60, 69, 86, 0.82), rgba(42, 49, 61, 0.92));
  z-index: -1;
}
.page-header--post-overlay-soft .page-header-overlay {
  background: linear-gradient(rgba(60, 69, 86, 0.78), rgba(42, 49, 61, 0.92));
}

.contact-map iframe { border: 0; }

/* ---- Cards / grids ---- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.services-grid > .service-card {
  flex: 1 1 calc((100% - 3 * 1.5rem) / 4);
  min-width: 240px;
  max-width: calc((100% - 3 * 1.5rem) / 4);
}
@media (max-width: 1024px) {
  .services-grid > .service-card { flex-basis: calc((100% - 2 * 1.5rem) / 3); max-width: calc((100% - 2 * 1.5rem) / 3); }
}
@media (max-width: 760px) {
  .services-grid > .service-card { flex-basis: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 480px) {
  .services-grid > .service-card { flex-basis: 100%; max-width: 100%; }
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  transition: box-shadow var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); color: var(--color-text); }
.service-img-wrap { aspect-ratio: 16 / 10; background: var(--color-bg); overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { padding: 1.25rem 1.25rem 0.5rem; }
.service-card p { padding: 0 1.25rem 1rem; color: var(--color-text-light); font-size: 0.95rem; }
/* margin-top:auto pins the link to the card's bottom edge, so cards with shorter
   descriptions line up with their taller neighbours instead of floating mid-card. */
.service-card-link { display: inline-block; margin-top: auto; padding: 0 1.25rem 1.25rem; color: var(--color-secondary); font-weight: 600; transition: color var(--transition); }
/* Card-CTA hover: the link text must respond, not just the card shadow. */
.service-card:hover .service-card-link,
.service-card:focus-visible .service-card-link {
  color: var(--color-brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Lets-connect band ---- */
.lets-connect { background: var(--color-primary); color: var(--color-white); text-align: center; }
.lets-connect h2 { color: var(--color-white); }
.lets-connect-text { color: rgba(255, 255, 255, 0.85); max-width: 600px; margin: 0 auto 2rem; text-wrap: balance; }
.lets-connect-actions { margin-bottom: 2rem; }
.lets-connect-contact { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.lets-connect-phone { font-size: 0.95rem; display: flex; align-items: center; gap: 0.85rem; text-align: left; }
.lets-connect-phone > i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 1rem;
}
.lets-connect-phone > div { display: flex; flex-direction: column; gap: 0.1rem; }
.lets-connect-phone strong { color: rgba(255, 255, 255, 0.7); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; font-weight: 600; }
.lets-connect-phone a { color: var(--color-white); font-weight: 600; }
.lets-connect-phone a:hover { color: rgba(255, 255, 255, 0.85); }

.section--alt { background: var(--color-bg); }
.section-lead {
  max-width: 680px;
  margin: 0.75rem auto 2.5rem;
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.6;
  text-wrap: balance;
}

/* ---- Home hero ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero-image {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  /* Diagonal gradient: heaviest on the lower-left where the text + trust
     strip sit, fading toward upper-right so the photo shows through. */
  background:
    linear-gradient(105deg, rgba(27, 27, 27, 0.78) 0%, rgba(27, 27, 27, 0.55) 45%, rgba(27, 27, 27, 0.35) 100%),
    linear-gradient(180deg, rgba(27, 27, 27, 0) 0%, rgba(27, 27, 27, 0.25) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; padding-block: 3rem; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-white);
  opacity: 0.9;
  font-family: var(--font-body);
}
.hero-title {
  color: var(--color-white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  max-width: 880px;
}
.hero-lead {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: 2.25rem;
}
.hero-eyebrow { font-weight: 600; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  padding-right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
  max-width: 920px;
}
.hero-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  line-height: 1.4;
}
.hero-trust li > i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-size: 0.85rem;
  margin-top: 0.05rem;
}
.hero-trust li > span { display: flex; flex-direction: column; gap: 0.1rem; }
.hero-trust li strong {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
@media (max-width: 880px) { .hero-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (max-width: 520px) { .hero-trust { grid-template-columns: 1fr; } }
.btn-outline--light {
  border-color: var(--color-white);
  color: var(--color-white);
  background: transparent;
}
.btn-outline--light:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* ---- Areas grid (home) ---- */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  /* Kept intentionally narrower than the 1440 container so the location cards stay
     comfortably sized rather than stretching thin across the full width. */
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.areas-grid > .area-card {
  flex: 1 1 calc((100% - 3 * 1.25rem) / 4);
  min-width: 240px;
  max-width: calc((100% - 3 * 1.25rem) / 4);
}
@media (max-width: 1024px) {
  .areas-grid > .area-card { flex-basis: calc((100% - 2 * 1.25rem) / 3); max-width: calc((100% - 2 * 1.25rem) / 3); }
}
@media (max-width: 700px) {
  .areas-grid > .area-card { flex-basis: calc((100% - 1.25rem) / 2); max-width: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 480px) {
  .areas-grid > .area-card { flex-basis: 100%; max-width: 100%; }
}
.area-card { background: var(--color-bg-alt); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.area-card:hover { box-shadow: var(--shadow-lg); }
.area-card a { display: block; color: var(--color-text); }
.area-card-img { aspect-ratio: 4 / 3; background: var(--color-bg); overflow: hidden; }
.area-card-img img { width: 100%; height: 100%; object-fit: cover; }
.area-card h3 { padding: 1rem 1rem 0.25rem; font-size: 1.15rem; transition: color var(--transition); }
.area-card:hover h3,
.area-card:focus-within h3 { color: var(--color-brand-red); }
.area-card p { padding: 0 1rem 1rem; color: var(--color-text-light); font-size: 0.92rem; }

/* ---- Why us band ---- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.why-us-list { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; color: var(--color-text-light); }
.why-us-list li { margin-bottom: 0.5rem; }
.why-us-list--iconed { list-style: none; padding-left: 0; margin-top: 1.5rem; }
.why-us-list--iconed li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  line-height: 1.55;
}
.why-us-list--iconed li > i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(60, 69, 86, 0.08);
  color: var(--color-primary);
  font-size: 0.85rem;
  margin-top: 0.1rem;
}
.why-us-list--iconed a { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.why-us-image img { border-radius: var(--border-radius); box-shadow: var(--shadow-md); width: 100%; height: auto; }

/* ---- About page ---- */
/* Full-bleed page (no .l-content offset), so the top padding must clear the fixed
   80px header AND leave breathing room — same clearance as the standard .page-header. */
.page-header--split { padding: calc(var(--header-height) + 3rem) 0 5rem; text-align: left; }
.page-header--split h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.1;
}
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
.about-split-content p { color: rgba(255, 255, 255, 0.88); margin: 0 0 1.1rem; font-size: 1.02rem; line-height: 1.7; }
.about-split-content .about-split-actions { max-width: none; }
.about-split-content .page-header-tagline { color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.5rem; max-width: none; }
.about-split-actions {
  margin: 2rem 0 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.about-split-figure {
  margin: 0;
  position: relative;
  min-height: 420px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-split-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn-on-dark {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
/* Solid white → solid brand-red (white text). A clear, on-brand hover instead of
   dissolving into the same outline as the ghost button beside it. */
.btn-on-dark:hover { background: var(--color-brand-red); color: var(--color-white); border-color: var(--color-brand-red); }
.btn-ghost-on-dark {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}
/* Ghost fills solid white on hover (red is too dark to read as an accent on the
   dark band) — a clear transparent→filled change. */
.btn-ghost-on-dark:hover { background: var(--color-white); color: var(--color-primary); border-color: var(--color-white); }

/* Stat-grid (about page facts band) */
.about-stats { padding-block: 4rem; background: var(--color-bg-alt); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #FAFAFB 100%);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-brand-red);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card > i {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.stat-label { color: var(--color-text-light); font-size: 0.92rem; line-height: 1.4; }
@media (max-width: 880px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pillars: "Why teams call us first" */
.about-pillars { padding-block: 5rem; }
.section-heading { text-align: center; margin-bottom: 0; }
.about-pillars .section-lead { margin-top: 0.75rem; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.pillar-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pillar-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-brand-red); }
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(60, 69, 86, 0.08);
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.pillar-card h3 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 0.25rem; }
.pillar-card p { color: var(--color-text-light); font-size: 0.95rem; margin: 0; line-height: 1.55; }
@media (max-width: 980px) { .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

/* Contact strip (HQ / Hours / Founder / Direct line) */
.about-contact-strip { padding-block: 5rem; background: var(--color-bg-alt); }
.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.about-contact-block h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.about-contact-block h3 i { font-size: 0.95rem; }
.about-contact-block p { margin: 0; color: var(--color-text); line-height: 1.55; }
.about-contact-block a { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.about-contact-block a:hover { color: var(--color-accent); }
.about-contact-block .muted { color: var(--color-text-light); font-size: 0.9rem; }
@media (max-width: 880px) { .about-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .about-contact-grid { grid-template-columns: 1fr; } }

.about-credentials { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--color-border); }
.about-credentials h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.credentials-list { display: flex; gap: 1.25rem; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; align-items: stretch; }
/* Each membership mark sits in a uniform tile. The logos carry their own
   background (EGBC is designed on black), so the tile colour matches: dark tile
   for EGBC, white for the rest — the seams disappear and the row reads as a tidy
   set of badges. */
.credentials-list .cred-card {
  display: flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.4rem; min-height: 86px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.credentials-list .cred-card.cred--dark { background: #0a0a0a; border-color: #0a0a0a; }
.credentials-list img { max-height: 58px; width: auto; display: block; }
@media (max-width: 520px) {
  .credentials-list { gap: 1rem; }
  .credentials-list .cred-card { width: 100%; }
}

/* Service-area cards (about page) */
.about-areas { padding-block: 5rem; }
.about-areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem auto 0;
  padding: 0;
  list-style: none;
}
/* Centered 4-up so the 7 regions wrap as 4 + 3 (centered) instead of a
   left-anchored 5 + 2 with a lopsided gap. */
.about-areas-list > li {
  display: flex;
  flex: 1 1 calc((100% - 3 * 1rem) / 4);
  min-width: 240px;
  max-width: calc((100% - 3 * 1rem) / 4);
}
@media (max-width: 1024px) {
  .about-areas-list > li { flex-basis: calc((100% - 2 * 1rem) / 3); max-width: calc((100% - 2 * 1rem) / 3); }
}
@media (max-width: 700px) {
  .about-areas-list > li { flex-basis: calc((100% - 1rem) / 2); max-width: calc((100% - 1rem) / 2); }
}
@media (max-width: 480px) {
  .about-areas-list > li { flex-basis: 100%; max-width: 100%; }
}
.about-areas-list a {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-text);
  background: var(--color-bg-alt);
  text-decoration: none;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.about-areas-list a:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}
.about-areas-list .area-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(60, 69, 86, 0.08);
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.about-areas-list strong { display: block; font-family: var(--font-heading); color: var(--color-primary); font-size: 1.1rem; margin-bottom: 0.1rem; }
.about-areas-list .area-desc { color: var(--color-text-light); font-size: 0.92rem; line-height: 1.5; }
.about-areas-list .area-more {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.85;
  transition: opacity var(--transition), gap var(--transition);
}
.about-areas-list a:hover .area-more { opacity: 1; gap: 0.6rem; }

/* ---- Service single page ---- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}
.service-aside { position: sticky; top: calc(var(--header-height) + 1.5rem); }
.service-aside-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.service-aside-features {
  margin-top: 1.5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}
.service-aside-features h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  color: var(--color-primary);
}
.service-aside-features ul { padding-left: 0; list-style: none; }
.service-aside-features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.55rem;
  color: var(--color-text);
}
.service-aside-features li::before {
  content: "\f00c"; /* fa-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--color-primary);
  font-size: 0.85rem;
}
.service-aside-features li:last-child { margin-bottom: 0; }
.service-detail-body { min-width: 0; }
.service-detail-body .service-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
}

/* Body sections — long-form prose. Default is plain (no card chrome).
   The --featured modifier adds a soft surface to mark one section as
   the page's centre of gravity without the heavy 2010s-bordered-card look.
   Sections span the standard container width; prose line-length is capped
   per-element below so wide viewports stay readable. */
.area-section p,
.area-section li,
.service-section p,
.service-section li { max-width: 75ch; }
.service-section,
.area-section {
  margin-bottom: 2.25rem;
  padding: 0;
}
.service-section:last-child,
.area-section:last-child { margin-bottom: 0; }
.service-section-heading,
.area-section-heading {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--color-primary);
  margin: 0 0 0.85rem;
}
.service-section p,
.area-section p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 1rem;
}
.service-section p:last-child,
.area-section p:last-child { margin-bottom: 0; }
.service-section a,
.area-section a {
  color: var(--color-brand-red);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.07em;
}
.service-section a:hover,
.area-section a:hover { color: var(--color-brand-red-dark); }
.service-section strong,
.area-section strong { color: var(--color-text); font-weight: 700; }

/* Featured section — soft-card emphasis, not a bordered box. Subtle tint
   surface + brand-red accent rule; reads as "this is the section that
   matters" without dominating the page with a heavy frame. */
.service-section--featured,
.area-section--featured {
  position: relative;
  background: var(--color-bg-alt);
  padding: 2rem 2.25rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  /* Size the callout to its content (text caps at 75ch) instead of spanning the
     full container, so the card isn't left with a large empty right-hand area. */
  width: fit-content;
  max-width: 100%;
}
.service-section--featured::before,
.area-section--featured::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.85rem;
  bottom: 1.85rem;
  width: 3px;
  background: var(--color-brand-red);
  border-radius: 0 2px 2px 0;
}

/* List styling — modern brand-red dot bullets for <ul> and brand-red
   numerals for <ol>. Same hanging-indent pattern used in the blog body so
   prose rhythm reads consistent across the whole site. */
.service-section ul,
.area-section ul,
.service-section ol,
.area-section ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.service-section li,
.area-section li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0 0 0.55rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
}
.service-section ul > li::before,
.area-section ul > li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--color-brand-red);
  border-radius: 50%;
}
.service-section ol,
.area-section ol { counter-reset: ol-counter; }
.service-section ol > li,
.area-section ol > li { counter-increment: ol-counter; }
.service-section ol > li::before,
.area-section ol > li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--color-brand-red);
  width: 1.1rem;
}
.service-section li:last-child,
.area-section li:last-child { margin-bottom: 0; }
.service-section li > p:last-child,
.area-section li > p:last-child { margin-bottom: 0; }

/* Services-overview features grid */
.services-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-features-grid li {
  background: var(--color-bg-alt);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.services-features-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.services-features-grid p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ---- Area page ---- */
.area-intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.area-intro-copy h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin: 0 0 1.1rem;
  text-wrap: balance;
}
.area-intro-copy p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  color: var(--color-text);
}
.area-intro-copy p:last-child { margin-bottom: 0; }
.area-intro-copy strong { color: var(--color-text); font-weight: 700; }
.area-intro-copy a {
  color: var(--color-brand-red);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.07em;
}
.area-intro-copy a:hover { color: var(--color-brand-red-dark); }
.area-intro-image {
  position: relative;
  min-height: 360px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.area-intro-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.other-areas-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.other-areas-list a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-primary);
  font-weight: 500;
}
.other-areas-list a:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ---- Responsive: mobile nav + grid collapses ----
   Breakpoint bumped to 1024px so the nav drawer kicks in before the desktop
   nav has a chance to wrap the CONTACT US pill or collide with the logo on
   typical tablet widths (~900–1000px). */

/* Disable nav transitions during a window-resize burst so the drawer doesn't
   animate when the layout switches mobile↔desktop. JS in main.js toggles the
   .is-resizing class on <html> for a short window after each resize. */
.is-resizing .main-nav,
.is-resizing .nav-scrim,
.is-resizing .nav-list,
.is-resizing .nav-link,
.is-resizing .nav-submenu { transition: none !important; }

/* Drawer scrim — separate element so it doesn't share a stacking context
   with .main-nav (which creates one via its transform). Hidden by default,
   shown when JS toggles .open on it alongside the drawer. */
.nav-scrim {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 27, 27, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 50; /* below .main-nav (60), above page content */
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 0;
    /* Translate up by full drawer height + the header band so the drawer is
       guaranteed off-screen regardless of content height. */
    transform: translateY(calc(-100% - var(--header-height)));
    transition: transform var(--transition);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    box-shadow: 0 14px 28px rgba(27, 27, 27, 0.18);
  }
  .main-nav { z-index: 60; }
  .main-nav.open { transform: translateY(0); }
  /* Scrim is shown at the mobile breakpoint when JS adds .open to the
     standalone .nav-scrim element (sibling, not pseudo, see notes above). */
  .nav-scrim { display: block; }

  /* Drawer items: small breathing-room gap between rows so background-tint
     hover states render as discrete pills, not full-width bands. No 1px
     bottom-border separators (those are 2010s). */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
    padding: 0.6rem 0.75rem 1.25rem;
  }
  .nav-list > li { position: relative; border-bottom: none; }

  /* Primary link rows. Inks the text near-black for confident contrast on
     white; hover/active flips to brand-red with a soft tinted surface. */
  .nav-list > li > .nav-link:not(.nav-link--cta) {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-text);
    border-radius: 6px;
    transition: background-color var(--transition), color var(--transition);
  }
  .nav-list > li > .nav-link:not(.nav-link--cta):hover,
  .nav-list > li > .nav-link:not(.nav-link--cta):focus-visible {
    background: var(--color-bg);
    color: var(--color-brand-red);
  }
  .nav-list > li > .nav-link:not(.nav-link--cta).active {
    background: rgba(134, 20, 19, 0.08);
    color: var(--color-brand-red);
  }
  .nav-list > li > .nav-link::after { display: none; }
  /* Drop the desktop-only left-bar accent in the drawer — bg tint + colour
     shift carry the active state already. */
  .nav-list > li > .nav-link:not(.nav-link--cta).active::before { display: none; }

  /* Submenu chevron — pinned to the parent row only. Fixed height (52px)
     matches the row's box-height so it doesn't stretch when the submenu
     expands and pull the chevron down to the centre of the open list. */
  .nav-item-has-children > .nav-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    border-left: none;
    background: transparent;
    transition: color var(--transition);
  }
  .nav-item-has-children > .nav-submenu-toggle:hover { color: var(--color-brand-red); }
  .nav-item-has-children > .nav-submenu-toggle .nav-submenu-caret { font-size: 0.8rem; opacity: 0.85; }

  /* Submenu drawer — indented children, no border-top divider. Sublinks
     mirror the primary-row hover styling at a slightly lighter weight. */
  .nav-submenu {
    display: none;
    position: static;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    margin: 0.15rem 0 0.4rem;
    padding: 0;
    border-top: none;
  }
  .nav-item-has-children.submenu-open .nav-submenu { display: block; }
  .nav-sublink {
    display: block;
    padding: 0.65rem 1rem 0.65rem 2.25rem;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    border-left: none;
    border-radius: 6px;
    transition: background-color var(--transition), color var(--transition);
  }
  .nav-sublink:hover,
  .nav-sublink:focus-visible {
    background: var(--color-bg);
    color: var(--color-brand-red);
  }

  /* CTA pill — full-width prominent button at the end of the drawer. */
  .nav-list > li:has(.nav-link--cta) { border-bottom: none; padding: 1rem 0.25rem 0; }
  .nav-link--cta {
    display: block !important;
    text-align: center;
    padding: 0.95rem 1.5rem !important;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 6px;
  }
  .nav-link--cta::before { display: none !important; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-detail-grid,
  .area-intro-grid,
  .why-us-grid,
  .about-split { grid-template-columns: 1fr; }
  .about-split { gap: 2rem; }
  .about-split-figure { order: -1; }
  .service-aside { position: static; }
  .service-aside-image img { max-width: 480px; margin: 0 auto; }
  .hero { min-height: 480px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---- Blog ---- */
.page-header--blog,
.page-header--post {
  background: var(--color-primary);
  color: #fff;
}
.page-header--post-textonly { background: var(--color-primary); }
.page-header--post .container { color: #fff; }
.page-header--post h1,
.page-header--blog h1 { color: #fff; margin-bottom: 0.5rem; }
/* Post titles can run long — cap them so the hero reads as a tasteful heading,
   not a billboard, and constrain the wrap-width independently of the page
   container so the line-length stays readable on wide viewports. */
.page-header--post h1 {
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
  line-height: 1.2;
  max-width: 56ch;
}
/* (Article meta is rendered in the body above content — see .blog-post-meta.) */

/* Centered 3-up flex so a partial row (e.g. the current 3 posts) fills/centers
   instead of left-anchoring with empty space on wide screens. */
.blog-index { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.blog-index > .blog-card {
  display: flex;
  flex: 1 1 calc((100% - 2 * 1.5rem) / 3);
  min-width: 300px;
  max-width: calc((100% - 2 * 1.5rem) / 3);
}
@media (max-width: 900px) { .blog-index > .blog-card { flex-basis: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); } }
@media (max-width: 600px) { .blog-index > .blog-card { flex-basis: 100%; max-width: 100%; } }
.blog-card { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); }
.blog-card-link { display: flex; flex-direction: column; flex: 1; color: var(--color-text); text-decoration: none; }
.blog-card-img { aspect-ratio: 16 / 9; background: var(--color-bg); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1.25rem 1.25rem 1.5rem; }
.blog-card-body time { font-size: 0.85rem; color: var(--color-text-light); display: block; margin-bottom: 0.4rem; }
.blog-card-body h2,
.blog-card-body h3 { font-size: 1.2rem; line-height: 1.35; margin: 0 0 0.5rem; color: var(--color-primary); }
.blog-card-body p { font-size: 0.95rem; color: var(--color-text); margin: 0 0 0.75rem; }
.blog-card-more { margin-top: auto; font-weight: 600; color: var(--color-primary); font-size: 0.95rem; transition: color var(--transition); }
.blog-card:hover .blog-card-more,
.blog-card:focus-within .blog-card-more {
  color: var(--color-brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.blog-pagination a,
.blog-pagination .blog-pagination-current { display: inline-block; padding: 0.5rem 0.85rem; border-radius: var(--border-radius); border: 1px solid var(--color-border); font-size: 0.95rem; }
.blog-pagination a { color: var(--color-primary); text-decoration: none; }
.blog-pagination a:hover { background: rgba(60, 69, 86, 0.08); border-color: var(--color-primary); }
.blog-pagination .blog-pagination-current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Article body — long-form reading. Generous line-length, tight vertical
   rhythm, strong sectional hierarchy. The container's left/right gutters sit
   at the global container width on desktop; the prose is constrained inside
   that container so the line-length stays in the 65–75ch sweet spot for body
   text without leaving the page feeling stranded on wide viewports. */
.blog-post-section { padding-top: 3rem; padding-bottom: 4rem; }
.blog-post-section .container > .blog-post-meta {
  max-width: 70ch;
  margin: 0 auto 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light, #6e7480);
  font-weight: 600;
}
.blog-post-section .container > .blog-post-meta time {
  color: var(--color-text);
  margin-left: 0.4rem;
}
.blog-post-content { max-width: 70ch; margin: 0 auto; }
/* Constrain the related-posts section to the same reading width so the
   body column and the "More from the blog" cards share a center axis. */
.other-posts .container { max-width: 70ch; }
/* .blog-index's 3-up card sizing is for the full-width index; inside this narrow
   reading column the cards should fill it (stacked) rather than float at 300px. */
.other-posts .blog-index > .blog-card { flex-basis: 100%; max-width: 100%; min-width: 0; }
.blog-post-content > :first-child { margin-top: 0; }
.blog-post-content > :last-child  { margin-bottom: 0; }

.blog-post-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1.1rem;
  color: var(--color-text);
}
.blog-post-content h3 {
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--color-primary);
  margin: 2.5rem 0 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.blog-post-content h3 .fa-solid { font-size: 0.9em; color: var(--color-brand-red); }
.blog-post-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--color-primary);
  margin: 1.75rem 0 0.5rem;
}
.blog-post-content h3 + p,
.blog-post-content h4 + p { margin-top: 0; }
.blog-post-content strong { color: var(--color-text); font-weight: 700; }

/* List items: bold leads followed by " — definition" set tight and hanging
   so the lead phrase scans like a label, not a heading. */
.blog-post-content ul,
.blog-post-content ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.blog-post-content ul li,
.blog-post-content ol li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0 0 0.55rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
}
.blog-post-content ul li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--color-brand-red);
  border-radius: 50%;
}
.blog-post-content ol { counter-reset: ol-counter; }
.blog-post-content ol li {
  counter-increment: ol-counter;
}
.blog-post-content ol li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--color-brand-red);
  width: 1.1rem;
}
.blog-post-content li:last-child { margin-bottom: 0; }

.blog-post-content hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 2.5rem 0;
}
.blog-post-content a {
  color: var(--color-brand-red);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.07em;
}
.blog-post-content a:hover { color: var(--color-brand-red-dark); }
.blog-post-content .fa-solid { color: var(--color-brand-red); margin-right: 0.15rem; }

/* ---- Gallery ---- */
.page-header--gallery { background: var(--color-primary); color: #fff; }
.page-header--gallery h1 { color: #fff; margin-bottom: 0.5rem; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filter-btn {
  background: #fff; border: 1px solid var(--color-border); color: var(--color-primary);
  padding: 0.5rem 1rem; border-radius: var(--border-radius); cursor: pointer;
  font: inherit; font-size: 0.95rem; transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover { background: rgba(60, 69, 86, 0.08); border-color: var(--color-primary); }
.filter-btn.active,
.filter-btn[aria-pressed="true"] { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Centered flex so the trailing row and any filtered subset center rather than
   left-anchoring; items stretch to equal height per row. */
.gallery-grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.gallery-grid > .gallery-item {
  flex: 1 1 calc((100% - 3 * 1rem) / 4);
  min-width: 260px;
  max-width: calc((100% - 3 * 1rem) / 4);
}
@media (max-width: 1024px) { .gallery-grid > .gallery-item { flex-basis: calc((100% - 2 * 1rem) / 3); max-width: calc((100% - 2 * 1rem) / 3); } }
@media (max-width: 720px) { .gallery-grid > .gallery-item { flex-basis: calc((100% - 1rem) / 2); max-width: calc((100% - 1rem) / 2); } }
@media (max-width: 480px) { .gallery-grid > .gallery-item { flex-basis: 100%; max-width: 100%; } }
.gallery-item { display: flex; flex-direction: column; background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
/* The filter (main.js) toggles the `hidden` ATTRIBUTE; the author `display:flex`
   above would otherwise beat the UA [hidden] rule and keep filtered items visible. */
.gallery-item.hidden,
.gallery-item[hidden] { display: none; }
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item-btn {
  display: block; width: 100%; padding: 0; margin: 0; background: none; border: 0; cursor: pointer;
  text-align: left; position: relative;
}
.gallery-item-btn img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item-location {
  margin: 0.85rem 1rem 0.35rem;
  font-size: 1rem; font-weight: 600; color: var(--color-primary);
  letter-spacing: 0.01em;
}
.gallery-item-caption {
  margin: 0 1rem 1rem; font-size: 0.92rem; line-height: 1.5;
  color: var(--color-text-muted, #595959);
}
.gallery-item-btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

/* ---- Gallery outro ---- */
.gallery-outro h2 { margin-bottom: 1.25rem; }
.gallery-outro p { margin-bottom: 1rem; }
.gallery-outro p:last-child { margin-bottom: 0; }

/* ---- Gallery process explainer ---- */
.gallery-process { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.gallery-process .section-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-brand-red); font-weight: 700; margin: 0 0 0.5rem;
}
.gallery-process h2 { margin-top: 0; margin-bottom: 1.5rem; }
.process-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
  max-width: 860px;
}
.process-list li {
  font-size: 1rem; line-height: 1.6; color: var(--color-text);
  padding: 0.15rem 0;
}
.process-list li strong {
  color: var(--color-text); font-weight: 600;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 18, 26, 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
  padding: 2rem;
}
.lightbox[aria-hidden="false"],
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-figure { margin: 0; max-width: 90vw; max-height: 85vh; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.lightbox-figure img { max-width: 100%; max-height: 75vh; object-fit: contain; border-radius: var(--border-radius); background: #000; }
.lightbox-caption { color: #fff; font-size: 0.95rem; text-align: center; max-width: 90vw; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute; background: rgba(42, 49, 61, 0.85); color: #fff;
  border: 0; cursor: pointer; font-size: 2rem; line-height: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--color-primary); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}

/* ---- Contact ---- */
.page-header--contact { background: var(--color-primary); color: #fff; }
.page-header--contact h1 { color: #fff; margin-bottom: 0.5rem; }

/* Lead now lives inside the form column (.contact-form-wrap); the column width
   is the constraint, so NO standalone max-width — a capped width here is exactly
   what left the top-right gap above the contact card. */
.contact-lead { font-size: 1.05rem; line-height: 1.7; margin: 0 0 2rem; color: var(--color-text); }

.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-wrap h2 { margin-bottom: 1rem; }

.contact-form-status {
  background: #F1F4F8; border-left: 4px solid var(--color-primary); color: var(--color-text);
  padding: 0.85rem 1rem; border-radius: var(--border-radius); margin-bottom: 1rem;
  font-size: 0.95rem;
}
.contact-form-status a { color: var(--color-primary); font-weight: 600; }
/* Acknowledgement (sent, or received-pending-delivery): calm green accent. */
.contact-form-status.is-success { background: #EAF4EC; border-left-color: #2E7D32; }
/* Validation / transport error: red accent. Ink stays ≥14:1 on the tint. */
.contact-form-status.is-error   { background: #FBEAEA; border-left-color: #C0392B; }

/* Honeypot — visually removed but present in the DOM for bots to trip on. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form .form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form .form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.contact-form label { font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
.contact-form .required { color: #C0392B; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem;
  /* #767676 keeps the input boundary at ≥4.5:1 on white (WCAG 1.4.11 non-text
     contrast) — the light --color-border is too faint to perceive as a control. */
  padding: 0.65rem 0.75rem; border: 1px solid #767676; border-radius: var(--border-radius);
  background: #fff; color: var(--color-text); transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(60, 69, 86, 0.28); }
/* Placeholder kept at a contrast-compliant grey (≥4.5:1 on white) and opacity:1
   so Firefox doesn't fade it below that. */
.contact-form ::placeholder { color: #6b6b6b; opacity: 1; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .is-invalid { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15); }
.form-error { color: #C0392B; font-size: 0.85rem; margin-top: 0.3rem; }

.contact-info h2 { margin-bottom: 1rem; }
.contact-card {
  background: var(--color-bg); border-radius: var(--border-radius);
  padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.contact-card address { font-style: normal; color: var(--color-text); margin-bottom: 1rem; line-height: 1.5; }
.contact-card-meta { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1rem; margin: 0; }
.contact-card-meta dt { font-weight: 600; color: var(--color-text-light); font-size: 0.9rem; }
.contact-card-meta dd { margin: 0; font-size: 0.95rem; }
.contact-card-meta a { color: var(--color-primary); font-weight: 600; }

.contact-card--rows { background: var(--color-bg-alt); border: 1px solid var(--color-border); padding: 1.5rem 1.5rem 1rem; }
.contact-card--rows h3 { color: var(--color-primary); font-size: 1rem; margin: 0 0 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-border); }
.contact-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-rows li { display: flex; align-items: flex-start; gap: 0.85rem; }
.contact-rows li > div { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.contact-row-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(60, 69, 86, 0.08);
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-top: 0.1rem;
}
.contact-row-label { color: var(--color-text-light); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-row-value { color: var(--color-text); font-size: 0.95rem; line-height: 1.45; }
/* inline-block + a little vertical padding lifts the phone/email links to a
   ≥24px touch height (WCAG 2.5.8) — these are primary contact CTAs, not body text. */
.contact-row-value a { display: inline-block; padding: 0.15rem 0; color: var(--color-primary); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-row-value a:hover { color: var(--color-accent); }

.contact-map { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-map iframe { display: block; width: 100%; }
.contact-map-note { font-size: 0.85rem; color: var(--color-text-light); padding: 0.5rem 0.75rem; margin: 0; background: var(--color-bg); }
.contact-map-note a { color: var(--color-primary); font-weight: 600; }

/* ---- 404 ---- */
.page-header--404 { background: var(--color-primary); color: #fff; }
.page-header--404 h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
/* Helper blurb lives in the page content, directly above the columns it refers to,
   so "…try one of these instead:" reads straight into the list. */
.not-found-lead { font-size: 1.05rem; color: var(--color-text-light); margin: 0 0 2.5rem; }
.page-header-eyebrow { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin: 0 0 0.4rem; }
.not-found-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
/* Link-list column labels (not section titles): restrained uppercase label over a
   structured, divided list — gives the column clear hierarchy and rhythm instead
   of a booming heading floating above loose text. */
.not-found-grid h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin: 0 0 0.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--color-primary);
}
.not-found-list { list-style: none; padding: 0; margin: 0; }
.not-found-list li { border-bottom: 1px solid var(--color-border); }
.not-found-list li:last-child { border-bottom: none; }
.not-found-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.1rem;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}
.not-found-list a::after {
  content: "\2192";
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--transition), transform var(--transition);
}
.not-found-list a:hover { color: var(--color-primary); padding-left: 0.4rem; }
.not-found-list a:hover::after { opacity: 1; transform: translateX(0); }

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, .nav-toggle, .lets-connect,
  .gallery-filters, .lightbox, .blog-pagination,
  .contact-form-status, .contact-form,
  .contact-map, .other-services, .other-areas, .other-posts,
  .area-services { display: none; }
  body { color: #000; background: #fff; font-size: 12pt; line-height: 1.5; }
  .l-content { padding-top: 0; }
  .container { max-width: 100%; padding: 0; }
  .page-header { background: none !important; color: #000 !important; padding: 0 0 1rem; }
  .page-header h1, .page-header p { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]:not([href*="bcfoundations"])::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  img { max-width: 100%; page-break-inside: avoid; }
  h1, h2, h3, h4 { page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
