/* Conthrax (display / headline brand font). Add the LICENSED webfont files to
   /assets/fonts/ (Typodermic Webfont licence — the desktop .otf is NOT valid
   for web use). Until then this src fails silently and headings fall back to
   Chakra Petch via --font-display. */
@font-face {
  font-family: "Conthrax";
  src: url("../fonts/conthrax-semibold.woff2") format("woff2"),
       url("../fonts/conthrax-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   ABA CRANES — Theme design system
   Expressive Design
   --------------------------------------------------------------------------
   1. Tokens (custom properties)
   2. Reset & base
   3. Typography
   4. Layout helpers
   5. Buttons & pills
   6. Header / sticky pill nav
   7. Hero
   8. Sections, cards, sectors
   9. Forms
   10. Tables
   11. Alerts & badges
   12. Footer
   13. Utilities & motifs
   14. Responsive
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Brand */
  --aba-green:        #02CA02;
  --aba-green-dark:   #02A302;
  --logo-green:       #0AE60A;   /* nav logo mark — bright brand green icon */
  --aba-green-muted:  #3AA83E;   /* softer footer button green */
  --aba-red:          #E22C22;
  --aba-red-dark:     #B81f18;

  /* Neutrals */
  --aba-ink:          #0B0B0B;   /* primary dark background */
  --aba-charcoal:     #161616;   /* raised dark surface */
  --aba-charcoal-2:   #1F1F1F;
  --aba-white:        #FFFFFF;
  --aba-off:          #F4F4F4;
  --aba-grey:         #9A9A9A;
  --aba-grey-dark:    #6B6B6B;
  --aba-grey-light:   #EDEDED;

  /* Contextual */
  --aba-bg:           var(--aba-ink);
  --aba-text:         var(--aba-white);
  --aba-muted:        #B7B7B7;
  --aba-line:         rgba(255,255,255,.14);
  --aba-line-strong:  rgba(255,255,255,.28);
  --aba-nav-bg:       rgba(11,11,11,.62);       /* dark glass nav */

  /* Type — new brand system (Figma): Montserrat + Conthrax display.
     --font-display auto-upgrades to Conthrax once a licensed Conthrax webfont
     is dropped into /assets/fonts/; until then it uses Chakra Petch. */
  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Conthrax", "Chakra Petch", "Montserrat", system-ui, sans-serif;
  --font-body:    "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-nav:     "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-section:   clamp(1.4rem, 2.4vw, 1.95rem);   /* consistent section H1/H2 size (base: "A Modern Crane Fleet") */
  --fs-hero:      clamp(1.9rem, 3.6vw, 2.7rem);     /* consistent detail-page hero title size */

  /* Button sizing — one refined scale used everywhere (subtle, Joby-like) */
  --btn-fs: .8rem;
  --btn-py: .68rem;
  --btn-px: 1.5rem;
  --header-h:     104px;   /* approx header height (topbar + nav) */
  --nav-h:        104px;   /* approx nav row height (for hero overlap) */

  /* Fluid type scale */
  --fs-display: clamp(2.75rem, 6vw, 5rem);
  --fs-h1:      clamp(2.25rem, 4.5vw, 3.5rem);
  --fs-h2:      clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3:      clamp(1.35rem, 2vw, 1.75rem);
  --fs-h4:      1.125rem;
  --fs-lead:    clamp(1rem, 1.3vw, 1.15rem);
  --fs-body:    0.9375rem;
  --fs-small:   0.8125rem;
  --fs-eyebrow: 0.8rem;

  /* Spacing */
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-6: 6rem;

  /* Radii */
  --r-pill: 999px;
  --r-card: 16px;
  --r-input: 10px;
  --r-sm: 8px;

  /* Effects */
  --shadow-card: 0 18px 40px rgba(0,0,0,.35);
  --shadow-pill: 0 8px 20px rgba(0,0,0,.25);
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Layout */
  --wrap: 1240px;
  --wrap-wide: 1440px;
  --wrap-nav: 1720px;        /* nav + hero content share this so they align */
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Diagonal motif */
  --skew: 6deg;
}

/* 2. RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }   /* contain the decorative corner bleed (no right-hand gap) */
body {
  margin: 0;
  position: relative;   /* containing block for the clipped corner overlay */
  background: var(--aba-bg);
  color: var(--aba-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }

/* Per-page fixed backdrop (image or video) behind the whole page.
   Loading colour is a deep green (not black/red) so any pre-load flash is on-brand. */
.page-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #0c2807; }
.page-bg__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0c2807; }
.page-bg__overlay { position: absolute; inset: 0; background: #0B0B0B; }
body.has-page-bg { background: #0c2807; }
/* Over a page backdrop, translucent tiles need a darker tint so text stays readable */
body.has-page-bg .team-card,
body.has-page-bg .case-card,
body.has-page-bg .project-card,
body.has-page-bg .vacancy-card,
body.has-page-bg .usp-tile,
body.has-page-bg .case-detail-card,
body.has-page-bg .case-single__facts,
body.has-page-bg .case-single__services {
  background: rgba(11,11,11,.66);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,.14);
}
a { color: var(--aba-green); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--aba-white); }
:focus-visible { outline: 3px solid var(--aba-green); outline-offset: 3px; }
hr { border: 0; border-top: 1px solid var(--aba-line); margin: var(--sp-4) 0; }
::selection { background: var(--aba-green); color: var(--aba-ink); }

/* 3. TYPOGRAPHY ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  color: var(--aba-white);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: .04em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
small { font-size: var(--fs-small); }

.display {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: .005em;
  margin: 0 0 .4em;
}
.lead { font-size: var(--fs-lead); color: var(--aba-muted); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--aba-green);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--aba-red); }
.text-green { color: var(--aba-green); }
.text-muted { color: var(--aba-muted); }

/* 4. LAYOUT ================================================================ */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.wrap--wide { width: min(100% - (var(--gutter) * 2), var(--wrap-wide)); }
.wrap--nav { width: min(100% - (var(--gutter) * 2), var(--wrap-nav)); margin-inline: auto; } /* matches nav width */
.section { padding-block: clamp(3rem, 7vw, var(--sp-6)); }
.section--tight { padding-block: clamp(2rem, 4vw, var(--sp-4)); }
.section--charcoal { background: var(--aba-charcoal); }
.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack > * + * { margin-top: var(--sp-2); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }

/* 5. BUTTONS & PILLS ======================================================= */
.btn {
  --btn-bg: var(--aba-green);
  --btn-fg: var(--aba-ink);
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);       /* Conthrax */
  font-weight: 600; font-size: var(--btn-fs); text-transform: uppercase;
  letter-spacing: .04em; line-height: 1;
  padding: var(--btn-py) var(--btn-px);
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  box-shadow: var(--shadow-pill);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
/* Fruit-machine label roll: the text spins up to an identical copy on hover.
   Caps have no descenders, so the 1em window clips cleanly. Built by JS which
   wraps each button's label in .btn__roll. */
.btn__roll { display: inline-block; overflow: hidden; height: 1em; line-height: 1em; vertical-align: bottom; }
.btn__roll-track { display: flex; flex-direction: column; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.btn__roll-item { height: 1em; line-height: 1em; }
.btn:hover .btn__roll-track,
.btn:focus-visible .btn__roll-track,
.case-card__cta:hover .btn__roll-track,
.case-card__cta:focus-visible .btn__roll-track,
.cases--overlay .case-card:hover .case-card__cta .btn__roll-track { transform: translateY(-1em); }
@media (prefers-reduced-motion: reduce) { .btn__roll-track { transition: none; } .btn:hover .btn__roll-track, .case-card__cta:hover .btn__roll-track { transform: none; } }
.btn .btn__ico {
  display: grid; place-items: center;
  font-size: 1.7em; line-height: 0; flex: 0 0 auto;
  margin-top: -.05em;
}
.btn--green  { --btn-bg: var(--aba-green);       --btn-fg: #08240a; }
.btn--green:hover { --btn-bg: var(--aba-green-dark); }
.btn--green-dark { --btn-bg: var(--aba-green-dark); --btn-fg: #fff; }
.btn--green-dark:hover { --btn-bg: #0f7d0f; }
.btn--dark   { --btn-bg: #141414;                --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: #000; }
/* Dark outline — for use on light sections */
.btn--outline-dark { background: transparent; color: var(--aba-ink); border-color: rgba(0,0,0,.28); box-shadow: none; }
.btn--outline-dark:hover { background: var(--aba-green); color: #fff; border-color: var(--aba-green); }
.btn--muted  { --btn-bg: var(--aba-green-muted);  --btn-fg: #0a220b; }
.btn--red    { --btn-bg: var(--aba-red);          --btn-fg: #fff; }
.btn--red:hover { --btn-bg: var(--aba-red-dark); }
.btn--white  { --btn-bg: var(--aba-white);        --btn-fg: var(--aba-ink); }
.btn--white:hover { --btn-bg: var(--aba-off); }
.btn--ghost  { background: transparent; color: var(--aba-white); border-color: rgba(255,255,255,.7); box-shadow: none; }
.btn--ghost:hover { background: var(--aba-white); color: var(--aba-ink); border-color: var(--aba-white); }
/* Size variants stay within a tight range so nothing overpowers the page */
.btn--sm { padding: .55rem 1.15rem; font-size: calc(var(--btn-fs) - .04rem); }
.btn--lg { padding: .8rem 1.85rem; font-size: calc(var(--btn-fs) + .06rem); }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* Pill used for phone in the nav */
.pill-phone {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--aba-red); color: #fff;
  border-radius: var(--r-pill);
  padding: .7rem 1.2rem; font-family: var(--font-heading); font-weight: 700;
}
.pill-phone:hover { color:#fff; background: var(--aba-red-dark); }

/* 6. HEADER / STICKY LIQUID-GLASS NAV ==================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: clamp(1.4rem, 3vw, 2.5rem) var(--gutter) clamp(.6rem, 1.6vw, 1rem);
  background: transparent;              /* hero image shows through */
}
/* Angled patterned band on the right, behind the glass nav */
.site-header__deco {
  --band-r: 16px;                     /* softened corner size */
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(var(--band-w, 62%), 1100px); z-index: 0; pointer-events: none;
  background-color: var(--aba-green);
  background-repeat: repeat; background-position: center; background-size: auto 100%;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    calc(var(--band-angle, 16%) + 0.414 * var(--band-r)) 100%,
    calc(var(--band-angle, 16%) + 0.219 * var(--band-r)) calc(100% - 0.019 * var(--band-r)),
    calc(var(--band-angle, 16%) + 0.031 * var(--band-r)) calc(100% - 0.076 * var(--band-r)),
    calc(var(--band-angle, 16%) - 0.142 * var(--band-r)) calc(100% - 0.169 * var(--band-r)),
    calc(var(--band-angle, 16%) - 0.293 * var(--band-r)) calc(100% - 0.293 * var(--band-r))
  );
  filter: drop-shadow(0 7px 16px rgba(0,0,0,.3));
}
.site-header.has-band > .nav { position: relative; z-index: 1; }
@media (max-width: 900px) { .site-header__deco { display: none; } }
.topbar {
  position: relative; z-index: 101;
  background: var(--aba-ink);
  color: var(--aba-off);
  font-family: var(--font-display);        /* Conthrax */
  font-size: .72rem;
  text-transform: uppercase;
  text-align: center;
  padding: .5rem var(--gutter);
  letter-spacing: .05em;
}
.topbar a { color: var(--aba-off); }
.topbar a:hover { color: var(--aba-green); }
.topbar .sep { color: var(--aba-grey-dark); margin: 0 .6rem; }

/* Liquid glass */
.nav {
  --nav-fg: #ffffff;                       /* default nav text (over dark hero) */
  display: flex; align-items: center; gap: 1rem;
  max-width: var(--wrap-nav); margin-inline: auto;
  padding: .35rem .8rem .35rem 1.1rem;  /* shorter bar */
  background: var(--aba-nav-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 0;                            /* no edge line (matches design) */
  border-radius: 16px;                  /* squared with soft radius */
  will-change: transform;               /* keep the glass on its own layer */
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav__brand { display: flex; align-items: center; gap: .5rem; margin-right: auto; }
.nav__brand img { height: 26px; width: auto; }
/* Green mark only slightly taller than the wordmark's cap height */
.brand-mark { height: 18px; width: auto; color: var(--aba-green); flex: 0 0 auto; }
/* Logo sits INSIDE the bar (design). The "oversized" option now enlarges the
   logo within the bar (the bar grows to fit) rather than breaking out of it. */
.nav { overflow: visible; }
.nav--logo-big .nav__brand { align-items: center; }
.nav--logo-big .nav__brand img,
.nav--logo-big .nav__brand .brand-mark {
  height: clamp(22px, var(--logo-h, 28px), 38px) !important; width: auto !important;
  margin-block: 0;
}
.nav__logo-text {
  font-family: var(--font-heading); font-style: italic; font-weight: 700;
  font-size: 1.7rem; letter-spacing: .01em; color: var(--nav-fg); text-transform: none;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}

/* Dark nav text — per-page toggle (.header-dark) or auto over light sections (.header-auto-dark) */
/* Over a white/light section the bar turns light grey with black text; it
   flips back to the dark bar automatically when you scroll off the light area. */
.header-dark .nav, .header-auto-dark .nav {
  --nav-fg: #0B0B0B;
  background: rgba(236,236,236,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.header-dark .nav__menu a, .header-auto-dark .nav__menu a { text-shadow: none; }
.header-dark .nav__menu a, .header-dark .nav__logo-text,
.header-auto-dark .nav__menu a, .header-auto-dark .nav__logo-text { text-shadow: none; }
/* Smooth colour change when crossing a light section */
.nav__menu a, .nav__logo-text, .nav__search, .nav-toggle { transition: color .3s var(--ease); }
.nav__menu { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0 0 0 1.5rem; padding: 0; }
/* Keep the brand from ever being crowded by the menu */
.nav__brand { flex: 0 0 auto; }
.nav__menu a {
  font-family: var(--font-nav); font-weight: 400; font-size: .9rem;
  letter-spacing: .01em;
  color: var(--nav-fg); text-transform: none;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.nav__menu a:hover { color: var(--aba-green); }
/* Active/current page = brand green (reads on the dark hero and light pages) */
.nav__menu .current-menu-item > a,
.nav__menu .current_page_item > a,
.nav__menu .current-menu-ancestor > a { color: var(--aba-green); text-shadow: none; }
.nav__search {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; color: var(--nav-fg); background: transparent; border: 0; cursor: pointer;
}
.nav__search:hover { color: var(--aba-green); }

/* Nav CTA buttons — equal depth, larger white text */
.nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav__cta .btn,
.nav__cta .pill-phone {
  height: 36px; padding: 0 1.05rem;
  font-family: var(--font-display);        /* Conthrax */
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #fff;
  display: inline-flex; align-items: center; box-shadow: none;
  border: 0;                               /* no keyline around nav buttons */
}
.nav__cta .btn--muted { background: var(--aba-green); color: #fff; }
.nav__cta .btn--muted:hover { background: var(--aba-green-dark); }
/* White style: dark text (was inheriting the forced white and vanishing) */
.nav__cta .btn--white { background: #fff; color: var(--aba-ink); border-color: rgba(0,0,0,.14); }
.nav__cta .btn--white:hover { background: #e6e6e6; color: var(--aba-ink); }
/* Outline style: adapts to the nav text colour so it stays visible over light OR dark sections */
.nav__cta .btn--ghost { background: transparent; color: var(--nav-fg); border-color: var(--nav-fg); }
.nav__cta .btn--ghost:hover { background: var(--aba-green); color: #fff; border-color: var(--aba-green); }
.nav__cta .btn svg { flex: 0 0 auto; }

/* Never let nav items wrap onto multiple lines */
.nav__logo-text,
.nav__menu a,
.nav__cta .btn,
.pill-phone { white-space: nowrap; }

.nav-toggle { display: none; }

/* Dropdown sub-menu — 2 columns, centre divider line, pale-green glass panel */
.nav__menu .menu-item-has-children { position: relative; }
.nav__menu .menu-item-has-children > a { display: inline-flex; align-items: center; gap: .4rem; }
.nav__menu .menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .25s var(--ease); opacity: .75;
}
.nav__menu .menu-item-has-children:hover > a::after,
.nav__menu .menu-item-has-children:focus-within > a::after { transform: rotate(-135deg); margin-top: 2px; }

.nav__menu .sub-menu {
  list-style: none; margin: 0; padding: 1.15rem 1.5rem;
  /* Open from the parent's left edge and extend to the RIGHT (so it no longer
     covers the menu items on either side), with the left column aligned under
     the selected item. */
  position: absolute; top: calc(100% + 16px); left: 0; right: auto;
  transform: translateX(-1rem) translateY(12px);
  min-width: 480px; max-width: 640px;
  column-count: 2; column-gap: 2.5rem;
  column-rule: 1px solid rgba(255,255,255,.16);          /* the centre line */
  background: rgba(11,11,11,.95);                          /* black glass panel */
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(2,202,2,.3);
  border-radius: 16px;
  box-shadow: 0 26px 56px rgba(11,11,11,.4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 60;
}
.nav__menu .sub-menu::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; } /* hover bridge */
.nav__menu .menu-item-has-children:hover > .sub-menu,
.nav__menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-1rem) translateY(0);
}
.nav__menu .sub-menu li { break-inside: avoid; margin: 0; }
.nav__menu .sub-menu a {
  display: block; padding: .55rem .5rem; font-size: .9rem; font-weight: 500;
  color: #fff; text-shadow: none; white-space: normal; border-radius: 9px;
  transition: color .2s;
}
/* Hover = text only (no coloured pill) */
.nav__menu .sub-menu a:hover { background: transparent; color: var(--aba-green); }
/* Sub-menu items with a further sub-menu: a green, spaced, animated arrow
   (instead of the little line stuck to the word). */
.nav__menu .sub-menu .menu-item-has-children > a { position: relative; display: block; padding-right: 1.6rem; }
.nav__menu .sub-menu .menu-item-has-children > a::after {
  content: "\203A"; position: absolute; right: .5rem; top: 50%;
  width: auto; height: auto; margin: 0; border: 0; transform: translateY(-50%);
  color: var(--aba-green); font-size: 1.2rem; line-height: 1; opacity: .85;
  transition: transform .25s var(--ease), opacity .25s;
  animation: abaSubArrow 1.8s ease-in-out infinite;
}
.nav__menu .sub-menu .menu-item-has-children:hover > a::after,
.nav__menu .sub-menu .menu-item-has-children:focus-within > a::after { opacity: 1; animation: none; transform: translateY(-50%) translateX(4px); }
@keyframes abaSubArrow { 0%, 100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(-50%) translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .nav__menu .sub-menu .menu-item-has-children > a::after { animation: none; } }
/* A dropdown that contains a further (nested) menu becomes a single compact
   column, and the nested menu flies out to the RIGHT of it — so the third level
   no longer drops down over its sibling items. */
.nav__menu .sub-menu:has(.sub-menu) { column-count: 1; column-rule: none; min-width: 240px; max-width: 300px; }
.nav__menu .sub-menu .sub-menu {
  top: -1rem; left: calc(100% + .5rem); right: auto;
  column-count: 1; column-rule: none; min-width: 240px; max-width: 300px;
  transform: translateX(0) translateY(0);
}
.nav__menu .sub-menu .menu-item-has-children:hover > .sub-menu,
.nav__menu .sub-menu .menu-item-has-children:focus-within > .sub-menu { transform: translateX(0) translateY(0); }

/* 7. HERO ================================================================== */
.hero {
  position: relative;
  min-height: clamp(680px, 90vh, 1000px);   /* deeper image area — less cropping */
  display: flex; align-items: flex-end;      /* content sits lower on the page */
  overflow: hidden;
  background: var(--aba-ink);
  margin-top: calc(-1 * var(--nav-h)); /* image runs up behind the glass nav */
}
.hero--short { min-height: clamp(440px, 60vh, 640px); }
.hero--tall  { min-height: clamp(760px, 100vh, 1120px); }
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* Hero background video */
.hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
/* Mobile: the tall crop only shows a narrow vertical slice of the 16:9 video.
   Shift the framing left of centre so the front of the vehicle shows rather than
   the rear/superstructure on the right edge. */
@media (max-width: 768px) {
  .hero__video { object-position: 38% center; }
}
.hero__video--embed { overflow: hidden; pointer-events: none; }
.hero__video--embed iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; border: 0;
}
/* Parallax: transform-based (works with native AND smooth/Lenis scroll).
   The media is oversized so it can translate without revealing edges; JS sets
   the translate on scroll. Falls back to a static cover image if JS is off. */
.hero--parallax .hero__media { top: -25%; height: 150%; will-change: transform; }
/* A background video (the moving sky) provides its own movement — never
   parallax-scale it, so it isn't over-zoomed. */
.hero__video, .hero--parallax .hero__video { top: 0; height: 100%; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero--parallax .hero__media { top: 0; height: 100%; transform: none !important; }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* Long fade to solid page-ink at the bottom so the hero dissolves into the
       (dark) section below with no hard line. */
    linear-gradient(0deg, var(--aba-ink) 0%, var(--aba-ink) 9%, rgba(11,11,11,.5) 26%, rgba(11,11,11,0) 48%),
    linear-gradient(90deg, rgba(11,11,11,.92) 0%, rgba(11,11,11,.6) 42%, rgba(11,11,11,.15) 70%, rgba(11,11,11,0) 100%);
}
/* Green diagonal wedge removed per design. */
.hero__wedge { display: none; }
/* Keep the hero copy above the decorative chevron pattern/light (which is z-index 2). */
.hero__inner { position: relative; z-index: 3; }
/* Uploadable brand/logo overlay — flush to the bottom-right, reaching up to
   just under the nav bar */
.hero__overlay {
  position: absolute; top: var(--nav-h); right: 0; bottom: 0; left: 0;
  z-index: 1; pointer-events: none;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero__overlay img {
  display: block; margin: 0;
  width: auto; height: auto;
  max-width: 60%; max-height: 100%;
  object-fit: contain; object-position: right bottom;
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - (var(--gutter)*2), var(--wrap-nav));
  margin-inline: auto;
  padding-left: 1.5rem;   /* aligns hero content with the logo mark in the nav */
  padding-top: calc(var(--nav-h) + var(--sp-3));
  padding-bottom: clamp(5rem, 15vh, 12rem);   /* lift the heading/copy higher */
}
.hero__content { max-width: 40rem; }
/* Hero heading — smaller than the global display size */
.hero .display { color: #fff; font-size: var(--fs-section); line-height: 1.12; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
/* Hero buttons: smaller, both brand green — left white text, right green text */
.hero__actions { gap: .7rem; align-items: center; flex-wrap: wrap; }
.hero__actions .btn { font-size: .8rem; padding: .95rem .7rem .95rem 1rem; gap: .4rem; box-shadow: none; }
.hero__actions .btn .btn__ico { font-size: 1.35em; }
.hero__actions .btn:first-child { background: var(--aba-green) !important; color: #fff !important; border: 2px solid var(--aba-green) !important; }
.hero__actions .btn:nth-child(2) { background: transparent !important; color: var(--aba-green) !important; border: 2px solid var(--aba-green) !important; }
/* Slide indicator lines under the buttons */
.hero__slides { display: flex; gap: .5rem; margin-top: 1.5rem; }
.hero__slides span { width: 40px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); transition: background .3s var(--ease); }
.hero__slides span.is-active { background: var(--aba-green); }
/* Red line spans the same width as the body copy + buttons below it */
.hero__accent { display: none; }
.hero__lead { color: #EDEDED; font-size: var(--fs-lead); max-width: none; margin-bottom: var(--sp-3); }
/* Buttons stretch to fill the content width (aligned with the copy + red line) */
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--sp-3); }
.hero__actions .btn { flex: 1 1 0; justify-content: center; min-width: 12rem; }

/* 8. SECTIONS / CARDS / SECTORS =========================================== */
.card {
  background: var(--aba-charcoal);
  border: 1px solid var(--aba-line);
  border-radius: var(--r-card);
  padding: var(--sp-3);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--aba-green); }
.card__ico {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(2,202,2,.14); color: var(--aba-green);
  margin-bottom: var(--sp-2);
}
.card h3 { font-size: var(--fs-h4); margin-bottom: .5rem; }
.card p { color: var(--aba-muted); font-size: .95rem; }
.card--cut { clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%); }
.card__link { margin-top: var(--sp-2); display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-heading); font-weight: 700; }

/* Sector tile with image + diagonal label bar */
.sector {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  min-height: 240px; display: flex; align-items: flex-end;
  background: var(--aba-charcoal-2);
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sector__label {
  position: relative; z-index: 1; width: 100%;
  padding: 1rem 1.25rem;
  background: linear-gradient(0deg, rgba(11,11,11,.9), transparent);
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.sector::after { content:""; position:absolute; left:0; bottom:0; z-index:1; width:64px; height:6px; background:var(--aba-green); }

/* Stat / counter strip — background section + glass panel */
.section--stats {
  position: relative;
  min-height: 100vh;                         /* fill the screen */
  display: flex; flex-direction: column; justify-content: center;
  background-size: cover; background-position: center;
  background-attachment: fixed;              /* subtle parallax — bg stays put as the section scrolls */
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
/* background-attachment:fixed is janky on touch devices — turn it off there */
@media (max-width: 900px), (hover: none) { .section--stats { background-attachment: scroll; } }
.section--stats .section__scrim { position: absolute; inset: 0; z-index: 0; background: rgba(11,11,11,.4); }
.section--stats .wrap--nav { position: relative; z-index: 1; }

/* Centred display heading (e.g. "ABA IN NUMBERS") — white, reduced.
   Higher specificity so it beats the shared ".stats__head h2" heading rule. */
.stats__head { text-align: center; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.section--stats .stats__title {
  font-family: var(--font-display); text-transform: uppercase; color: #fff !important;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem) !important; letter-spacing: .02em; margin: 0;
}

/* Semi-transparent rounded panel holding the stats (deep box) */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  text-align: center;
  min-height: clamp(260px, 24vw, 380px);   /* box depth (more shallow) */
  background: rgba(11,11,11,.30);          /* more transparent */
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-card);
  padding: 0 clamp(1rem, 2vw, 2rem);
}
/* Each stat fills the box height; content centred */
.stat {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 clamp(.75rem, 2vw, 1.75rem);
}
/* Solid thin white dividers between stats (with a gap top & bottom) */
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 3rem; bottom: 3rem; width: 1px;
  background: rgba(255,255,255,.32);
}
.stat__label {
  font-family: var(--font-body); font-weight: 300; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.82); font-size: clamp(.72rem, 1vw, .86rem);
  margin-bottom: .8rem;
}
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--aba-green); line-height: 1;
  display: inline-flex; align-items: baseline; justify-content: center; gap: .12em;
}
.stat__suffix { font-size: .38em; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* CTA buttons below the stats panel */
.stats__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }

/* Full-browser-width PNG under the stats panel */
.stats__underlay { position: relative; z-index: 1; margin-top: var(--sp-4); }
.stats__underlay img { display: block; width: 100%; height: auto; }

/* 9. FORMS ================================================================= */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--aba-off); }
input, textarea, select {
  width: 100%; font: inherit; color: var(--aba-white);
  background: var(--aba-charcoal-2);
  border: 1px solid var(--aba-line-strong);
  border-radius: var(--r-input);
  padding: .85rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--aba-grey); }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--aba-green);
  box-shadow: 0 0 0 3px rgba(2,202,2,.25);
}
.field { margin-bottom: var(--sp-2); }
.field--inline { display: flex; gap: .5rem; }

/* Rounded newsletter input (footer) */
.subscribe {
  display: flex; align-items: center; gap: .5rem;
  background: var(--aba-charcoal-2); border: 1px solid var(--aba-line);
  border-radius: var(--r-pill); padding: .4rem .4rem .4rem 1.25rem;
}
.subscribe input { border: 0; background: transparent; box-shadow: none; padding-inline: 0; }
.subscribe input:focus { box-shadow: none; }
.subscribe button {
  flex: 0 0 auto; width: 46px; height: 46px; border: 0; cursor: pointer;
  border-radius: 50%; background: var(--aba-green); color: var(--aba-ink);
  display: grid; place-items: center;
}
.subscribe button:hover { background: var(--aba-green-dark); }

/* 10. TABLES ============================================================== */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; color: var(--aba-muted); padding-bottom: .5rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--aba-line); }
thead th {
  font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .05em;
  font-size: .8rem; color: var(--aba-ink); background: var(--aba-green);
}
tbody tr:hover { background: rgba(255,255,255,.03); }
.table--fleet thead th:first-child { border-top-left-radius: var(--r-sm); }
.table--fleet thead th:last-child  { border-top-right-radius: var(--r-sm); }

