/* ============================================================
   HAMILTON MARINO — SITE STYLESHEET
   Design system: light dominant (Clarity), dark sections for
   contrast at stats / enquiry / footer. Orange as gold leaf.
   ============================================================ */

:root{
  /* Palette — /brand/colour-palette.md */
  --forge:#0F0F0F;
  --gunmetal:#2E2E30;
  --orange:#E8600A;
  --concrete:#B5B0A9;
  /* secondary text on the light grounds: Concrete reads at under 2:1 on
     Clarity, so text that has to be read takes this deeper warm grey
     (4.9:1 on Clarity, 5.4:1 on white); Concrete stays for rules,
     marks, and text on dark grounds */
  --stone:#6E6963;
  --clarity:#F4F2EF;
  --white:#FFFFFF;

  /* Type */
  --display:'Archivo','Montserrat',system-ui,sans-serif;
  --body:'Montserrat',system-ui,-apple-system,sans-serif;

  /* Rhythm */
  /* One section interval for the whole site — the brief's 160px at 1440,
     scaling down with the page to 96px — so the spacing reads as a rhythm,
     not as each section's own setting. Phones step lower below. */
  --pad:clamp(96px,11.2vw,160px);
  /* one gap between a section's heading and its content */
  --head-gap:clamp(52px,5.6vw,80px);
  --gutter:clamp(24px,5vw,80px);
  --maxw:1440px;

  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}

/* the canvas behind the page is Forge, so the trackpad's bounce past the
   footer (or above the dark header) shows dark rather than a light band;
   body keeps Clarity for the page itself */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--forge)}

body{
  margin:0;
  background:var(--clarity);
  color:var(--forge);
  font-family:var(--body);
  font-size:14px;
  font-weight:400;
  line-height:1.85;
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

::selection{background:var(--orange);color:var(--white)}

/* ---------- shared primitives ---------- */

.wrap{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding-left:var(--gutter);
  padding-right:var(--gutter);
}

section{padding-top:var(--pad);padding-bottom:var(--pad)}

/* visually hidden, still read aloud */
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Section label: 20px orange rule + 9px / 0.22em orange caps */
.label{
  display:flex;
  align-items:center;
  gap:14px;
  font-family:var(--body);
  font-size:9px;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--orange);
  margin:0 0 28px;
}
.label::before{
  content:"";
  width:20px;
  height:1px;
  background:var(--orange);
  flex:none;
}

/* Headings — uppercase, light, wide tracked */
h1,h2,h3{
  font-family:var(--display);
  font-weight:200;
  text-transform:uppercase;
  margin:0;
}
/* Headings take the extended width of the brand's hero face, GT America
   Extended (lookbook p15), via Archivo's width axis — its width, not its
   letterforms, is what echoes the wordmark. 300 rather than 200: extended
   at 200 goes spindly; 300 holds the lookbook's presence and stays inside
   the brand's Light range. h3 and the other small display uses — card and
   slice names, stat figures — keep the normal width. */
h1,h2{
  font-stretch:125%;
  font-weight:300;
}

h2{
  font-size:clamp(18px,2.3vw,28px);
  letter-spacing:.06em;
  line-height:1.3;
}

.lede{
  max-width:52ch;
  color:var(--stone);
  font-size:14px;
  line-height:1.85;
  margin:22px 0 0;
}

/* Outlined buttons — never solid fill. Invert on hover. */
.btn{
  display:inline-block;
  padding:17px 38px;
  border:1px solid var(--orange);
  color:var(--orange);
  background:transparent;
  font-family:var(--body);
  font-size:10px;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  line-height:1;
  cursor:pointer;
  transition:background .45s var(--ease),color .45s var(--ease),border-color .45s var(--ease);
}
.btn:hover,.btn:focus-visible{background:var(--orange);color:var(--white)}

.btn--light{border-color:rgba(255,255,255,.3);color:var(--white)}
.btn--light:hover,.btn--light:focus-visible{background:var(--orange);border-color:var(--orange);color:var(--white)}

/* Text link with arrow */
.arrow{
  display:inline-flex;
  align-items:center;
  gap:11px;
  font-size:10px;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--orange);
  padding-bottom:5px;
  border-bottom:1px solid transparent;
  transition:border-color .4s var(--ease),gap .4s var(--ease);
}
.arrow:hover{border-bottom-color:var(--orange);gap:18px}

:focus-visible{outline:2px solid var(--orange);outline-offset:4px}

/* ============================================================
   NAVIGATION — wordmark centred, the menu as a hairline bar below it,
   frosted on scroll
   ============================================================ */

/* Every tap on a link or a control acts at once: iOS otherwise holds a tap
   back while it waits to see if it is the first of a double-tap to zoom,
   and two quick taps (open the menu, close it) can be taken as a zoom and
   lost. Pinch zoom is unaffected. */
a,button,label,summary,[role="button"]{touch-action:manipulation}

.nav{
  --navline:rgba(181,176,169,.55);
  position:fixed;
  inset:0 0 auto 0;
  z-index:100;
  /* Line the header up with .wrap at every width, not just below --maxw:
     the content edge is the gutter, or the gutter plus half of whatever the
     viewport has beyond --maxw. For a fixed element 100% is the viewport
     without its scrollbar, which is the same width .wrap centres in. */
  padding:0 max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}

/* ---- tier one: the wordmark, on the centre line ---- */
.nav__top{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:22px 0 16px;
  transition:padding .5s var(--ease);
}
.nav.is-stuck .nav__top{padding:12px 0 9px}

.nav__logo{display:block;flex:none;min-width:0}
.nav__wm{height:16px;width:auto;display:block;transition:height .5s var(--ease)}
.nav.is-stuck .nav__wm{height:13px}
.nav__device{display:none}
.nav__device .dv--k{fill:#2e2e30;transition:fill .5s var(--ease)}
.nav__device .dv--o{fill:#f26322}
/* The wordmark ships pre-coloured, one file per ground, and the nav holds
   both and shows whichever suits what is behind it — document selectors
   cannot recolour the inside of a <use>, so the two cross-fade rather than
   restyle. The light one hides itself with a display="none" presentation
   attribute as well as its opacity here: presentation attributes lose to
   any stylesheet, so the fade below still works, but a stylesheet that
   fails to load leaves the dark wordmark showing instead of stacking white
   on top of it. */
.nav__logo use{transition:opacity .5s var(--ease)}
.nav__logo .wm--light{display:inline;opacity:0}

/* ---- tier two: the menu, as a drawn bar ----
   Four equal cells in a hairline box, set across the full width of the
   grid. The bar's bottom edge is the header's bottom edge, so when it
   frosts the hairline is the line it ends on.

   The bar is glass: a faint tint and a backdrop blur, so whatever sits
   behind it — the hero's glow, a lead image — refracts through rather than
   being covered. Once the whole header frosts on scroll the bar hands the
   job to it, because a backdrop-filter nested inside another one only ever
   sees its parent's own background, never the page. */
.nav__links{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  list-style:none;
  margin:0;
  padding:0;
  border:1px solid var(--navline);
  background:rgba(244,242,239,.34);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  backdrop-filter:blur(14px) saturate(160%);
  transition:border-color .5s var(--ease),background .5s var(--ease);
}
.nav.is-stuck .nav__links{
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.nav__links li + li{border-left:1px solid var(--navline);transition:border-color .5s var(--ease)}
.nav__links a{
  position:relative;
  display:block;
  padding:13px 12px;
  line-height:1;
  text-align:center;
  font-size:10px;
  font-weight:500;
  letter-spacing:.32em;
  /* tracking adds space after the last letter too, which pushes centred
     text half a letter-space left; indenting by the same amount re-centres */
  text-indent:.32em;
  text-transform:uppercase;
  /* gunmetal, not concrete: in a hairline box, concrete read as a
     disabled button. Hover and the current page go to forge, and the
     orange rule along the cell's edge carries the state. */
  color:var(--gunmetal);
  transition:color .4s var(--ease),padding .5s var(--ease);
}
.nav.is-stuck .nav__links a{padding:10px 12px}
/* the orange rule draws in along the cell's bottom edge, over the hairline */
.nav__links a::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:1px;
  background:var(--orange);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .45s var(--ease);
}
.nav__links a:hover{color:var(--forge)}
.nav__links a:hover::after{transform:scaleX(1)}

.nav__toggle{display:none}
.nav__sheet{display:contents}
.nav__label,.nav__more,.nav__foot,.nav__n,.nav__ar{display:none}

/* ---- condensing on scroll (desktop) ----
   The header keeps its open layout and condenses by transform alone: the
   wordmark scales down and rises, the bar slides up, its hairlines close in
   and the frosting behind it folds up to meet it. Animating the padding
   and height did the same thing through layout, which set the wordmark and
   the menu on part-pixels every frame and read as a shimmer; transforms
   move them as whole pieces. The distances are the old condensed sizes:
   the top tier's padding 22/16 to 12/9 and the wordmark's box 16 to 13px
   tall (the bar rises 20px, the wordmark's centre 11.5px), and the cells'
   padding 13 to 10 (the bar's foot rises a further 6px, its labels 3px).
   The wordmark's box is 300px wide, which bounds it when open (14.74px
   tall) and its height bounds it condensed (264.9px wide), so it scales by
   264.9/300 rather than 13/16. Everything runs
   on one duration and curve, and each state's colouring cross-fades.

   The header is 92px tall throughout, so it lets clicks through and only
   the wordmark and the bar take them. */
@media (min-width:861px){
  .nav{--t:.5s var(--ease);pointer-events:none}
  .nav__logo,.nav__links{pointer-events:auto}

  /* the frosting: its own layer, its foot rising with the bar's. It is the
     one part that moves by its edge rather than a transform, because a
     blur slid up past the top of the window samples differently from one
     that stops at it; its edge carries no type, so nothing shimmers */
  .nav::before{
    content:"";
    position:absolute;inset:0;
    z-index:-1;
    background:rgba(244,242,239,.78);
    -webkit-backdrop-filter:blur(20px) saturate(140%);
    backdrop-filter:blur(20px) saturate(140%);
    opacity:0;
    transition:opacity var(--t),bottom var(--t);
  }
  .nav.is-stuck::before{opacity:1;bottom:26px}

  .nav.is-stuck .nav__top{padding:22px 0 16px}
  .nav__wm{transition:translate var(--t),scale var(--t)}
  .nav.is-stuck .nav__wm{height:16px;translate:0 -11.5px;scale:.8831}

  /* The bar rides up on its wrapper, so the list stays out of a stacking
     context of its own and its glass sits beneath its top border, as a
     background would. That border stays; the glass, sides, cell dividers
     and foot are drawn separately so they can close in: the glass fades as
     the frosting arrives (a blur nested in another only sees its parent,
     so the two hand over rather than stack), the uprights shorten and the
     foot rises. */
  .nav__bar{translate:0 0;transition:translate var(--t)}
  .nav.is-stuck .nav__bar{translate:0 -20px}
  .nav__links{
    position:relative;
    border-color:var(--navline) transparent transparent;
    background:none;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    transition:border-color var(--t);
  }
  .nav__links::before{
    content:"";
    position:absolute;inset:-1px;
    z-index:-1;
    background:rgba(244,242,239,.34);
    -webkit-backdrop-filter:blur(14px) saturate(160%);
    backdrop-filter:blur(14px) saturate(160%);
    transform-origin:top;
    transition:opacity var(--t),background-color var(--t),scale var(--t);
  }
  .nav.is-stuck .nav__links::before{opacity:0;scale:1 calc(32 / 38)}
  .nav__links::after{
    content:"";
    position:absolute;left:-1px;right:-1px;bottom:-1px;
    z-index:-1;
    height:1px;
    background:var(--navline);
    transition:background-color var(--t),translate var(--t);
  }
  .nav.is-stuck .nav__links::after{translate:0 -6px}
  .nav__links li{position:relative}
  .nav__links li + li{border-left-color:transparent}
  .nav__links li::before,
  .nav__links li:last-child::after{
    content:"";
    position:absolute;top:0;
    width:1px;height:100%;
    background:var(--navline);
    transform-origin:top;
    transition:background-color var(--t),scale var(--t);
  }
  .nav__links li::before{left:-1px}
  .nav__links li:last-child::after{right:-1px}
  .nav.is-stuck .nav__links li::before,
  .nav.is-stuck .nav__links li:last-child::after{scale:1 calc(30 / 36)}
  .nav__links a{transition:color var(--t),translate var(--t)}
  .nav.is-stuck .nav__links a{padding:13px 12px;translate:0 -3px}
  .nav__links a::after{transition:transform .45s var(--ease),translate var(--t)}
  .nav.is-stuck .nav__links a::after{translate:0 -3px}
}

/* ============================================================
   HERO — atmospheric dark gradient, orange bleeding into Forge Black.
   The same treatment as the enquiry section, so the page opens and closes
   on the one gradient
   ============================================================ */

.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:center;
  padding-top:180px;
  padding-bottom:120px;
  overflow:hidden;
  background:var(--forge);
}

/* Warm atmospheric wash — the enquiry section's orange-into-Forge glow, at
   its strengths. The main orb sits behind the glass device, right of the
   headline, so the type stays on the dark; a smaller one keeps the top-right
   warm for the menu bar's glass, and the bottom-left warms behind the type. A gunmetal lift top-left keeps
   that corner from going flat black. Heavy blur. Pure CSS. */
.hero__glow{
  position:absolute;
  inset:-15%;
  pointer-events:none;
  filter:blur(80px);
  background:
    radial-gradient(32% 40% at 67% 53%, rgba(232,96,10,.32) 0%, rgba(232,96,10,0) 68%),
    radial-gradient(28% 32% at 90% 10%, rgba(232,96,10,.30) 0%, rgba(232,96,10,0) 70%),
    radial-gradient(40% 44% at 8% 72%, rgba(232,96,10,.20) 0%, rgba(232,96,10,0) 70%),
    radial-gradient(56% 50% at 52% 6%, rgba(232,96,10,.12) 0%, rgba(232,96,10,0) 72%),
    radial-gradient(50% 46% at 22% 8%, rgba(46,46,48,.85) 0%, rgba(46,46,48,0) 72%);
  /* The stats section below is Forge too, so the glow fades out before the
     hero's edge instead of being clipped by it — otherwise the overflow cuts
     a hard horizontal line through the orange where the two meet. The fade
     finishes well clear of the edge, not on it: a gradient that stops dead
     at a boundary reads as a crease, particularly on near-black, which bands.
     The glow box runs -15% to 115% of the hero, so 82% of it is about 92% of
     the hero, leaving the last stretch flat Forge, identical to the stats. */
  -webkit-mask-image:linear-gradient(to bottom,#000 46%,transparent 82%);
  mask-image:linear-gradient(to bottom,#000 46%,transparent 82%);
}

/* ---- the device, set into the hero as glass ----
   A pane cut to the hm device, lit from one direction. The body is frosted
   with saturation and brightness lifted a little behind it, so the glow
   passing through the letterforms reads slightly warmer than the glow
   around them; its tint brightens toward the key light, up and to the
   right. The edges are not an outline: each catches that light in
   proportion to how squarely it faces it — computed from the geometry in
   tools/build.py — so the tops carry a highlight, the right-hand slopes a
   faint one, and the edges facing away carry nothing.

   The composition is centred on the axis the wordmark and the menu bar's
   middle divider already share. The statement sits on that axis — one
   line, eyebrow, intro and button beneath it — and the device stands
   behind it, centred on the same axis and on the text block, large and
   quiet. Text and mark no longer sit side by side, so they cannot clash,
   and the key light from the upper right keeps the symmetry from going
   flat. */
.hero__grid{
  position:relative;
  display:flex;
  justify-content:center;
}
.hero__text{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
/* behind the statement: z-index -1 inside the wrap's stacking context puts
   it under the type and over the glow it refracts */
.hero__device{
  position:absolute;
  inset:0;
  z-index:-1;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  /* set by site.js so the m's top halves the eyebrow-to-statement gap */
  transform:translateY(var(--m-shift,0px));
}
.hero__device-body{
  /* A clean falloff toward the foot: whole through the top third, then
     easing out to nothing at the base. Eased stops rather than a straight
     ramp, which reads as a visible band where it starts. Applied to the
     glass and the edges separately, not to this box: a mask here would make
     it the glass's backdrop root and cut it off from the glow it refracts. */
  --device-fade:linear-gradient(to bottom,
    #000 0%, #000 34%,
    rgba(0,0,0,.82) 48%, rgba(0,0,0,.56) 62%,
    rgba(0,0,0,.3) 76%, rgba(0,0,0,.11) 89%,
    transparent 100%);
  position:relative;
  width:min(78%,980px);
  aspect-ratio:740.14 / 375.28;
}
.hero__device-glass{
  position:absolute;
  inset:0;
  /* the device's shape, intersected with the falloff */
  -webkit-mask:url("hm-device.svg") no-repeat center / 100% 100%, var(--device-fade);
  -webkit-mask-composite:source-in;
  mask:url("hm-device.svg") no-repeat center / 100% 100%, var(--device-fade);
  mask-composite:intersect;
  /* brightest on the side facing the key light, gone by the far side —
     215deg runs from the upper right, 55deg above horizontal */
  background:linear-gradient(215deg,
    rgba(255,255,255,.06) 0%,
    rgba(255,255,255,0) 58%);
  -webkit-backdrop-filter:blur(22px) saturate(150%) brightness(1.14);
  backdrop-filter:blur(22px) saturate(150%) brightness(1.14);
}
.hero__device-edge{
  position:absolute;
  inset:0;
  -webkit-mask:var(--device-fade);
  mask:var(--device-fade);
  width:100%;
  height:100%;
  overflow:visible;
}
/* warm white: the light it is catching has come through the orange */
.hero__device-edge line{
  stroke:#ffeadb;
  stroke-width:1;
  stroke-linecap:square;
  vector-effect:non-scaling-stroke;
}

/* Corner accent lines — orange at 35%, from the lookbook cover system */
.hero__rule{position:absolute;background:var(--orange);opacity:.35;pointer-events:none}
.hero__rule--tl{top:140px;left:var(--gutter);width:64px;height:1px}
.hero__rule--br{bottom:90px;right:var(--gutter);width:1px;height:78px}

.hero .wrap{position:relative;z-index:2}

.hero__eyebrow{
  font-size:9px;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--orange);
  margin:0 0 30px;
  display:flex;
  align-items:center;
  gap:14px;
}
.hero__eyebrow::before,
.hero__eyebrow::after{content:"";width:20px;height:1px;background:var(--orange)}

/* The statement, intro and button drop as one so the cap line clears the
   top of the device's m by about a cap height's gap, while the eyebrow
   holds its place above. Offset rather than margin, so the block the
   device is centred on, and the device with it, do not move. */
.hero__text > :not(.hero__eyebrow){
  position:relative;
  top:clamp(20px,3.25vw,37px);
}

.hero h1{
  /* one deliberate line: at 4vw the line runs to about 60% of the grid
     at any width — 3.3vw now the face is extended, 48px at 1440 */
  font-size:clamp(26px,3.3vw,48px);
  white-space:nowrap;
  letter-spacing:.06em;
  line-height:1.02;
  color:var(--white);
}

/* Intro and button as one row under the statement, held to its width: the
   intro set left from the statement's first letter, the button closing the
   row at its last, both on the same centre line. */
.hero__foot{
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:48px;
  margin-top:clamp(44px,4.4vw,64px);
}
.hero__sub{
  max-width:44ch;
  margin:0;
  text-align:left;
  color:rgba(255,255,255,.58);
  font-size:14px;
  line-height:1.85;
  font-weight:400;
}
.hero__cta{
  margin:0;
  flex:none;
  display:flex;
}
/* A tablet held upright: the desktop row left the statement small in a tall
   screen, with the intro and button pulled to either side under it. The
   statement takes more of the width, and the intro and button stack on its
   axis, as on a phone. */
@media (min-width:601px) and (max-width:1100px) and (orientation:portrait){
  .hero h1{font-size:4.6vw}
  .hero__foot{flex-direction:column;gap:36px}
  .hero__sub{text-align:center}
}

.hero__scroll{
  position:absolute;
  left:var(--gutter);
  bottom:52px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:9px;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(255,255,255,.4);
}
.hero__scroll span{display:block;width:44px;height:1px;background:rgba(255,255,255,.2);position:relative;overflow:hidden}
.hero__scroll span::after{
  content:"";position:absolute;inset:0;background:var(--orange);
  transform:translateX(-100%);animation:trace 3.2s var(--ease) infinite;
}
@keyframes trace{
  0%{transform:translateX(-100%)}
  55%{transform:translateX(0)}
  100%{transform:translateX(100%)}
}

/* ============================================================
   STATS — a blueprint lattice, the figures placed on it
   ============================================================ */

/* Deliberately off the section rhythm: the band is the base of the hero's
   dark field rather than a section in its own right, so it stays tight. */
.stats{
  background:var(--forge);
  padding-top:clamp(64px,7vw,100px);
  padding-bottom:clamp(64px,7vw,100px);
}

/* Lines are drawn as background layers rather than as empty cells, so only
   the five populated cells exist in the markup. --cols and --rows drive the
   grid, the line spacing and the intersection marks together, which is why a
   breakpoint only has to change those two numbers.

   One row of five, every cell filled, and the cells shallow rather than
   square — about 1.55 : 1 — so five figures take a band of the page, not a
   wall of it. */
.statgrid{
  --cols:5;
  --rows:1;
  --cell-h:clamp(140px,11.5vw,168px);
  position:relative;
  display:grid;
  grid-template-columns:repeat(var(--cols),minmax(0,1fr));
  grid-template-rows:repeat(var(--rows),var(--cell-h));
  background-image:
    linear-gradient(to right,rgba(255,255,255,.07) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(255,255,255,.07) 1px,transparent 1px);
  background-size:
    calc(100% / var(--cols)) 100%,
    100% calc(100% / var(--rows));
  /* the lines are drawn at the start of each tile, so the far edges need
     closing by hand or the lattice reads as unfinished */
  border-right:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
}
/* Intersection marks. Each tile draws a quarter dot at all four of its own
   corners; neighbouring tiles complete the circle, so every crossing gets a
   mark including the ones on the outer edge. Shifting one tiled layer
   instead would leave the far edges bare. */
.statgrid::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    radial-gradient(circle at 0 0,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
    radial-gradient(circle at 100% 0,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
    radial-gradient(circle at 0 100%,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
    radial-gradient(circle at 100% 100%,rgba(255,255,255,.34) 0 2px,transparent 2.1px);
  background-size:calc(100% / var(--cols)) calc(100% / var(--rows));
}

.statcell{
  position:relative;
  z-index:1;
  grid-column:var(--col);
  grid-row:var(--row);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px 16px 16px;
  text-align:center;
}

.statcell__tag{
  position:absolute;
  top:15px;
  left:17px;
  right:17px;
  /* on the cell's axis, over the figure it names */
  text-align:center;
  font-size:8px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  line-height:1.6;
  color:rgba(255,255,255,.38);
}

.statcell__num{
  font-family:var(--display);
  font-size:clamp(22px,2.2vw,32px);
  font-weight:200;
  letter-spacing:.04em;
  line-height:1.1;
  color:var(--orange);
}

/* ============================================================
   FEATURED PROJECTS — 3x2 grid, hover zoom
   ============================================================ */

.projects{background:var(--white)}

.section__head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:var(--head-gap);
}
.section__head .lede{margin-top:20px}
/* a heading with nothing under it (a sector with no projects yet) keeps no
   gap for content that isn't there */
.related .section__head:last-child{margin-bottom:0}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(20px,2.4vw,34px) clamp(18px,2vw,28px);
}

.card{display:block}
.card__media{
  position:relative;
  overflow:hidden;
  aspect-ratio:4/3;
  background:var(--gunmetal);
}
.card__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1);
  transition:transform 1.1s var(--ease);
}
.card:hover .card__img{transform:scale(1.06)}

.card__status{
  position:absolute;
  top:16px;left:16px;
  z-index:3;
  padding:7px 12px;
  font-size:8px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--white);
  background:rgba(15,15,15,.55);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.14);
}
.card__status--current{color:var(--orange);border-color:rgba(232,96,10,.5)}

