/* Locally hosted Google Fonts, licensed under the SIL Open Font License. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../assets/fonts-v1/archivo-variable-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts-v1/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts-v1/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ═══════════════════════════════════════════════════════════════
   BREWER DESIGN & BUILD
   From first line to final finish.

   Brand constants, both sampled from the existing logo artwork:
   slate #27547E and silver #D0CFCF.
   ═══════════════════════════════════════════════════════════════ */

:root{
  /* brand — fixed */
  --slate:#27547E;
  --silver:#D0CFCF;

  --slate-deep:#1C3F60;
  --slate-ink:#12293E;

  --sand:#BBA887;
  --sand-deep:#95805E;
  --sand-text:#796448;

  --paper:#F4F2EE;
  --paper-2:#E9E5DE;
  --ink:#191917;
  --ink-2:#5E5E58;

  --pad:clamp(20px,5vw,80px);
  --maxw:1480px;

  --mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  --sans:"Archivo","Helvetica Neue",Arial,sans-serif;

  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-io:cubic-bezier(.65,0,.35,1);
}

/* ── reset ───────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:auto}
body,h1,h2,h3,p,figure,blockquote,ul,ol,dd,dl,fieldset,legend{margin:0}
ul,ol{padding:0;list-style:none}
fieldset{border:0;padding:0;min-width:0}
img,svg{display:block;max-width:100%}
img{height:auto}
button,input,select,textarea{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}

body{
  background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-variation-settings:"wdth" 100;
  font-size:clamp(15.5px,.5vw + 13.6px,17.5px);line-height:1.6;
  overflow-x:hidden;
}

.skip{
  position:fixed;top:-100px;left:var(--pad);z-index:300;
  background:var(--slate);color:#fff;padding:14px 22px;
  font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;
  transition:top .25s var(--ease);
}
.skip:focus{top:14px}

:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--sand-deep);outline-offset:3px;
}

/* ── type scale ──────────────────────────────────────────────── */
.h2{
  font-size:clamp(2.1rem,5vw,4.1rem);
  font-variation-settings:"wdth" 110;
  font-weight:600;line-height:1.02;letter-spacing:-.025em;
  text-wrap:balance;max-width:18ch;
}
.h2--light{color:var(--silver)}
.lede{
  margin-top:1.1em;max-width:50ch;
  font-size:clamp(1.02rem,.4vw + .95rem,1.22rem);color:var(--ink-2);
}
.lede--light{color:rgba(208,207,207,.72)}

[data-split] .sl{display:block;overflow:hidden}
[data-split] .sl > span{display:block;will-change:transform}

