/* ===========================================================================
   Offsite Bases — v3

   The Our System page opens on a scrubbed build of the foundation itself;
   the home page opens on a still screen. Below them the pages take the
   layout language of the reference template: one light ground,
   split sections whose left half pins while the right half stacks, full-bleed
   photographs that pin at the top while the next section rides over them, and
   every block rising in once as it arrives. The colours are the client's own; only
   the structure and the scale are borrowed.
   =========================================================================== */

/* One face, served from this origin: Outfit, variable 300 to 900, one file
   per subset. The client saw the About hero set light and asked for that
   face everywhere, so Outfit carries every role. The weight does the work
   the second family used to do: 300 for the display sizes, 400 for the body,
   500 and 600 for the letter-spaced labels and the buttons. Nothing under
   20px is set at 300; the light weight is a display weight and at label
   sizes it is too thin to read. The fallbacks are the system faces so a
   late swap does not leave a blank. */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  /* Back to the dark green. The client's board was a teal family and he has since
     said he does not want the light greens on it: the deep green is what sits
     right against the white, so the palette returns to the one the build
     started on and the teal is dropped. */

  /* descent: the two light grounds the sections sit on */
  --l0: #E9EEE6;   /* the page ground, a half step off white so what sits on it reads */
  --l1: #D5E2D4;
  /* The enquiry panel's ground. The client asked for a light green here rather
     than the neutral grey it used to carry. */
  --neutral: #DCE9DD;

  /* the height of the sweep at the foot of a coloured band */
  --band-foot: 26.74vw;   /* the foot's own aspect in the client's file, so the sweep is never distorted */

  --graphite: #0A3020;
  --charcoal: #04190F;   /* the deep green, taken down so the pale sections snap against it */
  --steel:    #8B9599;

  --ink:      #16191B;
  --ink-soft: #4A5854;   /* body copy, lighter: small light body under big bold heads */
  --pale:     #EEF2EA;
  --pale-soft:#CFD8D1;

  /* The client's own brand green, sampled from his artwork */
  --kevin:        #118A5F;
  --kevin-bright: #35A578;   /* the old #1CAE70 was the lime he did not want */
  --kevin-mid:    #0E6E4C;   /* dark enough to carry white body copy at AA */
  --kevin-deep:   #012D17;

  /* considered green for the sustainability story */
  --brass:    #118A5F;
  /* the single bright accent, reserved for actions and nothing else */
  --accent:   #118A5F;

  /* four tokens, one face: kept as tokens so every role still shares one
     rule, and the roles are told apart by weight, size and tracking */
  --display: "Outfit", -apple-system, "Segoe UI", Helvetica, sans-serif;
  --head:    "Outfit", -apple-system, "Segoe UI", Helvetica, sans-serif;
  --body:    "Outfit", -apple-system, "Segoe UI", Helvetica, sans-serif;

  /* hairlines on the light ground, and the firmer edge a card needs */
  --rule: rgba(22, 25, 27, .14);
  --rule-strong: rgba(8, 48, 31, .3);

  /* The pinned edge for anything that sticks below the bar: the reference
     pins at 120px under a 60px bar, so the same clearance under ours. */
  --stack-top: calc(var(--hdr) + 3rem);
  /* how long a pinned photograph is held whole before the next section
     starts across it (see main > section.pin) */
  --pin-hold: 50vh;
  /* one section's rhythm, top and bottom */
  --pad: clamp(4rem, 8.4vw, 7.5rem);
  /* the spec labels: the same face, read as labels through weight, tracking
     and case */
  --mono:    "Outfit", -apple-system, "Segoe UI", Helvetica, sans-serif;

  /* The fixed bar's height, reserved wherever content would otherwise sit
     under it. These are the fallbacks, for the paint before site.js sets the
     measured value: the bar as measured on 31 Oct, 105px from 640 up and
     114 on a phone, so the page does not shift when the measure lands. */
  --hdr: 6.6rem;

  /* The long settling curve. It is already the site's: the intro's leaf
     arrives on it. Kept as a token rather than repeating the numbers
     wherever something settles. */
  --calm: cubic-bezier(.22, 1, .36, 1);
}
/* A laptop screen is short as well as narrow ones: under 820px of height the
   pinned edge comes up close under the bar too, and the 32px it saves go to
   the stack beside it. */
@media (max-width: 1149px), (max-height: 820px) { :root { --stack-top: calc(var(--hdr) + 1rem); } }
@media (max-width: 639px) { :root { --hdr: 7.15rem; } }

* { box-sizing: border-box; }
figure { margin: 0; }
/* The gutter is reserved even while the intro holds scrolling shut, so the
   scrollbar's return does not shove the page sideways on a classic-scrollbar
   platform. The padding keeps anything scrolled or Tabbed to the top, by
   anchor, focus or scrollIntoView, clear of the fixed bar. */
html { scroll-behavior: smooth; scrollbar-gutter: stable; scroll-padding-top: calc(var(--hdr) + 1rem); }
body {
  margin: 0;
  background: var(--l0);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 400;   /* the body weight; the display sizes go light, never the running text */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { position: relative; z-index: 2; }
[tabindex="-1"]:focus { outline: none; }

::selection { background: var(--brass); color: #06110b; }
a { color: inherit; }
/* A pale ring with a green halo: the ring holds against dark pixels and the
   halo against light ones, which matters over a scene that is rendered fresh
   every frame and cannot promise a contrast. */
:where(a,button):focus-visible, .stack:focus-visible {
  outline: 3px solid #EEF2EA; outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--brass);
}

/* off the top until it is tabbed to */
.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: .8rem 1.2rem; border-radius: 999px;
  background: var(--charcoal); color: var(--pale);
  font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* --- type roles ---------------------------------------------------------- */

.d {
  font-family: var(--display);
  font-weight: 300;           /* the About hero's light setting, now the site's: the client's ask */
  font-synthesis: none;
  line-height: 1.12;          /* light lines want air between them; 1 was the heavy weight's setting */
  letter-spacing: -0.022em;   /* the About hero's tracking; the heavy weight's -0.038em would close the light counters */
  margin: 0;
}
/* The mono eyebrow the reference puts over every section, with a small mark
   of the client's green in place of their icon. Mid green, not brand green: the
   brand green is under 4.5:1 at this size on the light ground. */
.eyebrow {
  display: flex; align-items: center; gap: .55rem;
  margin: 0 0 1.1rem; max-width: none;
  font-family: var(--mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--kevin-mid);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--kevin); flex: none; }
.spec {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- header -------------------------------------------------------------- */

header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; flex-wrap: wrap; row-gap: .55rem;
  align-items: center; justify-content: space-between;
  padding: .75rem clamp(1.1rem, 3vw, 2.4rem);   /* was 1.15rem, then .9rem; .75 on 31 Oct, when the client asked for the whole bar a little smaller */
  color: var(--ink);
  /* A real bar rather than floating type: tinted, blurred and always readable
     whatever is behind it. It tints to the ground it is over rather than
     switching between two unrelated states. */
  background: rgba(242, 241, 237, 0.72);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid rgba(22, 25, 27, 0.1);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
/* The same opacity as the light state: the pale spec labels sit over whatever
   a photograph puts under them, and at .55 a patch of sky brought them under
   4.5:1. At .72 the worst case, white behind the bar, holds 6.4:1. */
header.pale {
  color: var(--pale);
  background: rgba(18, 21, 23, 0.72);
  border-bottom-color: rgba(242, 241, 237, 0.14);
}
/* The third state: a band can ask for the bar in the client's green rather than in
   one of the two neutral tints. The system section is white, so the bar over
   it is the brand colour and the white section reads as a page inside it
   rather than as more of the same ground. Opaque, not tinted: it is a colour
   the section is choosing, not a wash over whatever is behind. */
header.bar-green {
  color: var(--pale);
  background: var(--kevin-mid);
  border-bottom-color: rgba(238, 242, 234, 0.22);
}
/* The client's lockup, in the bar: the leaf and the name on two lines with
   the strapline under them, as the footer has it. One piece of artwork,
   scaled as a whole so nothing inside it changes proportion. It has two
   faces, the green one in the flow and the white one laid over it, and they
   crossfade on the bar's own .2s with the bar's state: green on the light
   bar, white on the pale bar over a dark band and on the green bar over the
   system section, so it is never close in tone to what is behind it.
   Swapped with display they changed in a frame while the bar was still
   fading under them. */
header .wordmark { position: relative; display: flex; align-items: center; }
header .wordmark img { transition: opacity .2s ease; }
header .wordmark .mark-pale { position: absolute; top: 0; left: 0; opacity: 0; }
header.pale .wordmark .mark-green, header.bar-green .wordmark .mark-green { opacity: 0; }
header.pale .wordmark .mark-pale, header.bar-green .wordmark .mark-pale { opacity: 1; }

/* At bar scale. The file is 413 by 199 and the markup says so, so the height
   sets it and width: auto reserves its box before the file arrives. It was
   42px and the client could not read the strapline inside it, which is 22
   of the file's 199 rows (11%, an x-height of 11): 4.6px at 42. He asked
   for the whole lockup large enough that it reads, everything in its own
   proportion, and it went to 96px. On 31 Oct he asked for the whole bar
   "slightly smaller" - it was taking too much of the screen - and it is 80:
   the strapline is 8.8px with an x-height of 4.4px, which was rendered at
   80, 84 and 96 on a 1x and a 2x screen and still reads as words at 1x, and
   a 2x screen draws 160px from the file's 199, so it is still not upscaled
   anywhere. On a phone the bar carries its nav row as well, so the lockup
   is 64px there (strapline 7px, on a 3x screen held close: 192 rows of the
   file's 199). The lockup never wraps: it is one image, flex: none, and the
   bar's other items give way around it, not it around them. */
header .wordmark img { height: 80px; width: auto; flex: none; display: block; }
/* 6 Nov: the client's amended logo, as SVG (images/logo-osb-*.svg, made from
   his Canva files as one-colour stencils on a clear ground, so the green and
   the white are the site's own and nothing is ever upscaled). The stacked
   lockup has the same proportion as the PNG it replaced, so 80px stands. On a
   phone the bar takes his one-line version instead (the <picture> in every
   header): mark and name, no strapline, at 32px, which gives the bar back the
   height the stacked lockup's 64px cost above its nav row. */
@media (max-width: 639px) {
  header .wordmark img { height: 32px; width: auto; }
}

/* Five destinations do not need a menu control. Below 1150px the nav takes a
   second row of the bar rather than disappearing; links never break inside.
   (Was 900px with four links: with six, the phone number was pushed onto a
   row of its own between 900 and 1100px, and no gap fits them at 900. The
   "What we install" link went on 1 Oct, leaving five; the breakpoint stands.)
   Seven since 31 Oct - Home, Our System, Services, Applications, Projects,
   About Us (Our Team from 31 Oct to 5 Nov), Contact - and the breakpoint still stands: measured, the seven
   sit on one line beside the lockup from 1150 up, the last of them 34px
   inside the bar's edge at 1150, and on their own row below it they fit one
   line down to 640. */
/* The row is the bar's one navigation again (14 Oct): the menu control and
   the sheet that stood beside it from 1 Oct came out at the client's ask, and
   the two rules that swapped the row for them on html.js went with them.
   Every rule under this comment is the row's, and says .pagerow so. */
header nav.pagerow { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; order: 3; flex-basis: 100%; }
header nav.pagerow a { white-space: nowrap; }
header nav.pagerow { font-size: .68rem; }
@media (min-width: 1150px) {
  header nav.pagerow { gap: 2rem; order: 0; flex-basis: auto; font-size: .8rem; }   /* .86 beside the 96px lockup; back to .8 with the smaller bar (31 Oct) */
}
/* 31 Oct, at the client's ask: from a tablet up the row sits beside the
   lockup rather than under it, which also takes a row's height off the bar.
   It takes the space the lockup leaves and sets its links from the right,
   one line from about 820 and two below that (900 beside the 96px lockup),
   both inside the lockup's height; from 1000 there is room for the larger step. Each step came down
   a notch with the lockup (31 Oct): .72 and .8 were .68 and .76's places
   beside the 96px lockup. */
@media (min-width: 640px) and (max-width: 1149px) {
  header nav.pagerow {
    order: 0; flex: 1 1 0; min-width: 0; justify-content: flex-end;
    gap: .3rem 1rem; font-size: .68rem;
  }
}
@media (min-width: 1000px) and (max-width: 1149px) {
  header nav.pagerow { gap: .3rem 1.2rem; font-size: .76rem; }
}
/* On a phone the links wrapped to three rows and the bar took up to a
   quarter of the screen. One row that scrolls sideways instead, its scrollbar
   hidden. The padding and matching negative margin give the current-page
   pill, which is drawn into the gaps with negative margins of its own, room
   inside the scroll box so it is not clipped. */
@media (min-width: 390px) and (max-width: 639px) {
  header nav.pagerow {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    padding: .45em .8em; margin: -.45em -.8em;
    /* 14 Oct: the hamburger came out, so this row is the only navigation on a
       phone and every link has to be reachable without swiping. At 1.1rem the
       five ran 402px wide in a 339px box and "Contact" sat off-screen. The
       gap closes to .55rem and "The system" shortens to "System" in both the
       row and the footer list; together that is the ~63px the row was over.
       31 Oct: seven links, and the labels alone are 472px (3px less since
       the fifth became About Us) against a 355px
       box on a 390 phone, so no gap or size anyone could read brings the row
       inside it and it scrolls, as this rule always allowed for. A row that
       scrolls has to show that it does, and the only thing that shows it is
       a label cut by the edge: a link that stops cleanly short of it, with
       the next one wholly out of the box, reads as the end of the list. The
       row opens on the current page's link (site.js centres it), so where
       the edges fall depends on the page and the phone, and the gap was
       chosen by measuring them - every page, at 390, 393, 412, 414 and 430.
       At the bar's 1.1rem four pages at 390 opened with three links hidden
       and nothing of them showing, on the right for Home, Our System and
       the pages with no current link, on the left for About Us and Contact.
       No gap clears every case, but at .75rem every hidden side shows part
       of a label: 8px at the least (About Us and Contact at 390), 12 and
       more everywhere else. The gap also sets how far the current-page pill,
       drawn .8em into it either side, stands off its neighbours: it touched
       them at the old .55rem and clears them by 3px here. */
    gap: .3rem .75rem;
  }
  header nav.pagerow::-webkit-scrollbar { display: none; }
}
/* Under 390px the row cannot hold five links on one line at a gap anyone
   could tap: at 360 "Contact" lost 19px and at 320 it lost 59px, and with
   the hamburger gone there is no other way to reach it. So below 390 the
   row wraps to two lines instead of scrolling. It keeps the tighter gap,
   and the two lines cost less height than a link nobody can see.
   31 Oct: seven links, measured on a phone. The gap is the scrolling
   row's .75rem, for the pill's sake (see above); the bar's full 1.1rem
   would put a 360 screen, a common Android width, on three lines rather
   than two. At .75rem 375 and 360 are two lines and 320 is three, as it is
   at any gap. */
@media (max-width: 389px) {
  header nav.pagerow { flex-wrap: wrap; gap: .45rem .75rem; }
}
/* The page the reader is on: a filled pill behind its label, drawn into the
   gap with negative margins so the row does not widen. Mid green with white
   (6.3:1) on the light bar; over a dark band the bar goes pale and the pill
   inverts to the light green with the deep green on it, so the box reads as
   a box in greyscale in both states. Hover adds an underline, so a hovered
   pill is not mistaken for a plain one; focus keeps the site ring. */
header nav.pagerow a[aria-current="page"] {
  background: var(--kevin-mid); color: #fff;
  padding: .4em .8em; margin: -.4em -.8em; border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
header.pale nav.pagerow a[aria-current="page"] { background: var(--l1); color: var(--kevin-deep); }
@media (hover: hover) {
  header nav.pagerow a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
}
header a { text-decoration: none; }
header .spec { opacity: 1; font-size: .8rem; }

/* --- hero / scrubbed scene ----------------------------------------------- */

/* The build runs over 7 screens of scroll, whatever the screen, with a
   floor and a ceiling in pixels. It was 3.8 screens (clamp(3000px, 480vh,
   5200px)) and the client found it went by too fast: each line had a wheel
   notch or two before the next arrived. At 5.4 (clamp(4000px, 640vh,
   7000px)) he asked for longer still, so it went to 7, with the hero clock
   (then in index.html, now in system.html's inline script) lengthened by the
   same quarter so the two stay in step. At 7 he
   found it slow, so it is 6.2 (1 Oct), which is exactly half the step back to
   the 5.4 it was. (The screens counted here are screens of SCROLL, the track
   less the one sticky stage inside it, which is why 800vh was 7 and 720vh is
   6.2.) The five lines still land 0.6, 1.0, 2.1, 1.7 and 0.7 screens apart,
   measured, so none of them arrives on top of the one before.

   AND THE CLOCK NO LONGER MOVES WITH IT. Up to 1 Oct the two were changed in
   step on the reasoning that scroll and clock would otherwise disagree about
   where the build is. They cannot disagree, and they never could: both route
   through the same position, the clock advancing the anchor by time and the
   scroll advancing the position from the anchor over this height, and the
   anchor is shortened from the track's far end by exactly what the clock has
   played - so a reader who starts scrolling mid-play gets the same pixels per
   length of build they would have got from a standing start. What the two
   numbers set is two different paces, and they were never equal anyway: this
   height is 5,580px of scroll on a 900px screen, which an ordinary wheel
   covers in four or five seconds, against a clock that takes twenty-two. The
   clock is the unhurried pace for a visitor who does nothing; the scroll is
   the reader's own and is faster whenever they are actually using it. Taking
   the clock from 36s to 22s on 2 Oct narrows that gap rather than opening it,
   and the client asked for this height exactly as it is.

   A landscape phone at 390 tall would give the whole build 2,800px on the
   ratio alone, so the floor holds it at 4,500; a 1440-tall monitor would
   give it 10,368px, so the ceiling holds it at 7,875. The bounds are the old
   pair taken down by the same tenth, so each bites at exactly the screen
   height it did before: nothing between 625 and 1,094 pixels tall is touched,
   which is every phone held upright and every laptop.
   Past about 9 screens the piles and the beam would each run more than three
   screens with no new line of copy, which is where a long build starts to
   read as an empty one. */
#track { position: relative; height: clamp(4500px, 720vh, 7875px); }
/* Dark under the canvas, so the pale copy still reads if WebGL never arrives. */
/* vh rather than svh. On a phone 100vh is the tall screen with the browser
   bar gone and 100svh the short one with it showing; the stage was svh, and
   once the bar had retracted the sticky stage stopped a bar's height short
   of the bottom and the page's white showed under it for the rest of the
   hero. The stage is the tall screen now, and what has to stay clear of the
   bar (the words, the cue) is padded up by the difference instead, below. */
#stage-wrap { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--charcoal); }
#stage3d { position: absolute; inset: 0; }
/* the scene is built by script after the page is up, so its canvas fades
   onto the charcoal rather than snapping on */
#stage3d canvas { display: block; animation: canvas-in .6s ease-out both; }
@keyframes canvas-in { from { opacity: 0; } to { opacity: 1; } }

/* The plate is the garden and the canvas over it is the job. Both are 16:9
   and both are cropped the same way by the stage: the photograph by
   object-fit, the canvas by the script, which sizes it to the same rectangle.
   Cover rather than contain, because a letterboxed hero would show the
   charcoal above and below on anything that is not 16:9, and the framing was
   set with room round the house on every side. */
#stage3d { overflow: hidden; container-type: size; }
#stage3d .hero-plate,
#stage3d .hero-final {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  /* Where the crop sits when the stage is wider than 16:9 (an ultrawide
     monitor, a phone on its side) and cover has to lose some of the height.
     Centred, it lost sky and ground in equal measure, and the job is in the
     ground: the near piles and the deck's near corner went off the bottom
     at 21:9. The rule keeps the near edge of the ground work (98.5% of the
     way down the photograph) and the house's ridge (26% down) clear of the
     bar, and where the stage is too short for both it shares the shortfall
     between them. Written in the image's own box (container units on the
     stage, so it holds in the portrait band and the reduced-motion still as
     well): the free height is 56.25cqw - 100cqh, and the offset is the
     midpoint of the two limits, clamped to that free height. The scene reads
     this computed value back and puts its canvas at the same offset, so the
     rule lives here alone. The plain line before it is what a browser
     without container units gets: centred, as it was. */
  object-position: 50% 50%;
  object-position: 50% clamp(min(calc(100cqh - 56.25cqw), 0px), calc((100cqh + var(--hdr) - 70.03cqw) / 2), 0px);
  user-select: none; -webkit-user-drag: none;
}
/* The photographed house sits over the canvas and both opens and closes the
   hero: the reader lands on it, the scroll hands over to the model as the
   build starts, and it comes back at the end. It is the same 16:9 as the
   plate, so the same cover rule puts it in exactly the same place.

   It starts on rather than off. That is the state at the top of the page,
   and it means the hero is a photograph of the finished house before a line
   of scene code has run. */
#stage3d .hero-final { z-index: 2; opacity: 1; }
#stage3d canvas { position: absolute; }

/* the words: vertically centred, one line of thought at a time. The column
   is measured inside the padding, not against the viewport, so it cannot
   run into the right-hand gutter on a narrow phone. */
.words {
  position: absolute; inset: 0; z-index: 10;
  display: grid; grid-template-columns: min(36rem, 100%);
  align-content: center; justify-content: start;
  padding: var(--hdr) clamp(1.4rem, 5vw, 4.5rem) 0;
  /* the stage is the tall screen; the words centre in the short one, so a
     phone's bar never covers the second action (see #stage-wrap) */
  padding-bottom: calc(100vh - 100svh);
  pointer-events: none;
}
/* Leaving is quick and arriving is unhurried, so two lines never share the
   cell at readable opacity. Visibility follows the exit so an outgoing word
   is not pulled from the tree mid-fade; script sets inert to match. */
.word {
  grid-area: 1 / 1;
  width: min(36rem, 100%);
  opacity: 0; visibility: hidden;
  transform: translateY(22px);
  transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s linear .18s;
  text-align: left;
  pointer-events: none;
}
.word.on {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .42s cubic-bezier(.22,1,.36,1) .14s, transform .42s cubic-bezier(.22,1,.36,1) .14s, visibility 0s;
}
/* The deck's words, on the Our System page's hero. The home page's opening
   screen shared these rules until 1 Nov, when its strapline was set much
   larger than the deck's lines, so it has its own now (see "the opening
   screen" below). */
.word .d {
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  color: var(--pale);
  line-height: 1.08;   /* a shade under the site's 1.12: four lines have to clear the hero's actions */
  text-shadow: 0 2px 30px rgba(10,13,14,.5);
}
.word .d em { font-style: normal; color: inherit; }  /* a block of text is one colour */
.word p {
  margin: 1.3rem 0 0; max-width: 34ch;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  color: rgba(242,241,237,.82);
  text-shadow: 0 1px 16px rgba(10,13,14,.65);
}
.stamp {
  font-family: var(--mono);
  order: 99; font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--kevin-bright); margin: 1.2rem 0 0;
}
/* the bright green over the washed scene, as the showcase stamp already does */
.word .stamp { color: var(--kevin-bright); font-size: .75rem; }
/* A short viewport has no room for the paragraph under the headline once the
   bar is reserved; the line and the actions still fit. */