.card__body{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:20px;
  padding:22px 2px 0;
  border-top:1px solid transparent;
  transition:border-color .5s var(--ease);
}
.card:hover .card__body{border-top-color:var(--orange)}

.card__name{
  font-family:var(--display);
  font-size:13px;
  font-weight:300;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--forge);
  line-height:1.45;
  margin:0;
  transition:color .4s var(--ease);
}
.card:hover .card__name{color:var(--orange)}

.card__sector{
  display:block;
  margin-top:9px;
  font-size:10px;
  font-weight:400;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--stone);
}
.card__value{
  flex:none;
  font-size:10px;
  font-weight:400;
  letter-spacing:.12em;
  color:var(--stone);
  white-space:nowrap;
}

.section__foot{margin-top:72px}

/* ---------- selected projects: the panel ----------
   A drawn plane, not a floating card. Square corners, a hairline edge and
   no blurred shadow; depth comes from the Clarity plane sitting on the white
   section, and the orange corner brackets are the same registration marks
   the hero and enquiry sections carry at top-left and bottom-right.

   The panel bleeds out by exactly its own padding and edge, so its contents
   stay on the page grid — the first band's left edge and View All Projects line up
   with the heading above and with every other section's left margin. The
   padding is always smaller than the page gutter, so the panel can never
   reach the viewport edge. */

.railpanel{
  --panelpad:clamp(22px,3.2vw,46px);
  --hairline:rgba(181,176,169,.6);
  position:relative;
  /* bleed by the padding and the 1px edge, or everything inside sits a pixel
     off the grid the heading is on */
  margin-left:calc(var(--panelpad) * -1 - 1px);
  margin-right:calc(var(--panelpad) * -1 - 1px);
  padding:var(--panelpad);
  background:var(--clarity);
  border:1px solid var(--hairline);
}
/* registration brackets, set just outside the plane at opposite corners —
   the top-right is left to the tabs */
.railpanel::before,
.railpanel::after{
  content:"";
  position:absolute;
  width:26px;
  height:26px;
  border:0 solid var(--orange);
  opacity:.55;
  pointer-events:none;
}
.railpanel::before{top:-10px;left:-10px;border-top-width:1px;border-left-width:1px}
.railpanel::after{bottom:-10px;right:-10px;border-bottom-width:1px;border-right-width:1px}
/* Below a wide screen the bleed would take most of the gutter and run the
   plane to within a few pixels of the screen. It sits on the grid instead,
   its contents inset by a smaller padding, and keeps a gutter of page
   either side, so the brackets still stand just outside it. */
@media (max-width:860px){
  .railpanel{
    --panelpad:18px;
    margin-left:0;
    margin-right:0;
  }
}

/* ---------- the status toggle, as a tab on the panel's edge ----------
   Hard-edged and drawn with the same hairline as the plane. Each tab
   overlaps the panel's top border by its own 1px, so the line breaks under
   the tabs and they read as part of the plane rather than sitting on it.
   Adjacent borders collapse with a -1px margin. */

.railpanel__tabs{
  position:absolute;
  right:-1px;               /* align with the outer edge of the border */
  bottom:100%;
  display:flex;
  align-items:flex-end;
}

.rtab{
  position:relative;
  margin-left:-1px;
  padding:15px 26px;
  border:1px solid var(--hairline);
  border-bottom:0;
  border-radius:0;
  background:var(--clarity);
  color:var(--stone);
  font-family:var(--body);
  font-size:10px;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  line-height:1;
  cursor:pointer;
  transition:color .4s var(--ease),background .4s var(--ease),border-color .4s var(--ease);
}
.rtab:hover{color:var(--forge)}
/* the fill is the selected state, so no underline on top of it */
.rtab[aria-selected="true"]{
  z-index:1;                /* its orange edge sits over the neighbour's hairline */
  background:var(--orange);
  border-color:var(--orange);
  color:var(--white);
}
.rtab:focus-visible{outline:1px solid var(--orange);outline-offset:3px}

/* The leading tab rises from the panel on a slant rather than a vertical:
   its left end is cut on the diagonal from the panel's top edge up to the
   tab's top, the way a folder tab leaves its sheet. Square corners still —
   the cut is a straight line, not a radius. The clip removes the tab's own
   left border, so the diagonal hairline is drawn in its place, on the cut
   (each side's half-pixel lands either side of it). The slant matches the
   tab's height, so it runs at 45 degrees. */
.rtab:first-child{
  --slant:41px;
  /* three quarters of the slant to the left, a quarter to the right: the
     label sits a little inboard of the cut, centred by eye on the solid
     part of the tab; the tab keeps its width */
  padding-left:calc(26px + var(--slant) * .75);
  padding-right:calc(26px + var(--slant) * .25);
  border-left:0;
  margin-left:0;
  clip-path:polygon(var(--slant) 0,100% 0,100% 100%,0 100%);
}
.rtab:first-child::before{
  content:"";
  position:absolute;
  left:0;
  top:-1px;                 /* from the outer edge of the top border */
  bottom:0;
  width:var(--slant);
  pointer-events:none;
  background:linear-gradient(to bottom right,
    transparent calc(50% - 1px),
    var(--hairline) calc(50% - .5px) calc(50% + .5px),
    transparent calc(50% + 1px));
}
.rtab:first-child[aria-selected="true"]::before{display:none}

/* ---------- selected projects: vertical rail ----------
   The sectors rank travels on X; this one travels on Y. Same driver:
   cursor position glides it, drag carries it, it returns to the top once
   the section is left, and the rail beside it is a read-out only.

   overflow is hidden rather than auto on purpose. The page scrolls on the
   same axis, so an auto overflow here would swallow the wheel and trap the
   visitor inside the panel. Reduced-motion and coarse pointers have no
   glide to drive it, so those get .rail--native and scroll it directly. */

.vrail__shell{
  display:grid;
  grid-template-columns:1fr auto;
  gap:clamp(20px,2.4vw,34px);
}
.vrail{
  position:relative;
  /* about three and a half bands: deliberately not a whole number, so the
     next one peeks and the panel reads as scrollable */
  height:clamp(392px,46vw,662px);
  overflow:hidden;
  scrollbar-width:none;
}
.vrail::-webkit-scrollbar{display:none}
.vrail.rail--native{overflow-y:auto;overscroll-behavior-y:contain}
.vrail.is-dragging{cursor:grabbing;scroll-snap-type:none}
.vrail.is-dragging .card{pointer-events:none}

/* ---------- the bands ----------
   A tight vertical stack of wide images, each paired with its name and
   sector in a column to the right. Exactly one band is open at a time: it
   grows and brings in a blurb and a button, the rest stay closed. Keeping
   the count at one is what holds the stack's total height constant, so the
   rail's scroll length never changes underneath the glide. */

.vpanel{
  display:grid;
  gap:4px;
  --band:clamp(148px,13.2vw,190px);        /* closed media height */
  --band-open:clamp(252px,23vw,332px);     /* and open */
}
.vpanel[hidden]{display:none}

.band{
  display:grid;
  grid-template-columns:1fr minmax(226px,.3fr);
  gap:clamp(24px,2.4vw,36px);
  align-items:stretch;      /* the text column matches the frame, so the
                               button can sit on its bottom edge */
}

.band__media{
  position:relative;
  overflow:hidden;
  height:var(--band);
  background:var(--gunmetal);
  transition:height .7s var(--ease);
}
.band.is-active .band__media{height:var(--band-open)}
.band__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transform:translate3d(var(--px,0%),var(--py,0%),0) scale(var(--ps,1));
  transition:transform 1.1s var(--ease)}
.band.is-active .band__media img{--ps:1.07}
/* Parallax: on a fine pointer the open band's image drifts against the
   cursor (site.js sets --px/--py, at most 2.2% either way). The image is
   scaled 1.07 while open, 3.5% spare each side, so its edges never show.
   The long eased transition is what makes it read as weight, not tracking. */
.band.is-active .band__media.is-tracking img{transition:transform 1.4s cubic-bezier(.16,1,.3,1)}
/* Touch has no parallax, so the images take no transform at all. A 3D
   transform makes each one its own layer, and a phone holding eighteen
   large image layers in one scrolling panel can drop some of them, leaving
   the frames empty. */
@media not all and (hover:hover) and (pointer:fine){
  .band__media img,
  .band.is-active .band__media img{transform:none;transition:none}
}

.band__text{
  /* inset from the top of the frame, mirroring the button's inset from the
     bottom, so the column sits inside the frame rather than on its edge */
  padding-top:30px;
  display:flex;
  flex-direction:column;
}

.band__name{
  font-family:var(--display);
  font-size:clamp(13px,1.1vw,16px);
  font-weight:300;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--forge);
  line-height:1.4;
  margin:0;
  transition:color .4s var(--ease);
}
.band:hover .band__name{color:var(--orange)}
.band__sector{
  display:block;
  margin-top:11px;
  font-size:10px;
  font-weight:400;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--stone);
}

/* The blurb and the button ride in behind the growing image. 0fr to 1fr
   animates to the content's own height, so nothing has to be measured. */
.band__reveal{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows .7s var(--ease),opacity .45s var(--ease);
}
.band.is-active .band__reveal{grid-template-rows:1fr;opacity:1}
.band__reveal > div{overflow:hidden}

/* address over value — the only detail the open band carries */
.band__meta{margin:24px 0 0}
.band__address{
  display:block;
  font-size:12px;
  line-height:1.75;
  letter-spacing:.04em;
  color:var(--gunmetal);
  max-width:30ch;
}
/* the firmer of the two: concrete on Clarity left the price the faintest
   thing in the block, which is backwards for the figure that matters */
.band__value{
  display:block;
  font-size:11px;
  font-weight:400;
  letter-spacing:.14em;
  color:var(--forge);
}
.band__address + .band__value{margin-top:9px}
/* outlined, like every other CTA on the site — it inverts on its own hover,
   not the band's, so sweeping the stack does not light it up */
/* Pinned to the bottom of the frame rather than flowing after the detail
   above it. The content above varies — a suburb may or may not be known, a
   name may run to two lines — so letting it flow put the button in four
   different places. margin-top:auto lands it on the same line every time. */
.band__cta{
  display:inline-block;
  margin-top:auto;          /* to the bottom of the frame... */
  margin-bottom:34px;       /* ...then back up, or it crowds the next band's
                               name, which starts only 4px below this frame */
  align-self:flex-start;
  opacity:0;
  visibility:hidden;
  /* smaller than the site's standard .btn: this one sits beside 9-12px
     detail type, not under a heading, and full size swamped it */
  padding:11px 22px;
  border:1px solid var(--orange);
  color:var(--orange);
  font-size:9px;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  line-height:1;
  transition:opacity .45s var(--ease),visibility .45s var(--ease),background .45s var(--ease),color .45s var(--ease);
}
.band.is-active .band__cta{opacity:1;visibility:visible}
.band__cta:hover{background:var(--orange);color:var(--white)}

.band .ph{transition:transform 1.1s var(--ease)}
.band.is-active .ph{transform:scale(1.04)}

/* progress rail — vertical sibling of .slider__track */
.vrail__track{position:relative;width:1px;background:rgba(181,176,169,.5)}
.vrail__bar{
  position:absolute;
  left:0;top:0;
  width:1px;
  height:0;
  background:var(--orange);
}

/* ---------- selected projects: the view switch ----------
   Two hairline squares beside the heading: the scroller (the default) or
   a grid. Quieter than the status tabs below it, which keep the fill: the
   chosen view is only drawn in ink with an orange edge. */
.viewswitch{display:flex}
/* beside the heading on a wide screen, its right edge on the panel's, as
   the status tabs below it are (the panel bleeds out by its padding) */
@media (min-width:861px){
  .projects .viewswitch{margin-right:calc(clamp(22px,3.2vw,46px) * -1 - 1px)}
}
.viewswitch__btn{
  position:relative;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  margin-left:-1px;
  padding:0;
  border:1px solid rgba(181,176,169,.6);
  border-radius:0;
  background:none;
  color:var(--stone);
  cursor:pointer;
  transition:color .4s var(--ease),border-color .4s var(--ease);
}
.viewswitch__btn:first-child{margin-left:0}
.viewswitch__btn:hover{color:var(--forge)}
.viewswitch__btn[aria-pressed="true"]{z-index:1;color:var(--forge);border-color:var(--orange)}
.viewswitch__btn:focus-visible{outline:1px solid var(--orange);outline-offset:3px}
.viewswitch svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1}
/* a fingertip's target on touch screens */
@media (pointer:coarse){.viewswitch__btn{width:44px;height:44px}}

/* Touch screens: small links take a fingertip's target without moving
   anything, an invisible margin round each (the logo, the arrow links, the
   footer's Privacy link) */
@media (pointer:coarse){
  .nav__logo,.arrow,.footcell--base a{position:relative}
  .nav__logo::after,.arrow::after,.footcell--base a::after{content:"";position:absolute;inset:-12px -8px}
}

/* ---------- selected projects: the grid ----------
   The same nine bands, laid out three across: image over name, sector and
   detail, every band showing its detail (no one band open), the whole card
   the link. The rail stops being a scroller, so the glide has nothing to
   drive, and its read-out goes. */
.projects.is-grid .vrail__shell{grid-template-columns:1fr}
.projects.is-grid .vrail__track{display:none}
.projects.is-grid .vrail{height:auto;overflow:visible}
.projects.is-grid .vpanel{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(48px,4.4vw,72px) clamp(24px,2.4vw,40px);
}
.projects.is-grid .band{grid-template-columns:1fr;gap:20px;align-content:start}
/* the frame by padding, as on phones, for Safari */
.projects.is-grid .band__media,
.projects.is-grid .band.is-active .band__media{height:0;padding-bottom:62.5%;transition:none}
.projects.is-grid .band.is-active .band__media img{--ps:1}
.projects.is-grid .band:hover .band__media img{--ps:1.05}
.projects.is-grid .band.is-active .ph{transform:none}
.projects.is-grid .band__text{padding-top:0}
.projects.is-grid .band__reveal{grid-template-rows:1fr;opacity:1;transition:none}
.projects.is-grid .band__meta{margin-top:14px}
.projects.is-grid .band__cta{display:none}
@media (max-width:1100px){
  .projects.is-grid .vpanel{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 24px}
}
/* Two to a row on a phone, each card only its picture, name and sector:
   at this size the place and status stacked a long name four lines deep
   and crowded the row, and the project page is a tap away. The status
   chip would cover most of a small frame, and the tab above says it. */
@media (max-width:560px){
  .card__status,.statcell__tag{font-size:9px}
  /* the footer's base line broke after its slash on a phone: Privacy takes
     its own line instead */
  .footcell--base .footer__sep{display:none}
  .footcell--base a{display:block;width:fit-content;margin-top:10px}
  /* the credit, likewise, on its own line: its link stays in the sentence */
  .footcell--base .footer__credit{display:block;margin-top:10px}
  .footcell--base .footer__credit a{display:inline;margin-top:0}
}
@media (max-width:560px){
  .projects.is-grid .vpanel{gap:40px 16px}
  .projects.is-grid .band{gap:14px}
  .projects.is-grid .band__reveal,
  .projects.is-grid .band__media .card__status{display:none}
  .projects.is-grid .band__name{font-size:12px;letter-spacing:.08em;line-height:1.45}
  .projects.is-grid .band__sector{margin-top:8px;font-size:9px;letter-spacing:.12em;line-height:1.5}
}

/* The switch between the two (site.js): the projects fade, the panel
   eases to its new height, and the bands rise in one after another. */
.projects .vrail{transition:opacity .22s var(--ease)}
.projects.is-fading .vrail{opacity:0}
@keyframes bandRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.projects .vpanel.is-rising .band{animation:bandRise .7s var(--ease) both;animation-delay:calc(var(--i,0) * 55ms)}

/* ============================================================
   SECTORS
   Homepage: a horizontally scrolled rank of vertical slices
   (.slider / .slice), sector name set vertically down the top
   left of each. The .tile grid below it is the SECTORS INDEX
   component — still used by that page, which extends it with
   .tile__meta / .tile__body. Do not fold the two together.
   ============================================================ */