/* ── buttons ─────────────────────────────────────────────────── */
.btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  padding:17px 36px;border:1px solid currentColor;background:none;cursor:pointer;
  font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;
  overflow:hidden;isolation:isolate;color:var(--slate);
}
.btn span{position:relative;z-index:2;transition:color .45s var(--ease)}
.btn::before{
  content:"";position:absolute;inset:0;z-index:1;background:currentColor;
  transform:scaleY(0);transform-origin:bottom;transition:transform .45s var(--ease);
}
.btn:hover::before,.btn:focus-visible::before{transform:scaleY(1)}
.btn:hover span,.btn:focus-visible span{color:var(--paper)}
.btn--light{color:#fff}
.btn--light:hover span,.btn--light:focus-visible span{color:var(--slate-ink)}
.btn--ghost{color:rgba(255,255,255,.62)}
.btn--ghost:hover span,.btn--ghost:focus-visible span{color:var(--slate-ink)}
.btn--solid{background:var(--slate);border-color:var(--slate);color:#fff}
.btn--solid::before{background:var(--slate-ink)}
.btn--solid:hover span{color:#fff}

/* ═══ NAV ════════════════════════════════════════════════════ */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:clamp(18px,2.4vh,30px) var(--pad);
  transition:transform .5s var(--ease),background-color .4s linear,padding .4s var(--ease);
}
.nav.is-hidden{transform:translateY(-110%)}
.nav.is-solid{background:rgba(244,242,238,.9);backdrop-filter:blur(14px);padding-block:14px}
.on-dark .nav.is-solid{background:rgba(18,41,62,.78)}

.nav__logo-mark{
  display:block;width:clamp(108px,10vw,150px);aspect-ratio:865/230;
  background-color:var(--slate);
  -webkit-mask:url("../assets/brand/logo-mask-v1.webp") center/contain no-repeat;
  mask:url("../assets/brand/logo-mask-v1.webp") center/contain no-repeat;
  transition:background-color .4s linear;
}
.on-dark .nav__logo-mark{background-color:#fff}

.nav__links{display:flex;align-items:center;gap:clamp(18px,2.2vw,36px)}
.nav__links a{
  position:relative;font-size:.95rem;font-variation-settings:"wdth" 102;
  color:var(--slate);padding:6px 0;transition:color .4s linear;
}
.on-dark .nav__links a{color:rgba(255,255,255,.88)}
.nav__links a:not(.nav__cta)::after{
  content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background:currentColor;
  transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after,
.nav__links a:not(.nav__cta):focus-visible::after{transform:scaleX(1);transform-origin:left}
.nav__cta{
  border:1px solid currentColor;padding:11px 22px!important;overflow:hidden;isolation:isolate;
  font-family:var(--mono);font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;
}
.nav__cta::before{
  content:"";position:absolute;inset:0;background:currentColor;
  transform:scaleY(0);transform-origin:bottom;transition:transform .4s var(--ease);
}
.nav__cta span{position:relative;z-index:2;transition:color .4s var(--ease)}
.nav__cta:hover::before{transform:scaleY(1)}
.nav__cta:hover span{color:var(--paper)}
.on-dark .nav__cta:hover span{color:var(--slate-ink)}

.nav__burger{display:none;align-items:center;gap:10px;background:none;border:0;cursor:pointer;padding:8px 0;color:var(--slate)}
.on-dark .nav__burger{color:#fff}
.nav__burger span{display:block;width:26px;height:1.5px;background:currentColor;transition:transform .4s var(--ease)}
.nav__burger span:first-child{margin-bottom:-8.5px}
.nav__burger em{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-style:normal;margin-left:34px}
.nav__burger[aria-expanded="true"] span:first-child{transform:translateY(4.25px) rotate(45deg)}
.nav__burger[aria-expanded="true"] span:last-child{transform:translateY(-4.25px) rotate(-45deg)}

.menu{position:fixed;inset:0;z-index:99;background:var(--slate-ink);display:grid;place-items:center}
.menu[hidden]{display:none}
.menu__inner{display:flex;flex-direction:column;gap:2px;padding:var(--pad);width:100%;max-width:520px}
.menu a{
  display:block;color:#fff;padding:12px 0;
  font-size:clamp(1.6rem,7vw,2.3rem);font-variation-settings:"wdth" 106;font-weight:500;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.menu__foot{display:flex;flex-direction:column;gap:2px;margin-top:28px}
.menu__foot a{font-size:.95rem;font-family:var(--mono);letter-spacing:.04em;border:0;padding:4px 0;opacity:.66}

@media (max-width:1020px){
  .nav__links{display:none}
  .nav__burger{display:flex}
}

/* ═══ HERO — SCROLL TO BUILD ═════════════════════════════════ */
.hero{
  position:relative;
  height:560vh;                 /* scroll distance for the 36s walkthrough */
  background:var(--slate-ink);
  --rev:0;
}
.hero__pin{
  position:sticky;top:0;height:100svh;overflow:hidden;
  display:grid;grid-template-areas:"stack";
  isolation:isolate;
}
.hero__pin::after{
  content:"";position:absolute;inset:auto 0 0 0;height:34vh;z-index:4;pointer-events:none;
  background:linear-gradient(to top,rgba(18,41,62,.86) 0%,rgba(18,41,62,.45) 42%,rgba(18,41,62,0) 100%);
}
.hero__stage,.hero__scrim,.hero__copy,.hero__datum,.chaps,.hero__note{grid-area:stack}

/* ── the wipe system ──────────────────────────────────────────
   One grammar for the whole site: a line sweeps, and the next
   thing exists behind it. --p is the un-revealed fraction, 100%
   down to 0%. Each layer stays revealed once its sweep is done.
   ───────────────────────────────────────────────────────────── */
[data-wipe]{--p:100%}
[data-wipe="up"]    {clip-path:inset(var(--p) 0 0 0)}
[data-wipe="down"]  {clip-path:inset(0 0 var(--p) 0)}
[data-wipe="right"] {clip-path:inset(0 var(--p) 0 0)}
[data-wipe="left"]  {clip-path:inset(0 0 0 var(--p))}

.hero__edge{
  position:absolute;background:var(--sand);pointer-events:none;opacity:var(--edge,0);
  box-shadow:0 0 22px 2px rgba(187,168,135,.55);
}
[data-wipe="up"]    > .hero__edge{left:0;right:0;top:var(--p);height:3px}
[data-wipe="down"]  > .hero__edge{left:0;right:0;bottom:var(--p);height:3px}
[data-wipe="right"] > .hero__edge{top:0;bottom:0;right:var(--p);width:3px}
[data-wipe="left"]  > .hero__edge{top:0;bottom:0;left:var(--p);width:3px}

.hero__stage{position:relative;width:100%;height:100%;background:var(--slate-ink)}
.hero__video,.hero__poster{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  /* the draft render is 640x360 — smooth the upscale rather than let it crawl */
  image-rendering:auto;
}
.hero__video{opacity:0;transition:opacity .5s linear}
.hero.is-ready .hero__video{opacity:1}
.hero__poster{z-index:1;transition:opacity .5s linear}
.hero.is-ready .hero__poster{opacity:0}

/* ── chapter captions ────────────────────────────────────────
   Each is uncovered by the same sweeping line as everything
   else. Only the active one is laid over the film; all seven
   stay in the DOM, in order, for assistive technology. */
.chaps{z-index:6;align-self:center;justify-self:end;padding:0 var(--pad);pointer-events:none;
  display:grid;grid-template-areas:"c";width:min(430px,46vw);position:relative}
.chaps::before{
  content:"";position:absolute;inset:-46vh -8vw -46vh -34vw;z-index:-1;
  background:linear-gradient(to right,rgba(18,41,62,0) 0%,rgba(18,41,62,.42) 34%,rgba(18,41,62,.74) 72%);
  opacity:0;transition:opacity .45s var(--ease);
}
.chaps:has(.chap.is-on)::before{opacity:1}
.chap{
  grid-area:c;position:relative;color:#fff;overflow:hidden;
  will-change:clip-path;opacity:0;visibility:hidden;
  border-left:1px solid rgba(187,168,135,.5);padding-left:clamp(16px,2vw,26px);
}
.chap.is-on{opacity:1;visibility:visible}

/* The last stop is the payoff, not another service. The film pulls
   back off the house here, so the caption opens out with it and
   carries the one link in the hero — the walkthrough has shown six
   things, and the point of the beat is that the range is wider.
   `.chaps` is pointer-events:none so the film stays scrubbable
   under the captions; the link has to opt back in. */
.chap--last .chap__t{font-size:clamp(1.85rem,3.1vw,2.95rem)}
.chap__go{
  display:inline-flex;align-items:center;gap:9px;margin-top:17px;
  pointer-events:auto;
  font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--sand);border-bottom:1px solid rgba(187,168,135,.45);padding-bottom:5px;
  transition:color .3s var(--ease),border-color .3s var(--ease);
}
.chap__go::after{content:"\2192";font-size:13px;line-height:1}
.chap__go:hover{color:#fff;border-color:rgba(255,255,255,.7)}
.chap__n{font-family:var(--mono);font-size:10.5px;letter-spacing:.2em;color:var(--sand);margin-bottom:10px}
.chap__t{font-size:clamp(1.5rem,2.5vw,2.35rem);font-variation-settings:"wdth" 108;
  font-weight:600;line-height:1.02;letter-spacing:-.025em}
.chap__p{margin-top:12px;font-size:clamp(.9rem,.3vw + .84rem,1rem);color:rgba(255,255,255,.8);max-width:34ch}

.hero__note{
  z-index:6;align-self:start;justify-self:end;
  padding:calc(var(--nav-h,72px) + 18px) var(--pad) 0;
  font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,255,255,.42);pointer-events:none;
}

.hero__scrim{
  z-index:3;pointer-events:none;
  background:
    linear-gradient(to bottom,rgba(18,41,62,.62) 0%,rgba(18,41,62,.10) 15%,rgba(18,41,62,0) 28%),
    linear-gradient(to top,rgba(18,41,62,.82) 0%,rgba(18,41,62,.34) 28%,rgba(18,41,62,0) 58%),
    linear-gradient(to right,rgba(18,41,62,.72) 0%,rgba(18,41,62,.16) 46%,rgba(18,41,62,0) 70%);
}

.hero__copy{
  z-index:4;align-self:end;justify-self:start;
  max-width:min(660px,86vw);
  padding:0 var(--pad) clamp(130px,19vh,190px);
  color:#fff;
}
.hero__eyebrow{
  overflow:hidden;margin-bottom:clamp(14px,2vh,24px);
  font-family:var(--mono);font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--sand);
}
.hero__eyebrow span{display:inline-block}
.hero__h{
  font-size:clamp(2.7rem,7vw,5.8rem);
  font-variation-settings:"wdth" 114;
  font-weight:600;line-height:.92;letter-spacing:-.035em;
}
.hero__h .line{display:block;overflow:hidden}
.hero__h .line > span{display:block;will-change:transform}
.hero__sub{
  margin-top:clamp(16px,2.4vh,28px);max-width:44ch;
  font-size:clamp(1rem,.45vw + .95rem,1.2rem);color:rgba(255,255,255,.84);
}
.hero__acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(20px,3vh,34px)}

/* the datum — becomes the graphic spine for the rest of the page */
.hero__datum{
  z-index:5;align-self:end;
  padding:0 var(--pad) clamp(28px,4.5vh,48px);
  color:#fff;pointer-events:none;
}
/* ── THE SCROLL CUE ───────────────────────────────────────────
   Both scrubbed sections need the visitor to do one specific
   thing — keep scrolling — and neither works at all until they
   do. The old hint was 10.5px mono at 50% white, which is a
   footnote, not an instruction. This is a lockup: a ring, a
   chevron that falls through it on a loop, and a label at a
   size you read rather than notice.

   It removes itself. Once the section is moving, the cue has
   done its job and nagging would be noise, so `is-gone` fades
   it out and it does not come back. */
.cue{
  display:inline-flex;align-items:center;gap:13px;
  opacity:1;transition:opacity .45s var(--ease),transform .45s var(--ease);
  pointer-events:none;
}
.cue.is-gone{opacity:0;transform:translateY(6px)}
.cue__ring{
  position:relative;flex:0 0 auto;
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(187,168,135,.55);
  background:rgba(10,24,38,.32);
  backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);
  color:var(--sand);
}
/* a soft pulse outward, so the cue catches the eye in peripheral
   vision without moving anything in the layout */
.cue__ring::before{
  content:"";position:absolute;inset:-1px;border-radius:50%;
  border:1px solid rgba(187,168,135,.5);
  animation:cuePulse 2.4s var(--ease) infinite;
}
.cue__chev{
  width:17px;height:17px;display:block;
  animation:cueFall 2.4s var(--ease) infinite;
}
.cue__label{
  font-family:var(--mono);font-size:12px;letter-spacing:.18em;text-transform:uppercase;
  color:rgba(255,255,255,.9);text-shadow:0 1px 16px rgba(10,24,38,.95);
  white-space:nowrap;
}
@keyframes cueFall{
  0%,100%{transform:translateY(-3px);opacity:.55}
  45%    {transform:translateY(3px);opacity:1}
  70%    {transform:translateY(0);opacity:.85}
}
@keyframes cuePulse{
  0%  {transform:scale(1);opacity:.75}
  70% {transform:scale(1.42);opacity:0}
  100%{transform:scale(1.42);opacity:0}
}
.hero__cue{margin-bottom:16px}
.stages{
  display:grid;grid-template-columns:repeat(7,1fr);gap:10px;
  margin-bottom:12px;
}
.stage{display:flex;flex-direction:column;gap:3px;opacity:.34;transition:opacity .45s var(--ease)}
.stage.is-on{opacity:1}
.stage__n{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;color:var(--sand);
}
.stage__t{
  font-size:.86rem;font-variation-settings:"wdth" 102;line-height:1.25;
  color:rgba(255,255,255,.92);
}
.track{position:relative;height:1px;background:rgba(255,255,255,.22)}
.track__fill{
  position:absolute;left:0;top:-1px;height:3px;width:0;background:var(--sand);
}
/* Mobile choreography is different by design, and it is NOT the desktop
   layout scaled down.

   Two things were tried and rejected before this. Stacking a small padded
   letterbox under the message gave the film about a fifth of the screen —
   the whole point of a walkthrough, reduced to a postage stamp. Going the
   other way and letting it cover a portrait viewport full-bleed crops a
   16:9 frame to roughly a quarter of its width: fine on the establishing
   shot, but by the middle of the move you are looking at a roof slope with
   no building attached to it.

   So the film is sized by the SCREEN, not by an aspect ratio: full width,
   edge to edge, and just under half the viewport height. It stays the
   dominant element at any phone size, crops to a little over half the frame
   width — enough to keep the house in shot the whole way through — and can
   never push the message off a short screen, because its height is capped
   in viewport units rather than derived from its width. */
@media (max-width:860px){
  .hero{height:470vh}
  .hero__pin{
    /* The FILM is the flexible row and everything else sizes to its own
       content, so the message, the progress line and the caveat always get
       the room they need and the film takes whatever is left. No per-device
       height tuning, and nothing can ever be clipped off a short screen. */
    grid-template-areas:"media" "copy" "datum" "note";
    grid-template-rows:minmax(0,1fr) auto auto auto;
    align-content:stretch;gap:clamp(12px,1.9vh,20px);
    padding:calc(var(--nav-h,64px) + 10px) 0 clamp(12px,2vh,18px);
    background:var(--slate-ink);
  }

  /* full-bleed width, and whatever height is left over */
  .hero__stage{
    grid-area:media;align-self:stretch;
    width:100%;height:100%;min-height:0;
    border-radius:0;overflow:hidden;
  }
  .hero__video,.hero__poster{object-position:50% 47%}
  .hero__scrim{display:none}

  /* the title card and the chapter caption share one slot — the caption
     takes over the moment the title fades, exactly as on desktop */
  .hero__copy{
    grid-area:copy;align-self:start;justify-self:stretch;max-width:none;
    padding:0 var(--pad);
  }
  .chaps{
    grid-area:copy;align-self:start;justify-self:stretch;width:auto;
    padding:0 var(--pad);
  }
  .chaps::before{display:none}
  .chap{
    border-left:0;padding-left:0;
    border-top:1px solid rgba(187,168,135,.55);padding-top:12px;
  }
  .chap__t{font-size:clamp(1.35rem,6.2vw,1.8rem)}
  .chap__p{font-size:.87rem;max-width:36ch;margin-top:9px}

  .hero__datum{grid-area:datum;align-self:end;padding:0 var(--pad)}
  .hero__cue{margin-bottom:10px}
  .hero__note{
    grid-area:note;position:static;align-self:end;justify-self:stretch;
    padding:10px var(--pad) 0;text-align:left;font-size:8.5px;line-height:1.4;
  }

  .stages{display:none}
}
@media (max-width:860px){
  .hero__eyebrow{font-size:10px;letter-spacing:.11em;margin-bottom:11px}
  .hero__h{font-size:clamp(2rem,9.2vw,2.5rem);line-height:.95}
  .hero__sub{margin-top:12px;font-size:.93rem;max-width:36ch}
  .hero__acts{margin-top:17px;gap:8px;flex-wrap:nowrap}
  .hero__acts .btn{padding:13px 18px;font-size:10.5px;letter-spacing:.1em;flex:1 1 auto}
}
/* Short phones (SE-class). Every element in the pin has to fit one
   screen with no scroll of its own, so the film gives up height first
   and the type tightens after it. */
@media (max-width:860px) and (max-height:740px){
  .hero__pin{gap:9px;padding-top:calc(var(--nav-h,64px) + 6px)}
  .hero__eyebrow{margin-bottom:8px;font-size:9.5px}
  .hero__h{font-size:1.85rem;line-height:.96}
  .hero__sub{font-size:.84rem;margin-top:8px;max-width:32ch}
  .hero__acts{margin-top:11px}
  .hero__acts .btn{padding:11px 14px;font-size:10px}
  .hero__cue{margin-bottom:7px}
  .hero__note{font-size:8px;padding-top:7px}
  .chap__t{font-size:1.4rem}
  .chap__p{font-size:.82rem;margin-top:7px;max-width:34ch}
}

/* ═══ STATEMENT ══════════════════════════════════════════════ */
.stmt{
  width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto;
  padding:clamp(90px,16vh,180px) 0;
}
.stmt__p{
  font-size:clamp(1.4rem,3vw,2.5rem);
  font-variation-settings:"wdth" 103;
  line-height:1.26;letter-spacing:-.018em;max-width:23ch;text-wrap:pretty;
}
.stmt__p .w{display:inline-block;opacity:.15}
.stmt__by{
  margin-top:clamp(28px,4vh,46px);
  font-family:var(--mono);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-2);
}

/* ═══ WHAT WE BUILD ══════════════════════════════════════════ */
.svc{
  width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto;
  padding-top:clamp(56px,6vw,96px);
  padding-bottom:clamp(80px,14vh,160px);
}
.svc__head{margin-bottom:clamp(44px,8vh,90px)}

.svc__grid{display:grid;gap:clamp(30px,5vw,80px)}
@media (min-width:1000px){
  .svc__grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start}
}