@media (max-height: 480px) {
  .word .d { font-size: clamp(1.4rem, 4vw, 2rem); }
  .word p:not(.d):not(.stamp) { display: none; }
}

/* readability wash, only as strong as it needs to be */
.wash {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    linear-gradient(to right, rgba(14,17,18,.78) 0%, rgba(14,17,18,.55) 30%, rgba(14,17,18,.12) 58%, rgba(14,17,18,0) 76%),
    linear-gradient(to bottom, rgba(14,17,18,.4) 0%, rgba(14,17,18,0) 20%);
}

/* On a phone held upright the stage is roughly 9:16 and the plates are 16:9,
   so covering the whole of it would show about a quarter of the width: the
   house would fill the frame and the garden it is going into would be off
   both sides. The garden is the argument, so on a portrait screen the
   photograph takes a band across the top at close to its own shape, and the
   words take the charcoal underneath it. The band is 4:3 rather than 16:9,
   so it has some presence on the screen rather than reading as a letterbox
   strip. That trims an eighth off each side: the firepit and the house both
   sit inside what is left, which is what the framing was set up for.

   A portrait tablet is wider than 860px and would otherwise get the full
   screen crop, so the same layout also applies to any upright screen at
   3:4 or taller. Two queries in a list rather than a level-4 `or`, so an
   older browser does not drop the whole block. */
@media (orientation: portrait) and (max-width: 860px), (orientation: portrait) and (max-aspect-ratio: 3/4) {
  #stage3d { inset: 0 0 auto 0; height: auto; aspect-ratio: 4 / 3; }
  .wash {
    inset: 0 0 auto 0; height: auto; aspect-ratio: 4 / 3;
    background:
      linear-gradient(to bottom, rgba(14,17,18,.5) 0%, rgba(14,17,18,0) 30%),
      linear-gradient(to bottom, rgba(14,17,18,0) 62%, rgba(14,17,18,.55) 86%, var(--charcoal) 100%);
  }
  /* the band is 100vw * 3/4 tall; the words take the charcoal under it and
     sit centred in what is left, so a short line does not leave the screen
     bottom-heavy with empty ground */
  /* every word shares one grid cell, so the cell is as tall as the longest of
     them and a short one would sit at the top of it. Centring the words in
     the cell as well as the cell in the box is what keeps each stage sitting
     in the middle of the ground under the photograph. */
  .words { padding-top: calc(75vw + 1.6rem); padding-bottom: 4.5rem; padding-bottom: calc(4.5rem + 100vh - 100svh); align-items: center; }
}
/* A short phone has no room under the band for the headline, the paragraph
   and two actions at full size: the cue was printed over the second button
   and the button itself ran off the screen. Smaller type, a tighter gap to
   the actions, and no cue, which the actions stand in for. */
@media (orientation: portrait) and (max-width: 860px) and (max-height: 760px) {
  .cue { display: none; }
  .word .d { font-size: clamp(1.6rem, 8vw, 2rem); }
  /* the ground under the band is scarce at 320x568: 3rem rather than 4.5rem
     below the words keeps the second action on the screen */
  .words { padding-bottom: 3rem; padding-bottom: calc(3rem + 100vh - 100svh); }
}
/* The shortest phones (320x568) still ran 17px over with the band at 4:3, so
   there the band takes the photograph's own 16:9 and the words get the
   difference. Nothing is cropped from the plate at that shape. */
@media (orientation: portrait) and (max-width: 860px) and (max-height: 600px) {
  #stage3d, .wash { aspect-ratio: 16 / 9; }
  .words { padding-top: calc(56.25vw + 1.2rem); }
}

.cue {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 10;
  bottom: calc(1.6rem + 100vh - 100svh);   /* above a phone's bar; see #stage-wrap */
  transform: translateX(-50%);
  color: rgba(239,234,224,.75);
  transition: opacity .5s ease;
}
/* a short viewport has the actions where the cue would sit */
@media (max-height: 600px) { .cue { display: none; } }

/* --- the opening screen -------------------------------------------------- */
/* 30 Oct: the page opens on a still screen above the build - the strapline,
   the line and the two actions (index.html, ".opening"). The build was the
   second section until 5 Nov, when it moved to the system page and the Why
   Choose sheet (".choose", below) took its place.

   1 Nov, after the client's reference, a civil-engineering hero: one of his
   own site photographs under the deep green, his strapline very large and
   set low on the left where the green is heaviest, his line and the two
   actions under it, and nothing else on the screen.
   Not the finished house: the build that followed pinned on that photograph,
   and the reader met it twice.

   The photograph is one swappable source (index.html says how). Its crop is
   these three properties and nothing else:
     --photo-start   where it begins from the left on a wide screen. A
                     portrait picture, as the placeholder is, is set into the
                     right of the screen, where the subject can stand clear
                     of the words; 0% puts a landscape picture full bleed.
     --photo-pos     its object-position on a wide screen
     --photo-pos-up  its object-position upright (a phone), always full bleed

   svh rather than the stage's vh: this screen does not pin, so the phone's
   bar showing or not changes nothing here, and at the short screen's height
   the actions are always above the bar. A minimum, not a height, so a short
   screen grows the section rather than clipping the copy. The charcoal is
   what shows until the photograph arrives, and it is what the wash is made
   of, so the photograph arriving is the only change. */
.opening {
  --gutter: clamp(1.4rem, 5vw, 4.5rem);
  --photo-start: 34%;
  --photo-pos: 50% 8%;
  --photo-pos-up: 46% 18%;
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-content: end;
  padding: calc(var(--hdr) + 2rem) var(--gutter) clamp(3rem, 12vh, 7.5rem);
  background: var(--charcoal); color: var(--pale);
}
.opening-media {
  position: absolute; inset: 0 0 0 var(--photo-start); z-index: 0; overflow: hidden;
}
/* The photograph in the site's colour. Taken most of the way to grey, so a
   blue sky and a hi-vis vest do not fight the green, and then given the
   brand green's hue at its own lightness ("color" blending keeps the
   picture's light and dark and changes only its hue), and taken down a
   third: the moody, one-colour picture of the reference, in the deep green
   rather than its blue. */
.opening-media img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--photo-pos);
  filter: saturate(.2) brightness(.7) contrast(1.06);
  user-select: none; -webkit-user-drag: none;
}
.opening-media::after {
  content: ""; position: absolute; inset: 0;
  background: var(--kevin-mid); mix-blend-mode: color; opacity: .6;
}
/* The wash: the deep green itself, heaviest at the foot and on the left,
   where the words are, and lightest at the top right, where the subject is.
   On the left it is solid as far as the photograph's edge, so the edge is
   never seen, and it eases off across the picture from there. */
.opening::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(4,25,15,.94) 0, rgba(4,25,15,.62) 32%, rgba(4,25,15,0) 64%),
    linear-gradient(to right, var(--charcoal) var(--photo-start), rgba(4,25,15,.8) calc(var(--photo-start) + 8%), rgba(4,25,15,.48) calc(var(--photo-start) + 32%), rgba(4,25,15,.26) 100%);
}
.opening-copy { position: relative; z-index: 2; }

/* The strapline at the reference's scale: three lines, one sentence to each,
   at close to six per cent of the screen's width, so the longest runs to
   about three quarters of it. Semibold, at the client's ask: the one place
   the site sets its display face heavier than its light 300, and the
   self-hosted Outfit is the variable file (100 to 900), so the weight costs
   no further download. Tighter leading and tracking than the site's .d, as
   heavy display type at this size wants. */
.opening .d {
  font-size: clamp(2.5rem, 5.8vw, 6.8rem);
  font-weight: 600;
  line-height: 1.02; letter-spacing: -0.032em;
  color: var(--pale);
}
/* one sentence to a line; a long one still wraps inside its own line */
.opening .d span { display: block; }
.opening p {
  margin: clamp(1.2rem, 2.4vh, 1.8rem) 0 0; max-width: 46ch;
  font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55;
  color: rgba(242,241,237,.86);
}
.opening .acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.6rem, 3.4vh, 2.4rem); }
/* The solid action is charcoal, which is this ground, so it inverts to pale
   as it does on every dark head and band, and its disc inverts with it so
   the arrow does not vanish into its own pill. */
.opening .btn:not(.ghost) { background: var(--pale); color: var(--charcoal); }
.opening .btn.sweep:not(.ghost) .sweep-ico svg { background: var(--charcoal); color: var(--pale); }
@media (hover: hover) {
  .opening .btn:not(.ghost):hover { background: var(--kevin-mid); color: #fff; }
}

/* A short window (a phone on its side) keeps the composition with less
   type, so the actions stay on the first screen. */
@media (max-height: 520px) {
  .opening { padding-bottom: 1.6rem; }
  .opening .d { font-size: clamp(1.8rem, 5vw, 2.6rem); }
  .opening p { display: none; }
  .opening .acts { margin-top: 1.2rem; }
}

/* Upright, the words sit at the foot under a wash that is held to the foot
   in rem rather than to the screen in per cent: the copy is much the same
   height on every phone, so on a short one it starts higher up and the ramp
   has to start with it. The photograph takes the top two thirds, full
   width, and fades out into the green under the words: covering the whole
   screen, a picture's subject sat wherever its height put it, which was
   behind the words; in the part of the screen that is open, --photo-pos-up
   can put it in view. A little green at the top keeps the bar's edge. */
@media (orientation: portrait) and (max-width: 860px), (orientation: portrait) and (max-aspect-ratio: 3/4) {
  .opening { --photo-start: 0%; padding-bottom: 2.25rem; }
  .opening-media {
    bottom: auto; height: 66%;
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent);
            mask-image: linear-gradient(to bottom, #000 62%, transparent);
  }
  .opening-media img { object-position: var(--photo-pos-up); }
  .opening::before {
    background:
      linear-gradient(to bottom, rgba(4,25,15,.55) 0, rgba(4,25,15,0) 22%),
      linear-gradient(to top, rgba(4,25,15,.96) 0, rgba(4,25,15,.9) 16rem, rgba(4,25,15,.62) 28rem, rgba(4,25,15,0) 40rem);
  }
  .opening .d { font-size: clamp(2.2rem, 10.4vw, 4rem); line-height: 1.04; }
}
/* the shortest phones: a size down, so the actions are still on the screen */
@media (orientation: portrait) and (max-width: 860px) and (max-height: 700px) {
  .opening .d { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .opening p { margin-top: 1rem; }
  .opening .acts { margin-top: 1.3rem; }
}

/* --- the page below the hero -------------------------------------------- */
/* One light ground. Every section is positioned so that it paints over the
   pinned photograph before it in tree order; a sticky element is positioned,
   and an unpositioned sibling would otherwise slide underneath it. */

.wrap { max-width: 78rem; margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem); }

section { background: var(--l0); color: var(--ink); }
/* Pinned photographs sit behind everything else rather than in front of
   whatever follows them in the source. That is what lets a band's sweep cut
   down to the picture under it instead of to the page: the band paints over
   the pin, and where the band is cut away the pin shows through. Sections
   still ride over a pin on the way down, which is what the pin is for. */
main > section { position: relative; z-index: 1; }
main > section.pin { z-index: 0; }
section .d { font-size: clamp(1.6rem, 3.2vw, 2.7rem); max-width: 20ch; }
section p { font-size: .94rem; line-height: 1.7; color: var(--ink-soft); max-width: 46ch; }

.acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* --- the split: a pinned head on the left, a stack on the right ----------- */
/* The reference's container is 1120px with a 24px gutter between halves. The
   head pins at the stack's top edge and stays while the cards stack beside it. */
.split { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .split > .head { position: sticky; top: var(--stack-top); }
}
.split .d { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 14ch; }
.split .head > p:not(.eyebrow) { margin: 1.3rem 0 0; }

/* --- the stack: sibling cards that pin at incrementing offsets ------------- */
/* Pure CSS. Each card is sticky at the stack's top plus its own index times
   the step, so the second pins beneath the first and so on, and the offsets
   read as a pile once four or five are stuck. The reference steps 70px in its
   programme list and 40px in its locations list; the step is set per stack.
   Cards carry a solid ground so each covers the one before it. */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; --step: 70px; --offset: 0px; }
.stack > .card { position: sticky; top: calc(var(--stack-top) + var(--offset) + var(--i, 0) * var(--step)); }
@media (max-width: 899px) { .stack { --step: 50px; } }
/* Six cards at 70px is 350px of pile before the last card starts, and on a
   laptop of 640 to 760px the sixth could never be seen whole: its tag was
   below the fold at every scroll position. The step gives way to the room
   left under the pinned edge once a full card (598px at most since the
   pictures went full width, and 1rem under it) is allowed for, and only
   takes its full 70px where that room exists. On a laptop it comes down to
   12px: seven white edges still read as a pile, and every pixel saved goes
   to the picture (see the card's height cap under .programs). A phone's
   card is up to 430px and cannot give anything up, so there the step alone
   makes the room, down to 10px; where even that is not enough the stack
   is a list (see short viewports). */
@media (min-width: 900px) {
  .programs .stack { --step: clamp(12px, (100svh - var(--stack-top) - 620px) / 5, 70px); }
}
@media (max-width: 899px) {
  .programs .stack { --step: clamp(10px, (100svh - var(--stack-top) - 440px) / 5, 50px); }
}
/* EVERY CARD IN A PINNED STACK IS THE TALLEST CARD'S HEIGHT, 31 Oct. The
   pile has to leave at the list's end, and sticky leaves it the only way it
   can: each card is held inside the list, so as the list's foot comes up it
   pushes each card until its foot is on the list's foot. With cards of one
   height that is an orderly exit - the last card slides up over the tabs in
   turn and the pile goes as one. With cards of different heights the feet
   line up and the tops do not: a taller card is lifted ABOVE the shorter
   card before it, so on the way out "02" rose over "01" and hid it, tabs
   collapsed out of order and empty strips of card showed between them -
   the white boxes "not scrolling properly" (the client, on the system and
   applications pages; the same rule behaved the same way on the home page,
   wherever the copy happened to make one card taller). Filmed at 390, 768,
   1024 and 1440, the cards differed by up to 41px. Only where the stack
   pins: as a plain list (reduced motion, short screens) a card keeps its
   own height - the short-viewports rule at the foot of the file takes this
   off again wherever it unpins. */
@media (prefers-reduced-motion: no-preference) {
  .stack { grid-auto-rows: 1fr; }
}

/* No outline on any of these. A hairline box round every card was the one
   thing that made the page look drawn rather than built, so the card is
   given an edge the way a real card has one: it is lighter than the ground
   it sits on, and it lifts off it.

   That means white on the pale ground rather than the ground's own colour,
   which the card used to share. The cards in the stack slide over one
   another, so white alone would lose the join; the shadow is what keeps the
   card above readable against the card below. */
.card {
  background: #fff; color: var(--ink);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(4, 25, 15, .07), 0 14px 30px -16px rgba(4, 25, 15, .40);
}
/* deeper on the stack, where a card has another card behind it rather than
   the page */
.stack > .card { box-shadow: 0 2px 5px rgba(4, 25, 15, .08), 0 22px 40px -20px rgba(4, 25, 15, .52); }
.card .n {
  display: block; font-family: var(--mono); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; color: var(--kevin-deep);
}
.card h3 {
  font-family: var(--display); font-weight: 300; font-synthesis: none;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -0.02em; line-height: 1.1;
  margin: 1.3rem 0 .9rem; max-width: 16ch;
}
.card p { margin: 0; font-size: .98rem; }
.card .tag {
  display: block; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink);
}

/* --- about: the system, its three reasons, and the diagram ---------------- */
/* White, alone on the page: everything else sits on the pale ground, so the
   one section that explains the system reads as a sheet laid on top of it.
   The bar over it turns green to match, which is what carries the change down
   the screen rather than leaving a white block with a pale bar on it. */
/* The sweep at the foot of a band is the section's ground, not a margin. The
   default clearance holds everything above it and left a third of the screen
   empty; here the three reasons sit down on it, where the teal is at its
   darkest and pale type reads best. */
.about.band { padding: calc(var(--pad) * .40) 0 calc(var(--pad) * .95) !important; }
/* ...but down on the dark teal, never into the cut. Since 31 Oct the last
   row is the benefits' second row of three (on the Services page since 5 Nov), and its right-hand cell runs to
   the wrap's right edge, which is where the sweep lifts out: at 1024 the
   foot of "Trees, drains..." went 26px into the cut and showed the
   photograph through it (the client's screenshot). The cut at the wrap's
   right edge stands .46 of the foot's height off the section's foot while
   the wrap fills the screen (measured off band-cut.svg, at 900 and at
   1248); past 78rem the wrap stops growing, its edge moves left and down
   the curve, and the cut there falls away faster than the foot grows, so
   the allowance comes off with it. Two rem of teal between the last line
   and the edge, and never less than the band's own .95 of the rhythm. */
@media (min-width: 900px) {
  .about.band {
    padding-bottom: max(calc(var(--pad) * .95),
      calc(var(--band-foot) * .47 + 2rem - max(0px, 100vw - 78rem) * .24)) !important;
  }
}
/* In one column the diagram is the last thing in the band and sat in the
   sweep, which cut a wedge off its corner; below the two-column width the
   foot's clearance comes back, a little short of the default so the band
   does not go back to a third of a screen of empty teal. Since 31 Oct the
   diagram is on the system page and the last benefit (on the Services page
   since 5 Nov) is what the clearance keeps out of the sweep. */
@media (max-width: 899px) {
  .about.band { padding-bottom: calc(var(--pad) * .95 + var(--band-foot) * .63) !important; }
}
.about .grid { display: grid; gap: clamp(1.9rem, 3.6vw, 3.2rem); }
/* Words and diagram share the top line; the three reasons run underneath them
   across the whole page. Stacked in one column the section ran to a screen and
   a half, and the reasons are three short parallel claims, which is a row. */
