/* Dirt Works Waikato - dirtworkswaikato.co.nz
   ---------------------------------------------------------------------------------------------
   This is deliberately NOT the fleet's usual light-paper-and-card-grid look (Richard: "try to make
   this one a little bit visually different"). The whole system is taken off the client's own
   signwriting, which is the one piece of real brand they have:

     * near-black ground, white wordmark        - their ute is black with a white mark on it
     * heavy CONDENSED ITALIC display type      - the wordmark is a heavy italic condensed
     * the HATCH RULE (--hatch below)           - lifted straight from the speed-lines under the
                                                  wordmark; it is the site's signature and appears
                                                  under every eyebrow and section head
     * PERMCON BLUE accent                      - the blue of the Permcon logo. Their accreditation
                                                  blue, asked for by the client 2026-08-20; it replaced
                                                  the hi-vis orange the first build took off their vests
     * services as a NUMBERED INDEX, not cards  - reads like a plant list, suits an earthworks firm
     * full-bleed photo mosaic gallery          - 57 client photographs is the site's real asset

   Everything is set in CSS custom properties so a re-theme is one block.
   ---------------------------------------------------------------------------------------------
   NOTE ON THE ACCENT: --hv (#00ADEF, the Permcon blue) is 7.6:1 on the dark ground and is safe
   there for text, buttons and icons. On the light --paper sections it is only 2.3:1, so it must
   NEVER be used for text there - use --hv-ink (#006C99, 5.2:1), which is the same hue taken down
   to 30% lightness. That distinction is why there are two accent tokens, and it is the reason a
   straight find-and-replace of one hex for the other would have shipped unreadable text on every
   paper section. Ratios recomputed against --ink and --paper when the colour changed. */

:root {
  --ink:        #0E0E10;
  --ink-1:      #141519;
  --ink-2:      #1A1C21;
  --ink-3:      #24272E;
  --paper:      #F4F3F0;
  --paper-2:    #E7E5E0;

  --text:       #E9E9E7;
  --text-dim:   #A6A9B0;
  --text-ink:   #17181B;
  --text-ink-dim: #55585F;

  --hv:         #00ADEF;   /* on dark only - 7.6:1 on --ink */
  --hv-ink:     #006C99;   /* on paper only - 5.2:1 on --paper */
  --hv-soft:    rgba(0,173,239,.14);

  --line:       rgba(255,255,255,.13);
  --line-2:     rgba(255,255,255,.07);
  --line-ink:   rgba(23,24,27,.14);

  --wrap:       1240px;
  --gut:        clamp(1.15rem, 4vw, 2.5rem);

  --disp: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* The signature. A repeating slanted hatch, exactly the motif under the wordmark. */
  --hatch: repeating-linear-gradient(105deg,
            var(--hv) 0 3px, transparent 3px 8px);
  --hatch-ink: repeating-linear-gradient(105deg,
            var(--hv-ink) 0 3px, transparent 3px 8px);

  --shadow: 0 18px 50px -18px rgba(0,0,0,.75);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- fonts (self-hosted, latin subset, ~91kB total) ---------- */
@font-face { font-family:'Barlow'; font-style:normal; font-weight:400; font-display:swap;
  src:url('/assets/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:600; font-display:swap;
  src:url('/assets/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-style:normal; font-weight:600; font-display:swap;
  src:url('/assets/fonts/barlowcond-600.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-style:italic; font-weight:700; font-display:swap;
  src:url('/assets/fonts/barlowcond-700i.woff2') format('woff2'); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 clamp(1rem, .96rem + .22vw, 1.09rem)/1.68 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--hv); color: var(--ink); padding: .8rem 1.2rem; font-weight: 600;
}
.skip:focus { left: 0; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--hv); outline-offset: 3px;
}

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  text-wrap: balance;
}

/* Display sizing scales to the heading's own length. Stamped as data-len by the builder, because
   one clamp() cannot serve both an 8-character H1 and a 60-character one - the long ones take four
   lines and shove the call to action off the first screen. */
h1 { font-size: clamp(2.7rem, 1.5rem + 5.6vw, 5.4rem); }
h1[data-len="long"]  { font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4.1rem); }
h1[data-len="xlong"] { font-size: clamp(2rem, 1.2rem + 3.5vw, 3.3rem); }

h2 { font-size: clamp(2rem, 1.3rem + 2.9vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--text); line-height: 1.6; }