/* sticky composition (desktop only) */
.svc__media{display:none}
@media (min-width:1000px){
  .svc__media{
    display:block;position:sticky;top:calc(50svh - 30svh);
    height:60svh;
  }
  .svc__stack{position:relative;width:100%;height:100%;overflow:hidden;background:var(--paper-2)}
  /* same grammar as the hero: the next service is wiped in, not faded */
  .svc__img{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
    clip-path:inset(0 100% 0 0);
    transition:clip-path .85s var(--ease-io);
  }
  .svc__img.is-on{clip-path:inset(0 0 0 0)}
  .svc__rule{
    position:absolute;left:0;right:0;bottom:-1px;height:1px;background:var(--slate);
    transform:scaleX(0);transform-origin:left;
  }
  .svc__count{
    position:absolute;left:0;bottom:-34px;
    font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--ink-2);
  }
  .svc__count b{color:var(--slate);font-weight:500}
}

.svc__items{display:grid;gap:clamp(34px,7vh,110px)}
.svc__item{max-width:48ch;position:relative}
.svc__n{
  font-family:var(--mono);font-size:11px;letter-spacing:.16em;color:var(--sand-text);
  margin-bottom:14px;
}
/* class-driven so the entry reveal and the active state never fight */
.js .svc__item{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.js .svc__item.is-in{opacity:1;transform:none}

@media (min-width:1000px){
  /* each service gets its own moment, so the sticky composition can change */
  .svc__items{gap:min(48vh,400px);padding-block:8vh 14vh}
  .js .svc__item.is-in{opacity:.4}
  .js .svc__item.is-in.is-on{opacity:1}
  /* a datum reaching back to the image — only on the service currently shown */
  .svc__item::before{
    content:"";position:absolute;top:.62em;right:calc(100% + 14px);
    width:clamp(30px,4.4vw,86px);height:1px;background:var(--sand-deep);
    transform:scaleX(0);transform-origin:right;
    transition:transform .55s var(--ease);
  }
  .svc__item.is-on::before{transform:scaleX(1)}
}
.svc__t{
  font-size:clamp(1.5rem,2.6vw,2.3rem);font-weight:600;
  font-variation-settings:"wdth" 106;line-height:1.05;letter-spacing:-.02em;
}
.svc__p{margin-top:.9em;color:var(--ink-2)}
.svc__inline{display:none}
@media (max-width:999px){
  .svc__inline{
    display:block;width:100%;aspect-ratio:4/3;object-fit:cover;margin-top:22px;
  }
  .svc__item{max-width:none}
}

/* ═══ THE BUILD — one extension, start to finish ════════════
   Full-bleed and pinned. The frames are the section, not a panel
   inside it: at 1672px they deserve the whole screen, and a
   half-width box left the composition full of dead air.

   Same grammar as the hero, different mechanism and a different
   job — the hero moves the CAMERA to show the range of work,
   this holds the camera still and moves TIME.
   ═════════════════════════════════════════════════════════════ */
.build{position:relative;height:440vh;background:var(--slate-ink);color:#fff}
.build__pin{
  position:sticky;top:0;height:100svh;overflow:hidden;
  display:grid;grid-template-areas:"stack";isolation:isolate;
}
.build__head,.build__frames,.steps,.build__track,.build__tag{grid-area:stack}

.build__frames{position:relative;width:100%;height:100%}
.build__frame{position:absolute;inset:0;overflow:hidden;will-change:clip-path}
.build__frame img{width:100%;height:100%;object-fit:cover;display:block}

/* Contrast for the copy that sits over the film. These frames are
   bright and busy exactly where the copy goes — a sunlit lawn under
   the caption, sky behind the heading — so the scrim has to do real
   work rather than hint at it. Three gradients: down from the top for
   the heading, up from the bottom for the stage caption, and across
   from the left because both are left-aligned. */
.build__pin::after{
  content:"";grid-area:stack;z-index:2;pointer-events:none;
  background:
    linear-gradient(to bottom,rgba(18,41,62,.8) 0%,rgba(18,41,62,.26) 13%,rgba(18,41,62,0) 25%),
    linear-gradient(to top,rgba(18,41,62,.94) 0%,rgba(18,41,62,.72) 13%,rgba(18,41,62,.22) 29%,rgba(18,41,62,0) 44%);
}

.build__head{
  z-index:3;align-self:start;justify-self:start;
  padding:calc(var(--nav-h,72px) + clamp(22px,4vh,46px)) var(--pad) 0;
  max-width:min(680px,64vw);
}
.build__eyebrow{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;
  color:var(--sand);margin-bottom:13px;text-shadow:0 1px 14px rgba(10,24,38,.9);
}
.build__h{
  font-size:clamp(1.9rem,4.2vw,3.4rem);font-weight:600;
  font-variation-settings:"wdth" 110;line-height:1;letter-spacing:-.03em;
  text-shadow:0 1px 24px rgba(10,24,38,.65);
}

.build__tag{
  z-index:3;align-self:end;justify-self:end;
  /* clear of the foot row beneath it — cue, progress line and count */
  padding:0 var(--pad) clamp(62px,9vh,94px);
  font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,255,255,.6);text-align:right;
  text-shadow:0 1px 16px rgba(10,24,38,.95);
}

.steps{
  z-index:3;align-self:end;justify-self:start;
  padding:0 var(--pad) clamp(54px,7.5vh,84px);
  width:min(560px,46vw);
  display:grid;grid-template-areas:"s";list-style:none;margin:0;
}
.step{
  grid-area:s;opacity:0;visibility:hidden;
  border-left:1px solid rgba(187,168,135,.6);padding-left:clamp(16px,1.7vw,26px);
  transition:opacity .4s var(--ease);
}
.step.is-on{opacity:1;visibility:visible}
.step__n{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.2em;color:var(--sand);
  margin-bottom:10px;text-shadow:0 1px 14px rgba(10,24,38,.95);
}
.step__t{
  font-size:clamp(1.5rem,2.4vw,2.2rem);font-weight:600;
  font-variation-settings:"wdth" 108;line-height:1.03;letter-spacing:-.025em;
  text-shadow:0 1px 20px rgba(10,24,38,.7);
}
.step__p{
  margin-top:13px;font-size:clamp(.95rem,.34vw + .88rem,1.08rem);
  color:rgba(255,255,255,.92);max-width:40ch;line-height:1.45;
  text-shadow:0 1px 16px rgba(10,24,38,.75);
}

/* The foot: a scroll cue, the progress line, and the stage count on one
   row. The cue is there because two of the five wipes travel sideways,
   and a horizontal transition on a full-bleed image reads as a swipe
   affordance — the page has to say which way to go. It stays for the
   whole sequence rather than fading, because the sideways sweeps keep
   arriving right to the end. */
.build__foot{
  grid-area:stack;z-index:3;align-self:end;justify-self:stretch;
  display:flex;align-items:center;gap:clamp(14px,1.8vw,26px);
  margin:0 var(--pad) clamp(26px,4vh,44px);
}
.build__cue{flex:0 0 auto;margin:0}
.build__track{
  position:relative;flex:1 1 auto;height:1px;background:rgba(255,255,255,.22);
}
.build__track > span{position:absolute;left:0;top:-1px;height:3px;width:0;background:var(--sand)}
.build__count{
  flex:0 0 auto;font-family:var(--mono);font-size:10.5px;letter-spacing:.16em;
  color:rgba(255,255,255,.5);text-shadow:0 1px 14px rgba(10,24,38,.9);
}
.build__count b{color:var(--sand);font-weight:500}

/* -- Fallback: the stage images never arrived ------------------
   Set by the JS when the base frame has produced no pixels after a
   retry - a missing file, a bad deploy, a blocked request. The six
   stages are the content and they are already in the DOM, so the
   section unpins and becomes a plain readable list rather than a
   dark void. */
.build.is-flat{height:auto}
.build.is-flat .build__pin{
  position:relative;height:auto;overflow:visible;display:block;
  width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto;
  padding:clamp(74px,11vh,120px) 0 clamp(60px,9vh,100px);
}
.build.is-flat .build__pin::after{display:none}
.build.is-flat .build__head{padding:0;max-width:none}
.build.is-flat .build__h{text-shadow:none}
.build.is-flat .build__frames{display:none}
.build.is-flat .build__tag{
  position:static;display:block;width:auto;padding:0;
  margin:clamp(26px,4vh,40px) 0;text-align:left;text-shadow:none;
}
.build.is-flat .steps{
  width:100%;padding:0;justify-self:stretch;align-self:auto;
  display:grid;grid-template-areas:none;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:clamp(24px,3vw,40px);
}
.build.is-flat .step{grid-area:auto;opacity:1;visibility:visible;clip-path:none}
.build.is-flat .step__t,
.build.is-flat .step__p,
.build.is-flat .step__n{text-shadow:none}
.build.is-flat .build__foot{display:none}

/* Phones: the same move as the hero — the film is the flexible row,
   the caption sits under it, and nothing can be clipped. */
@media (max-width:900px){
  .build{height:380vh}
  .build__pin{
    grid-template-areas:"media" "steps" "tag" "track";
    grid-template-rows:minmax(0,1fr) auto auto auto;
    align-content:stretch;gap:clamp(13px,2vh,20px);
    padding:calc(var(--nav-h,64px) + 10px) 0 clamp(14px,2.4vh,22px);
  }
  .build__pin::after{display:none}
  .build__frames{grid-area:media;align-self:stretch;height:100%;min-height:0}
  .build__frame img{object-position:50% 50%}

  /* the heading rides on the film, the stage caption sits below it */
  .build__head{
    grid-area:media;align-self:start;justify-self:start;max-width:none;
    padding:clamp(12px,2vh,20px) var(--pad) 0;
    text-shadow:0 1px 18px rgba(10,24,38,.8);
  }
  .build__h{font-size:clamp(1.5rem,6.4vw,2rem)}
  /* off the picture entirely on a phone — over bright paving it was
     unreadable however much shadow it carried */
  .build__tag{
    grid-area:tag;align-self:end;justify-self:start;
    padding:0 var(--pad);text-align:left;font-size:8.5px;text-shadow:none;
  }
  .steps{
    grid-area:steps;align-self:start;justify-self:stretch;width:auto;
    padding:0 var(--pad);
  }
  .step{border-left:0;border-top:1px solid rgba(187,168,135,.5);padding-left:0;padding-top:12px}
  .step__t{font-size:clamp(1.3rem,5.8vw,1.7rem)}
  .step__p{font-size:.88rem;max-width:40ch;margin-top:9px}
  .build__foot{grid-area:track;align-self:end;margin:0 var(--pad);gap:12px}
  .cue{gap:10px}
  .cue__ring{width:32px;height:32px}
  .cue__chev{width:15px;height:15px}
  .cue__label{font-size:10.5px;letter-spacing:.14em}
  .build__count{font-size:9.5px}
}
@media (max-width:900px) and (max-height:740px){
  .build__pin{gap:9px}
  .build__h{font-size:1.4rem}
  .step__t{font-size:1.3rem}
  .step__p{font-size:.83rem;margin-top:7px}
}

/* ═══ WORK ═══════════════════════════════════════════════════ */
.work{
  width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto;
  padding:clamp(90px,15vh,170px) 0;
}
.work__head{margin-bottom:clamp(48px,9vh,110px)}

.proj{
  display:grid;gap:clamp(22px,3vw,48px);
  margin-bottom:clamp(70px,12vh,150px);
}
.proj:last-child{margin-bottom:0}
/* the wipe again — project images are revealed, not faded */
.proj__media,.proj__inset{position:relative;overflow:hidden;clip-path:inset(100% 0 0 0)}
.proj__media.is-in,.proj__inset.is-in{clip-path:inset(0 0 0 0);transition:clip-path 1s var(--ease-io)}
.proj__media img{width:100%;aspect-ratio:3/2;object-fit:cover}
.proj__inset img{width:100%;aspect-ratio:4/5;object-fit:cover}
.proj__n{
  font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--sand-text);margin-bottom:12px;
}
.proj__t{
  font-size:clamp(1.5rem,2.8vw,2.4rem);font-weight:600;
  font-variation-settings:"wdth" 106;line-height:1.06;letter-spacing:-.02em;
  max-width:16ch;
}
.proj__p{margin-top:1em;color:var(--ink-2);max-width:46ch}
.proj__soon{
  margin-top:1.6em;font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-2);opacity:.66;
}