.sectors{
  /* the section is the measure the rank is cut to: cqw below is a
     hundredth of its width, which is the page's width without the
     scrollbar — the same width .wrap centres in */
  container-type:inline-size;
  /* Clarity, between two white sections: with one interval everywhere, two
     same-coloured sections in a row run their paddings together into a
     single empty band, so the grounds alternate and every seam is a step */
  background:var(--clarity);
}

/* ---------- homepage: horizontal slice rank ---------- */

/* The rank is cut to the grid. --per slices span it exactly, so the rank
   lands on the grid's right-hand line and the next slice starts just past
   it and runs off the page. Five across on a wide screen — the same five
   columns as the stats row — and four below 1200px, where five would leave
   each slice too narrow to stand tall; four lands each one under a cell of
   the menu bar. --grid is .wrap's content width at any viewport; the left
   padding starts the rank on the grid's left line even beyond --maxw. */
.slider{
  --per:5;
  --grid:calc(min(100cqw, var(--maxw)) - 2 * var(--gutter));
  --slice:calc((var(--grid) - (var(--per) - 1) * 1px) / var(--per));   /* 1px gaps */
  display:flex;
  gap:1px;                       /* gap shows the section white as a hairline */
  overflow-x:auto;
  /* across only: a rail that could also scroll down, by however little,
     would take a vertical swipe for itself and move apart from the page */
  overflow-y:hidden;
  overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;
  scroll-padding-left:max(var(--gutter), calc((100cqw - var(--maxw)) / 2 + var(--gutter)));
  padding:0 var(--gutter) 0 max(var(--gutter), calc((100cqw - var(--maxw)) / 2 + var(--gutter)));
  scrollbar-width:none;
  -ms-overflow-style:none;
  cursor:grab;
}
@media (max-width:1200px){.slider{--per:4}}
.slider::-webkit-scrollbar{display:none}
.slider.is-dragging{cursor:grabbing;scroll-snap-type:none}
.slider.is-dragging .slice{pointer-events:none}

/* The eased hover glide writes scrollLeft each frame, so the rail must
   not also animate or snap underneath it. Touch and coarse pointers keep
   snap and native momentum — they never hover-glide. */
@media (hover:hover) and (pointer:fine){
  .slider{scroll-snap-type:none;scroll-behavior:auto}
}

.slice{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:26px;
  /* 1 : 1.905. The 451px floor holds the rank's presence where five
     slices are still narrow, from about 1200px to 1360px, letting the
     proportion run a little taller there rather than the rank run short;
     it also clears the longest name, Commercial & Health Services. */
  width:var(--slice);
  height:max(calc(var(--slice) * 1.905), 451px);
  overflow:hidden;
  background:var(--gunmetal);
  scroll-snap-align:start;
}
/* the hover state: an orange rule drawn across the slice's top edge, the
   same move the menu bar makes along its cells */
.slice::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  z-index:3;
  height:2px;
  background:var(--orange);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .45s var(--ease);
}
/* .reveal sets its own 1s transform/opacity transition further down the sheet
   and matches at equal specificity, so the hover timing is raised above it */
.slider .slice{
  transition:filter .32s var(--ease);
}
/* Scrim: a dark column down the left edge holds the vertical name off
   the photograph at its full length (long names run past half the card,
   where the diagonal wash alone is lightest), over the top-and-foot wash. */
.slice{--name-col:linear-gradient(90deg,rgba(15,15,15,.8) 0,rgba(15,15,15,.6) 60px,rgba(15,15,15,0) 136px)}
.slice::after{
  content:"";
  position:absolute;inset:0;
  z-index:1;
  background:var(--name-col),linear-gradient(200deg,rgba(15,15,15,.64) 0%,rgba(15,15,15,.16) 48%,rgba(15,15,15,.68) 100%);
  transition:background .22s var(--ease);
}
/* settle, then focus: the rest of the rank recedes and the slice under the
   cursor takes the orange rule. Nothing scales, lifts or casts a shadow —
   the rank stays a set of drawn planes on one baseline. */
/* The slices are dark on a light ground, so fading them would wash them out
   toward the white rather than push them back. They recede by dimming.
   Behind a hover query: on touch, :hover sticks after a tap and would leave
   a slice stranded mid-lift. */
@media (hover:hover) and (pointer:fine){
  .slider:hover:not(.is-gliding) .slice{
    filter:brightness(.72) saturate(.9);
  }
  .slider:hover:not(.is-gliding) .slice:hover{
    filter:none;
  }
  .slider:hover:not(.is-gliding) .slice:hover::before{transform:scaleX(1)}
  /* hold the foot of the scrim dark so the blurb stays legible on photography */
  .slider:hover:not(.is-gliding) .slice:hover::after{
    background:var(--name-col),linear-gradient(200deg,rgba(15,15,15,.58) 0%,rgba(15,15,15,.12) 42%,rgba(15,15,15,.84) 100%);
  }
  .slider:hover:not(.is-gliding) .slice:hover .slice__blurb{
    opacity:1;
    transform:none;
    transition-delay:.07s;
  }
}

/* keyboard parity */
.slider:not(.is-gliding) .slice:focus-visible .slice__blurb{
  opacity:1;
  transform:none;
}

/* keyboard parity — tabbing a slice gives the same emphasis */
.slider:not(.is-gliding) .slice:focus-visible{filter:none;outline:none}
.slider:not(.is-gliding) .slice:focus-visible::before{transform:scaleX(1)}

.slice__img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  transform:scale(1);
  transition:transform 1.1s var(--ease);
}
.slice:hover .slice__img{transform:scale(1.06)}
/* black and white at rest; the photograph comes into colour on hover,
   as the sector tiles do */
.slice__img,.slice .ph{filter:grayscale(1);transition:transform 1.1s var(--ease),filter .7s var(--ease)}
.slice:hover .slice__img,.slice:focus-visible .slice__img{filter:grayscale(0)}
/* the sector's icon, top right, opposite the name */
.slice__icon{position:absolute;top:26px;right:26px;z-index:2;width:36px;height:36px;color:var(--white)}

/* name runs top-to-bottom down the top left, orange tick above it */
.slice__name{
  position:relative;   /* keeps z-index above the scrim while in flow */
  z-index:2;
  margin:0;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  white-space:nowrap;
  font-family:var(--display);
  font-size:11px;
  font-weight:400;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--white);
  text-shadow:0 0 14px rgba(15,15,15,.55);
  transition:color .4s var(--ease);
}
.slice__name::before{
  content:"";
  display:inline-block;
  width:1px;
  height:20px;
  margin-bottom:16px;
  vertical-align:middle;
  background:var(--orange);
}
.slice:hover .slice__name{color:var(--orange)}

/* Blurb sits at the foot of the card and rides in behind the lift.
   Its left edge clears the vertical name's column: on a short card a long
   sector name runs most of the height, and a full-width blurb would collide
   with it. Offsetting the column makes that impossible at any size. */
.slice__blurb{
  position:relative;
  z-index:2;
  align-self:stretch;
  margin-top:auto;               /* foot of the card, or directly under a long name */
  padding-top:20px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:6;          /* hard stop; not reached at normal sizes */
  overflow:hidden;
  min-height:0;
  font-size:11px;
  font-weight:400;
  line-height:1.75;
  letter-spacing:.01em;
  color:rgba(255,255,255,.72);
  opacity:0;
  transform:translateY(10px);
  transition:opacity .2s var(--ease),transform .26s var(--ease);
  pointer-events:none;
}

/* progress rail — the only chrome; the cursor does the driving */
.slider__foot{margin-top:36px}
.slider__track{position:relative;height:1px;background:rgba(181,176,169,.5)}
/* a thumb: its length the share in view, sliding as the rank scrolls */
.slider__bar{
  position:absolute;left:0;top:-1px;height:3px;width:0;
  background:var(--orange);
  transition:left .12s linear,width .18s linear;
}

/* ---------- sectors index: tile grid ---------- */

.grid-sectors{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:rgba(181,176,169,.4);
  border:1px solid rgba(181,176,169,.4);
}
/* seven sectors in three columns: the two combined sectors, first and last,
   take a double-width tile so the grid closes on three full rows */
.grid-sectors > .tile:first-child,
.grid-sectors > .tile:nth-child(7):last-child{grid-column:span 2;aspect-ratio:auto}
.grid-sectors > .tile:first-child .tile__name,
.grid-sectors > .tile:nth-child(7):last-child .tile__name{max-width:none}

.tile{
  position:relative;
  display:flex;
  align-items:flex-end;
  aspect-ratio:5/4;
  overflow:hidden;
  background:var(--gunmetal);
  padding:26px;
}
.tile__img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  transform:scale(1);
  transition:transform 1.1s var(--ease);
}
.tile:hover .tile__img{transform:scale(1.06)}
/* black and white at rest; the photograph comes into colour on hover */
.tile__img,.tile .ph{filter:grayscale(1);transition:transform 1.1s var(--ease),filter .7s var(--ease)}
.tile:hover .tile__img,.tile:focus-visible .tile__img{filter:grayscale(0)}
.tile::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(15,15,15,.15) 0%,rgba(15,15,15,.72) 100%);
  transition:background .6s var(--ease);
  z-index:1;
}
.tile:hover::after{background:linear-gradient(180deg,rgba(15,15,15,.25) 0%,rgba(15,15,15,.82) 100%)}

.tile__name{
  position:relative;
  z-index:2;
  font-family:var(--display);
  font-size:12px;
  font-weight:300;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--white);
  line-height:1.5;
  margin:0;
  max-width:16ch;
  transition:color .4s var(--ease);
}
.tile:hover .tile__name{color:var(--orange)}

/* ============================================================
   OUR STORY TIMELINE — homepage
   The milestones on one horizontal axis, scrolled like the sectors rank
   (it is a .slider, and makeRail drives it). Four points to the grid,
   six in all, so two wait off the right edge.

   The axis draws itself: when the rail arrives each point's stretch of
   line grows from the left in turn, its node lands as the line reaches
   it, and its year and text rise in behind. Square nodes, hairline axis —
   the lattice vocabulary of the stats grid, not dots on a string.
   ============================================================ */

.chrono{background:var(--white)}
.chrono .section__head{align-items:flex-end}
.chrono .section__head > p{margin:0}

.chrono__rail{
  --per:4;
  gap:0;
  list-style:none;
  margin:0;
}
.chrono__pt{
  --step:.2s;                  /* the axis's pace, point to point */
  position:relative;
  flex:0 0 auto;
  width:calc(var(--grid) / 4);
  padding:48px 40px 8px 0;
  scroll-snap-align:start;
}
/* the axis: one stretch per point, meeting edge to edge */
.chrono__pt::before{
  content:"";
  position:absolute;
  left:0;right:0;top:4px;
  height:1px;
  background:rgba(181,176,169,.7);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .55s linear calc(var(--i) * var(--step));
}
.chrono__node{
  position:absolute;
  left:0;top:0;
  width:9px;height:9px;
  box-sizing:border-box;
  border:1px solid var(--orange);
  background:var(--white);
  transform:scale(0);
  transition:transform .45s var(--ease) calc(var(--i) * var(--step));
}
/* the first and the latest are fixed points: solid */
.chrono__pt:first-child .chrono__node,
.chrono__pt:last-child .chrono__node{background:var(--orange)}
.chrono__pt--tbc .chrono__node{border-color:var(--concrete)}

.chrono__yr,
.chrono__what,
.chrono__blurb{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .8s var(--ease) calc(var(--i) * var(--step) + .2s),
             transform .8s var(--ease) calc(var(--i) * var(--step) + .2s);
}
.chrono__rail.is-in .chrono__pt::before{transform:scaleX(1)}
.chrono__rail.is-in .chrono__node{transform:scale(1)}
.chrono__rail.is-in .chrono__yr,
.chrono__rail.is-in .chrono__what,
.chrono__rail.is-in .chrono__blurb{opacity:1;transform:none}
/* the rail itself does not travel on reveal — its points do */
.chrono__rail.reveal{opacity:1;transform:none}

.chrono__yr{
  display:block;
  font-family:var(--display);
  font-stretch:125%;
  font-size:clamp(28px,2.6vw,38px);
  font-weight:200;
  letter-spacing:.04em;
  line-height:1;
  color:var(--orange);
}
.chrono__pt--tbc .chrono__yr{color:#8A857E}
.chrono__what{
  margin-top:22px;
  font-size:12px;
  font-weight:300;
  letter-spacing:.14em;
  line-height:1.6;
  color:var(--forge);
  max-width:24ch;
}
/* no milestone has its blurb yet: each shows the slot, marked */
.chrono__blurb{
  margin:16px 0 0;
  padding-left:12px;
  border-left:1px solid var(--orange);
  font-size:12px;
  line-height:1.75;
  color:var(--concrete);
  max-width:30ch;
}
.chrono__blurb b{
  display:block;
  font-size:8px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:4px;
}

/* ============================================================
   ENQUIRY — dark atmospheric gradient, orange into Forge Black
   ============================================================ */

.enquiry{
  position:relative;
  /* clipped at the top and sides only: the glow runs on down into the
     footer, which shares the ground (see .footer) */
  clip-path:inset(0 0 -100vh 0);
  overflow-x:clip;          /* clip-path crops paint, not scroll width */
  /* over the footer's ground, so the spill shows; under its content, which
     sits at z-index 2 */
  z-index:1;
  background:var(--forge);
  text-align:center;
}
.enquiry__glow{
  position:absolute;
  inset:-20%;
  pointer-events:none;
  filter:blur(75px);
  background:
    radial-gradient(42% 52% at 20% 16%, rgba(232,96,10,.45) 0%, rgba(232,96,10,0) 68%),
    radial-gradient(48% 55% at 86% 78%, rgba(232,96,10,.32) 0%, rgba(232,96,10,0) 70%),
    radial-gradient(52% 48% at 62% 6%, rgba(232,96,10,.25) 0%, rgba(232,96,10,0) 72%);
}
.enquiry .wrap{position:relative;z-index:2}
/* Laid out as the hero is: the eyebrow and statement centred on the page
   axis, then the blurb and the button as one row held to the statement's
   width — blurb set left from its first letter, button closing the row at
   its last. The column shrinks to the statement, so the row follows it. */
.enquiry__text{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:fit-content;
  max-width:100%;
  margin:0 auto;
}
/* the hero's eyebrow, rule either side */
.enquiry__eyebrow{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 30px;
  font-size:9px;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--orange);
}
.enquiry__eyebrow::before,
.enquiry__eyebrow::after{content:"";width:20px;height:1px;background:var(--orange)}
.enquiry h2{
  color:var(--white);
  /* one line where it fits, as the hero's does; a longer generated heading
     breaks into two even lines rather than running off the grid */
  text-wrap:balance;
  font-size:clamp(20px,2.5vw,31px);
  letter-spacing:.06em;
}
.enquiry__foot{
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:48px;
  margin-top:clamp(44px,4.4vw,64px);
}
.enquiry__sub{
  max-width:34ch;
  text-wrap:pretty;
  margin:0;
  text-align:left;
  color:rgba(255,255,255,.4);
  font-size:14px;
  line-height:1.85;
}
.enquiry__cta{margin:0;flex:none;display:flex}
/* pages whose prompt has no blurb: the button alone, on the axis */
.enquiry__cta:only-child{margin:0 auto}

/* corner rules, mirroring the hero */
.enquiry__rule{position:absolute;background:var(--orange);opacity:.35;z-index:2}
.enquiry__rule--tl{top:64px;left:var(--gutter);width:1px;height:64px}
.enquiry__rule--br{bottom:64px;right:var(--gutter);width:64px;height:1px}

/* ============================================================
   FOOTER
   ============================================================ */

/* The enquiry's glow does not stop at its foot: the footer takes the same
   Forge ground and the light carries on down into it, with a low warm pool
   of its own so pages that end without an enquiry close the same way. */
.footer{
  position:relative;
  overflow:hidden;
  background:var(--forge);
  padding:clamp(64px,7vw,100px) 0 clamp(48px,5vw,72px);
  color:rgba(255,255,255,.4);
}
.footer__glow{
  position:absolute;
  /* starts at the footer's top edge and stays dark there: the join is
     the enquiry's spill to carry, and light here would be cut flat by the
     clip at the footer's edge */
  inset:0 -20% -20%;
  pointer-events:none;
  filter:blur(75px);
  background:
    radial-gradient(44% 58% at 84% 88%, rgba(232,96,10,.16) 0%, rgba(232,96,10,0) 70%),
    radial-gradient(40% 50% at 12% 100%, rgba(232,96,10,.1) 0%, rgba(232,96,10,0) 70%);
}
.footer .wrap{position:relative;z-index:2}

/* Same construction as .statgrid: hairlines at .07, a 2px mark at .34 on
   every crossing. Cells span, so the lattice is drawn per cell rather than
   tiled — each cell closes its right and bottom edges and draws a quarter
   mark at its own four corners; neighbours complete the circles. */
.footgrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid rgba(255,255,255,.07);
  border-left:1px solid rgba(255,255,255,.07);
}
.footcell{
  position:relative;
  padding:clamp(28px,2.6vw,38px) clamp(22px,2vw,30px);
  border-right:1px solid rgba(255,255,255,.07);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.footcell::after{
  content:"";
  position:absolute;
  inset:-1px -1px -1px -1px;
  pointer-events:none;
  background-image:
    radial-gradient(circle at 0 0,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
    radial-gradient(circle at 100% 0,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
    radial-gradient(circle at 0 100%,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
    radial-gradient(circle at 100% 100%,rgba(255,255,255,.34) 0 2px,transparent 2.1px);
}
.footcell--brand{grid-column:span 2;min-height:clamp(200px,17vw,250px)}
.footcell--brand svg{display:block;height:15px;width:auto;margin-bottom:26px}
.footer__tag{font-size:13px;line-height:1.85;max-width:34ch;margin:0}

.footcell--base a{color:inherit;transition:color .3s var(--ease)}
.footcell--base a:hover{color:var(--white)}
.footer__sep{margin:0 8px;opacity:.6}
/* the IDX mark in place of its name: cap height, sitting on the baseline;
   it and the credit's + in orange, the mark lightening to white on hover */
.footer__idx svg{display:inline-block;height:7px;width:auto;margin-left:3px;vertical-align:0;overflow:visible}
.footcell--base .footer__idx,.footer__plus{color:var(--orange)}
.footcell--base .footer__idx:hover{color:var(--white)}
.footcell--base{
  grid-column:span 2;
  padding-top:22px;
  padding-bottom:22px;
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.28);
}

.footer h3{
  font-size:9px;
  font-weight:500;
  letter-spacing:.22em;
  color:var(--orange);
  margin:0 0 22px;
}
.footer ul{list-style:none;margin:0;padding:0}
.footer li{margin-bottom:13px;font-size:12px;letter-spacing:.06em}
.footer li:last-child{margin-bottom:0}
.footer li a{color:rgba(255,255,255,.4);transition:color .4s var(--ease)}
.footer li a:hover{color:var(--white)}
.footer address{font-style:normal;font-size:12px;line-height:1.95;letter-spacing:.04em}
.footer li a[href^="mailto:"]{overflow-wrap:anywhere}
.footer__hours{margin:16px 0 0;font-size:11px;line-height:1.7;letter-spacing:.04em;color:rgba(255,255,255,.4)}
/* four cells grow cramped below desktop width: two to a row */
@media (max-width:1100px) and (min-width:601px){
  .footgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ============================================================
   PHOTOGRAPHY PLACEHOLDERS
   Every .ph is a stand-in for real project photography.
   Replace the element with:
     <img class="card__img" src="…webp" alt="…" loading="lazy" decoding="async" width="" height="">
   ============================================================ */

.ph{
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(232,96,10,.10) 0%, rgba(232,96,10,0) 46%),
    linear-gradient(160deg, var(--gunmetal) 0%, #232325 52%, var(--forge) 100%);
  transform:scale(1);
  transition:transform 1.1s var(--ease);
  overflow:hidden;
}
.card:hover .ph,.tile:hover .ph,.slice:hover .ph{transform:scale(1.06)}
/* ghosted hm device, per the brand's 10-12% monogram treatment */
.ph::before{
  content:"";
  position:absolute;
  right:-6%;
  bottom:-14%;
  width:62%;
  aspect-ratio:740/375;
  background:currentColor;
  color:rgba(255,255,255,.055);
  -webkit-mask:var(--hm-mask) no-repeat center/contain;
  mask:var(--hm-mask) no-repeat center/contain;
}
.ph__note{
  position:absolute;
  top:18px;right:18px;
  font-size:8px;
  font-weight:400;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,.26);
  z-index:2;
}

/* ============================================================
   REVEAL
   ============================================================ */

.reveal{opacity:0;transform:translateY(22px);transition:opacity 1s var(--ease),transform 1s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.08s}
.reveal[data-d="2"]{transition-delay:.16s}
.reveal[data-d="3"]{transition-delay:.24s}

@media (prefers-reduced-motion:reduce){
  /* keep the focus shift, lose the travel */
  .slider:hover:not(.is-gliding) .slice{transform:none}
  .slider:hover:not(.is-gliding) .slice:hover,
  .slider:not(.is-gliding) .slice:focus-visible{transform:none}
  .slice__blurb{transform:none}

  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .hero__scroll span::after{animation:none}
  *{transition-duration:.01ms !important}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width:1100px){
  .band{grid-template-columns:1fr minmax(200px,.34fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  /* a project page's three "more work" cards, two across, would leave the
     third alone on its row: two across shows two */
  .related--more .grid-3 > .card:nth-child(3){display:none}
}
@media (max-width:600px){
  .related--more .grid-3 > .card:nth-child(3){display:block}
}


/* Five across holds until about 960px — "Est. 1975" needs roughly 135px of
   cell. Below that the row breaks to three, and the cells give up their
   coordinates and flow in content order, accent first. */
@media (max-width:960px){
  .statgrid{--cols:3;--rows:2}
  .statcell{grid-column:auto;grid-row:auto}
  /* Five figures leave a slot empty in three columns or two, and a tiled
     lattice would still draw it as a box. Here each cell draws its own
     lines and corner marks, as the footer's cells do, and the last figure
     spans the gap, so the lattice closes on a full row at every width. */
  .statgrid{background-image:none;border:0;
    border-top:1px solid rgba(255,255,255,.07);border-left:1px solid rgba(255,255,255,.07)}
  .statgrid::after{display:none}
  .statcell{border-right:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07)}
  .statcell::after{
    content:"";position:absolute;inset:-1px;pointer-events:none;
    background-image:
      radial-gradient(circle at 0 0,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
      radial-gradient(circle at 100% 0,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
      radial-gradient(circle at 0 100%,rgba(255,255,255,.34) 0 2px,transparent 2.1px),
      radial-gradient(circle at 100% 100%,rgba(255,255,255,.34) 0 2px,transparent 2.1px)}
  .statcell:last-child{grid-column:span 2}
}

@media (max-width:860px){
  :root{--pad:88px}

  /* The panel keeps its fixed height and its own scroll on a phone, as on
     desktop, with the rail beside it still reporting. Touch drives it
     natively: snapping band to band, and handing the swipe on to the page
     at either end (overscroll is not contained here) so it never traps the
     visitor. Shorter than the screen, so there is always page to grab
     above or below it. Each band shows its detail and button outright —
     no band changes height while the finger is on the stack — and the
     band at the top of the panel is the active one (see site.js). */
  .vrail{height:min(560px,70svh)}
  .vrail.rail--native{overscroll-behavior-y:auto;scroll-snap-type:y proximity}
  .vrail__shell{gap:14px}
  .band{grid-template-columns:1fr;gap:18px;scroll-snap-align:start}
  /* A phone settles on each project: a swipe carries the panel to the next
     band and stops there, one at a time, rather than running freely past
     several (tablets keep the looser snap, and desktop its glide). */
  @media (max-width:600px){
    .vrail.rail--native{scroll-snap-type:y mandatory}
    .band{scroll-snap-stop:always}
  }
  /* 16:9 from the width by padding, not aspect-ratio: the frame's only
     child is positioned, and Safari can size an aspect-ratio grid item from
     that empty content instead, collapsing the frame to nothing and leaving
     just the name below it */
  .band__media,
  .band.is-active .band__media{height:0;padding-bottom:56.25%;align-self:start}
  .band__reveal{grid-template-rows:1fr;opacity:1}
  .band__cta{margin-top:24px;opacity:1;visibility:visible}

  /* ---- the open menu: the footer's ground ----
     Forge, with the footer's orange glow rising from the foot. The pages
     are set large in the extended face on hairline rows, numbered, with an
     arrow; the current page in orange. On opening the rows rise in one by
     one as their hairlines draw across; closing is a single fade. */
  .nav__sheet{
    position:fixed;
    inset:0;
    z-index:1;
    display:flex;
    flex-direction:column;
    padding:96px var(--gutter) 0;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    background:var(--forge);
    color:var(--white);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .35s var(--ease),visibility .35s var(--ease);
  }
  /* closed, it takes no touches (it is still there, full-screen, invisible) */
  .nav__sheet.is-open{opacity:1;visibility:visible;pointer-events:auto;transition-duration:.3s}
  /* fixed, like the sheet, so the glow's reach past the screen's foot is
     not scrollable overflow: absolute, it let the menu scroll a fifth of a
     screen into empty glow */
  /* The glow is drawn soft rather than blurred: a 60px blur over a layer
     larger than the screen was more than an iPhone could draw as the menu
     opened (slow to appear, and at worst Safari reloaded the page). */
  .nav__sheet::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:
      radial-gradient(89.6% 62.4% at 107.6% 109.6%, rgba(232,96,10,.36) 0%, rgba(232,96,10,.24) 22%, rgba(232,96,10,.1) 46%, rgba(232,96,10,.03) 62%, rgba(232,96,10,0) 76%),
      radial-gradient(70.4% 49.4% at -20.4% 125.2%, rgba(232,96,10,.14) 0%, rgba(232,96,10,.08) 30%, rgba(232,96,10,0) 74%);
    opacity:0;
    transition:opacity .9s var(--ease);
  }
  .nav__sheet.is-open::before{opacity:1}
  .nav__sheet > *{position:relative}

  .nav__label{
    display:block;
    margin:0 0 18px;
    font-size:9px;
    font-weight:500;
    letter-spacing:.3em;
    text-transform:uppercase;
    color:rgba(255,255,255,.45);
  }
  .nav__links,
  .nav.is-stuck .nav__links,
  body.has-lead .nav:not(.is-stuck) .nav__links{
    display:block;
    border:0;
    background:none;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
  .nav__links li{position:relative}
  .nav__links li + li{border-left:0}
  /* each row's hairline, drawn across on opening */
  .nav__links li::before,
  .nav__links li:last-child::after{
    content:"";
    position:absolute;
    left:0;right:0;
    height:1px;
    background:rgba(255,255,255,.14);
    transform-origin:left;
  }
  .nav__links li::before{top:0;transform:scaleX(0);transition:transform .2s var(--ease)}
  .nav__links li:last-child::after{bottom:0}
  .nav__links a,
  .nav.is-stuck .nav__links a,
  body.has-lead .nav:not(.is-stuck) .nav__links a{
    display:flex;
    align-items:baseline;
    gap:16px;
    padding:20px 0 18px;
    text-align:left;
    text-indent:0;
    letter-spacing:0;
    color:var(--white);
  }
  .nav__links a::after{display:none}
  .nav__n{display:block;width:18px;flex:none;font-size:9px;font-weight:500;letter-spacing:.2em;color:rgba(255,255,255,.4)}
  .nav__t{
    font-family:var(--display);
    font-stretch:125%;
    font-weight:200;
    font-size:clamp(23px,7.2vw,30px);
    line-height:1;
    letter-spacing:.04em;
    text-transform:uppercase;
  }
  /* the arrow: a hairline shaft with an open head */
  .nav__ar{display:block;position:relative;margin-left:auto;align-self:center;width:18px;height:1px;background:rgba(255,255,255,.35)}
  .nav__ar::after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid rgba(255,255,255,.35);border-right:1px solid rgba(255,255,255,.35);transform:rotate(45deg)}
  /* scoped to the sheet: the desktop bar's hover and current-page colours
     come later in the sheet at the same weight */
  .nav__sheet .nav__links a:hover,
  body.has-lead .nav:not(.is-stuck) .nav__sheet .nav__links a:hover{color:var(--white)}
  .nav__sheet .nav__links a[aria-current="page"],
  body.has-lead .nav:not(.is-stuck) .nav__sheet .nav__links a[aria-current="page"],
  .nav__sheet .nav__links a[aria-current="page"] .nav__n{color:var(--orange)}
  .nav__sheet .nav__links a[aria-current="page"] .nav__ar{background:var(--orange)}
  .nav__sheet .nav__links a[aria-current="page"] .nav__ar::after{border-color:var(--orange)}

  .nav__more{display:block;margin:22px 0 40px}
  .nav__more a{font-size:9px;font-weight:500;letter-spacing:.28em;text-transform:uppercase;color:rgba(255,255,255,.6)}
  .nav__more a[aria-current="page"]{color:var(--orange)}

  /* office and tagline, a two-cell lattice across the full width */
  .nav__foot{
    display:grid;
    grid-template-columns:1.35fr 1fr;      /* room for the street on one line */
    margin:auto calc(-1 * var(--gutter)) 0;
    border-top:1px solid rgba(255,255,255,.14);
  }
  .nav__foot div{padding:20px var(--gutter) max(30px, env(safe-area-inset-bottom));font-size:11px;line-height:1.7;color:rgba(255,255,255,.62)}
  .nav__foot div + div{border-left:1px solid rgba(255,255,255,.14)}
  .nav__foot b{display:block;margin-bottom:10px;font-size:9px;font-weight:500;letter-spacing:.28em;text-transform:uppercase;color:var(--orange)}

  /* the entrance: rows rise in turn, hairlines draw, the rest follows */
  .nav__label,.nav__links a,.nav__more,.nav__foot{opacity:0;transform:translateY(18px);transition:opacity .2s var(--ease),transform .2s var(--ease)}
  .nav__sheet.is-open .nav__label,
  .nav__sheet.is-open .nav__links a,
  .nav__sheet.is-open .nav__more,
  .nav__sheet.is-open .nav__foot{opacity:1;transform:none;transition:opacity .55s var(--ease) var(--d),transform .55s var(--ease) var(--d)}
  .nav__sheet.is-open .nav__links li::before{transform:scaleX(1);transition:transform .65s var(--ease) var(--d)}
  /* quick off the mark: the rows follow the tap at once, in 40ms steps */
  .nav__label{--d:.03s}
  .nav__links li:nth-child(1){--d:.06s}
  .nav__links li:nth-child(2){--d:.1s}
  .nav__links li:nth-child(3){--d:.14s}
  .nav__links li:nth-child(4){--d:.18s}
  .nav__links li:nth-child(5){--d:.22s}
  .nav__links a{--d:inherit}
  .nav__more{--d:.26s}
  .nav__foot{--d:.26s}

  /* Stems: three of the device's stems, leaning at its slant (about 10°),
     the first in ink and two in orange as the device sets its h against
     its m. Opening drops the middle stem and swings the outer two into an
     X, which keeps one ink arm and one orange. The button is 40px square
     for the thumb, centred on the device's line with the stems the
     device's height and right-aligned to the grid inside it. */
  .nav__toggle{
    display:block;
    position:relative;
    margin:0 -8px 0 auto;
    z-index:2;
    width:40px;
    height:40px;
    padding:0;
    border:0;
    background:transparent;
    color:var(--forge);
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    -webkit-user-select:none;
    user-select:none;
    transition:color .4s var(--ease);
  }
  /* a 52px target for the thumb, around the 40px button the stems are set in */
  .nav__toggle::after{content:"";position:absolute;inset:-6px}
  .nav__toggle i{
    position:absolute;
    top:10px;
    width:1.5px;
    height:20px;
    background:var(--orange);
    transform:skewX(-10deg);
    transition:transform .28s var(--ease),opacity .2s var(--ease),background .4s var(--ease),top .5s var(--ease),height .5s var(--ease),filter .6s var(--ease);
  }
  .nav__toggle i:nth-child(1){left:14.5px;background:currentColor}
  .nav__toggle i:nth-child(2){left:20.75px}
  .nav__toggle i:nth-child(3){left:27px}
  .nav__toggle.is-open i:nth-child(1){transform:translateX(6.25px) rotate(45deg)}
  .nav__toggle.is-open i:nth-child(2){opacity:0;transform:skewX(-10deg) scaleY(0)}
  .nav__toggle.is-open i:nth-child(3){transform:translateX(-6.25px) rotate(-45deg)}
  .nav.is-stuck .nav__toggle i{top:11.5px;height:17px}

  /* the device, not the wordmark, left-aligned on the grid */
  .nav__top{justify-content:flex-start}
  .nav__logo{position:relative;z-index:2}
  .nav__wm{display:none}
  .nav__device{display:block;height:20px;width:auto;transition:height .5s var(--ease),filter .6s var(--ease)}
  .nav.is-stuck .nav__device{height:17px}

  /* On scroll the bar turns to the hero device's glass: clear, not
     frosted — the page runs on beneath it, blurred and lifted, with the
     same sheen from the upper right and a warm-white edge catching the
     light along its foot. Over light ground, where white would be lost,
     a dark frosting fades in on top of the glass (::after), so the device
     and stems stay white at every scroll position; site.js reads what is
     beneath and sets .nav--frost. Both layers live on pseudo-elements,
     not the header itself: a backdrop-filter on the header would make it
     the containing block of the fixed menu sheet inside it, and the sheet
     would open 60px tall. */
  .nav::before,
  .nav::after{
    content:"";
    position:absolute;inset:0;
    z-index:-1;
    opacity:0;
    pointer-events:none;
  }
  .nav::before{
    background:linear-gradient(215deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.02) 58%);
    -webkit-backdrop-filter:blur(26px) saturate(135%) brightness(1.22);
    backdrop-filter:blur(26px) saturate(135%) brightness(1.22);
    box-shadow:inset 0 -1px 0 rgba(255,234,219,.55);
    transition:opacity .5s var(--ease);
  }
  .nav::after{
    background:linear-gradient(215deg,rgba(46,46,48,.74) 0%,rgba(15,15,15,.82) 70%);
    box-shadow:inset 0 -1px 0 rgba(255,234,219,.22);
    transition:opacity .6s var(--ease);
  }
  .nav.is-stuck::before,
  .nav.is-stuck.nav--frost::after{opacity:1}
  .nav.is-menu::before,
  .nav.is-menu::after{opacity:0}
  .nav.is-menu::before{-webkit-backdrop-filter:none;backdrop-filter:none}
  .nav.is-stuck .nav__device .dv--k{fill:#fff}
  .nav.is-stuck .nav__toggle{color:var(--white)}
  /* on clear glass a photograph can be bright where the bar crosses it;
     a soft shade under the white keeps it standing off the glass */
  .nav.is-stuck .nav__device,
  .nav.is-stuck .nav__toggle i{filter:drop-shadow(0 0 5px rgba(15,15,15,.35))}
  .nav.is-stuck.nav--frost .nav__device,
  .nav.is-stuck.nav--frost .nav__toggle i,
  .nav.is-menu .nav__device,
  .nav.is-menu .nav__toggle i{filter:none}
  /* the open menu is Forge: the device and the close button go white */
  .nav.is-menu .nav__device .dv--k{fill:#fff}
  .nav.is-menu .nav__toggle{color:var(--white)}

  .hero{padding-top:150px}
  .hero__device{display:none}
  .hero__text > :not(.hero__eyebrow){top:0}
  .hero__scroll{display:none}
  .hero__rule--tl{display:none}

  .chrono__pt{width:min(72vw,280px);padding-right:28px}
  .grid-sectors{grid-template-columns:repeat(2,1fr)}
  .grid-sectors > .tile:nth-child(7):last-child{grid-column:auto;aspect-ratio:5/4}
  .slice{width:clamp(178px,46vw,236px);height:clamp(360px,52vh,470px)}
  .br-lg{display:none}
  .section__head{margin-bottom:48px}
  .section__foot{margin-top:48px}
  /* the status tabs hang above the panel, inside the heading's gap, so the
     gap is widened by their height to keep the heading its full 48px clear */
  .projects .section__head{margin-bottom:calc(48px + 41px)}
  /* two cards to a row: the name takes the card's full width, its place
     below it, rather than the two squeezing each other on one line */
  .grid-3{row-gap:48px}
  .card__body{flex-direction:column;align-items:flex-start;gap:8px}
  .tile__name{max-width:none}
}

@media (max-width:600px){
  :root{--pad:72px}

  /* the desktop clamp floors at 34px; phones step down to 28px so the
     longest word, CONSTRUCTION, still fits a 375px screen on one line */
  .hero h1{font-size:clamp(22px,6.2vw,30px);letter-spacing:.05em;white-space:normal}
  .hero__foot{flex-direction:column;gap:36px;margin-top:30px}
  .hero__sub{text-align:center}
  .enquiry__foot{flex-direction:column;gap:36px;margin-top:30px}
  .enquiry__sub{text-align:center}

  .statgrid{--cols:2;--rows:3}
  .footcell--brand svg{height:12px}

  /* one card under another: each name and place needs clear air before the
     next photograph starts, or the list runs together */
  .grid-3{grid-template-columns:1fr;row-gap:52px}
  .grid-sectors{grid-template-columns:1fr}
}
/* a large phone, or one screen of a Surface Duo: room for two cards to a
   row, as on a tablet, rather than one photograph the width of the screen */
@media (min-width:481px) and (max-width:600px){
  .grid-3{grid-template-columns:repeat(2,1fr);row-gap:48px}
  .grid-sectors{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  /* a taller tile, and the name on the full width, so the icon, name and
     count sit in the frame instead of filling it */
  .tile,.grid-sectors > .tile:first-child,.grid-sectors > .tile:nth-child(7):last-child{grid-column:auto;aspect-ratio:4/3}
  .slice{width:min(66vw,232px);height:420px}
  .footgrid{grid-template-columns:minmax(0,1fr)}     /* never wider than the screen */
  .footcell--brand svg{max-width:100%}
  .footcell--brand,
  .footcell--base{grid-column:auto}
  .footcell--brand{min-height:0}
}

/* ============================================================
   ============================================================
   INNER PAGES
   Everything above is shared with, and set by, the homepage.
   Everything below is the component set the six page templates
   add on top of it. Same tokens, same rhythm, no new colours.
   ============================================================
   ============================================================ */

/* ---------- nav: current page ---------- */

.nav__links a[aria-current="page"]{color:var(--forge)}
.nav__links a[aria-current="page"]::after{transform:scaleX(1)}

/* Project and sector pages open on a full-bleed dark lead image sitting
   under the transparent nav, where the charcoal wordmark and concrete
   links have no contrast. body.has-lead reverses the nav until the
   frosted .is-stuck state takes over on scroll. */
body.has-lead .nav:not(.is-stuck) .nav__logo .wm--ink{opacity:0}
body.has-lead .nav:not(.is-stuck) .nav__logo .wm--light{opacity:1}
body.has-lead .nav:not(.is-stuck){--navline:rgba(255,255,255,.24)}
@media (min-width:861px){
  body.has-lead .nav:not(.is-stuck) .nav__links::before{background:rgba(255,255,255,.05)}
}
body.has-lead .nav:not(.is-stuck) .nav__links a{color:rgba(255,255,255,.82)}
body.has-lead .nav:not(.is-stuck) .nav__links a:hover,
body.has-lead .nav:not(.is-stuck) .nav__links a[aria-current="page"]{color:var(--white)}
body.has-lead .nav:not(.is-stuck) .nav__toggle{color:var(--white)}
body.has-lead .nav:not(.is-stuck) .nav__device .dv--k{fill:#fff}
@media (max-width:860px){
  /* the open menu is Forge, so the white mark over a lead stays white */
  body.has-lead .nav.is-menu:not(.is-stuck) .nav__toggle{color:var(--white)}
}

/* ============================================================
   PAGE HERO — the compact sibling of the homepage hero.
   Same atmospheric wash, roughly half the height, no 100svh.
   ============================================================ */

.phero{
  position:relative;
  overflow:hidden;
  background:var(--clarity);
  padding-top:clamp(180px,18vw,240px);
  padding-bottom:clamp(64px,8vw,116px);
}
.phero__glow{
  position:absolute;
  inset:-25%;
  pointer-events:none;
  filter:blur(90px);
  background:
    radial-gradient(34% 46% at 84% 8%, rgba(232,96,10,.18) 0%, rgba(232,96,10,0) 68%),
    radial-gradient(42% 50% at 6% 74%, rgba(232,96,10,.11) 0%, rgba(232,96,10,0) 70%),
    radial-gradient(50% 46% at 34% 2%, rgba(181,176,169,.20) 0%, rgba(181,176,169,0) 72%);
}
.phero__rule{position:absolute;background:var(--orange);opacity:.35;pointer-events:none}
.phero__rule--tl{top:136px;left:var(--gutter);width:64px;height:1px}
.phero .wrap{position:relative;z-index:2}

.phero h1{
  font-size:clamp(26px,4.3vw,54px);
  letter-spacing:.06em;
  line-height:1.06;
  color:var(--forge);
  max-width:20ch;
}
.phero__sub{
  max-width:52ch;
  margin:30px 0 0;
  color:var(--gunmetal);
  font-size:14px;
  line-height:1.85;
}

/* ============================================================
   PROJECT GROUPS — projects index
   ============================================================ */

/* the groups share one ground: each closes on the section interval and the
   next starts straight after, so they stand one interval apart, not two */
.pgroup{padding-top:0}
/* the first group, straight after the hero (the map), takes the full section gap */
.phero + .pgroup{padding-top:var(--pad)}

.pgroup__head{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:10px 20px;
  margin-bottom:44px;
  padding-bottom:22px;
  border-bottom:1px solid rgba(181,176,169,.5);
}
.pgroup__head h2{font-size:clamp(17px,2vw,24px);letter-spacing:.08em}
.pgroup__count{
  font-size:10px;
  font-weight:400;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--stone);
}

/* search and sector filter, per group: two square buttons at the heading's
   right, sharing a hairline. The magnifier opens a field leftwards from
   itself; the filter opens a row of sectors under the heading. Both filter
   the group's cards, together. */
.pgroup__head{position:relative}
.ptools{
  position:relative;
  margin-left:auto;
  align-self:center;
  display:flex;
}
.psearch{
  position:relative;
  display:flex;
  --psw:clamp(240px,28vw,340px);
}
.psearch__btn,
.pfilter__btn{
  position:relative;
  z-index:2;
  flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;
  padding:0;
  border:1px solid rgba(181,176,169,.7);
  background:var(--clarity);
  color:var(--gunmetal);
  cursor:pointer;
  transition:border-color .4s var(--ease),color .4s var(--ease);
}
.pfilter__btn{margin-left:-1px}          /* one hairline between the two */
.psearch__btn:hover,.psearch__btn:focus-visible,
.pfilter__btn:hover,.pfilter__btn:focus-visible{z-index:3;border-color:var(--orange);color:var(--orange);outline:none}
.psearch__btn svg,
.pfilter__btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:square}
.psearch.is-open .psearch__btn,
.pfilter__btn[aria-expanded="true"]{z-index:3;border-color:var(--orange);color:var(--orange)}
.psearch__btn .i-on{display:none}
.psearch.is-open .psearch__btn .i-on{display:block}
.psearch.is-open .psearch__btn .i-off{display:none}
/* a sector is chosen while the row is put away: a small orange square */
.pfilter__btn.is-set::after{
  content:"";
  position:absolute;
  top:7px;right:7px;
  width:5px;height:5px;
  background:var(--orange);
}
.psearch__field{
  position:absolute;
  top:0;right:39px;                 /* shares the button's left hairline */
  z-index:1;
  width:0;
  height:40px;
  overflow:hidden;
  transition:width .55s var(--ease);
}
.psearch.is-open .psearch__field{width:var(--psw)}
.psearch__input{
  width:var(--psw);
  height:40px;
  padding:0 16px;
  border:1px solid rgba(181,176,169,.7);
  border-radius:0;
  background:var(--clarity);
  color:var(--forge);
  font-family:var(--body);
  font-size:12px;
  font-weight:400;
  letter-spacing:.04em;
  transition:border-color .4s var(--ease);
  -webkit-appearance:none;
  appearance:none;
}
.psearch__input::placeholder{color:var(--stone);opacity:1}
.psearch__input::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.psearch__input:focus{outline:none;border-color:var(--orange)}

/* the sector row: folds open under the heading, inside its rule */
.pfilter{
  order:5;
  flex-basis:100%;
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .5s var(--ease);
}
.pfilter.is-open{grid-template-rows:1fr}
.pfilter__inner{min-height:0;overflow:hidden}
.pfilter__list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding-top:14px;
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .35s var(--ease),transform .35s var(--ease);
}
.pfilter.is-open .pfilter__list{opacity:1;transform:none;transition-delay:.12s}
.pfilter__opt{
  display:inline-flex;
  align-items:baseline;
  gap:10px;
  padding:10px 14px;
  border:1px solid rgba(181,176,169,.7);
  background:transparent;
  font-family:var(--body);
  font-size:10px;
  font-weight:400;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gunmetal);
  cursor:pointer;
  transition:border-color .4s var(--ease),color .4s var(--ease);
}
.pfilter__opt span{color:var(--stone);letter-spacing:.08em;transition:color .4s var(--ease)}
.pfilter__opt:hover,.pfilter__opt:focus-visible{border-color:var(--orange);outline:none}
.pfilter__opt.is-on{border-color:var(--orange);color:var(--orange)}
.pfilter__opt.is-on span{color:var(--orange)}

.psearch__none{
  margin:8px 0 0;
  font-size:12px;
  letter-spacing:.03em;
  color:var(--stone);
}
.psearch__none b{font-weight:400;color:var(--gunmetal)}
.card.is-filtered{display:none}
/* Where the row is too short for heading, count and an open field side by
   side (under about 760px of heading row, tablets and phones), the heading
   and buttons share the first line, the count drops below it, and the
   field opens over the whole heading, left of the buttons. Measured on the
   row itself, so it holds whatever the type size does. */
.pgroup__head:has(.ptools){container:phead / inline-size}
@container phead (max-width:760px){
  .pgroup__head h2{flex:1 1 0;min-width:0;align-self:center}
  .pgroup__head .pgroup__count{order:3;flex-basis:100%}
  .ptools{align-self:flex-start}
  .psearch{--psw:calc(100cqw - 78px)}
}

/* ============================================================
   PROJECT PAGE — hero image, data block, description, gallery
   ============================================================ */

.lead{
  position:relative;
  height:clamp(320px,62vh,660px);
  overflow:hidden;
  background:var(--gunmetal);
  margin-top:0;
}
.lead img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lead::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(15,15,15,.55) 0%,rgba(15,15,15,.12) 42%,rgba(15,15,15,.30) 100%);
  z-index:1;
}
.lead .ph__note{z-index:2;top:auto;bottom:20px;right:24px}

.detail{background:var(--clarity);padding-top:clamp(56px,7vw,96px)}
.detail__grid{
  display:grid;
  grid-template-columns:1fr minmax(300px,.82fr);
  gap:clamp(40px,6vw,96px);
  align-items:start;
}
.detail h1{
  font-size:clamp(24px,3.5vw,44px);
  letter-spacing:.055em;
  line-height:1.08;
  max-width:18ch;
}
.detail__desc p{
  color:var(--gunmetal);
  font-size:14px;
  line-height:1.9;
  margin:34px 0 0;
  max-width:56ch;
}

/* label / value data block */
.pdata{
  margin:0;
  border-top:1px solid rgba(181,176,169,.5);
}
.pdata__row{
  display:grid;
  grid-template-columns:minmax(96px,.62fr) 1fr;
  gap:18px;
  padding:16px 0;
  border-bottom:1px solid rgba(181,176,169,.35);
}
.pdata dt{
  font-size:9px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--orange);
  line-height:1.9;
}
.pdata dd{
  margin:0;
  font-size:12px;
  line-height:1.9;
  letter-spacing:.05em;
  color:var(--forge);
}
/* unconfirmed field — stated, not hidden. No italics in the brand. */
.pdata dd em{font-style:normal;color:var(--stone)}

/* gallery */
.gallery-sec{background:var(--white)}
.gallery{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:clamp(14px,1.6vw,22px);
}
.gallery figure{
  position:relative;
  margin:0;
  overflow:hidden;
  aspect-ratio:4/3;
  background:var(--gunmetal);
  grid-column:span 2;
}
.gallery figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.gallery figure.is-zoomable{cursor:zoom-in}
.gallery figure.is-zoomable:hover img{transform:scale(1.05)}
.gallery figure:nth-child(1){grid-column:span 4;aspect-ratio:16/10}
.gallery figure:nth-child(2){grid-column:span 2;aspect-ratio:auto}
/* fewer than five images: the grid adapts rather than leaving gaps
   (five keep the 4+2 / 2+2+2 arrangement above) */
.gallery--n1 figure:nth-child(1){grid-column:span 6;aspect-ratio:21/9}
.gallery--n2 figure:nth-child(n){grid-column:span 3;aspect-ratio:4/3}
.gallery--n3 figure:nth-child(n){grid-column:span 2;aspect-ratio:4/5}
.gallery--n4 figure:nth-child(3),
.gallery--n4 figure:nth-child(4){grid-column:span 3;aspect-ratio:16/10}
/* a lone upright image: whole, at its own shape, centred and no taller
   than most of the screen (:nth-child(n) outranks the breakpoint rules) */
.gallery--n1 figure.is-portrait:nth-child(n){
  grid-column:1/-1;justify-self:center;
  aspect-ratio:var(--ar);width:min(100%,calc(82svh * var(--ar)));
}
.gallery figcaption{
  position:absolute;
  left:0;right:0;bottom:0;
  z-index:2;
  padding:34px 18px 15px;
  font-size:9px;
  font-weight:400;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
  background:linear-gradient(180deg,rgba(15,15,15,0) 0%,rgba(15,15,15,.62) 100%);
}

/* the construction time-lapse: a full-width row under the images. It plays
   in place, silent and looping, while it is on screen; glass controls sit
   top right (play/pause, expand) and the scrub line rises from the foot
   only when the pointer comes down to it, or once the film is expanded
   into the lightbox. Matched above the --nN layouts, which reach every child. */
.gallery figure.gallery__film:nth-child(n){grid-column:1/-1;aspect-ratio:21/9;cursor:zoom-in}
.gallery__film:focus-within{outline:none}
.gallery__film figcaption{display:flex;gap:16px;color:var(--white);pointer-events:none;transition:opacity .35s var(--ease)}
.film__len{color:var(--concrete)}

/* no z-index of its own, so the bar (3) can rise over the caption (2)
   and the video (1) still sits under both */
.film{position:absolute;inset:0}
.film video{
  position:absolute;inset:0;
  z-index:1;
  display:block;
  width:100%;height:100%;
  object-fit:cover;
  background:transparent;
  opacity:0;                       /* the poster beneath shows until frames arrive */
  transition:opacity .6s var(--ease);
}
.film.is-live video{opacity:1}

/* glass, after the hero device: a square pane lit from the upper right,
   the image behind it softened, a warm hairline edge. Square and flat like
   the rest of the site's frames: no rounding, no lift, no shadow. */
.film__ctl{
  position:absolute;
  top:clamp(12px,1.4vw,20px);
  right:clamp(12px,1.4vw,20px);
  z-index:3;
  display:flex;
  gap:8px;
}
.film__btn{
  position:relative;
  flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;
  padding:0;
  border:0;
  /* a smoke tint under the light, so the white icon still reads where
     the pane sits over open sky */
  background:
    linear-gradient(215deg,rgba(255,255,255,.2) 0%,rgba(255,255,255,.03) 62%),
    rgba(30,30,32,.3);
  -webkit-backdrop-filter:blur(16px) saturate(170%) brightness(.9);
  backdrop-filter:blur(16px) saturate(170%) brightness(.9);
  box-shadow:inset 0 0 0 1px rgba(255,234,219,.42);   /* the warm hairline edge */
  color:var(--white);
  cursor:pointer;
  transition:box-shadow .4s var(--ease),color .4s var(--ease);
}
.film__btn svg{width:16px;height:16px;fill:currentColor;filter:drop-shadow(0 0 3px rgba(15,15,15,.45))}
.film__btn:hover,.film__btn:focus-visible{
  outline:none;
  color:var(--orange);
  box-shadow:inset 0 0 0 1px var(--orange);
}
.film__btn .i-on{display:none}
.film__btn.is-on .i-on{display:block}
.film__btn.is-on .i-off{display:none}

/* the foot: time, scrub line and (expanded) full screen */
.film__bar{
  position:absolute;
  left:0;right:0;bottom:0;
  z-index:3;
  display:flex;
  align-items:center;
  gap:clamp(10px,1.4vw,18px);
  padding:40px clamp(14px,1.8vw,22px) clamp(10px,1.4vw,16px);
  background:linear-gradient(180deg,rgba(15,15,15,0) 0%,rgba(15,15,15,.66) 100%);
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:opacity .35s var(--ease),transform .35s var(--ease);
}
.film.is-near .film__bar,
.film.is-scrubbing .film__bar,
.film__bar:focus-within,
.film.is-expanded .film__bar{opacity:1;transform:none;pointer-events:auto}
.gallery__film:has(.film.is-near) figcaption,
.gallery__film:has(.film__bar:focus-within) figcaption{opacity:0}
.film__bar .film__btn{width:36px;height:36px}
.film__full{display:none}
.film.is-expanded .film__full{display:flex}
.film__time{
  flex:0 0 auto;
  min-width:9.5ch;
  font-size:10px;
  letter-spacing:.14em;
  font-variant-numeric:tabular-nums;
  color:rgba(255,255,255,.78);
}
/* the scrub line: a hairline that thickens under the pointer */
.film__track{
  position:relative;
  flex:1 1 auto;
  height:24px;
  cursor:pointer;
  touch-action:none;
}
.film__track:focus-visible{outline:none}
.film__line,.film__buf,.film__prog{
  position:absolute;
  left:0;top:50%;
  height:2px;
  margin-top:-1px;
  transition:height .2s var(--ease),margin .2s var(--ease);
}
.film__line{right:0;background:rgba(255,255,255,.22)}
.film__buf{width:0;background:rgba(255,255,255,.36)}
.film__prog{width:0;background:var(--orange)}
.film__prog::after{
  content:"";
  position:absolute;
  right:-5px;top:50%;
  width:10px;height:10px;
  margin-top:-5px;
  background:var(--orange);
  transform:scale(0);
  transition:transform .2s var(--ease);
}
.film__track:hover .film__line,.film__track:hover .film__buf,.film__track:hover .film__prog,
.film__track:focus-visible .film__line,.film__track:focus-visible .film__buf,.film__track:focus-visible .film__prog,
.film.is-scrubbing .film__line,.film.is-scrubbing .film__buf,.film.is-scrubbing .film__prog{height:4px;margin-top:-2px}
.film__track:hover .film__prog::after,.film__track:focus-visible .film__prog::after,
.film.is-scrubbing .film__prog::after{transform:scale(1)}

/* expanded: the same film, moved into the lightbox at 16:9 */
.lightbox .film{
  position:relative;
  inset:auto;
  width:min(calc(100vw - 2 * clamp(24px,6vw,80px)), 138vh);   /* 16:9 inside 78vh */
  aspect-ratio:16/9;
  background:#000;
  overflow:hidden;
  cursor:default;
}
.lightbox .film video{object-fit:contain;opacity:1}
.film:fullscreen{width:100%;height:100%;aspect-ratio:auto}
.film:-webkit-full-screen{width:100%;height:100%;aspect-ratio:auto}

@media (max-width:600px){
  .gallery figure.gallery__film:nth-child(n){aspect-ratio:16/10}
  .film__btn{width:40px;height:40px}
  .film__time{display:none}
}

/* lightbox */
.lightbox{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(24px,6vw,80px);
  background:rgba(15,15,15,.94);
  opacity:0;
  visibility:hidden;
  transition:opacity .4s var(--ease),visibility .4s var(--ease);
}
.lightbox.is-open{opacity:1;visibility:visible}
.lightbox__fig{max-width:100%;max-height:100%}
.lightbox__fig img{max-width:100%;max-height:82vh;width:auto;height:auto;margin:0 auto}
.lightbox__cap{
  margin-top:18px;
  text-align:center;
  font-size:9px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,.5);
}
.lightbox__close{
  position:absolute;
  top:clamp(18px,3vw,38px);
  right:clamp(18px,3vw,38px);
  width:44px;height:44px;
  border:1px solid rgba(255,255,255,.28);
  background:transparent;
  color:var(--white);
  font-size:16px;
  line-height:1;
  cursor:pointer;
  transition:border-color .4s var(--ease),color .4s var(--ease)}