/* Eyebrow + its hatch. This pairing is the site's most repeated visual gesture. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; font-size: .82rem; color: var(--hv);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ''; width: 46px; height: 11px; background: var(--hatch); flex: none; }
.sec--paper .eyebrow { color: var(--hv-ink); }
.sec--paper .eyebrow::before { background: var(--hatch-ink); }

.rule { height: 12px; background: var(--hatch); width: 120px; margin: 1.4rem 0; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14,14,16,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.hdr__in { display: flex; align-items: center; gap: 1.4rem; min-height: 78px; }

.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand__logo { width: clamp(158px, 20vw, 216px); height: auto; }
.brand--ftr .brand__logo { width: 230px; }

.nav { display: none; margin-left: auto; gap: .15rem; }
@media (min-width: 1080px) { .nav { display: flex; } }
.nav a {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .045em; font-size: .95rem; text-decoration: none;
  padding: .55rem .6rem; color: var(--text); border-radius: 3px;
  position: relative;
  /* Eight items plus a phone number and a button is tight even at 1440. Without this, "Site Prep"
     and "Farm Works" break onto a second line and the header grows by 20px on exactly two of the
     eleven pages - which reads as a rendering bug rather than as a layout that is simply full. */
  white-space: nowrap;
}
@media (min-width: 1080px) and (max-width: 1300px) {
  .nav a { font-size: .88rem; padding-inline: .45rem; }
}
.nav a::after {
  content: ''; position: absolute; left: .68rem; right: .68rem; bottom: .3rem; height: 8px;
  background: var(--hatch); opacity: 0; transition: opacity .18s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { opacity: 1; }
.nav a[aria-current="page"] { color: #fff; }

.hdr__cta { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
@media (min-width: 1080px) { .hdr__cta { margin-left: 0; } }

.hdr__phone {
  display: none; align-items: center; gap: .45rem; text-decoration: none;
  font-family: var(--disp); font-weight: 600; font-size: 1.08rem; letter-spacing: .02em;
  color: var(--text); white-space: nowrap;
}
.hdr__phone:hover { color: var(--hv); }
@media (min-width: 720px) { .hdr__phone { display: flex; } }

/* ---------- buttons ----------
   Scoped hard so a body-link rule can never beat them. .prose a is (0,1,1) and .btn is (0,1,0),
   which is exactly how a fleet site once shipped invisible buttons inside prose. */
.btn, a.btn, .prose a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  font-size: 1.02rem; line-height: 1;
  padding: .95rem 1.5rem; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--hv); color: var(--ink); text-decoration: none;
  transition: transform .16s var(--ease), background-color .16s var(--ease);
}
.btn:hover, a.btn:hover, .prose a.btn:hover { background: #ff8038; transform: translateY(-2px); }
.btn--sm { padding: .7rem 1.05rem; font-size: .92rem; }
.btn--ghost, a.btn--ghost, .prose a.btn--ghost {
  background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover, a.btn--ghost:hover, .prose a.btn--ghost:hover {
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 2px var(--hv); color: #fff;
}
.sec--paper .btn--ghost { color: var(--text-ink); box-shadow: inset 0 0 0 2px var(--line-ink); }
.sec--paper .btn--ghost:hover { background: rgba(23,24,27,.05); box-shadow: inset 0 0 0 2px var(--hv-ink); color: var(--text-ink); }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 44px; padding: 0 10px; background: transparent;
  border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger span { display: block; height: 2px; background: var(--text); transition: transform .2s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-m { border-top: 1px solid var(--line-2); background: var(--ink-1); padding: .5rem 0 1.2rem; }
.nav-m a {
  display: block; padding: .85rem var(--gut); text-decoration: none;
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.12rem; border-bottom: 1px solid var(--line-2);
}
.nav-m a[aria-current="page"] { color: var(--hv); }
.nav-m__cta { color: var(--hv) !important; border-bottom: 0 !important; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-1); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(78deg, rgba(14,14,16,.95) 0%, rgba(14,14,16,.86) 38%, rgba(14,14,16,.42) 72%, rgba(14,14,16,.55) 100%),
    linear-gradient(to top, rgba(14,14,16,.9), transparent 46%);
}
.hero__in { padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem); max-width: 40rem; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--hv); }
.hero__sub { font-size: clamp(1.08rem, 1rem + .5vw, 1.28rem); color: #DDDEE1; margin-bottom: 1.9rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero--sm .hero__in { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.6rem); }

/* Full-screen hero: the photograph fills the first screen and the copy sits centred in it. Used on
   /foundations/ at the client's request ("enlarge the top photo so the formwork covers the whole
   page"). The header is 78px, so the band is the rest of the viewport, capped so a very tall
   monitor does not turn it into a blank wall. */
.hero--full { display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100svh - 78px), 900px); }
.hero--full .hero__in { padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem); }