@media (min-width: 900px) {
  .about .grid {
    grid-template-columns: minmax(0, 1fr) clamp(240px, 26vw, 380px);
    grid-template-areas: "copy media" "items items";
    align-items: start; column-gap: clamp(2rem, 3.4vw, 3rem);
  }
  .about .copy  { grid-area: copy; }
  .about .media { grid-area: media; }
  .about .items { grid-area: items; }
}
.about .d { font-size: clamp(2.1rem, 4.25vw, 3.95rem); max-width: 20ch; }
.about .lede { margin: 1.1rem 0 0; max-width: none; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; }
.about .acts { margin-top: 1.5rem; }
/* the reasons as the reference's rule-separated items, icon in the title */
.about .items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.about .items li { padding: 1.25rem 0 0; }
@media (min-width: 900px) {
  .about .items {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.4vw, 2.2rem);
  }
  .about .items li { padding: 2.1rem 0 0; }
}
@media (max-width: 899px) {
  .about .items li { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
}
.about .items h3 {
  display: flex; align-items: center; gap: .6rem; margin: 0;
  font-family: var(--display); font-weight: 300; font-synthesis: none;
  font-size: clamp(1.35rem, 2.15vw, 1.9rem); letter-spacing: -0.018em; line-height: 1.12;
}
.about .ico { width: 40px; height: 40px; flex: none; color: var(--kevin-bright); }
.about .items p { margin: .75rem 0 0; font-size: clamp(1.03rem, 1.3vw, 1.18rem); line-height: 1.52; }
/* The diagram is the client's own artwork on his own green, so it needs no frame
   beyond the corner radius. It keeps its own square shape rather than being
   stretched to a column, which is what made it a thousand pixels tall. */
.about .media { position: relative; border-radius: 8px; overflow: hidden; background: var(--kevin); }
.about .media img { display: block; width: 100%; height: auto; aspect-ratio: 1519 / 1600; object-fit: cover; }
/* Beside the words it takes the words' own height rather than setting the
   line: square, it was the tallest thing on the page and everything else was
   waiting for it. */
@media (min-width: 900px) {
  .about .media { align-self: stretch; min-height: 260px; }
  .about .media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
/* The system page's head is this section's top half (31 Oct): the words and
   the diagram, with the reasons left behind (on the home page until 5 Nov,
   when they moved to the Services page). Without them the
   second row of the grid is empty, and its row gap was a strip of dead
   ground under the head; the head is the one row. The page head's own type
   and spacing stand over .about's, which come earlier in this file. */
@media (min-width: 900px) {
  .page-head.about .grid { grid-template-areas: "copy media"; }
}

/* The client's line, set as a spec label rather than another paragraph: it is a
   claim with a number in it, which is what that type role is for. */
.process .warranty { margin-top: 1.4rem; color: var(--kevin-mid); }
/* 15 Oct: the client asked for "Helical Pile Foundations" over the heading.
   The head rides up to the section's top edge, where the sticky bar sits, so
   the eyebrow landed under it: measured at 1440, 37px of it was behind the
   bar, which is the eyebrow's own height. The head takes that height back as
   top padding, so the heading returns to the line it held before and the
   eyebrow occupies the space the padding opens below the bar. The plate is
   not moved: the photograph's ride-over is unchanged. */
.process .head { padding-top: 2.4rem; }
@media (max-width: 899px) { .process .head { padding-top: 0; } }

/* ===========================================================================
   The banded home page

   the client's reference alternates a coloured panel and a white one, and the
   coloured panel does not end in a straight line: it ends in a long sweep
   that runs low on the left and lifts out through the top right corner.

   The sweep is cut out of the section rather than painted over it. A shape
   laid on top would have to know what colour comes next, and one of these
   bands has a photograph under it, not a colour. Masking the section means
   whatever is behind simply shows: white on most of them, sky on that one.

   The mask is two layers. Everything above the foot stays solid; the foot
   takes the curve. That keeps the sweep the same shape on a short section
   and a long one, which a single stretched mask would not.
   =========================================================================== */
.band {
  position: relative;
  color: var(--pale);
  /* The client's own artwork, used directly rather than redrawn. The foot carries
     the waves and the sweep at the exact proportions of his file, so the curve
     starts in the same place and leaves the right edge at the same height on
     every band. Above the foot, the row where the foot begins is stretched
     upward, which fills any section height without touching the shape. */
  background:
    url("images/band-foot.png?v=2") no-repeat bottom left / 100% var(--band-foot),
    url("images/band-top.png")  no-repeat top left / 100% calc(100% - var(--band-foot) + 1px);
  padding-bottom: calc(var(--pad) + var(--band-foot) * 0.62) !important;
  /* the same file is the mask: where it is clear, the section is cut away, so
     what shows through the sweep is whatever is behind it */
  /* The cut is taken from a vector of the same edge rather than from the
     PNG's own alpha: the artwork is 1028px wide and gets stretched well past
     that on a large screen, and a raster edge softens and steps as it goes.
     The path is a smooth Bézier fitted to the artwork's edge, running
     tangent into the flat foot, and the PNG's teal is carried a few rows
     past its own edge, so the only edge the eye meets is the path's. */
  -webkit-mask-image: linear-gradient(#000, #000), url("images/band-cut.svg?v=2");
          mask-image: linear-gradient(#000, #000), url("images/band-cut.svg?v=2");
  -webkit-mask-size: 100% calc(100% - var(--band-foot) + 1px), 100% var(--band-foot);
          mask-size: 100% calc(100% - var(--band-foot) + 1px), 100% var(--band-foot);
  -webkit-mask-position: top left, bottom left;
          mask-position: top left, bottom left;
  -webkit-mask-repeat: no-repeat, no-repeat;
          mask-repeat: no-repeat, no-repeat;
}
.band > * { position: relative; z-index: 1; }
.band .d { color: #fff; }
/* White for body copy over the band artwork: the soft pale fell under 4.5:1
   on the lighter reaches of band-top.png. The cards on a band are light, so
   their copy goes back to ink; this rule must stay after .band p. */
.band p { color: #fff; }
.band .card p { color: var(--ink-soft); }
.band .eyebrow, .band .spec { color: var(--pale); }

/* The band with a photograph under it rather than a colour: the picture is
   pulled up behind the sweep so its sky fills the cut. On the home page that
   is the Why Choose band (".choose"), on the applications page the programs'.
   The Services page's benefits band has the roles' pale ground under it
   instead and no photograph (see services.html). */
.band + .pin { margin-top: calc(-1 * var(--band-foot)); }

/* The white sections between the bands. */
.band-white { background: #fff; }

/* What the sweep reveals. The cut takes the section away, so what shows
   underneath is the page itself: on the banded home page that has to be white,
   or a strip of the pale ground appears between the curve and the section
   after it. The system and applications pages (31 Oct) are made of the home
   page's own sections, the cards' band among them, so they take the same
   white through .banded; so do the About Us page (its accreditations band)
   and the underpinning page, which Applications opens (5 Nov). The Services
   page leaves it off on purpose, as its own comment says. Not .home itself: that class is the home page's
   name, and a rule written for the home page alone could later come to key
   on it. */
body.home, body.banded { background: #fff; }

/* A solid button on a coloured band is charcoal on dark, so it inverts here
   the way it already does on the closing band. */
.band .btn:not(.ghost) { background: var(--pale); color: var(--charcoal); }
/* On a coloured band the outline button was set in ink, which is the light
   ground's treatment: it read as a disabled control. White, on a heavier rule,
   at the solid button's weight; under the pointer it fills to solid white, so
   the change is unmistakable rather than a shift of tint. */
.band .btn.ghost { color: #fff; border-color: #fff; border-width: 2px; font-weight: 600; }
@media (hover: hover) {
  .band .btn.ghost:hover {
    background: #fff; color: var(--charcoal); border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,.24);
  }
}
.band .btn.ghost:focus-visible { background: #fff; color: var(--charcoal); }
/* the diagram carries its own ground, which was there to sit on the light
   page; on the band it only shows as a rim */
.band .media { background: transparent; }

/* --- why choose: the six reasons, ruled on the band like a title block ------ */
/* 5 Nov, from the client's designer brief: his six reasons three across on a
   desktop, two on a tablet and one on a phone. They went in first as six
   white cards with the soft lift, and Joe's verdict on the evening of the
   same day was that they read as any software firm's feature tiles.

   So there are no cards. The six sit straight on the teal and the grid is
   drawn, as the cells of a drawing's title block are: a rule over the
   whole, a rule under each row, and a fainter rule up each gutter, in the
   accreditations list's two hairlines (.accred .creds) so the two lists of
   facts on the site read as the same hand. The type does the rest, as it
   does in that list: each title in the light display face, the sentence
   under it in white, everything on the left edge. The capitals the brief
   gave the titles came from the .spec label; set in the label voice they
   were the tiles' caps-over-grey stack, so they take the list's face here.

   Each icon is the cell's mark, not its headline: set into the top right
   corner beside the title at 28px, down from 40, and drawn in the pale the
   rules are, so the sheet is in one ink. The bright green the services
   page's icons take was tried first and measured 2.1:1 on the band's
   lighter left; the pale is 5.6:1 there. The stroke stays at the site's
   1.5px though the icon is smaller (non-scaling-stroke), so its line is the
   other icons' line.

   The rows are rules, so the old clearance still holds: the last rule on
   the right runs out to the wrap's edge, where the sweep lifts out, as the
   last card did, and the foot's allowance is the one .about.band works out
   for the same edge (see above). */
.choose.band {
  padding: var(--pad) 0
    max(calc(var(--pad) * .95), calc(var(--band-foot) * .47 + 2rem - max(0px, 100vw - 78rem) * .24)) !important;
}
.choose .head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
/* the page's one h2 at the .about heading's size; the question is one line
   where it fits and breaks in half, not into a widow, where it does not */
.choose .d { font-size: clamp(2.1rem, 4.25vw, 3.95rem); max-width: none; text-wrap: balance; }
.choose .lede { margin: 1.1rem 0 0; max-width: none; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; }
.choose .reasons {
  /* the gutter; its rule runs up the middle of it, so every cell's text
     column is the same width, the middle one included */
  --gx: clamp(2rem, 4.2vw, 3.6rem);
  list-style: none; margin: 0; padding: 0;
  display: grid; column-gap: var(--gx);
  border-top: 1px solid rgba(238, 242, 234, .3);
}
.choose .reasons li {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem;
  grid-template-areas: "h ico" "p p"; align-content: start;
  padding: clamp(1.5rem, 2.5vw, 2.15rem) 0 clamp(1.7rem, 2.9vw, 2.5rem);
}
/* The rule under each cell. In a row of cells it runs half the gutter past
   the cell on either side, so the row's rules meet in one unbroken line, and
   the row's outer cells stop at the wrap's edge. */
.choose .reasons li::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  border-bottom: 1px solid rgba(238, 242, 234, .3);
}
/* the gutter's rule, on every cell with a cell to its left; it spans the
   cell's whole height, so the rows' rules and the gutters' meet as a grid */
.choose .reasons li::before {
  content: none; position: absolute; top: 0; bottom: 0;
  left: calc(var(--gx) / -2);
  border-left: 1px solid rgba(238, 242, 234, .16);
}
/* Two across, then three. Each cell takes two rows of the list (subgrid), so
   in any one row the sentences start on the same line whether the title over
   them runs to one line or two, and every cell in a row is the row's height.
   Without subgrid the cell is its own grid and nothing else moves. The three
   undoes the two rather than the two stopping at 999px: on a screen scaled
   to a fractional width (999.4px) a max-width: 999px and a min-width: 1000px
   both fail, and the six fell to one column there. */
@media (min-width: 600px) {
  .choose .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choose .reasons li { grid-row: span 2; grid-template-rows: subgrid; }
  .choose .reasons li::after { left: calc(var(--gx) / -2); right: calc(var(--gx) / -2); }
  .choose .reasons li:nth-child(odd)::after { left: 0; }
  .choose .reasons li:nth-child(even)::after { right: 0; }
  .choose .reasons li:nth-child(even)::before { content: ""; }
}
@media (min-width: 1000px) {
  .choose .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choose .reasons li:nth-child(n)::after { left: calc(var(--gx) / -2); right: calc(var(--gx) / -2); }
  .choose .reasons li:nth-child(3n+1)::after { left: 0; }
  .choose .reasons li:nth-child(3n)::after { right: 0; }
  .choose .reasons li:nth-child(n)::before { content: none; }
  .choose .reasons li:not(:nth-child(3n+1))::before { content: ""; }
}
/* The title's size is the one at which the longest, Tree-Friendly
   Foundations, takes one line beside its icon on a phone, at two across from
   680px and at three across from 1012px up to the wrap's full width (measured
   5 Nov). Below those it breaks in two and the subgrid keeps the row level. */
.choose .reasons h3 {
  grid-area: h; margin: 0; max-width: none;
  font-family: var(--display); font-weight: 300; font-synthesis: none;
  font-size: clamp(1.3rem, 1.8vw, 1.62rem); letter-spacing: -0.018em; line-height: 1.15;
  color: #fff; text-wrap: balance;
}
.choose .ico {
  grid-area: ico; display: block; width: 28px; height: 28px;
  color: var(--pale);
}
.choose .ico * { vector-effect: non-scaling-stroke; }
/* no last line of one word; and a figure keeps its unit (5 mm) */
.choose .reasons p {
  grid-area: p; margin: .8rem 0 0; max-width: 40ch;
  font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.55; text-wrap: pretty;
}
.choose .fig { white-space: nowrap; }

/* --- the numbers: three figures, each under its own photograph ------------- */
/* This ran as six alternating cells across one strip, the figures in the wide
   slots and the photographs in the narrow ones. Two things were wrong with
   that. The photographs came out as slivers, which is no way to treat the only
   pictures on the page of the client's own crews on his own jobs. And the strip had
   no padding above it, so those slivers ran into the edge of the section over
   it and read as an accident.

   So the pair is the unit now: a photograph, and under it the figure it
   belongs to. Three of them across. The photograph gets a whole column instead
   of a sixth of the row, the figure sits under it where a caption goes, and
   the section has air above it like every other one.

   Source order is figure-then-photograph, which is the right reading order and
   stays that way for a screen reader. `order` flips them visually only. */
.numbers { padding: var(--pad) 0; }
.numbers ul {
  list-style: none; margin: 0 auto; padding: 0;
  width: calc(100% - 2 * clamp(1.2rem, 4vw, 3rem)); max-width: 72rem;
  display: grid; gap: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3.4vw, 3rem);
}
.numbers .photo  { order: 1; }
.numbers .stat   { order: 2; }
.numbers li:nth-child(3) { order: 4; }   /* the second figure */
.numbers li:nth-child(4) { order: 3; }   /* the second photograph */
.numbers li:nth-child(5) { order: 6; }
.numbers li:nth-child(6) { order: 5; }
/* Three columns of two rows, filled column by column, so each photograph
   keeps the figure that belongs to it directly underneath. */
@media (min-width: 760px) {
  .numbers ul { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; }
}
.numbers .stat { padding: 0; display: flex; flex-direction: column; }
.numbers .stat .eyebrow { margin: 0; font-size: .64rem; }
.numbers .stat .eyebrow::before { display: none; }
.numbers b {
  display: block; margin: 0 0 .5rem;
  font-family: var(--display); font-weight: 300; font-synthesis: none;
  font-size: clamp(2.1rem, 3.4vw, 3.1rem); letter-spacing: -0.022em; line-height: 1.05;
  font-variant-numeric: tabular-nums; white-space: nowrap;   /* a figure never breaks */
}
.numbers small { font-family: var(--mono); font-weight: 600; font-size: .38em; letter-spacing: .06em; margin-left: .3em; }
.numbers .stat > span:last-child { font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.numbers .lbl { display: block; margin-bottom: .3rem; }
/* The photograph sets its own box from an aspect ratio rather than from the
   file, so the row is the right height before the image has loaded and the
   page does not jump when it arrives. */
.numbers .photo {
  aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden;
  background: var(--l1);
}
.numbers .photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
/* The capped pile is a tall frame: the window sits high on it, on the cap
   plate and the shaft under it rather than the spoil at the foot. */
.numbers .photo.cap img { object-position: 50% 30%; }
/* The pile being driven is a tall frame: the window sits low on it, on the
   shaft and the helix entering the ground rather than the drive head above. */
.numbers .photo.lower img { object-position: 50% 58%; }

/* --- root protection: the client's drawing, the width of the screen -----------
   The labels on it are the point of it and at two thirds of the page they were
   too small to read, so it runs edge to edge with nothing beside it.
   The words sit in a strip cut from the drawing's own dark green, hard against
   the bottom of it, so the two read as one full-width panel. Laid over the
   drawing itself they landed on the client's labels wherever they were put: there
   is no clear ground in it. */
/* Edge to edge, and shown whole. Nothing is cropped: the client's graphic is
   three by two and is drawn at its own shape here rather than being fitted to
   the screen. The block clears the bar at the top, so the logo is never under
   it either. */
.rpa { padding: var(--hdr) 0 0; }
.rpa-art { position: relative; margin: 0; display: block; line-height: 0; }
.rpa-art img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1536 / 1024;      /* its own, so nothing is cut */
}
.rpa-words {
  display: grid; gap: clamp(1rem, 3vw, 2.4rem);
  padding: clamp(1.1rem, 2.1vw, 1.7rem) clamp(1.2rem, 4vw, 3rem);
  background: #1D4F50;          /* the panel behind the logo in the drawing */
  color: #fff; line-height: 1.5; text-align: left;
}
@media (min-width: 820px) {
  .rpa-words { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; }
}
.rpa-words .d { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 0; max-width: 20ch; }
.rpa-words p { color: rgba(255,255,255,.9); margin: 0; max-width: 62ch; font-size: clamp(.95rem, 1.1vw, 1.02rem); }

/* --- projects head: the client's reference, layer for layer ---------------
   Back to front: a flat green ground; the photograph butted against it on the
   right with a hard vertical seam; the headline laid across that seam so it
   sits on both; and a figures panel stepped in from the left that runs off the
   right edge of the page and covers the foot of the photograph.
   Greens sampled from the reference. The photograph keeps its own three by two
   so none of it is lost, and the block starts clear of the bar rather than
   running under it. It carries a tint the reference does not need: ours is a
   bright picture where theirs was fog, and white type on that sky measures
   under 3:1 without one. */
.phero {
  --phero-ground: #112E2C;
  --phero-panel:  #153832;
  --phero-seam:   44%;
  --phero-top:    calc(var(--hdr) + clamp(1.6rem, 3.4vw, 3rem));
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--phero-ground); color: #fff;
  padding-top: var(--phero-top);
  display: grid;
  grid-template-columns: var(--phero-seam) 1fr;
  grid-template-areas: "body art" "stats stats";
  align-items: center;
}
.phero-art { grid-area: art; align-self: start; position: relative; z-index: 0; aspect-ratio: 3 / 2; }
.phero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(17,46,44,.70), rgba(17,46,44,.34) 30%, rgba(17,46,44,.34)),
    rgba(17,46,44,.10);
}
/* the line runs past its own column and over the picture, as the reference's
   does; the grid does not clip, so the overhang is simply drawn on top */
.phero-body {
  grid-area: body; position: relative; z-index: 1;
  padding: 1rem 0 1rem clamp(1.2rem, 9vw, 8rem);
}
.phero .d {
  margin: 0; color: #fff;
  font-size: clamp(2.3rem, 7.6vw, 9rem); line-height: 1.06; letter-spacing: -0.026em;   /* at 109px the light face can take a touch more than the site's -0.022em */
  white-space: nowrap;                 /* the line is set by its breaks, and it overhangs the seam */
}
.phero .hl { color: #2FC77E; }
/* the figures: stepped in on the left, off the edge on the right, each one a
   number over its label with a rule under the pair. Set as the figures on the
   home page are set, in the display face at its own weight. */
.phero-stats {
  grid-area: stats; position: relative; z-index: 2; list-style: none;
  margin: clamp(1.6rem, 3.4vw, 3rem) 0 0 clamp(1.2rem, 9vw, 8rem);
  padding: clamp(1.5rem, 2.8vw, 2.4rem) 0 clamp(1.3rem, 2.4vw, 2rem);
  background: var(--phero-panel);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.phero-stats li { padding: 0 clamp(1rem, 2.6vw, 2.6rem); }
.phero-stats b {
  display: block; font-family: var(--display); font-weight: 300; font-synthesis: none;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.05; letter-spacing: -0.022em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.phero-stats span {
  display: block; margin: .7rem 0 .8rem;
  font-family: var(--mono); font-weight: 500; font-size: clamp(.62rem, .8vw, .74rem);
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.66);
  border-bottom: 1px solid rgba(255,255,255,.24); padding-bottom: .8rem;
}
/* On a phone the seam has nowhere to go, so the picture takes the top of the
   block and the words sit under it, which is the same order top to bottom. */
@media (max-width: 780px) {
  .phero {
    grid-template-columns: 1fr;
    grid-template-areas: "art" "body" "stats";
    padding-top: var(--hdr);
  }
  .phero .d { white-space: normal; }
  .phero-body { padding: 2.4rem clamp(1.2rem, 6vw, 3rem) 1.8rem; }
  .phero-stats { margin-left: 0; grid-template-columns: 1fr; padding-inline: clamp(1.2rem, 6vw, 3rem); }
  .phero-stats li { padding: 0; }
  .phero-stats li + li { margin-top: 1.1rem; }
}
/* --- the projects reel ----------------------------------------------------
   The install strip's mechanism: two copies of the same list, each sliding its
   own width, so the loop has no seam and there is no script driving a frame.
   Paced from its measured width in site.js, at about a third of the tickers'
   speed. A card carries the picture, the place and the name and nothing else;
   choosing one holds the reel and opens the rest underneath. */
.reel { display: flex; overflow: hidden; }
/* The reel's card width and the gap between cards, kept as tokens because the
   arrows below are placed from them: they sit on the picture's midline, and
   the picture is 4:3 of the card. */
.reel-frame, .job-open-frame { --reel-card: clamp(15rem, 25vw, 23rem); --reel-gap: clamp(.7rem, 1.5vw, 1.1rem); position: relative; }
.reel-track {
  flex: none; display: flex; gap: var(--reel-gap, clamp(.7rem, 1.5vw, 1.1rem));
  padding: 0 0 0 var(--reel-gap, clamp(.7rem, 1.5vw, 1.1rem)); margin: 0; list-style: none;
  animation: ticker 120s linear infinite;
}
/* The pointer and focus holds read the frame rather than the reel, so the
   two arrows (which sit in the frame, over the reel) hold it too: a reel
   that slid on under an arrow would step from a moving mark. */
.reel.held .reel-track,
.reel.offscreen .reel-track,
.reel-frame:focus-within .reel-track,
html[data-motion="paused"] .reel-track { animation-play-state: paused; }
/* a still pointer holds it too: a card that slides out from under the cursor
   cannot be read, let alone chosen */
@media (hover: hover) { .reel-frame:hover .reel-track { animation-play-state: paused; } }
/* The two arrows: round, white on the photograph with a soft shadow so they
   hold against any picture, a dark chevron, 48px so a thumb finds them.
   They sit over the reel's left and right edges on the midline of the
   pictures (8px of reel padding, then three-eighths of a card: half the 4:3
   picture), clear of the place and the name below. Inset from the edge by
   the track's own gap, so they stay inside the page at every width. The
   hover and press match the site's buttons: a lift and the mid green. */
.reel-arrow {
  position: absolute; z-index: 2; top: calc(8px + var(--reel-card) * .375 - 1.5rem);
  width: 3rem; height: 3rem; padding: 0; margin: 0; border: 0; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--charcoal); cursor: pointer;
  -webkit-appearance: none; appearance: none;
  box-shadow: 0 2px 10px rgba(4, 25, 15, .28), 0 0 0 1px rgba(4, 25, 15, .06);
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
/* display here is an author rule and [hidden]'s display:none is the browser's,
   so without this the panel's photograph arrows stayed on screen for a job
   with one photograph however often site.js set hidden on them. */
.reel-arrow[hidden] { display: none; }
.reel-arrow.prev { left: var(--reel-gap); }
.reel-arrow.next { right: var(--reel-gap); }
.reel-arrow svg { display: block; }
/* the chevron sits a hair off centre in its box, the way an arrowhead does */
.reel-arrow.prev svg { margin-left: -2px; }
.reel-arrow.next svg { margin-right: -2px; }
@media (hover: hover) {
  .reel-arrow:hover { background: var(--kevin-mid); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(4, 25, 15, .32); }
}
.reel-arrow:active { transform: scale(.94); transition-duration: .25s, .25s, .12s, .25s; }
/* the site's ring is pale with a green halo; on a white button the ring
   would vanish, so the halo becomes the ring and the pale one its gap */
.reel-arrow:focus-visible { outline: 3px solid var(--kevin); outline-offset: 3px; box-shadow: 0 0 0 3px #fff, 0 2px 10px rgba(4, 25, 15, .28); }
/* The reel clips at its padding edge, so 8px above and below, taken back by
   the margin so nothing else moves, is where a focused card's outline (2px
   at 4px) can paint instead of being cut off. Sideways the room is the
   track's own gap, carried on its left rather than its right so the first
   card of either copy stands a gap in from the edge; the seam between the
   copies is still one gap wide. site.js puts a focused card at that gap. */
.reel { padding: 8px 0; margin: -8px 0; }
.reel li { flex: none; width: var(--reel-card, clamp(15rem, 25vw, 23rem)); }
.job-card {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 0; color: inherit; font: inherit;
}
.job-shot {
  position: relative;
  display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px;
  background: var(--l1);
}
/* The tab on the picture that says the card opens: bottom left, its whole
   right side cut on a slant, set as the panel's photograph count is set and
   on the count's own scrim (white on 62% of the deep green clears 4.5:1 over
   the brightest part of any photograph), with the picture blurred under it
   where the browser can. It starts half a rem past the picture's left edge,
   where the picture's clip hides it, so that under the pointer or the
   keyboard's focus it can slide that half rem on, the way the card opens,
   without opening a gap at the edge; and it fills mid green, the hover
   colour of every button on the site (white on it is 6.3:1). It is
   decoration inside the card's button and is aria-hidden in the markup. */
.job-view {
  position: absolute; left: -.5rem; bottom: 0; z-index: 1;
  padding: .66em 2em .62em calc(.5rem + 1.05em);
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  line-height: 1.2; text-transform: uppercase; white-space: nowrap; color: #fff;
  background: rgba(4, 25, 15, .62);
  -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 1em) 100%, 0 100%);
  pointer-events: none;
  transition: transform .4s var(--calm), background-color .2s ease;
}
@media (prefers-reduced-transparency: reduce) {
  .job-view { background: rgba(4, 25, 15, .86); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* without script the panel never opens, so the tab would promise nothing */
html:not(.js) .job-view { display: none; }
.job-shot img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.22,1,.36,1), filter .28s ease;
  filter: saturate(.92);
}
/* the type of job leads, in the mono eyebrow voice; the place follows
   under it as the quieter line, in the body face and the soft ink, so the
   eye takes the type, then the name, and the place last */
.job-type {
  display: block; margin: 1.05rem 0 .3rem;
  font-family: var(--mono); font-size: .78rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--kevin-mid);   /* 5.3:1 on --l0; the brand green was 3.7:1 at this size */
}
.job-place {
  display: block; margin: 0 0 .5rem;
  font-size: .92rem; line-height: 1.35; color: var(--ink-soft);
}
.job-name {
  display: block; font-family: var(--display); font-weight: 300; font-synthesis: none;
  font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.018em; line-height: 1.18;
}
/* the client's one line on the job, under its name in the reading voice */
.job-desc {
  display: block; margin: .6rem 0 0;
  font-size: .95rem; line-height: 1.5; color: var(--ink-soft);
}
@media (hover: hover) {
  .job-card:hover .job-shot img { transform: scale(1.045); filter: saturate(1); }
  .job-card:hover .job-view { background: var(--kevin-mid); transform: translateX(.5rem); }
}
/* the keyboard gets the same, and a press shows at once, before the release */
.job-card:focus-visible .job-view { background: var(--kevin-mid); transform: translateX(.5rem); }
.job-card:active .job-view { background: var(--kevin-mid); }
.job-card:focus-visible { outline: 2px solid var(--kevin); outline-offset: 4px; border-radius: 10px; }
.job-card[aria-expanded="true"] .job-shot { outline: 2px solid var(--kevin); outline-offset: 3px; }
/* The sector tabs over the reel (projects.css) set the chosen sector on the
   reel and every card's <li> carries its own, so one rule hides the rest in
   both copies and in every repeat site.js adds for the loop. */
.reel[data-filter="residential"] li:not([data-sector="residential"]),
.reel[data-filter="developer"] li:not([data-sector="developer"]),
.reel[data-filter="commercial"] li:not([data-sector="commercial"]) { display: none; }
/* A sector of one card has nothing to loop and nowhere to step: the reel
   stands still with the card itself and none of its copies, in line with the
   words above it rather than at the screen's edge (the .wrap's own sum), and
   site.js hides the arrows. */
.reel.single .reel-track {
  animation: none;
  padding-left: calc(max(0px, (100% - 78rem) / 2) + clamp(1.2rem, 4vw, 3rem));
}
.reel.single .reel-track + .reel-track, .reel.single li[aria-hidden] { display: none; }

/* --- the one that was chosen, opened underneath the reel --------------------
   A full case study, so the panel is as tall as its words and never scrolls
   inside itself: the page scrolls, and site.js brings the panel's top into
   view at each showing. The photograph on the left with the place, the name
   and the facts row beside it; the study under both at a reading measure. */
.job-open { padding: clamp(2.4rem, 5vw, 4rem) 0 0; }
.job-open[hidden] { display: none; }
/* it rises in: the frame it first paints in starts a little low and clear,
   and it settles over .24s. @starting-style is what lets a transition run
   from display:none; a browser without it shows the panel in place. */
@media (prefers-reduced-motion: no-preference) {
  .job-open { opacity: 1; transform: none; transition: opacity .24s cubic-bezier(.23,1,.32,1), transform .24s cubic-bezier(.23,1,.32,1); }
  @starting-style { .job-open:not([hidden]) { opacity: 0; transform: translateY(12px); } }
}
.job-open-in { display: grid; gap: clamp(1.6rem, 3.4vw, 3rem); align-items: start; }
@media (min-width: 820px) {
  .job-open-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.job-open-shot { margin: 0; }
/* the frame holds the main photograph and the panel's two arrows: the
   reel's, on the picture's midline, a gap in from its edges so the ring
   clears the frame's clip. The caption sits under the frame, outside it,
   so the midline is the picture's and not the figure's. */
.job-open-frame { border-radius: 10px; overflow: hidden; background: var(--l1); }
.job-open-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.job-open-frame .reel-arrow { top: calc(50% - 1.5rem); }
/* Which of how many, in the picture's own corner: the one thing a reader
   stepping the arrows cannot read off the picture. Set as a label, like the
   spec type everywhere else, on a scrim dark enough to carry it over any
   photograph (white on 62% of the deep green: 11:1 at worst). It is decoration
   for a screen reader, which is told the same thing in words (#job-live), so
   it is aria-hidden in the markup and never spoken twice. */
.job-open-count {
  position: absolute; right: var(--reel-gap); bottom: var(--reel-gap); margin: 0;
  padding: .34em .7em; border-radius: 999px;
  background: rgba(4, 25, 15, .62); color: #fff;
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.job-open-count[hidden] { display: none; }
/* The job's photographs as a strip under the frame, every one of them and the
   shown one marked, so the strip is both a way to a picture and the place a
   reader reads how many there are. A row that wraps rather than three fixed
   columns: two photographs used to sit in two thirds of the width with a hole
   where the third would be. Hidden for a job with one photograph. */
.job-open-more {
  list-style: none; margin: var(--reel-gap, .8rem) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--reel-gap, .8rem);
}
.job-open-more[hidden] { display: none; }
.job-open-more li { flex: 0 0 auto; width: clamp(4.25rem, 19%, 6.5rem); }
/* the thumbnail is the button: no chrome of its own, the picture is the
   target, and the mark on the shown one is a ring drawn outside it so it does
   not crop the picture or move the row */
.job-thumb {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  border-radius: 8px; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: box-shadow .2s ease, transform .2s cubic-bezier(.23,1,.32,1), opacity .2s ease;
}
.job-thumb img { opacity: .62; transition: opacity .2s ease; }
.job-thumb[aria-current="true"] { box-shadow: 0 0 0 2px var(--kevin); cursor: default; }
.job-thumb[aria-current="true"] img { opacity: 1; }
@media (hover: hover) {
  .job-thumb:hover img { opacity: 1; }
  .job-thumb:not([aria-current="true"]):hover { transform: translateY(-2px); }
}
.job-thumb:focus-visible { outline: 3px solid var(--kevin); outline-offset: 3px; }
.job-open-more img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--l1); }
/* the caption: what the picture shows, and on the right the quiet note
   that the job's own photographs are to come (see projects.html) */
.job-open-cap {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem 1.4rem;
  margin: .8rem 0 0; font-size: .92rem; line-height: 1.4; color: var(--ink-soft);
}
.job-open-todo {
  font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--kevin-mid); white-space: nowrap;   /* 5.3:1 on --l0 */
}
/* the panel's type is the page's eyebrow; the place sits under it as on the card */
.job-open-words .eyebrow { margin-bottom: .55rem; }
.job-open-place { margin: 0; font-size: .95rem; line-height: 1.4; color: var(--ink-soft); }
.job-open-words .d { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin: .5rem 0 0; }
/* the facts row, a compact list under the name: the label in the spec
   voice beside its value, a hairline between rows; on a narrow screen the
   label sits over the value instead */
.job-facts { margin: 1.5rem 0 0; border-top: 1px solid var(--rule); }
.job-facts > div { display: grid; gap: .2rem 1.4rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 480px) { .job-facts > div { grid-template-columns: 8.5rem minmax(0, 1fr); } }
.job-facts dt {
  font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--kevin-mid); padding-top: .32rem;
}
.job-facts dd { margin: 0; font-size: 1rem; line-height: 1.45; }
/* the study. The wrap is kept for its gutters; the measure is the study's
   own, 65ch, from the left edge. Each section is a light head with a
   hairline over it, in the register of the applications list on the
   services page, and the paragraphs run at the body size beneath. */
.job-open-study { margin-top: clamp(2rem, 4vw, 3rem); }
.job-study { max-width: 65ch; }
.job-study h3 {
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 0; padding-top: clamp(1.1rem, 2vw, 1.4rem); border-top: 1px solid var(--rule);
  font-family: var(--head); font-weight: 300; font-synthesis: none;
  font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.012em; line-height: 1.2;
}
.job-study h3:first-child { margin-top: 0; }
/* one reading voice for the paragraphs and the two lists: a step up from
   the sections' .94rem for a page of running text, in the soft ink, and
   the measure is the study's own rather than section p's 46ch */
.job-study p, .job-study li { margin: .85rem 0 0; max-width: none; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
/* the results, each behind the site's tick: the mark the enquiry's stepper
   puts on a step done, white in a filled green round */
.job-study .ticks { list-style: none; margin: .9rem 0 0; padding: 0; }
.job-study .ticks li { position: relative; padding-left: 2.15rem; }
.job-study .ticks li + li { margin-top: .65rem; }
.job-study .ticks .tick {
  position: absolute; left: 0; top: .22rem; width: 1.35rem; height: 1.35rem; padding: .22rem;
  border-radius: 50%; background: var(--kevin); color: #fff;
}
/* the programme, a day to a row: the day is in the client's line, so the
   list carries no marker of its own, only the hairlines */
.job-study .days { list-style: none; margin: .9rem 0 0; padding: 0; }
.job-study .days li { padding: .55rem 0; border-top: 1px solid var(--rule); }
.job-study .days li:last-child { border-bottom: 1px solid var(--rule); }
.job-study .days b { font-weight: 600; color: var(--kevin-mid); }
/* Close on one side, the way on to another project on the other: a row that
   wraps to two on a phone, Close first in the source and so first by Tab. */
.job-open-foot {
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem clamp(1rem, 3vw, 2rem);
}
.job-open-foot .job-close { padding: .8rem 1.6rem; }
/* The two named jumps. Words, not arrows: an arrow in this panel means the
   next photograph now, so between projects is said rather than drawn. Each is
   its label over the place it goes to, the label in the spec face as every
   small label on the site is, and the place at body size under it. The chevron
   is a hairline, not a pill: these are secondary to Close. */
.job-open-jump { display: flex; flex-wrap: wrap; gap: .4rem clamp(1rem, 2.5vw, 2rem); }
/* a sector of one job has no other to go to (site.js) */
.job-open-jump[hidden] { display: none; }
.job-turn {
  display: block; padding: .5rem .2rem; border: 0; background: none; cursor: pointer;
  text-align: left; color: var(--ink); font-family: inherit;
  -webkit-appearance: none; appearance: none;
  border-radius: 6px; transition: color .2s ease;
}
.job-turn.next { text-align: right; }
.job-turn .jump-lbl {
  display: block; font-family: var(--mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--kevin-mid);
}
.job-turn .jump-name {
  display: block; margin-top: .25rem; font-size: .95rem; line-height: 1.3;
  color: var(--ink-soft); transition: color .2s ease;
}
.job-turn .jump-name:empty { display: none; }
@media (hover: hover) {
  .job-turn:hover .jump-name { color: var(--ink); text-decoration: underline;
    text-decoration-thickness: 1px; text-underline-offset: .25em; }
}
.job-turn:focus-visible { outline: 3px solid var(--kevin); outline-offset: 2px; }

.work-lede { max-width: 46ch; margin: 0 0 clamp(2rem, 4vw, 3rem); color: var(--ink-soft); }

/* --- the pin: a full-height photograph the next section rides over --------- */
/* Sticky at the top of the viewport with nothing to hold it but the page, so
   once it reaches the top it stays there while everything after scrolls up
   across it. The section after it is positioned, so it paints on top.

   Once whole it is held for half a screen of scroll before the next section
   starts across it. Without the hold the ride-over began on the frame the
   picture was complete, so at wheel speed it was never seen whole and the
   page read as rushing past it. The hold is a margin below the pin, which
   sits behind the pinned picture, so nothing shows during it.

   vh rather than svh, as #stage-wrap: on a phone with the bar retracted an
   svh pin stopped a bar's height short of the foot. Before, the next
   section was already there to cover the gap; with the hold behind it the
   page's white would have shown for half a screen instead. */
main > section.pin {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; background: var(--charcoal); padding: 0;
  margin-bottom: var(--pin-hold);
}
.pin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* two frames side by side, each covering its own half */
.pin.two { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pin.two img { position: static; }
@media (max-width: 699px) { .pin.two { grid-template-columns: 1fr; } .pin.two img + img { display: none; } }
/* The estate from the air, shorter: the client found a whole screen of it
   too much. The box is the picture's own height, seven tenths of a screen,
   and it is not held: the section after it starts at the picture's foot,
   in flow, so the picture is whole for the last 30vh of its travel with
   the next section's own ground and heading already under it, and once it
   pins that section rides up across it as any section does over a pin.
   A hold here would be a band of bare page under the picture with nothing
   in it, which is what a screen-tall box with a 70vh picture in it had
   left: the lower third of the box was white, and for half a screen of
   hold and the first 30vh of the ride-over nothing moved in it. The two
   crane frames keep the full screen and the hold: these rules are the
   aerial's alone, on every page that carries it (the home page, the
   services page and, since 31 Oct, the applications page). The sizes
   attribute on the services page is the width a 1.65:1 picture needs to
   cover 70vh, 116vh. */
.pin.aerial { height: 70vh; margin-bottom: 0; }
/* After a band it sits behind the band's foot, pulled up by the foot's
   height (see .band + .pin), and a box the picture's own height would
   still have that much of its top under the sweep when it pinned: the
   sweep would then leave upward at the rate the next section rose from
   below, and the picture would never show more than 70vh less the foot.
   So the box is taller by the foot and sticks that far above the top of
   the viewport: the part behind the sweep scrolls out above as the sweep
   does, and the box pins on the frame the sweep has cleared it, with the
   70vh below the sweep whole for the 30vh before that. The picture covers
   the taller box, so the sky still fills the cut. Its sizes attribute on
   the applications page, after the cards' band (where it was on the home
   page until 31 Oct), is the width of that box at 1.65:1, 116vh plus 44vw.
   On the home page it is the second section since 5 Nov, under the opening
   screen and after no band, so there it takes the plain box above. */
.band + .pin.aerial { height: calc(70vh + var(--band-foot)); top: calc(-1 * var(--band-foot)); }
/* The caption sits under the bar, not at the foot: the section that rides
   over a pin rises from the bottom, so a caption at the foot would be covered
   the moment the pin was fully in view. Up here it reads for the whole of
   the overlap. The veil is heavy at the top for the same reason. */
.pin .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,20,13,.86) 0%, rgba(6,20,13,.5) 40%, rgba(6,20,13,0) 72%);
}
.pin .said {
  position: absolute; left: 0; right: 0; top: calc(var(--hdr) + 2rem);
  padding: 0 clamp(1.8rem, 5vw, 4.5rem); max-width: 48rem;
}
.pin .said .d { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3.2rem); max-width: 14ch; }
.pin .said p { color: rgba(255,255,255,.86); margin: 1.1rem 0 0; max-width: 40ch; }