.lightbox__close:hover{border-color:var(--orange);color:var(--orange)}

/* related projects */
.related{background:var(--clarity)}

/* ============================================================
   OUR STORY
   ============================================================ */

.narrative{background:var(--clarity)}
.narrative__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:clamp(40px,6vw,110px);
  align-items:start;
}
/* the heading and its lead line hold still while the long body passes */
.narrative__head{position:sticky;top:140px}
.narrative__head h2{max-width:14ch}
.narrative__text p{
  color:var(--gunmetal);
  font-size:14px;
  line-height:1.95;
  margin:0 0 22px;
  max-width:56ch;
}
/* the story's opening line, set larger so the long body has a way in */
.narrative__head p.narrative__lead{
  color:var(--forge);
  font-size:clamp(18px,1.7vw,23px);
  font-weight:300;
  line-height:1.5;
  letter-spacing:.005em;
  max-width:30ch;
  margin:32px 0 12px;
}
/* copy still awaiting Eliza's input, marked in the page not hidden */
.tbc{
  display:block;
  margin-top:10px;
  padding:18px 20px;
  border-left:2px solid var(--orange);
  background:rgba(232,96,10,.05);
  color:var(--gunmetal);
  font-size:12px;
  line-height:1.8;
  letter-spacing:.02em;
}
.tbc b{
  display:block;
  margin-bottom:6px;
  font-size:9px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--orange);
}

/* Points to confirm with the client — discrepancies in the master project
   register, printed where they apply (content/project-register-notes.md).
   The pending-copy box, as a list; temporary, like everything marked here. */
.confirm{
  margin-top:28px;
  padding:18px 20px 18px 22px;
  border-left:2px solid var(--orange);
  background:rgba(232,96,10,.06);
  color:var(--gunmetal);
  font-size:12px;
  line-height:1.75;
  letter-spacing:.02em;
}
.confirm b{
  display:block;
  margin-bottom:8px;
  font-size:9px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--orange);
}
.confirm p{margin:0 0 8px}
.confirm ul{margin:0;padding-left:16px}
.confirm li + li{margin-top:6px}
.confirm ul + p{margin-top:16px}
.confirm__index{columns:3 220px;column-gap:32px}
.confirm__index li{break-inside:avoid}
.confirm a{color:var(--forge);border-bottom:1px solid rgba(232,96,10,.5)}
.confirm a:hover{color:var(--orange)}
.confirm-sec{background:var(--clarity);padding:0 0 clamp(40px,4vw,56px)}
.confirm-sec .confirm{margin-top:0}
/* the note already separates hero from grid: the grid needn't add a full section gap */
.confirm-sec + .sectors{padding-top:clamp(56px,6vw,88px)}


/* timeline — vertical rail; each milestone a row across the grid: the
   year, its title, then its paragraph (stacked on narrow screens) */