/* Trust strip riding the bottom of the hero. */
.hero__strip {
  position: relative; border-top: 1px solid var(--line-2);
  background: rgba(14,14,16,.72); backdrop-filter: blur(6px);
}
.hero__strip ul {
  display: flex; flex-wrap: wrap; gap: .5rem 2.2rem; list-style: none; margin: 0;
  padding: .95rem 0; font-family: var(--disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: .84rem; color: var(--text-dim);
}
.hero__strip li { display: flex; align-items: center; gap: .55rem; }
.hero__strip li::before { content: ''; width: 7px; height: 7px; background: var(--hv); flex: none; transform: skewX(-14deg); }

/* ---------- sections ---------- */
.sec { padding: clamp(3.4rem, 8vw, 6.2rem) 0; position: relative; }
.sec--paper { background: var(--paper); color: var(--text-ink); }
.sec--paper h1, .sec--paper h2, .sec--paper h3 { color: var(--text-ink); }
.sec--band { background: var(--ink-1); }
.sec--tight { padding-block: clamp(2.4rem, 5vw, 3.6rem); }

.sec__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec__head p { color: var(--text-dim); }
.sec--paper .sec__head p { color: var(--text-ink-dim); }

/* ---------- the numbered service index (the site's signature block) ---------- */
.idx { border-top: 1px solid var(--line); }
.sec--paper .idx { border-top-color: var(--line-ink); }

.idx__row {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1.2rem;
  align-items: start;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; position: relative;
  transition: background-color .2s var(--ease);
}
.sec--paper .idx__row { border-bottom-color: var(--line-ink); }
.idx__row:hover { background: rgba(255,255,255,.035); }
.sec--paper .idx__row:hover { background: rgba(23,24,27,.035); }

.idx__n {
  font-family: var(--disp); font-style: italic; font-weight: 700; line-height: .8;
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.1rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hv);
  padding-top: .1em;
  transition: color .2s var(--ease);
}
.sec--paper .idx__n { -webkit-text-stroke-color: var(--hv-ink); }
.idx__row:hover .idx__n { color: var(--hv); }
.sec--paper .idx__row:hover .idx__n { color: var(--hv-ink); }

.idx__body h3 { margin-bottom: .35em; }
.idx__row:hover .idx__body h3 { color: var(--hv); }
.sec--paper .idx__row:hover .idx__body h3 { color: var(--hv-ink); }
.idx__body p { color: var(--text-dim); margin: 0; max-width: 54ch; }
.sec--paper .idx__body p { color: var(--text-ink-dim); }

.idx__go {
  grid-column: 2; margin-top: .7rem;
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  font-size: .84rem; color: var(--hv); display: inline-flex; align-items: center; gap: .4rem;
}
.sec--paper .idx__go { color: var(--hv-ink); }
.idx__row:hover .idx__go span { transform: translateX(4px); }
.idx__go span { transition: transform .2s var(--ease); }

.idx__thumb { display: none; }
@media (min-width: 900px) {
  .idx__row { grid-template-columns: auto 1fr 240px; gap: 0 2rem; align-items: center; }
  .idx__go { grid-column: 2; }
  .idx__thumb { display: block; grid-column: 3; grid-row: 1 / span 3; }
  .idx__thumb img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px;
    filter: grayscale(1) contrast(1.06); opacity: .62;
    transition: filter .3s var(--ease), opacity .3s var(--ease);
  }
  .idx__row:hover .idx__thumb img { filter: none; opacity: 1; }
}

/* ---------- stat strip ---------- */
.stats { display: grid; gap: 1px; background: var(--line); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--ink); padding: 1.9rem 1.4rem; }
.sec--band .stat { background: var(--ink-1); }
.stat__n {
  font-family: var(--disp); font-style: italic; font-weight: 700; line-height: .9;
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); color: var(--hv); display: block;
}
.stat__l {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; color: var(--text-dim); margin-top: .5rem; display: block;
}