/* --- what we install: six numbered rows ------------------------------------ */
/* The client's deep teal, the colour off the top of his board. The white cards
   were sitting on the pale ground and reading as paper on paper; on the teal
   they lift, and the section becomes the one place on the page where the
   applications are shown rather than another light band. The heading and its
   copy invert with it. */
.programs { padding: var(--pad) 0; }
.programs .d { color: #fff; }
.programs > .wrap > .head p, .programs .head > p { color: #fff; }   /* as .band p: the soft pale fell under 4.5:1 on the artwork */
/* The drawing rides in the card's top corner beside the number. On a wide
   card it holds three rows; on a phone it holds one and the title takes the
   full width, which keeps each card short enough to stack. */
.programs .card {
  display: grid; column-gap: 1.4rem; align-items: start;
  grid-template-columns: 1fr auto;
  grid-template-areas: "n img" "h h" "p p" "tag tag";
  /* a card stretched to the stack's tallest (see the stack) takes the slack
     under its paragraph, so the tag stays on the card's foot */
  grid-template-rows: auto auto 1fr auto;
}
/* Wide: the drawing takes the full card width above the words, so it reads at
   about three times the area it had beside them. Contained, not cropped: the
   drawings arrive on white and the card ground is white or near it, so the
   letterboxing is invisible and no part of the house is cut. */
@media (min-width: 900px) {
  .programs .card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "img" "n" "h" "p" "tag";
    grid-template-rows: auto auto auto 1fr auto;
    row-gap: .1rem;
  }
}
.programs .card .n { grid-area: n; }
.programs .card h3 { grid-area: h; }
.programs .card p { grid-area: p; }
.programs .card .tag { grid-area: tag; }
.programs .card img {
  grid-area: img; justify-self: end;
  width: clamp(7rem, 16vw, 13.5rem); aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: 4px; background: #fff;
  box-shadow: 0 1px 2px rgba(12,14,15,.16), 0 12px 24px -14px rgba(12,14,15,.4);
}
/* must follow the rule above: same specificity, so source order decides */
@media (min-width: 900px) {
  .programs .card img {
    width: 100%; justify-self: stretch;
    aspect-ratio: 16 / 9; object-fit: contain; margin-bottom: .9rem;
  }
  /* the engineering renders float on their own white; a photograph fills the frame */
  .programs .card img.photo { object-fit: cover; }
}
/* A pinned card is never taller than the room under its pinned edge. Card
   06, the last to pin, sits five steps down the pile, and the whole of it -
   tag and all - has to fit between there and the foot of the screen, or the
   next card covers words nobody saw. At 16:9 a wide card is about 600px,
   which fits from 900px of height up; on a laptop it did not, which is why
   the stack used to be switched off below 760px. So here the picture gives
   way instead: its row may shrink to nothing, the card is capped at the
   room, and the photograph is cropped wider (they are all .photo, cover)
   while the number, title, line and tag keep their size. Where the room is
   there, the cap is above the card and nothing changes. Every card is
   capped alike, so the pile keeps its one height (see the 1fr rule). */
@media (min-width: 900px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  .programs .card {
    max-height: calc(100svh - var(--stack-top) - 5 * var(--step) - 1rem);
    grid-template-rows: minmax(0, auto) auto auto 1fr auto;
  }
  /* the area includes the picture's .9rem margin, so the height leaves it out */
  .programs .card img { height: calc(100% - .9rem); }
}
/* On a laptop the words give back their spare air to the picture: the title
   runs the card's width on one line where it fits, and the gaps round it and
   above the tag close up. Without it the picture fell to 100px at 600px of
   height and the cards with a two-line title had a shorter one than the rest. */
@media (min-width: 900px) and (min-height: 560px) and (max-height: 820px) and (prefers-reduced-motion: no-preference) {
  .programs .card h3 { max-width: none; margin: .7rem 0 .45rem; }
  .programs .card img { margin-bottom: .6rem; height: calc(100% - .6rem); }
  .programs .card .tag { margin-top: .7rem; padding-top: .6rem; }
}
/* Where the picture is cropped wide its subject has to stay in the frame: a
   photograph whose subject is not at its middle carries its own focus. */
.programs .card img { object-position: var(--focus, 50% 50%); }
/* .programs .card img.diagram stood here for one day. Card 03 was a labelled
   cutaway for 1 Oct and had to be shown whole at both ratios, which left it
   letterboxed beside five photographs that filled their frames. The client
   sent a photograph for it on 2 Oct, the card went back to .photo, and the
   class had no second user - so it is gone rather than left lying about. */

/* --- process: the plate pinned, the steps stacking beside it --------------- */
/* The section rides up over the pinned aerial (see .pin.aerial): its top
   edge is a white curtain rising over the picture, and whatever sits on
   that edge is what arrives with the picture's foot. The head sits on it,
   so the top padding is three rem and not the section rhythm: at the
   rhythm's 120px, with the head fading in behind the edge besides, the
   foot of the picture was followed by a band of nothing. On the system
   page, where the section has been since 31 Oct, it follows the root
   protection drawing instead, and the aerial did not come with it; the
   three rem stand, under the drawing's own dark strip. */
.process { padding: clamp(2rem, 3.4vw, 3rem) 0 0; }
.process .grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) {
  /* The head is the grid's first child, for the phone's order, and here is
     set beside the plate's top with the stack under it. The plate spans
     both rows: a sticky grid item is held within its area, so the plate's
     range is the whole column beside it, the head's height and the
     stack's, as it was when the head was inside the steps. No row gap: the
     head's own margin spaces the stack under it. */
  .process .grid {
    grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start;
    grid-template-areas: "plate head" "plate steps";
  }
  .process .head { grid-area: head; }
  .process .steps { grid-area: steps; }
  .process .plate { grid-area: plate; position: sticky; top: var(--stack-top); }
}
/* it arrives on its own white ground, so an edge lets it read as a plate.
   The plate is a 928 by 1232 photograph (the finished build on its base; it
   replaced the labelled cutaway) and is sized from its width alone: on a
   short screen the width is worked back from the height the pinned plate may
   have (the viewport less the bar's clearance and the caption's 5.5rem), so
   the box, and the shadow and the corners drawn on it, is the picture's own.
   A height cap with object-fit would have left the box wider than the picture. */
.process .plate img {
  display: block; height: auto; max-width: none; max-height: none;
  width: min(100%, 30rem, calc((100vh - var(--stack-top) - 5.5rem) * 928 / 1232));
  object-fit: fill; object-position: left top;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(12,14,15,.14), 0 18px 34px -18px rgba(12,14,15,.36);
}
/* the system's figures, carried from the spec plate the photograph replaced,
   set under it in the spec voice; the image's max-height above leaves them
   room while the plate is pinned */
.process .plate figcaption {
  max-width: 30rem; margin: .9rem 0 0;
  font-family: var(--mono); font-weight: 500; font-size: .74rem; line-height: 1.6; letter-spacing: .04em;
  color: var(--kevin-mid);   /* 6.3:1 on the white */
}
.process .head { margin-bottom: clamp(2rem, 3vw, 2.6rem); }
/* on a phone the grid's own gap spaces the head, the plate and the stack */
@media (max-width: 899px) { .process .head { margin-bottom: 0; } }
.process .head .d { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 12ch; }
.process .head > p:not(.eyebrow) { margin: 1.3rem 0 0; }
.process .stack { --step: 60px; }

/* the twelve install photographs, running as one slow strip. Two copies of
   the same list, each sliding its own width, so the loop has no seam. It
   holds still while it is off screen and while the reader has paused motion;
   see the ticker rules below the running strips. */
.process .strip { display: flex; overflow: hidden; margin-top: var(--pad); padding-bottom: var(--pad); }
.strip .track {
  flex: none; display: flex; gap: 10px; padding: 0 10px 0 0; margin: 0; list-style: none;
  animation: ticker 64s linear infinite;
}
.strip li { flex: none; width: clamp(10rem, 18vw, 16rem); aspect-ratio: 3 / 4; }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; filter: saturate(.85) contrast(1.04); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* --- accreditations: the split on the mid green ---------------------------- */
/* The reference's one section on its accent colour (on the home page until
   5 Nov, now the last section of the About Us page, before the closing band).
   The mid green carries the pale copy at full contrast, where the brand green
   would not. */
