/* ==========================================================================
   Boss Waste — homepage pass
   Loaded after styles.css and styles-light.css by index.html only.

   styles-light.css already binds the exact palette this design specifies
   (#46913a, #68c858, #e7e7e7, #d2d2d2, #101315, #3a3a3b, #6b6b6c), so this
   sheet carries only what is genuinely new to the homepage:

     - a sticky white header with two mega-menu panels
     - the dark opening band with its 52% photo bleed (holds the <h1>)
     - 4 + 4 service cards with corner watermark icons, in two tinted panels
     - the Boss Group Services sister-company block
     - white stat tiles with the glyph moved to the top-right

   It must load LAST: it writes :root at the same specificity as
   styles-light.css:20, so source order is what decides.

   Contents mirror styles.css section for section.
   ========================================================================== */


/* ==========================================================================
   01  Design tokens — homepage top-up
   ========================================================================== */

:root {
  /* Neutral steps styles.css does not define */
  --n-100: #f5f6f7;
  --n-300: #c3c8cd;
  --n-400: #8f979e;
  --n-700: #33383c;

  /* The palest green — the domestic panel's tint */
  --green-100: #e9f8ec;

  /* A third surface, one step down from paper */
  --paper-2: #e8eaec;
  --bg-sunken: var(--paper-2);

  /* The design names its CTA separately from the orange ramp so the accent
     can be flipped to green in one place. */
  --cta: var(--orange-500);
  --cta-h: var(--orange-600);
  --cta-ink: var(--orange-ink);

  --border-strong: var(--lt-strong);

  /* Shallower than --shadow-2, for resting cards */
  --shadow-1: 0 1px 2px rgba(20, 24, 26, .06);

  /* The sticky header's real height, so :target jumps clear it. */
  --header-h: 84px;
}


/* ==========================================================================
   02  Base elements
   ========================================================================== */

/* styles.css:223 hardcodes an id list tuned for the old 72px floating pill
   and does not know this page's anchors. One rule replaces it. */
:target,
[id="main"],
[id="services"],
[id="area"] {
  scroll-margin-top: calc(var(--header-h) + var(--sp-4));
}

/* The opening band is dark, so the eyebrow's green has to brighten on it. */
.bw-band--dark .bw-eyebrow,
.bw-sister .bw-eyebrow {
  color: var(--lt-green-bright);
}


/* ==========================================================================
   05  Buttons
   ========================================================================== */

/* styles.css only ships primary and secondary; "Load more" is an outline
   button on a white ground. */
.bw-btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-heading);
}

.bw-btn--outline:hover {
  background: var(--n-100);
  border-color: var(--n-400);
  color: var(--text-heading);
  transform: translateY(-1px);
}


/* ==========================================================================
   07  Header, navigation and mega menu
   ========================================================================== */

/* A full-width sticky band, not the old floating pill. isolation:isolate
   gives the mega panel its own stacking context above the dark band. */
.bw-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-hairline);
  isolation: isolate;
}

/* overflow:hidden in styles.css:458 would clip the mega panel dead — this
   reads as "the mega menu is broken" but is purely a paint problem. */