.spec{margin-top:1.8em;display:grid;gap:1px;background:rgba(39,84,126,.18);border-block:1px solid rgba(39,84,126,.18)}
.spec > div{
  background:var(--paper);display:grid;grid-template-columns:8.5rem minmax(0,1fr);
  gap:16px;padding:11px 0;
}
.spec dt{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--ink-2);padding-top:.25em;
}
.spec dd{font-size:.95rem}

@media (min-width:900px){
  /* everything sits on one row; the inset overlaps the main image */
  .proj{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end}
  .proj > *{grid-row:1}
  .proj__inset{position:relative;z-index:2}

  .proj--a .proj__media{grid-column:1 / 8}
  .proj--a .proj__inset{grid-column:6 / 9;align-self:end;transform:translateY(26%)}
  .proj--a .proj__body{grid-column:9 / 13}

  .proj--b .proj__body{grid-column:1 / 5}
  .proj--b .proj__media{grid-column:5 / 13}
  /* inset overlaps the photograph, never the text column */
  .proj--b .proj__inset{grid-column:5 / 8;align-self:end;transform:translateY(26%)}

  .proj--c .proj__media{grid-column:1 / 8}
  .proj--c .proj__inset{grid-column:7 / 10;align-self:start;transform:translateY(-16%)}
  .proj--c .proj__body{grid-column:10 / 13}

  /* room for the overlap before the next project */
  .proj--a,.proj--b{margin-bottom:clamp(110px,17vh,220px)}
}
@media (max-width:899px){
  .proj__inset{max-width:56%}
}