.accred { padding: clamp(5rem, 9.7vw, 8.75rem) 0 var(--pad); }
.accred .d { color: #fff; }
.accred .head > p { color: #fff; }   /* the pale was 4.49:1 at the band's left edge */
.accred .stack { --step: 40px; --offset: 10px; }
.accred .card { background: var(--l0); padding: 28px; }
.accred .card svg { width: 36px; height: 36px; display: block; color: var(--kevin); }
.accred .card h3 { margin: 1.4rem 0 .5rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.accred .card p { font-size: .95rem; }
/* The logo slot. The three scheme cards show the scheme's own mark instead of
   its name set as text (the client's ask, 1 Oct), and the heading is the box
   it goes in: an <img alt> inside an <h3> still gives the heading its text, so
   the outline and the accessible name survive the swap either way. The box is
   a fixed height and a bounded width with the mark contained in it, so three
   logos of three different proportions line up on their centres and no card
   changes height when one arrives. Until Kevin supplies the artwork the name
   stands in the box as text at the heading's own size, so nothing reads as
   broken or missing in the meantime. */
.accred .card h3.mark {
  display: flex; align-items: center;
  min-height: 4rem; margin: 1.4rem 0 .5rem; max-width: none;
}
.accred .card h3.mark img {
  display: block; width: auto; height: auto;
  max-width: min(100%, 13.75rem); max-height: 4rem;
  object-fit: contain; object-position: left center;
}
/* the stand-in: the heading's own size and tracking, so the card reads as it
   did before the slot was cut into it */
.accred .card h3.mark .mark-name { display: block; }
@media (max-width: 899px) {
  .accred .card h3.mark { min-height: 3.25rem; }
  .accred .card h3.mark img { max-height: 3.25rem; max-width: min(100%, 11rem); }
}
/* The full list under the cards: the client's four groupings as rule-separated
   rows, the heading beside its items on a wide screen and above them on a
   phone, in the language of the system section's items. White for the copy,
   as the band's other copy is, with the rules taken from the green bar's own
   hairline. */
.accred .creds { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(238, 242, 234, .3); }
.accred .group { padding: 1.5rem 0 1.7rem; border-bottom: 1px solid rgba(238, 242, 234, .3); }
@media (min-width: 900px) {
  .accred .group {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 24px; padding: 1.9rem 0 2.1rem; align-items: start;
  }
}
.accred .group h3 {
  margin: 0; max-width: 22ch;
  font-family: var(--display); font-weight: 300; font-synthesis: none;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem); letter-spacing: -0.018em; line-height: 1.15;
  color: #fff;
}
.accred .group ul { list-style: none; margin: .9rem 0 0; padding: 0; }
@media (min-width: 900px) { .accred .group ul { margin-top: .25rem; } }
.accred .group li { padding: .55rem 0; font-size: clamp(.98rem, 1.15vw, 1.06rem); line-height: 1.5; color: #fff; }
.accred .group li + li { border-top: 1px solid rgba(238, 242, 234, .16); }

/* --- privacy notice: a page of running text, set as the case study is ------
   The head is the shared .page-head; the body takes the study's measure and
   its reading voice (see .job-study). There was a .gap here, a dashed mono
   chip marking a line only the client could answer; the notice is finished
   and published now, so it and its seven marks are gone. */
.page-head .dated { margin-top: 1.2rem; color: var(--kevin-mid); }
.notice { padding: 0 0 var(--pad); }
.notice-body { max-width: 65ch; }
.notice-body h2 {
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 0; padding-top: clamp(1.1rem, 2vw, 1.4rem); border-top: 1px solid var(--rule);
  font-family: var(--head); font-weight: 300; font-synthesis: none;
  font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.012em; line-height: 1.2;
}
.notice-body h2:first-child { margin-top: 0; }
.notice-body p, .notice-body li { margin: .85rem 0 0; max-width: none; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.notice-body ul { margin: .85rem 0 0; padding-left: 1.25rem; }
.notice-body li { margin-top: .45rem; padding-left: .2rem; }
.notice-body b { font-weight: 600; color: var(--ink); }
.notice-body a { color: var(--kevin-mid); text-decoration-thickness: 1px; text-underline-offset: .18em; overflow-wrap: anywhere; }

/* --- film band: the client's own footage, beside his own line ---------------- */
/* The film ran full-bleed behind the words, cropped to the band by cover, and
   the client asked for it smaller with the whole of it in view. It is a framed
   picture at its own 16:9 now: beside the words on a wide screen, under them
   on a phone, and never wider than the height left under the bar allows, so
   the whole frame sits within one screen at any size. The width is set from
   the height rather than the height capped, which is what keeps the ratio.
   The split was a third to the words and two thirds to the film, then two
   sevenths to five (1fr to 2.5fr): the client asked twice for the film a
   little bigger and the words a little less of it. A third step, from 1200
   up: 1fr to 3.1fr with the gap taken in from 56 to 40, which at 1440 takes
   the frame from 783 to 841 wide and the words from 313 to 271. The room
   was measured rather than guessed: at its 52px the headline holds four
   lines down to a column of 240 (its longest word is 204 wide), so the
   words are not the limit here; the paragraph goes from four lines to
   five, and the column stands 382 tall in the frame's 473. Under 1200 the
   1fr to 2.5fr split stays, since at 900 the narrower column would leave
   the paragraph under 200 wide. On a phone the frame is bound by the
   width, so it steps out into the gutter by .7rem a side, 352 to 374 wide
   at 390, and no further: the gutter is 1.2rem, and the words above keep
   it.

   The film is the client's narrated cut, 34 seconds with a voice on it. It
   plays on a press: one play control, centred over the frame, a pale disc
   with the play glyph, and nothing else in the frame, at the client's ask.
   The press is what lets the sound come with it (site.js). The control is
   hidden in the markup and shown by site.js, which is what makes it do
   anything; it is away while the film plays and back the moment the film
   stops. The video sits in the .film box so the control has something to
   sit on. */
.filmband {
  --film-pad: clamp(3rem, 7vw, 5.5rem);
  position: relative;
  padding: var(--film-pad) 0;
  background: var(--charcoal); color: var(--pale);
}
.filmband .wrap { display: grid; gap: clamp(1.8rem, 3vw, 2.4rem); align-items: center; }
@media (min-width: 900px) {
  .filmband .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); column-gap: clamp(2rem, 4vw, 3.5rem); }
}
@media (min-width: 1200px) {
  .filmband .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 3.1fr); column-gap: clamp(2rem, 2.8vw, 2.5rem); }
}
.filmband .film {
  position: relative; justify-self: center;
  width: min(100%, calc((100svh - var(--hdr) - 2 * var(--film-pad)) * 16 / 9));
}
.filmband .film:focus { outline: none; }   /* takes the control's focus while the film plays (site.js) */
@media (max-width: 899px) {
  /* under the words, a step wider than them: into the gutter, not through it */
  .filmband .film { width: min(calc(100% + 1.4rem), calc((100svh - var(--hdr) - 2 * var(--film-pad)) * 16 / 9)); }
}
.filmband video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: 8px; background: #000;
  object-fit: cover;   /* the poster is the film's own frame, so nothing is lost */
}
/* The play control: glass over the poster. A 64px disc of a fifth white
   with the frame blurred behind it, a hairline of three-tenths white round
   it and the play glyph in white; on hover it brightens over .2s. The frame
   is also taken down to half brightness behind the glass: at a fifth white
   alone the white glyph fell to 1.3:1 on a phone, where the disc covers the
   bright horizon of the poster as well as the hedge, and taking the white
   up only made that worse. Darkened, the glyph holds 3.3:1 against the
   lightest of the fill on a phone and 6:1 on a desktop (measured on the
   rendered frame). The glyph is optically centred: its vertices at 8.5, 8.5
   and 19 put the triangle's centroid at 12 in the 24 box, which leaves it a
   touch right of the box's centre, where a triangle reads as centred. A
   hairline of shadow under the glyph helps it on the lightest pixels. */
.filmband .film-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 64px; height: 64px;
  margin: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  background: rgba(255, 255, 255, .2); color: #fff; cursor: pointer; font: inherit;
  -webkit-backdrop-filter: blur(12px) brightness(.5); backdrop-filter: blur(12px) brightness(.5);
  box-shadow: 0 2px 12px rgba(4, 25, 15, .22);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.filmband .film-play[hidden] { display: none; }
.filmband .film-play svg { display: block; width: 26px; height: 26px; filter: drop-shadow(0 1px 1.5px rgba(4, 25, 15, .45)); }
/* No blur to be had: a stronger fill, so the disc still reads as a disc on
   the frame rather than the ghost of one. It is the deep green at .58
   rather than more white: without the darkening above, more white under a
   white glyph left it at 1.2:1 on a phone; the tint holds it at 4:1 there
   and 8.7:1 on a desktop, under the same hairline of white. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .filmband .film-play { background: rgba(4, 25, 15, .58); border-color: rgba(255, 255, 255, .5); }
  .filmband .film-play:hover { background: rgba(4, 25, 15, .45); }
}
@media (hover: hover) {
  .filmband .film-play:hover { background: rgba(255, 255, 255, .3); border-color: rgba(255, 255, 255, .55); transform: translate(-50%, -50%) scale(1.04); }
}
.filmband .film-play:active { transform: translate(-50%, -50%) scale(.96); }
.filmband .film-play:focus-visible { outline: 3px solid var(--pale); outline-offset: 3px; box-shadow: 0 0 0 6px var(--brass); }
.filmband .d { color: var(--pale); font-size: clamp(2rem, 4vw, 3.25rem); max-width: 16ch; }
.filmband p { margin: 1.3rem 0 0; max-width: 42ch; color: rgba(242,241,237,.84); }

/* --- close --------------------------------------------------------------- */
.close { background: var(--charcoal); color: var(--pale); padding: clamp(4rem, 9vw, 7.5rem) 0; }
/* The photograph holds the left, the words the right. It is the only picture
   on the page that is not steel or soil, and it is carrying the claim the whole
   pitch rests on: the ground is left as it was found. The corner sweep is the
   one from the client's reference, and it belongs here, on an image, rather than on
   the edges of the sections. The words stay first in the source, so a reader
   meets the headline before the picture and a phone shows the words, then the
   picture beneath; from 900px the grid seats the picture in the first column
   and the words in the second. */
/* Only the close that carries the picture is a grid. The rule was on every
   close, and on the words-only pages (about, services, projects, contact)
   it put the heading in the picture's 22rem column, the paragraph in the
   words' column beside it and the actions stacked under the heading. */
@media (min-width: 900px) {
  .close .wrap:has(.close-art) {
    display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
  }
  .close .close-art { grid-column: 1; grid-row: 1; }
  .close .close-words { grid-column: 2; grid-row: 1; }
}
.close .close-words { min-width: 0; }
.close-art {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: clamp(1.6rem, 4.5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 0rem);
}
@media (min-width: 900px) { .close-art { margin-top: 0; } }
.close .d { color: var(--pale); font-size: clamp(2rem, 4.6vw, 3.6rem); }
.close p { color: var(--pale-soft); margin-top: 1.4rem; }
/* The actions centre under the words beside the photograph: the column
   reads as one block there, and a row of buttons against its left edge
   under two lines of headline sat like a slip. The words-only close on the
   other pages keeps the site's left-set actions, as every section does. */
.close .close-words .acts { justify-content: center; }

.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: 1rem 2.1rem; border-radius: 999px; background: var(--charcoal); color: var(--pale); transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }   /* the ghost's hover halo is a box-shadow, so it eases with the fill rather than appearing on the first frame */
/* the border is the only thing that says ghost, so it has to clear 3:1 */
.btn.ghost { background: transparent; color: var(--pale); border: 1.5px solid rgba(242,241,237,.78); font-family: var(--mono); font-size: .85rem; letter-spacing: .08em; }
.btn.pale-btn { background: var(--pale); color: var(--charcoal); }
/* the dark twin of the pale ghost's .55 border: at .28 the edge measured
   1.8:1 on the light ground, well under the 3:1 the ghost depends on */
.btn.ghost.dark { color: var(--ink); border-color: rgba(22,25,27,.8); }
/* the solid button is charcoal, so on the dark close it has to invert or it
   disappears into the background and reads as plain text */
.close .btn:not(.ghost) { background: var(--pale); color: var(--charcoal); }
/* Hover only where there is a hover: on touch a tapped same-page link would
   otherwise stay lifted. The fill darkens rather than the text lightening, so
   white on it keeps 4.5:1 at the moment of targeting. */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); background: var(--kevin-mid); color: #fff; }
  .btn.pale-btn:hover { background: var(--kevin-bright); color: var(--charcoal); }
  .btn.ghost.dark:hover { border-color: var(--kevin); color: var(--kevin-deep); }
  .close .btn:not(.ghost):hover { background: var(--kevin-mid); color: #fff; }
  .btn.ghost:hover { border-color: var(--kevin-bright); color: var(--kevin-bright); background: transparent; }
}
/* --- the sweep: the primary ask, and only the primary ask ----------------
   "Request a design" is the one action the whole site is for, and it is the
   only button wearing this. The ghosts, the phone number, Subscribe, Back and
   Close stay plain — a page where everything reaches for you is a page where
   nothing does. Ten of the thirty-three buttons on the site, which is the
   whole of "Request a design" and nothing else.

   The disc starts at the right and crosses to the left on hover, and on
   keyboard focus, while the label slides right out of its way: the two trade
   places. Everything that moves is a transform. The padding is fixed, 2.1rem
   on the label's side and 3.9rem on the disc's; the label is translated by
   the difference; and the disc rides a track that spans the pill's inside,
   translated by the track's own width less the disc's, so the travel is the
   inside width whatever the label's length. The pill's box never changes, so
   nothing around it reflows. */
.btn.sweep {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 2.1rem;
  padding-right: 3.9rem;
  overflow: hidden;
}
.btn.sweep > span:first-child {
  position: relative; z-index: 1;
  transition: transform .5s var(--ease, ease);
}
/* the track: the pill's inside, .42rem in from each end */
.btn.sweep .sweep-ico {
  position: absolute; z-index: 2;
  top: calc(50% - 1.2rem); left: .42rem; right: .42rem; height: 2.4rem;
  display: flex; justify-content: flex-start;
  pointer-events: none;
  transform: translateX(calc(100% - 2.4rem));
  transition: transform .5s var(--ease, ease);
}
/* the disc is the arrow's own box, the inverse of the pill */
.btn.sweep .sweep-ico svg {
  display: block; width: 2.4rem; height: 2.4rem; padding: .7rem; box-sizing: border-box;
  border-radius: 50%; background: var(--pale); color: var(--charcoal);
  transition: transform .5s var(--ease, ease), background-color .25s ease, color .25s ease;
}
/* On the dark close the button itself inverts to pale, so the disc has to
   invert with it or it disappears into its own background. */
.close .btn.sweep:not(.ghost) .sweep-ico svg { background: var(--charcoal); color: var(--pale); }

@media (hover: hover) {
  .btn.sweep:hover > span:first-child { transform: translateX(1.8rem); }
  .btn.sweep:hover .sweep-ico { transform: translateX(0); }
  .btn.sweep:hover .sweep-ico svg { transform: rotate(45deg); }
}
/* the keyboard gets the same movement, with the site's ring round it */
.btn.sweep:focus-visible > span:first-child { transform: translateX(1.8rem); }
.btn.sweep:focus-visible .sweep-ico { transform: translateX(0); }
.btn.sweep:focus-visible .sweep-ico svg { transform: rotate(45deg); }

/* The disc crossing the button is decoration, and the arrow turning is the
   same gesture twice. Under reduced motion the button keeps its shape and its
   colour change and does none of the travel. */
@media (prefers-reduced-motion: reduce) {
  .btn.sweep > span:first-child,
  .btn.sweep .sweep-ico,
  .btn.sweep .sweep-ico svg { transition: background-color .25s ease, color .25s ease; }
  .btn.sweep:hover > span:first-child, .btn.sweep:focus-visible > span:first-child { transform: none; }
  .btn.sweep:hover .sweep-ico, .btn.sweep:focus-visible .sweep-ico { transform: translateX(calc(100% - 2.4rem)); }
  .btn.sweep:hover .sweep-ico svg, .btn.sweep:focus-visible .sweep-ico svg { transform: none; }
}

/* the press lands: a short settle under the finger, quicker than the lift */
.btn:active { transform: scale(.97); transition-duration: .25s, .25s, .25s, .16s, .25s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* The scrubbed build becomes a still. The scene holds its finished frame
     and the four steps read as a plain column beneath it, every one of them
     in the tree and reachable. This is the Our System page's hero alone
     since 5 Nov; the home page's opening screen is a still already and has
     no rule here. */
  #track { height: auto; }
  #stage-wrap { position: relative; height: auto; overflow: visible; }
  /* The ratio has to go with the height. On a portrait screen the stage is
     given aspect-ratio 4/3 (and 16/9 on a wide one) while it is absolutely
     positioned, where inset sets its width and the ratio only sets its
     height. Here it is back in the flow with a height of its own, and a
     ratio left standing over that height worked the other way round: it
     sized the WIDTH from it. At 390x844 that made the stage 788px wide
     inside a 390px screen, and #stage-wrap no longer clips, so the whole
     page scrolled sideways. The width is stated and the ratio dropped.
     (Found 1 Oct while checking reduced motion; it pre-dates the batch.) */
  #stage3d { position: relative; width: 100%; height: 70vh; aspect-ratio: auto; }
  .wash { width: 100%; height: 70vh; aspect-ratio: auto; }
  .words { position: static; display: block; padding: 3rem clamp(1.4rem, 5vw, 4.5rem) 4rem; }
  .word {
    grid-area: auto; position: static; width: auto; margin-bottom: 3rem;
    opacity: 1; visibility: visible; transform: none; transition: none; pointer-events: auto;
  }
  .word:last-child { margin-bottom: 0; }
  .cue { display: none; }
  .btn, .btn:hover, .btn:active { transform: none; }
}

/* --- FAQ accordion -------------------------------------------------------- */
/* A borrowed accordion pattern: quiet rows, a hairline rule, the accent only
   on the marker, and motion that is a settle rather than a bounce. The
   client's green replaces the original's gold, and nothing else about the
   restraint changes. */

.faq { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.faq .head { max-width: 34rem; }
.faq .head .d { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.faq .head p { margin: 1.2rem 0 0; color: var(--ink-soft); }

.faq .list { margin: clamp(2.4rem, 5vw, 3.4rem) 0 0; border-top: 1px solid rgba(22,25,27,.14); }

.faq details { border-bottom: 1px solid rgba(22,25,27,.14); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 1.4rem;
  padding: clamp(1.3rem, 2.4vw, 1.7rem) 0;
  font-family: var(--head); font-weight: 300; font-synthesis: none;
  /* light, so never under 20px: the floor for the light weight */
  font-size: clamp(1.25rem, 1.7vw, 1.4rem); letter-spacing: -0.012em; line-height: 1.3;
  transition: color .3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
/* mid green, not brand green: at this size the brand green is 3.8:1 on the
   light ground. Hover only where there is a hover, so a tapped row does not
   stay green. */
@media (hover: hover) { .faq summary:hover { color: var(--kevin-mid); } }
.faq summary:focus-visible { outline: 3px solid var(--kevin); outline-offset: 4px; }

/* a plus that becomes a minus: one stroke rotates away */
.faq .mark { position: relative; flex: none; width: 18px; height: 18px; margin: .28rem 0 0 auto; }
.faq .mark::before,
.faq .mark::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px;
  background: var(--kevin); transform-origin: 50% 50%;
  transition: transform .38s cubic-bezier(.22,1,.36,1);
}
.faq .mark::after { transform: rotate(90deg); }
.faq details[open] .mark::after { transform: rotate(0deg); }

/* The reveal: a settle, never a spring. The row grows from nothing as a
   transition rather than a keyframe, so a quick re-toggle retargets instead of
   restarting, and closing runs the same curve back where the browser lets the
   details content linger for it. */
.faq .answer {
  display: grid; grid-template-rows: 1fr; opacity: 1;
  transition: grid-template-rows .42s cubic-bezier(.22,1,.36,1), opacity .42s cubic-bezier(.22,1,.36,1);
}
/* The row's one child is what the 0fr row clamps, and it has to be able to
   reach nothing. Padding cannot shrink, so with the padding on the clamped
   p the closed row still stood the padding's height tall and both the open
   and the close began with a jump of that much. A wrapper takes the clamp
   and the p keeps its padding inside it, where the clamp can hide it. */
.faq .answer-in { min-height: 0; overflow: hidden; }
.faq .answer p {
  margin: 0; padding: 0 3.2rem clamp(1.4rem, 2.6vw, 1.9rem) 0;
  max-width: 62ch; color: var(--ink-soft);
}
.faq details:not([open]) .answer { grid-template-rows: 0fr; opacity: 0; }
@starting-style {
  .faq details[open] .answer { grid-template-rows: 0fr; opacity: 0; }
}
.faq details::details-content { transition: content-visibility .42s allow-discrete; }
@media (prefers-reduced-motion: reduce) {
  .faq .mark::before, .faq .mark::after { transition: none; }
  .faq .answer, .faq details::details-content { transition: none; }
}

/* The questions take the left half and a photograph pins beside them, as
   the reference does with its video. The home page is the one page that
   carries them. */
.faq.home .grid { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .faq.home .grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .faq.home .media { position: sticky; top: var(--stack-top); }
}
.faq.home .list { margin-top: 1.2rem; }
.faq.home .media { border-radius: 8px; overflow: hidden; background: var(--charcoal); }
.faq.home .media img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 4;
  max-height: calc(100vh - var(--stack-top) - 2rem); object-fit: cover;
  /* The photograph is three by two and the slot is upright, so cover trims
     the sides: the rows of pile caps sit in the middle, so they stay, and
     only the edges of the site go. Where a short viewport caps the height
     and the trim moves to top and bottom, the picture is held a little low,
     so the caps in the foreground stay in before the sky does. */
  object-position: 50% 60%;
}

/* --- contact page --------------------------------------------------------- */
.page-head { padding: max(clamp(7rem, 12vw, 10rem), calc(var(--hdr) + 2.2rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.page-head .d { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 18ch; }
.page-head p { margin: 1.4rem 0 0; max-width: 44ch; color: var(--ink-soft); }
/* A head with a picture in it: the words keep the left, the photograph takes
   the right and runs off the edge of the page rather than stopping at the
   measure. Below 900 it goes back to one column with the picture under. */
.page-head.has-art .ph-art { margin: 2rem 0 0; border-radius: 10px; overflow: hidden; background: var(--l1); }
.page-head.has-art .ph-art img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .page-head.has-art { padding-bottom: 0; }
  .page-head.has-art .wrap {
    max-width: none; padding: 0 0 0 clamp(1.2rem, 4vw, 4rem);
    display: grid; align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, min(46%, 60rem));
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  /* Held at three by two so the picture is shown whole: a slot that took its
     height from the column beside it cropped whatever was put in it. */
  .page-head.has-art .ph-art {
    position: relative; margin: 0; aspect-ratio: 3 / 2;
    border-radius: 10px 0 0 10px;
  }
  .page-head.has-art .ph-art img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
}
.page-head .acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* The dark head. The about page's hero already runs the deep green under the
   same kind of opening, and the two page heads read as a pair once they share
   it, so this is that treatment named rather than a second one invented: the
   charcoal ground, the pale copy, and the primary pill inverted to pale so it
   is still the one action on the ground. data-dark on the section is what
   turns the header bar pale over it, as it does on every other dark band. */
.page-head.dark { background: var(--charcoal); color: var(--pale); }
.page-head.dark .d { color: #fff; }
.page-head.dark p { color: var(--pale-soft); }
.page-head.dark .btn:not(.ghost) { background: var(--pale); color: var(--charcoal); }
@media (hover: hover) {
  .page-head.dark .btn:not(.ghost):hover { background: var(--kevin-mid); color: #fff; }
}

/* The mono ghost button suits a short label, but an email address set in mono
   reads as a code snippet. On the contact head it takes the display face. */
.page-head .btn.ghost {
  font-family: var(--head); font-weight: 600;
  font-size: 1rem; letter-spacing: -0.01em; text-transform: none;
}

/* --- the enquiry: a hard split ------------------------------------------- */
/* The client's reference: a dark panel on the left carrying an oversized
   headline and the form, and a photograph filling the right half to the
   viewport's edge. Its structure and scale only; the ground is his deep green
   and the text is the pale the close already carries on it. From 900px the two
   halves sit side by side and the photograph takes the panel's full height;
   below that it sits above the panel as a band, capped at half the viewport so
   a landscape phone still opens on the headline. Every pair on the green was
   measured: pale 12.8:1, pale-soft 6.4:1, kevin-bright 5.1:1 (3.8:1 on the
   graphite cards, so their small labels are pale-soft, 4.8:1), the .45 pale
   hairline 3.7:1 and the .55 ghost border 4.9:1. Form controls take the dark
   scheme. */
.enquiry { background: var(--l0); color: var(--ink); }

/* --- the banner ---------------------------------------------------------
   Three layers, back to front: the photograph, a translucent grey card over
   its left third holding the headline, and the role cards in front of both.
   The card is inset roughly an inch and a bit from the left edge of the image
   rather than running to it, so the photograph reads as the ground the card
   is sitting on. */
.enquiry .banner {
  position: relative; isolation: isolate;
  min-height: clamp(22rem, 56vw, 38rem);
  display: grid; align-items: center;
  padding: calc(var(--hdr) + clamp(1.5rem, 3vw, 2.5rem)) 0 clamp(6rem, 11vw, 9rem);
}
.enquiry .banner img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* A light hand only: the card carries legibility now, so the scrim just stops
   the photograph's brightest corner fighting the header. */
.enquiry .banner .scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(4,26,17,.42) 0%, rgba(4,26,17,.06) 34%, rgba(4,26,17,.28) 100%);
}

/* The panel is not a floating card: it is a translucent grey column standing
   on the photograph, running the full height of the banner with a hard edge
   where it stops, about half the image wide. The photograph carries on behind
   it, muted rather than hidden. */
.enquiry .banner-copy {
  /* Left edge sits on the same line as the sheet below it, so the panel and
     the role cards share one margin rather than each finding their own. That
     is the sheet's own centring maths: (100% - its max width) / 2. */
  position: absolute; top: 0; bottom: 0;
  left: max(1.2rem, calc((100% - 78rem) / 2));
  width: min(44%, 34rem);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr) + clamp(1.5rem, 3vw, 2.5rem))
           clamp(2rem, 4vw, 3.5rem)
           clamp(5rem, 9vw, 7.5rem)
           clamp(1.4rem, 4.5vw, 4.5rem);
  background: rgb(58 66 60 / .62);
  backdrop-filter: blur(3px) saturate(.9);
  -webkit-backdrop-filter: blur(3px) saturate(.9);
}
.enquiry .banner-copy .d {
  color: #fff; font-size: clamp(1.9rem, 3.8vw, 3.3rem); max-width: 15ch; margin: 0;
}
.enquiry .lede {
  margin: 1.1rem 0 0; max-width: 42ch; font-size: clamp(.98rem, 1.35vw, 1.1rem);
  color: rgba(255,255,255,.94);
}

/* On a phone a half-width column holds nothing, so the panel takes the lot. */
@media (max-width: 760px) {
  /* the banner already reserves the bar; the panel reserved it again, and
     the form went below the fold */
  .enquiry .banner-copy {
    position: relative; width: auto; inset: auto;
    padding-top: clamp(1.5rem, 5vw, 2.5rem); padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }
}

/* --- the role cards: in front of the grey card and the photograph -------- */
.enquiry .sheet {
  position: relative; z-index: 2;
  width: min(100% - 2.4rem, 78rem);
  margin: clamp(-6rem, -8vw, -3.5rem) auto 0;
  background: transparent; box-shadow: none; padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}
/* the form itself keeps a ground once the roles are chosen and it needs one */
.enquiry .sheet .steps, .enquiry .sheet .sent {
  background: var(--neutral);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 3vw, 2.4rem) clamp(2rem, 4vw, 3rem);
  border-radius: 4px;
  box-shadow: 0 24px 60px -30px rgba(8,48,31,.45);
}
.enquiry .steps, .enquiry .sent { margin-top: 0; }