.bw-header__bar {
  gap: var(--sp-6);
  max-width: var(--page-max);
  height: auto;
  padding: var(--sp-3) var(--gutter);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.bw-header__brand img {
  height: 52px;
}

/* The design right-aligns the nav rather than centring it, so the nav must
   stop being the flex spacer. align-self:stretch overrides the bar's
   align-items:center so the nav fills the bar's height — see the item below. */
.bw-header__nav {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: stretch;
}

/* height:100% matters — the nav stretches, but without this the list is only
   as tall as its text and the items shrink back to the link's own height. */
.bw-navlist {
  justify-content: flex-end;
  align-items: stretch;
  height: 100%;
  gap: var(--sp-5);
}

/* Each item fills the bar's full height while its link stays optically
   centred. Without this the item's box stops at the text, leaving a few dead
   pixels between the link and the panel's hover bridge — the pointer crosses
   them on the way to the menu and the menu shuts in its face. */
.bw-navlist__item {
  display: flex;
  align-items: center;
}

/* Deliberately NOT position:relative — the panel below resolves its left and
   right against .bw-header (sticky counts as positioned), so it spans the
   container instead of the width of one nav item. */
.bw-navlist__link {
  padding-bottom: 3px;
}

.bw-header__actions {
  margin-left: 0;
}

.bw-quote {
  height: 42px;
  padding-inline: var(--sp-5);
  background: var(--cta);
  color: var(--cta-ink);
  font-size: var(--fs-caption);
  letter-spacing: .1em;
}

.bw-quote:hover {
  background: var(--cta-h);
  color: var(--cta-ink);
}

.bw-burger {
  width: 42px;
  height: 42px;
}

/* --- the offcanvas ------------------------------------------------------- */

/* The mega panels are desktop-only, so this list carries all eight services
   as well as the four top-level links. At the base sheet's row height those
   ten rows push the quote button and the phone number off a phone screen, so
   the rows are tightened until the whole menu lands above the fold. */
.bw-offcanvas .offcanvas-header {
  padding: var(--sp-4) var(--sp-5);
}

.bw-offcanvas .offcanvas-body {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
}

.bw-offcanvas__list {
  margin-bottom: var(--sp-5);
}

.bw-offcanvas__list a {
  padding-block: var(--sp-2);
  font-size: var(--fs-body-lg);
  line-height: 1.3;
}

.bw-offcanvas__tel {
  margin-top: var(--sp-4);
}

/* The floating WhatsApp pill is fixed to the viewport and lands on top of the
   menu's own quote button once the menu is open. */
body:has(.offcanvas.show) .bw-wa {
  display: none;
}


/* --- the panels ---------------------------------------------------------- */

.bw-mega {
  display: none;
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-top: none;
  box-shadow: var(--shadow-3);
}

/* Bridges the header's bottom padding. The panel is a DESCENDANT of the nav
   item, so hovering this invisible strip keeps :hover true on the item even
   though it sits outside the item's own box — which is what stops the menu
   collapsing as the pointer travels down into it. */
.bw-mega::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 100%;
  height: var(--sp-4);
}

/* CSS alone opens and closes it. Because the trigger lives inside the same
   <li>, :focus-within fires on Tab — so the keyboard path needs no JS, and
   display:none keeps the panel's links out of the tab order until it opens. */
.bw-navlist__item--mega:hover > .bw-mega,
.bw-navlist__item--mega:focus-within > .bw-mega {
  display: block;
}

/* Escape sets this, so the panel can close without the pointer moving. */
.bw-navlist__item--mega.is-closed > .bw-mega {
  display: none;
}

.bw-mega__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.bw-mega__col {
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
}

.bw-mega__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 0 var(--sp-3) var(--sp-4);
}

.bw-mega__title {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0;
  font: 600 var(--fs-caption) / var(--lh-caption) var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-heading);
}

.bw-mega__title img {
  width: 24px;
  height: 24px;
}

.bw-mega__all {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border: none;
  font: 700 var(--fs-caption) / 1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-brand);
}

.bw-mega__item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-3);
  border: none;
  border-top: 1px solid var(--border-hairline);
  color: inherit;
  transition: background var(--dur-base) var(--ease-out);
}

.bw-mega__item:hover {
  background: #f1f2f2;
  color: inherit;
}

.bw-mega__icon {
  width: 30px;
  height: 30px;
  flex: none;
}

.bw-mega__text {
  flex: 1;
  min-width: 0;
}

.bw-mega__name {
  display: block;
  font: 700 var(--fs-body-sm) / 1.25 var(--font-display);
  color: var(--text-heading);
}

.bw-mega__desc {
  display: block;
  margin-top: 2px;
  font: 400 var(--fs-caption) / 1.5 var(--font-body);
  color: var(--text-muted);
}

.bw-mega__arrow {
  flex: none;
  color: var(--text-brand);
}

.bw-mega__tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--n-900);
}