/* ---------- prose ---------- */
.prose { max-width: 40rem; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
/* An eyebrow is part of the heading, not a paragraph before it. Without this the h2 keeps its
   2.2em top margin and opens a ~90px hole between "WHO WE ARE" and the heading it labels, which
   reads as a missing image rather than as spacing. `:first-child` does not cover it, because the
   eyebrow is the first child. */
.prose > .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin-top: 1.9em; color: #fff; }
.sec--paper .prose h3 { color: var(--text-ink); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose li { position: relative; padding-left: 1.55rem; margin-bottom: .6rem; }
.prose li::before {
  content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px;
  background: var(--hv); transform: skewX(-14deg);
}
.sec--paper .prose li::before { background: var(--hv-ink); }
/* :not() keeps this off buttons - see the note on .btn above. */
.prose a:not(.btn) { color: var(--hv); text-underline-offset: 3px; }
.sec--paper .prose a:not(.btn) { color: var(--hv-ink); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.split--wide { }
@media (min-width: 940px) { .split--wide { grid-template-columns: 1.15fr .85fr; } }

.figure img { border-radius: 2px; width: 100%; }
.figure figcaption {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  font-size: .78rem; color: var(--text-dim); margin-top: .7rem;
}
.sec--paper .figure figcaption { color: var(--text-ink-dim); }

/* Stack of two photos, offset, echoing the italic lean. */
.stack { display: grid; gap: 1rem; }
@media (min-width: 620px) {
  .stack { grid-template-columns: 1fr 1fr; }
  .stack img:first-child { margin-top: 2.4rem; }
}

/* ---------- gallery ----------
   A mosaic rather than a uniform grid: with 57 photographs a regular grid reads as a spreadsheet.
   Every fourth tile spans two columns so the rhythm never settles. */
.gal__filters {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; padding: 0; list-style: none;
}
/* 🔴 Wrapping chips, always visible, never behind a "Filters" toggle. A collapsed filter list on
   mobile is the single most common complaint we get about gallery pages elsewhere in the fleet. */
.chip {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  font-size: .88rem; line-height: 1;
  padding: .62rem .95rem; border-radius: 2px; cursor: pointer;
  background: transparent; color: var(--text-dim);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color .16s var(--ease), background-color .16s var(--ease), box-shadow .16s var(--ease);
}
.chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--hv); }
.chip[aria-pressed="true"] { background: var(--hv); color: var(--ink); box-shadow: none; }
.chip__n { opacity: .6; margin-left: .35rem; font-size: .8em; }

.gal {
  display: grid; gap: .55rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .gal { grid-template-columns: repeat(3, 1fr); gap: .7rem; } }
@media (min-width: 1080px) { .gal { grid-template-columns: repeat(4, 1fr); } }

.gal__item { margin: 0; }
@media (min-width: 700px) {
  .gal__item:nth-child(8n+1) { grid-column: span 2; grid-row: span 2; }
  .gal__item:nth-child(8n+6) { grid-column: span 2; }
}

/* A <button>, not a bare <img> - the lightbox has to be reachable from the keyboard. */
.gal__btn {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--ink-2); border-radius: 2px; overflow: hidden; position: relative;
}
.gal__btn img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3;
  transition: transform .5s var(--ease), filter .35s var(--ease);
}
.gal__item:nth-child(8n+1) .gal__btn img { aspect-ratio: 1/1; }
.gal__btn:hover img { transform: scale(1.045); }
.gal__btn::after {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(to top, rgba(0,173,239,.28), transparent 55%);
  transition: opacity .3s var(--ease);
}
.gal__btn:hover::after { opacity: 1; }

.gal__item[hidden] { display: none; }
.gal__empty { color: var(--text-dim); padding: 2rem 0; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(8,8,9,.96); padding: clamp(.6rem, 2vw, 1.6rem);
}
.lb[data-open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lb__count {
  font-family: var(--disp); font-weight: 600; letter-spacing: .12em; font-size: .85rem;
  color: var(--text-dim); text-transform: uppercase;
}
.lb__stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; border-radius: 2px; }
.lb__cap {
  color: var(--text-dim); font-size: .95rem; text-align: center; padding: .9rem 0 .2rem;
  max-width: 60ch; margin-inline: auto;
}
.lb__btn {
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.07); border: 0; border-radius: 50%; color: var(--text);
}
.lb__btn:hover { background: var(--hv); color: var(--ink); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 0; }
.lb__nav--next { right: 0; }
body.lb-open { overflow: hidden; }
/* The header is sticky at z-index 60 and the lightbox backdrop is 96% opaque, so the nav ghosts
   through the top of the viewer. Hiding it outright is both tidier and correct - the header is not
   reachable while a modal is open anyway. */