/* the three ways to reach us, full width beneath the split: a row of three
   from 820px, the narrowest width at which the email address fits its third
   without running into the next; rule-separated items in one column below.
   The same room below the text as above the rule: with no foot the last
   line sat on the dark ground of the close.

   The close is gone from this page (2 Oct), so this band is now the last
   thing in the page and its foot is the page's own ending rather than a gap
   between two bands. A matched 4rem was the right figure under a 7.5rem dark
   band and is too tight without one - the three lines ran straight into the
   green strip. The foot opens to 6rem, which is still inside the close's own
   7.5rem on the pages that keep it, so the page ends a little more quietly
   than the others rather than louder. */
.reach-band { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); }
.reach { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--kevin); }
.reach li { padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.reach b { display: block; font-family: var(--head); font-weight: 300; font-synthesis: none; font-size: 1.35rem; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.reach span { display: block; margin-top: .45rem; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); max-width: 34ch; }
/* the two ways to reach us are links and have to look like it before hover */
.reach a {
  color: inherit;
  text-decoration: underline; text-decoration-color: var(--kevin);
  text-decoration-thickness: 2px; text-underline-offset: .22em;
}
.reach a:hover { color: var(--kevin); }
@media (min-width: 820px) {
  .reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.6rem, 3vw, 2.5rem); }
  .reach li { border-bottom: 0; padding-bottom: 0; }
}

/* Without script the three fieldsets read as one continuous form, a rule
   between them and a single button at the foot. With it (html.js, set in the
   head before first paint) one step shows at a time, the indicator tracks and
   the Next and Back buttons appear. */
.enquiry fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.enquiry .step + .step {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(238, 242, 234, .18);
}
html.js .enquiry .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }
html.js .enquiry .step:not(.on) { display: none; }
.enquiry .steps[hidden] { display: none; }

/* The heading and the indicator share one row: heading left, indicator on
   the right beside it, and below it once the row wraps. Small type never sits
   above large. The heading belongs to step 1 and goes with it. */