/* 11. ALERTS & BADGES ===================================================== */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-heading); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .35rem .7rem; border-radius: var(--r-pill);
  background: rgba(2,202,2,.16); color: var(--aba-green);
}
.badge--red { background: rgba(226,44,34,.16); color: #ff6a60; }
.badge--solid { background: var(--aba-green); color: var(--aba-ink); }

.alert {
  display: flex; gap: .9rem; align-items: flex-start;
  border-radius: var(--r-card); padding: 1rem 1.25rem;
  border-left: 4px solid var(--aba-green);
  background: var(--aba-charcoal);
}
.alert--emergency { border-left-color: var(--aba-red); background: rgba(226,44,34,.08); }
.alert__title { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; margin-bottom: .2rem; }

/* 12. FOOTER ============================================================== */
.site-footer {
  position: relative;
  background: var(--aba-ink);
  padding-top: var(--sp-6);
  overflow: hidden;
}
/* diagonal charcoal wedge in the footer, echoing the design */
.site-footer::before {
  content: ""; position: absolute; z-index: 0; right: 0; top: 0; bottom: 0; width: 46%;
  background: var(--aba-charcoal);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .7;
}
.footer__inner { position: relative; z-index: 1; width: min(100% - (var(--gutter)*2), var(--wrap-wide)); margin-inline: auto; }
.footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: var(--sp-3); }
.footer__brand img { height: 46px; }
.footer__brand .brand-mark { height: 40px; }
.footer__logo-text { font-family: var(--font-heading); font-style: italic; font-weight: 700; font-size: 1.9rem; color:#fff; text-transform:none; }
.footer__grid {
  display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1fr; gap: var(--sp-4);
  padding-block: var(--sp-4);
}
.footer__title {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: .95rem; color: #fff; margin: 0 0 var(--sp-2);
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: .5rem; }
.footer__list a { color: var(--aba-off); }
.footer__list a:hover { color: var(--aba-green); }
.footer__office-label { color: var(--aba-green); font-weight: 600; margin-bottom: .15rem; }
.footer__office { color: var(--aba-off); white-space: pre-line; margin-bottom: var(--sp-2); }
.footer__social { display: flex; gap: .6rem; margin-top: var(--sp-2); }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--aba-green);
  display: grid; place-items: center; color: var(--aba-ink);
}
.footer__social a:hover { background: #fff; }

.footer__cta-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: flex-end; justify-content: space-between; padding-block: var(--sp-4);
}
/* Sign-up form sits on the RIGHT (per Figma) */
.footer__newsletter { flex: 0 1 380px; margin-left: auto; }
/* Credit-account button sits on the LEFT, vertically centred against the form */
.footer__credit { flex: 0 0 auto; align-self: center; text-align: left; }
.footer__credit .btn { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: var(--btn-fs); }
/* Footer buttons — always pushed to the far right, side by side with breathing room */
.footer__buttons { margin-left: auto; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.footer__buttons .btn {
  padding: var(--btn-py) var(--btn-px); font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; font-size: var(--btn-fs);
  box-shadow: none; border: 1px solid rgba(255,255,255,.2);
}
.footer__buttons .btn svg { flex: 0 0 auto; }
.footer__buttons .btn--white { color: var(--aba-ink); }
.footer__buttons .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.footer__buttons .btn--ghost:hover { background: var(--aba-green); border-color: var(--aba-green); color: #fff; }
.footer__bar {
  border-top: 1px solid var(--aba-line);
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3);
  align-items: center; justify-content: space-between;
  padding-block: var(--sp-3);
}
.footer__bar-left { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.footer__bar-left .footer__social { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer__legal a { color: var(--aba-off); font-size: .9rem; }
.footer__reviews { display: flex; align-items: center; gap: .6rem; }
.footer__stars { color: var(--aba-green); letter-spacing: .1em; font-size: 1.1rem; }
.footer__google { display: inline-flex; align-items: center; margin-left: .15rem; }
.footer__copy {
  border-top: 1px solid var(--aba-line);
  padding-block: var(--sp-2);
  color: var(--aba-grey); font-size: .85rem;
}
.to-top {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--aba-line-strong);
  display: grid; place-items: center; color: #fff; background: transparent;
}
.to-top:hover { background: var(--aba-green); color: var(--aba-ink); border-color: var(--aba-green); }

/* 13. UTILITIES & MOTIFS ================================================== */
.cut-tr { clip-path: polygon(0 0, 100% 0, 100% 86%, 90% 100%, 0 100%); }
.cut-bl { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.diagonal-rule { height: 3px; background: var(--aba-red); width: 220px; transform: skewX(-20deg); }
.u-center { text-align: center; }
.u-mt-3 { margin-top: var(--sp-3); }
.u-mb-3 { margin-bottom: var(--sp-3); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 14. RESPONSIVE ========================================================== */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2,1fr); row-gap: 2rem; }
  .stat + .stat::before { display: none; } /* drop vertical separators when wrapped */
}
/* Collapse the horizontal menu to a hamburger before it gets cramped
   (raised to 1300px so the menu never bleeds into the logo at tablet widths). */
@media (max-width: 1300px) {
  .nav { position: relative; }
  .nav__menu, .nav__search { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px;
    border: 0; background: transparent; color: var(--nav-fg); cursor: pointer;
  }
  .nav[data-open="true"] .nav__menu {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + .6rem);
    background: rgba(245,245,245,.96);
    -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 18px; padding: 1.25rem 1.5rem;
    box-shadow: 0 24px 48px rgba(0,0,0,.4);
    /* Cap to the visible viewport and scroll inside, so a long menu's bottom
       items (Careers, Contact) are always reachable on short phone screens —
       the sticky nav meant you couldn't scroll the page to reach them. */
    max-height: calc(100vh - var(--nav-h) - 1.5rem);
    max-height: calc(100dvh - var(--nav-h) - 1.5rem);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  /* Dropdown sits on a light panel — force dark, readable links */
  .nav[data-open="true"] .nav__menu a { font-size: 1.05rem; color: #0B0B0B; text-shadow: none; }
  /* Sub-menus stack inline (no hover dropdown on touch) */
  .nav[data-open="true"] .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; column-count: 1; column-rule: 0; padding: .25rem 0 .5rem .9rem;
    margin: .1rem 0 .4rem; background: transparent; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; border-left: 2px solid rgba(2,202,2,.4);
  }
  .nav[data-open="true"] .sub-menu::before { display: none; }
  .nav[data-open="true"] .sub-menu a { font-size: .98rem; padding: .4rem .2rem; }
  .nav[data-open="true"] .menu-item-has-children > a::after { display: none; }
}
/* Intermediate: slightly tighten the nav so logo + buttons + toggle sit comfortably */
@media (max-width: 1024px) {
  .nav { gap: .55rem; padding-left: .9rem; }
  .nav__logo-text { font-size: 1.35rem; }
  .nav__cta .btn, .nav__cta .pill-phone { font-size: .68rem; padding: 0 .85rem; height: 34px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__buttons { justify-content: flex-start; margin-left: 0; width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  /* Keep only the red (call) button on small screens */
  .nav__cta .btn--green, .nav__cta .btn--ghost, .nav__cta .btn--white, .nav__cta .btn--muted { display: none; }
  .nav__logo-text { font-size: 1.3rem; }
  .hero__scrim { background: linear-gradient(180deg, rgba(11,11,11,.55), rgba(11,11,11,.9)); }
}
/* Very small: phone becomes icon-only to save space */
@media (max-width: 460px) {
  .pill-phone { font-size: 0; gap: 0; padding: 0 .9rem; height: 46px; }
  .pill-phone svg { width: 22px; height: 22px; }
}
/* Small screens: the "Call Now" button (grey pill) + big logo were pushing the
   menu toggle off the right edge, so the hamburger couldn't be tapped. Collapse
   the Call Now button to an icon so the logo, call button and toggle all fit. */
@media (max-width: 560px) {
  .nav__cta .btn--grey { font-size: 0; gap: 0; padding-inline: .85rem; }
  .nav__cta .btn--grey svg { width: 18px; height: 18px; }
}
@media (max-width: 400px) {
  .nav__logo-text { font-size: 1.12rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   15. EXTRA SECTIONS — logo strip, testimonials, media split, FAQ
   ========================================================================== */

/* Logo / accreditation strip */
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.logos img {
  height: 54px; width: auto; opacity: .7;
  filter: grayscale(1) brightness(1.7);
  transition: opacity .2s var(--ease), filter .2s var(--ease);
}
.logos img:hover { opacity: 1; filter: none; }
/* text fallback "logo" chips */
.logos .logo {
  display: grid; place-items: center; padding: .6rem 1.2rem;
  border: 1px solid var(--aba-line); border-radius: 10px;
  font-family: var(--font-heading); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--aba-muted);
}

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.quote {
  position: relative; background: var(--aba-charcoal);
  border: 1px solid var(--aba-line); border-radius: var(--r-card);
  padding: var(--sp-3); overflow: hidden;
}
.quote::before {
  content: "\201C"; position: absolute; top: .1rem; right: 1rem;
  font-family: var(--font-heading); font-size: 4rem; line-height: 1;
  color: rgba(2,202,2,.18);
}
.quote__stars { color: var(--aba-green); letter-spacing: .1em; margin-bottom: .6rem; }
.quote__text { font-size: 1.05rem; position: relative; z-index: 1; }
.quote__cite {
  margin-top: var(--sp-2); font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--aba-muted);
}

/* Image + text split */
.media-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, var(--sp-5)); align-items: center;
}
.media-split__media { position: relative; }
.media-split__media img { width: 100%; border-radius: var(--r-card); }
.media-split__video { width: 100%; border-radius: var(--r-card); display: block; }
.media-split__video--embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.media-split__video--embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-split__media::after {
  content: ""; position: absolute; left: -14px; bottom: -14px;
  width: 72px; height: 72px; background: var(--aba-green); border-radius: 14px; z-index: -1;
}
.media-split--reverse .media-split__media { order: 2; }

/* Split features — stacked USP-style tiles under the copy */
.split-tiles { display: flex; flex-direction: column; gap: .75rem; margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }
.split-tile { display: flex; align-items: flex-start; gap: 1rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--aba-green); border-radius: var(--r-card); padding: 1rem 1.25rem; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.split-tile:hover { border-color: rgba(2,202,2,.5); border-left-color: var(--aba-green); background: rgba(255,255,255,.06); transform: translateX(3px); }
.split-tile__icon { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(2,202,2,.14); color: var(--aba-green); }
.split-tile__body { min-width: 0; }
.split-tile__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: #fff; margin: 0 0 .15rem; }
.split-tile__text { color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.5; margin: 0; }
body.has-page-bg .split-tile { background: rgba(11,11,11,.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Full-bleed variant: media runs off the page edge, full height */
.section:has(.media-split--bleed) { overflow-x: clip; }
.media-split--bleed { width: 100vw; margin-left: calc(50% - 50vw); grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.media-split--bleed .media-split__media { align-self: stretch; }
.media-split--bleed .media-split__media::after { display: none; }
.media-split--bleed .media-split__media img,
.media-split--bleed .media-split__video { width: 100%; height: 100%; min-height: clamp(320px, 40vw, 620px); object-fit: cover; border-radius: 0 var(--r-card) var(--r-card) 0; }
/* Reversed (image on the right, bleeds off the RIGHT) — round the two inner (left) corners */
.media-split--bleed.media-split--reverse .media-split__media img,
.media-split--bleed.media-split--reverse .media-split__video { border-radius: var(--r-card) 0 0 var(--r-card); }
.media-split--bleed .media-split__video--embed { aspect-ratio: auto; height: 100%; }
.media-split--bleed .media-split__body { padding: clamp(2rem, 5vw, 5rem) max(var(--gutter, 1.5rem), 5vw); }
@media (max-width: 820px) {
  .media-split--bleed { grid-template-columns: 1fr; }
  .media-split--bleed .media-split__media img,
  .media-split--bleed .media-split__video { min-height: 260px; }
}
/* "Supporting the community" (bleed + feature tiles): the image was stretching
   to the full height of the copy column — cap it so the box sits closer to the
   height of the text. Centred so it doesn't touch the section edges (which also
   softens the join into the section below). */
@media (min-width: 821px) {
  .media-split--bleed.split-features { align-items: center; }
  .media-split--bleed.split-features .media-split__media { align-self: center; }
  .media-split--bleed.split-features .media-split__media img {
    height: clamp(400px, 48vw, 560px); min-height: 0; max-height: 560px; object-fit: cover;
  }
}

/* FAQ accordion (native <details> / core Details block) */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; align-items: start; }
.faq__item, .wp-block-details.faq__item {
  border: 1px solid var(--aba-line); border-radius: var(--r-input);
  overflow: hidden; background: var(--aba-charcoal);
}
@media (max-width: 720px) { .faq { grid-template-columns: 1fr; } }
.faq__item > summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem;
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: "+"; color: var(--aba-green); font-size: 1.5rem; line-height: 1; }
.faq__item[open] > summary::after { content: "\2013"; }
.faq__item .faq__body, .faq__item > *:not(summary) { padding: 0 1.25rem 1.25rem; color: var(--aba-muted); }

@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .media-split { grid-template-columns: 1fr; }
  .media-split--reverse .media-split__media { order: 0; }
}

/* ==========================================================================
   16. CORE BLOCK MAPPING — make Gutenberg block patterns match the brand
   ========================================================================== */
.wp-block-button__link {
  border-radius: var(--r-pill);
  font-family: var(--font-heading); font-weight: 700;
  padding: .95rem 1.6rem; background: var(--aba-green); color: var(--aba-ink);
  box-shadow: var(--shadow-pill);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff;
}
.wp-block-button.is-style-white .wp-block-button__link { background: #fff; color: var(--aba-ink); }
.wp-block-button.is-style-red .wp-block-button__link { background: var(--aba-red); color: #fff; }
/* Core columns inside a .section already sit inside .wrap via pattern markup */
.section > .wp-block-group.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }

/* ==========================================================================
   17. COOKIE NOTICE — ABA branded
   ========================================================================== */
.aba-cookie {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 200;
  width: min(100% - 2rem, 960px);
}
.aba-cookie[hidden] { display: none; }
.aba-cookie__inner {
  display: flex; align-items: center; gap: 1.25rem;
  background: rgba(14,14,14,.97);
  border: 1px solid var(--aba-line); border-left: 4px solid var(--aba-green);
  border-radius: var(--r-card); padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
}
.aba-cookie__mark { flex: 0 0 auto; display: grid; place-items: center; color: var(--aba-green); }
.aba-cookie__text { margin: 0; flex: 1; color: var(--aba-off); font-size: .9rem; line-height: 1.5; }
.aba-cookie__text a { color: var(--aba-green); text-decoration: underline; }
.aba-cookie__actions { flex: 0 0 auto; display: flex; gap: .5rem; }
.aba-cookie__actions .btn { box-shadow: none; }
@media (max-width: 640px) {
  .aba-cookie__inner { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .aba-cookie__mark { display: none; }
  .aba-cookie__actions { width: 100%; }
  .aba-cookie__actions .btn { flex: 1; justify-content: center; }
}

/* ==========================================================================
   18. FLUID SCROLL-REVEAL
   ========================================================================== */
.reveal { opacity: 0; }
.reveal.is-visible { animation: aba-reveal .7s var(--ease) both; }
@keyframes aba-reveal {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; animation: none !important; }
}

/* ==========================================================================
   19. CATEGORY SLIDER
   ========================================================================== */
.cat-slider { position: relative; overflow: hidden; }
.cat-slider::before,
.cat-slider::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%;
  /* Softer + lower so the green glow no longer washes the top edge / hero
     boundary (it was reading as a hard green line under the header). */
  background: radial-gradient(circle, rgba(2,202,2,.1), transparent 62%);
}
.cat-slider::before { top: 24%; left: -4%; }
/* Bottom fade — blends the slider into the next section (no hard line) */
.cat-slider::after {
  display: block; content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 0; right: 0; bottom: 0; top: auto; width: auto;
  height: clamp(120px, 18vh, 240px); border-radius: 0;
  background: linear-gradient(to bottom, transparent, var(--aba-ink));
}
.cat-slider .wrap--nav { position: relative; z-index: 1; }
/* Optional full background image + adjustable dark overlay (density set inline). */
.cat-slider--has-bg { background-size: cover; background-position: center; }
.cat-slider__bg-scrim { position: absolute; inset: 0; z-index: 0; background: var(--aba-ink); pointer-events: none; }
/* When the slider carries an angled edge, push the flares to bleed all the way
   into the diagonal (top/bottom) instead of fading out before the cut. */
.aba-edge .cat-slider::before { top: -16%; left: -12%; width: 720px; height: 720px; }
.aba-edge .cat-slider::after  { bottom: -20%; right: -12%; width: 720px; height: 720px; }
.aba-edge--top .cat-slider::before,
.aba-edge--both .cat-slider::before { top: 2%; }
.aba-edge--bottom .cat-slider::after,
.aba-edge--both .cat-slider::after { bottom: 2%; }

.cat-slider__top-rule { display: block; height: 1px; background: rgba(255,255,255,.22); margin-bottom: var(--sp-4); }

.cat-slider__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-4);
}
.cat-slider__title {
  font-family: var(--font-display); font-style: normal; font-weight: 600;
  text-transform: uppercase; line-height: 1.05; margin: 0;
  color: rgba(255,255,255,.4);                 /* grey — lights to white in view */
  transition: color .9s ease;
  font-size: var(--fs-section);
}
.cat-slider__title .is-muted { color: inherit; display: block; }  /* whole heading one colour */
.cat-slider.is-lit .cat-slider__title { color: #fff; }
.cat-slider__intro { margin: .9rem 0 0; color: var(--aba-muted); max-width: 38ch; }
.cat-slider__actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* Track */
.cat-slider__viewport { position: relative; }
.cat-slider__track {
  display: flex; gap: 1.25rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: .5rem; scrollbar-width: none;
}
.cat-slider__track::-webkit-scrollbar { display: none; }

/* Card */
.cat-card { flex: 0 0 clamp(300px, 34%, 460px); scroll-snap-align: start; }
.cat-card__title {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .02em; font-size: 1rem; color: #fff; margin: 0 0 .7rem;
}
.cat-card__accent { display: block; height: 0; border-top: 1px dotted rgba(255,255,255,.4); margin: 0 0 1rem; }
.cat-card__media {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4 / 3.2; background: var(--aba-charcoal);
}
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Glass copy panel fills the whole bottom of the card */
.cat-card__overlay {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  display: flex; align-items: center;
  background: rgba(11,11,11,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff;
  padding: .85rem 3.9rem .85rem 1rem;       /* room for the arrow on the right */
  border-radius: 0;
}
.cat-card__overlay-text { margin: 0; font-size: .8rem; line-height: 1.45; color: #fff; }
.cat-card__arrow {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: var(--aba-green); color: #fff; display: grid; place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.cat-card__arrow:hover { background: var(--aba-green-dark); color: #fff; transform: translateY(-50%) scale(1.06); }

/* Arrow "through" animation — on hover the arrow slides out to the right and a
   fresh one sweeps in from the left (used on every arrow button + button chevrons). */
@keyframes abaArrowThrough {
  0%   { transform: translateX(0); }
  42%  { transform: translateX(170%); opacity: 0; }
  43%  { transform: translateX(-170%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
.cat-card__arrow, .fleet-card__arrow, .proc-card__arrow, .sector-row__arrow { overflow: hidden; }
.cat-card__arrow:hover svg,
.fleet-card__arrow:hover svg,
.proc-card__arrow:hover svg,
.sector-row__arrow:hover svg,
.btn:hover .btn__ico,
.btn:focus-visible .btn__ico { animation: abaArrowThrough .55s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .cat-card__arrow:hover svg, .fleet-card__arrow:hover svg, .proc-card__arrow:hover svg,
  .sector-row__arrow:hover svg, .btn:hover .btn__ico, .btn:focus-visible .btn__ico { animation: none; }
}

/* Footer rule + nav */
.cat-slider__foot { display: flex; align-items: center; gap: 1.5rem; margin-top: var(--sp-4); }
/* Scroll-progress track: a green segment slides across as you move through slides */
.cat-slider__foot-rule {
  position: relative; flex: 1; height: 1px; border-radius: 1px;
  background: rgba(255,255,255,.18); overflow: hidden;
}
.cat-slider__foot-rule::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 22%;
  left: calc(var(--cat-progress, 0) * (100% - 22%));
  background: var(--aba-green); border-radius: 1px;
  transition: left .3s var(--ease);
}

/* Nav: two muted-green circles inside a dark-green rounded pill */
.cat-slider__nav {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem; border-radius: 999px;
  background: linear-gradient(90deg, rgba(38,52,25,.55), rgba(60,79,42,.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.cat-nav {
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--aba-green-muted); color: #fff;
  display: grid; place-items: center;
  transition: background .2s var(--ease), opacity .2s var(--ease), transform .2s var(--ease);
}
.cat-nav:hover { background: var(--aba-green); transform: translateY(-1px); }
.cat-nav:disabled { opacity: .4; cursor: default; transform: none; }

@media (max-width: 820px) {
  .cat-slider__head { flex-direction: column; }
  .cat-slider__actions { width: 100%; }
  .cat-card { flex-basis: 76%; }
}
@media (max-width: 520px) {
  .cat-card { flex-basis: 86%; }
  .cat-card__overlay { right: 66px; }
  /* Two CTAs side by side were too narrow — "Get a Quote" was clipping to
     "Get a". Stack them full-width so each label shows in full. */
  .cat-slider__actions { flex-wrap: wrap; }
  .cat-slider__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   20. FLEET GRID — clean light section
   ========================================================================== */
.section--light { background: #ffffff; color: var(--aba-ink); }
.section--light h1, .section--light h3, .section--light h4 { color: var(--aba-ink); }

.fleet-grid__top-rule { display: block; height: 1px; background: #e2e2e2; margin-bottom: var(--sp-4); }
.fleet-grid__title {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; margin: 0 0 var(--sp-3);
  white-space: pre-line;   /* keep the line breaks you type */
}
.fleet-grid__head { position: relative; }
.fleet-grid__head .fleet-grid__title { margin-bottom: 0; max-width: calc(100% - 15rem); }
/* CTA pinned to the top-right space beside the heading */
.fleet-grid__cta { position: absolute; top: .35rem; right: 0; }
.fleet-grid__intro { color: #444; max-width: 92ch; font-size: 1.05rem; margin: var(--sp-3) 0 var(--sp-4); }
@media (max-width: 820px) {
  .fleet-grid__head .fleet-grid__title { max-width: none; }
  .fleet-grid__cta { position: static; display: inline-flex; margin-top: 1.25rem; }
}

.fleet-grid__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.fleet-card {
  position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 1 / 0.95; background: var(--aba-charcoal);
}
/* Desktop/tablet: 2x2. Cap the card height to the viewport so the whole grid +
   header fits inside the (sticky) section — the bottom row never bleeds off and
   gets covered by the next section. Cards become wider/rectangular as a result.
   ~270px is reserved for the section padding + heading + intro. */
@media (min-width: 641px) {
  .fleet-grid.section { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
  .fleet-grid__top-rule { margin-bottom: 1rem; }
  .fleet-grid__intro { margin: .7rem 0 1.1rem; }
  .fleet-card { aspect-ratio: auto; height: clamp(220px, calc((100vh - 210px) / 2), 400px); }
}
.fleet-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: filter .3s var(--ease), transform .4s var(--ease);
}
.fleet-card::after {
  content: ""; position: absolute; inset: 0;
  /* Stronger black fade at the TOP so the title (which sits over the image,
     above the dotted accent line) stays readable over bright skies. */
  background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 14%, rgba(0,0,0,.12) 34%, rgba(0,0,0,0) 50%, rgba(0,0,0,.12) 62%, rgba(0,0,0,.8) 100%);
  transition: background .3s var(--ease);
}
/* Darken on hover so the revealed copy is easy to read */
.fleet-card:hover .fleet-card__img,
.fleet-card:focus-within .fleet-card__img { filter: brightness(.5); }
.fleet-card:hover::after,
.fleet-card:focus-within::after {
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.4) 38%, rgba(0,0,0,.88) 100%);
}
/* Touch devices have no hover, so multi-line titles sit over bright sky and
   can't be read (#10). Darken the image by default and lift the gradient so the
   whole title — not just its first line — stays legible. */
@media (hover: none) {
  .fleet-card .fleet-card__img { filter: brightness(.5); }
  .fleet-card::after {
    background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.35) 72%, rgba(0,0,0,.82) 100%);
  }
}
/* Crane fleet card: small spec tag */
.fleet-card__spec { display: inline-block; align-self: flex-start; margin-bottom: .5rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(2,202,2,.9); color: #08240a; font-family: var(--font-body); font-weight: 700; font-size: .72rem; letter-spacing: .04em; }
/* Services grid: the whole card image is a link */
.services-grid .fleet-card__media-link { position: absolute; inset: 0; z-index: 0; display: block; }
.services-grid .fleet-card::after { pointer-events: none; }
.services-grid .fleet-card__inner { pointer-events: none; }
.services-grid .fleet-card__inner a { pointer-events: auto; }
/* Services page: the services grid is NOT part of the homepage deck (that's
   scoped to the front page), so it no longer needs the tight viewport-fit
   padding. Give it generous top/bottom breathing room (#38) and a soft shadow
   above + below each tile so they lift off the white section (#39). */
.services-grid.section { padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.services-grid .fleet-card {
  box-shadow: 0 16px 34px rgba(11,11,11,.18), 0 -6px 18px rgba(11,11,11,.06);
}
.fleet-card__inner {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.5rem, 2.5vw, 2.25rem); color: #fff;
}
/* Card titles stay white by default (override the light-section heading colour) */
.section--light .fleet-card__title {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin: 0; color: #fff;
  transition: color .25s var(--ease);
}
.fleet-card__accent { display: block; height: 0; border-top: 1px dotted rgba(255,255,255,.5); margin: 1rem 0 0; }
.fleet-card__desc {
  margin: 0; color: #eee; font-size: .92rem; line-height: 1.5; max-width: 34ch;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .3s var(--ease), max-height .35s var(--ease), margin .3s var(--ease);
}
.fleet-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fleet-card__arrow {
  width: 48px; height: 48px; border-radius: 50%; background: var(--aba-green); color: #fff;
  display: grid; place-items: center; flex: 0 0 auto;
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease);
}
.fleet-card__arrow:hover { background: var(--aba-green-dark); color: #fff; }

/* Hover / keyboard-focus reveal */
.fleet-card:hover .fleet-card__title,
.fleet-card:focus-within .fleet-card__title { color: var(--aba-green); }
.fleet-card:hover .fleet-card__desc,
.fleet-card:focus-within .fleet-card__desc { opacity: 1; max-height: 14rem; margin-top: .9rem; }
.fleet-card:hover .fleet-card__arrow,
.fleet-card:focus-within .fleet-card__arrow { opacity: 1; transform: none; }

/* Touch devices (no hover): reveal description + arrow by default */
@media (hover: none) {
  .fleet-card__desc { opacity: 1; max-height: 14rem; margin-top: .9rem; }
  .fleet-card__arrow { opacity: 1; transform: none; }
}
@media (max-width: 1040px) {
  .fleet-grid__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fleet-grid__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   21. INDUSTRIES — stepped alternating grid
   ========================================================================== */
.ind-stepped { position: relative; overflow: hidden; }
.ind-stepped::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -14%; left: -8%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,202,2,.28), transparent 62%);
}
.ind-stepped__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-position: center top; background-repeat: no-repeat; background-size: auto 100%;
  opacity: .55;
}
/* Keep the whole section in a central, narrower column (not full-bleed) */
.ind-stepped .wrap--nav { position: relative; z-index: 1; max-width: 1080px; }

.ind-stepped__head { max-width: 620px; margin-bottom: clamp(2rem, 5vw, 4rem); }
.ind-stepped__title {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; margin: 0; color: #fff;
  white-space: pre-line;
}
.ind-stepped__intro { color: var(--aba-muted); max-width: 42ch; margin: 1.1rem 0 0; }

.ind-stepped__grid { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
/* Each pair: image and text as equal columns, vertically centred and balanced
   either side of the centre rail. */
/* Image and text are equal columns; TOP-aligned so the image top lines up with
   the heading / green arrow of the text beside it (both left- and right-image rows). */
.ind-pair { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 5vw, 4rem); }
.ind-pair--rev .ind-media { order: 2; }   /* image on the right */
.ind-pair--rev .ind-text  { order: 1; }

.ind-media {
  border-radius: 14px; overflow: hidden;
  opacity: 0; transform: translateX(-42px);
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease);
}
.ind-pair--rev .ind-media { transform: translateX(42px); }
.ind-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; display: block; }

.ind-text {
  max-width: none;   /* fill the column so text edges line up with the image edges */
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.1s var(--ease) .18s, transform 1.2s var(--ease) .18s;
}
/* Reveal image + text as the pair scrolls into view */
.ind-pair.is-inview .ind-media, .ind-pair.is-inview .ind-text { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ind-media, .ind-text { opacity: 1 !important; transform: none !important; transition: none; } }
.ind-text__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ind-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem); margin: 0; color: #fff; transition: color .4s var(--ease);
}
.ind-arrow {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--aba-green); color: #fff; display: grid; place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.ind-arrow:hover { background: var(--aba-green-dark); color: #fff; transform: scale(1.06); }
.ind-text__accent { display: block; height: 0; border-top: 2px solid rgba(255,255,255,.22); margin: 1rem 0 0; transition: border-color .4s var(--ease); }
.ind-pair.is-active .ind-text__accent { border-color: var(--aba-green); }
.ind-pair.is-active .ind-title { color: var(--aba-green); }
.ind-text p { color: var(--aba-muted); font-size: .95rem; margin: 1rem 0 1.4rem; }

/* Centre rail with a green dot that scrolls + locks onto each industry */
.ind-stepped__grid { position: relative; }
.ind-rail { position: absolute; left: var(--ind-rail-x, 49%); top: 0; bottom: 0; width: 2px; z-index: 2; pointer-events: none; }
.ind-rail__line { position: absolute; inset: 0; background: rgba(255,255,255,.12); }
.ind-rail__dot {
  position: absolute; left: 50%; top: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--aba-green); box-shadow: 0 0 16px 2px rgba(2,202,2,.75);
  transform: translate(-50%, -50%); transition: top .55s cubic-bezier(.4,.05,.2,1);
}
.ind-node {
  position: absolute; left: var(--ind-rail-x, 49%); width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.55); transform: translate(-50%, -50%); z-index: 2; pointer-events: none;
  transition: opacity .3s ease;
}
.ind-node.is-hidden { opacity: 0; }
@media (max-width: 820px) { .ind-rail, .ind-node { display: none; } }
/* Active industry shows the green arrow; inactive show the "Find Out More" button */
.ind-arrow { display: none; }
.ind-pair.is-active .ind-arrow { display: grid; }
.ind-pair.is-active .ind-text .btn { display: none; }