/* ═══ PROCESS ════════════════════════════════════════════════ */
.proc{background:var(--slate);padding:clamp(80px,14vh,150px) 0}
.proc__head{width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto}
.prog{
  width:min(var(--maxw),100% - var(--pad) * 2);margin:clamp(40px,7vh,76px) auto 0;
  position:relative;
}
/* the single continuous datum */
.prog::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:1px;
  background:rgba(255,255,255,.22);
}
/* a marker travelling down the programme as you read it */
.prog__now{
  position:absolute;left:-3px;top:0;width:7px;height:7px;
  background:var(--sand);pointer-events:none;
  transform:translateY(-50%) rotate(45deg);opacity:0;
}
.prog__row{
  display:grid;align-items:center;
  grid-template-columns:3.4rem minmax(140px,1.05fr) minmax(0,2.3fr) 12ch;
  gap:clamp(12px,2vw,28px);
  padding:clamp(18px,2.3vh,28px) 0;
  border-top:1px solid rgba(255,255,255,.18);
  color:#fff;
}
.prog__row:last-child{border-bottom:1px solid rgba(255,255,255,.18)}
.prog__n{
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--sand);
  padding-left:16px;
}
.prog__t{
  font-size:clamp(1.05rem,1.5vw,1.42rem);font-weight:600;
  font-variation-settings:"wdth" 104;letter-spacing:-.012em;line-height:1.15;
}
.prog__track{position:relative;height:10px;background:rgba(255,255,255,.13)}
.prog__bar{
  position:absolute;top:0;bottom:0;
  left:calc(var(--s) * 1%);width:calc((var(--e) - var(--s)) * 1%);
  background:var(--sand);transform:scaleX(0);transform-origin:left;
}
.prog__d{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.6);text-align:right;white-space:nowrap;
}
.prog__p{
  grid-column:2 / -1;color:rgba(255,255,255,.7);max-width:62ch;font-size:.95rem;
  max-height:0;opacity:0;overflow:hidden;
  transition:max-height .55s var(--ease),opacity .4s linear,margin-top .55s var(--ease);
}
.prog__row:hover .prog__p,.prog__row:focus-within .prog__p{max-height:9em;opacity:1;margin-top:14px}
@media (max-width:880px){
  .prog__row{grid-template-columns:3.4rem minmax(0,1fr);row-gap:10px}
  .prog__track{grid-column:1 / -1;order:3}
  .prog__d{order:2;text-align:right}
  .prog__p{grid-column:1 / -1;order:4;max-height:none;opacity:1;margin-top:6px}
}