/* One shot per menu item, stacked. Hovering or focusing an item raises its
   own; initMegaMenu moves .is-active. The first shot carries .is-active in
   the markup, so the tile is never empty and the panel still looks right
   with JavaScript switched off. */
.bw-mega__shot {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.bw-mega__shot.is-active {
  opacity: 1;
}

.bw-mega__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shared by the mega tile and the sister-company figure. */
.bw-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px var(--sp-4);
  background: var(--white);
  font: 600 var(--fs-caption) / var(--lh-caption) var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-heading);
}

.bw-badge--dark {
  padding: 10px var(--sp-4);
  background: var(--n-900);
  color: var(--text-on-dark);
  letter-spacing: .14em;
}

.bw-mega__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  background: #f7f7f7;
  border-top: 1px solid var(--border-hairline);
}

.bw-mega__note {
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

.bw-mega__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.bw-mega__tel {
  border: none;
  font: 700 var(--fs-body-lg) / 1 var(--font-display);
  color: var(--text-heading);
}

.bw-mega__tel:hover {
  color: var(--text-brand);
}


/* ==========================================================================
   08  Opening band — dark, with the photo bleeding off the right
   ========================================================================== */

.bw-band--dark {
  position: relative;
  overflow-x: clip;
  background: var(--n-900);
}

.bw-band__bleed {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  overflow: hidden;
  z-index: 0;
}

/* Fills the box exactly: initParallax applies its own scale(1.18) and
   translate, so oversizing here as well would double-crop the photo. */
.bw-band__bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

/* Cutout variant: the truck stands on the band's floor instead of a photo
   filling the box. No parallax here — initParallax's scale(1.18) would crop
   the cab. A soft green glow lifts the black body off the near-black band. */
.bw-band__bleed--cutout {
  overflow: visible;
}

.bw-band__bleed--cutout img {
  object-fit: contain;
  object-position: 55% 100%;
  padding-top: var(--sp-6);
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, .55));
}

.bw-band__inner {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(520px, 58vh, 680px);
  padding: var(--sp-9) var(--gutter);
}

/* The text column is capped on the elements, not with padding: percentage
   padding resolves against the viewport, so it shrank the column as the
   window grew. 560px keeps the payoff line to two words a line; the 48vw
   term keeps the text clear of the truck on narrower desktops. */
.bw-band__title,
.bw-band__lead {
  max-width: min(640px, 48vw - var(--gutter) - var(--sp-5));
}

/* Three-tier headline: a small, widely tracked kicker, a heavy ink line,
   then the green payoff at the largest size with a hard offset shadow. */
.bw-band__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: .95;
  letter-spacing: -.012em;
  color: var(--text-on-dark);
}

.bw-band__kicker {
  display: block;
  margin-bottom: .35em;
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.2;
  letter-spacing: .16em;
}

.bw-band__mid {
  display: block;
}

.bw-band__title .bw-heading__highlight {
  display: block;
  margin-top: .04em;
  font-weight: 800;
  font-size: clamp(50px, 5.8vw, 84px);
  line-height: .92;
  letter-spacing: -.02em;
  text-shadow: .045em .045em 0 var(--n-900);
}

.bw-band__lead {
  margin: var(--sp-4) 0 0;
  font-size: var(--fs-body-sm);
  color: rgba(247, 247, 247, .8);
}

.bw-band__cta {
  height: 52px;
  margin-top: var(--sp-5);
  padding-inline: var(--sp-6);
}


/* Light variant of the opening band. Add .bw-band--light beside
   .bw-band--dark on the section; remove it to go back to the dark band. */
.bw-band--light {
  background: var(--paper);
  border-bottom: 1px solid var(--border-hairline);
}

.bw-band--light .bw-eyebrow {
  color: var(--lt-green);
}

.bw-band--light .bw-band__title {
  color: var(--lt-ink);
}

.bw-band--light .bw-band__kicker {
  color: var(--lt-body);
}

.bw-band--light .bw-band__title .bw-heading__highlight {
  text-shadow: .045em .045em 0 var(--lt-ink);
}