/* Stepped feel: text sits a little lower than its image on desktop */
@media (min-width: 821px) {
  .ind-text { margin-top: clamp(1rem, 3vw, 3rem); }
}
@media (max-width: 820px) {
  .ind-pair, .ind-pair--rev { flex-direction: column; }
  .ind-media { flex-basis: auto; width: 100%; }
  .ind-text { margin-top: 1.25rem; max-width: none; }
}

/* Supporting copy + centred CTA at the end */
.ind-stepped__foot { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.ind-stepped__foot-text { color: var(--aba-muted); max-width: 48ch; margin: 0 auto 1.5rem; }

/* ==========================================================================
   22. VIDEO BLOCK + POP-UP
   ========================================================================== */
.video-block {
  position: relative; overflow: hidden;
  min-height: clamp(640px, 96vh, 940px);        /* deeper */
  padding: 0;
}
/* Parallax + fade-in media layer (image); the bg video fades in the same way */
.video-block__media {
  position: absolute; inset: -8%; z-index: 0;   /* oversized so parallax has room */
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease; will-change: transform, opacity;
}
.video-block.is-invp .video-block__media,
.video-block.is-invp .video-block__bgvideo { opacity: 1; }
.video-block__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,11,11,.5) 0%, rgba(11,11,11,0) 28%),
    linear-gradient(0deg, rgba(11,11,11,.92) 0%, rgba(11,11,11,.5) 24%, rgba(11,11,11,0) 50%),
    linear-gradient(90deg, rgba(11,11,11,.35) 0%, rgba(11,11,11,0) 55%);
}
.video-block__logo {
  position: absolute; left: -2%; bottom: -4%; z-index: 1;
  width: min(52%, 600px); height: auto; opacity: .14; pointer-events: none;
}
.video-block__inner {
  position: relative; z-index: 2;
  min-height: clamp(640px, 96vh, 940px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
/* Heading in a dark rounded panel that bleeds off the left edge — white, smaller */
.video-block__title {
  position: relative; align-self: flex-start; display: inline-block;
  max-width: 560px; margin: 0; color: #fff !important;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.05rem, 1.9vw, 1.7rem); line-height: 1.16; letter-spacing: .01em; white-space: pre-line;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 0 18px 18px 0;
}
.video-block__title::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 -100vw;
  background: rgba(11,11,11,.62);
  border-radius: 0 18px 18px 0;
}
.video-block__text {
  align-self: flex-end; max-width: 380px; margin: 0; color: #eaeaea;
  font-size: .95rem; line-height: 1.55;
}
.video-block__text::before {
  content: ""; display: block; width: 100%; height: 1px;
  background: rgba(255,255,255,.6); margin-bottom: 1rem;
}
/* Split-text heading builds in letter by letter on scroll */
/* Generic letter-writing reveal (any [data-splittext] heading) */
[data-splittext].is-split { white-space: normal; }
[data-splittext] .vb-word { display: inline-block; white-space: nowrap; }
[data-splittext] .vb-ch { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .45s ease, transform .45s ease; }
[data-splittext].is-writing .vb-ch { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-splittext] .vb-ch { opacity: 1 !important; transform: none !important; } }

/* Centre "Play" pill (design) */
.video-block__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  padding: .7rem 1.6rem; border-radius: 999px;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
  color: #fff; background: rgba(70,70,70,.62); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s var(--ease), transform .2s var(--ease), opacity .2s ease;
}
.video-block__play:hover { background: rgba(95,95,95,.75); transform: translate(-50%, -50%) scale(1.05); }

/* Cursor → play button, this section only (fine pointers) */
@media (pointer: fine) {
  .video-block[data-video-block].has-cursor { cursor: none; }
  .video-block[data-video-block].has-cursor .video-block__inner,
  .video-block[data-video-block].has-cursor .video-block__play { cursor: none; }
  .video-block[data-video-block].has-cursor .video-block__play { opacity: 0; pointer-events: none; }
}
.video-cursor {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 999px;
  background: rgba(70,70,70,.5); color: #fff;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .07em; font-size: .92rem;
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; transform: translate(-50%, -50%) scale(.6); transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
}
/* Slightly transparent when active — subtler, glassier (Fluid Glass feel) */
.video-cursor.is-on { opacity: .9; transform: translate(-50%, -50%) scale(1); animation: abaPlayPulse 2s ease-out infinite; }
.video-cursor__label { line-height: 1; }
.video-cursor svg { width: 15px; height: 15px; }
/* Soft white pulse behind the cursor (was a stronger green) */
@keyframes abaPlayPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.28), 0 12px 34px rgba(0,0,0,.32); }
  70%  { box-shadow: 0 0 0 14px rgba(255,255,255,0), 0 12px 34px rgba(0,0,0,.32); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 12px 34px rgba(0,0,0,.32); }
}
@media (prefers-reduced-motion: reduce) { .video-cursor.is-on { animation: none; } }
/* Static pill (touch/keyboard) also pulses */
.video-block__play { animation: abaPlayPulse 1.8s ease-out infinite; }
.video-play::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(2,202,2,.5); animation: video-pulse 2.2s ease-out infinite;
}
@keyframes video-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }

/* Inline player — fills the section on play */
.video-block__player { position: absolute; inset: 0; z-index: 5; background: #000; }
.video-block__player iframe,
.video-block__player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-block__player video { object-fit: cover; }
.video-block__pclose {
  position: absolute; top: 1rem; right: 1rem; z-index: 6;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.5); color: #fff;
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
}
.video-block__pclose:hover { background: var(--aba-red); border-color: var(--aba-red); }
.video-block.is-playing .video-play { display: none; }

/* Background video (autoplay, muted, loop) sitting behind the content */
.video-block__bgvideo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.video-block__bgvideo--embed { overflow: hidden; pointer-events: none; }
.video-block__bgvideo--embed iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; border: 0;
}
/* Sound on/off toggle */
.video-sound {
  position: absolute; bottom: 1.25rem; right: 1.25rem; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: rgba(11,11,11,.55); border: 1px solid rgba(255,255,255,.4); color: #fff;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.video-sound:hover { background: var(--aba-green); border-color: var(--aba-green); }
.video-sound .video-sound__on { display: none; }
.video-sound[aria-pressed="true"] .video-sound__off { display: none; }
.video-sound[aria-pressed="true"] .video-sound__on { display: block; }

/* Pop-up */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video-modal__dialog { position: relative; z-index: 1; width: min(1000px, 92vw); }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.video-modal__frame iframe,
.video-modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; top: -3rem; right: 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.video-modal__close:hover { background: var(--aba-red); border-color: var(--aba-red); }

@media (max-width: 720px) {
  /* Stack the block naturally and let the Play button sit BETWEEN the heading and
     the body text, instead of an absolute-centred button covering the words. */
  .video-block__inner { min-height: auto; justify-content: flex-start; gap: 1.5rem; }
  .video-block__text { align-self: flex-start; max-width: none; margin-top: 0; }
  .video-block__play { position: static; transform: none; align-self: center; margin: .25rem auto; animation: none; }
  .video-block__play:hover { transform: scale(1.05); }
  .video-modal__close { top: -3.2rem; }
}

/* ==========================================================================
   23. PROCESS / SERVICES CARDS — green-glow cards
   ========================================================================== */
.proc-section { position: relative; overflow: hidden; }
.proc-section::before, .proc-section::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 620px; height: 460px; border-radius: 50%; bottom: -22%;
  background: radial-gradient(ellipse at center, rgba(2,202,2,.22), transparent 64%);
}
.proc-section::before { left: -8%; }
.proc-section::after  { right: -8%; }
.proc-section .wrap--nav { position: relative; z-index: 1; }

/* Eyebrow with a short line above it */
.proc-section__eyebrow {
  position: relative; display: inline-block; padding-top: .9rem; margin-bottom: 1rem;
  font-family: var(--font-heading); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .75rem; color: #fff;
}
.proc-section__eyebrow::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 1px; background: rgba(255,255,255,.55); }

.proc-section__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.proc-section__title {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.08; margin: 0; color: #fff;
  max-width: 640px; white-space: pre-line;
}
.proc-section__cta { flex: 0 0 auto; }
.proc-section__intro { color: var(--aba-muted); max-width: 46ch; margin: 1.25rem 0 clamp(2rem, 4vw, 3rem); }

.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.proc-card {
  position: relative; overflow: hidden; min-height: 232px;
  background: rgba(18,18,18,.42);            /* semi-transparent — pattern shows through */
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: clamp(1.4rem, 2.2vw, 1.9rem);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.proc-card:hover { border-color: rgba(2,202,2,.55); transform: translateY(-3px); }
/* Green glow — subtle by default, stronger on hover */
.proc-card__glow {
  position: absolute; z-index: 0; left: 50%; bottom: -45%; transform: translateX(-50%);
  width: 130%; height: 90%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(2,202,2,.45), transparent 62%);
  opacity: .32; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.proc-card:hover .proc-card__glow { opacity: .95; transform: translateX(-50%) scale(1.14); }
.proc-card > *:not(.proc-card__glow) { position: relative; z-index: 1; }

.proc-card__head { display: flex; align-items: flex-start; justify-content: space-between; }
.proc-card__num {
  font-family: var(--font-heading); font-weight: 700; line-height: 1;
  font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--aba-green); letter-spacing: .02em;
}
.proc-card__arrow {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--aba-green); color: #fff; display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.proc-card__arrow svg { transition: transform .3s var(--ease); }
.proc-card:hover .proc-card__arrow { background: var(--aba-green-dark); }
.proc-card:hover .proc-card__arrow svg { transform: rotate(90deg); } /* right → down */

.proc-card__accent { position: relative; display: block; height: 0; border-top: 1px dotted rgba(255,255,255,.28); margin: 1.1rem 0; }
/* Short green segment by default; on hover it "rubs" all the way to the end. */
.proc-card__accent::before { content: ""; position: absolute; top: 0; left: 0; width: 2.75rem; border-top: 1px solid var(--aba-green); transition: width .5s var(--ease); }
.proc-card:hover .proc-card__accent::before, .proc-card:focus-within .proc-card__accent::before { width: 100%; }

.proc-card__title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; font-size: 1.05rem; color: #fff; margin: 0; }
/* Copy always visible */
.proc-card__desc {
  margin: .8rem 0 0; color: var(--aba-muted); font-size: .85rem; line-height: 1.5; max-width: 34ch;
}
@media (max-width: 900px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .proc-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   24. ACCREDITATIONS — light logo slider (reuses carousel arrows + bar)
   ========================================================================== */
.accred__head { margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 620px; }
/* Eyebrow with a thin black line above it */
.accred__eyebrow {
  position: relative; display: inline-block; padding-top: .9rem; margin-bottom: 1rem;
  font-family: var(--font-heading); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .75rem; color: var(--aba-ink);
}
.accred__eyebrow::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 1px; background: rgba(0,0,0,.6); }
.accred__title {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; margin: 0;
}
.accred__intro { color: #555; margin: .9rem 0 0; }

/* Spread the logos across the full width (packs + scrolls when there are many) */
.accred-slider .cat-slider__track { justify-content: space-between; gap: clamp(1rem, 2.5vw, 2.5rem); }
/* Pale-grey pill behind the two green arrow buttons on the light section */
.section--light .cat-slider__nav { background: #ececec; box-shadow: none; }

.accred-tile {
  flex: 0 0 auto; width: clamp(190px, 18vw, 270px); scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center; height: 200px; overflow: hidden;
  background: #fff; border: 1px solid #e6e6e6; border-radius: 16px; padding: 1.5rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), opacity .55s var(--ease), transform .65s var(--ease);
}
a.accred-tile:hover { border-color: var(--aba-green); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
/* Logos sit dead-centre (vertically + horizontally) inside the tile. */
.accred-tile img { max-width: 86%; max-height: 70%; width: auto; height: auto; margin: auto; object-fit: contain; }
.accred-tile__name { margin: auto; }
/* Header is black on the white section (per Figma), not green */
.accred .accred__title { color: var(--aba-ink) !important; }

/* Logos fade + rise in, staggered, as the section scrolls into view */
.accred-tile { opacity: 0; transform: translateY(26px); }
.accred-slider.is-in .accred-tile { opacity: 1; transform: none; }
.accred-slider.is-in .accred-tile:nth-child(1) { transition-delay: .04s; }
.accred-slider.is-in .accred-tile:nth-child(2) { transition-delay: .11s; }
.accred-slider.is-in .accred-tile:nth-child(3) { transition-delay: .18s; }
.accred-slider.is-in .accred-tile:nth-child(4) { transition-delay: .25s; }
.accred-slider.is-in .accred-tile:nth-child(5) { transition-delay: .32s; }
.accred-slider.is-in .accred-tile:nth-child(6) { transition-delay: .39s; }
.accred-slider.is-in .accred-tile:nth-child(7) { transition-delay: .46s; }
.accred-slider.is-in .accred-tile:nth-child(8) { transition-delay: .53s; }
@media (prefers-reduced-motion: reduce) { .accred-tile { opacity: 1 !important; transform: none !important; transition: none; } }
.accred-tile__name {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: #666; text-align: center; font-size: 1.05rem;
}

/* On the white section, the progress track needs a dark tint (green segment stays) */
.section--light .cat-slider__foot-rule { background: rgba(0,0,0,.12); }

/* ==========================================================================
   25. WHY CHOOSE US — clickable tabs swap image + description
   ========================================================================== */
.why { position: relative; overflow: hidden; background: #000; }
/* Background flares off for now (black) — the artwork comes later. */
.why::before, .why::after { display: none !important; }
/* Any wrapper the section sits in stays black too */
.aba-scheme .why, .aba-fill .why { background: #000; }
/* Green flare + depth */
.why::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -10%; top: -18%; width: 680px; height: 560px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2,202,2,.32), transparent 60%);
  filter: blur(6px);
}
.why::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: -10%; bottom: -22%; width: 620px; height: 520px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2,202,2,.26), transparent 62%);
  filter: blur(6px);
}
.why .wrap--nav { position: relative; z-index: 1; width: 100%; max-width: var(--wrap, 1240px); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }

.why__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.why__title {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.08; margin: 0; color: #fff;
  white-space: pre-line;
}
.why__actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* Desktop: three balanced columns — tab list (left), image (centre), text (right).
   This keeps the section shorter than the old stacked layout. */
.why__body {
  display: grid; grid-template-columns: minmax(190px, .8fr) minmax(0, 1.35fr) minmax(210px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.why__right { display: contents; }
.why__left { display: flex; flex-direction: column; order: 1; }
.why__intro { color: var(--aba-muted); max-width: 38ch; margin: 0 0 clamp(1.25rem, 3vw, 2rem); }

/* Tab list with a vertical line; the active item lights a GREEN line segment */
.why__tabs { position: relative; margin-top: auto; }
.why__tabs::before { content: ""; position: absolute; left: 0; top: .5rem; bottom: .5rem; border-left: 2px solid rgba(255,255,255,.14); }
.why__tab {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  border: 0; background: none; padding: .5rem 0 .5rem 1.4rem;
  font-family: var(--font-body); font-weight: 400; font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255,255,255,.42); transition: color .25s var(--ease);
}
.why__tab:hover { color: rgba(255,255,255,.8); }
.why__tab.is-active { color: #fff; }
.why__tab::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 2px; border-radius: 1px; background: transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.why__tab.is-active::before { background: var(--aba-green); box-shadow: 0 0 6px rgba(2,202,2,.45); }

/* Image sits in the centre column; text (description) on the right */
/* Bottom-align the image with the title list so it lines up with the last row
   ("Personal Service") instead of floating centred. */
.why__media { order: 2; margin: 0; border-radius: 16px; overflow: hidden; align-self: end; }
.why__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; will-change: opacity, transform; transition: opacity .4s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.why__desc { order: 3; max-width: none; margin: 0; }
.why__desc::before { display: none; }
.why__desc p { margin: 0; color: #f0f0f0; font-size: 1rem; line-height: 1.55; max-width: 40ch; transition: opacity .35s ease; }
.why__desc::after { content: ""; display: block; width: 100%; height: 1px; background: var(--aba-green); margin-top: 1rem; }
/* Slightly smaller main header for this section */
.why .why__title { font-size: clamp(1.35rem, 2.2vw, 1.7rem) !important; }

@media (max-width: 860px) {
  .why__body { grid-template-columns: 1fr; }
  .why__media { order: 1; }
  .why__desc { order: 2; margin-left: 0; max-width: none; }
  .why__left { order: 3; }
}

/* ==========================================================================
   26. SINGLE CONTENT — centred CTA on a CSS green background
   ========================================================================== */
.single-cta {
  position: relative; overflow: hidden; text-align: center;
  min-height: 100vh;                                  /* fill the screen */
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  /* Dark depth background (crane image usually sits on top). The top edge is
     kept near-black and the glow pulled down a touch so the section fades in
     from the (dark) section above instead of showing a hard lighter line. */
  background:
    linear-gradient(180deg, var(--aba-ink) 0%, rgba(11,11,11,0) 18%),
    radial-gradient(130% 120% at 50% 24%, #1e1e1e 0%, #101010 60%, #0a0a0a 100%);
  background-size: cover; background-position: center;
  color: #fff;
}
/* Dark scrim over the background image (opacity set inline) */
.single-cta__tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,.45) 0%, rgba(11,11,11,.72) 100%);
}
/* Subtle dotted texture */
.single-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
  background-size: 7px 7px;
}
/* Soft darkening toward the bottom for depth */
.single-cta::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(11,40,11,.28) 100%);
}
/* Transparent logo layer, bleeding off the left */
.single-cta__logo {
  position: absolute; z-index: 2; left: -6%; top: 50%; transform: translateY(-50%);
  height: 150%; width: auto; max-width: none; opacity: .5; pointer-events: none;
  mix-blend-mode: multiply;   /* darker green arrow, bleeds off top & bottom */
}
.single-cta__inner { position: relative; z-index: 3; }

.single-cta__eyebrow {
  position: relative; display: inline-block; padding-top: 1.1rem; margin-bottom: 1.5rem;
  font-family: var(--font-heading); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .75rem; color: #fff;
}
.single-cta__eyebrow::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2.5rem; height: 1px; background: rgba(255,255,255,.6); }
.single-cta__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.12; margin: 0 auto 1.1rem;
  color: #fff; white-space: pre-line;
}
.single-cta__text { color: rgba(255,255,255,.85); font-size: var(--fs-body); max-width: 52ch; margin: 0 auto 2.2rem; }
.single-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* Buttons: solid green + green outline (matches the design) */
.single-cta .btn--ghost { background: transparent; color: var(--aba-green); border: 2px solid var(--aba-green); }
.single-cta .btn--ghost:hover { background: var(--aba-green); color: #08240a; }

/* ==========================================================================
   27. CONTACT — details + form + map
   ========================================================================== */
/* Background image + gradient overlay */
.contact { position: relative; overflow: hidden; }
.contact__overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,11,1) 0%, rgba(11,11,11,.55) 45%, rgba(11,11,11,1) 100%);
}
.contact__wrap { position: relative; z-index: 1; }

.contact__title { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.04; margin: 0 0 .75rem; color: #fff; }
.contact__intro { color: var(--aba-muted); max-width: 52ch; margin: 0 0 clamp(2rem, 4vw, 3rem); }

.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__col { display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2rem); }

/* Emergency box under the form */
.contact__emergency {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: rgba(226,44,34,.08); border: 1px solid rgba(226,44,34,.35);
  border-radius: var(--r-card); padding: 1.25rem 1.5rem;
}
.contact__emergency-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(226,44,34,.16); color: var(--aba-red); display: grid; place-items: center; }
.contact__emergency-body { flex: 1; min-width: 180px; }
.contact__emergency-body h3 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; margin: 0 0 .2rem; color: #fff; }
.contact__emergency-body p { margin: 0; color: var(--aba-muted); font-size: .92rem; }

/* What happens next */
.contact__next h3 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; margin: 0 0 .4rem; color: #fff; }
.contact__next .steps { margin-top: 1rem; }
.contact-detail { margin-bottom: 1.4rem; }
.contact-detail span {
  display: block; color: var(--aba-green);
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; font-size: .78rem; margin-bottom: .3rem;
}
.contact-detail p { margin: 0; color: var(--aba-off); white-space: pre-line; line-height: 1.55; }
.contact-detail a { color: var(--aba-off); }
.contact-detail a:hover { color: var(--aba-green); }