/* ═══ THE MAKER ══════════════════════════════════════════════ */
.maker{
  width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto;
  padding:clamp(90px,15vh,170px) 0;
  display:grid;gap:clamp(32px,5vw,72px);
}
@media (min-width:960px){
  .maker{grid-template-columns:minmax(0,.82fr) minmax(0,1fr);align-items:start}
  .maker__media{position:sticky;top:14vh}
}
.maker__media img{width:100%;aspect-ratio:4/5;object-fit:cover}
.maker__h{
  font-size:clamp(2rem,4.4vw,3.5rem);font-weight:600;
  font-variation-settings:"wdth" 110;line-height:1.02;letter-spacing:-.028em;
  max-width:14ch;
}
.maker__p{margin-top:1.3em;color:var(--ink-2);max-width:50ch}

.facts{margin-top:clamp(34px,5vh,56px);display:grid;gap:1px;background:rgba(39,84,126,.2);border-block:1px solid rgba(39,84,126,.2)}
.fact{background:var(--paper);display:grid;grid-template-columns:7.5rem minmax(0,1fr);gap:18px;align-items:baseline;padding:16px 0}
.fact dt{
  font-size:clamp(1.9rem,3.4vw,2.7rem);font-weight:600;
  font-variation-settings:"wdth" 112;letter-spacing:-.035em;color:var(--slate);
  line-height:1;
}
.fact dd{color:var(--ink-2);font-size:.95rem}

.quotes{
  width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto;
  padding-bottom:clamp(80px,13vh,150px);
  display:grid;gap:clamp(28px,4vw,64px);
}
@media (min-width:760px){.quotes{grid-template-columns:repeat(2,minmax(0,1fr))}}
.quote{border-top:1px solid rgba(39,84,126,.25);padding-top:26px}
.quote p{
  font-size:clamp(1.08rem,1.6vw,1.4rem);line-height:1.4;letter-spacing:-.01em;
  font-variation-settings:"wdth" 103;text-wrap:pretty;
}
.quote footer{
  margin-top:20px;font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-2);
}