.bw-band--light .bw-band__lead {
  color: var(--lt-body);
}

.bw-band--light .bw-band__bleed--cutout img {
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .30));
}


/* The rotating "25 years" stamp in the band's top-right corner. */
.bw-band__stamp {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  z-index: 2;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--n-900);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.bw-band__stamp-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--green-500);
  font: 700 12px var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bw-spin 28s linear infinite;
}

.bw-band__stamp-star {
  fill: var(--cta);
  font-size: 9px;
}

@keyframes bw-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bw-band__stamp-ring { animation: none; }
}

.bw-band__stamp-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid rgba(247, 247, 247, .18);
  color: var(--white);
  text-align: center;
}

.bw-band__stamp-num {
  font: 800 32px / 1 var(--font-display);
  letter-spacing: -.02em;
}

.bw-band__stamp-num sup {
  font-size: .5em;
  top: -.6em;
  color: var(--green-500);
}

.bw-band__stamp-label {
  margin-top: 2px;
  font: 700 9px / 1 var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247, 247, 247, .7);
}


/* ==========================================================================
   11b Ticker: the service list rolling under the band
   ========================================================================== */

.bw-ticker {
  overflow: hidden;
  background: var(--n-900);
  border-top: 1px solid rgba(247, 247, 247, .08);
}

.bw-ticker__track {
  display: flex;
  width: max-content;
  animation: bw-ticker 48s linear infinite;
}

.bw-ticker:hover .bw-ticker__track,
.bw-ticker:focus-within .bw-ticker__track {
  animation-play-state: paused;
}

.bw-ticker__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.bw-ticker__list li {
  display: flex;
  align-items: center;
}

.bw-ticker__list li::after {
  content: "\2726";
  margin-inline: var(--sp-6);
  font-size: 11px;
  color: var(--cta);
}

.bw-ticker__list a {
  display: block;
  padding-block: 14px;
  border: none;
  font: 800 var(--fs-body-sm) / 1 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-500);
  text-decoration: none;
}

.bw-ticker__list a:hover {
  color: var(--white);
}

@keyframes bw-ticker {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .bw-ticker__track { animation: none; width: auto; flex-wrap: wrap; }
  .bw-ticker__list { flex-wrap: wrap; justify-content: center; width: 100%; }
  .bw-ticker__list[aria-hidden="true"] { display: none; }
}


/* ==========================================================================
   12  Service band — two tinted panels, 4 cards each
   ========================================================================== */

.bw-routes {
  background: var(--white);
  border-top: 1px solid var(--border-hairline);
}

.bw-routes__inner {
  padding: var(--sp-8) var(--gutter) var(--sp-9);
}

/* Heading left, lead right, bottoms aligned. */
.bw-routes__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--sp-5) var(--sp-9);
  align-items: end;
  max-width: none;
  margin: 0 0 var(--sp-7);
}

.bw-routes__heading .bw-heading__highlight {
  text-wrap: nowrap;
}

.bw-routes__heading .bw-heading__lead {
  margin-top: 0;
  padding-bottom: .35em;
}

.bw-routes__panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
}

/* Deliberately class-based: styles.css:937 styles #svc-commercial and
   #svc-domestic at id specificity, which no class rule here could beat. */
.bw-route {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
}

.bw-route--commercial { background: var(--bg-sunken); }
.bw-route--domestic   { background: var(--green-100); }

.bw-route__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-bottom: var(--sp-2);
  color: var(--text-heading);
}

.bw-route__icon {
  width: 52px;
  height: 52px;
  flex: none;
}

/* min-width:0 lets the flex item shrink below its content width — without it
   the sub-heading props the row open and shoves the count pill off-screen. */
.bw-route__headtext {
  flex: 1;
  min-width: 0;
}

.bw-route__title {
  margin: 0;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--text-heading);
}

.bw-route--domestic .bw-route__title {
  color: var(--text-brand);
}