/* Semi-transparent glass panels (form + details/next) */
.contact__form,
.contact__panel {
  background: rgba(18,18,18,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact__panel { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.aba-hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Aside: phone + map + details */
.contact__aside { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__phone {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: #fff; text-decoration: none;
}
.contact__phone svg { color: var(--aba-green); flex: 0 0 auto; }
.contact__phone:hover { color: var(--aba-green); }

/* Map (compact, sits in the aside) */
.contact-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--aba-line); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Full-width map that runs under both columns */
.contact-map--full { aspect-ratio: auto; height: clamp(300px, 36vw, 420px); margin-top: clamp(2.5rem, 5vw, 4rem) !important; }

@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ---------- Brochure download (gated) ---------- */
.brochure__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.brochure--rev .brochure__grid { grid-template-columns: 1.1fr 0.9fr; }
.brochure--rev .brochure__media { order: 2; }
.brochure__media { position: relative; display: flex; justify-content: center; }
.brochure__mockup {
  max-width: 100%; height: auto; border-radius: 8px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
  transform: perspective(1200px) rotateY(6deg); transition: transform .5s ease;
}
.brochure--rev .brochure__mockup { transform: perspective(1200px) rotateY(-6deg); }
.brochure__media:hover .brochure__mockup { transform: perspective(1200px) rotateY(0deg) scale(1.02); }
.brochure__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  width: 100%; aspect-ratio: 3 / 4; max-width: 340px;
  border: 2px dashed rgba(255,255,255,.25); border-radius: 10px;
  color: rgba(255,255,255,.55); text-align: center; padding: 1.5rem;
}
.brochure__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.08; color: #fff; margin: .35rem 0 1rem; }
.brochure__intro { color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 1.5rem; }
.brochure__points { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .6rem; }
.brochure__points li { display: flex; align-items: flex-start; gap: .65rem; color: rgba(255,255,255,.9); font-weight: 500; }
.brochure__points svg { color: var(--aba-green); flex: 0 0 auto; margin-top: .1rem; }
.brochure__form { gap: 1rem; }
.brochure__form-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: #fff; margin: 0; }
.brochure__form .contact-form--lead { display: grid; gap: .9rem; }
.brochure__form .contact-form--lead .btn { margin-top: .25rem; justify-self: start; width: auto; }
.brochure__privacy { font-size: .8rem; color: rgba(255,255,255,.55); margin: 0; }
@media (max-width: 820px) {
  .brochure__grid, .brochure--rev .brochure__grid { grid-template-columns: 1fr; }
  .brochure--rev .brochure__media { order: 0; }
  .brochure__media { max-width: 320px; margin: 0 auto; }
}

/* ---------- Brochure thank-you (confirmation + download) ---------- */
.brochure-ty__inner { display: grid; grid-template-columns: 0.8fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1040px; margin: 0 auto; }
.brochure-ty__inner:not(:has(.brochure-ty__media)) { grid-template-columns: 1fr; max-width: 720px; text-align: center; }
.brochure-ty__media { max-width: 360px; justify-self: center; }
.brochure-ty__mockup { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.brochure-ty__tick { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(2,202,2,.14); color: var(--aba-green); margin-bottom: 1.1rem; }
.brochure-ty__inner:not(:has(.brochure-ty__media)) .brochure-ty__tick { margin-inline: auto; }
.brochure-ty__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; color: #fff; margin: .4rem 0 1rem; }
.brochure-ty__text { color: rgba(255,255,255,.82); max-width: 54ch; margin: 0 0 1.6rem; }
.brochure-ty__inner:not(:has(.brochure-ty__media)) .brochure-ty__text { margin-inline: auto; }
.brochure-ty__actions { margin: 0 0 .7rem; }
.brochure-ty__actions .btn { display: inline-flex; align-items: center; gap: .6rem; }
.brochure-ty__dl-ico { display: inline-flex; }
.brochure-ty__note { font-size: .85rem; color: rgba(255,255,255,.55); margin: 0 0 1.2rem; }
.brochure-ty__note--setup { color: var(--aba-green); }
.brochure-ty__back a { color: var(--aba-green); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.brochure-ty__back a:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .brochure-ty__inner { grid-template-columns: 1fr; text-align: center; max-width: 560px; }
  .brochure-ty__tick { margin-inline: auto; }
  .brochure-ty__text { margin-inline: auto; }
  .brochure-ty__media { order: -1; max-width: 280px; }
}

/* ---------- Case studies (dual-filter grid) ---------- */
.cases__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; color: var(--aba-green); margin: .4rem 0 1rem; }
.cases__intro { color: rgba(255,255,255,.8); max-width: 60ch; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.cases__filters-hint { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0 0 1rem; }
.cases__filters { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.cases__filter-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cases__filter-label { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aba-green); min-width: 132px; }
.cases__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.cases__chip {
  cursor: pointer; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.82); font-family: var(--font-body); font-size: .88rem; font-weight: 500;
  padding: .45rem .95rem; border-radius: 999px; transition: background .2s, color .2s, border-color .2s;
}
.cases__all { align-self: flex-start; }
.cases__chip:hover { border-color: var(--aba-green); color: #fff; }
.cases__chip.is-active { background: var(--aba-green); border-color: var(--aba-green); color: #0B0B0B; font-weight: 600; }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.case-card { display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.case-card:hover { transform: translateY(-4px); border-color: rgba(2,202,2,.5); box-shadow: 0 24px 48px rgba(0,0,0,.45); }
.case-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-card__body { display: flex; flex-direction: column; gap: .55rem; padding: clamp(1.1rem, 2vw, 1.5rem); }
.case-card__meta { font-family: var(--font-body); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aba-green); margin: 0; }
.case-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff; margin: 0; }
.case-card__summary { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }
.case-card__cta { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; font-weight: 600; color: #fff; text-decoration: none; align-self: flex-start; }
.case-card__cta:hover { color: var(--aba-green); }
.case-card__cta .btn__ico { transition: transform .2s ease; }
.case-card__cta:hover .btn__ico { transform: translateX(3px); }
.cases__empty { color: rgba(255,255,255,.7); margin-top: 1.5rem; }
@media (max-width: 900px) { .cases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cases__grid { grid-template-columns: 1fr; } .cases__filter-label { min-width: 0; width: 100%; } }

/* ==========================================================================
   Case studies — OVERLAY card style (Section Designer → Card style = Overlay).
   Title + green "View Project" sit on the photo; sector/location/service meta
   and the summary reveal on hover. 2-up grid.
   ========================================================================== */
/* 3-up grid of overlay cards. */
.cases--overlay .cases__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2vw, 1.6rem); }
.cases--overlay .case-card {
  position: relative; display: block; aspect-ratio: 4 / 3.7;
  border: 0; background: #0b0b0b; overflow: hidden; border-radius: var(--r-card);
}
/* The image link fills the whole card, so clicking anywhere on the tile (not
   just the button) navigates. The overlay content is visual-only. */
.cases--overlay .case-card__media { position: absolute; inset: 0; z-index: 1; aspect-ratio: auto; height: 100%; }
.cases--overlay .case-card__media img { width: 100%; height: 100%; }
.cases--overlay .case-card__body { pointer-events: none; }
/* Content sits over the photo: title top-left, View Project bottom-left, with
   the sector/location meta + summary revealing on hover under the title. */
.cases--overlay .case-card__body {
  position: absolute; inset: 0; z-index: 1; justify-content: flex-start; gap: .5rem;
  padding: clamp(1.15rem, 2vw, 1.6rem);
  background: linear-gradient(180deg, rgba(11,11,11,.78) 0%, rgba(11,11,11,.42) 22%, rgba(11,11,11,.12) 44%, rgba(11,11,11,.45) 72%, rgba(11,11,11,.85) 100%);
  transition: background .35s ease;
}
/* Near-solid dark wash on hover so the revealed meta + summary read clearly. */
.cases--overlay .case-card:hover .case-card__body {
  background: rgba(6,6,6,.9);
}
/* Title top (Conthrax display face); details after it; CTA pushed to the bottom. */
.cases--overlay .case-card__title {
  order: 1; font-family: var(--font-display); font-weight: 600; letter-spacing: .01em;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
}
/* Keyline beneath the title. */
.cases--overlay .case-card__title::after {
  content: ""; display: block; height: 1px; margin: .7rem 0 .1rem;
  background: rgba(255,255,255,.28);
}
.cases--overlay .case-card:hover .case-card__title::after { background: rgba(2,202,2,.55); }
.cases--overlay .case-card__meta { order: 2; }
.cases--overlay .case-card__summary { order: 3; }
.cases--overlay .case-card__cta { order: 4; margin-top: auto; }
/* Force legible colours even on light-scheme pages (photo overlay is dark). */
.cases--overlay .case-card__title,
.aba-scheme--light .cases--overlay .case-card__title { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.cases--overlay .case-card:hover .case-card__title,
.aba-scheme--light .cases--overlay .case-card:hover .case-card__title { color: var(--aba-green); }
.cases--overlay .case-card__meta,
.aba-scheme--light .cases--overlay .case-card__meta { color: var(--aba-green); }
.cases--overlay .case-card__summary,
.aba-scheme--light .cases--overlay .case-card__summary { color: rgba(255,255,255,.9); }
/* Meta + summary hidden until hover, then slide/fade in. */
.cases--overlay .case-card__meta,
.cases--overlay .case-card__summary {
  max-height: 0; opacity: 0; overflow: hidden; margin: 0;
  transition: max-height .4s ease, opacity .35s ease;
}
.cases--overlay .case-card:hover .case-card__meta { max-height: 2.4rem; opacity: 1; }
.cases--overlay .case-card:hover .case-card__summary { max-height: 9rem; opacity: 1; }
/* "View Project" — pill button with a white keyline; text styled like every
   other site button (Conthrax/display, uppercase, tracked). */
.cases--overlay .case-card__cta {
  align-self: flex-start; background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.85);
  padding: var(--btn-py) var(--btn-px); border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: var(--btn-fs);
}
.cases--overlay .case-card__cta:hover { background: var(--aba-green); border-color: var(--aba-green); color: #08240a; }
/* Chevron spins on hover. */
.cases--overlay .case-card__cta .btn__ico { color: inherit; display: inline-block; transition: transform .5s var(--ease); }
.cases--overlay .case-card:hover .case-card__cta .btn__ico { transform: rotate(360deg); }

/* Green circle arrow, bottom-right — hidden by default, fades in on hover. */
.case-card__arrow { display: none; }
.cases--overlay .case-card__arrow {
  display: grid; place-items: center; position: absolute; z-index: 2;
  right: clamp(1.15rem, 2vw, 1.6rem); bottom: clamp(1.15rem, 2vw, 1.6rem);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--aba-green); color: #08240a;
  opacity: 0; transform: scale(.8); transition: opacity .3s var(--ease), transform .55s var(--ease), background .2s var(--ease);
}
/* Circle spins in on hover. */
.cases--overlay .case-card:hover .case-card__arrow { opacity: 1; transform: scale(1) rotate(360deg); }

/* Filters: one tidy row of chips, no "Filter by …" labels or hint line. */
.cases--overlay .cases__filters-hint { display: none; }
.cases--overlay .cases__filters { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; }
.cases--overlay .cases__filter-row { border: 0; padding: 0; margin: 0; gap: .55rem; }
.cases--overlay .cases__filter-label { display: none; }

@media (max-width: 1000px) { .cases--overlay .cases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .cases--overlay .cases__grid { grid-template-columns: 1fr; } }

/* ---------- Projects gallery (by project + sidebar filters) ---------- */
.projects__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; color: #fff; margin: .4rem 0 1rem; }
.projects__intro { color: rgba(255,255,255,.8); max-width: 70ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.projects__layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; }
.projects__filters { position: sticky; top: calc(var(--nav-h) + 1rem); display: flex; flex-direction: column; gap: .7rem; }
.projects__all, .projects__group-head, .projects__opt {
  font-family: var(--font-body); cursor: pointer; text-align: left;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff;
  border-radius: 999px; padding: .7rem 1.25rem; transition: background .2s, border-color .2s, color .2s;
}
.projects__all { font-weight: 600; }
.projects__all.is-active { background: #fff; color: #0B0B0B; border-color: #fff; }
.projects__group { display: flex; flex-direction: column; }
.projects__group-head { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.projects__group-name { flex: 0 0 auto; }
.projects__group-val { flex: 1; text-align: right; font-size: .82rem; font-weight: 500; color: var(--aba-green); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.projects__chev { flex: 0 0 auto; transition: transform .25s var(--ease); }
.projects__group.is-open .projects__chev { transform: rotate(180deg); }
.projects__group.is-filtered .projects__group-head { border-color: var(--aba-green); }
.projects__group-body { display: none; flex-direction: column; gap: .3rem; padding: .5rem .3rem .2rem; }
.projects__group.is-open .projects__group-body { display: flex; }
.projects__opt { border-radius: 10px; border-color: transparent; background: transparent; padding: .5rem .9rem; font-size: .9rem; color: rgba(255,255,255,.82); }
.projects__opt:hover { background: rgba(255,255,255,.08); color: #fff; }
.projects__opt.is-active { background: rgba(2,202,2,.18); color: #fff; border-color: rgba(2,202,2,.5); }

.projects__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.project-card { display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(2,202,2,.5); box-shadow: 0 24px 48px rgba(0,0,0,.45); }
.project-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__count { position: absolute; bottom: .6rem; right: .6rem; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border-radius: 999px; background: rgba(11,11,11,.7); color: #fff; font-size: .78rem; font-weight: 600; }
.project-card__body { display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.1rem, 2vw, 1.4rem); }
.project-card__meta { font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aba-green); margin: 0; }
.project-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff; margin: 0; }
.project-card__text { color: rgba(255,255,255,.72); font-size: .93rem; margin: 0; }
.project-card__cta { display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem; font-weight: 600; color: var(--aba-green); text-decoration: none; align-self: flex-start; }
.project-card__cta .btn__ico { transition: transform .2s ease; }
.project-card__cta:hover .btn__ico { transform: translateX(3px); }
/* Photos-only variant: image tiles with a title that fades in on hover. */
.projects__list--tiles .project-card { background: none; border: 0; border-radius: var(--r-card); }
.projects__list--tiles .project-card__media { aspect-ratio: 4 / 3; border-radius: var(--r-card); }
.projects__list--tiles .project-card__cap {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 1.4rem .9rem .8rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: #fff;
  background: linear-gradient(180deg, rgba(11,11,11,0), rgba(11,11,11,.82));
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.projects__list--tiles .project-card:hover .project-card__cap { opacity: 1; transform: none; }

@media (max-width: 1100px) { .projects__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .projects__layout { grid-template-columns: 1fr; }
  .projects__filters { position: static; flex-direction: row; flex-wrap: wrap; }
  .projects__group { flex: 1 1 auto; }
}
@media (max-width: 560px) { .projects__list { grid-template-columns: 1fr; } }

/* ---------- Testimonials slider (on light bg) ---------- */
.section--light .testi-slider__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.08; color: var(--aba-green); margin: .35rem 0 .5rem; }
.testi-slider__intro { color: rgba(11,11,11,.65); max-width: 55ch; }
.testi-card {
  flex: 0 0 clamp(280px, 40%, 420px); display: flex; flex-direction: column; gap: 1rem;
  background: #fff; border: 1px solid rgba(11,11,11,.08); border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 14px 34px rgba(11,11,11,.06);
}
.testi-card__stars { color: #F5A623; letter-spacing: .12em; font-size: 1.05rem; }
.testi-card__quote { font-family: var(--font-heading); font-weight: 500; font-size: 1.15rem; line-height: 1.5; color: var(--aba-ink, #0B0B0B); margin: 0; }
.testi-card__by { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testi-card__avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: rgba(11,11,11,.06); }
.testi-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-card__by-text { display: flex; flex-direction: column; gap: .1rem; }
.testi-card__name { font-weight: 700; color: var(--aba-ink, #0B0B0B); }
.testi-card__role { font-size: .85rem; color: rgba(11,11,11,.55); }

/* ---------- Single case study ---------- */
/* Match the standard page hero (.hero): same depth and the title anchored in
   the lower third, so case-study headers line up with the rest of the site
   (previously the full-height stacking rule stretched this to 100vh). */
.case-single__hero { position: relative; background-size: cover; background-position: center; min-height: clamp(680px, 90vh, 1000px); display: flex; align-items: flex-end; }
.case-single__hero:not(.has-bg) { background: linear-gradient(135deg, #141414, #0B0B0B); }
.case-single__hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.3) 0%, rgba(11,11,11,.5) 45%, rgba(11,11,11,.82) 78%, var(--aba-ink) 100%); }
/* Extra feathered fade at the base of the hero so it melts into the section below */
.case-single__hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 14vh, 190px); z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, var(--aba-ink)); }
.case-single__hero-inner { position: relative; z-index: 2; padding-bottom: clamp(5rem, 15vh, 9rem); }
.case-single__back { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.8); text-decoration: none; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.case-single__back:hover { color: var(--aba-green); }
.case-single__meta { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aba-green); margin: 0 0 .6rem; }
.case-single__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: var(--fs-hero); line-height: 1.06; color: #fff; margin: 0; max-width: 20ch; }
/* Lead sub-text sits under the headline */
.case-single__lead { font-family: var(--font-body); color: rgba(255,255,255,.85); font-size: 1.02rem; line-height: 1.6; margin: 1rem 0 0; max-width: 60ch; }
/* Two-column body: main narrative + sticky details/CTA aside (previous layout) */
.case-single__grid { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.case-single__intro { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.case-block { margin-bottom: 2.25rem; }
.case-block:last-child { margin-bottom: 0; }
.case-block__title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: #fff; margin: 0 0 .8rem; padding-left: 1rem; border-left: 3px solid var(--aba-green); }
.case-block__text, .case-block p { color: rgba(255,255,255,.78); margin: 0 0 .8rem; }

/* Ticked lists (Key elements / Why chose ABA) */
/* ---------- Plain content pages (policies, generic pages) ---------- */
.page-plain { padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3rem)); }
.page-plain__doc { max-width: 78ch; margin-inline: auto; }
.page-plain__doc h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; color: #fff; margin: .4rem 0 0; }
.page-plain__doc .eyebrow { color: var(--aba-green); }
.page-plain__doc .entry-content { color: rgba(255,255,255,.82); line-height: 1.7; }
.page-plain__doc .entry-content h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.65rem); color: #fff; margin: 2.2rem 0 .7rem; padding-left: .9rem; border-left: 3px solid var(--aba-green); }
.page-plain__doc .entry-content h3 { font-weight: 700; font-size: 1.08rem; color: #fff; margin: 1.4rem 0 .4rem; }
.page-plain__doc .entry-content p { margin: 0 0 .9rem; }
.page-plain__doc .entry-content ul { margin: 0 0 1.1rem; padding-left: 1.2rem; display: grid; gap: .45rem; }
.page-plain__doc .entry-content li { padding-left: .3rem; }
.page-plain__doc .entry-content li::marker { color: var(--aba-green); }
.page-plain__doc .entry-content a { color: var(--aba-green); text-decoration: underline; text-underline-offset: 2px; }
.page-plain__doc .policy-updated { color: rgba(255,255,255,.55); font-size: .9rem; margin-bottom: 1.6rem; }

/* ---------- Credit account application form ---------- */
/* The form lives on a plain page; give it more room than the reading column. */
.page-plain__doc:has(.credit-app) { max-width: 960px; }
.credit-app__intro { color: rgba(255,255,255,.8); margin: 0 0 1.75rem; }
.credit-app__section { margin: 0 0 2rem; padding: 0 0 1.75rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.credit-app__section:last-of-type { border-bottom: 0; }
.credit-app__legend { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #fff; margin: 0 0 1rem; padding-left: .8rem; border-left: 3px solid var(--aba-green); }
.credit-app__subhead { color: var(--aba-green); font-weight: 700; font-size: 1.02rem; margin: 1.4rem 0 .6rem; }
.credit-app__note { color: rgba(255,255,255,.66); font-size: .92rem; line-height: 1.55; margin: 0 0 1.1rem; }
.credit-app__note a { color: var(--aba-green); text-decoration: underline; }
.credit-app__doclist { margin: .3rem 0 0; padding-left: 1.2rem; display: grid; gap: .4rem; color: rgba(255,255,255,.85); }
.credit-app__doclist li::marker { color: var(--aba-green); }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form__grid .field--full { grid-column: 1 / -1; }
.credit-app .field { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.credit-app .field > label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.8); }
.credit-app .field input, .credit-app .field textarea {
  width: 100%; background: rgba(255,255,255,.04); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: .7rem .9rem; font: inherit; font-size: .95rem;
}
.credit-app .field input:focus, .credit-app .field textarea:focus { outline: none; border-color: var(--aba-green); box-shadow: 0 0 0 3px rgba(2,202,2,.18); }
.credit-app .field input::placeholder, .credit-app .field textarea::placeholder { color: rgba(255,255,255,.4); }
.credit-app .field__req { color: var(--aba-green); }
.credit-app .field--yesno { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.credit-app .field--yesno legend { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: .45rem; padding: 0; }
.credit-app .yesno { display: flex; gap: 1.5rem; }
.credit-app .yesno__opt { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-size: .95rem; cursor: pointer; }
.credit-app input[type="radio"], .credit-app input[type="checkbox"] { accent-color: var(--aba-green); width: auto; }
.credit-app .field--check { display: flex; align-items: flex-start; gap: .6rem; color: rgba(255,255,255,.85); font-size: .92rem; line-height: 1.55; cursor: pointer; }
.credit-app .field--check input { margin-top: .2rem; flex: 0 0 auto; }
.credit-app > .btn { margin-top: 1.5rem; }
@media (max-width: 640px) { .contact-form__grid { grid-template-columns: 1fr; } }

/* ---------- Sector pages built from sections (#37) ---------- */
/* Give the section stack a little breathing room under the hero. */
.sector-sections { position: relative; }
/* #36 — the consecutive list sections (Services / Projects / Why / Safe) fade
   into one another, with a retained hard hairline divider between them. The
   line is crisp in the middle and fades out towards the edges. */
.sector-sections section.crane-block + section.crane-block { position: relative; }
.sector-sections section.crane-block + section.crane-block::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 3rem, var(--wrap, 1240px)); height: 1px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(2,202,2,.55) 14%, rgba(2,202,2,.55) 86%, transparent 100%);
}
/* Soft seam either side of the line so the dark sections blend rather than hard-cut. */
.sector-sections section.crane-block + section.crane-block::after {
  content: ""; position: absolute; top: -46px; left: 0; right: 0; height: 92px; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 50%, rgba(2,202,2,.06), transparent 70%);
}

/* Project gallery on the single case study — thumbnail grid, each opens the lightbox. */
.case-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.case-gallery__item { position: relative; display: block; padding: 0; border: 0; background: #0b0b0b; border-radius: var(--r-card, 14px); overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; }
.case-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.case-gallery__item:hover img { transform: scale(1.06); }
.case-gallery__zoom { position: absolute; right: .55rem; bottom: .55rem; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(2,202,2,.92); color: #08240a; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.case-gallery__item:hover .case-gallery__zoom, .case-gallery__item:focus-visible .case-gallery__zoom { opacity: 1; transform: none; }
@media (max-width: 600px) { .case-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
.case-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.case-ticks li { display: flex; align-items: flex-start; gap: .7rem; color: rgba(255,255,255,.85); }
.case-ticks svg { color: var(--aba-green); flex: 0 0 auto; margin-top: .15rem; }

/* Sticky aside: Key Project Details panel + CTA box */
.case-single__aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.5rem; }
.case-single__facts { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.case-single__facts-h { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: #fff; margin: 0 0 .25rem; }
.case-fact span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aba-green); margin-bottom: .15rem; }
.case-fact p { margin: 0; color: #fff; font-weight: 600; }
.case-single__services { gap: .35rem; }
.case-services { list-style: none; margin: .25rem 0 0; padding: 0; display: flex; flex-direction: column; }
.case-services li { border-top: 1px solid rgba(255,255,255,.08); }
.case-services li:first-child { border-top: 0; }
.case-services a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem 0; color: rgba(255,255,255,.85); font-weight: 500; text-decoration: none; transition: color .2s, padding .2s; }
.case-services a:hover { color: var(--aba-green); padding-left: .3rem; }
.case-services .btn__ico { color: var(--aba-green); }
.case-single__cta { background: linear-gradient(135deg, rgba(2,202,2,.16), rgba(2,202,2,.04)); border: 1px solid rgba(2,202,2,.35); border-radius: var(--r-card); padding: 1.5rem; }
.case-single__cta h3 { font-family: var(--font-heading); font-weight: 700; color: #fff; margin: 0 0 .6rem; font-size: 1.15rem; }
.case-single__cta p { color: rgba(255,255,255,.8); margin: 0 0 1.1rem; font-size: .95rem; }
@media (max-width: 860px) {
  .case-single__grid { grid-template-columns: 1fr; }
  .case-single__aside { position: static; }
}

/* ---------- Careers: vacancy cards + single vacancy ---------- */
.vacancies__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.06; color: var(--aba-green); margin: .4rem 0 1rem; }
.vacancies__intro { color: rgba(255,255,255,.8); max-width: 60ch; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.vacancies__empty { color: rgba(255,255,255,.7); }
.vacancies__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.vacancy-card { display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.vacancy-card:hover { transform: translateY(-4px); border-color: rgba(2,202,2,.5); box-shadow: 0 24px 48px rgba(0,0,0,.45); }
.vacancy-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.vacancy-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vacancy-card:hover .vacancy-card__media img { transform: scale(1.05); }
.vacancy-card__body { display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.25rem, 2.5vw, 1.6rem); }
.vacancy-card__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: #fff; margin: 0; }
.vacancy-card__meta { font-family: var(--font-body); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--aba-green); margin: 0; }
.vacancy-card__text { color: rgba(255,255,255,.75); margin: 0; }
.vacancy-card__cta { align-self: flex-start; margin-top: .6rem; }
@media (max-width: 1000px) { .vacancies__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vacancies__grid { grid-template-columns: 1fr; } }

/* Thin job-info strip (Full Time • Location • Basis • Salary) */
.job-strip { list-style: none; margin: 1.5rem 0 0; padding: .9rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; }
.job-strip li { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 600; font-size: .92rem; }
.job-strip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aba-green); }

.vacancy-single__head { padding-bottom: 0; }
.vacancy-single__title { font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-hero); line-height: 1.04; color: #fff; margin: .75rem 0 .75rem; }
.vacancy-single__lead { color: rgba(255,255,255,.82); max-width: 70ch; font-size: 1.1rem; }
.vacancy-single__grid { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .vacancy-single__grid { grid-template-columns: 1fr; } }

/* Apply form extras */
.apply-form .field__hint { color: rgba(255,255,255,.5); font-weight: 400; font-size: .8rem; }
.apply-form input[type="file"] { color: rgba(255,255,255,.85); font-size: .9rem; }
.apply-form input[type="file"]::file-selector-button { margin-right: .75rem; padding: .5rem .9rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.apply-form input[type="file"]::file-selector-button:hover { border-color: var(--aba-green); }
.field--consent { display: flex; align-items: flex-start; gap: .6rem; margin: 1rem 0 1.25rem; color: rgba(255,255,255,.75); font-size: .9rem; }
.field--consent input[type="checkbox"] { width: 18px; min-width: 18px; height: 18px; margin: .1rem 0 0; padding: 0; flex: 0 0 auto; accent-color: var(--aba-green); }
.field--consent span { flex: 1; }

/* USP grid */
.usp-grid__title { color: var(--aba-green); }
.usp-grid { list-style: none; margin: clamp(1rem, 2vw, 1.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.usp-tile { display: flex; align-items: center; gap: .7rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); padding: 1rem 1.25rem; color: #fff; font-weight: 600; }
.usp-tile svg { color: var(--aba-green); flex: 0 0 auto; }
@media (max-width: 780px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usp-grid { grid-template-columns: 1fr; } }

/* ---------- Closing CTA band (case study + sector pages) ---------- */
.case-single__cta-band { background: linear-gradient(135deg, rgba(2,202,2,.16), rgba(2,202,2,.05)); border-top: 1px solid rgba(2,202,2,.28); border-bottom: 1px solid rgba(2,202,2,.28); }
.case-single__cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.case-single__cta-inner h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; margin: 0 0 .5rem; }
.case-single__cta-inner p { color: rgba(255,255,255,.82); margin: 0; max-width: 62ch; }
.case-single__cta-inner .btn { flex: 0 0 auto; }

/* ---------- Single sector page ---------- */
.sector-single__intro { color: rgba(255,255,255,.88); font-size: 1.12rem; max-width: 64ch; margin: 0 0 1.5rem; }
.sector-single__intro p { margin: 0 0 .8rem; }
.sector-single__content { max-width: 1000px; }
.sector-block__intro { color: rgba(255,255,255,.78); max-width: 70ch; margin: 0 0 1rem; }
.sector-ticks { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
@media (max-width: 680px) { .sector-ticks { grid-template-columns: 1fr; } }
.sector-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.sector-project { display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); overflow: hidden; text-decoration: none; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.sector-project:hover { transform: translateY(-4px); border-color: rgba(2,202,2,.5); box-shadow: 0 20px 42px rgba(0,0,0,.4); }
.sector-project__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.sector-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sector-project:hover .sector-project__media img { transform: scale(1.05); }
.sector-project__title { display: flex; align-items: center; gap: .4rem; padding: 1rem 1.2rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; color: #fff; }
.sector-project__title .btn__ico { color: var(--aba-green); margin-left: auto; transition: transform .2s ease; }
.sector-project:hover .sector-project__title .btn__ico { transform: translateX(3px); }
@media (max-width: 900px) { .sector-projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sector-projects { grid-template-columns: 1fr; } }
body.has-page-bg .sector-project { background: rgba(11,11,11,.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Sectors hub (full crane background + central line + scroll dots) ---------- */
/* Solid opaque base so nothing (e.g. the hero above) shows through as the page
   scrolls — the crane graphic + overlay paint on top of this. */
.sectors-hub { position: relative; overflow: hidden; background-color: var(--aba-ink, #0B0B0B); }

/* Central crane graphic (vector). A fixed "head" (jib + cab) sits at the top and
   a lattice "mast" repeats vertically to fill the section height, both centred on
   the page. --crane-w drives the whole thing; head/mast metrics are ratios of the
   source art (viewBox 500 wide; mast centre at x62, head 168 tall, tile 32×41.75). */
.sectors-hub__crane {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  --crane-w: clamp(460px, 70vw, 1040px);
  /* Shaft thickness relative to the head's tower. Keep ~1 so the mast lines up
     cleanly with the head where they meet; the whole crane scales with --crane-w. */
  --mast-boost: 1.06;
  opacity: .16;
}
/* Repeating lattice mast — centred, from just under the head to the bottom. */
.sectors-hub__crane-mast {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--crane-w) * 0.336); bottom: 0;
  width: calc(var(--crane-w) * 0.064 * var(--mast-boost));
  background-repeat: repeat-y; background-position: top center; background-size: 100% auto;
}
/* Fixed head (jib + counter-jib + cab), shifted so its mast sits on the centre. */
.sectors-hub__crane-head {
  position: absolute; top: 0; left: 50%; transform: translateX(-12.4%);
  width: var(--crane-w); height: calc(var(--crane-w) * 0.336);
  background-repeat: no-repeat; background-position: top center; background-size: 100% 100%;
}
@media (max-width: 820px) {
  /* Slimmer + subtler on mobile so it doesn't crowd the stacked rows. */
  .sectors-hub__crane { --crane-w: 380px; opacity: .1; }
}
.sectors-hub__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,11,11,.82), rgba(11,11,11,.68) 45%, rgba(11,11,11,.88)); }
.sectors-hub__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(255,255,255,.22) 8%, rgba(255,255,255,.22) 92%, transparent); z-index: 1; pointer-events: none; }
.sectors-hub .wrap--nav { position: relative; z-index: 2; }
.sectors-hub__head { max-width: 30rem; margin-bottom: clamp(2rem, 6vw, 4.5rem); }
.sectors-hub__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.06; color: #fff; margin: .4rem 0 1rem; }
.sectors-hub__intro { color: rgba(255,255,255,.78); }
.sectors-hub__rows { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 5rem); }
/* Three columns: content | centre crane channel (clear, for the dot) | content.
   Image + text hug the centre channel so they sit close together and the crane
   (with the green dot travelling up/down it) stays clear between them. */
.sector-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(80px, 9vw, 150px) minmax(0, 1fr); align-items: center; }
/* Image and text share the same width: both fill their equal (1fr) columns and
   hug the centre rail, so the image is a little larger and the text a little
   narrower than before, and their inner edges line up. */
.sector-row__media { grid-column: 1; width: 100%; justify-self: end; }
.sector-row__text  { grid-column: 3; width: 100%; max-width: none; justify-self: start; }
.sector-row--rev .sector-row__media { grid-column: 3; justify-self: start; }
.sector-row--rev .sector-row__text  { grid-column: 1; grid-row: 1; justify-self: end; }
/* Centre dot on the line — appears/lights when the row scrolls into view */
.sector-row__dot { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.5); z-index: 3; opacity: 1; transition: opacity .5s ease, transform .5s ease, background .4s ease, box-shadow .4s ease; }
.sector-row.is-active .sector-row__dot { opacity: 1; transform: translate(-50%, -50%) scale(1); background: var(--aba-green); border-color: #fff; box-shadow: 0 0 0 6px rgba(2,202,2,.22), 0 0 22px rgba(2,202,2,.7); }
/* Travelling green blip — rides down the centre line at scroll speed and docks
   at each row marker (position set inline by JS via --blip). */
.sectors-hub__blip {
  position: absolute; left: 50%; top: var(--blip, 0%); z-index: 4;
  width: 18px; height: 18px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--aba-green); border: 2px solid #fff;
  box-shadow: 0 0 0 6px rgba(2,202,2,.22), 0 0 26px rgba(2,202,2,.85);
  opacity: 0; transition: opacity .4s ease, top .55s cubic-bezier(.4,.05,.2,1); pointer-events: none; will-change: top;
}
[data-sectors-hub].is-tracking .sectors-hub__blip { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sectors-hub__blip { display: none; } }
.sector-row__text, .sector-row__media { position: relative; }
.sector-row__text { background: rgba(11,11,11,.35); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); border-radius: var(--r-card); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.sector-row__media { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; }
.sector-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sector-row__media:hover img { transform: scale(1.05); }
.sector-row__titlerow { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: .75rem; margin-bottom: 1rem; }
.sector-row__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: #fff; margin: 0; flex: 1; transition: color .4s var(--ease); }
.sector-row.is-active .sector-row__title { color: var(--aba-green); }
.sector-row__arrow { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--aba-green); color: #fff; transition: background .2s, transform .2s; }
.sector-row__arrow:hover { background: var(--aba-green-dark); transform: scale(1.06); }
.sector-row__desc { color: rgba(255,255,255,.72); margin: 0 0 1.25rem; max-width: 46ch; }

/* Intro animation — image slides in from its side, text rises, as the row
   scrolls into view. */
.sector-row__media { opacity: 0; transform: translateX(-44px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.sector-row--rev .sector-row__media { transform: translateX(44px); }
.sector-row__text { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.sector-row.is-inview .sector-row__media,
.sector-row.is-inview .sector-row__text { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sector-row__media, .sector-row__text { opacity: 1 !important; transform: none !important; transition: none; } }
.sector-row__btn { }
@media (max-width: 820px) {
  .sectors-hub__line, .sector-row__dot, .sectors-hub__blip { display: none; }
  .sector-row, .sector-row--rev { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .sector-row__media, .sector-row--rev .sector-row__media { grid-column: 1; justify-self: stretch; width: 100%; max-width: 480px; }
  .sector-row__text, .sector-row--rev .sector-row__text { grid-column: 1; grid-row: auto; justify-self: stretch; }
}

/* ---------- Meet the team (grouped grid) ---------- */
.team__title { color: var(--aba-green); }
.team__intro { color: rgba(255,255,255,.8); max-width: 75ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.team-group { margin-top: clamp(2rem, 4vw, 3.25rem); }
.team-group:first-of-type { margin-top: 0; }
.team-group__label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aba-green); }
.team-group__label::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.15); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.team-card { display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-card); overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-4px); border-color: rgba(2,202,2,.5); box-shadow: 0 20px 42px rgba(0,0,0,.4); }
.team-card__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #141414; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo--empty { display: grid; place-items: center; background: linear-gradient(140deg, rgba(2,202,2,.28), rgba(2,202,2,.08)); }
.team-card__initials { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; letter-spacing: .02em; }
.team-card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.25rem 1.25rem; flex: 1; }
.team-card--no-photo { border-top: 3px solid var(--aba-green); }
.team-card--no-photo .team-card__body { padding-top: 1.4rem; }
.team-card__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: #fff; margin: 0; }
.team-card__role { font-family: var(--font-body); font-size: .78rem; letter-spacing: .02em; color: var(--aba-green); margin: 0; }
.team-card__bio { color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.5; margin: .35rem 0 0; }
.team-card__contact { display: flex; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.team-card__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .2s, border-color .2s, color .2s; }
.team-card__ico:hover { background: var(--aba-green); border-color: var(--aba-green); color: #08240a; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Display / headline brand font (Conthrax → Chakra Petch) ---------- */
.hero h1, .hero__title, .crane-hero__title, .cat-slider__title, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .01em;
}
/* Hero headline always uppercase (matches the design), regardless of the
   site-wide heading-case toggle. */
.hero h1, .hero__title, .crane-hero__title { text-transform: uppercase !important; }
/* Section headlines in the standard display font + caps (these are <h2>s, so
   force past the site-wide heading-case toggle). */
.fleet-grid__title, .video-block__title {
  font-family: var(--font-display) !important; font-weight: 600;
  text-transform: uppercase !important; letter-spacing: .01em;
}
.cat-slider__title { text-transform: uppercase !important; }
/* "A Modern Crane Fleet" — smaller, black (sits on the white fleet section) */
.fleet-grid__title { color: var(--aba-ink) !important; line-height: 1.12; }
/* Consistent font, caps and size across the standard section headings */
.fleet-grid__title, .proc-section__title, .why__title, .contact__title, .brochure__title,
.projects__title, .sectors-hub__title, .vacancies__title, .usp-grid__title, .accred__title,
.ind-stepped__title, .crane-block__title, .case-block__title, .team__title, .services-grid .fleet-grid__title,
.cases__title, .testi-slider__title, .section--light .testi-slider__title, .reviews__title, .stats__title, .stats__head h2, .crane-cta__title {
  font-family: var(--font-display) !important; font-weight: 600;
  text-transform: uppercase !important;
  font-size: var(--fs-section) !important; line-height: 1.14; letter-spacing: .01em;
}
/* Why-choose heading is that section's hero — larger + white */
.why__title { font-size: var(--fs-section) !important; color: #fff !important; }
/* Smaller "View Crane Fleet" CTA */
.fleet-grid__cta.btn { font-size: var(--btn-fs); padding: var(--btn-py) var(--btn-px); }

/* ---------- Global: section H2 headings in brand green ---------- */
h1, h2 { font-family: var(--font-display); }   /* new display font on all headlines */
h2 { color: var(--aba-green); }
.fleet-grid__title, .ind-stepped__title, .video-block__title,
.proc-section__title, .accred__title, .why__title, .contact__title, .brochure__title,
.projects__title, .case-block__title, .vacancies__title, .usp-grid__title,
.tsig-head h2, .stats__head h2 { color: var(--aba-green); }
/* Keep white where the heading sits on a green / red / photographic band */
.single-cta__title, .emergency__title, .alert__title,
.case-single__cta h3, .case-single__cta-inner h2, .case-single__title,
.vacancy-single__title, .cta-band h2, .hero h1, .display, .stats__title { color: #fff; }

/* Top section with an image runs up behind the sticky nav (any page) */
.section.is-flush { margin-top: calc(-1 * var(--nav-h)); }
.section.is-flush:not(.video-block) { padding-top: calc(var(--nav-h) + clamp(2rem, 4vw, 3rem)); }
.video-block.is-flush .video-block__inner { padding-top: calc(var(--nav-h) + clamp(2rem, 4vw, 3rem)); }

/* 404 / Thank-you centred pages */
.error-page { min-height: 62vh; display: grid; place-items: center; }
.error-page .display { color: #fff; }

/* ==========================================================================
   28b. EMERGENCY BAND
   ========================================================================== */
.emergency { position: relative; overflow: hidden; background: #150c0c; }
.emergency::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -6%; top: -40%; width: 620px; height: 520px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(226,44,34,.28), transparent 62%);
}
.emergency__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem 2rem; flex-wrap: wrap;
}
.emergency__content { display: flex; align-items: center; gap: 1.25rem; }
.emergency__icon {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(226,44,34,.16); color: var(--aba-red); display: grid; place-items: center;
}
.emergency__title { margin: 0 0 .2rem; font-size: clamp(1.35rem, 2.4vw, 1.9rem); color: #fff; }
.emergency__text { margin: 0; color: var(--aba-muted); }
@media (max-width: 640px) { .emergency .btn { width: 100%; justify-content: center; } }

/* ==========================================================================
   28c. TRUST SIGNALS — glowing icon tiles with count-up
   ========================================================================== */
.tsig-section { position: relative; overflow: hidden; }
.tsig-section::before, .tsig-section::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 620px; height: 460px; border-radius: 50%; bottom: -24%;
  background: radial-gradient(ellipse at center, rgba(2,202,2,.2), transparent 64%);
}
.tsig-section::before { left: -8%; }
.tsig-section::after  { right: -8%; }
.tsig-section .wrap--nav { position: relative; z-index: 1; }

/* Trust ticker — large marquee scrolling right → left (full section width) */
.aba-ticker { position: relative; z-index: 1; width: 100%; overflow: hidden; padding: .4rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.aba-ticker__track { display: inline-flex; align-items: center; gap: clamp(1.75rem, 3.5vw, 3.5rem); width: max-content; white-space: nowrap; will-change: transform; animation: aba-ticker 36s linear infinite; }
.aba-ticker:hover .aba-ticker__track { animation-play-state: paused; }
.aba-ticker__item { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.8rem, 8vw, 7rem); line-height: 1; color: #fff; letter-spacing: -.01em; }
.aba-ticker__item strong { color: var(--aba-green); font-weight: 800; }
/* Custom colour: items (and figures) inherit the chosen colour from the track */
.aba-ticker--solid .aba-ticker__item,
.aba-ticker--solid .aba-ticker__item strong { color: inherit; }
/* Separator = ABA brand mark (replaces the old star) */
.aba-ticker__sep { flex: 0 0 auto; display: inline-flex; align-items: center; line-height: 1; }
.aba-ticker__logo { height: clamp(38px, 6vw, 74px); width: auto; display: block; opacity: .95; }
@keyframes aba-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .aba-ticker__track { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; }
  .aba-ticker { -webkit-mask-image: none; mask-image: none; }
}
/* Optional image background + dark overlay (keeps the glowing tiles readable) */
.tsig-section.has-bg::before, .tsig-section.has-bg::after { display: none; }
.tsig-section__overlay { position: absolute; inset: 0; z-index: 0; background: #0B0B0B; }
/* Trust block with an image background */
.trust-section { position: relative; overflow: hidden; }
.trust-section__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,11,11,.42) 0%, rgba(11,11,11,.55) 45%, rgba(11,11,11,.82) 100%); }
/* With a background image, present it like the "Why clients choose" visual:
   heading up top, the reasons list down the bottom-left over the image. */