.timeline-sec{background:var(--white)}
.timeline{
  list-style:none;
  margin:0;
  padding:0;
  position:relative;
}
.timeline::before{
  content:"";
  position:absolute;
  left:0;top:6px;bottom:6px;
  width:1px;
  background:rgba(181,176,169,.55);
}
.timeline li{
  position:relative;
  display:grid;
  grid-template-columns:minmax(80px,.42fr) minmax(0,1fr) minmax(0,1.5fr);
  gap:clamp(20px,3vw,48px);
  padding:0 0 clamp(40px,4.4vw,58px) clamp(26px,3vw,46px);
}
.timeline li:last-child{padding-bottom:0}
.timeline li::before{
  content:"";
  position:absolute;
  left:-3px;top:7px;
  width:7px;height:7px;
  background:var(--concrete);
  border-radius:50%;
}
.timeline li:last-child::before{background:var(--orange)}
.timeline__yr{
  font-family:var(--display);
  font-size:clamp(17px,1.9vw,24px);
  font-weight:300;
  letter-spacing:.08em;
  color:var(--orange);
  line-height:1.1;
}
.timeline__yr--tbc{color:#8A857E}
.timeline__tbc{color:var(--stone)}
.timeline__title{
  font-size:12px;
  font-weight:400;
  letter-spacing:.14em;
  line-height:1.6;
  color:var(--forge);
  padding-top:5px;
}
.timeline__what{
  color:var(--gunmetal);
  font-size:13px;
  line-height:1.9;
  max-width:58ch;
}
.timeline__what p{margin:0}
.timeline__what p + p{margin-top:1em}

/* four approach pillars */
.pillars-sec{background:var(--clarity)}
.pillars{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1px;
  background:rgba(181,176,169,.45);
  border:1px solid rgba(181,176,169,.45);
}
.pillar{
  background:var(--clarity);
  padding:clamp(30px,3.4vw,50px);
  transition:background .5s var(--ease);
}
.pillar:hover{background:var(--white)}
.pillar__n{
  display:block;
  font-size:9px;
  font-weight:500;
  letter-spacing:.22em;
  color:var(--orange);
  margin-bottom:22px;
}
.pillar h3{
  font-size:clamp(14px,1.5vw,18px);
  letter-spacing:.12em;
  font-weight:300;
  line-height:1.4;
}
.pillar p{
  margin:18px 0 0;
  color:var(--stone);
  font-size:13px;
  line-height:1.9;
  max-width:44ch;
}

/* team culture — dark, one paragraph and one number */
.culture{position:relative;overflow:hidden;background:var(--forge)}
.culture__grid{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(40px,6vw,96px);
  align-items:center;
}
.culture h2{color:var(--white)}
.culture p:not(.label){
  color:rgba(255,255,255,.45);
  font-size:14px;
  line-height:1.95;
  margin:28px 0 0;
  max-width:54ch;
}
.culture__stat{
  margin-top:44px;
  padding-top:30px;
  border-top:1px solid rgba(255,255,255,.14);
}
.culture__stat b{
  display:block;
  font-family:var(--display);
  font-size:clamp(28px,3.4vw,42px);
  font-weight:300;
  letter-spacing:.04em;
  color:var(--orange);
  line-height:1.1;
}
.culture__stat span{
  display:block;
  margin-top:14px;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.4);
}
.culture__media{position:relative;aspect-ratio:1672/940;overflow:hidden;background:var(--gunmetal)}
.culture__media img{display:block;width:100%;height:100%;object-fit:cover}

/* accreditations */
.accred{background:var(--gunmetal)}
.accred h2{color:var(--white)}
.accred__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);     /* six: two full rows */
  gap:1px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.1);
  margin-top:8px;
}
.accred__item{
  background:var(--gunmetal);
  padding:34px 26px;
  min-height:156px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:20px;
}
/* The logos (tools/import_accreditations.py), one colour, trimmed to their
   artwork and each sized by the tool to look even with the rest (their
   width and height attributes). They share a centre line in a band as tall
   as the tallest, so every name below starts on the same line. The empty
   slot stands in for any name without one. */
.accred__logo{display:flex;align-items:center;height:68px}
.accred__logo img{display:block;max-width:100%;height:auto}
.accred__mark{
  height:34px;
  width:100%;
  max-width:96px;
  background:rgba(255,255,255,.07);
  border:1px dashed rgba(255,255,255,.14);
}
.accred__name{
  font-size:10px;
  font-weight:400;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1.8;
  color:rgba(255,255,255,.62);
}
.accred__name em{
  display:block;
  font-style:normal;
  letter-spacing:.08em;
  text-transform:none;
  color:rgba(255,255,255,.34);
}
.accred__note{
  margin:40px 0 0;
  font-size:12px;
  letter-spacing:.06em;
  color:rgba(255,255,255,.4);
}

/* ============================================================
   SECTORS INDEX — tiles carry a project count
   ============================================================ */

.tile__meta{
  position:relative;
  z-index:2;
  display:block;
  margin-top:10px;
  font-size:9px;
  font-weight:400;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
}
.tile__body{position:relative;z-index:2}

/* ============================================================
   PRIVACY POLICY — a long document: the contents in a sticky column
   on the left on wide screens, the policy in a reading measure beside it
   ============================================================ */
.policy{background:var(--clarity);padding:clamp(56px,6vw,88px) 0 var(--pad)}
.policy__grid{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2.4fr);gap:clamp(40px,6vw,110px);align-items:start}
.policy__toc{position:sticky;top:130px;padding-top:6px}
.policy__toc ol{list-style:none;margin:22px 0 0;padding:0;counter-reset:toc;border-top:1px solid rgba(181,176,169,.55)}
.policy__toc li{counter-increment:toc;border-bottom:1px solid rgba(181,176,169,.55)}
.policy__toc a{display:flex;gap:14px;padding:10px 0;font-size:11px;letter-spacing:.04em;line-height:1.5;color:var(--gunmetal);transition:color .3s var(--ease)}
.policy__toc a::before{content:counter(toc,decimal-leading-zero);flex:none;width:20px;font-size:9px;font-weight:500;letter-spacing:.16em;line-height:1.5rem;color:var(--concrete)}
.policy__toc a:hover{color:var(--orange)}
.policy__doc{max-width:68ch}
.policy__updated{margin:0 0 8px;font-size:10px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--orange)}
.policy__sec{padding-top:44px;scroll-margin-top:110px}
.policy__sec + .policy__sec{margin-top:44px;border-top:1px solid rgba(181,176,169,.55)}
.policy__doc h2{font-size:clamp(15px,1.5vw,19px);letter-spacing:.08em;font-weight:300;margin:0 0 22px}
.policy__doc h3{font-family:var(--body);font-size:10px;font-weight:500;letter-spacing:.22em;line-height:1.6;text-transform:uppercase;color:var(--gunmetal);margin:30px 0 12px}
.policy__doc p,
.policy__doc li{font-size:14px;line-height:1.9;color:var(--gunmetal)}
.policy__doc p{margin:0 0 18px}
.policy__doc ul{margin:0 0 18px;padding:0;list-style:none}
.policy__doc li{position:relative;padding-left:22px;margin-bottom:6px}
.policy__doc li::before{content:"";position:absolute;left:0;top:.95em;width:10px;height:1px;background:var(--orange)}
.policy__doc a{color:var(--forge);border-bottom:1px solid rgba(232,96,10,.6);transition:color .3s var(--ease)}
.policy__doc a:hover{color:var(--orange)}
.policy__doc .tbc{display:block;margin:10px 0 18px}
.policy__doc .tbc--inline{display:inline;margin:0;padding:2px 8px;border-left:0;border-bottom:1px solid var(--orange);font-size:inherit;line-height:inherit}
.policy__doc .tbc--inline b{display:inline;margin:0 6px 0 0}
@media (max-width:860px){
  .policy__grid{grid-template-columns:1fr;gap:20px}
  .policy__toc{position:static}
  .policy__toc ol{columns:2;column-gap:20px}
  .policy__toc li{break-inside:avoid}
}
@media (max-width:600px){
  .policy__toc ol{columns:1}
  .policy__doc p,.policy__doc li{font-size:13.5px}
}

/* sector page description */
.sector__body{background:var(--clarity)}
.sector__body .prose{max-width:62ch}
.sector__body .prose p{
  color:var(--gunmetal);
  font-size:14px;
  line-height:1.95;
  margin:0 0 26px;
}
.sector__body .prose p:last-child{margin-bottom:0}

/* A sector shown by selected work rather than projects (Retail): the
   page hero carries the heading and the client's statement, the overview
   sits beside the capabilities, then each piece of work in turn. */
.sector__intro .phero__sub{max-width:60ch;font-size:15px}
.sector__intro + .sector__body{padding-top:0}
.overview{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:clamp(48px,7vw,120px);
  align-items:start;
  padding-top:clamp(48px,5.6vw,80px);
  border-top:1px solid rgba(181,176,169,.45);
}
.overview .prose{max-width:62ch}
.caps{list-style:none;margin:0;padding:0;border-top:1px solid rgba(181,176,169,.45)}
.caps li{
  display:flex;
  gap:20px;
  align-items:baseline;
  padding:18px 0;
  border-bottom:1px solid rgba(181,176,169,.45);
  font-size:11px;
  font-weight:500;
  letter-spacing:.14em;
  line-height:1.6;
  text-transform:uppercase;
  color:var(--forge);
}
.caps__n{flex:none;width:2ch;font-size:9px;letter-spacing:.22em;color:var(--orange)}

.rwork{background:var(--white)}
.rwork__item{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2.4fr);
  gap:clamp(32px,5vw,80px);
  align-items:start;
  padding:clamp(40px,4.4vw,64px) 0;
  border-top:1px solid rgba(181,176,169,.45);
}
.rwork__item:last-child{padding-bottom:0}
.rwork__text{position:sticky;top:130px}
.rwork__n{display:block;font-size:9px;font-weight:500;letter-spacing:.22em;color:var(--orange);margin-bottom:20px}
.rwork__name{
  font-size:clamp(15px,1.5vw,19px);
  font-weight:300;
  letter-spacing:.1em;
  line-height:1.45;
  max-width:22ch;
}
.rwork__where{
  margin:14px 0 0;
  color:var(--stone);
  font-size:12px;
  line-height:1.8;
  max-width:30ch;
}
/* a precinct's building: stage, address, size and status, then a paragraph */
.rwork__facts{list-style:none;margin:16px 0 0;padding:0;max-width:30ch}
.rwork__facts li{
  padding:9px 0;
  border-bottom:1px solid rgba(181,176,169,.45);
  font-size:10px;
  font-weight:500;
  letter-spacing:.16em;
  line-height:1.6;
  text-transform:uppercase;
  color:var(--forge);
}
.rwork__facts li:first-child{color:var(--orange)}
.rwork__desc{margin:20px 0 0;color:var(--stone);font-size:13px;line-height:1.8;max-width:34ch}
/* pictures at their own shape: one fills the column; three put the first
   at two thirds, the other two stacked beside it. The stack sets the
   height and the first covers it (three 4:3 pictures meet but for the
   gap, a few pixels' crop). */
.rwork__media{display:grid;grid-template-columns:1fr 1fr;gap:clamp(10px,1vw,16px)}
.rwork__media figure{margin:0;overflow:hidden;background:var(--clarity);grid-column:span 2}
.rwork__media--n3{grid-template-columns:2fr 1fr}
.rwork__media--n3 figure:first-child{grid-column:1;grid-row:span 2;position:relative}
.rwork__media--n3 figure:nth-child(n+2){grid-column:2}
.rwork__media--n3 figure:first-child img{position:absolute;inset:0;height:100%;object-fit:cover}
.rwork__media figure img{display:block;width:100%;height:auto;transition:transform 1.1s var(--ease)}
.rwork__media figure.is-zoomable{cursor:zoom-in}
.rwork__media figure.is-zoomable:hover img{transform:scale(1.04)}
.rwork__media .ph{position:relative;inset:auto;grid-column:span 2;aspect-ratio:16/10}

@media (max-width:860px){
  .overview,
  .rwork__item{grid-template-columns:1fr}
  .rwork__text{position:static}
}
@media (max-width:600px){
  .rwork__media--n3{grid-template-columns:1fr 1fr}
  .rwork__media--n3 figure:first-child{grid-column:1/-1;grid-row:auto}
  .rwork__media--n3 figure:first-child img{position:static;height:auto}
  .rwork__media--n3 figure:nth-child(n+2){grid-column:auto}
}

/* ============================================================
   CONTACT — form left, direct detail right
   ============================================================ */

.contact{background:var(--clarity);padding-top:clamp(40px,5vw,64px)}
.contact__grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:clamp(44px,6vw,110px);
  align-items:start;
}

.field{margin-bottom:26px}
.field label{
  display:block;
  margin-bottom:11px;
  font-size:9px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--gunmetal);
}
.field label span{color:var(--orange)}
.field input,
.field select,
.field textarea{
  width:100%;
  padding:15px 16px;
  border:1px solid rgba(181,176,169,.7);
  border-radius:0;
  background:var(--white);
  color:var(--forge);
  font-family:var(--body);
  font-size:13px;
  font-weight:400;
  line-height:1.6;
  letter-spacing:.03em;
  transition:border-color .4s var(--ease);
  -webkit-appearance:none;
  appearance:none;
}
.field textarea{min-height:168px;resize:vertical}
.field select{
  background-image:linear-gradient(45deg,transparent 50%,var(--orange) 50%),linear-gradient(135deg,var(--orange) 50%,transparent 50%);
  background-position:calc(100% - 20px) calc(50% + 1px),calc(100% - 14px) calc(50% + 1px);
  background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;
  padding-right:44px;
}
.field input:focus,
.field select:focus,
.field textarea:focus{border-color:var(--orange);outline:none}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible{outline:none}
.field__row{display:grid;grid-template-columns:1fr 1fr;gap:0 26px}

.form__foot{margin-top:12px}
.form__privacy{margin:18px 0 0;max-width:52ch;font-size:11px;line-height:1.8;color:rgba(46,46,48,.7)}
.form__privacy a{color:var(--gunmetal);border-bottom:1px solid rgba(232,96,10,.6)}
.form__privacy a:hover{color:var(--orange)}
.form__note{
  margin:26px 0 0;
  padding:18px 20px;
  border-left:2px solid var(--orange);
  background:rgba(232,96,10,.06);
  font-size:12px;
  line-height:1.8;
  color:var(--gunmetal);
}

.detailblock + .detailblock{margin-top:44px;padding-top:44px;border-top:1px solid rgba(181,176,169,.5)}
.detailblock h2{font-size:clamp(14px,1.4vw,17px);letter-spacing:.1em}
.detailblock address,
.detailblock p{
  font-style:normal;
  margin:20px 0 0;
  font-size:13px;
  line-height:1.95;
  letter-spacing:.04em;
  color:var(--gunmetal);
}
.detailblock a{color:var(--orange);border-bottom:1px solid transparent;transition:border-color .4s var(--ease)}
.detailblock a:hover{border-bottom-color:var(--orange)}

.social{display:flex;gap:14px;margin-top:22px;list-style:none;padding:0}
.social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;height:42px;
  border:1px solid rgba(181,176,169,.7);
  color:var(--gunmetal);
  transition:border-color .4s var(--ease),color .4s var(--ease);
}
.social a:hover{border-color:var(--orange);color:var(--orange)}
.social svg{width:15px;height:15px;fill:currentColor;display:block}
.social a[aria-disabled="true"]{opacity:.45;pointer-events:none}

/* ============================================================
   RESPONSIVE — inner pages
   ============================================================ */

@media (max-width:1100px){
  .detail__grid{grid-template-columns:1fr}
  .detail__grid .pdata{margin-top:6px}
  .accred__grid{grid-template-columns:repeat(2,1fr)}
  .narrative__grid{grid-template-columns:1fr;gap:32px}
  .narrative__head{position:static}
  .culture__grid{grid-template-columns:1fr;gap:44px}
  .contact__grid{grid-template-columns:1fr;gap:56px}
  .gallery{grid-template-columns:repeat(4,1fr)}
  .gallery figure:nth-child(1){grid-column:span 4}
  .gallery figure:nth-child(2){grid-column:span 2;aspect-ratio:4/3}
  .gallery--n1 figure:nth-child(1){grid-column:span 4}
  .gallery--n2 figure:nth-child(n),
  .gallery--n3 figure:nth-child(n),
  .gallery--n4 figure:nth-child(n){grid-column:span 2;aspect-ratio:4/3}
  .gallery--n3 figure:nth-child(1),
  .gallery--n4 figure:nth-child(1){grid-column:span 4;aspect-ratio:16/10}
}

@media (max-width:860px){
  .phero__rule--tl{display:none}
  .pillars{grid-template-columns:1fr}
  .timeline li{grid-template-columns:1fr;gap:12px}
  .timeline__title{padding-top:0}
}

@media (max-width:600px){
  .phero{padding-top:132px}
  .phero h1{letter-spacing:.05em;max-width:none}
  .lead{height:58vh}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .gallery figure,
  .gallery figure:nth-child(1),
  .gallery figure:nth-child(2){grid-column:span 2;aspect-ratio:4/3}
  /* two to a row still: one to a row made each logo a screen-tall tile */
  .accred__item{padding:24px 16px;min-height:136px;gap:16px}
  .accred__logo{height:56px}
  .accred__name{letter-spacing:.1em}
  .field__row{grid-template-columns:1fr;gap:0}
  .pgroup__head{margin-bottom:32px}
}

/* the dark page hero (Our Story): the Careers hero's ground and warm,
   moving glow, for contrast against the light sections below */
.phero--dark{background:var(--forge)}
.phero--dark .phero__glow{
  background:
    radial-gradient(34% 46% at 80% 30%, rgba(232,96,10,.30) 0%, rgba(232,96,10,0) 70%),
    radial-gradient(40% 46% at 8% 80%, rgba(232,96,10,.12) 0%, rgba(232,96,10,0) 70%);
}
.phero--dark .phero__rule{opacity:.6}
.phero--dark h1{color:var(--white)}
.phero--dark .phero__sub{color:rgba(255,255,255,.7)}
.phero.phero--dark::after{opacity:.11}

/* ============================================================
   CAREERS
   The page opens on its one statistic and builds from it: one in five
   of the people here have been here ten years or more. Continuity is the
   working philosophy, so the hero shows it as a figure rather than
   asserting it — then the page explains it, then shows the two ways in.
   ============================================================ */

/* ---------- 01 · hero: the tenure field ---------- */
.chero{
  position:relative;
  overflow:hidden;
  background:var(--forge);
  padding-top:clamp(180px,18vw,240px);
  padding-bottom:clamp(80px,9vw,128px);
  color:var(--white);
}
/* the homepage hero's warm wash, carried low and right behind the field */
.chero__glow{
  position:absolute;
  inset:-25%;
  pointer-events:none;
  filter:blur(90px);
  background:
    radial-gradient(34% 44% at 74% 58%, rgba(232,96,10,.30) 0%, rgba(232,96,10,0) 70%),
    radial-gradient(40% 46% at 8% 12%, rgba(232,96,10,.12) 0%, rgba(232,96,10,0) 70%);
}
.chero .wrap{position:relative;z-index:2}

/* on the menu bar's four columns: words in the left two, figure the right */
.chero__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:end;
}
.chero__text{grid-column:1 / 3;padding-right:clamp(24px,3vw,48px)}
.chero h1{
  font-size:clamp(26px,4.3vw,54px);
  letter-spacing:.06em;
  line-height:1.06;
  color:var(--white);
}
.chero__stat{margin:clamp(48px,5vw,72px) 0 0}
.chero__stat b{
  display:block;
  font-family:var(--display);
  font-stretch:125%;
  font-weight:200;
  font-size:clamp(72px,8.4vw,124px);
  letter-spacing:.02em;
  line-height:.9;
  color:var(--orange);
}
.chero__stat span{
  display:block;
  max-width:30ch;
  margin-top:22px;
  font-size:14px;
  line-height:1.85;
  color:rgba(255,255,255,.62);
}

.chero__figure{grid-column:3 / 5;margin:0}
/* 21 x 15: 315 squares, one per person. Hairline squares, the lattice
   vocabulary of the stats grid; the long-serving ones fill orange. */