.bw-route__sub {
  margin: 4px 0 0;
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

.bw-route__count {
  flex: none;
  padding: 6px 20px 5px 12px;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
  background: var(--green-500);
  font: 800 var(--fs-caption) / var(--lh-caption) var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
}

.bw-route__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
  padding-top: var(--sp-5);
  flex: 1;
}

/* --- the cards ----------------------------------------------------------- */

/* Resets the dark sheet's hairline-above-the-card treatment (styles.css:989)
   into a self-contained white card. */
.bw-route .bw-svc {
  position: relative;
  overflow: hidden;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--border-hairline);
  border-top: 1px solid var(--border-hairline);
  background: var(--white);
  box-shadow: var(--shadow-1);
  color: inherit;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.bw-route .bw-svc:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
  z-index: 2;
}

/* The numbered tag in the card's top-left corner. */
.bw-svc__num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 5px 16px 4px 10px;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
  background: var(--cta);
  color: var(--cta-ink);
  font: 800 12px / 1 var(--font-display);
  letter-spacing: .12em;
}

.bw-route .bw-svc:has(.bw-svc__num) {
  padding-top: calc(var(--sp-5) + 14px);
}

/* The oversized icon bleeding off the top-right corner. */
.bw-svc__watermark {
  position: absolute;
  right: -22px;
  top: -22px;
  width: 120px;
  height: 120px;
  opacity: .06;
  pointer-events: none;
}

/* Domestic cards tint their watermark green rather than leaving it grey. */
.bw-route--domestic .bw-svc__watermark {
  opacity: .09;
  filter: invert(62%) sepia(42%) saturate(460%) hue-rotate(78deg) brightness(.95);
}

.bw-route .bw-svc__title {
  position: relative;
  margin-bottom: 0;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--text-heading);
}

.bw-route .bw-svc__text {
  position: relative;
  flex: 1;
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: var(--text-body);
}

.bw-route .bw-svc__foot {
  position: relative;
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border-hairline);
}

.bw-route .bw-readmore {
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
}

.bw-route .bw-svc__meta {
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-muted);
}


/* ==========================================================================
   12b  Boss Group Services — the sister-company block
   ========================================================================== */

.bw-sister {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  margin-top: var(--sp-7);
  background: var(--n-900);
}

.bw-sister__figure {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--n-900);
}

.bw-sister__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bw-sister__body {
  padding: var(--sp-7);
}

.bw-sister__title {
  margin: 0;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text-on-dark);
}

.bw-sister__lead {
  max-width: 52ch;
  margin: var(--sp-4) 0 var(--sp-5);
  font-size: var(--fs-body-sm);
  color: rgba(247, 247, 247, .78);
}

.bw-sister__list {
  display: flex;
  flex-direction: column;
}

.bw-numrow {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  border: none;
  border-top: 1px solid rgba(247, 247, 247, .18);
  color: inherit;
  transition: background var(--dur-base) var(--ease-out);
}

.bw-numrow:hover {
  background: rgba(247, 247, 247, .05);
  color: inherit;
}

.bw-numrow__num {
  flex: none;
  font: 700 var(--fs-caption) / 1.6 var(--font-display);
  color: var(--lt-green-bright);
}

.bw-numrow__text {
  flex: 1;
  min-width: 0;
}

.bw-numrow__title {
  display: block;
  font: 700 var(--fs-body-lg) / 1.2 var(--font-display);
  color: var(--text-on-dark);
}

.bw-numrow__desc {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: rgba(247, 247, 247, .78);
}

.bw-numrow__arrow {
  flex: none;
  margin-top: 4px;
  color: var(--lt-green-bright);
}


/* ==========================================================================
   12c Kit band: dark, heading beside the photo, four icon tiles below
   ========================================================================== */

.bw-kit {
  position: relative;
  overflow: hidden;
  background: var(--n-900);
  color: var(--text-on-dark);
}