.trust-section.has-bg { min-height: clamp(520px, 78vh, 760px); display: flex; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
/* "Why choose" upgrade of the Trust block: match the compact, centred layout */
.trust-section.has-bg.why--bg { min-height: clamp(460px, 66vh, 640px); }
.trust-section.has-bg .wrap { display: flex; flex-direction: column; width: 100%; }
.trust-section.has-bg h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.8rem, 4vw, 3rem); margin: .3rem 0 0; }
.trust-section.has-bg .trust__list { margin-top: auto; grid-template-columns: 1fr; max-width: 760px; gap: .5rem; padding-top: clamp(2.5rem, 7vw, 5rem); }
.trust-section.has-bg .trust__item { font-size: clamp(1rem, 1.7vw, 1.25rem); }
.trust-section .wrap { position: relative; z-index: 1; }
.trust-section.has-bg, .trust-section.has-bg h2, .trust-section.has-bg .eyebrow, .trust-section.has-bg .trust__item span { color: #fff; }
.trust-section.has-bg .trust__check { color: var(--aba-green); }
.tsig-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.tsig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.tsig {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(2rem, 3.2vw, 2.9rem) 1.25rem;
  background: linear-gradient(180deg, #161616, #0d0d0d);
  border: 1px solid rgba(255,255,255,.08); border-radius: 18px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.tsig__glow {
  position: absolute; z-index: 0; left: 50%; bottom: -50%; transform: translateX(-50%);
  width: 150%; height: 100%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(2,202,2,.5), transparent 60%);
  opacity: .3; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tsig > *:not(.tsig__glow) { position: relative; z-index: 1; }
.tsig:hover { transform: translateY(-4px); border-color: rgba(2,202,2,.55); }
.tsig:hover .tsig__glow { opacity: 1; transform: translateX(-50%) scale(1.15); }

.tsig__icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 1.1rem;
  border-radius: 50%; color: var(--aba-green);
  background: rgba(2,202,2,.14); border: 1px solid rgba(2,202,2,.35);
}
.tsig__value {
  font-family: var(--font-heading); font-weight: 700; line-height: 1; color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: .01em;
}
.tsig__accent { display: block; width: 42px; height: 3px; background: var(--aba-red); border-radius: 3px; margin: .9rem auto; }
.tsig__label {
  font-family: var(--font-body); font-weight: 500; color: var(--aba-muted);
  text-transform: uppercase; letter-spacing: .08em; font-size: .82rem;
}

@media (max-width: 860px) { .tsig-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .tsig-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   28. STEPS + TRUST BLOCK
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 640px; }
.step { display: flex; align-items: flex-start; gap: 1rem; }
.step__num {
  flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--aba-green); color: #08240a;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center;
}
.step p { margin: 0; color: var(--aba-off); padding-top: .45rem; }

.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2.5rem; max-width: 780px; }
.trust__item { display: flex; align-items: center; gap: .7rem; color: #fff; font-size: 1.05rem; }
.trust__check {
  flex: 0 0 auto; color: var(--aba-green);
  background: rgba(2,202,2,.14); border-radius: 50%; padding: 5px; width: 30px; height: 30px;
}
@media (max-width: 640px) { .trust__list { grid-template-columns: 1fr; } }

/* ============================================================= *
 *  Per-section LIGHT scheme (white background, dark text)
 * ============================================================= */
.aba-scheme--light { background: #ffffff; color: var(--aba-ink); }
body.page-light { background: #ffffff; }
/* A section forced Dark on a light page — its own dark island (theme defaults apply inside) */
.aba-scheme--dark { background: var(--aba-ink); }

/* Per-section background fill (colour/image set in Page Sections). The colour or
   image lives on the wrapper; the inner section is made transparent so the fill
   (and the angled shape) shows through instead of the section's own background. */
/* Backdrop behind a clipped media section — its colour/image fills the angled
   cut-out (the removed triangle) instead of the page showing through. */
.aba-edge-back { position: relative; background-size: cover; background-position: center; }
.aba-edge-back > .aba-edge { display: block; }

.aba-fill { position: relative; }
/* Clear only the inner section's solid colour so the wrapper's colour/image shows
   through. We deliberately keep the section's own background-image (and any video
   layer), so a video block / image section fills the angled shape with its media
   instead of a flat colour. */
.aba-fill > .section,
.aba-fill > .hero,
.aba-fill > section {
  background-color: transparent !important;
  background-image: none !important;   /* also clear any gradient bg (e.g. single-cta) so the fill image + blend show */
  position: relative;
  z-index: 1;
}
/* The single-cta keeps its own dark gradient ONLY when there's no fill image. */
.aba-fill .single-cta { background: transparent !important; }
.aba-fill .single-cta::before, .aba-fill .single-cta::after { display: none !important; }
/* Layered background image (zoomable) + colour overlay, behind the content. */
.aba-fill--img { overflow: hidden; }
.aba-fill__img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform-origin: center; pointer-events: none;
}
.aba-fill__scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Soft fade edge — feathers a section into its neighbour (an alternative to the
   angled step). The masked edge overlaps the adjacent section so the fade
   reveals it beneath. */
.aba-blend { position: relative; --blend-d: clamp(140px, 20vw, 320px); --blend-col: var(--aba-ink); }
body.page-light .aba-blend { --blend-col: #ffffff; }
/* The fade is a gradient overlay at the section edge that blends into the page
   (or neighbour) colour. It sits on top so it shows on ANY section, but it is
   transparent across the middle where the content lives — only the outer edge
   (inside the section's padding) feathers away. Fades to the page colour by
   default; set the Top/Bottom angle colours to blend toward a specific neighbour. */
/* The fade feathers the section's BACKGROUND while the content (text/buttons)
   stays at 100%. Two cases, both with the gradient ABOVE the background and
   BELOW the content: */
.aba-blend--top::before, .aba-blend--both::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--blend-d); pointer-events: none;
  background: linear-gradient(to top, transparent, var(--blend-top-col, var(--blend-col)));
}
.aba-blend--bottom::after, .aba-blend--both::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--blend-d); pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--blend-bot-col, var(--blend-col)));
}
/* (a) Filled section — background is its own layer (aba-fill). Gradient slots
   between that background layer (z0) and the content (z2). */
.aba-blend.aba-fill.aba-blend--top::before, .aba-blend.aba-fill.aba-blend--both::before,
.aba-blend.aba-fill.aba-blend--bottom::after, .aba-blend.aba-fill.aba-blend--both::after { z-index: 1; }
.aba-blend.aba-fill > .section, .aba-blend.aba-fill > .hero, .aba-blend.aba-fill > section { position: relative; z-index: 2; }
/* (b) Plain section — background is on the section itself. Gradient goes on top
   of it (z3); the content wrappers are lifted above the gradient (z4). */
.aba-blend:not(.aba-fill).aba-blend--top::before, .aba-blend:not(.aba-fill).aba-blend--both::before,
.aba-blend:not(.aba-fill).aba-blend--bottom::after, .aba-blend:not(.aba-fill).aba-blend--both::after { z-index: 3; }
.aba-blend:not(.aba-fill) .wrap, .aba-blend:not(.aba-fill) .wrap--nav, .aba-blend:not(.aba-fill) .wrap--wide,
.aba-blend:not(.aba-fill) .hero__inner, .aba-blend:not(.aba-fill) .hero__content,
.aba-blend:not(.aba-fill) .video-block__inner {
  position: relative; z-index: 4;
}
/* Video section: it already fades to the dark page colour via its own scrim, so
   a same-colour blend was invisible. Instead, fade the actual video imagery out
   at the blended edge(s) so it visibly melts into the neighbouring section.
   (Text is a separate layer and is unaffected.) */
.aba-blend--bottom .video-block__media, .aba-blend--bottom .video-block__bgvideo, .aba-blend--bottom .video-block__scrim,
.aba-blend--both   .video-block__media, .aba-blend--both   .video-block__bgvideo, .aba-blend--both   .video-block__scrim {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--blend-d, 220px)), transparent);
          mask-image: linear-gradient(to bottom, #000 calc(100% - var(--blend-d, 220px)), transparent);
}
.aba-blend--top .video-block__media, .aba-blend--top .video-block__bgvideo, .aba-blend--top .video-block__scrim {
  -webkit-mask-image: linear-gradient(to top, #000 calc(100% - var(--blend-d, 220px)), transparent);
          mask-image: linear-gradient(to top, #000 calc(100% - var(--blend-d, 220px)), transparent);
}
.aba-blend--both .video-block__media, .aba-blend--both .video-block__bgvideo, .aba-blend--both .video-block__scrim {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--blend-d, 220px), #000 calc(100% - var(--blend-d, 220px)), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 var(--blend-d, 220px), #000 calc(100% - var(--blend-d, 220px)), transparent 100%);
}
/* For the video, the imagery fade above IS the blend, so drop the wrapper's flat
   colour gradient (which just repainted the edge and hid the melt). */
.aba-blend:has(.video-block)::before, .aba-blend:has(.video-block)::after { display: none !important; }
/* Give the blended video extra vertical room so the fade doesn't eat the copy. */
.aba-blend--bottom .video-block, .aba-blend--top .video-block, .aba-blend--both .video-block { min-height: clamp(760px, 104vh, 1040px); }
.aba-blend--bottom .video-block__inner { padding-bottom: calc(var(--blend-d, 220px) + clamp(1.5rem, 3vw, 2.5rem)); }
.aba-blend--top .video-block__inner { padding-top: calc(var(--blend-d, 220px) + clamp(1.5rem, 3vw, 2.5rem)); }
.aba-blend--both .video-block__inner { padding-block: calc(var(--blend-d, 220px) + clamp(1.5rem, 3vw, 2.5rem)); }
/* Right-hand text sits lower toward the bottom-right (per Figma) — trim the
   large blend bottom padding so the copy drops down over the lower area. */
.aba-blend--bottom .video-block__inner,
.aba-blend--both .video-block__inner { padding-bottom: clamp(1.75rem, 3.5vw, 3rem); }

/* Angled brand edge — straight, then a diagonal (high on the left, dropping to the
   right at ~45° / the logo slant), then straight again, with softened (bevelled)
   corners. Needs the section to have a background/colour for the angle to show. */
.aba-edge {
  --edge-d: clamp(80px, 11vw, 200px);        /* step depth (deeper) */
  --edge-run: var(--edge-d);                 /* run = depth → 45° (logo slant) */
  --edge-r: clamp(18px, 2.2vw, 40px);        /* corner rounding radius */
  --edge-rd: calc(var(--edge-r) * 0.7071);   /* diagonal tangent offset */
  --edge-rm: calc(var(--edge-r) * 0.42);     /* mid-arc offset (for the curve) */
}
.aba-edge--bottom {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    calc(56% + var(--edge-run) / 2 + 0.414 * var(--edge-r)) 100%,
    calc(56% + var(--edge-run) / 2 + 0.219 * var(--edge-r)) calc(100% - 0.019 * var(--edge-r)),
    calc(56% + var(--edge-run) / 2 + 0.031 * var(--edge-r)) calc(100% - 0.076 * var(--edge-r)),
    calc(56% + var(--edge-run) / 2 - 0.142 * var(--edge-r)) calc(100% - 0.169 * var(--edge-r)),
    calc(56% + var(--edge-run) / 2 - 0.293 * var(--edge-r)) calc(100% - 0.293 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 + 0.293 * var(--edge-r)) calc(100% - var(--edge-d) + 0.293 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 + 0.142 * var(--edge-r)) calc(100% - var(--edge-d) + 0.169 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 - 0.031 * var(--edge-r)) calc(100% - var(--edge-d) + 0.076 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 - 0.219 * var(--edge-r)) calc(100% - var(--edge-d) + 0.019 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 - 0.414 * var(--edge-r)) calc(100% - var(--edge-d)),
    0 calc(100% - var(--edge-d))
  );
}
.aba-edge--top {
  clip-path: polygon(
    0 0,
    calc(44% - var(--edge-run) / 2 - 0.414 * var(--edge-r)) 0,
    calc(44% - var(--edge-run) / 2 - 0.219 * var(--edge-r)) calc(0% + 0.019 * var(--edge-r)),
    calc(44% - var(--edge-run) / 2 - 0.031 * var(--edge-r)) calc(0% + 0.076 * var(--edge-r)),
    calc(44% - var(--edge-run) / 2 + 0.142 * var(--edge-r)) calc(0% + 0.169 * var(--edge-r)),
    calc(44% - var(--edge-run) / 2 + 0.293 * var(--edge-r)) calc(0% + 0.293 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 - 0.293 * var(--edge-r)) calc(var(--edge-d) - 0.293 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 - 0.142 * var(--edge-r)) calc(var(--edge-d) - 0.169 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 + 0.031 * var(--edge-r)) calc(var(--edge-d) - 0.076 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 + 0.219 * var(--edge-r)) calc(var(--edge-d) - 0.019 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 + 0.414 * var(--edge-r)) var(--edge-d),
    100% var(--edge-d),
    100% 100%,
    0 100%
  );
}
.aba-edge--both {
  clip-path: polygon(
    0 0,
    calc(44% - var(--edge-run) / 2 - 0.414 * var(--edge-r)) 0,
    calc(44% - var(--edge-run) / 2 - 0.219 * var(--edge-r)) calc(0% + 0.019 * var(--edge-r)),
    calc(44% - var(--edge-run) / 2 - 0.031 * var(--edge-r)) calc(0% + 0.076 * var(--edge-r)),
    calc(44% - var(--edge-run) / 2 + 0.142 * var(--edge-r)) calc(0% + 0.169 * var(--edge-r)),
    calc(44% - var(--edge-run) / 2 + 0.293 * var(--edge-r)) calc(0% + 0.293 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 - 0.293 * var(--edge-r)) calc(var(--edge-d) - 0.293 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 - 0.142 * var(--edge-r)) calc(var(--edge-d) - 0.169 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 + 0.031 * var(--edge-r)) calc(var(--edge-d) - 0.076 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 + 0.219 * var(--edge-r)) calc(var(--edge-d) - 0.019 * var(--edge-r)),
    calc(44% + var(--edge-run) / 2 + 0.414 * var(--edge-r)) var(--edge-d),
    100% var(--edge-d),
    100% 100%,
    calc(56% + var(--edge-run) / 2 + 0.414 * var(--edge-r)) 100%,
    calc(56% + var(--edge-run) / 2 + 0.219 * var(--edge-r)) calc(100% - 0.019 * var(--edge-r)),
    calc(56% + var(--edge-run) / 2 + 0.031 * var(--edge-r)) calc(100% - 0.076 * var(--edge-r)),
    calc(56% + var(--edge-run) / 2 - 0.142 * var(--edge-r)) calc(100% - 0.169 * var(--edge-r)),
    calc(56% + var(--edge-run) / 2 - 0.293 * var(--edge-r)) calc(100% - 0.293 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 + 0.293 * var(--edge-r)) calc(100% - var(--edge-d) + 0.293 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 + 0.142 * var(--edge-r)) calc(100% - var(--edge-d) + 0.169 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 - 0.031 * var(--edge-r)) calc(100% - var(--edge-d) + 0.076 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 - 0.219 * var(--edge-r)) calc(100% - var(--edge-d) + 0.019 * var(--edge-r)),
    calc(56% - var(--edge-run) / 2 - 0.414 * var(--edge-r)) calc(100% - var(--edge-d)),
    0 calc(100% - var(--edge-d))
  );
}
/* Extra room so the angle runs behind content (e.g. hero buttons), never clipping it */
.aba-edge--bottom > .section, .aba-edge--bottom > .hero,
.aba-edge--both > .section, .aba-edge--both > .hero { padding-bottom: calc(var(--edge-d) + clamp(2rem, 4vw, 3rem)); }
.aba-edge--top > .section, .aba-edge--top > .hero,
.aba-edge--both > .section, .aba-edge--both > .hero { padding-top: calc(var(--edge-d) + clamp(2rem, 4vw, 3rem)); }
/* Flip section backgrounds to transparent EXCEPT intentionally-coloured bands */
.aba-scheme--light .section:not(.single-cta):not(.hero):not(.case-single__cta-band):not(.emergency):not(.cta-band),
.aba-scheme--light .section--ink,
.aba-scheme--light .section--charcoal { background: transparent; }