body.lb-open .hdr { visibility: hidden; }

/* ---------- partner strip ---------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.6rem; }
.partners__label {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--text-ink-dim);
}
.partner {
  font-family: var(--disp); font-style: italic; font-weight: 700; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .01em; color: var(--text-ink);
}

/* ---------- areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.areas li {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  font-size: .92rem; padding: .5rem .9rem; box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 2px; color: var(--text-dim);
}
.sec--paper .areas li { box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--text-ink-dim); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.2rem 1.15rem 0; position: relative;
  font-family: var(--disp); font-weight: 600; font-size: 1.18rem; text-transform: uppercase;
  letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .3rem; top: 1.5rem; width: 13px; height: 13px;
  border-right: 2px solid var(--hv); border-bottom: 2px solid var(--hv);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding-bottom: 1.2rem; color: var(--text-dim); max-width: 58ch; }

/* ---------- enquiry ---------- */
.enq { background: var(--ink-1); border-top: 1px solid var(--line-2); padding: clamp(3.4rem, 8vw, 5.4rem) 0; }
.enq__grid { display: grid; gap: clamp(2.2rem, 5vw, 4rem); }
@media (min-width: 940px) { .enq__grid { grid-template-columns: 1fr 1fr; } }
.enq__copy p { color: var(--text-dim); }
.enq__facts { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.enq__facts li { padding: .55rem 0; border-bottom: 1px solid var(--line-2); display: flex; gap: .7rem; align-items: baseline; }
.enq__facts li b {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  font-size: .76rem; color: var(--text-dim); flex: none; width: 5.4rem;
}
.enq__facts a { color: var(--text); text-decoration: none; }
.enq__facts a:hover { color: var(--hv); }

.form { background: var(--ink-2); padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: 2px; border: 1px solid var(--line-2); }
.form__row { margin-bottom: 1rem; }
.form label {
  display: block; margin-bottom: .38rem;
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  font-size: .8rem; color: var(--text-dim);
}
/* Every colour stated explicitly, and -webkit-text-fill-color alongside color: WebKit honours the
   latter over `color` on form controls, and a dark-ground form is exactly where that bites. */
.form input, .form textarea, .form select {
  width: 100%; padding: .78rem .85rem; font: inherit; font-size: 1rem;
  background: #0F1013; color: var(--text); -webkit-text-fill-color: var(--text);
  border: 1px solid var(--line); border-radius: 2px;
}
.form input:focus, .form textarea:focus { border-color: var(--hv); outline: none; box-shadow: 0 0 0 3px var(--hv-soft); }
.form textarea { resize: vertical; min-height: 7rem; }
.form__opt { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: .35rem; }
.form input[type="file"] { padding: .55rem .6rem; color: var(--text-dim); -webkit-text-fill-color: var(--text-dim); cursor: pointer; }
.form input[type="file"]::file-selector-button {
  font: inherit; font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .07em;
  font-size: .78rem; background: var(--ink-1); color: var(--text); -webkit-text-fill-color: var(--text);
  border: 1px solid var(--line); border-radius: 2px; padding: .45rem .75rem; margin-right: .8rem; cursor: pointer;
}
.form input[type="file"]::file-selector-button:hover { border-color: var(--hv); color: var(--hv); -webkit-text-fill-color: var(--hv); }
.form .btn { width: 100%; margin-top: .4rem; }
.err { display: block; color: #FF8A6B; font-size: .88rem; margin-top: .3rem; min-height: 1px; }
.form__msg { margin: .9rem 0 0; font-size: .95rem; color: var(--text-dim); }
.form__msg.err { color: #FF8A6B; }

/* Honeypot: positioned off-canvas rather than display:none or type=hidden, both of which capable
   bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--hv); color: var(--ink);
  padding: clamp(2.6rem, 6vw, 4.2rem) 0;
}
.cta h2 { color: var(--ink); }
.cta p { color: rgba(14,14,16,.82); max-width: 44rem; }
.cta .btn { background: var(--ink); color: var(--hv); }
.cta .btn:hover { background: #000; color: #fff; }
.cta__in { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .cta__in { grid-template-columns: 1fr auto; } }

/* ---------- footer ---------- */
.ftr { background: #0A0A0C; border-top: 1px solid var(--line-2); padding: clamp(2.8rem, 6vw, 4.2rem) 0 0; }
.ftr__grid { display: grid; gap: 2.2rem; }
@media (min-width: 800px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 800px) { .ftr__grid--slim { grid-template-columns: 1fr auto; align-items: start; } }
.ftr__contact a { display: block; padding: .32rem 0; text-decoration: none; color: var(--text-dim); font-size: .96rem; }
.ftr__contact a:hover { color: var(--hv); }
@media (min-width: 800px) { .ftr__contact { text-align: right; } }
.ftr h3 {
  font-size: .88rem; letter-spacing: .14em; color: var(--text-dim); font-style: normal;
  font-weight: 600; margin-bottom: 1rem;
}
.ftr p { color: var(--text-dim); font-size: .95rem; margin-top: 1.2rem; }
.ftr__grid > div > a {
  display: block; padding: .32rem 0; text-decoration: none; color: var(--text-dim); font-size: .96rem;
}
.ftr__grid > div > a:hover { color: var(--hv); }
.ftr__btm {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  border-top: 1px solid var(--line-2); margin-top: 2.6rem; padding-block: 1.3rem;
  font-size: .88rem; color: var(--text-dim);
}
.ftr__credit { text-decoration: none; color: var(--text-dim); }
.ftr__credit:hover { text-decoration: underline; color: var(--text); }

/* ---------- floating contact bar (fleet component, re-themed) ----------
   🔴 Re-themed rather than pasted: the component default is a white icon, which on this orange
   measures 2.51:1 - under the 3:1 WCAG 1.4.11 wants for a UI component. The near-black ink scores
   6.0:1 on the same fill, and it is what the buttons already use. */
.floatbar {
  --fb-bg: var(--hv); --fb-icon: var(--ink);
  --fb-hover-bg: var(--ink); --fb-hover-icon: var(--hv);
  position: fixed; right: 14px; bottom: 14px; z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.floatbar__list { display: flex; flex-direction: column; gap: 8px; }
.floatbar__btn, .floatbar__toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--fb-bg); color: var(--fb-icon);
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.7);
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease),
              opacity .18s var(--ease), visibility .18s;
}
.floatbar__btn:hover, .floatbar__toggle:hover { background: var(--fb-hover-bg); color: var(--fb-hover-icon); }
.floatbar:not([data-open]) .floatbar__btn {
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(.85);
}
.floatbar[data-open] .floatbar__btn { opacity: 1; visibility: visible; transform: none; }
/* Restated AFTER the [data-open] rule above so the hover lift is not cancelled by an equally
   specific `transform: none` sitting later in the file. */
.floatbar[data-open] .floatbar__btn:hover { transform: scale(1.08); }
.floatbar[data-open] .floatbar__toggle svg { transform: rotate(180deg); }
.floatbar__toggle svg { transition: transform .2s var(--ease); }

.phonepop { position: fixed; inset: 0; z-index: 210; display: none; place-items: center; background: rgba(8,8,9,.72); }
.phonepop[data-open] { display: grid; }
.phonepop__panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 3px; padding: 2.2rem 2.6rem; position: relative; text-align: center; }
.phonepop__close { position: absolute; top: .5rem; right: .5rem; width: 38px; height: 38px; background: transparent; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--text-dim); }
.phonepop__close:hover { color: var(--hv); }
.phonepop__label { font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--text-dim); margin: 0 0 .4rem; }
.phonepop__num { font-family: var(--disp); font-style: italic; font-weight: 700; font-size: 2.2rem; color: var(--hv); text-decoration: none; }

/* ---------- scroll reveal ----------
   Scoped to .js so a no-JS visitor and every crawler always see the content. threshold is 0 with
   rootMargin doing the work: a ratio threshold never fires for an element taller than the viewport,
   and a service page's copy column routinely is. */
.js [data-rv] { opacity: 0; transform: translateY(16px); }
.js [data-rv].rv-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js [data-rv] { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .hdr, .floatbar, .enq, .cta, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}