/* The lion from the logo, huge and faint, bleeding off the right. */
.bw-kit::after,
.bw-closing::after {
  content: "";
  position: absolute;
  right: -4%;
  top: 50%;
  width: clamp(320px, 34vw, 560px);
  aspect-ratio: 175 / 252;
  transform: translateY(-50%) scaleX(-1);
  background: url("../images/brand/lion-white.png") center / contain no-repeat;
  opacity: .06;
  pointer-events: none;
}

.bw-kit__inner {
  position: relative;
  z-index: 1;
}

.bw-kit__inner {
  padding-block: var(--sp-9);
}

.bw-kit__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-8);
  align-items: center;
}

.bw-kit__head .bw-figure__frame {
  border-color: rgba(247, 247, 247, .14);
}

.bw-kit__head .bw-figure__caption {
  color: rgba(247, 247, 247, .55);
}

.bw-kit .bw-eyebrow {
  color: var(--lt-green-bright);
}

.bw-kit .bw-heading__title {
  color: var(--white);
}

.bw-kit .bw-heading__lead {
  color: rgba(247, 247, 247, .78);
}

.bw-kit__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  margin: var(--sp-8) 0 0;
  padding: 0;
  list-style: none;
}

.bw-kit__tile {
  position: relative;
  padding: var(--sp-5);
  background: rgba(247, 247, 247, .05);
  border: 1px solid rgba(247, 247, 247, .1);
}

.bw-kit__tile .bw-icon {
  width: 36px;
  height: 36px;
  stroke-width: 2.75;
  color: var(--green-500);
}

.bw-kit__kicker {
  margin: var(--sp-4) 0 var(--sp-2);
  font: 600 var(--fs-caption) / var(--lh-caption) var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247, 247, 247, .55);
}

.bw-kit__title {
  margin: 0;
  font: 800 var(--fs-h3) / 1.15 var(--font-display);
  text-transform: uppercase;
  color: var(--white);
}

.bw-kit__text {
  margin: var(--sp-3) 0 0;
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: rgba(247, 247, 247, .72);
}


/* ==========================================================================
   13  Stat tiles — white cards, glyph moved to the top-right
   ========================================================================== */

.bw-proof__inner {
  padding-block: var(--section-y) 0;
}

.bw-stat {
  background: var(--white);
  border: 1px solid var(--border-hairline);
  box-shadow: none;
}

.bw-stat:hover {
  transform: none;
  box-shadow: var(--shadow-1);
}

/* The 32×4 accent tick above the figure. */
.bw-proof {
  position: relative;
  overflow: hidden;
}

.bw-proof::before {
  content: "";
  position: absolute;
  left: -2%;
  bottom: -18%;
  width: clamp(260px, 26vw, 420px);
  aspect-ratio: 293 / 223;
  background: url("../images/brand/recycle-mark.png") center / contain no-repeat;
  opacity: .07;
  pointer-events: none;
}

.bw-proof__inner {
  position: relative;
  z-index: 1;
}

.bw-stat__rule {
  width: 32px;
  height: 4px;
  margin-bottom: var(--sp-4);
  background: var(--rule-accent);
}

.bw-stat__glyph {
  right: -28px;
  top: -28px;
  bottom: auto;
  width: 130px;
  height: 130px;
  color: var(--n-100);
}

/* Display face, not mono — the dark page keeps its mono figures. */
.bw-stat__value {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
}

.bw-stat__label {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--text-brand);
}

.bw-stat__note {
  max-width: 26ch;
  margin-top: 6px;
  font-size: var(--fs-caption);
}


/* ==========================================================================
   14  Case studies
   ========================================================================== */