/* Keep the coloured / hero bands as designed (white text on colour/image) */
.aba-scheme--light .hero, .aba-scheme--light .single-cta,
.aba-scheme--light .case-single__cta-band, .aba-scheme--light .emergency,
.aba-scheme--light .cta-band { color: #fff; }
.aba-scheme--light .hero h1, .aba-scheme--light .hero h2, .aba-scheme--light .hero p, .aba-scheme--light .hero .display, .aba-scheme--light .hero span,
.aba-scheme--light .single-cta h1, .aba-scheme--light .single-cta h2, .aba-scheme--light .single-cta h3, .aba-scheme--light .single-cta p, .aba-scheme--light .single-cta span,
.aba-scheme--light .case-single__cta-band h2, .aba-scheme--light .case-single__cta-band p,
.aba-scheme--light .emergency h1, .aba-scheme--light .emergency h2, .aba-scheme--light .emergency h3, .aba-scheme--light .emergency p,
.aba-scheme--light .cta-band h2, .aba-scheme--light .cta-band p { color: #fff; }

/* Eyebrows stay green (readable on white) */
.aba-scheme--light .eyebrow, .aba-scheme--light [class*="__eyebrow"] { color: var(--aba-green); }

/* Headings & body text → dark (h2 stays its brand green) */
.aba-scheme--light h1, .aba-scheme--light h3, .aba-scheme--light h4,
.aba-scheme--light h5, .aba-scheme--light h6 { color: var(--aba-ink); }
.aba-scheme--light p, .aba-scheme--light li, .aba-scheme--light blockquote,
.aba-scheme--light figcaption, .aba-scheme--light .entry-content,
.aba-scheme--light [class*="__intro"], .aba-scheme--light [class*="__text"],
.aba-scheme--light [class*="__desc"], .aba-scheme--light [class*="__summary"],
.aba-scheme--light [class*="__bio"], .aba-scheme--light [class*="__lead"],
.aba-scheme--light [class*="__quote"], .aba-scheme--light [class*="-card__title"],
.aba-scheme--light [class*="-card__name"], .aba-scheme--light .case-block__title,
.aba-scheme--light .contact__title, .aba-scheme--light .brochure__title,
.aba-scheme--light .brochure__form-title, .aba-scheme--light .sector-row__title,
.aba-scheme--light .case-single__facts-h, .aba-scheme--light .tsig__value,
.aba-scheme--light .tsig__label { color: var(--aba-ink); }
.aba-scheme--light p, .aba-scheme--light li, .aba-scheme--light figcaption,
.aba-scheme--light [class*="__intro"], .aba-scheme--light [class*="__text"],
.aba-scheme--light [class*="__desc"], .aba-scheme--light [class*="__summary"],
.aba-scheme--light [class*="__bio"], .aba-scheme--light [class*="__lead"] { color: rgba(11,11,11,.74); }

/* Remove ALL card / tile / panel boxes → flat & borderless */
.aba-scheme--light [class*="-card"],
.aba-scheme--light [class*="-tile"],
.aba-scheme--light [class*="__tile"],
.aba-scheme--light [class*="__panel"],
.aba-scheme--light [class*="__facts"],
.aba-scheme--light .faq__item,
.aba-scheme--light .tsig,
.aba-scheme--light .quote,
.aba-scheme--light .stat,
.aba-scheme--light .brochure__form {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.aba-scheme--light [class*="-card"]:hover { box-shadow: 0 16px 36px rgba(11,11,11,.12) !important; }

/* Overlay case-study cards are an intentional dark-on-photo design, so exempt
   them from the generic light-scheme card reset above (which strips background,
   border and box-shadow with !important). */
.aba-scheme--light .cases--overlay .case-card {
  background: #0b0b0b !important;
}
.aba-scheme--light .cases--overlay .case-card__body {
  background: linear-gradient(180deg, rgba(11,11,11,.5) 0%, rgba(11,11,11,.05) 32%, rgba(11,11,11,0) 55%, rgba(11,11,11,.7) 100%) !important;
}
.aba-scheme--light .cases--overlay .case-card:hover .case-card__body {
  background: rgba(6,6,6,.9) !important;
}
.aba-scheme--light .cases--overlay .case-card__cta {
  background: transparent !important; border-color: rgba(255,255,255,.85) !important;
}
.aba-scheme--light .cases--overlay .case-card__cta:hover {
  background: var(--aba-green) !important; border-color: var(--aba-green) !important;
}
.aba-scheme--light .cases--overlay .case-card__arrow {
  background: var(--aba-green) !important; border: 0 !important;
}

/* Keep brand accents + readable dividers/inputs */
.aba-scheme--light .case-ticks svg, .aba-scheme--light .brochure__points svg,
.aba-scheme--light .split-tile__icon, .aba-scheme--light .team-card__role,
.aba-scheme--light [class*="__meta"] { color: var(--aba-green); }
.aba-scheme--light .team-group__label::after { background: rgba(11,11,11,.14); }
.aba-scheme--light .sector-row__titlerow,
.aba-scheme--light .cases__filter-row { border-color: rgba(11,11,11,.14); }
.aba-scheme--light input, .aba-scheme--light textarea, .aba-scheme--light select { background: #f3f4f2; color: var(--aba-ink); border-color: rgba(11,11,11,.2); }
/* Form labels readable on white sections */
.aba-scheme--light label, .aba-scheme--light .field label, .aba-scheme--light .contact-form label { color: var(--aba-ink); }
.aba-scheme--light input::placeholder, .aba-scheme--light textarea::placeholder { color: rgba(11,11,11,.45); }
.aba-scheme--light .cases__chip { color: rgba(11,11,11,.75); border-color: rgba(11,11,11,.2); background: transparent; }
.aba-scheme--light .cases__chip:hover { border-color: var(--aba-green); color: var(--aba-ink); }
.aba-scheme--light .cases__chip.is-active { color: #08240a; background: var(--aba-green); border-color: var(--aba-green); }
/* Filter accordion pills on the projects gallery */
.aba-scheme--light .projects__all, .aba-scheme--light .projects__group-head,
.aba-scheme--light .projects__opt { color: var(--aba-ink); border-color: rgba(11,11,11,.2); background: transparent; }
.aba-scheme--light .projects__all.is-active { background: var(--aba-ink); color: #fff; }

/* Section headings → green on white (were white / invisible) */
.aba-scheme--light .cases__title, .aba-scheme--light .projects__title,
.aba-scheme--light .vacancies__title, .aba-scheme--light .team__title,
.aba-scheme--light .usp-grid__title, .aba-scheme--light .sectors-hub__title,
.aba-scheme--light .contact__title, .aba-scheme--light .brochure__title,
.aba-scheme--light .case-block__title, .aba-scheme--light .sector-row__title,
.aba-scheme--light .proc-section__title, .aba-scheme--light .fleet-grid__title,
.aba-scheme--light .why__title, .aba-scheme--light .accred__title,
.aba-scheme--light .ind-stepped__title { color: var(--aba-green); }
/* "Projects & Case Studies" page title reads black, not green (client request). */
.aba-scheme--light .projects__title,
.aba-scheme--light .cases__title { color: var(--aba-ink); }

/* Strip any remaining translucent “grey” panel fills */
.aba-scheme--light .sector-row__text, .aba-scheme--light [class*="__box"],
.aba-scheme--light .why__right, .aba-scheme--light .step, .aba-scheme--light .contact__details {
  background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}

/* Card / section buttons must be visible on white */
.aba-scheme--light .btn--ghost { color: var(--aba-ink); border-color: rgba(11,11,11,.32); background: transparent; }
.aba-scheme--light .btn--ghost:hover { background: var(--aba-green); border-color: var(--aba-green); color: #08240a; }
.aba-scheme--light .btn--white { background: var(--aba-green); color: #08240a; border-color: var(--aba-green); }
.aba-scheme--light .btn--white:hover { background: var(--aba-green-dark); }
/* …but keep hero / green-CTA band buttons light on their colour */
.aba-scheme--light .hero .btn--ghost, .aba-scheme--light .single-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.aba-scheme--light .hero .btn--white, .aba-scheme--light .single-cta .btn--white { background: #fff; color: var(--aba-ink); border-color: rgba(0,0,0,.14); }

/* Image-backed sections: flip the dark wash to a light one so they lighten too */
.aba-scheme--light .sectors-hub__overlay { background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.84)); }
.aba-scheme--light .sectors-hub__crane { opacity: .22; }
.aba-scheme--light .sectors-hub__line { background: linear-gradient(180deg, transparent, rgba(11,11,11,.16) 8%, rgba(11,11,11,.16) 92%, transparent); }
.aba-scheme--light .contact__overlay,
.aba-scheme--light .trust-section__overlay,
.aba-scheme--light .tsig-section__overlay { background: rgba(255,255,255,.8) !important; opacity: 1 !important; }

/* Hero: optional removal of the dark overlay (scrim) */
.hero--no-scrim .hero__scrim { display: none; }

/* Global heading-case toggle (Customizer → Typography) — also drives the topbar */
.heading-upper h1, .heading-upper h2, .heading-upper .display { text-transform: uppercase; }
.heading-normal h1, .heading-normal h2, .heading-normal .display { text-transform: none; }

/* Lenis momentum scrolling (only active when the Motion toggle is on) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Decorative chevron corners — top-left (green) + bottom-right (white). They
   live in a full-document overlay so they SCROLL with the page; the overlay is
   clipped so the off-edge bleed can't create horizontal overflow. Offsets are
   in px (not %, which were % of the whole document and pushed them off-screen). */
:root { --pat-size: clamp(360px, 46vw, 720px); --pat-off-tl: -90px; --pat-off-br-x: -170px; --pat-off-br-y: -70px; }
/* Fixed (not scrolling) so the corner shares the exact coordinate system of the
   fixed spotlight below — they tile from the same origin and always line up. */
.page-corners { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
/* Both corners are the SAME infinite tiled grid as the spotlight (same size +
   origin), just masked to their corner and coloured differently — so the corner
   patterns and the spotlight are always perfectly in sync. */
.page-corner {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-repeat: repeat;
  background-size: var(--pat-size) var(--pat-size);
  background-position: var(--pat-off-tl) var(--pat-off-tl);
}
.page-corner__img { display: none; }
.page-corner--tl {
  background-image: url("../img/corner-pattern-flat-green.svg"); opacity: var(--corner-tl-op, .5);
  -webkit-mask: radial-gradient(circle 640px at top left, #000 0%, rgba(0,0,0,.55) 42%, transparent 78%);
          mask: radial-gradient(circle 640px at top left, #000 0%, rgba(0,0,0,.55) 42%, transparent 78%);
}
.page-corner--br {
  background-image: url("../img/corner-pattern-flat.svg"); opacity: var(--corner-br-op, .3);
  -webkit-mask: radial-gradient(circle 560px at bottom right, #000 0%, rgba(0,0,0,.5) 42%, transparent 80%);
          mask: radial-gradient(circle 560px at bottom right, #000 0%, rgba(0,0,0,.5) 42%, transparent 80%);
}
@media (max-width: 700px) {
  :root { --pat-size: clamp(200px, 68vw, 400px); }
  /* The corner masks (640px / 560px radius) were sized for desktop and blanket a
     small phone screen — especially the header. Shrink them so the chevrons stay
     as small corner accents on mobile, matching the desktop "corners only" look. */
  .page-corner--tl {
    -webkit-mask: radial-gradient(circle 210px at top left, #000 0%, rgba(0,0,0,.5) 40%, transparent 74%);
            mask: radial-gradient(circle 210px at top left, #000 0%, rgba(0,0,0,.5) 40%, transparent 74%);
  }
  .page-corner--br {
    -webkit-mask: radial-gradient(circle 190px at bottom right, #000 0%, rgba(0,0,0,.5) 40%, transparent 78%);
            mask: radial-gradient(circle 190px at bottom right, #000 0%, rgba(0,0,0,.5) 40%, transparent 78%);
  }
}

/* Mouse-following green light + chevron "grille" that reveals around the pointer
   (like shining a torch through a grille), plus a green cursor dot.
   JS sets --mx/--my (px) and --fx-op (0/1) on :root. */
.page-fx { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.page-flare {
  position: absolute; left: 0; top: 0; width: clamp(340px, 40vw, 680px); aspect-ratio: 1 / 1;
  transform: translate3d(calc(var(--mx, 50vw) - 50%), calc(var(--my, 50vh) - 50%), 0);
  background: radial-gradient(circle, rgba(2,202,2,.1), rgba(2,202,2,.035) 34%, transparent 60%);
  opacity: var(--fx-op, 0); transition: opacity .35s ease; will-change: transform;
}
/* Reveal the real background chevron pattern through the light (not drawn shapes).
   Same tile size + origin as the top-left corner, so it reads as ONE pattern. */
.page-grille {
  position: absolute; inset: 0;
  background: url("../img/corner-pattern-flat.svg") repeat;
  background-size: var(--pat-size) var(--pat-size);
  background-position: var(--pat-off-tl) var(--pat-off-tl);   /* same origin as the top-left corner */
  opacity: var(--fx-op, 0); transition: opacity .35s ease;
  -webkit-mask-image: radial-gradient(circle 210px at var(--mx, 50vw) var(--my, 50vh), rgba(0,0,0,.85) 0%, rgba(0,0,0,.28) 42%, transparent 82%);
  mask-image: radial-gradient(circle 210px at var(--mx, 50vw) var(--my, 50vh), rgba(0,0,0,.85) 0%, rgba(0,0,0,.28) 42%, transparent 82%);
}
.cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 90; width: 13px; height: 13px; border-radius: 50%;
  background: var(--aba-green); box-shadow: 0 0 12px 1px rgba(2,202,2,.5); pointer-events: none;
  transform: translate3d(calc(var(--mx, -100px) - 50%), calc(var(--my, -100px) - 50%), 0);
  opacity: var(--fx-op, 0); transition: opacity .3s ease; mix-blend-mode: screen;
}
@media (hover: none), (pointer: coarse) { .page-fx, .cursor-dot { display: none; } }
/* Suppress the mouse light + dot over the video section (it has its own PLAY cursor) */
.fx-over-video .page-fx, .fx-over-video .cursor-dot { opacity: 0 !important; }
/* Over a light/white section the revealed pattern turns green so it stays visible. */
.fx-light .page-grille { background-image: url("../img/corner-pattern-flat-green.svg"); }

/* Video lightbox — rounded box with native controls (sound/pause) + close */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .28s ease, visibility 0s linear .28s; }
.video-modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .28s ease; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video-modal__box { position: relative; z-index: 1; width: min(100%, 1100px); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.6); transform: scale(.82); transition: transform .45s cubic-bezier(.2,.85,.25,1); }
.video-modal.is-open .video-modal__box { transform: scale(1); }
.video-modal__media, .video-modal__media video, .video-modal__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__media video { object-fit: contain; background: #000; }
.video-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--aba-green); color: #08240a; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.4); transition: background .2s var(--ease);
}
.video-modal__close:hover { background: var(--aba-green-dark); color: #fff; }

/* ==========================================================================
   ABA — Brochure request modal (shares the lead-form markup)
   ========================================================================== */
.aba-modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); opacity: 0; pointer-events: none; transition: opacity .24s ease; }
.aba-modal[hidden] { display: none; }
.aba-modal.is-open { opacity: 1; pointer-events: auto; }
.aba-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.aba-modal__dialog {
  position: relative; z-index: 1; width: min(100%, 460px);
  background: #fff; color: var(--aba-ink); border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
  transform: translateY(16px) scale(.97); transition: transform .32s cubic-bezier(.2,.85,.25,1);
  max-height: calc(100vh - 2rem); overflow-y: auto;
}
.aba-modal.is-open .aba-modal__dialog { transform: none; }
.aba-modal__close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; color: var(--aba-ink); font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; transition: color .2s var(--ease), background .2s var(--ease);
}
.aba-modal__close:hover { background: rgba(0,0,0,.06); color: var(--aba-green-dark); }
.aba-modal__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 0 0 .35rem; color: var(--aba-ink); }
.aba-modal__lead { font-size: var(--fs-body); color: #444; margin: 0 0 1.25rem; }
.aba-modal .contact-form--lead { display: grid; gap: .9rem; }
.aba-modal .contact-form--lead .field { display: grid; gap: .35rem; margin: 0; }
.aba-modal .contact-form--lead label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--aba-ink); }
/* Light inputs so they read on the white card (override the site's dark form fields) */
.aba-modal .contact-form--lead input {
  width: 100%; color: var(--aba-ink); background: #fff;
  border: 1px solid #cfd4d9; border-radius: 10px; padding: .7rem .85rem;
}
.aba-modal .contact-form--lead input::placeholder { color: #9aa0a6; }
.aba-modal .contact-form--lead input:focus { border-color: var(--aba-green); box-shadow: 0 0 0 3px rgba(2,202,2,.2); }
.aba-modal .contact-form--lead .btn { margin-top: .5rem; justify-self: start; width: auto; }
.field__req { color: var(--aba-green-dark, #02a002); }

/* Credit account application modal — green card, two-column pill fields (Figma) */
.aba-modal--credit .aba-modal__dialog { width: min(100%, 720px); background: #161616; border: 1px solid rgba(255,255,255,.12); color: #fff; }
.aba-modal--credit .aba-modal__close { color: #fff; }
.aba-modal--credit .aba-modal__close:hover { background: rgba(255,255,255,.18); color: #fff; }
.aba-modal--credit .aba-modal__title { color: #fff; font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.aba-modal--credit .aba-modal__lead { color: rgba(255,255,255,.9); }
.aba-modal--credit .contact-form--credit { display: block; }
.aba-modal--credit .contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: .8rem; }
.aba-modal--credit .field { margin: 0; }
.aba-modal--credit .field--half { width: calc(50% - .4rem); }
.aba-modal--credit input,
.aba-modal--credit select {
  width: 100%; background: rgba(255,255,255,.04); color: #fff;
  border: 1px solid rgba(255,255,255,.26); border-radius: 999px;
  padding: .7rem 1.1rem; font-size: .95rem;
}
.aba-modal--credit input::placeholder { color: rgba(255,255,255,.55); }
.aba-modal--credit select { color: rgba(255,255,255,.6); }
.aba-modal--credit select option { color: var(--aba-ink); }
.aba-modal--credit input:focus,
.aba-modal--credit select:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.aba-modal--credit .btn--green {
  margin-top: .4rem; justify-self: end; width: auto;
  background: #fff; color: var(--aba-ink); border: 0;
}
.aba-modal--credit .btn--green:hover { background: var(--aba-ink); color: #fff; }
@media (max-width: 640px) {
  .aba-modal--credit .contact-form__row { grid-template-columns: 1fr; }
  .aba-modal--credit .field--half { width: 100%; }
}

/* ==========================================================================
   ABA Motion — per-section reveal variants + parallax + hero load-in
   ========================================================================== */
[data-aba-anim] { opacity: 0; will-change: opacity, transform; transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
[data-aba-anim="fade-up"] { transform: translateY(30px); }
[data-aba-anim="left"] { transform: translateX(-44px); }
[data-aba-anim="right"] { transform: translateX(44px); }
[data-aba-anim="zoom"] { transform: scale(.94); }
[data-aba-anim].is-in { opacity: 1; transform: none; }

[data-aba-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  [data-aba-anim] { opacity: 1 !important; transform: none !important; }
  [data-aba-parallax] { transform: none !important; }
}
/* Mobile: background-layer parallax makes the header image track down the page
   over the body copy (hard to read, esp. the About header). Desktop keeps it;
   on phones it's pinned so the image stays put behind its own section. */
@media (max-width: 768px) {
  [data-aba-parallax] { transform: none !important; }
}

/* Hero load-in: content is visible by default; animates when .is-loaded is set,
   so a JS failure simply leaves everything shown. */
@keyframes abaHeroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero.is-loaded .hero__content > *,
.crane-hero.is-loaded .crane-hero__inner > * { animation: abaHeroIn .85s cubic-bezier(.2, .7, .2, 1) both; }
.hero.is-loaded .hero__content > *:nth-child(2),
.crane-hero.is-loaded .crane-hero__inner > *:nth-child(2) { animation-delay: .08s; }
.hero.is-loaded .hero__content > *:nth-child(3),
.crane-hero.is-loaded .crane-hero__inner > *:nth-child(3) { animation-delay: .16s; }
.hero.is-loaded .hero__content > *:nth-child(4),
.crane-hero.is-loaded .crane-hero__inner > *:nth-child(4) { animation-delay: .24s; }
.hero.is-loaded .hero__content > *:nth-child(5),
.crane-hero.is-loaded .crane-hero__inner > *:nth-child(5) { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .hero.is-loaded .hero__content > *,
  .crane-hero.is-loaded .crane-hero__inner > * { animation: none; }
}

/* ==========================================================================
   SINGLE CRANE (fleet) detail page
   ========================================================================== */
.crane-hero { position: relative; background-size: cover; background-position: center; min-height: clamp(460px, 66vh, 640px); display: flex; align-items: flex-end; }
.crane-hero:not(.has-bg) { background: linear-gradient(135deg, #10240c, var(--aba-ink)); }
.crane-hero__scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,11,11,.2) 0%, rgba(11,11,11,.4) 45%, rgba(11,11,11,.8) 100%); }
.crane-hero__inner { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 900px; }
.crane-hero__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: #fff; font-size: var(--fs-hero); margin: .4rem 0 1rem; }
.crane-hero__intro { color: rgba(255,255,255,.82); max-width: 62ch; }
.crane-hero__intro p { margin: 0 0 .8rem; }
.crane-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }

.crane-block { background: #0e0e0e; }   /* subtle dark tone so the angled edges show */
.crane-block.section--tint { background: rgba(255,255,255,.055); }
body.page-light .crane-block.section--tint { background: #eef1ec; }

/* Brand angled separators on the fixed crane sections (match the site's
   section separators). Padding is applied to the element itself here because
   these sections aren't wrapped by the section loader. */
.crane-hero.aba-edge--bottom { padding-bottom: calc(var(--edge-d) + clamp(2rem, 4vw, 3.5rem)); }
.crane-block.aba-edge--top { padding-top: calc(var(--edge-d) + clamp(2rem, 4vw, 3rem)); }
.crane-block.aba-edge--bottom { padding-bottom: calc(var(--edge-d) + clamp(2rem, 4vw, 3rem)); }
.crane-block.aba-edge--both { padding-top: calc(var(--edge-d) + clamp(2rem, 4vw, 3rem)); padding-bottom: calc(var(--edge-d) + clamp(2rem, 4vw, 3rem)); }
.crane-cta.aba-edge--top { padding-top: calc(var(--edge-d) + clamp(2rem, 4vw, 3rem)); }
.crane-block__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--aba-green); font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .3rem; }
.crane-block__eyebrow { font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; color: inherit; opacity: .8; margin: 0 0 1.2rem; }
.crane-block__lead { max-width: 70ch; margin: 0 0 1.2rem; opacity: .9; }

/* Spec table */
.crane-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; max-width: none; }
.crane-specs__row {
  display: block; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 1rem 1.2rem; transition: border-color .25s var(--ease), background .25s var(--ease);
}
.crane-specs__row:hover { border-color: rgba(2,202,2,.4); background: rgba(2,202,2,.05); }
body.page-light .crane-specs__row { background: #fff; border-color: rgba(0,0,0,.1); }
.crane-specs__label { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: var(--aba-green); margin-bottom: .3rem; }
.crane-specs__value { display: block; font-family: var(--font-body); color: #fff; font-size: 1.02rem; }
body.page-light .crane-specs__value { color: var(--aba-ink); }
@media (max-width: 640px) { .crane-specs { grid-template-columns: 1fr; } }
/* In the spec_table split layout the table sits in a narrower column — stack the cards */
.spec-split .crane-specs { grid-template-columns: 1fr; }

/* Bullet lists */
.crane-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-width: 900px; }
.crane-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 2rem; }
.crane-list li { position: relative; padding-left: 1.5rem; }
.crane-list li::before { content: "•"; position: absolute; left: 0; color: var(--aba-green); font-weight: 700; }
.crane-list--check li::before { content: ""; left: 0; top: .38em; width: .7rem; height: .38rem; border-left: 2px solid var(--aba-green); border-bottom: 2px solid var(--aba-green); transform: rotate(-45deg); }
/* Card-panel list: each item becomes a bordered panel with a green tick badge */
.crane-list--cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; max-width: none; }
.crane-list--cards li {
  padding: 1.1rem 1.25rem 1.1rem 3rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.crane-list--cards li::before {
  content: ""; position: absolute; left: 1rem; top: 1.15rem;
  width: 20px; height: 20px; border-radius: 50%; background: rgba(2,202,2,.16);
  border: 0; transform: none;
}
.crane-list--cards li::after {
  content: ""; position: absolute; left: 1.42rem; top: 1.5rem;
  width: .5rem; height: .28rem; border-left: 2px solid var(--aba-green); border-bottom: 2px solid var(--aba-green); transform: rotate(-45deg);
}
.crane-list--cards li:hover { border-color: rgba(2,202,2,.5); transform: translateY(-2px); background: rgba(2,202,2,.06); }
body.page-light .crane-list--cards li { background: #fff; border-color: rgba(0,0,0,.1); }
/* In the checklist split (list beside an image) the column is narrow — one card wide */
.crane-split__text .crane-list--cards { grid-template-columns: 1fr; }

.crane-diagrams { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.crane-diagrams img { width: 100%; height: auto; border-radius: var(--r-card); background: rgba(255,255,255,.05); }

/* Checklist with a side image / video */
/* align-items: stretch so the image column matches the text/list column height
   — the taller the bullet list, the taller the image (#2). */
.crane-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.crane-split--rev .crane-split__media { order: -1; }
.crane-split__media { display: flex; }
.crane-split__media img, .crane-split__media video { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--r-card); display: block; }
.crane-split__embed { position: relative; padding-top: 56.25%; border-radius: var(--r-card); overflow: hidden; }
.crane-split__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Full-bleed media — runs to the page edge on its side, full-height. */
.crane-split--bleed { align-items: stretch; }
.crane-split--bleed .crane-split__media { margin-right: calc(50% - 50vw); }
.crane-split--bleed.crane-split--rev .crane-split__media { margin-right: 0; margin-left: calc(50% - 50vw); }
.crane-split--bleed .crane-split__media img,
.crane-split--bleed .crane-split__media video { height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--r-card) 0 0 var(--r-card); }
/* Reversed (image bleeds off the LEFT) — round the two inner (right) corners */
.crane-split--bleed.crane-split--rev .crane-split__media img,
.crane-split--bleed.crane-split--rev .crane-split__media video { border-radius: 0 var(--r-card) var(--r-card) 0; }
.crane-split--bleed .crane-split__text { padding-block: clamp(1rem, 3vw, 2.5rem); }

@media (max-width: 820px) {
	.crane-split { grid-template-columns: 1fr; }
	.crane-split--rev .crane-split__media { order: 0; }
	.crane-split--bleed .crane-split__media { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
	/* Stacked: let the image take its natural height again (no list to match). */
	.crane-split__media img, .crane-split__media video { height: auto; min-height: 0; }
}

/* Spec table with a left-hand headline + copy column */
.spec-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.spec-split .crane-block__eyebrow { margin-bottom: .8rem; }
.spec-split__table { max-width: none; }
@media (max-width: 820px) { .spec-split { grid-template-columns: 1fr; } }

/* Related cranes */
.crane-related { display: flex; flex-wrap: wrap; gap: .8rem; }
.crane-related__card { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.2rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: inherit; text-decoration: none; font-weight: 600; transition: border-color .2s ease, transform .2s ease, background .2s ease, color .2s ease; }
body.page-light .crane-related__card { border-color: rgba(0,0,0,.15); background: #fff; }
a.crane-related__card:hover { border-color: var(--aba-green); background: rgba(2,202,2,.1); color: var(--aba-green); transform: translateY(-2px); }
.crane-related__card .btn__ico { color: var(--aba-green); transition: transform .25s var(--ease); }
a.crane-related__card:hover .btn__ico { transform: translateX(3px); }

/* Closing CTA */
.crane-cta { background: radial-gradient(120% 140% at 0% 0%, #3ae63a, #0c6a0c); }
.crane-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.crane-cta__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .4rem; }
.crane-cta__text { color: rgba(255,255,255,.9); margin: 0; max-width: 60ch; }
@media (max-width: 700px) { .crane-list--cols { grid-template-columns: 1fr; } .crane-specs__row { grid-template-columns: 1fr; gap: .2rem; } }

/* Fleet grouped by category */
.fleet-grouped .fleet-group { margin-top: clamp(2rem, 4vw, 3rem); }
.fleet-group__head { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem; }
.fleet-group__name { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin: 0; color: inherit; white-space: nowrap; }
.fleet-group__name a { color: inherit; text-decoration: none; }
.fleet-group__name a:hover { color: var(--aba-green); }
.fleet-group__rule { flex: 1; height: 1px; background: rgba(0,0,0,.12); }

/* ==========================================================================
   Reviews slider (Google-style review cards on a dark track)
   ========================================================================== */
.reviews { background: #0B0B0B; color: #fff; }
.reviews .wrap--nav { position: relative; }

/* Top progress bar (driven by --cat-progress from the slider JS) */
.reviews__progress {
  display: block; height: 3px; width: 100%; margin: 0 0 clamp(2rem, 5vw, 3.4rem);
  border-radius: 3px; background: rgba(255,255,255,.14); position: relative; overflow: hidden;
}
.reviews__progress::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: calc(max(14%, var(--cat-progress, 0) * 100%)); background: var(--aba-green);
  border-radius: 3px; transition: width .2s ease;
}

.reviews__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.reviews__title { font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0; line-height: 1; }
.reviews__summary { text-align: right; }
.reviews__stars { color: #fff; font-size: 1.5rem; letter-spacing: .14em; line-height: 1; }
.reviews__count { display: block; margin-top: .45rem; color: rgba(255,255,255,.7); font-size: .9rem; }

.reviews__actions { display: flex; gap: 1rem; margin: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(1.8rem, 4vw, 2.8rem); flex-wrap: wrap; }
.btn--grey { background: #4a4a4a; color: #fff; border: 0; }
.btn--grey:hover { background: #5c5c5c; color: #fff; }

/* Track + columns (name + timeline sit ABOVE each card) */
.reviews__track { display: flex; gap: clamp(1.2rem, 2.4vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review-col { flex: 0 0 clamp(300px, 32%, 420px); scroll-snap-align: start; background: transparent; border: 0; padding: 0; box-shadow: none; }
.review-col__name { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: #fff; font-size: 1.25rem; line-height: 1.2; }
.review-col__time { display: block; color: rgba(255,255,255,.55); font-size: .9rem; margin-top: .2rem; }
.review-col__line { position: relative; height: 1px; margin: 1rem 0 1.4rem; border-top: 1px dotted rgba(255,255,255,.35); }
.review-col__node { position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); transform: translate(-50%, -50%); }

.review-card { background: #141414; border: 1px solid rgba(255,255,255,.06); border-radius: 18px; padding: clamp(1.4rem, 2.4vw, 2rem); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.review-card__top { display: flex; align-items: center; gap: .8rem; }
.review-card__stars { color: var(--aba-green); letter-spacing: .1em; font-size: 1.35rem; line-height: 1; }
.review-card__verified { color: rgba(255,255,255,.75); font-size: .78rem; font-weight: 600; }
.review-card__g { margin-left: auto; display: inline-flex; }
.review-card__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; color: #fff; font-size: clamp(1rem, 1.4vw, 1.15rem); margin: 1.2rem 0 .8rem; }
.review-card__text { color: rgba(255,255,255,.72); line-height: 1.6; margin: 0 0 1.4rem; }
.review-card__more {
  display: inline-block; margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  color: rgba(255,255,255,.62); font: inherit; font-size: .92rem; text-decoration: underline;
  text-underline-offset: 3px; transition: color .2s var(--ease);
}
.review-card__more:hover { color: var(--aba-green); }

.reviews__foot { display: flex; justify-content: flex-end; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.reviews__nav { display: flex; gap: .8rem; }
.reviews__nav-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--aba-green); color: #08240a; border: 0; display: grid; place-items: center; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.reviews__nav-btn:hover { background: var(--aba-green-dark); color: #fff; }
.reviews__nav-btn:active { transform: scale(.94); }
.reviews__nav-btn:disabled { opacity: .4; cursor: default; }
@media (max-width: 640px) { .review-col { flex-basis: 84%; } }

/* ==========================================================================
   Crane category page — filterable crane grid
   ========================================================================== */
/* Pull the whole content up close under the hero */
.fleet-grid--dark { background: var(--aba-ink); color: #fff; padding-top: clamp(.4rem, 1.4vw, 1rem); }
/* #3 — Crane Category pages: tighten the padding around the tiles so the grid
   feels less sparse (smaller content inset + tighter gaps + trimmer section). */
.fleet-grid--category .fleet-card__inner { padding: clamp(1rem, 1.6vw, 1.4rem); }
.fleet-grid--category .fleet-grid__grid { gap: clamp(.6rem, 1vw, .9rem); }
.fleet-grid--category.fleet-grid.section { padding-block: clamp(1.25rem, 2.5vw, 2rem); }
/* Categories with only a few cranes were centred in a full-height section,
   leaving a big empty band above the tiles. Top-align the content and drop the
   forced full height so the grid sits right under the header. */
.fleet-grid--category.section { min-height: 0; justify-content: flex-start; }
.fleet-grid--dark .fleet-grid__title { color: #fff; }
.fleet-grid__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
/* Compact search pill (styled like the carousel arrow pills) with a bigger green
   icon that "spins through" on hover — same animation as the carousel arrows. */
.fleet-grid__search { display: inline-flex; align-items: center; gap: .3rem; background: rgba(255,255,255,.05); border: 1px solid rgba(2,202,2,.5); border-radius: 999px; padding: .25rem .8rem .25rem .45rem; height: 42px; color: #fff; }
.fleet-search__ico { display: grid; place-items: center; width: 30px; height: 30px; overflow: hidden; color: var(--aba-green); flex: 0 0 auto; }
.fleet-search__ico svg { width: 24px; height: 24px; }
.fleet-grid__search:hover .fleet-search__ico svg, .fleet-grid__search:focus-within .fleet-search__ico svg { animation: abaArrowThrough .55s var(--ease); }
.fleet-grid__search input { border: 0; background: transparent; outline: 0; font: inherit; width: 120px; min-width: 90px; color: #fff; }
.fleet-grid__search input::placeholder { color: rgba(255,255,255,.5); }
.fleet-grid__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.fleet-chip { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: #fff; border-radius: 999px; padding: .48rem 1.1rem; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fleet-chip:hover { border-color: var(--aba-green); }
.fleet-chip.is-active { background: var(--aba-green); color: #08240a; border-color: var(--aba-green); }
/* Full-card crane image behind the copy */
.fleet-card__media-link { position: absolute; inset: 0; z-index: 0; display: block; }
.fleet-card__tag { position: absolute; top: .8rem; left: .8rem; z-index: 2; background: rgba(2,202,2,.94); color: #08240a; font-size: .72rem; font-weight: 700; padding: .28rem .7rem; border-radius: 999px; }
.fleet-card__inner { pointer-events: none; }
.fleet-card__inner a { pointer-events: auto; }
.fleet-grid__cta-after { display: flex; justify-content: center; margin-top: clamp(2.2rem, 5vw, 3.5rem); }
.fleet-grid__empty { color: rgba(255,255,255,.7); padding: 2rem 0; text-align: center; }
[data-fleet-card][hidden] { display: none; }
/* Title white + display font (over the image), regardless of section scheme */
.fleet-card__title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin: 0; color: #fff; transition: color .25s var(--ease); }

/* ==========================================================================
   Single crane page — key-spec highlight strip + related-cards title
   ========================================================================== */
.crane-highlights-sec { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.crane-highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; overflow: hidden;
}
.crane-highlight { padding: clamp(1.2rem, 2.4vw, 1.9rem); text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.crane-highlight:first-child { border-left: 0; }
.crane-highlight__label { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: .5rem; }
.crane-highlight__value { display: block; font-family: var(--font-display); font-weight: 700; color: var(--aba-green); font-size: clamp(1.1rem, 2vw, 1.7rem); line-height: 1.12; }
@media (max-width: 720px) {
  .crane-highlights { grid-template-columns: repeat(2, 1fr); }
  .crane-highlight:nth-child(odd) { border-left: 0; }
  .crane-highlight:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
.crane-block__title-sub { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--aba-green); margin-left: .6rem; vertical-align: middle; }

/* ==========================================================================
   Checklist mini-cards: reveal one-by-one as the list scrolls into view
   ========================================================================== */
.crane-list--cards.stagger li { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.crane-list--cards.stagger.is-in li { opacity: 1; transform: none; }
.crane-list--cards.stagger.is-in li:nth-child(1) { transition-delay: 0.09s; }
.crane-list--cards.stagger.is-in li:nth-child(2) { transition-delay: 0.18s; }
.crane-list--cards.stagger.is-in li:nth-child(3) { transition-delay: 0.27s; }
.crane-list--cards.stagger.is-in li:nth-child(4) { transition-delay: 0.36s; }
.crane-list--cards.stagger.is-in li:nth-child(5) { transition-delay: 0.45s; }
.crane-list--cards.stagger.is-in li:nth-child(6) { transition-delay: 0.54s; }
.crane-list--cards.stagger.is-in li:nth-child(7) { transition-delay: 0.63s; }
.crane-list--cards.stagger.is-in li:nth-child(8) { transition-delay: 0.72s; }
.crane-list--cards.stagger.is-in li:nth-child(9) { transition-delay: 0.81s; }
.crane-list--cards.stagger.is-in li:nth-child(10) { transition-delay: 0.90s; }
.crane-list--cards.stagger.is-in li:nth-child(11) { transition-delay: 0.99s; }
.crane-list--cards.stagger.is-in li:nth-child(12) { transition-delay: 1.08s; }
.crane-list--cards.stagger.is-in li:nth-child(13) { transition-delay: 1.17s; }
.crane-list--cards.stagger.is-in li:nth-child(14) { transition-delay: 1.26s; }
.crane-list--cards.stagger.is-in li:nth-child(15) { transition-delay: 1.35s; }
.crane-list--cards.stagger.is-in li:nth-child(16) { transition-delay: 1.44s; }
@media (prefers-reduced-motion: reduce) {
  .crane-list--cards.stagger li { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Image gallery section + lightbox
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(var(--gal-cols, 3), 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.gallery-grid__item { margin: 0; }
.gallery-grid__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; }
.gallery-grid__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.gallery-grid__btn:hover img { transform: scale(1.06); }
.gallery-grid__zoom { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity .25s ease, background .25s ease; }
.gallery-grid__btn:hover .gallery-grid__zoom { opacity: 1; background: rgba(11,11,11,.35); }
.gallery-grid__cap { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: .5rem; }
body.page-light .gallery-grid__cap { color: var(--aba-muted); }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

.img-lb { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); }
.img-lb.is-open { display: flex; }
.img-lb__bg { position: absolute; inset: 0; background: rgba(0,0,0,.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.img-lb__img { position: relative; z-index: 1; max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.6); transform: scale(.9); transition: transform .35s var(--ease); }
.img-lb.is-open .img-lb__img { transform: scale(1); }
.img-lb__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--aba-green); color: #08240a; display: grid; place-items: center; cursor: pointer; }
.img-lb__close:hover { background: var(--aba-green-dark); color: #fff; }
.img-lb__stage { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; max-width: 100%; }
.img-lb__cap { color: #fff; font-size: .95rem; text-align: center; max-width: 60ch; opacity: .85; }
.img-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s var(--ease); }
.img-lb__nav:hover { background: var(--aba-green); color: #08240a; }
.img-lb__nav--prev { left: clamp(.6rem, 3vw, 2rem); }
.img-lb__nav--next { right: clamp(.6rem, 3vw, 2rem); }
.img-lb__nav[hidden] { display: none; }
.img-lb__counter { position: absolute; bottom: clamp(1rem, 4vw, 2.2rem); left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: .9rem; letter-spacing: .04em; background: rgba(0,0,0,.45); padding: .3rem .8rem; border-radius: 999px; }
.img-lb__counter[hidden] { display: none; }

/* Gallery library tile is a button — reset native chrome, keep the tile look. */
.gallery-card .project-card__media { appearance: none; -webkit-appearance: none; border: 0; padding: 0; margin: 0; width: 100%; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.gallery-card__count { position: absolute; top: .55rem; right: .55rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; background: rgba(0,0,0,.6); color: #fff; font-size: .8rem; font-weight: 600; line-height: 1; padding: .35rem .55rem; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gallery-card__count svg { display: block; }

/* ==========================================================================
   Robust: ANY checklist that sits directly in a crane-block (i.e. not beside
   side-media) becomes mini cards + staggers in — regardless of modifier class,
   so it works even if older cached markup is served.
   ========================================================================== */
.crane-block > .wrap--nav > ul.crane-list {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; max-width: none;
}
.crane-block > .wrap--nav > ul.crane-list > li {
  padding: 1.1rem 1.25rem 1.1rem 3rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  transition: border-color .25s var(--ease), transform .65s var(--ease), background .25s var(--ease), opacity .65s var(--ease);
}
body.page-light .crane-block > .wrap--nav > ul.crane-list > li { background: #fff; border-color: rgba(0,0,0,.1); }
.crane-block > .wrap--nav > ul.crane-list > li::before {
  content: ""; position: absolute; left: 1rem; top: 1.15rem;
  width: 20px; height: 20px; border-radius: 50%; background: rgba(2,202,2,.16); border: 0; transform: none;
}
.crane-block > .wrap--nav > ul.crane-list > li::after {
  content: ""; position: absolute; left: 1.42rem; top: 1.5rem;
  width: .5rem; height: .28rem; border-left: 2px solid var(--aba-green); border-bottom: 2px solid var(--aba-green); transform: rotate(-45deg);
}
.crane-block > .wrap--nav > ul.crane-list > li:hover { border-color: rgba(2,202,2,.5); transform: translateY(-2px); background: rgba(2,202,2,.06); }
/* stagger reveal */
.crane-block > .wrap--nav > ul.crane-list.stagger > li { opacity: 0; transform: translateY(16px); }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li { opacity: 1; transform: none; }

.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(1) { transition-delay: 0.09s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(2) { transition-delay: 0.18s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(3) { transition-delay: 0.27s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(4) { transition-delay: 0.36s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(5) { transition-delay: 0.45s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(6) { transition-delay: 0.54s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(7) { transition-delay: 0.63s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(8) { transition-delay: 0.72s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(9) { transition-delay: 0.81s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(10) { transition-delay: 0.90s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(11) { transition-delay: 0.99s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(12) { transition-delay: 1.08s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(13) { transition-delay: 1.17s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(14) { transition-delay: 1.26s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(15) { transition-delay: 1.35s; }
.crane-block > .wrap--nav > ul.crane-list.stagger.is-in > li:nth-child(16) { transition-delay: 1.44s; }
@media (prefers-reduced-motion: reduce){ .crane-block > .wrap--nav > ul.crane-list.stagger > li { opacity:1 !important; transform:none !important; } }

/* ==========================================================================
   Contact — split design (info left, glass form panel right, over crane bg)
   ========================================================================== */
.contact--split { color: #fff; }
.contact--split .contact__overlay { background: linear-gradient(180deg, rgba(11,11,11,.6), rgba(11,11,11,.82)); }
.contact__grid2 { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__info { color: #fff; }
.contact__em-h { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; color: rgba(255,255,255,.85); margin: 0 0 1.4rem; }
.contact__callon { text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); font-size: .85rem; margin: 0 0 .3rem; }
.contact__bignum { display: inline-block; font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: clamp(1.8rem, 4.6vw, 3rem); line-height: 1; text-decoration: none; margin: 0 0 1.6rem; transition: color .2s ease; }
.contact__bignum:hover { color: var(--aba-green); }
.contact__offices { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.contact__office span { display: block; color: var(--aba-green); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .15rem; }
.contact__office p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; white-space: pre-line; line-height: 1.5; }
.contact__urgent { font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.25; margin: 0 0 1.2rem; max-width: 24ch; }
.contact__formpanel { background: rgba(11,11,11,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.5rem); }
.contact__formpanel .contact__form { background: transparent; border: 0; padding: 0; box-shadow: none; }
.contact__formpanel .contact__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .5rem; }
.contact__formpanel .contact__intro { color: rgba(255,255,255,.8); margin: 0 0 1.2rem; }
@media (max-width: 860px) { .contact__grid2 { grid-template-columns: 1fr; } }

/* Contact — "What Happens Next" numbered card band */
.contact__next { position: relative; z-index: 1; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.contact__next-title { font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: .3rem 0 clamp(1.5rem, 3vw, 2.2rem); }
.contact__steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.contact__step { position: relative; background: rgba(11,11,11,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-card); padding: clamp(1.4rem, 2.4vw, 2rem); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.contact__step:hover { border-color: rgba(2,202,2,.45); transform: translateY(-2px); }
.contact__step-num { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--aba-green); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; margin-bottom: .3rem; }
.contact__step-accent { display: block; height: 0; border-top: 1px dotted rgba(255,255,255,.3); margin: .6rem 0 .9rem; position: relative; }
.contact__step-accent::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; border-top: 2px solid var(--aba-green); }
.contact__step p { margin: 0; color: rgba(255,255,255,.9); }
@media (max-width: 700px) { .contact__steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Why-choose — full background-image variant (heading + buttons top, list over
   the image bottom-left, active reason highlighted with a green line).
   ========================================================================== */
.why--bg { position: relative; overflow: hidden; min-height: clamp(460px, 66vh, 640px); display: flex; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.why--bg::before, .why--bg::after { display: none !important; }
.why--bg .why__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,11,11,.45) 0%, rgba(11,11,11,.55) 45%, rgba(11,11,11,.85) 100%); }
/* Keep the content in the site's centred column instead of hugging the browser edge */
.why--bg .wrap--nav { position: relative; z-index: 1; width: 100%; max-width: var(--wrap, 1240px); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); display: flex; flex-direction: column; }
.why--bg .why__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.why--bg .why__title { color: #fff !important; font-size: var(--fs-section) !important; margin: 0; }
.why--bg .why__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
/* The reasons list sits just below the heading/buttons */
.why--bg .why__tabs--list { position: relative; display: grid; gap: .15rem; max-width: 720px; margin-top: clamp(1.75rem, 4vw, 2.75rem); padding-top: 0; padding-left: 1.6rem; }
/* Vertical track + a green dot that slides to the active reason */
.why__reel-line { position: absolute; left: 5px; top: .6em; bottom: .6em; width: 2px; background: rgba(255,255,255,.22); }
.why__reel-dot { position: absolute; left: 5px; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--aba-green); box-shadow: 0 0 12px 2px rgba(2,202,2,.7); transform: translate(-50%, -50%); transition: top .5s cubic-bezier(.4,.05,.2,1); z-index: 1; }
.why--bg .why__tab {
  position: relative; display: block; text-align: left; background: transparent; border: 0;
  padding: .55rem 0 .55rem 1.3rem; cursor: pointer; color: rgba(255,255,255,.45);
  font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.4; transition: color .35s var(--ease);
}
.why--bg .why__tab.is-active { color: #fff; }
.why--bg .why__tab-title { font-weight: 700; margin-right: .4rem; }
.why--bg .why__tab-text { color: inherit; }

/* ==========================================================================
   TYPOGRAPHY PASS 2 — intro/lead copy matches standard body size everywhere
   (hero subtext, service headers, fleet page headers, all section intros).
   Placed late so it wins over the per-section sizes above.
   ========================================================================== */
.lead,
[class*="__intro"], [class*="__lead"], [class*="__desc"],
.why__desc p, .sector-single__intro p, .crane-hero__intro p {
  font-size: var(--fs-body);
}
/* Small green sub-labels are not body copy — keep them small */
.crane-block__title-sub { font-size: .7rem; }

/* ==========================================================================
   SCROLL HIGHLIGHT — section headings dim, then light up as they scroll in
   (Joby-style). Colour-agnostic: fades the heading's own colour up to full.
   The cat-slider keeps its dedicated grey→white treatment (excluded in JS).
   ========================================================================== */
.aba-hl { opacity: .28; transition: opacity 1.9s var(--ease), transform 1.9s var(--ease); will-change: opacity, transform; transform: translateY(.25rem); }
.aba-hl.is-lit { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .aba-hl { opacity: 1 !important; transform: none !important; transition: none; } }

/* ==========================================================================
   STACKING CARDS — a section set to LIGHT pins to the top like a card and
   covers the section before it; the next section then scrolls up in front of
   it (deck-shuffle effect). Only light sections become cards.
   Needs a browser with :has() (all current evergreen browsers).
   ========================================================================== */
@media (min-width: 768px) {
  /* Every section gets a solid opaque base so a pinned light card can NEVER
     show through a later section (fixes the white bleed-through). Sections that
     carry their own background image paint it on the inner .section, above this
     base, so imagery is unaffected. */
  main > * { background-color: var(--aba-bg); }
  main > .section--light,
  main > .aba-scheme--light { background-color: #fff; }

  /* Light sections always clip their own background imagery. */
  main > .section--light,
  main > .aba-scheme--light,
  main > *:has(> .section--light) { overflow: hidden; }

  /* HOMEPAGE ONLY: light sections pin as rounded cards for the deck-shuffle
     effect. On interior pages (services, case studies, sectors) this same deck
     pinned sections like the accreditations block and let the next section slide
     over it — the "accreditations clashing with FAQs" / "last sections
     overlapping" bugs. Scoping the pin to the front page fixes that whole class
     while keeping the homepage effect intact. */
  body.home main > .section--light,
  body.home main > .aba-scheme--light,
  body.home main > *:has(> .section--light) {
    position: sticky; top: 0;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -26px 60px rgba(0,0,0,.45);
  }
  /* The section directly ABOVE a light card pins too, so the white card
     visibly slides up and over it as you scroll (rather than following it up). */
  body.home main > *:has(+ .section--light),
  body.home main > *:has(+ .aba-scheme--light) { position: sticky; top: 0; }
  /* Keep the covering section painting above the pinned card. */
  main > .section--light + *,
  main > .aba-scheme--light + *,
  main > *:has(> .section--light) + * { position: relative; z-index: 1; }

  /* TALL sections — pinning them as a card crops their content and lets the
     next section slide up and hide most of it. Let them scroll normally
     instead, and don't pin the section above them either.
     Applies to: the crane fleet grid and the sectors hub (a very tall page).
     NOTE: use position:relative (NOT static) everywhere — these sections and
     the hero above them contain absolutely-positioned children (crane image,
     hero video); position:static would let those children escape and fill the
     whole page. */
  /* NOTE: scoped to body.home to MATCH the specificity of the pinning rule
     above (body.home …). Without the body.home prefix these were lower
     specificity and the pin won, so fleet-grid got pinned and cropped — the
     homepage "elements sliding over each other" regression. */
  body.home main > .fleet-grid,
  body.home main > .sectors-hub,
  body.home main > *:has(.fleet-grid),
  body.home main > *:has(.sectors-hub) { position: relative; }
  /* Undo the pinned-card chrome on the wrapper only (never the inner section,
     whose overflow:hidden must stay to clip its background image). */
  body.home main > *:has(.fleet-grid),
  body.home main > *:has(.sectors-hub) { border-radius: 0; box-shadow: none; overflow: visible; }
  /* sectors-hub is a very tall PAGE — keep the section above it unpinned so it
     scrolls in normally (pinning would crop the hub). */
  body.home main > *:has(+ .sectors-hub) { position: relative; }
  body.home main > *:has(.sectors-hub) + * { position: relative; z-index: 0; }

  /* fleet-grid (homepage "A Modern Crane Fleet"): it must NOT pin itself (that
     crops the grid), but the client wants it to SLIDE UP over the section above
     rather than sit static. So pin the section directly above fleet, and lift
     fleet above it so it rises over the pinned card as you scroll. Fleet stays
     position:relative (never static → keeps its own layout intact). */
  body.home main > *:has(+ .fleet-grid) { position: sticky; top: 0; }
  body.home main > .fleet-grid,
  body.home main > *:has(.fleet-grid) { z-index: 1; }
  /* The section that follows fleet slides up over it in turn. */
  body.home main > *:has(.fleet-grid) + * { position: relative; z-index: 2; }

  /* Contact page: the enquiry section carries a "What happens next" block at its
     foot; don't pin it (or let the following section slide up over it) or the
     next-steps get covered before you can read them. */
  body.home main > .contact,
  body.home main > *:has(.contact),
  body.home main > *:has(+ .contact) { position: relative; }
  body.home main > *:has(.contact) + * { position: relative; z-index: 0; }

  /* Team section is tall — don't pin it as a card or the next section slides up
     and crops the last team members. */
  body.home main > .team,
  body.home main > *:has(.team),
  body.home main > *:has(+ .team) { position: relative; }
  body.home main > *:has(.team) + * { position: relative; z-index: 0; }

  /* Don't fade whole sections in over the stack — the opacity fade let a pinned
     card behind briefly show through the next section as it appeared. Sections
     are opaque full-height cards, so they just need to arrive, not fade. */
  main > [data-aba-anim] { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   NAV LOGO MARK — tint the uploaded mark to the exact brand green at full
   strength (CSS mask keeps the logo's own shape; same-origin in production).
   ========================================================================== */
.brand-mark--tint { position: relative; display: inline-flex; flex: 0 0 auto; }
.brand-mark--tint img { display: block; height: 100%; width: auto; visibility: hidden; }
.brand-mark--tint::after {
  content: ""; position: absolute; inset: 0;
  background: var(--logo-green, var(--aba-green));
  -webkit-mask: var(--mark) no-repeat center / contain;
          mask: var(--mark) no-repeat center / contain;
}

/* ==========================================================================
   FULL-HEIGHT SECTIONS — major content sections fill the viewport so smaller
   ones don't feel out of place. Compact utility bands are excluded.
   ========================================================================== */
@media (min-width: 768px) {
  .section:not(.section--tight):not(.cta-band):not(.emergency):not(.hero):not(.case-single__hero):not(.page-plain):not(.video-block):not(.aba-ticker-section):not(.single-cta):not(.case-single__cta-band) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