.tfield{
  display:grid;
  grid-template-columns:repeat(21,minmax(0,1fr));
  gap:clamp(4px,.45vw,7px);
}
.tfield.reveal{opacity:1;transform:none}   /* its squares do the arriving */
.tfield i{
  aspect-ratio:1;
  border:1px solid rgba(255,255,255,.2);
  opacity:0;
  transform:scale(.4);
  /* a diagonal sweep from the top left, square by square... */
  transition:
    opacity .5s var(--ease) calc(var(--d) * 26ms),
    transform .5s var(--ease) calc(var(--d) * 26ms),
    /* ...then, once it has crossed, the 63 light one after another */
    background-color .35s var(--ease) calc(1.25s + var(--o, 0) * 32ms),
    border-color .35s var(--ease) calc(1.25s + var(--o, 0) * 32ms);
}
.tfield.is-in i{opacity:1;transform:none}
.tfield.is-in i.t{background:var(--orange);border-color:var(--orange)}

.chero__figure figcaption{
  display:flex;
  gap:12px;
  margin-top:22px;
  font-size:11px;
  line-height:1.7;
  letter-spacing:.02em;
  color:rgba(255,255,255,.45);
  max-width:46ch;
}
.chero__figure figcaption::before{
  content:"";
  flex:none;
  width:9px;height:9px;
  margin-top:4px;
  background:var(--orange);
}

/* ---------- 02 · continuity ---------- */
.cont{background:var(--white);--hairline:rgba(181,176,169,.6)}
/* on a hairline: the two paragraphs, the first, the principle, set
   larger; beside them the office entrance, whole so its signage reads */
.cont__grid{
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(40px,6vw,110px);
  align-items:start;
  padding-top:clamp(28px,3vw,44px);
  border-top:1px solid var(--hairline);
}
.cont__grid p{
  margin:0;
  max-width:54ch;
  font-size:14px;
  line-height:1.9;
  color:var(--gunmetal);
}
.cont__grid p.cont__lead{
  max-width:32ch;
  font-size:clamp(18px,1.7vw,23px);
  font-weight:300;
  line-height:1.5;
  color:var(--forge);
}
.cont__text p + p{margin-top:28px}
/* The column runs the photo's height: the principle on its top edge, and
   the link to the opportunities below on its base, so the text squares off
   with the picture on both lines (left to their own height, the paragraphs
   stopped well short of its foot). */
.cont__text{align-self:stretch;display:flex;flex-direction:column}
.cont__cta{align-self:flex-start;margin-top:auto;padding-top:40px}
.cont__media{background:var(--gunmetal)}
.cont__media picture,
.cont__media img{display:block;width:100%;height:auto}

/* section numbers in the label: 01 Graduate Program, 02, 03 */
.sec__n{color:var(--orange);margin-right:14px}

/* ---------- 03 · graduate program ---------- */
.grad{background:var(--clarity)}
.grad__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:clamp(40px,6vw,110px);
  align-items:start;
}
.grad__head h2{max-width:16ch}
.grad__body > p{
  margin:0 0 22px;
  max-width:56ch;
  font-size:14px;
  line-height:1.95;
  color:var(--gunmetal);
}
.grad__body > p:first-child{
  font-size:clamp(17px,1.5vw,21px);
  font-weight:300;
  line-height:1.55;
  color:var(--forge);
  max-width:34ch;
  margin-bottom:28px;
}
.grad__info{
  margin-top:clamp(28px,3vw,44px);
  padding:24px 0 0;
  border-top:1px solid rgba(181,176,169,.6);
  max-width:56ch;
}
.grad__info .label{margin:0 0 12px}
.grad__info p:last-child{margin:0;font-size:13px;line-height:1.85;color:var(--gunmetal)}
.grad__info a{color:var(--orange);text-decoration:underline;text-underline-offset:3px}

/* ---------- 04 · career pathways ---------- */
.paths{background:var(--white);--hair:rgba(181,176,169,.6)}
.paths__intro{
  columns:2;
  column-gap:clamp(40px,5vw,80px);
  max-width:1040px;
}
.paths__intro p{
  break-inside:avoid;
  margin:0 0 20px;
  font-size:14px;
  line-height:1.9;
  color:var(--gunmetal);
}
.paths__intro p:first-child{
  font-size:clamp(17px,1.5vw,21px);
  font-weight:300;
  line-height:1.5;
  color:var(--forge);
}
.paths__sub{
  margin:clamp(72px,8vw,128px) 0 clamp(32px,3.4vw,56px);
  padding-top:clamp(28px,3vw,44px);
  border-top:1px solid rgba(181,176,169,.6);
  font-size:10px;
  font-weight:500;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--forge);
}
/* the eight areas: a ring of matching frosted-glass cards over a slow,
   soft glow, hairlines behind the cards joining the areas that connect.
   The chosen area turns to dark glass with an orange light drifting inside
   it; its lines light and the areas it connects to take an orange edge.
   Its detail sits beside the ring. On a phone: a grid of cards, no lines. */
.ring{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:clamp(48px,6vw,112px);
  align-items:center;
}
.ring__map{position:relative;aspect-ratio:1.25/1;width:100%;max-width:740px}
.ring__glow{
  position:absolute;
  inset:6% 4%;
  pointer-events:none;
  background:
    radial-gradient(38% 44% at 36% 42%,rgba(232,96,10,.30),rgba(232,96,10,0) 70%),
    radial-gradient(42% 48% at 66% 62%,rgba(46,46,48,.16),rgba(46,46,48,0) 70%),
    radial-gradient(30% 34% at 60% 30%,rgba(255,122,26,.16),rgba(255,122,26,0) 70%);
  filter:blur(8px);
}
.ring__lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ring__lines line{
  stroke:rgba(46,46,48,.26);
  stroke-width:1;
  vector-effect:non-scaling-stroke;
  transition:stroke .5s var(--ease),stroke-width .5s var(--ease),opacity .5s var(--ease);
}
.ring.is-chosen .ring__lines line{opacity:.6}
/* the chosen area's links, drawn over the hairlines: when the choice
   moves, each swings across to its new place (site.js) */
.ring .ring__lines .ring__live line{stroke:var(--orange);stroke-width:1.5;opacity:1;transition:none}
.ring__hub{position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;background:var(--orange);transform:rotate(45deg)}

.rnode{
  all:unset;
  box-sizing:border-box;
  position:absolute;
  left:calc(var(--x) * 1%);
  top:calc(var(--y) * 1%);
  transform:translate(-50%,-50%);
  width:clamp(164px,13vw,176px);
  height:74px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:0 18px;
  overflow:hidden;
  isolation:isolate;
  cursor:pointer;
  color:var(--forge);
  background:linear-gradient(160deg,rgba(255,255,255,.66),rgba(255,255,255,.34));
  -webkit-backdrop-filter:blur(14px) saturate(150%);
  backdrop-filter:blur(14px) saturate(150%);
  border:1px solid rgba(255,255,255,.8);
  box-shadow:0 0 0 1px rgba(181,176,169,.38),0 14px 32px -22px rgba(15,15,15,.45),inset 0 1px 0 rgba(255,255,255,.9);
  transition:color .5s var(--ease),background .5s var(--ease),border-color .5s var(--ease),box-shadow .5s var(--ease);
}
.rnode__n,.rnode__name{position:relative;z-index:1}
.rnode__n{font-family:var(--display);font-stretch:125%;font-weight:300;font-size:11px;letter-spacing:.14em;color:var(--orange)}
.rnode__name{font-size:10px;font-weight:500;letter-spacing:.14em;line-height:1.5;text-transform:uppercase}
.rnode:hover{box-shadow:0 0 0 1px rgba(46,46,48,.45),0 16px 34px -22px rgba(15,15,15,.5),inset 0 1px 0 rgba(255,255,255,.9)}
.rnode:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.rnode.is-near{box-shadow:0 0 0 1px rgba(232,96,10,.75),0 14px 32px -22px rgba(15,15,15,.45),inset 0 1px 0 rgba(255,255,255,.9)}
/* the chosen area: dark glass, an orange light drifting inside it */
.rnode::before{
  content:"";
  position:absolute;
  left:-30%;top:-60%;
  width:110%;height:220%;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(closest-side,rgba(255,122,26,.55),rgba(232,96,10,.2) 50%,rgba(232,96,10,0) 100%);
  mix-blend-mode:screen;
  opacity:0;
  transition:opacity .6s var(--ease);
}
.rnode[aria-expanded="true"]{
  color:var(--white);
  background:linear-gradient(160deg,rgba(46,46,48,.86),rgba(15,15,15,.78));
  border-color:rgba(255,255,255,.14);
  box-shadow:0 0 0 1px rgba(15,15,15,.5),0 20px 40px -20px rgba(15,15,15,.6),inset 0 1px 0 rgba(255,255,255,.12);
}
.rnode[aria-expanded="true"]::before{opacity:.75}
.rnode[aria-expanded="true"] .rnode__n{color:#FF9A4D}
@media (prefers-reduced-motion:no-preference){
  .ring__glow{animation:ring-drift 22s ease-in-out infinite alternate}
  .rnode[aria-expanded="true"]::before{animation:rnode-light 7s ease-in-out infinite alternate}
}
@keyframes ring-drift{from{transform:translate(-3%,2%) scale(1)}to{transform:translate(3%,-2%) scale(1.06)}}
@keyframes rnode-light{
  0%{transform:translate(-10%,-6%) scale(.85)}
  50%{transform:translate(55%,10%) scale(1.1)}
  100%{transform:translate(20%,-12%) scale(.95)}
}

/* the chosen area's detail */
.ring__detail{align-self:center;align-items:start}
.path__kicker{margin:0;font-family:var(--display);font-stretch:125%;font-size:12px;letter-spacing:.14em;color:var(--orange)}
.path__title{
  margin:14px 0 0;
  font-stretch:125%;
  font-weight:300;
  font-size:clamp(18px,1.8vw,24px);
  letter-spacing:.06em;
  line-height:1.3;
  text-transform:uppercase;
  color:var(--forge);
}
.path__panel > p:not(.path__kicker){margin:20px 0 0;max-width:50ch;font-size:13px;line-height:1.9;color:var(--gunmetal)}
.path__roles,.path__links{margin-top:40px}
.path__roles .label,.path__links .label{margin:0 0 14px}
.path__roles ul{list-style:none;margin:0;padding:0;border-top:1px solid rgba(181,176,169,.7)}
.path__roles li{
  padding:12px 0;
  border-bottom:1px solid rgba(181,176,169,.7);
  font-size:10px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--forge);
}
.path__links div{display:flex;flex-direction:column;border-top:1px solid rgba(181,176,169,.7)}
.ring__go{
  all:unset;
  box-sizing:border-box;
  cursor:pointer;
  padding:12px 0;
  border-bottom:1px solid rgba(181,176,169,.7);
  font-size:10px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--forge);
  transition:color .3s var(--ease);
}
.ring__go em{font-style:normal;color:var(--orange);margin-right:12px}
.ring__go::after{content:"\2192";float:right;color:var(--orange);transition:transform .3s var(--ease)}
.ring__go:hover,.ring__go:focus-visible{color:var(--orange)}
.ring__go:hover::after{transform:translateX(3px)}
/* with script, every area's detail shares one space, as tall as the
   longest, and they crossfade: choosing an area never moves the page */
.path__panel + .path__panel{margin-top:56px}
.ring.is-live .ring__detail{display:grid}
.ring.is-live .path__panel{
  grid-area:1 / 1;
  margin:0;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .35s var(--ease),transform .35s var(--ease),visibility 0s linear .35s;
}
.ring.is-live .path__panel.is-open{
  opacity:1;
  visibility:visible;
  transform:none;
  transition:opacity .5s var(--ease) .15s,transform .5s var(--ease) .15s,visibility 0s;
}
@media (prefers-reduced-motion:reduce){
  .ring.is-live .path__panel,.ring.is-live .path__panel.is-open{transition:none;transform:none}
  .ring__lines line,.rnode,.rnode::before{transition:none}
}
/* The ring needs room. Its cards sit 26% of the map apart across the
   diagonals, so beside the detail the map has to be about 700px wide or
   neighbouring cards touch. Up to 1600px the ring takes more of the row to
   get it; below 1280px it can't, and stacks above the detail; on a phone it
   becomes a grid of cards. */
@media (max-width:1599px){
  .ring{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}
}
@media (max-width:1279px){
  .ring{grid-template-columns:1fr;gap:56px}
  /* Stacked, the ring takes the width and is never taller than the screen
     below the menu bar, so it can be seen whole on a tablet or an unfolded
     phone held sideways. On a short screen it widens into an ellipse rather
     than shrinking, so the cards keep their size and their distance; the
     lines are drawn in percentages of the map, so they follow it. */
  .ring__map{
    justify-self:center;
    width:100%;
    max-width:860px;
    aspect-ratio:auto;
    height:min(72vw, 100svh - 140px, 688px);
  }
}
/* the cards sit at 13% and 87% across: below about 700px of map the outer
   ones would run off its edges, so it becomes the grid of cards */
@media (max-width:760px){
  .ring__map{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:20px 0}
  .ring__lines,.ring__hub{display:none}
  .ring__glow{inset:0}
  .rnode{position:relative;left:auto;top:auto;transform:none;width:auto;height:76px;padding:0 14px}
  .rnode__name{font-size:9px;letter-spacing:.1em}
}

.paths__close{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:clamp(40px,6vw,110px);
  margin-top:clamp(64px,7vw,112px);
  padding-top:clamp(32px,3vw,48px);
  border-top:1px solid var(--hair);
}
.paths__close h3{
  margin:0;
  font-stretch:125%;
  font-weight:300;
  font-size:clamp(18px,1.9vw,26px);
  letter-spacing:.06em;
  line-height:1.25;
  text-transform:uppercase;
  color:var(--forge);
  max-width:16ch;
}
.paths__close p{margin:0 0 20px;max-width:56ch;font-size:14px;line-height:1.9;color:var(--gunmetal)}
.paths__close p:first-child{font-size:clamp(17px,1.5vw,21px);font-weight:300;line-height:1.5;color:var(--forge)}
.paths__close p.paths__last{
  margin:28px 0 0;
  padding-left:18px;
  border-left:2px solid var(--orange);
  font-size:clamp(15px,1.3vw,18px);
  color:var(--forge);
}

/* ---------- 05 · future leaders forum ---------- */
.forum{background:var(--clarity)}
.forum__grid{
  columns:2;
  column-gap:clamp(40px,5vw,80px);
  max-width:1040px;
}
.forum__grid p{break-inside:avoid;margin:0 0 22px;font-size:14px;line-height:1.9;color:var(--gunmetal)}
.forum__grid p:first-child{font-size:clamp(17px,1.5vw,21px);font-weight:300;line-height:1.5;color:var(--forge)}
.forum__close{
  margin:clamp(40px,4vw,64px) 0 0;
  padding-top:clamp(24px,2.4vw,36px);
  border-top:1px solid rgba(181,176,169,.6);
  font-stretch:125%;
  font-weight:300;
  font-size:clamp(20px,2.4vw,34px);
  letter-spacing:.04em;
  line-height:1.25;
  text-transform:uppercase;
  color:var(--forge);
  max-width:24ch;
}

@media (max-width:860px){
  .chero__grid{grid-template-columns:1fr;row-gap:56px}
  .chero__text,
  .chero__figure{grid-column:auto;padding-right:0}
  .cont__grid{grid-template-columns:1fr;gap:40px}
  .cont__text p + p{margin-top:24px}
  .cont__cta{padding-top:32px}
  .grad__grid,
  .paths__close{grid-template-columns:1fr;gap:28px}
  .grad__head h2{max-width:none}
  .paths__intro{columns:1}
  .forum__grid{columns:1}
}
/* ============================================================
   PROJECT MAPS — Leaflet, drawn by site.js from the register's
   coordinates. Hard edges throughout: the library's rounded
   controls and popups are squared off here.
   ============================================================ */
.detail__side{min-width:0}
.pmap{
  position:relative;
  /* Leaflet stacks its panes at z-index 400 and up; isolating the map
     keeps those inside it, under the fixed header and the menu sheet */
  isolation:isolate;
  margin-top:28px;
  border:1px solid rgba(181,176,169,.5);
  background:var(--forge);
}
.pmap__canvas{height:clamp(240px,22vw,320px);background:var(--forge)}
.pmap-sec .pmap{margin-top:0}
.pmap-sec .pmap__canvas{height:clamp(360px,42vw,600px)}
.pmap__out{margin:16px 0 0}

/* markers: the portfolio as small orange dots; the project in focus as
   the timeline's square node */
.pin{
  box-sizing:border-box;
  transition:transform .3s var(--ease);
}
.pin--dot{
  border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 0 3px rgba(232,96,10,.16);
}
.pin--dot:hover{transform:scale(1.6)}
.pin--ctx{opacity:.6}
.pin--focus{
  background:var(--orange);
  border:1px solid var(--orange);
  box-shadow:0 0 0 6px rgba(232,96,10,.22);
}

.pmap__legend{
  display:flex;
  gap:28px;
  list-style:none;
  margin:16px 0 0;
  padding:0;
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--concrete);
}
.pmap__legend li{display:flex;align-items:center;gap:10px}
.pmap__legend li::before{content:"";width:9px;height:9px;box-sizing:border-box;
  border:1px solid var(--orange);background:var(--orange)}
.pmap__legend li.is-current::before{background:transparent}

/* Leaflet, squared and darkened */
.pmap .leaflet-container{font-family:var(--body);background:var(--forge)}
/* the dark grey canvas, pulled down toward Forge; labels left as they are */
.pmap .pmap__base{filter:brightness(.62) contrast(1.15) saturate(0)}
.pmap .pmap__labels{opacity:.8}
.pmap .leaflet-bar{border:1px solid rgba(255,255,255,.18);border-radius:0;box-shadow:none}
.pmap .leaflet-bar a{
  width:30px;height:30px;line-height:30px;
  border-radius:0 !important;
  background:rgba(15,15,15,.9);
  color:var(--white);
  border-bottom-color:rgba(255,255,255,.18);
  font-weight:300;
}
.pmap .leaflet-bar a:hover{background:var(--orange);color:var(--white)}
.pmap .leaflet-control-attribution{
  background:rgba(15,15,15,.72);
  color:rgba(255,255,255,.45);
  font-size:9px;
}
.pmap .leaflet-control-attribution a{color:rgba(255,255,255,.65)}
.pmap .leaflet-popup-content-wrapper{
  border-radius:0;
  background:var(--forge);
  color:var(--white);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}
.pmap .leaflet-popup-tip{background:var(--forge);box-shadow:none}
.pmap .leaflet-popup-content{margin:14px 16px}
.pmap__pop{display:block;color:var(--white)}
.pmap__pop b{
  display:block;
  font-family:var(--display);
  font-stretch:125%;
  font-weight:300;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.pmap__pop span{display:block;margin-top:6px;font-size:11px;color:rgba(255,255,255,.55)}
.pmap__pop em{
  display:block;
  margin-top:10px;
  font-style:normal;
  font-size:9px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--orange);
}

/* A combined project's parts (Elysium Fields' towers), one line each */
.parts{
  width:100%;
  margin-top:28px;
  border-collapse:collapse;
  font-size:12px;
  letter-spacing:.03em;
  color:var(--gunmetal);
}
.parts th,.parts td{
  padding:12px 12px 12px 0;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid rgba(181,176,169,.35);
}
.parts thead th{
  padding-top:0;
  font-size:9px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--orange);
  border-bottom-color:rgba(181,176,169,.6);
}
.parts tbody th{font-weight:500;color:var(--forge)}
@media (max-width:600px){
  .parts thead th:nth-child(3),.parts td:nth-child(3){display:none}
}

/* Sector icons (brand/icons/sectors), inlined: lines take the text colour,
   the accent stays orange. Hairline at any size: the stroke is scaled with
   the icon, 1.5 on a 48 grid. */
.sicon{display:block;flex:none;overflow:visible}
.tile__icon{width:40px;height:40px;margin-bottom:18px;color:var(--white)}
.tile__body{display:flex;flex-direction:column;align-items:flex-start}
.sector__title{display:flex;align-items:center;gap:clamp(18px,2vw,28px)}
/* set as a heading, not at the body's 1.85: a sector name wraps on
   tablets and phones */
.sector__title h1{line-height:1.25}
/* on a phone the icon sits above the heading, so the longest sector words
   (INFRASTRUCTURE, CONSTRUCTION) have the full measure */