.bw-work {
  margin-top: var(--section-y);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.bw-work__inner {
  padding-block: var(--section-y-tight);
}

.bw-work__heading {
  margin-bottom: var(--sp-7);
}

.bw-work__more {
  margin-top: var(--sp-7);
}


/* ==========================================================================
   16  Accreditations
   ========================================================================== */

.bw-accred {
  margin-top: var(--section-y);
  background: var(--white);
  border-top: 1px solid var(--border-hairline);
}

.bw-accred__row {
  gap: var(--sp-8);
  margin-top: var(--sp-7);
}

/* The design divides the three logos with hairlines rather than boxing them. */
.bw-accred__item {
  border: none;
  background: transparent;
  padding: 0 var(--sp-8);
}

.bw-accred__item + .bw-accred__item {
  border-left: 1px solid var(--border-hairline);
}


/* ==========================================================================
   17  Closing band
   ========================================================================== */

/* Closing band and footer go dark so the page finishes the way it opens:
   ink, green and orange. */
.bw-closing {
  position: relative;
  overflow: hidden;
  background: var(--n-900);
  border-top: none;
}

.bw-closing::after {
  right: auto;
  left: -3%;
  transform: translateY(-50%);
  opacity: .05;
}

.bw-closing__inner {
  position: relative;
  z-index: 1;
}

/* The logo's handwritten strapline, in place of the eyebrow. */
.bw-closing__tagline {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin: 0 0 var(--sp-5);
}

.bw-closing .bw-eyebrow {
  color: var(--lt-green-bright);
}

.bw-closing .bw-heading__title {
  color: var(--white);
}

.bw-closing .bw-heading__lead {
  color: rgba(247, 247, 247, .78);
}

.bw-closing__tel {
  color: var(--white);
}

.bw-closing__tel:hover {
  color: var(--green-500);
}

.bw-closing .bw-btn--secondary {
  border-color: rgba(247, 247, 247, .35);
  color: var(--white);
}

.bw-footer {
  background: #0d0f0e;
  border-top: 1px solid rgba(247, 247, 247, .1);
}

.bw-footer__address,
.bw-footer__links a {
  color: rgba(247, 247, 247, .78);
}

.bw-footer__links a:hover {
  color: var(--white);
}

.bw-footer__social a {
  border-color: rgba(247, 247, 247, .25);
  color: var(--white);
}

.bw-footer__social a:hover {
  border-color: var(--green-500);
  color: var(--green-500);
}

.bw-footer__head {
  color: var(--green-500);
}

.bw-footer__accred li {
  background: var(--white);
  border-color: transparent;
}

.bw-footer__note,
.bw-footer__legal {
  color: rgba(247, 247, 247, .5);
}

.bw-footer__legal {
  border-top-color: rgba(247, 247, 247, .12);
}

/* styles-light.css darkens this to ink for a white footer; this footer is
   near-black, so the link vanished on hover. Match the other footer links. */
.bw-footer__legal a:hover {
  color: var(--white);
}


/* ==========================================================================
   19  WhatsApp
   ========================================================================== */

/* The design draws this as a 48px pill in brand green with a white label —
   but #33a843 behind white 13px text is ~3.1:1, under the 4.5:1 floor. The
   existing WhatsApp green on dark ink clears it comfortably and is the more
   recognisable colour, so only the proportions follow the design here. */
.bw-wa__toggle {
  gap: 10px;
  height: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-caption);
  letter-spacing: .04em;
  box-shadow: var(--shadow-3);
}


/* ==========================================================================
   21  Responsive
   ========================================================================== */

/* The nav collapses at 1100px, not styles.css's 991.98px: four uppercase
   Barlow items plus the CTA stop fitting well before then. The mega panel,
   the nav and the burger must all flip at the SAME number, or you get a
   panel with no visible trigger. */
@media (max-width: 1100px) {
  .bw-header__nav {
    display: none;
  }

  .bw-burger {
    display: grid;
  }

  .bw-mega {
    display: none !important;
  }

  /* On desktop the nav carries the auto margin that pushes the actions right,
     and .bw-header__actions clears its own so the two do not fight over the
     free space. Once the nav is hidden nothing is left to do the pushing, so
     the margin has to come back or the quote button and burger sit stranded
     next to the logo with the whole right-hand side empty. */
  .bw-header__actions {
    margin-left: auto;
  }
}

@media (max-width: 1199.98px) {
  .bw-routes__inner {
    padding-block: var(--sp-7) var(--sp-8);
  }

  .bw-sister__body {
    padding: var(--sp-6);
  }
}