.enquiry .form-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 1.1rem 2rem; margin: 0 0 clamp(1.5rem, 3vw, 2rem);
}
.enquiry .form-head .d { color: var(--pale); font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 16ch; margin: 0; flex: 1 1 14rem; }
html.js .enquiry .steps:not(:has(#step-1.on)) .form-head .d { display: none; }
/* on a step without a heading the row is only the indicator: no room reserved */
html.js .enquiry .steps:not(:has(#step-1.on)) .form-head { margin-bottom: clamp(1.2rem, 2.4vw, 1.6rem); }

/* visually hidden, still read: the live region and the radio behind a card */
.vh, .role input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}
/* The honeypot, in both forms. Off screen rather than hidden: a bot that
   skips hidden fields walks past a hidden trap. It is aria-hidden and its
   field is tabindex="-1", so a reader never meets it either. */
.bot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* the one line above the fields that says which must be filled */
.enquiry .step > .note { margin: 0 0 1.4rem; }

/* the indicator: the step numbers on a short rule, the rule taking the bright
   green as each step is done. Compact, so it sits beside the heading as a
   control rather than spanning the form as a banner. */
.stepper { display: none; list-style: none; margin: .3rem 0 0 auto; padding: 0; flex: none; }
html.js .stepper { display: flex; align-items: center; }
.stepper li { display: flex; align-items: center; }
.stepper li::after { content: ""; width: 1.6rem; height: 2px; margin: 0 .45rem; border-radius: 1px; background: rgba(238, 242, 234, .3); }
.stepper li:last-child::after { display: none; }
.stepper li.done::after { background: var(--kevin-bright); }
.stepper .dot {
  position: relative; flex: none; display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1.5px solid rgba(238, 242, 234, .45); background: transparent; color: var(--pale-soft);
  font-family: var(--mono); font-weight: 500; font-size: .85rem; font-variant-numeric: tabular-nums;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.stepper li[aria-current="step"] .dot { background: var(--pale); border-color: var(--pale); color: var(--charcoal); }
.stepper li.done .dot { background: var(--kevin-bright); border-color: var(--kevin-bright); color: var(--charcoal); }
.stepper .tick { display: none; width: 1.05rem; height: 1.05rem; }
.stepper li.done .tick { display: block; }
.stepper li.done .num {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}
@media (max-width: 559px) { .stepper { margin-left: 0; } }

/* The five roles: a real radio behind each card, the card following it. As
   the reference's row of categories, each carries a line icon above its
   title and a short label beneath. Graphite on the green, two across in the
   panel with the fifth alone on the full width, so the row reads as a set
   rather than a grid with a hole in it. Chosen, a card fills mid green under
   a bright ring; its small label goes to the light ground so it still clears
   4.5:1 on the fill. */
.roles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.role { position: relative; display: block; cursor: pointer; }
/* was: fifth card spanned the row in the 3-over-2 layout */
.role .box {
  position: relative; display: block; height: 100%; box-sizing: border-box;
  padding: 1.25rem 2.6rem 1.3rem 1.25rem; border-radius: 8px;
  background: var(--graphite); box-shadow: inset 0 0 0 1px rgba(238, 242, 234, .18);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.role .ico { display: block; width: 34px; height: 34px; margin-bottom: 1rem; color: var(--kevin-bright); }
.role .t {
  display: block; font-family: var(--display); font-weight: 300; font-synthesis: none;
  font-size: 1.3rem; letter-spacing: -0.012em; line-height: 1.15; color: var(--pale);   /* 1.2rem was under the light weight's 20px floor */
}
.role .s {
  display: block; margin-top: .5rem;
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pale-soft);
}
@media (hover: hover) { .role:hover .box { box-shadow: inset 0 0 0 1px var(--kevin-bright); } }
.role input:checked + .box { background: var(--kevin-mid); box-shadow: inset 0 0 0 2px var(--kevin-bright); }
.role input:checked + .box .s { color: var(--l1); }
.role input:checked + .box .ico { color: var(--pale); }
.role input:focus-visible + .box { outline: 3px solid var(--pale); outline-offset: 3px; }
.role .tick {
  position: absolute; top: 1.05rem; right: 1.05rem; width: 1.3rem; height: 1.3rem;
  color: var(--pale); opacity: 0; transform: scale(.6);
  transition: opacity .2s ease, transform .2s ease;
}
.role input:checked + .box .tick { opacity: 1; transform: none; }
/* a phone: one column, the icon beside the words so the five stay one screen */
@media (max-width: 479px) {
  .roles { grid-template-columns: 1fr; gap: 10px; }
  .role:nth-child(5) { grid-column: auto; }
  .role .box { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; padding: .95rem 2.6rem .95rem 1rem; }
  .role .ico { grid-row: 1 / 3; width: 30px; height: 30px; margin: 0; }
  .role .s { margin-top: .3rem; }
}

/* The fields: no fill and no box, a pale hairline beneath each, as both
   references draw them. On focus the rule thickens and takes the bright green
   and the label goes with it, so the focused field is unmistakable without a
   ring around an open shape. */
.enquiry .field { position: relative; }
.enquiry .field label {
  display: block; margin: 0 0 .15rem; max-width: 60ch; color: var(--pale);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.012em; line-height: 1.45;
  transition: color .2s ease;
}
.enquiry .field input, .enquiry .field textarea {
  display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 1.05rem; line-height: 1.5; color: var(--pale);
  background: transparent; border: 0; border-bottom: 1px solid rgba(238, 242, 234, .45); border-radius: 0;
  padding: .7rem 0 .65rem; box-shadow: 0 0 0 0 var(--kevin-bright);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.enquiry .field textarea { min-height: 7.5rem; resize: vertical; }
.enquiry .field input:focus, .enquiry .field textarea:focus {
  outline: none; border-bottom-color: var(--kevin-bright); box-shadow: 0 2px 0 0 var(--kevin-bright);
}
.enquiry .field:focus-within label { color: var(--kevin-bright); }
/* Windows high contrast and forced colours drop box-shadow: a real outline
   stands in there, and only there. */
@media (forced-colors: active) {
  .enquiry .field input:focus, .enquiry .field textarea:focus { outline: 3px solid CanvasText; outline-offset: 2px; }
}
/* a browser's autofill tint would paint the open field as a box again */
.enquiry .field input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 1000px var(--charcoal); -webkit-text-fill-color: var(--pale);
}
.enquiry .field input:-webkit-autofill:focus { -webkit-box-shadow: inset 0 0 0 1000px var(--charcoal), 0 2px 0 0 var(--kevin-bright); }
.enquiry .field [aria-invalid="true"] { border-bottom-color: var(--pale); box-shadow: 0 1px 0 0 var(--pale); }
/* the optional field's helper, beneath it: small type never sits above larger */
.enquiry .hint { margin: .6rem 0 0; max-width: 60ch; font-size: .9rem; line-height: 1.5; color: var(--pale-soft); }
/* the details: name and email share a row from 760px, the phone, the site
   information and the attachments take the full width beneath them */
.enquiry .details { display: grid; gap: 1.6rem 2rem; }
@media (min-width: 760px) {
  .enquiry .details { grid-template-columns: 1fr 1fr; }
  .enquiry .details .phone, .enquiry .details .site, .enquiry .details .files { grid-column: 1 / -1; }
}

/* The attachments. The group is named by a paragraph rather than a label,
   since it names three inputs and not one, so it takes the label's own type
   to sit in the column with the rest. */
.enquiry .files .files-lbl {
  display: block; margin: 0 0 .15rem; max-width: 60ch; color: var(--pale);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.012em; line-height: 1.45;
  transition: color .2s ease;
}
.enquiry .files:focus-within .files-lbl { color: var(--kevin-bright); }
.enquiry .file-rows { list-style: none; margin: .55rem 0 0; padding: 0; display: grid; gap: .55rem; }
/* The chooser and its clear control share the row. The input takes what is
   left, so its hairline shortens by the control's width rather than running
   under it. Centred on the field box rather than seated on the hairline: the
   file's name sits near the middle of that box, and aligning the two ends put
   the cross five pixels under it. */
.enquiry .file-row { display: flex; align-items: center; gap: .35rem; }
.enquiry .file-row[hidden] { display: none; }
.enquiry .file-row input[type="file"] { min-width: 0; flex: 1 1 auto; }
/* The chooser is the native input, styled through its own button rather than
   hidden behind a label: the keyboard behaviour, the focus ring and the name
   of the chosen file are all the browser's and all correct. The input itself
   carries the field hairline so it reads as one of the fields above it, and
   the button inside it is the site's small label on a hairline box. */
.enquiry .files input[type="file"] {
  display: block; width: 100%; box-sizing: border-box; font: inherit;
  font-size: .95rem; line-height: 1.5; color: var(--pale-soft);
  background: transparent; border: 0; border-bottom: 1px solid rgba(238, 242, 234, .45);
  border-radius: 0; padding: .5rem 0 .55rem;
  box-shadow: 0 0 0 0 var(--kevin-bright);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.enquiry .files input[type="file"]:focus {
  outline: none; border-bottom-color: var(--kevin-bright); box-shadow: 0 2px 0 0 var(--kevin-bright);
}
.enquiry .files input[type="file"][aria-invalid="true"] {
  border-bottom-color: var(--pale); box-shadow: 0 1px 0 0 var(--pale);
}
.enquiry .files input[type="file"]::file-selector-button {
  font: inherit; font-family: var(--mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin: 0 .9rem 0 0; padding: .5rem .9rem;
  color: var(--pale); background: transparent;
  border: 1px solid rgba(238, 242, 234, .45); border-radius: 999px;
  cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
@media (hover: hover) {
  .enquiry .files input[type="file"]:hover::file-selector-button {
    background: var(--pale); color: var(--charcoal); border-color: var(--pale);
  }
}
/* Clear this file. Small, beside the chooser, never a second pill: the step
   already has one button that matters and this is not it. Icon only, named by
   aria-label with the file's own name in it, written by site.js on every
   change - "Clear sketch.pdf" rather than "Clear", so a reader meeting it out
   of context knows what goes. It is hidden in the markup and shown only for a
   row that holds a file or has been opened, which is why there is no state
   here for an empty closed row: it is not on the page.

   The target is 32px square, which is the whole of it - the cross is 16 and
   the rest is padding, so the hit area clears the 24px minimum without the
   mark growing to meet it. */
.enquiry .file-clear {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; margin: 0; padding: 0;
  border: 0; background: none; border-radius: 50%; cursor: pointer;
  color: var(--pale-soft);
  -webkit-appearance: none; appearance: none;
  transition: color .2s ease, background-color .2s ease;
}
.enquiry .file-clear[hidden] { display: none; }
.enquiry .file-clear svg { width: 1rem; height: 1rem; display: block; }
@media (hover: hover) {
  .enquiry .file-clear:hover { color: var(--charcoal); background: var(--pale); }
}
.enquiry .file-clear:focus-visible { outline: 3px solid var(--kevin-bright); outline-offset: 2px; }

/* Add another: the quiet third action on the step, so a text control with a
   plus rather than a pill that would read as level with Request a design. */
.enquiry .file-add {
  display: inline-flex; align-items: center; gap: .5rem; margin: .8rem 0 0;
  padding: .45rem .2rem; border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pale);
  -webkit-appearance: none; appearance: none; border-radius: 6px;
  transition: color .2s ease;
}
.enquiry .file-add[hidden] { display: none; }
/* The plus. It was content: "+" with a line-height holding it on the circle's
   middle, and it never sat there: a text plus is centred on the font's
   mathematical axis, not on its own ink, and its advance width is not centred
   on the glyph either, so it read high and a hair to one side - and by a
   different amount at every size, since one half of the error scales with the
   font and the other with the box. It is drawn now. The strokes cross at
   12,12 of a 24 viewBox in a flex box that centres it, so the centring is
   geometry and holds at any size, any zoom and any device ratio. The weight
   and the round cap are the site's icon style, as the sweep arrow and the
   menu chevron have them. */
.enquiry .file-ico {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 1.2rem; height: 1.2rem;
  border: 1px solid rgba(238, 242, 234, .45); border-radius: 50%;
  transition: border-color .2s ease, color .2s ease;
}
.enquiry .file-ico svg { width: .62rem; height: .62rem; display: block; }
@media (hover: hover) {
  .enquiry .file-add:hover { color: var(--kevin-bright); }
  .enquiry .file-add:hover .file-ico { border-color: var(--kevin-bright); }
}
.enquiry .file-add:focus-visible { outline: 3px solid var(--kevin-bright); outline-offset: 2px; }
@media (forced-colors: active) {
  .enquiry .files input[type="file"]:focus { outline: 3px solid CanvasText; outline-offset: 2px; }
}

/* An error is the browser's own validation message, placed here by site.js.
   The palette has no red, so it is carried by the bright mark, the thickened
   rule and the words, never by colour alone. */
.enquiry .err {
  display: flex; align-items: flex-start; gap: .5rem; margin: .65rem 0 0; max-width: none;
  font-size: .9rem; font-weight: 600; line-height: 1.4; color: var(--pale);
}
.enquiry .err:empty { display: none; }
.enquiry .err::before {
  content: "!"; flex: none; width: 1.2rem; height: 1.2rem; margin-top: .05rem;
  border-radius: 50%; background: var(--kevin-bright); color: var(--charcoal);
  font-family: var(--mono); font-size: .8rem; font-weight: 500; line-height: 1.2rem; text-align: center;
}

/* the actions: only the submit without script, Back and Next with it. The
   solid button is charcoal, so on the green it inverts as it does on the
   close; the ghost is the pale one the close already uses. */
.enquiry .acts { margin-top: clamp(1.8rem, 3.4vw, 2.4rem); }
/* the privacy link sits in the row with the buttons, as a plain link */
.enquiry .acts .privacy-link { align-self: center; font-size: .9rem; color: inherit; text-underline-offset: .2em; }
.enquiry .next, .enquiry .back { display: none; }
html.js .enquiry .next, html.js .enquiry .back { display: inline-block; }
.enquiry .btn:not(.ghost) { background: var(--pale); color: var(--charcoal); }
@media (hover: hover) { .enquiry .btn:not(.ghost):hover { background: var(--kevin-mid); color: #fff; } }
button.btn { border: 0; font: inherit; font-weight: 600; line-height: 1.5; cursor: pointer; -webkit-appearance: none; appearance: none; }
button.btn.ghost { font-family: var(--mono); font-size: .85rem; letter-spacing: .08em; }
button.btn:disabled { opacity: .6; cursor: default; }

/* the confirmation: shown by script once the post lands, or by :target when
   the browser comes back to #sent after Netlify's redirect. It takes the
   form's place in the panel, under a bright rule. The :target rules stand
   only without script (html.js is set inline in every head): with it,
   site.js shows the thanks only when its own marker says the post was made,
   so a plain link to #sent cannot hide the form. */
.enquiry .sent[hidden] { display: none; }
.enquiry .sent { padding-top: 1.4rem; border-top: 2px solid var(--kevin-bright); }
.enquiry .sent svg { display: block; width: 2.75rem; height: 2.75rem; margin-bottom: 1.2rem; color: var(--kevin-bright); }
.enquiry .sent .d { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 16ch; color: var(--pale); }
html:not(.js) .enquiry #sent:target { display: block; }
html:not(.js) .enquiry:has(#sent:target) .steps { display: none; }

/* The incoming step settles in. The animation exists only where motion is
   welcome; under reduced motion the step is simply there, and the small
   state changes on the cards, fields and numbers do not ease either. */
@media (prefers-reduced-motion: no-preference) {
  .enquiry .step.entering { animation: step-in .32s cubic-bezier(.22, 1, .36, 1) both; }
}
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .stepper .dot, .role .box, .role .tick, .enquiry .field input, .enquiry .field textarea, .enquiry .field label { transition: none; }
  .enquiry .files .files-lbl, .enquiry .files input[type="file"],
  .enquiry .files input[type="file"]::file-selector-button,
  .enquiry .file-add, .enquiry .file-ico, .enquiry .file-clear { transition: none; }
  .role .tick { transform: none; }
}

/* --- the running strips ---------------------------------------------------- */
/* The reference closes with two tickers before the footer. Two tracks, each
   sliding its own width, so the loop has no seam; but that only holds while
   one track is at least as wide as the viewport, so each track carries the
   list four times over, which is wider than a 4K display. The two run
   against each other so they read as two bands rather than one thick slab.
   The speed is about 100px a second, as the reference's ticker measures:
   these durations give that at the widest type size, and site.js sets the
   exact figure from the track's measured width. */
.marquee {
  position: relative; z-index: 2;
  display: flex; overflow: hidden; padding: .85rem 0;
  font-family: var(--display); font-weight: 500; font-synthesis: none;   /* an uppercase ticker: the label weight, not the light display */
  font-size: clamp(1.1rem, 2vw, 1.55rem); letter-spacing: .03em; text-transform: uppercase;
}
/* The first band is white on the brand green, and the brand green is not dark
   enough to carry it. Measured, #118A5F against #fff is 4.35:1; the type here
   is clamp(1.1rem, 2vw, 1.55rem) at weight 500, so on a 390px phone it sits
   at the clamp's floor of 17.6px, which is under the 18.66px that would let
   the large-text threshold of 3:1 apply, and 4.5:1 is what has to be met.
   --kevin-mid is the same green a step down, already in the palette and
   already carrying white body copy elsewhere for exactly this reason, and it
   measures 6.26:1. Nothing else in the band moves: the dots stay the brighter
   green (2.03:1 against the new ground, and they are decorative - aria-hidden
   bullets between the phrases), the second band is untouched, and the two
   still read as a darker band over a pale one. */
.marquee.one { background: var(--kevin-mid); color: #fff; }
.marquee.two { background: var(--l1); color: var(--kevin-deep); }
.marquee .track { flex: none; display: flex; animation: ticker 50s linear infinite; }
.marquee.two .track { animation-duration: 43s; animation-direction: reverse; }
.marquee ul {
  flex: none; display: flex; align-items: center; gap: 2.5rem;
  margin: 0; padding: 0 2.5rem 0 0; list-style: none; white-space: nowrap;
}
.marquee li { flex: none; }
.marquee .dot { color: var(--kevin-bright); }
.marquee.two .dot { color: var(--kevin); }

/* Anything that moves by itself can be stopped. The footer's control sets
   data-motion on the root and the strip and the tickers hold; the same rule
   holds a strip or ticker while it is off screen, which is where the scene
   already idles. The film holds too, by site.js, which reads the same
   attribute. */
html[data-motion="paused"] .strip .track, html[data-motion="paused"] .marquee .track,
.strip.offscreen .track, .marquee.offscreen .track { animation-play-state: paused; }

/* --- footer ---------------------------------------------------------------- */
/* The client's reference: a brand block, a contact block, a column of links,
   social icons, a legal row across the foot. The client's deep green carries it;
   the pale on it clears 13:1, the soft pale 6.6:1, his bright green 5.3:1, so
   every word here passes AA at its size. Each column's head is set larger
   than what sits under it, never smaller: small type does not sit above big.
   Four columns from 1000px, two from 640px, one below. */
footer {
  position: relative; z-index: 2;
  background: var(--kevin-deep); color: var(--pale);
  padding: clamp(3rem, 6vw, 5rem) 0 1.6rem;
}
/* Full page width, not the reading measure: at the foot of the page the
   columns want the whole span, and the gutter either side of a centred block
   reads as empty space rather than as margin. */
footer > .wrap { max-width: none; padding: 0 clamp(1.5rem, 4.2vw, 4rem); }
footer .foot { display: grid; gap: 2.6rem 2rem; }
@media (min-width: 640px) { footer .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  footer .foot { grid-template-columns: 1.4fr 1.15fr .9fr 1.35fr; gap: 2rem clamp(2.4rem, 5vw, 6rem); }
}
footer a { color: var(--pale); text-decoration: none; transition: color .2s ease; }
footer a:hover { color: var(--kevin-bright); }
footer p { margin: 0; }

/* the brand: mark and name as one lockup, as the bar sets them, the strap
   beneath in the spec voice */
footer .foot-lockup {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--display); font-weight: 800; font-synthesis: none;
  font-size: 1.2rem; letter-spacing: -0.035em; text-transform: uppercase; line-height: 1;
}
footer .foot-lockup img { width: auto; height: 8.2rem; display: block; }   /* the lockup is stacked, mark over wordmark, so it needs height not width */
footer .foot-strap {
  margin-top: 1.1rem; max-width: 26ch;
  font-family: var(--mono); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; color: var(--pale-soft);
}

/* the column heads: his words, his case, set in the display weight */
footer .foot-h {
  margin: 0 0 1rem; font-family: var(--head); font-weight: 300; font-synthesis: none;
  font-size: 1.3rem; letter-spacing: -0.012em; line-height: 1.2; color: var(--kevin-bright);   /* 1.22rem was under the light weight's 20px floor */
}
footer .foot-col { font-size: 1.06rem; line-height: 1.6; }
footer .foot-col ul { list-style: none; margin: 0; padding: 0; }
footer .foot-col li + li { margin-top: .55rem; }

/* the address, then the numbers each with whose it is, label and number on
   one line at the same size */
footer .foot-contact { font-style: normal; }
footer .foot-contact p { color: var(--pale-soft); }
footer .foot-contact dl { margin: 1rem 0 0; }
footer .foot-contact dl > div { display: flex; flex-wrap: wrap; gap: 0 .6rem; }
footer .foot-contact dl > div + div { margin-top: .35rem; }
/* two rows now rather than four (the mobiles came out 2 Oct), so the labels
   are given a common width and the pair reads as one aligned block rather
   than as a ragged remainder. 3.1em clears the longer of the two labels. */
footer .foot-contact dt { color: var(--pale-soft); min-width: 3.1em; }
footer .foot-contact dt::after { content: ":"; }
footer .foot-contact dd { margin: 0; }
/* each number sits beside a label of nearly the same colour, so the link is
   told by its rule, as the contact page's are, and not by colour alone */
footer .foot-contact a {
  font-variant-numeric: tabular-nums;
  text-decoration: underline; text-decoration-color: var(--kevin-bright);
  text-decoration-thickness: 2px; text-underline-offset: .22em;
}

/* the newsletter: the open field the enquiry uses, the pale pill beside it.
   Label and field share a size; the message sits under the field. */
footer .newsletter label { display: block; margin: 0 0 .15rem; font-weight: 600; font-size: 1.06rem; letter-spacing: -0.012em; line-height: 1.45; transition: color .2s ease; }
footer .newsletter form:focus-within label { color: var(--kevin-bright); }
footer .newsletter .row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: flex-end; }
footer .newsletter input[type="email"] {
  flex: 1 1 12rem; min-width: 0; box-sizing: border-box; font: inherit; font-size: 1rem; line-height: 1.5; color: var(--pale);
  background: transparent; border: 0; border-bottom: 1px solid rgba(238, 242, 234, .45); border-radius: 0;
  padding: .55rem 0 .5rem; box-shadow: 0 0 0 0 var(--kevin-bright);
  transition: border-color .2s ease, box-shadow .2s ease;
}
footer .newsletter input[type="email"]:focus { outline: none; border-bottom-color: var(--kevin-bright); box-shadow: 0 2px 0 0 var(--kevin-bright); }
@media (forced-colors: active) { footer .newsletter input[type="email"]:focus { outline: 3px solid CanvasText; outline-offset: 2px; } }
footer .newsletter input:-webkit-autofill { -webkit-box-shadow: inset 0 0 0 1000px var(--kevin-deep); -webkit-text-fill-color: var(--pale); }
footer .newsletter input:-webkit-autofill:focus { -webkit-box-shadow: inset 0 0 0 1000px var(--kevin-deep), 0 2px 0 0 var(--kevin-bright); }
footer .newsletter input[aria-invalid="true"] { border-bottom-color: var(--pale); box-shadow: 0 1px 0 0 var(--pale); }
footer .newsletter .btn { flex: none; padding: .7rem 1.5rem; font-size: .9rem; background: var(--pale); color: var(--charcoal); }
@media (hover: hover) { footer .newsletter .btn:hover { background: var(--kevin-mid); color: #fff; } }
footer .newsletter .btn:disabled { opacity: .6; cursor: default; transform: none; }
footer .newsletter .err {
  display: flex; align-items: flex-start; gap: .5rem; margin: .65rem 0 0;
  font-size: .9rem; font-weight: 600; line-height: 1.4; color: var(--pale);
}
footer .newsletter .err:empty { display: none; }
footer .newsletter .err::before {
  content: "!"; flex: none; width: 1.2rem; height: 1.2rem; margin-top: .05rem;
  border-radius: 50%; background: var(--kevin-bright); color: var(--charcoal);
  font-family: var(--mono); font-size: .8rem; font-weight: 500; line-height: 1.2rem; text-align: center;
}
footer .newsletter form[hidden], footer .newsletter .subscribed[hidden] { display: none; }
footer .newsletter .subscribed {
  display: flex; align-items: center; gap: .7rem; padding-top: .9rem;
  border-top: 2px solid var(--kevin-bright); font-weight: 600; font-size: 1rem;
}
footer .newsletter .subscribed svg { flex: none; width: 1.75rem; height: 1.75rem; color: var(--kevin-bright); }
/* without script only; see the enquiry's confirmation */
html:not(.js) footer .newsletter #subscribed:target { display: flex; }
html:not(.js) footer .newsletter:has(#subscribed:target) form { display: none; }
@media (prefers-reduced-motion: no-preference) {
  footer .newsletter .subscribed { animation: step-in .32s cubic-bezier(.22, 1, .36, 1) both; }
}

/* the legal row and the social link, either end of one rule */
footer .foot-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem;
  margin-top: clamp(2.2rem, 4vw, 3.2rem); padding-top: 1.2rem;
  border-top: 1px solid rgba(238, 242, 234, .14);
  font-size: .9rem; color: var(--pale-soft);
}
/* From the four-column width the legal text takes what is left of the row
   and wraps inside that, so the motion control and the social link never
   drop to a second line under it. Below that the three wrap as they did. */
@media (min-width: 1000px) {
  footer .foot-legal { flex: 1 1 0; min-width: 0; }
  footer .motion-toggle, footer .foot-social { flex: none; }
}
footer .foot-social { display: flex; align-items: center; gap: .7rem; }
footer .foot-social a {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1px solid rgba(238, 242, 234, .45); color: var(--pale);
  transition: color .2s ease, border-color .2s ease;
}
footer .foot-social a:hover { color: var(--kevin-bright); border-color: var(--kevin-bright); }
footer .foot-social svg { width: 1.2rem; height: 1.2rem; }

/* the motion control: a small pill in the spec voice, filled while pressed.
   Set in the legal row so it is on every route beside the tickers it stops. */
footer .motion-toggle {
  font: inherit; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pale); background: transparent; border: 1px solid rgba(238, 242, 234, .45);
  padding: .55rem .95rem; border-radius: 999px; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
footer .motion-toggle[aria-pressed="true"] { background: var(--pale); color: var(--charcoal); border-color: var(--pale); }
@media (hover: hover) { footer .motion-toggle:hover { border-color: var(--kevin-bright); color: var(--kevin-bright); } }
footer .motion-toggle[aria-pressed="true"]:hover { color: var(--charcoal); }

/* --- arrival ------------------------------------------------------------- */
/* Blocks below the fold rise in once. The class comes from site.js, so
   without script nothing is ever hidden. The curve is the reference's own
   appear spring (stiffness 500, damping 100, mass 3: overdamped, no
   overshoot) sampled into a linear() easing; the bezier before it is the
   fallback for a browser without linear(). The reference's 0.3s delay and
   1.15s travel are not kept: the block has already crossed into view when
   it fires, and a reader at normal pace was looking at an empty slot for
   the delay and a block still moving well after they had started to read.
   The travel is .85s, up from .65: with the hero lengthened the rest of the
   page read as snapping in beside it, and the curve is front-loaded enough
   that the extra fifth of a second is all settle. */
.will-appear { opacity: 0; transform: translateY(24px); }
.will-appear.in {
  opacity: 1; transform: none;
  transition-property: opacity, transform;
  transition-duration: .85s;
  transition-delay: var(--stagger, 0s);
  transition-timing-function: cubic-bezier(.16, 1, .3, 1);
  transition-timing-function: linear(0, 0.1197, 0.3102, 0.4786, 0.6106, 0.7104, 0.785, 0.8405, 0.8816, 0.9122, 0.9349, 0.9517, 0.9642, 0.9734, 0.9803, 0.9854, 0.9891, 0.9919, 0.994, 0.9956, 0.9967, 0.9976, 0.9982, 0.9987, 1);
}
/* A block a same-page link has just landed on is shown as it is: an
   entrance the reader did not ask for, under their eyes, read as a page
   still loading. Script adds the class with the reveal (see site.js). */
.will-appear.in.now { transition: none; }
@media print { .will-appear { opacity: 1; transform: none; } }

/* --- reduced motion, below the hero ---------------------------------------- */
/* Last in the file on purpose: several of these undo rules of equal
   specificity above, and order is what decides. Nothing pins and nothing
   hides. A pinned photograph becomes a band the page scrolls past; a stack
   becomes a list; a strip becomes a row that can be scrolled by hand; a block
   that would have risen in is simply there. */
@media (prefers-reduced-motion: reduce) {
  main > section.pin { position: relative; height: auto; margin-bottom: 0; }
  /* the aerial's own height and offset outrank the line above by specificity */
  .pin.aerial, .band + .pin.aerial { height: auto; top: auto; }
  .pin img { position: static; height: 60vh; }
  .pin.two img { height: 60vh; }
  .stack > .card, .split > .head, .process .plate, .faq.home .media { position: static; }
  .strip .track, .marquee .track, .reel-track { animation: none; }
  .strip, .marquee, .reel { overflow-x: auto; }
  .reel-track:last-child { display: none; }
  .reel-track { padding-right: 8px; }   /* the row scrolls to its end here, and the last card's outline needs the room */
  /* The strip has nothing to focus, so a row that scrolls sideways is one a
     keyboard cannot move: the twelve wrap into rows instead, all in view,
     and the second copy, there only for the loop, is not shown. The tickers'
     second track and repeats go the same way, so each reads once. */
  .process .strip { overflow: visible; }
  /* the track is flex: none for the slide, its own width and never less;
     to wrap it has to be bounded by the band instead */
  .strip .track { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; }
  .strip .track[aria-hidden] { display: none; }
  .marquee .track[aria-hidden], .marquee .track ul[aria-hidden] { display: none; }
  .job-shot img { transition: filter .28s ease; }
  .job-card:hover .job-shot img { transform: none; }
  /* the tab on the picture still fills under the pointer and the focus, which
     is state; it no longer slides */
  .job-view { transition: background-color .2s ease; }
  .job-card:hover .job-view, .job-card:focus-visible .job-view { transform: none; }
  /* the arrows still step the row (by scroll, in site.js), without the lift */
  .reel-arrow, .reel-arrow:hover, .reel-arrow:active { transform: none; transition: none; }
  /* the panel's gallery: the mark on the shown thumbnail and the fade on
     the rest are state, not motion, so both stay; only the lift goes */
  .job-thumb, .job-thumb:hover, .job-thumb img, .job-turn, .job-turn .jump-name { transition: none; }
  .job-thumb:not([aria-current="true"]):hover { transform: none; }
  .will-appear { opacity: 1; transform: none; transition: none; }
  footer a, footer .newsletter label, footer .newsletter input, footer .newsletter .btn, footer .motion-toggle { transition: none; }
  .filmband .film-play, .filmband .film-play:hover, .filmband .film-play:active { transform: translate(-50%, -50%); transition: none; }
  header nav.pagerow a[aria-current="page"] { transition: none; }
}

/* --- short viewports --------------------------------------------------------- */
/* A landscape phone is too short to stack: a card taller than the room under
   its pinned edge is never in view whole, and sticky's containing-block rule
   bunches the pile at the list's end. Below 560px of height nothing pins
   except the full-height photographs, which fit by definition. A phone's
   application card cannot shrink, so a phone needs a little more: 600px,
   and 680px on the narrowest, where the bar wraps and the card is 430px.
   Last in the file so that order, not specificity, decides.
   This stood at 760px until 2 Nov, and it was why the cards stopped
   stacking: a laptop browser at 125% shows 600 to 730px of page, so on the
   client's own screen every stack on the site was a plain list and the
   heading beside it scrolled away. The application cards are the only ones
   too tall for that room, and on a wide screen they now give their
   picture's height up to fit it (see .programs), so the line can sit where
   a screen really is too short. A list's cards keep their own heights. */
@media (max-height: 559px), (max-width: 899px) and (max-height: 599px), (max-width: 374px) and (max-height: 679px) {
  .stack > .card, .split > .head, .process .plate, .faq.home .media { position: static; }
  .stack { grid-auto-rows: auto; }
}

/* The spec label now sits inside the description under the figure, never above
   it — small text above large text is banned site-wide. */
/* the label is a <b> inside the description, so it must not inherit the
   display sizing that .numbers b gives the figure itself */
.numbers .stat > span .lbl {
  font: inherit; font-weight: 600; letter-spacing: 0; color: var(--ink);
}

/* ===========================================================================
   The intro — the splash
   ---------------------------------------------------------------------------
   From 1 Oct to 4 Nov this was a gate that stood until the visitor pressed
   Enter. Since 5 Nov, at the client's ask, it is a splash again: the mark
   lands and the screen lifts itself, about two seconds in, and any press,
   key or scroll lifts it at once (site.js owns all of that). The Enter
   control, its four treatments, its fill and the travelling light that
   filled the wait for it all came out with the gate.

   The idea is the company's own pitch. What Offsite Bases sell is what
   happens below the surface — no excavation, the load taken at once, the
   ground left as it was found — so the screen is a ground section. One pale
   hairline parts it: air above in the turquoise off the client's board, the
   board's own deeper teal below it as ground. The mark drives down towards
   that line, which is what the clip has always shown, and everything on the
   screen aligns to it.

   No reduced-motion rules here, and none are missing: a reader who asks for
   reduced motion never sees this screen (the head and site.js both skip it).

   The mask-and-grow lift was tried first and abandoned: the hole opened
   correctly but read as a glitch rather than a reveal at full size.
   =========================================================================== */

/* Two bands, parted by the horizon. The air takes two thirds, which puts
   about as much nothing above the mark as there is ground below the line:
   that is what makes the lockup read as placed rather than as floating in
   the middle of a flat field. */
.intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-rows: 2fr 1fr;
  background: #245F5D;   /* the air: the turquoise off the client's board, this screen only */
  overflow: hidden;
  will-change: transform;
}
.intro[hidden] { display: none; }
/* The screen is asked for from the head, before anything paints, by a class on
   the root: site.js, which owns it, is deferred and used to arrive after the
   first paint, so the page showed and then the screen dropped over it. Until
   site.js takes the element over it is still hidden in the markup, and the
   class is what shows it. */
html.intro-pending .intro[hidden] { display: grid; }

/* --- above the line: the mark over the words, centred on the mark's axis --- */
/* Centred at every width: one column, one centre line, every size. The foot
   of the column stands 3.4 to 4.6rem clear of the line, which was set to
   clear the Enter control that straddled it; kept with the control gone, so
   the lockup sits where it always has and the strapline never reads as
   resting on the horizon. */
.intro-lockup {
  grid-row: 1; align-self: end;
  /* Declared, not discovered. The lift fades and drifts this column at the
     same moment the sheet starts travelling, and a layer promoted in the
     frame the transition starts costs a paint in that frame; the measured
     lift dropped its first two vsyncs. The screen is up for two seconds, so
     holding the layer for all of them costs nothing. */
  will-change: transform, opacity;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center;
  gap: clamp(.75rem, 1.4vw, 1.1rem);
  padding: 0 clamp(1.2rem, 5vw, 3rem) clamp(3.4rem, 7vw, 4.6rem);
}

/* The mark is the clip. It carries its own transparency, so what sits behind
   the leaf is this screen's turquoise rather than a video's own square. The
   size on screen is this width, whatever the clip's own pixels: the clip is
   592x740, twice this at its largest, so it is sharp on a 2x screen and
   the same size as the 296x370 clip it replaced.

   The mark came down from clamp(104px, 12vw, 148px) when the words below it
   became the client's artwork (2 Oct). It had to. The type it replaced was one
   line and a strapline, about 95px tall on a wide screen; the artwork is two
   lines stacked over its strapline and is as tall as the mark itself, so the
   pair at the old sizes stood 90px taller and ate the air above it. Both
   halves were taken down together instead, and in the artwork's own
   proportion: the leaf in the client's lockup is 154px wide to the words'
   280, so the mark is 1 to the words' 1.82 at every width here, and the ratio
   between the two vw terms below is exactly that. */
.intro-mark { position: relative; width: clamp(88px, 9.3vw, 112px); flex: none; }
.intro-mark .mark-clip {
  display: block; width: 100%; height: auto; aspect-ratio: 592 / 740;
  background: transparent;
}
.intro.play .intro-mark { animation: leaf-in .5s cubic-bezier(.22,1,.36,1) both; }
/* The mark arrives with the play state and is not there before it. The screen
   can be up for a moment before site.js runs, and a mark that stood on it and
   then entered again would read as a stutter. */
.intro:not(.play) .intro-mark { opacity: 0; }
@keyframes leaf-in {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
/* The poster path. iOS in Low Power Mode refuses play() without a touch,
   muted and inline or not, and Safari does the same under some data-saver
   settings; a clip can also simply be late. site.js adds the still state on
   either: the clip is hidden (iOS would draw its own play glyph on it) and
   its poster, the finished mark, is driven down through the leaf from the
   top, the same arrival the pile makes, and then rests. The curve is a
   steady one with a soft landing rather than the site's fast ease-out: on
   that curve half the mark was in at once and it read as dropped, not
   driven.

   2s, as before 5 Nov. It was 1s for an afternoon, while the clip ran at 2;
   with the clip back at its own speed (see RATE in site.js) this is back to
   match, and the screen lifts 2s after it begins, as the mark lands. */
.intro.still .mark-clip { visibility: hidden; }
.intro.open .intro-mark::after { animation-play-state: paused; }
.intro.still .intro-mark::after {
  content: ""; position: absolute; inset: 0;
  background: url("images/intro-mark-pile-7-poster.png") center / contain no-repeat;
  animation: mark-drive 2s cubic-bezier(.45, .05, .3, 1) both;
}
@keyframes mark-drive {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-6%); }
  to   { clip-path: inset(0); transform: none; }
}

/* The words are on screen from the first frame: no entrance, nothing to wait
   for. Only the sheen moves.

   They are the client's wordmark artwork, not type: "OffSite Bases" over
   "Building Greener Foundations", lifted whole off his lockup with the leaf
   taken out from beside it (see the note on the element in index.html). The
   leaf is already above, animating, so what belongs here is the words only.

   The width is the mark's width times 1.82, which is the leaf-to-words ratio
   in the lockup itself, held at every size by the vw terms matching. At the
   cap that is 204 CSS px against the artwork's own 280: a downscale on a 1x
   screen, and 408 device pixels from 280 on a 2x one. That is the honest
   ceiling of what exists - 280x192 is the whole wordmark - and the smaller
   the screen the closer it gets to native (160px wide on a phone is 320
   device pixels from 280, which is as good as 1:1). The strapline inside it
   lands at about 9.5px tall on a wide screen; the same artwork in the site
   header puts it at 6.3px, so this is the largest it appears anywhere. */
.lockup-words { position: relative; width: clamp(160px, 17vw, 204px); flex: none; }
/* the hero deck already owns .words, so this is .intro-words: a bare .words
   here would take position: absolute; inset: 0 off it (see line ~535) and the
   artwork would drop out of the column and hang over the horizon */
.intro-words { display: block; width: 100%; height: auto; }

/* The sheen. The white wordmark with a green light travelling across it. No
   library, no script. It is not composited: background-position repaints the
   one small box each frame, which is nothing for a second and a half. It runs
   once, with the clip: it starts on the play state, in the frame the clip
   starts, takes the clip's 3.2s to cross (1.6s for an afternoon on 5 Nov,
   while the clip ran at double speed), and has gone by the time the mark
   lands and the screen lifts.

   It was background-clip: text over the live type. The type has gone, so the
   same gradient is masked to the artwork's own alpha instead and laid over it:
   one absolutely positioned span, the light travelling across it, nothing
   underneath it but the wordmark. The numbers are the old ones carried over -
   250% of the element wide, the band 38% of that, which worked out at about
   the width of the words before and still does because both are proportions of
   the element. --spread was 5ch, which has no meaning over a picture; 19% of
   the gradient is what 5ch measured to at the old size.

   The span is display: none by default and only turned on inside the @supports
   below, because an engine with no mask would otherwise paint a plain green
   bar across the wordmark rather than a sheen. */
.intro-sheen {
  display: none;
  position: absolute; inset: 0; pointer-events: none;
  --shine: #86C4AF;
  --spread: 19%;
  background-image:
    linear-gradient(90deg, transparent calc(50% - var(--spread)), var(--shine), transparent calc(50% + var(--spread)));
  background-repeat: no-repeat;
  background-size: 250% 100%;
  background-position: 100% center;
}
@supports ((-webkit-mask-image: url("images/logo-osb-words-white.svg")) or (mask-image: url("images/logo-osb-words-white.svg"))) {
  .intro-sheen {
    display: block;
    -webkit-mask-image: url("images/logo-osb-words-white.svg");
            mask-image: url("images/logo-osb-words-white.svg");
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  }
}
.intro.play .intro-sheen { animation: shimmer 3.2s linear 1 both; }
/* Both of these are MAIN-THREAD animations - background-position repaints a
   box, clip-path is not composited - and the lift is the one moment on this
   screen when the main thread must be left alone. They stop where they are;
   the sheet is over them and travelling, and they are about to be removed. */
.intro.open .intro-sheen { animation-play-state: paused; }
/* The travel runs on to -40% so the light is wholly off the type before it
   stops: stopping at 0% left its trailing edge as a green cast on "Bases". */
@keyframes shimmer { to { background-position: -40% center; } }

/* --- the horizon, and the ground under it --------------------------------- */
/* The ground is the board's deeper teal, a half-step down from the air: the
   two are close on purpose, so the hairline is what parts them rather than a
   change of colour doing the work. The line draws itself across once as the
   screen arrives and is then still. */
.intro-ground {
  grid-row: 2; position: relative;
  background: var(--board-deep);
}
.intro-horizon {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(238, 242, 234, .55);
}
.intro.play .intro-horizon { animation: horizon-draw .7s cubic-bezier(.22,1,.36,1) both; }
@keyframes horizon-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* The lift. One lift, however it was asked for - the mark landing, the cap,
   or a press, key or scroll (site.js, finish()): the sheet leaves fast and
   settles soft, and the lockup drifts a little faster than the sheet, the
   same way, so the screen does not read as one flat panel. A skip and the
   automatic lift are the same path on the same curve, so a visitor who taps
   on one visit and waits on the next sees the screen go the same way.

   The sheet stops taking input the moment it starts to leave (5 Nov). The
   page under it is unlocked and live in the same task, so a reader who
   scrolls or taps while it is travelling reaches the page, not the back of
   a sheet that is already on its way out. Every transition here runs from
   the value on screen, so a lift that begins mid-entrance (a tap in the
   first half second) carries the mark off from wherever it had got to.

   5 Nov (evening), Joe: slower, like the Wealth Studio's intro. That sheet
   lifts the same way, over 3.4s on an even in-out curve; this one takes its
   curve at 1.8s. 0.45s on the fast ease-out read as the screen snapping
   away. Over this long an expo-style ease-out covers most of the distance in
   the first instant and then crawls, so the curve is symmetrical: it
   gathers, travels and settles. The lockup goes on the same curve and fades
   in the first half, so it has left before the sheet's edge passes it. */
.intro.open {
  transform: translateY(-100%);
  transition: transform 1.8s cubic-bezier(.7, 0, .3, 1);
  pointer-events: none;
}
.intro.open .intro-lockup {
  transform: translateY(-22px); opacity: 0;
  transition: transform 1.8s cubic-bezier(.7, 0, .3, 1), opacity .9s ease;
}

/* --- short viewports ------------------------------------------------------ */
/* A phone on its side leaves about 390px of height for a composition that
   wants 500. The mark and the words come down together, in the same 1.82, so
   the lockup keeps its proportions against the line rather than crowding
   down onto it, and the foot comes in with them. */
@media (max-height: 560px) {
  .intro-mark { width: clamp(56px, 12vh, 84px); }
  .lockup-words { width: clamp(102px, 21.8vh, 153px); }   /* the same 1.82 */
  .intro-lockup { gap: .8rem; padding-bottom: 2.8rem; }
}

/* The reserved scrollbar gutter (html { scrollbar-gutter: stable }) lies
   outside the screen's fixed box and paints the canvas, so the canvas takes
   the air's colour for as long as the screen is up: otherwise a strip of
   another colour shows down the right-hand edge of it. It was still #fff
   here from when the veil itself was white, which on a classic-scrollbar
   machine was a white band beside the turquoise for the length of the intro. */
/* Two classes, because they come off at different moments. The LOCK comes off
   in the lift's own first task, before the transition has a start time, so
   the document-wide relayout it causes is not paid in the lift's first frame
   (see finish() in site.js). The COLOUR has to outlive the lift: the gutter is
   beside the screen for the whole of the sheet's travel, and taking the teal
   off with the lock turned it white for those 450ms. It comes off with the
   element itself. */
html.intro-locked, html.intro-locked body { overflow: hidden; }
html.intro-locked, html.intro-veil { background: #245F5D; }

/* ===========================================================================
   Contact — the light sheet
   The client's reference sets its category boxes as near-white cards on a
   light neutral grey panel. The panel takes --neutral, which is --l1 with
   its green taken out; the cards are white with their own edge and real
   space between them. The client's green carries the icons and the role
   names; nothing else takes colour. Every pair below was measured against
   the ground it actually sits on, grey or white, and the figures are in the
   comments beside each rule.
   =========================================================================== */

.enquiry .form-head .d { color: var(--ink); }
.enquiry .form-head { margin-bottom: clamp(1rem, 2vw, 1.4rem); }

/* the cards: one column, two across from 560px, the row of five from 980px.
   Each card is its own white tile with a gap between it and the next, and
   its own edge: the edge is painted over the white, and at .6 of the ink it
   measures 3.4:1 against the grey panel and 4.6:1 against the white (3:1 is
   the floor for a boundary). */
.enquiry .roles {
  display: grid; gap: clamp(.7rem, 1.4vw, .9rem);
  background: none; border: 0; border-radius: 0; overflow: visible;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .enquiry .roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .enquiry .roles { grid-template-columns: repeat(5, 1fr); } }

.enquiry .role { display: block; }
.enquiry .role .box {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .5rem; height: 100%;
  padding: clamp(1.4rem, 2.6vw, 2rem) .9rem clamp(1.2rem, 2.2vw, 1.6rem);
  background: #fff; color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 2px 8px -2px rgba(8, 48, 31, .18);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
/* the icon is the one thing that grew: 40px to 56px, the stroke scaling with
   it. The title and its sub-line are at the sizes they were. The title is
   mid green rather than brand green for the reason the eyebrow's rule gives:
   brand green on white is 4.35:1, under the 4.5:1 that 18px bold needs; mid
   green is 6.3:1. The icon is a shape, not text, and keeps the brand green
   at 4.35:1 against 3:1. */
.enquiry .role .ico { width: 56px; height: 56px; margin-bottom: .3rem; color: var(--kevin); transition: color .15s ease; }
.enquiry .role .t {
  font-weight: 300; font-size: 1.25rem; letter-spacing: -.012em; color: var(--kevin-mid);   /* light, so 20px: the floor for the weight */
  transition: color .15s ease;
}
.enquiry .role .s {
  font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); max-width: 18ch;   /* 6.4:1 on the white */
}
/* the tick sits in the corner rather than in the flow, so choosing a card
   does not make the whole row taller. It arrives on the fill's own 150ms,
   clear and a touch small, rather than switching on. */
.enquiry .role .tick {
  display: block; position: absolute; top: .7rem; right: .7rem;
  width: 18px; height: 18px; color: #fff; opacity: 0; transform: scale(.9);
  transition: opacity .15s ease, transform .15s ease;
}

.enquiry .role:hover .box,
.enquiry .role input:focus-visible + .box { background: var(--l0); border-color: var(--kevin-mid); }
.enquiry .role input:focus-visible + .box { outline: 3px solid var(--kevin-mid); outline-offset: -3px; }
/* chosen and focused: the inset mid-green ring would vanish into the
   mid-green fill, so the ring goes outside the card in the ink instead */
.enquiry .role input:checked:focus-visible + .box { outline: 3px solid var(--charcoal); outline-offset: 3px; }

/* the chosen one fills mid green, the token kept for carrying white at AA:
   the title 6.3:1, the sub-line at .85 white 5.0:1 */
.enquiry .role input:checked + .box { background: var(--kevin-mid); border-color: var(--kevin-mid); color: #fff; }
.enquiry .role input:checked + .box .ico,
.enquiry .role input:checked + .box .t { color: #fff; }
.enquiry .role input:checked + .box .s { color: rgba(255,255,255,.85); }
.enquiry .role input:checked + .box .tick { opacity: 1; transform: none; }

.enquiry .role .box:active { background: var(--l1); }

/* a phone: the icon beside the words, so the five stay within a screen or
   so rather than each taking a card's height on its own */
@media (max-width: 559px) {
  .enquiry .role .box {
    display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0;
    align-items: center; justify-items: start; text-align: left;
    padding: .9rem 2.6rem .9rem 1rem;
  }
  .enquiry .role .ico { grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; }
  .enquiry .role .t { grid-column: 2; }
  .enquiry .role .s { grid-column: 2; margin-top: .3rem; }
  .enquiry .role .tick { top: 50%; right: .9rem; margin-top: -9px; }
}

/* Steps two and three sit on the grey panel, and so does everything the
   panel's rules above painted pale for a green ground: the field rules, the
   focus colour, the hint, the errors, the step dividers, the indicator, the
   buttons and the confirmation. Each is put back to the ink and the greens
   the rest of the site uses. Figures are against the grey, --neutral:
   ink 12.8:1, ink-soft 4.7:1, mid green 4.5:1, brand green 3.2:1, the .55 ink
   rule 3.6:1. The .4 rule the earlier sheet used measured 2.4:1 here, under
   the 3:1 a field's only edge needs. */
.enquiry .step label, .enquiry .step .lbl { color: var(--ink); }
.enquiry .step input, .enquiry .step textarea { color: var(--ink); }
.enquiry .sheet { color-scheme: light; }
.enquiry .field input, .enquiry .field textarea { border-bottom-color: rgba(22, 25, 27, .55); }
.enquiry .field input::placeholder { color: var(--ink-soft); opacity: 1; }
.enquiry .field input:focus, .enquiry .field textarea:focus {
  border-bottom-color: var(--kevin-mid); box-shadow: 0 2px 0 0 var(--kevin-mid);
}
.enquiry .field:focus-within label { color: var(--kevin-mid); }
.enquiry .field input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 1000px var(--neutral); -webkit-text-fill-color: var(--ink);
}
.enquiry .field input:-webkit-autofill:focus { -webkit-box-shadow: inset 0 0 0 1000px var(--neutral), 0 2px 0 0 var(--kevin-mid); }
.enquiry .field [aria-invalid="true"] { border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
/* the attachments, on the same grey: the group's name, the three choosers and
   Add another, each put back to the ink and the greens. The chooser's own
   button inverts to charcoal on hover, as the solid button on this panel does,
   rather than to the pale it takes on a green ground. */
.enquiry .files .files-lbl { color: var(--ink); }
.enquiry .files:focus-within .files-lbl { color: var(--kevin-mid); }
.enquiry .files input[type="file"] { color: var(--ink-soft); border-bottom-color: rgba(22, 25, 27, .55); }
.enquiry .files input[type="file"]:focus {
  border-bottom-color: var(--kevin-mid); box-shadow: 0 2px 0 0 var(--kevin-mid);
}
.enquiry .files input[type="file"][aria-invalid="true"] {
  border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink);
}
.enquiry .files input[type="file"]::file-selector-button {
  color: var(--ink); border-color: rgba(22, 25, 27, .55);
}
.enquiry .file-add { color: var(--ink); }
.enquiry .file-ico { border-color: rgba(22, 25, 27, .55); }
.enquiry .file-clear { color: var(--ink-soft); }
@media (hover: hover) {
  .enquiry .files input[type="file"]:hover::file-selector-button {
    background: var(--charcoal); color: var(--pale); border-color: var(--charcoal);
  }
  .enquiry .file-add:hover { color: var(--kevin-mid); }
  .enquiry .file-add:hover .file-ico { border-color: var(--kevin-mid); }
  .enquiry .file-clear:hover { background: var(--charcoal); color: var(--pale); }
}
.enquiry .file-add:focus-visible, .enquiry .file-clear:focus-visible { outline-color: var(--kevin-mid); }
.enquiry .hint { color: var(--ink-soft); }
.enquiry .err { color: var(--ink); }
.enquiry .err::before { background: var(--kevin-mid); color: #fff; }   /* 6.3:1 */
.enquiry .step + .step { border-top-color: rgba(22, 25, 27, .55); }
/* the indicator: ink on the grey, the current step filled charcoal, a done
   step filled brand green under a white tick (3.2:1 on the grey, the tick
   4.4:1 on the green; both are shapes, so 3:1 is the floor). The bright
   green the dark panel used measured 2.1:1 here. */
.stepper li::after { background: rgba(22, 25, 27, .25); }
.stepper li.done::after { background: var(--kevin); }
.stepper .dot { border-color: rgba(22, 25, 27, .55); color: var(--ink-soft); }
.stepper li[aria-current="step"] .dot { background: var(--charcoal); border-color: var(--charcoal); color: var(--pale); }
.stepper li.done .dot { background: var(--kevin); border-color: var(--kevin); color: #fff; }
/* the buttons: the site's own charcoal pill (pale on it 12.8:1), and the
   dark ghost beside it (ink 12.8:1, its .55 border 3.6:1 on the grey) */
.enquiry .btn:not(.ghost) { background: var(--charcoal); color: var(--pale); }
.enquiry .btn.ghost { color: var(--ink); border-color: rgba(22, 25, 27, .55); }
@media (hover: hover) { .enquiry .btn.ghost:hover { border-color: var(--kevin-mid); color: var(--kevin-deep); } }
.enquiry .sent { border-top-color: var(--kevin); }
.enquiry .sent svg { color: var(--kevin); }
.enquiry .sent .d { color: var(--ink); }

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

/* --- the client's board teal (13 Sep) ------------------------------------
   Sampled off the client's brand board: the ground runs from #1F5A58 at the
   top to a lighter teal lower down. The enquiry panel takes the darker end;
   the footer takes the board's own run, top to bottom. On both, only white
   and the pale carry text: the bright green measures 2.6:1 here, so it is
   not used for anything that has to be read or seen as an edge. */
:root { --board-deep: #1F5A58; --board-mid: #39746E; }

/* the enquiry panel: white 7.9:1, pale 7.0:1, pale-soft 5.4:1 */
.enquiry .sheet { color-scheme: dark; }
.enquiry .sheet .steps, .enquiry .sheet .sent { background: var(--board-deep); color: var(--pale); }
.enquiry .sheet .d, .enquiry .sent .d { color: #fff; }
.enquiry .step label, .enquiry .step .lbl { color: var(--pale); }
.enquiry .step input, .enquiry .step textarea { color: #fff; }
.enquiry .field input, .enquiry .field textarea { border-bottom-color: rgba(238, 242, 234, .6); }
.enquiry .field input::placeholder, .enquiry .field textarea::placeholder { color: var(--pale-soft); opacity: 1; }
.enquiry .field input:focus, .enquiry .field textarea:focus {
  border-bottom-color: #fff; box-shadow: 0 2px 0 0 #fff;
}
.enquiry .field:focus-within label { color: #fff; }
.enquiry .field input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 1000px var(--board-deep); -webkit-text-fill-color: #fff;
}
.enquiry .field input:-webkit-autofill:focus { -webkit-box-shadow: inset 0 0 0 1000px var(--board-deep), 0 2px 0 0 #fff; }
.enquiry .field [aria-invalid="true"] { border-bottom-color: #fff; box-shadow: 0 1px 0 0 #fff; }
/* The attachments, on the board teal, taking the same treatment as the fields
   above them. The panel has been three grounds now (green, then the light
   grey, then this teal) and each has its own block; a new control has to be
   in all three or it is left painted for whichever ground it was written
   against. These were ink on the grey and unreadable here: the group's name
   measured 1.1:1 on the teal. Pale 7.0:1, pale-soft 5.4:1, white 7.9:1. */
.enquiry .files .files-lbl { color: var(--pale); }
.enquiry .files:focus-within .files-lbl { color: #fff; }
.enquiry .files input[type="file"] { color: var(--pale-soft); border-bottom-color: rgba(238, 242, 234, .6); }
.enquiry .files input[type="file"]:focus { border-bottom-color: #fff; box-shadow: 0 2px 0 0 #fff; }
.enquiry .files input[type="file"][aria-invalid="true"] { border-bottom-color: #fff; box-shadow: 0 1px 0 0 #fff; }
.enquiry .files input[type="file"]::file-selector-button {
  color: var(--pale); border-color: rgba(238, 242, 234, .7);
}
.enquiry .file-add { color: var(--pale); }
.enquiry .file-ico { border-color: rgba(238, 242, 234, .7); }
.enquiry .file-clear { color: var(--pale-soft); }
@media (hover: hover) {
  .enquiry .files input[type="file"]:hover::file-selector-button {
    background: var(--pale); color: var(--board-deep); border-color: var(--pale);
  }
  .enquiry .file-add:hover { color: #fff; }
  .enquiry .file-add:hover .file-ico { border-color: #fff; }
  .enquiry .file-clear:hover { background: var(--pale); color: var(--board-deep); }
}
.enquiry .file-add:focus-visible, .enquiry .file-clear:focus-visible { outline-color: var(--pale); }
.enquiry .hint { color: var(--pale-soft); }
.enquiry .err { color: #fff; }
.enquiry .err::before { background: var(--pale); color: var(--charcoal); }
.enquiry .step + .step { border-top-color: rgba(238, 242, 234, .45); }
.enquiry .privacy-link { color: var(--pale); text-decoration-color: var(--pale); }
.stepper li::after { background: rgba(238, 242, 234, .35); }
.stepper li.done::after { background: var(--pale); }
.stepper .dot { border-color: rgba(238, 242, 234, .6); color: var(--pale); }
.stepper li[aria-current="step"] .dot { background: var(--pale); border-color: var(--pale); color: var(--charcoal); }
.stepper li.done .dot { background: #fff; border-color: #fff; color: var(--board-deep); }
.enquiry .btn:not(.ghost) { background: var(--pale); color: var(--charcoal); }
@media (hover: hover) { .enquiry .btn:not(.ghost):hover { background: #fff; color: var(--charcoal); } }
.enquiry .btn.ghost { color: var(--pale); border-color: rgba(238, 242, 234, .7); }
@media (hover: hover) { .enquiry .btn.ghost:hover { border-color: #fff; color: #fff; } }
.enquiry .sent { border-top-color: var(--pale); }
.enquiry .sent svg { color: var(--pale); }
/* the chosen card sits on the teal now, so its ring goes white to hold an edge */
.enquiry .role input:checked + .box { box-shadow: 0 0 0 2px #fff; }
.enquiry .role input:checked:focus-visible + .box { outline-color: #fff; }

/* the footer: the board's run, dark at the top to its mid teal at the foot.
   White 5.4:1 and the pale 4.8:1 at the lightest point; the pale-soft and the
   bright green would fall under 4.5:1 there, so both step up to the pale. */
footer { background: linear-gradient(180deg, var(--board-deep) 0%, var(--board-mid) 100%); }
footer .foot-strap, footer .foot-contact p, footer .foot-contact dt { color: var(--pale); }
footer .foot-h { color: #fff; }
footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .22em; }
footer .foot-contact a { text-decoration-color: var(--pale); }
footer .newsletter form:focus-within label { color: #fff; }
footer .newsletter input[type="email"] { border-bottom-color: rgba(238, 242, 234, .6); }
footer .newsletter input[type="email"]:focus { border-bottom-color: #fff; box-shadow: 0 2px 0 0 #fff; }
footer .newsletter input:-webkit-autofill { -webkit-box-shadow: inset 0 0 0 1000px var(--board-deep); }
footer .newsletter input:-webkit-autofill:focus { -webkit-box-shadow: inset 0 0 0 1000px var(--board-deep), 0 2px 0 0 #fff; }
@media (hover: hover) { footer .newsletter .btn:hover { background: #fff; color: var(--charcoal); } }
footer .newsletter .subscribed svg { color: #fff; }
footer .foot-base { border-top-color: rgba(238, 242, 234, .3); color: var(--pale); }   /* the legal row sits at the lightest point: pale 4.8:1 */
footer .foot-social a { border-color: rgba(238, 242, 234, .6); }
footer .foot-social a:hover { color: #fff; border-color: #fff; text-decoration: none; }
footer .motion-toggle { border-color: rgba(238, 242, 234, .6); }
@media (hover: hover) { footer .motion-toggle:hover { border-color: #fff; color: #fff; } }

/* the enquiry section's own ground takes the footer's teal run as well. The
   panel is the darker end of the same colour, so it keeps a pale hairline to
   hold its edge where the run is still at its darkest behind it. */
.enquiry { background: linear-gradient(180deg, var(--board-deep) 0%, var(--board-mid) 100%); color: var(--pale); }
.enquiry .sheet .steps, .enquiry .sheet .sent {
  box-shadow: inset 0 0 0 1px rgba(238, 242, 234, .22), 0 24px 60px -30px rgba(0, 0, 0, .45);
}

/* the projects hero takes the footer's teal run (13 Sep). The figures panel
   keeps the run's dark end so it still reads as a separate plate stepped over
   the foot of the photograph; its labels step up to the pale (the .66 white
   was 4.4:1 on that ground). The line is set a size down: at 9rem it read as
   shouting rather than as a title. */
.phero { background: linear-gradient(180deg, var(--board-deep) 0%, var(--board-mid) 100%); }
.phero-art::after {
  background:
    linear-gradient(to right, rgba(31,90,88,.70), rgba(31,90,88,.30) 30%, rgba(31,90,88,.30)),
    rgba(31,90,88,.08);
}
.phero-stats { background: var(--board-deep); }
.phero-stats span { color: var(--pale); border-bottom-color: rgba(238, 242, 234, .3); }
.phero .d { font-size: clamp(2.1rem, 5.6vw, 6.4rem); }
.phero .hl { color: #5FDBA0; }   /* the mint lifted a step so it holds 3:1 as large text across the teal run */