/* ═══ ENQUIRY ════════════════════════════════════════════════ */
.enq{
  width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto;
  padding-bottom:clamp(80px,13vh,150px);
  display:grid;gap:clamp(40px,6vw,96px);
}
@media (min-width:1040px){.enq{grid-template-columns:minmax(0,.82fr) minmax(0,1fr)}}
.enq__list{margin-top:2.2em;display:grid;gap:10px}
.enq__list li{
  padding-left:20px;position:relative;color:var(--ink-2);font-size:.95rem;
}
.enq__list li::before{
  content:"";position:absolute;left:0;top:.72em;width:9px;height:1px;background:var(--sand-deep);
}
.enq__direct{margin-top:2.6em;display:grid;gap:1px;background:rgba(39,84,126,.2);border:1px solid rgba(39,84,126,.2)}
.enq__direct a{
  background:var(--paper);padding:15px 18px;display:flex;justify-content:space-between;
  align-items:baseline;gap:16px;transition:background-color .35s linear,color .35s linear;
}
.enq__direct a i{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  font-style:normal;color:var(--slate);transition:color .35s linear;
}
.enq__direct a:hover{background:var(--slate);color:#fff}
.enq__direct a:hover i{color:var(--sand)}

/* the form as a project information sheet */
.form{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(22px,2.6vw,34px);align-content:start;
  border:1px solid rgba(39,84,126,.28);padding:clamp(20px,3vw,38px);
}
.form > *{grid-column:1 / -1}
.field--half{grid-column:span 1}
@media (max-width:620px){.field--half{grid-column:1 / -1}}

.form__title{
  display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;
  font-family:var(--mono);font-size:11px;letter-spacing:.15em;text-transform:uppercase;
  color:var(--ink-2);
  margin-bottom:-14px;
}
.form__pct b{color:var(--slate);font-weight:500}
.form__bar{position:relative;height:2px;background:rgba(39,84,126,.16)}
.form__fill{position:absolute;inset:0 auto 0 0;width:0;background:var(--sand-deep);transition:width .5s var(--ease)}

.field label,.field legend{
  display:block;margin-bottom:12px;font-weight:500;font-variation-settings:"wdth" 103;
}
.field__note{margin-top:12px;font-size:.86rem;color:var(--ink-2);max-width:52ch}

.field input[type=text],.field input[type=email],.field select,.field textarea{
  width:100%;background:transparent;border:0;border-bottom:1px solid rgba(39,84,126,.35);
  padding:11px 2px;font-variation-settings:"wdth" 100;transition:border-color .3s linear;
}
.field select{
  appearance:none;border-radius:0;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--slate) 50%),linear-gradient(135deg,var(--slate) 50%,transparent 50%);
  background-position:calc(100% - 13px) 19px,calc(100% - 7px) 19px;background-size:6px 6px;background-repeat:no-repeat;
}
.field textarea{resize:vertical;border:1px solid rgba(39,84,126,.35);padding:13px}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--slate)}
.field input::placeholder,.field textarea::placeholder{color:rgba(25,25,23,.32)}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{position:relative;cursor:pointer}
.chip input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0}
.chip span{
  display:block;padding:10px 16px;border:1px solid rgba(39,84,126,.35);
  font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;
  transition:background-color .3s var(--ease),color .3s var(--ease),border-color .3s;
}
.chip:hover span{border-color:var(--slate)}
.chip input:checked + span{background:var(--slate);border-color:var(--slate);color:#fff}
.chip input:focus-visible + span{outline:2px solid var(--sand-deep);outline-offset:3px}

.range{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.range input[type=range]{flex:1 1 220px;appearance:none;background:transparent;height:24px;cursor:pointer;margin:0}
.range input[type=range]::-webkit-slider-runnable-track{height:2px;background:rgba(39,84,126,.3)}
.range input[type=range]::-moz-range-track{height:2px;background:rgba(39,84,126,.3)}
.range input[type=range]::-webkit-slider-thumb{appearance:none;width:18px;height:18px;background:var(--slate);margin-top:-8px;border-radius:0;transform:rotate(45deg)}
.range input[type=range]::-moz-range-thumb{width:18px;height:18px;background:var(--slate);border:0;border-radius:0;transform:rotate(45deg)}
.range__out{font-family:var(--mono);font-size:13px;letter-spacing:.05em;color:var(--slate);min-width:11ch;font-weight:500}

.form__foot{display:flex;flex-wrap:wrap;align-items:center;gap:18px 26px}
.form__msg{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;color:var(--ink-2)}
.form__msg.is-ok{color:var(--slate)}
.form__msg b{display:block;font-size:14px;letter-spacing:.14em;text-transform:uppercase;font-weight:500}

/* ═══ FOOTER ═════════════════════════════════════════════════ */
.foot{background:var(--slate-ink);color:#fff;padding:clamp(60px,10vh,110px) var(--pad) clamp(36px,6vh,60px)}
.foot__mark{width:min(var(--maxw),100%);margin-inline:auto;padding-bottom:clamp(38px,6vh,68px);border-bottom:1px solid rgba(255,255,255,.16)}
.foot__logo{
  display:block;width:clamp(220px,32vw,480px);aspect-ratio:865/230;background-color:#fff;
  -webkit-mask:url("../assets/brand/logo-mask-v1.webp") left center/contain no-repeat;
  mask:url("../assets/brand/logo-mask-v1.webp") left center/contain no-repeat;
}
.foot__cols{
  width:min(var(--maxw),100%);margin:clamp(34px,5vh,58px) auto 0;
  display:grid;gap:clamp(26px,4vw,60px);
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
}
.foot__cols h3{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;
  font-weight:500;color:var(--sand);margin-bottom:14px;
}
.foot__cols a{display:block;padding:3px 0;color:rgba(255,255,255,.82);transition:color .3s linear}
.foot__cols a:hover{color:#fff}
.foot__cols p{color:rgba(255,255,255,.7);font-size:.95rem}
.foot__base{
  width:min(var(--maxw),100%);margin:clamp(44px,7vh,84px) auto 0;
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;
  color:rgba(255,255,255,.6);
}
.foot__pf{color:var(--sand);opacity:.85}
.case-footer .foot__pf{color:var(--slate);opacity:1}

/* ═══ JS-DRIVEN RESTING STATES ═══════════════════════════════ */
.js [data-proj],.js [data-quote],.js [data-fact],.js .lede,
.js .field,.js .foot__cols,.js .foot__base,
.js .enq__list,.js .enq__direct,.js .stmt__by,.js .spec,.js .proj__soon{opacity:0}

/* ═══ REDUCED MOTION ═════════════════════════════════════════ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important;
  }
  .js [data-proj],.js [data-quote],.js [data-fact],.js .lede,
  .js .field,.js .foot__cols,.js .foot__base,
  .js .enq__list,.js .enq__direct,.js .stmt__by,.js .spec,.js .proj__soon{opacity:1!important}
  .js .svc__item{opacity:1!important;transform:none!important}
  .svc__item::before{transform:scaleX(1)!important}

  /* The hero leaves the stacking grid entirely and becomes an
     ordinary vertical document: one still of the model, the
     message, then the seven kinds of work as a plain readable
     list. Nothing is layered, so nothing can collide. */
  .hero{height:auto!important;background:var(--slate-ink)}
  .hero__pin{
    position:relative;height:auto;min-height:0;overflow:visible;
    display:block;isolation:auto;
    padding:0 0 clamp(46px,7vh,84px);
  }
  .hero__pin::after{display:none}

  .hero__stage{
    grid-area:auto;position:relative;width:100%;height:auto;aspect-ratio:16/9;
  }
  .hero__video{display:none!important}
  .hero__poster{position:absolute;inset:0;opacity:1!important}
  .hero__scrim,.hero__edge{display:none}

  .hero__copy{
    grid-area:auto;position:relative;max-width:none;align-self:auto;justify-self:auto;
    padding:clamp(30px,5vh,54px) var(--pad) 0;
  }
  .chaps{
    grid-area:auto;position:relative;width:auto;align-self:auto;justify-self:auto;
    display:grid;grid-template-areas:none;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:clamp(24px,3vw,38px);
    padding:clamp(34px,6vh,64px) var(--pad) 0;
  }
  .chaps::before{display:none}
  .chap{
    grid-area:auto;position:relative;opacity:1!important;visibility:visible!important;
    clip-path:none!important;
  }
  .hero__datum{
    grid-area:auto;position:relative;align-self:auto;justify-self:auto;
    padding:clamp(30px,5vh,54px) var(--pad) 0;
  }
  .hero__note{
    grid-area:auto;position:relative;align-self:auto;justify-self:auto;
    text-align:left;padding:16px var(--pad) 0;
  }
  .stage{opacity:1!important;position:static!important}
  .cue{display:none}
  .track__fill{width:100%!important}
  @media (max-width:860px){
    .stages{display:grid!important;grid-template-columns:repeat(2,1fr);gap:10px}
    .hero__note{position:relative;bottom:auto;left:auto;right:auto;text-align:left}
  }

  /* The build section leaves the stacking grid and becomes an ordinary
     document: the heading, the finished extension as one still, then the
     six stages as a plain readable list. Nothing layered, nothing clipped. */
  .build{height:auto!important}
  .build__pin{
    position:relative;height:auto;overflow:visible;display:block;
    width:min(var(--maxw),100% - var(--pad) * 2);margin-inline:auto;
    padding:clamp(74px,11vh,120px) 0 clamp(60px,9vh,100px);
  }
  .build__pin::after{display:none}
  .build__head{padding:0;max-width:none}
  .build__h{text-shadow:none}
  .build__frames{
    position:relative;width:100%;height:auto;aspect-ratio:16/9;
    margin-block:clamp(26px,4vh,44px);
  }
  .build__frame{clip-path:none!important;opacity:0!important}
  .build__frame:last-of-type{opacity:1!important}
  .build__tag{
    position:static;display:block;width:auto;padding:0;margin-bottom:clamp(26px,4vh,40px);
    text-align:left;text-shadow:none;
  }
  /* justify-self is what was collapsing this to shrink-to-fit — it is a
     grid item in the pinned layout, and `width:auto` alone does not undo
     that if the pin is still a grid in any browser. */
  .steps{
    width:100%;padding:0;justify-self:stretch;align-self:auto;
    display:grid;grid-template-areas:none;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:clamp(24px,3vw,40px);
  }
  .step{grid-area:auto;opacity:1!important;visibility:visible!important}
  .step__t,.step__p,.step__n{text-shadow:none}
  .build__foot{margin:clamp(30px,5vh,48px) 0 0}
  .cue__chev,.cue__ring::before{animation:none}
  .build__track > span{width:100%!important}

  /* every wipe resolves to fully revealed */
  [data-wipe]{clip-path:none!important}
  .proj__media,.card__media{clip-path:none!important}
  .note i::after{transform:scaleX(1)!important}
  .note button{color:rgba(255,255,255,.82)!important}

  .prog__bar{transform:scaleX(1)!important}
  .prog__now{display:none}
  .stmt__p .w{opacity:1!important}
  .svc__img{opacity:0!important}
  .svc__img.is-on{opacity:1!important;transform:none!important;clip-path:none!important}
  .svc__rule{transform:scaleX(1)!important}
}



/* ═══ LATELY ON SITE ═════════════════════════════════════════
   A horizontal rail of the client's own recent photography.
   Drifts sideways with vertical scroll on wide screens; on
   narrow ones it becomes an ordinary swipeable row, so the
   content never depends on the motion to be reachable.
   ═════════════════════════════════════════════════════════════ */
.site{
  padding:clamp(90px,13vh,150px) 0 clamp(80px,11vh,130px);
  background:var(--paper);overflow:hidden;
}
.site__head{padding:0 var(--pad);max-width:var(--maxw);margin:0 auto clamp(34px,5vh,56px)}
.site__rail{width:100%}
.site__row{
  display:flex;gap:clamp(14px,1.8vw,26px);
  padding-inline:var(--pad);
  list-style:none;margin:0;
  will-change:transform;
}
.shot{
  position:relative;flex:0 0 auto;overflow:hidden;
  will-change:clip-path;
}
.shot--tall{width:clamp(230px,23vw,330px)}
.shot--wide{width:clamp(300px,32vw,450px)}
.shot img{
  display:block;width:100%;height:clamp(300px,42vh,460px);
  object-fit:cover;background:#e8e6e2;
}
.shot__c{
  margin-top:12px;font-family:var(--mono);font-size:10.5px;line-height:1.5;
  letter-spacing:.04em;color:var(--ink-60);
}
.shot__c b{display:block;font-weight:500;color:var(--ink);letter-spacing:.1em;
  text-transform:uppercase;font-size:9.5px;margin-bottom:4px}
.site__note{
  padding:clamp(32px,5vh,56px) var(--pad) 0;max-width:var(--maxw);margin:0 auto;
  font-family:var(--mono);font-size:10px;letter-spacing:.08em;color:var(--ink-45,rgba(20,28,36,.5));
}
@media (max-width:860px){
  .site__rail{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .site__rail::-webkit-scrollbar{display:none}
  .site__row{transform:none!important;padding-right:calc(var(--pad) + 40px)}
  .shot--tall{width:min(64vw,260px)}
  .shot--wide{width:min(80vw,320px)}
  .shot img{height:clamp(260px,38vh,340px)}
}
@media (prefers-reduced-motion:reduce){
  .site__rail{overflow-x:auto}
  .site__row{transform:none!important}
  .shot{clip-path:none!important}
}

/* Netlify honeypot — a real field, kept out of sight and out of the
   accessibility tree, so a bot fills it in and a person never sees it. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Text stays readable throughout scroll reveals; do not fade whole paragraphs. */
.stmt__p .w{opacity:1!important}
@media(min-width:861px){.js .svc__item.is-in{opacity:1}}

.site__note{color:#626b70}