/* The service panels stop being side by side before the cards inside them do. */
@media (max-width: 1040px) {
  .bw-routes__panels {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The photo bleed cannot hold a column this narrow — it becomes a band. */
@media (max-width: 860px) {
  .bw-band__bleed {
    position: relative;
    width: 100%;
    height: 260px;
    top: auto;
    bottom: auto;
  }

  .bw-band__bleed--cutout {
    height: 320px;
    overflow: hidden;
  }

  .bw-band__bleed--cutout img {
    padding-top: var(--sp-5);
    object-position: 50% 100%;
  }

  .bw-band__inner {
    min-height: 0;
    padding-block: var(--sp-7);
  }

  .bw-band__title {
    max-width: none;
  }

  .bw-band__lead {
    max-width: 60ch;
  }

  .bw-sister {
    grid-template-columns: minmax(0, 1fr);
  }

  .bw-sister__figure {
    min-height: 260px;
  }

  .bw-accred__item {
    padding: 0;
  }

  .bw-accred__item + .bw-accred__item {
    border-left: none;
  }
}

@media (max-width: 680px) {
  /* Brand, quote pill and burger have to share a phone's width without
     wrapping: the logo cannot shrink (intrinsic width) and the pill will not
     break, so the bar's 32px gap is what has to give. */
  .bw-header__bar {
    gap: var(--sp-4);
    padding-block: var(--sp-2);
  }

  .bw-header__brand img {
    height: 40px;
  }

  .bw-quote {
    height: 40px;
    padding-inline: var(--sp-4);
  }

  .bw-burger {
    width: 40px;
    height: 40px;
  }

  .bw-route__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bw-stat__value {
    font-size: 44px;
  }

  .bw-wa__toggle {
    padding-inline: var(--sp-4);
  }
}

/* The count pill and the sub-heading cannot both fit beside the 52px icon on
   a narrow phone; the pill only restates what the cards below already show. */
@media (max-width: 560px) {
  .bw-route__count {
    display: none;
  }
}

/* Smallest phones (320px). The wordmark is wide and the quote button is the
   one thing that must not disappear, so the logo gives up the height. */
@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }

  .bw-header__bar {
    gap: var(--sp-3);
  }

  .bw-header__brand img {
    height: 34px;
  }

  .bw-quote {
    padding-inline: var(--sp-3);
  }
}


/* ==========================================================================
   22  Responsive: stamp, ticker and kit band
   ========================================================================== */

@media (max-width: 1000px) {
  .bw-kit__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bw-band__stamp {
    width: 118px;
    height: 118px;
    top: var(--sp-5);
    right: var(--sp-5);
  }

  .bw-band__stamp-ring { font-size: 8.8px; letter-spacing: .14em; }
  .bw-band__stamp-core { width: 66px; height: 66px; }
  .bw-band__stamp-num { font-size: 26px; }
}

@media (max-width: 860px) {
  .bw-kit__head {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-6);
  }
}

@media (max-width: 680px) {
  .bw-kit__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bw-band__stamp {
    display: none;
  }
}

@media (max-width: 860px) {
  .bw-routes__heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .bw-routes__heading .bw-heading__lead {
    padding-bottom: 0;
  }
}

/* Lions either side of the centred case-studies heading, as on the logo. */
.bw-work__heading--lions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
}

.bw-work__lion {
  width: 44px;
  height: auto;
  opacity: .85;
}

.bw-work__lion--flip {
  transform: scaleX(-1);
}

@media (max-width: 680px) {
  .bw-work__lion { width: 32px; }
  .bw-kit::after, .bw-closing::after { display: none; }
}

/* A fifth card in a 2x2 panel runs full width along the bottom. */
.bw-route__grid > .bw-svc:nth-child(5):last-child {
  grid-column: 1 / -1;
}

/* ---- Recent jobs on video ---------------------------------------------- */
.bw-reel__item {
  margin: 0;
  overflow: hidden;
}

.bw-reel__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--n-900);
}

.bw-eyebrow--center {
  justify-content: center;
}