@media (max-width:600px){
  .sector__title{flex-direction:column;align-items:flex-start;gap:18px}
  .sector__title h1{font-size:clamp(19px,6.1vw,26px)}
}
.sector__icon{width:clamp(48px,4.6vw,64px);height:clamp(48px,4.6vw,64px);color:var(--forge)}

/* The icons draw themselves in. Each stroke is normalised to length 1
   (pathLength in the markup), so a single dash of 1 offset by 1 hides it
   and offset 0 draws it, tracing every line of the icon in turn; the
   orange accent follows once the lines are down, as the final touch.
   On the sector tiles and homepage slices that happens on hover and unwinds on leave; beside
   a sector page's heading it happens once, as the heading arrives. Touch
   screens never hover, so they keep the icons drawn; so does reduced
   motion. */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .tile__icon,
  .slice__icon,
  .sector__icon{opacity:0;transition:opacity .25s var(--ease) .35s}
  .tile__icon path,
  .slice__icon path,
  .sector__icon path{
    stroke-dasharray:1 1;
    stroke-dashoffset:1;
    transition:stroke-dashoffset .45s var(--ease);
  }
  /* drawn */
  .tile:hover .tile__icon,
  .tile:focus-visible .tile__icon,
  .slice:hover .slice__icon,
  .slice:focus-visible .slice__icon,
  .sector__title.is-in .sector__icon{opacity:1;transition-delay:0s}
  .tile:hover .tile__icon .sicon__line,
  .tile:focus-visible .tile__icon .sicon__line,
  .slice:hover .slice__icon .sicon__line,
  .slice:focus-visible .slice__icon .sicon__line,
  .sector__title.is-in .sector__icon .sicon__line{
    stroke-dashoffset:0;
    transition:stroke-dashoffset .9s cubic-bezier(.45,0,.2,1) .05s;
  }
  .tile:hover .tile__icon .sicon__accent,
  .tile:focus-visible .tile__icon .sicon__accent,
  .slice:hover .slice__icon .sicon__accent,
  .slice:focus-visible .slice__icon .sicon__accent,
  .sector__title.is-in .sector__icon .sicon__accent{
    stroke-dashoffset:0;
    transition:stroke-dashoffset .5s cubic-bezier(.3,0,.2,1) .5s;
  }
  .sector__title.is-in .sector__icon .sicon__line{transition-delay:.35s}
  .sector__title.is-in .sector__icon .sicon__accent{transition-delay:.8s}
}

/* ============================================================
   HERO FOOTAGE — option A: the footage fills the hero, darkened so the
   statement reads, fading into the stats band below; the device stays
   frosted glass, refracting the moving image behind it. Stills drift
   slowly until a clip exists; a clip plays over its still.
   ============================================================ */
.hero__media{position:absolute;inset:0;pointer-events:none;overflow:hidden;
  filter:saturate(.85) brightness(.62)}
.hero__slide{position:absolute;inset:-5%;opacity:0;transition:opacity 1.6s var(--ease)}
.hero__slide.is-on{opacity:1}
.hero__slide img,.hero__slide video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__slide video{opacity:0;transition:opacity .8s var(--ease)}
.hero__slide video.is-playing{opacity:1}
.hero__slide img{animation:hero-drift 26s ease-in-out infinite alternate;will-change:transform}
.hero__slide.has-video img{animation:none}
@keyframes hero-drift{from{transform:scale(1) translate3d(0,0,0)}to{transform:scale(1.07) translate3d(-1.5%,-1%,0)}}
.hero .hero__glow{opacity:.35;mix-blend-mode:screen}
.hero__shade{position:absolute;inset:0;pointer-events:none;background:
   radial-gradient(58% 52% at 50% 54%, rgba(15,15,15,.72) 0%, rgba(15,15,15,.42) 62%, rgba(15,15,15,.26) 100%),
   linear-gradient(to bottom, rgba(15,15,15,.6) 0%, rgba(15,15,15,0) 26%, rgba(15,15,15,0) 60%, #0F0F0F 100%)}
.hero__device-glass{
  -webkit-backdrop-filter:blur(26px) saturate(135%) brightness(1.22);
  backdrop-filter:blur(26px) saturate(135%) brightness(1.22);
  background:linear-gradient(215deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.02) 58%)}
.hero__sub{color:rgba(255,255,255,.8)}
@media (prefers-reduced-motion:reduce){
  .hero__slide img{animation:none}
}

/* ============================================================
   REVIEW PANEL — homepage only, until launch (REVIEW in build.py).
   A small dark tab in the bottom-right corner, out of the way of the
   page; it opens a list of every item awaiting the client, by page.
   Each item links to its note, which flashes orange on arrival.
   ============================================================ */
/* the corner holds two tabs, What's new and For review, side by side;
   either opens its list above them, right-aligned to the corner */
.rvbar{position:fixed;right:16px;bottom:16px;z-index:90;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-items:flex-end;max-width:calc(100vw - 32px);font-family:var(--body)}
.review{font-family:var(--body)}
/* What's new: the same dark tab, its count in white rather than orange */
.review--new .review__tab b{background:var(--white);color:var(--forge)}
.review--new .review__dot{background:var(--white);animation:none}
/* Launch posts: a link out rather than a list, its arrow where the count sits */
.rvbar .review__tab--out b{background:var(--white);color:var(--forge)}
.review__tab--out .review__dot{background:var(--white);animation:none}
.review__tab{
  display:inline-flex;align-items:center;gap:10px;
  padding:9px 10px 9px 14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(15,15,15,.86);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  color:var(--white);font:inherit;font-size:9px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;
  cursor:pointer;transition:background .3s var(--ease)}
.review__tab:hover{background:rgba(15,15,15,.96)}
.review__tab b{min-width:22px;padding:4px 6px;background:var(--orange);font-weight:600;letter-spacing:.04em;text-align:center}
.review__dot{width:6px;height:6px;border-radius:50%;background:var(--orange);animation:review-pulse 2.4s var(--ease) infinite}
@keyframes review-pulse{0%,100%{box-shadow:0 0 0 0 rgba(232,96,10,.6)}60%{box-shadow:0 0 0 6px rgba(232,96,10,0)}}
.review__panel{
  position:absolute;right:0;bottom:calc(100% + 10px);
  display:flex;flex-direction:column;
  width:min(430px,calc(100vw - 32px));max-height:min(72vh,660px);
  background:var(--forge);color:var(--white);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 60px rgba(0,0,0,.35)}
.review__panel[hidden]{display:none}
.review__head{position:relative;padding:22px 56px 18px 22px;border-bottom:1px solid rgba(255,255,255,.12)}
.review__title{margin:0;font-family:var(--display);font-stretch:125%;font-weight:300;font-size:16px;letter-spacing:.08em;text-transform:uppercase}
.review__lede{margin:8px 0 0;font-size:11px;line-height:1.65;color:rgba(255,255,255,.6)}
.review__close{position:absolute;top:16px;right:14px;width:32px;height:32px;border:0;background:none;cursor:pointer}
.review__close::before,.review__close::after{content:"";position:absolute;left:8px;right:8px;top:50%;height:1.5px;background:var(--white)}
.review__close::before{transform:rotate(45deg)}
.review__close::after{transform:rotate(-45deg);background:var(--orange)}
.review__list{overflow-y:auto;overscroll-behavior:contain;padding:4px 0 10px}
.review__group h3{margin:0;padding:18px 22px 8px;font-family:var(--body);font-size:9px;font-weight:500;letter-spacing:.22em;color:var(--orange)}
.review__group h3 span{margin-left:6px;color:rgba(255,255,255,.4)}
.review__group ol{list-style:none;margin:0;padding:0}
.review__group a{position:relative;display:block;padding:11px 44px 11px 22px;border-top:1px solid rgba(255,255,255,.07);
  font-size:12px;line-height:1.55;color:rgba(255,255,255,.8);transition:background .25s var(--ease),color .25s var(--ease)}
.review__group a::after{content:"";position:absolute;right:22px;top:50%;width:7px;height:7px;margin-top:-4px;
  border-top:1px solid rgba(255,255,255,.4);border-right:1px solid rgba(255,255,255,.4);transform:rotate(45deg);
  transition:border-color .25s var(--ease),transform .25s var(--ease)}
.review__group a:hover{background:rgba(255,255,255,.04);color:var(--white)}
.review__group a:hover::after{border-color:var(--orange);transform:translateX(3px) rotate(45deg)}
/* one entry standing for many pages: the shared note, then a link to each */
.review__multi{padding:12px 22px 14px;border-top:1px solid rgba(255,255,255,.07)}
.review__multi p{margin:0 0 10px;font-size:12px;line-height:1.55;color:rgba(255,255,255,.8)}
.review__multi ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.review__group .review__multi a{padding:7px 18px 7px 0;border-top:1px solid rgba(255,255,255,.07);font-size:11px;line-height:1.4}
.review__group .review__multi a::after{right:4px;width:5px;height:5px;margin-top:-3px}
.review__group .review__multi a:hover{background:none;color:var(--orange)}
.review__label{display:block;margin-bottom:3px;font-size:8.5px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.45)}
@media (max-width:600px){
  .rvbar{right:12px;bottom:12px;max-width:calc(100vw - 24px)}
  .review__panel{width:calc(100vw - 24px);max-height:74vh}
}
@media print{.rvbar{display:none}}

/* the launch posts page (goes with REVIEW) */
.lp{background:var(--white)}
.lp + .lp{padding-top:0}
.lp figure{margin:0;background:var(--gunmetal)}
.lp picture,.lp img{display:block;width:100%;height:auto}
.lp__slides{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.4vw,24px)}
.lp__captions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(40px,5vw,88px)}
.lp__caption{padding-top:clamp(20px,2vw,28px);border-top:1px solid rgba(181,176,169,.6)}
.lp__caption h3{margin:0 0 20px;font-family:var(--body);font-size:10px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--orange)}
.lp__caption p{margin:0;font-size:14px;line-height:1.85;color:var(--gunmetal);overflow-wrap:anywhere}
.lp__caption p + p{margin-top:16px}
.lp__pair{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(40px,6vw,110px);align-items:start}
.lp__story{max-width:400px}
/* the email signature preview: each signature light, then dark, in panels
   the colour of an email app's reading pane (over .lp figure's ground) */
.es__pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,700px),1fr));gap:clamp(16px,2vw,28px)}
.lp .es__panel{margin:0;padding:clamp(20px,3vw,40px);background:#fff;border:1px solid rgba(181,176,169,.5)}
.lp .es__panel--dark{background:#1E1E1E;border-color:#1E1E1E}
.es__panel figcaption{margin:0 0 24px;font-size:9px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--stone)}
.es__panel iframe{display:block;width:100%;height:520px;border:0;background:transparent}
.es__replay{align-self:flex-end;padding:11px 16px;border:1px solid var(--gunmetal);background:none;color:var(--gunmetal);
  font:inherit;font-size:9px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;cursor:pointer}
.es__replay:hover{background:var(--gunmetal);color:#fff}
a.es__replay{text-decoration:none}
/* the letterhead's first page, on a desk-grey ground */
.lp .es__letter{margin:0;padding:clamp(20px,5vw,72px) clamp(16px,4vw,56px);background:#E9E7E4}
.lp .es__letter img{max-width:720px;margin:0 auto;box-shadow:0 2px 18px rgba(15,15,15,.1)}
/* the typography guide's pages, two to a row, on the same desk-grey ground */
.es__dl{display:flex;flex-wrap:wrap;gap:10px}
/* the review page's contents: each item a link down to its section */
.phero__toc{list-style:none;margin:30px 0 0;padding:0;display:grid;gap:12px}
.phero__toc a{display:inline-flex;align-items:center;gap:14px;font-size:11px;font-weight:500;letter-spacing:.22em;
  text-transform:uppercase;color:rgba(255,255,255,.82);transition:color .3s var(--ease)}
.phero__toc a::before{content:"";width:16px;height:1px;background:var(--orange)}
.phero__toc a:hover{color:var(--white)}
@media (pointer:coarse){.phero__toc{gap:4px}.phero__toc a{padding:10px 0}}
.lp[id]{scroll-margin-top:96px}
.es__type{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,28px);
  padding:clamp(20px,4vw,56px) clamp(16px,4vw,56px);background:#E9E7E4}
.lp .es__type figure{margin:0;background:none}
.lp .es__type img{box-shadow:0 2px 14px rgba(15,15,15,.1)}
@media (max-width:600px){.es__type{grid-template-columns:1fr}}
/* the logo pack: each colourway on the ground it is made for, its formats
   to download under it */
.es__logos{display:grid;gap:clamp(12px,1.4vw,20px);margin-bottom:clamp(12px,1.4vw,20px)}
.es__logos--device{grid-template-columns:repeat(5,minmax(0,1fr))}
.es__logos--wordmark{grid-template-columns:repeat(2,minmax(0,1fr))}
.lp .es__logo{margin:0;background:none}
.es__logo-art{display:grid;place-items:center;aspect-ratio:3/2;padding:18%;background:#F4F2EF;border:1px solid rgba(181,176,169,.5)}
.es__logos--wordmark .es__logo-art{aspect-ratio:5/1;padding:0 10%}
.es__logo--dark .es__logo-art{background:var(--forge);border-color:var(--forge)}
.lp .es__logo-art img{width:100%;height:auto;max-height:100%}
.es__logo figcaption{display:flex;justify-content:space-between;gap:10px;margin-top:10px;font-size:9px;font-weight:500;
  letter-spacing:.2em;text-transform:uppercase;color:var(--gunmetal)}
.es__logo-dl{display:flex;gap:10px}
.es__logo-dl a{color:var(--orange);border-bottom:1px solid transparent;transition:border-color .3s var(--ease)}
.es__logo-dl a:hover{border-bottom-color:var(--orange)}
@media (max-width:860px){.es__logos--device{grid-template-columns:repeat(2,minmax(0,1fr))}
  .es__logos--wordmark{grid-template-columns:1fr}}
@media (pointer:coarse){.es__logo-dl a{padding:8px 0}}

/* the business card presentation's pages, one under another (each carries
   its own grey ground, so no frame round them) */
.es__cards{display:grid;gap:clamp(14px,2vw,28px)}
.lp .es__cards figure{margin:0;background:none}
.lp .es__cards img{box-shadow:0 2px 14px rgba(15,15,15,.1)}
/* the documents open full size on a tap, to read or zoom */
/* the capability statement: its two versions, then the interactive one live */
.es__formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,64px);
  margin:0 0 clamp(28px,3.5vw,48px);max-width:1040px}
.es__formats h3{margin:0 0 10px;font-family:'Archivo',sans-serif;font-stretch:125%;font-weight:300;font-size:15px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--forge)}
.es__formats p{margin:0;font-size:15px;line-height:1.7;color:var(--stone)}
.es__formats > div{padding-top:16px;border-top:1px solid var(--orange)}
@media (max-width:600px){.es__formats{grid-template-columns:1fr}}
.es__live{position:relative;height:0;padding-top:66%;background:#0B0B0B;overflow:hidden}
.es__live iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.es__live-note{margin:12px 0 clamp(28px,3.5vw,48px);font-size:12px;letter-spacing:.04em;color:#8a857e}
/* the capability statement: every page, three across */
.es__deck{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.6vw,24px);
  padding:clamp(20px,4vw,56px) clamp(16px,4vw,56px);background:#E9E7E4}
.lp .es__deck figure{margin:0;background:none}
.lp .es__deck img{box-shadow:0 2px 14px rgba(15,15,15,.1)}
@media (max-width:900px){.es__deck{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.es__deck{grid-template-columns:1fr}}
.es__letter a,.es__type a,.es__cards a,.es__deck a{display:block;cursor:zoom-in}
/* a phone gets the cards one by one, full width, in place of the pages */
.es__phone{display:none}
@media (max-width:600px){
  .es__cards{display:none}
  .es__phone{display:grid;gap:26px;padding:24px 16px;background:#E9E7E4}
  .lp .es__phone figure{margin:0;background:none}
  .es__phone figcaption{margin-top:10px;font-size:9px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--gunmetal)}
}
@media (max-width:600px){
  .lp .es__panel{padding:20px 16px}
}
@media (max-width:860px){
  .lp__slides{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lp__captions,.lp__pair{grid-template-columns:1fr}
  .lp__story{max-width:320px}
}

/* an item reached from the review list: clear the fixed header, and flash */
[id^="rv-"],#timeline{scroll-margin-top:150px}
.rv-hit{animation:rv-hit 2.8s var(--ease)}
@keyframes rv-hit{0%,35%{box-shadow:0 0 0 4px rgba(232,96,10,.6)}100%{box-shadow:0 0 0 4px rgba(232,96,10,0)}}

/* the careers address under the enquiry blurb */
.enquiry__mail{color:var(--white);border-bottom:1px solid rgba(232,96,10,.7);transition:color .3s var(--ease)}
.enquiry__mail:hover{color:var(--orange)}

/* 404: the page hero and a way back in */
.notfound{display:flex;flex-wrap:wrap;align-items:center;gap:28px 40px;margin:44px 0 0}

/* notes on the studio's own pending work: over a placeholder image
   (.media-note) or under a heading (.studio-note). Not client items, so
   they stay off the homepage review list. */
.studio-note{
  max-width:46ch;margin:22px 0 0;padding:14px 18px;
  border-left:2px solid var(--orange);
  background:rgba(255,255,255,.05);
  font-size:12px;line-height:1.6;color:rgba(255,255,255,.82);
}
.studio-note b{display:block;margin-bottom:6px;font-size:9px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--orange)}
p.media-note{            /* p: above a section's own paragraph styles */
  position:absolute;left:50%;top:50%;z-index:3;
  transform:translate(-50%,-50%);
  width:min(78%,320px);margin:0;padding:16px 18px;
  border-left:2px solid var(--orange);
  background:rgba(15,15,15,.72);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  font-size:12px;line-height:1.6;color:rgba(255,255,255,.88);
}
p.media-note b{display:block;margin-bottom:6px;font-size:9px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--orange)}

/* ============================================================
   GLOW MOTION — "Currents"
   The orange glows move. Each sways and turns slowly while a hot core
   (::after, a brighter orange than the brand's, blurred with the glow)
   sweeps across it, flaring and easing, so the warm patches pull past
   each other. Each glow section carries a fine film grain (::after on
   the section, above the glow and under the type) for texture; it also
   breaks up the banding smooth gradients show on near-black.
   Transform and opacity only, so the blurred layers move on the
   compositor rather than repainting; each glow on its own period (--gd)
   so no two move in step. Reduced motion keeps the glows still.
   ============================================================ */
.hero__glow{--gd:15s;--ca:.48}
.phero__glow{--gd:14s;--ca:.42}
.phero--dark .phero__glow{--ca:.80}
.chero__glow{--gd:13s;--ca:.80}
.enquiry__glow{--gd:11s;--ca:.92}
.footer__glow{--gd:17s;--ca:.45}

:is(.phero__glow,.chero__glow,.enquiry__glow,.footer__glow,.hero__glow)::after{
  content:"";position:absolute;inset:6%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,122,26,var(--ca)) 0%,rgba(232,96,10,calc(var(--ca) * .45)) 45%,rgba(232,96,10,0) 100%)}

/* grain: an SVG noise tile, grey, laid flat over the glow. Not overlay or
   soft-light: those lift the contrast and turn the blur's banding into rings */
:is(.phero,.chero,.enquiry,.footer)::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:240px;
  opacity:.11}
.phero::after{opacity:.08}

@media (prefers-reduced-motion:no-preference){
  :is(.hero__glow,.phero__glow,.chero__glow,.enquiry__glow,.footer__glow){
    will-change:transform;
    animation:glow-sway calc(var(--gd) * .7) ease-in-out infinite alternate}
  :is(.hero__glow,.phero__glow,.chero__glow,.enquiry__glow,.footer__glow)::after{
    will-change:transform,opacity;
    animation:core-current calc(var(--gd) * .55) ease-in-out infinite alternate}
}
@keyframes glow-sway{from{rotate:-22deg;translate:-12% 6%;scale:.95}to{rotate:22deg;translate:12% -6%;scale:1.25}}
@keyframes core-current{from{translate:-55% 32%;scale:.6;opacity:.45}to{translate:55% -28%;scale:1.5;opacity:1}}
