/* =========================================================
   L&M Highways — Brand Stylesheet (v2 — inverted, dark-first)
   Black & white, minimalist, bold shapes, editorial type scale
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --black:#0B0B0C;
  --white:#FFFFFF;

  /* Default surface = BLACK (inverted). White is now the sparing accent. */
  --bg:#0A0A0B;
  --bg-alt:#141416;         /* subtle alternate dark surface for section rhythm */
  --bg-raise:#1B1B1D;       /* raised dark surface (cards on dark) */
  --bg-light:#F2F1EE;       /* the occasional light "paper" punch-section */

  /* Two text tones per surface. Every text colour below clears WCAG AA
     at the size it is used; a third, fainter grey previously sat at
     4.59:1, a hair over the 4.5 threshold. */
  --fg:#FFFFFF;
  --fg-muted:#B7B6B1;

  --fg-on-light:#0B0B0C;
  --fg-on-light-muted:#4E4E4E;

  --line:rgba(255,255,255,0.16);
  --line-strong:rgba(255,255,255,0.85);
  --line-on-light:rgba(11,11,12,0.14);
  --line-on-light-strong:rgba(11,11,12,0.9);

  --font-display:'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Small type scale. One value per role, so the same kind of text is
     the same size wherever it appears. */
  --fs-sub:1.2rem;      /* item headings: cards, lists, steps, work */
  --fs-body-sm:.95rem;  /* supporting copy inside those items */
  --fs-label:.75rem;    /* uppercase micro-labels and form labels */
  --fs-control:.8rem;   /* buttons, nav links, tabs */

  /* One height for every form control. Date and select inputs size from
     their own shadow content, which differs per browser, so the shared
     height is pinned rather than left to the intrinsic content box. */
  --field-h:3.5rem;

  --container:1400px;
  --gutter:clamp(1.25rem, 4vw, 3.5rem);
  --section-y:clamp(4.5rem, 9vw, 9.5rem);

  --ease:cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; font-size:16px; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  position:relative;
}
/* site-wide film grain for tactile depth */
body::before{
  content:"";
  position:fixed; inset:0; z-index:2000; pointer-events:none;
  background-image:url('../assets/grain.png');
  background-size:220px 220px;
  opacity:.5;
  mix-blend-mode:overlay;
}
@media (prefers-reduced-motion:no-preference){
  body{ scrollbar-color: var(--fg-muted) transparent; }
}
/* width/height attributes are set on every img to reserve layout space and
   stop CLS, but they also act as presentational hints. Without width:auto
   an attribute would fight CSS that sets only the other dimension, and
   max-width would then squash the image out of ratio. Explicit author
   rules still win on specificity. */
img{ max-width:100%; width:auto; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,figure{ margin:0; }
button{ font:inherit; cursor:pointer; }
input,textarea,select{ font:inherit; }

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

.section{ padding-block:var(--section-y); background:var(--bg); color:var(--fg); }
.section--tight{ padding-block:clamp(3rem,6vw,5rem); }
/* --dark is now a no-op alias (site is dark by default); kept for markup compatibility */
.section--dark{ background:var(--bg); color:var(--fg); }
.section--alt{ background:var(--bg-alt); }
/* --paper is repurposed as the sparing LIGHT "punch" section — inverted role */
.section--paper{ background:var(--bg-light); color:var(--fg-on-light); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-family:var(--font-body);
  font-weight:700;
  font-size:var(--fs-label);
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--fg-muted);
}
.section--paper .eyebrow{ color:var(--fg-on-light-muted); }
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:currentColor;
  display:inline-block;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:800;
  line-height:1.0;
  letter-spacing:-0.02em;
  text-wrap:balance;
}

.h-display{ font-size:clamp(3.2rem, 8vw, 8rem); font-weight:900; }
.h-xl{ font-size:clamp(2.3rem, 5vw, 4.6rem); font-weight:900; }
.h-lg{ font-size:clamp(1.8rem, 3.2vw, 2.8rem); }
.h-md{ font-size:clamp(1.25rem, 1.8vw, 1.6rem); }

.lede{
  font-size:clamp(1.05rem, 1.4vw, 1.3rem);
  line-height:1.5;
  color:var(--fg-muted);
  max-width:42ch;
}
.section--paper .lede{ color:var(--fg-on-light-muted); }

.text-body{ color:var(--fg-muted); max-width:60ch; }
.section--paper .text-body{ color:var(--fg-on-light-muted); }

/* ---------- Buttons ---------- */
.btn{
  --btn-fg:var(--black);
  --btn-bg:var(--white);
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:1.05rem 1.7rem;
  background:var(--btn-bg);
  color:var(--btn-fg);
  font-weight:700;
  font-size:var(--fs-control);
  letter-spacing:.04em;
  text-transform:uppercase;
  border:1px solid var(--btn-bg);
  white-space:nowrap;
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover{ background:transparent; color:var(--white); }
/* The arrow glyph sits on the maths axis, which is lower than the optical
   centre of uppercase caps, and it carries the label's letter-spacing as a
   trailing gap — together they left-shifted the pair inside the button and
   dropped the arrow below the text. Nudge it back onto the caps' centre and
   cancel the trailing track and the glyph's right side bearing. Measured:
   both margins now agree to within half a pixel. */
.btn .arrow{
  display:inline-block;
  letter-spacing:0;
  margin-right:-0.14em;
  transform:translateY(-0.09em);
  transition:transform .25s var(--ease);
}
.btn:hover .arrow{ transform:translate(4px,-0.09em); }

.btn--outline{
  --btn-bg:transparent;
  --btn-fg:var(--white);
  border-color:var(--line-strong);
}
.btn--outline:hover{ background:var(--white); color:var(--black); }

.section--paper .btn{ --btn-bg:var(--black); --btn-fg:var(--white); border-color:var(--black); }
.section--paper .btn:hover{ background:transparent; color:var(--black); }
.section--paper .btn--outline{ --btn-bg:transparent; --btn-fg:var(--black); border-color:var(--line-on-light-strong); }
.section--paper .btn--outline:hover{ background:var(--black); color:var(--white); }

/* ---------- Lane mark (brand chevrons) ---------- */
.lanes{ display:inline-flex; flex-direction:column; gap:5px; }
.lanes span{
  display:block; height:6px; background:currentColor;
  clip-path:polygon(18% 0,100% 0,82% 100%,0% 100%);
}
.lanes span:nth-child(1){ width:34px; }
.lanes span:nth-child(2){ width:26px; margin-left:10px; }
.lanes span:nth-child(3){ width:34px; }

.chev-rule{
  display:inline-flex; align-items:center; height:14px; margin-inline:1.6rem;
}
.chev-rule i{
  width:0; height:0;
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  border-left:8px solid currentColor;
  opacity:.55;
}

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  background:rgba(10,10,11,0.72);
  backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:92px;
}
.brand{ display:flex; align-items:center; }
.brand img{ height:51px; width:auto; }

.nav-primary{ display:flex; align-items:center; gap:2.4rem; }
.nav-primary a{
  font-size:var(--fs-control); font-weight:600; letter-spacing:.05em; text-transform:uppercase;
  position:relative; padding-block:6px;
}
.nav-primary a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:var(--white); transform:scaleX(0); transform-origin:right;
  transition:transform .3s var(--ease);
}
.nav-primary a:hover::after,
.nav-primary a[aria-current="page"]::after{ transform:scaleX(1); transform-origin:left; }

.header-actions{ display:flex; align-items:center; gap:1.5rem; }
.header-actions .tel{ font-weight:700; font-size:var(--fs-control); display:none; }

.nav-toggle{
  display:none; background:none; border:0; padding:8px;
  flex-direction:column; gap:5px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--white); display:block; }

/* mobile full-screen menu */
.nav-mobile{
  position:fixed; inset:0; background:var(--black); z-index:200;
  display:flex; flex-direction:column;
  /* not centred: once the menu is taller than the screen, centring
     overflows the top as well as the bottom, and the top of a scroll
     container cannot be scrolled back to — which clipped "Home" */
  justify-content:flex-start;
  padding:0 var(--gutter) var(--gutter);
  overflow-y:auto; -webkit-overflow-scrolling:touch;
  transform:translateY(-100%);
  transition:transform .45s var(--ease);
}
.nav-mobile.is-open{ transform:translateY(0); }
/* close stays put while the menu scrolls under it */
.nav-mobile-bar{
  position:sticky; top:0; z-index:2;
  display:flex; justify-content:flex-end;
  padding-block:1rem;
  background:var(--black);
}
.nav-mobile-close{
  background:none; border:0; padding:0;
  color:var(--white); font-size:var(--fs-control);
  letter-spacing:.1em; text-transform:uppercase; font-weight:700;
}
.nav-mobile ul{ display:flex; flex-direction:column; gap:.1rem; margin-top:.5rem; }
.nav-mobile a{
  font-family:var(--font-display); font-weight:900; color:var(--white);
  font-size:clamp(1.75rem,7vw,2.6rem); letter-spacing:-0.02em;
  display:inline-block; padding-block:.06em;
}
/* the quote CTA is an action, not another nav entry — .nav-mobile a
   would otherwise give it the same giant display treatment as the
   links, which is what made it read as a duplicate Contact */
.nav-mobile a.nav-mobile-cta{
  align-self:flex-start; margin-top:1.4rem;
  font-family:var(--font-body); font-size:var(--fs-control);
  font-weight:700; letter-spacing:.04em; padding:1.05rem 1.7rem;
  color:var(--black);
}
.nav-mobile a.nav-mobile-cta:hover{ color:var(--white); }
/* Contact block: laid out rather than trailing text, and scoped out of
   the giant .nav-mobile a link treatment. */
.nav-mobile .nav-mobile-foot a{
  font-family:var(--font-body); font-weight:700; padding-block:0;
}
.nav-foot-contacts{ display:grid; grid-template-columns:1fr 1fr; gap:.9rem; }
@media (max-width:380px){ .nav-foot-contacts{ grid-template-columns:1fr; } }
.nav-mobile .nav-mobile-foot a.nav-foot-item{
  display:flex; flex-direction:column; gap:.1rem;
  font-size:1.05rem; color:var(--white);
}
.nav-mobile .nav-mobile-foot a.nav-foot-item:hover{ color:var(--fg-muted); }
.nav-foot-lbl{
  font-size:var(--fs-label); letter-spacing:.14em; text-transform:uppercase;
  font-weight:700; color:var(--fg-muted);
}
.nav-foot-addr{
  font-style:normal; color:var(--fg-muted); line-height:1.5;
  display:flex; flex-direction:column; gap:.1rem;
}
.nav-mobile .nav-mobile-foot{
  margin-top:1.6rem; padding-top:1.2rem;
  border-top:1px solid var(--line);
  color:var(--fg-muted); font-size:.85rem;
  display:grid; gap:.85rem;
}

@media (max-width:860px){
  .nav-primary{ display:none; }
  .nav-toggle{ display:flex; }
  .header-actions .btn{ display:none; }
  .eyebrow::before{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  min-height:96vh;
  display:flex; align-items:center;
  padding-top:calc(92px + clamp(3.5rem,8vw,6rem));
  padding-bottom:clamp(3rem,7vw,5rem);
  position:relative;
  overflow:hidden;
  background-color:#0c0c0d;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.7) 100%),
    url('../assets/texture-dark-01.jpg');
  background-size:cover;
  background-position:center;
}
.hero-grid{
  display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(2rem,4vw,4rem);
  align-items:end;
  width:100%;
}
.hero .hero-grid{
  grid-template-columns:1fr;
  justify-items:center;
  text-align:center;
  position:relative;
  z-index:3;
}
.hero h1{ margin-top:1.1rem; }
.hero .lede{ margin-top:1.5rem; max-width:46ch; margin-inline:auto; }
.hero .eyebrow{ justify-content:center; }
.hero .hero-cta{ justify-content:center; }

.hero-video{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%;
  object-fit:cover;
}
.hero-dots{
  position:absolute; inset:0; z-index:1;
  background-image:radial-gradient(rgba(0,0,0,.9) 1px, transparent 1.2px);
  background-size:3px 3px;
  opacity:.45;
  pointer-events:none;
}
.hero-overlay{
  position:absolute; inset:0; z-index:2;
  background:rgba(0,0,0,.57);
}
@media (prefers-reduced-motion:reduce){
  .hero-video{ display:none; }
}
.hero-cta{ display:flex; gap:1rem; margin-top:2.25rem; flex-wrap:wrap; }

.hero-panel{
  aspect-ratio:4/5;
  position:relative;
  background:var(--black);
  overflow:hidden;
  border:1px solid var(--line);
}
.hero-panel img{ position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; filter:grayscale(0.6) brightness(1.1) contrast(1.02); }
/* The labels sit straight on the photograph, and a surfacing photo can be
   light anywhere in frame — pale tarmac, a bright sky. Two gradient scrims
   give them a dark backing at the edges without flattening the middle of
   the image. */
.hero-panel::before,
.hero-panel::after{
  content:""; position:absolute; left:0; right:0; z-index:1; pointer-events:none;
}
.hero-panel::before{
  top:0; height:38%;
  background:linear-gradient(to bottom, rgba(0,0,0,.78) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,0) 100%);
}
.hero-panel::after{
  bottom:0; height:48%;
  background:linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,0) 100%);
}
.hero-panel .panel-index{
  position:absolute; top:1.4rem; left:1.4rem; color:var(--white);
  font-family:var(--font-display); font-weight:900; font-size:.85rem;
  letter-spacing:.08em; text-transform:uppercase; z-index:2;
}
.hero-panel .panel-caption{
  position:absolute; bottom:1.4rem; left:1.4rem; right:1.4rem; color:var(--white);
  font-size:var(--fs-label); letter-spacing:.04em; z-index:2;
}

.scroll-cue{
  position:absolute; left:var(--gutter); bottom:1.6rem; z-index:4;
  display:flex; align-items:center; gap:.7rem;
  font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; color:var(--fg-muted);
}
.scroll-cue .dot{
  width:6px; height:6px; border-radius:50%; background:currentColor;
  animation:cue-bounce 1.8s var(--ease) infinite;
}
@keyframes cue-bounce{ 0%,100%{ transform:translateY(0); opacity:.4;} 50%{ transform:translateY(6px); opacity:1;} }
@media (prefers-reduced-motion:reduce){ .scroll-cue .dot{ animation:none; } }

@media (max-width:860px){
  .hero{ min-height:100vh; }
  .hero-grid{ grid-template-columns:1fr; }
  .scroll-cue{ display:none; }
}

/* ---------- Surface / texture panels (image-based, duotone-treated) ---------- */
.surface-panel{
  position:relative;
  background-color:#0c0c0d;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%),
    var(--tex, url('../assets/texture-dark-01.jpg'));
  background-size:cover;
  background-position:center;
  color:var(--white);
  filter:grayscale(1) contrast(1.08);
}
.surface-panel--alt{ --tex:url('../assets/texture-dark-02.jpg'); }
.surface-panel--alt2{ --tex:url('../assets/texture-dark-03.jpg'); }
.surface-panel--light{
  --tex:url('../assets/texture-light-01.jpg');
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.35) 100%),
    var(--tex);
  color:var(--black);
}
.surface-panel .lane-mark{
  position:absolute; right:1.2rem; bottom:1.2rem; opacity:.9;
}
.surface-panel::after{
  content:"";
  position:absolute; inset:0;
  box-shadow:inset 0 0 80px rgba(0,0,0,.5);
  pointer-events:none;
}

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
.grid > *{ background:var(--bg); min-width:0; }
.section--paper .grid{ background:var(--line-on-light); border-color:var(--line-on-light); }
.section--paper .grid > *{ background:var(--bg-light); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:860px){
  .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
}

.card{
  padding:clamp(1.5rem,2.4vw,2.5rem); display:flex; flex-direction:column; gap:1rem;
  transition:background .3s var(--ease);
}
.card:hover{ background:var(--bg-raise); }
.section--paper .card:hover{ background:#fff; }
.card .num{
  font-family:var(--font-display); font-weight:900; font-size:1.1rem; color:var(--fg-muted);
}
.card h3{ font-size:var(--fs-sub); font-weight:800; }
.card p{ color:var(--fg-muted); font-size:var(--fs-body-sm); }
.section--paper .card p{ color:var(--fg-on-light-muted); }
.section--paper .card .num{ color:var(--fg-on-light-muted); }

/* Bare rule-separated list — an alternative to the boxed .grid, for
   sections that would otherwise stack into another wall of cards. */
.spec-list{
  display:grid; grid-template-columns:repeat(2,1fr);
  column-gap:0;
  border-top:1px solid var(--line);
}
.spec-item{
  padding-block:2.1rem; padding-right:clamp(2rem,5vw,5rem);
  border-bottom:1px solid var(--line);
  transition:padding-left .35s var(--ease);
}
.spec-item:hover{ padding-left:.6rem; }
.spec-item h3{ font-size:var(--fs-sub); margin-bottom:.5rem; }
.spec-item p{ color:var(--fg-muted); font-size:var(--fs-body-sm); }
.spec-list--single{ grid-template-columns:1fr; }
.section--paper .spec-list,
.section--paper .spec-item{ border-color:var(--line-on-light); }
.section--paper .spec-item p{ color:var(--fg-on-light-muted); }
@media (max-width:760px){ .spec-list{ grid-template-columns:1fr; } .spec-item{ padding-right:0; } }

/* Bordered text panel — pairs with .spec-list for asymmetric splits
   without needing photography. */
.spec-panel{ border:1px solid var(--line); padding:clamp(1.6rem,3vw,2.4rem); }
.spec-panel h3{
  font-size:var(--fs-label); letter-spacing:.14em; text-transform:uppercase;
  color:var(--fg-muted); margin-bottom:1.1rem;
}
.spec-panel li{
  padding-block:.8rem; border-top:1px solid var(--line);
  font-weight:600; font-size:var(--fs-body-sm);
}
.spec-panel li:first-of-type{ border-top:0; }
.spec-panel-note{
  margin-top:1.1rem; padding-top:1.1rem; border-top:1px solid var(--line);
  color:var(--fg-muted); font-size:var(--fs-body-sm);
}


/* Section header row. A two-column grid rather than space-between, so
   the supporting text starts at the same place in every section. Under
   flex its left edge was set by its own max-width and floated to
   whatever was left over, landing on no column boundary below it. */
.section-head{
  display:grid;
  grid-template-columns:1fr 1fr;
  /* no column gap: a gap would push column two past the 50% line that
     the stat row and .spec-list divide on. The breathing room lives in
     the heading's padding instead, so the text starts exactly at 50%. */
  gap:1.5rem 0;
  align-items:end;
  margin-bottom:clamp(2.5rem,5vw,4rem);
}
.section-head > *{ min-width:0; }
.section-head > :first-child{ padding-right:clamp(2rem,5vw,5rem); }
/* the heading now shares the row with the text column, so it ramps
   more gently than a full-width .h-xl and stops breaking mid-word */
.section-head h2{ margin-top:.9rem; font-size:clamp(2.1rem,3.9vw,4.6rem); }
/* fill the column instead of stopping at 42ch and leaving a gap */
.section-head .lede{ margin:0; max-width:none; }
.section-head > .btn{ justify-self:end; }
@media (max-width:860px){
  .section-head{ grid-template-columns:1fr; }
  .section-head > .btn{ justify-self:start; }
}

/* Stat row */
.stat-row{
  display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.stat{ min-width:0; padding:2.4rem 1rem; text-align:left; border-left:1px solid var(--line); transition:background .3s var(--ease); }
.stat:hover{ background:var(--bg-alt); }
.stat:first-child{ border-left:0; }
.stat .num{ font-family:var(--font-display); font-weight:900; font-size:clamp(2rem,4vw,3.2rem); }
.stat .label{ margin-top:.4rem; font-size:var(--fs-label); letter-spacing:.04em; text-transform:uppercase; color:var(--fg-muted); }
/* a unit belongs with its figure, and stays lowercase — an uppercased
   label would render m² as M² */
.stat .num-unit{ font-size:.4em; font-weight:800; margin-left:.25em; }
.section--paper .stat-row{ border-color:var(--line-on-light); }
.section--paper .stat{ border-color:var(--line-on-light); }
.section--paper .stat:hover{ background:#fff; }
.section--paper .stat .label{ color:var(--fg-on-light-muted); }
@media (max-width:760px){ .stat-row{ grid-template-columns:repeat(2,1fr);} .stat:nth-child(3){border-left:0;} }

/* ---------- Marquee (seamless, uniform, no JS required) ---------- */
.chev-divider{
  overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding-block:1.3rem;
  background:var(--bg-alt);
}
.chev-track{
  display:flex; align-items:center; flex-wrap:nowrap; white-space:nowrap;
  width:max-content;
  animation:scroll 30s linear infinite;
}
@media (prefers-reduced-motion:reduce){ .chev-track{ animation:none; } }
.chev-track:hover{ animation-play-state:paused; }
.chev-set{ display:flex; align-items:center; flex-wrap:nowrap; }
.chev-track span{
  display:inline-flex; align-items:center;
  font-family:var(--font-display); font-weight:800; font-size:1.05rem; letter-spacing:.02em; text-transform:uppercase;
  color:var(--fg-muted);
}
@keyframes scroll{ from{ transform:translateX(0);} to{ transform:translateX(-25%);} }

/* ---------- Process steps ---------- */
.steps{ counter-reset:step; }
.step{
  display:grid; grid-template-columns:90px 1fr; gap:1.5rem;
  padding-block:2.2rem; border-top:1px solid var(--line);
  transition:padding-left .35s var(--ease);
}
.step:hover{ padding-left:.6rem; }
.steps .step:last-child{ border-bottom:1px solid var(--line); }
.step .step-num{ font-family:var(--font-display); font-weight:900; font-size:1.4rem; color:var(--fg-muted); }
.step h3{ font-size:var(--fs-sub); margin-bottom:.5rem; }
.step p{ color:var(--fg-muted); max-width:56ch; font-size:var(--fs-body-sm); }

/* ---------- CTA band — the light "punch" moment ---------- */
.cta-band{
  background:var(--bg-light); color:var(--fg-on-light);
  padding-block:clamp(3.5rem,7vw,6rem);
  position:relative; overflow:hidden;
}
.cta-band .container{ display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.cta-band h2{ max-width:16ch; color:var(--fg-on-light); }
.cta-band .btn{ --btn-bg:var(--black); --btn-fg:var(--white); border-color:var(--black); }
.cta-band .btn:hover{ background:transparent; color:var(--black); }
.cta-band .btn--outline{ --btn-bg:transparent; --btn-fg:var(--black); border-color:var(--line-on-light-strong); }
.cta-band .btn--outline:hover{ background:var(--black); color:var(--white); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--black); color:var(--white); border-top:1px solid var(--line); }
.footer-top{ padding-block:clamp(3rem,6vw,5.5rem); }
.footer-shape{ display:block; width:100%; height:auto; }
.footer-grid{ display:grid; grid-template-columns:1.4fr .8fr .8fr 1fr; gap:2.5rem; }
/* Direct child only: the Avetta mark also lives inside .footer-brand, and a
   bare descendant selector matched it too — it was only sized correctly
   because its own rule happens to come later in this file. Width-driven so
   it sits a measured 20px wider than the 120px accreditation mark. */
.footer-brand > img{ width:140px; height:auto; }
.footer-brand p{ margin-top:1.2rem; color:var(--fg-muted); max-width:32ch; font-size:var(--fs-body-sm); }
/* Social button in the brand column. Same treatment as the share buttons on
   the case studies, so Facebook reads the same way wherever it appears.
   #166FE5 rather than Facebook's primary #1877F2, which gives white text only
   4.23:1 — under AA. */
.footer-social{
  display:inline-flex; align-items:center; gap:.6rem; margin-top:1.5rem;
  background:#166FE5; color:var(--white);
  padding:.75rem 1.4rem;
  font-size:var(--fs-control); font-weight:600; letter-spacing:.02em;
  transition:background .2s var(--ease), transform .2s var(--ease);
}
.footer-social svg{ width:18px; height:18px; fill:currentColor; flex:none; }
.footer-social:hover, .footer-social:focus-visible{ background:#0C63D4; transform:translateY(-2px); }
/* Accreditation mark. Vector, so the width is purely a design choice. */
.footer-accred{ margin-top:1.9rem; }
.footer-accred-lbl{
  display:block; margin-bottom:.75rem;
  font-size:var(--fs-label); letter-spacing:.14em; text-transform:uppercase;
  font-weight:700; color:var(--fg-muted);
}
.footer-accred img{ width:120px; height:auto; }
.footer-col h2{ font-family:var(--font-body); font-size:var(--fs-label); letter-spacing:.12em; text-transform:uppercase; font-weight:700; color:var(--fg-muted); margin-bottom:1.1rem; }
.footer-col ul{ display:flex; flex-direction:column; gap:.65rem; }
.footer-col li{ font-size:var(--fs-body-sm); line-height:1.5; }
.footer-col a{ font-size:var(--fs-body-sm); }
.footer-lbl{ color:var(--fg-muted); }
.footer-col a:hover{ text-decoration:underline; }
.footer-bottom{ padding-block:1.6rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; font-size:.8rem; color:var(--fg-muted); }
.footer-bottom .legal-links{ display:flex; gap:1.5rem; flex:none; }
/* company disclosure: two stacked lines, allowed to take the width the
   legal links don't need, and to wrap rather than squeeze them out */
.footer-legal{ display:flex; flex-direction:column; gap:.45rem; max-width:78ch; min-width:0; }
.footer-legal a{ text-decoration:underline; text-underline-offset:2px; }
.footer-legal a:hover{ color:var(--white); }
.footer-bottom a:hover{ color:var(--white); }

@media (max-width:860px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ---------- Page header (inner pages) ---------- */
.page-hero{
  padding-top:calc(92px + clamp(3rem,7vw,5.5rem));
  padding-bottom:clamp(2.5rem,5vw,4rem);
  border-bottom:1px solid var(--line);
}
.page-hero h1{ margin-top:1rem; max-width:20ch; }
.page-hero .lede{ margin-top:1.25rem; }
.section--paper.page-hero{ border-color:var(--line-on-light); }

/* Breadcrumb-ish label */
.crumb{ font-size:var(--fs-label); color:var(--fg-muted); letter-spacing:.04em; }

/* ---------- Content prose (legal pages) ---------- */
.prose{ max-width:74ch; }
.prose h2{ font-size:1.5rem; margin-top:2.6rem; margin-bottom:.9rem; color:var(--fg); }
.prose h2:first-child{ margin-top:0; }
.prose p{ color:var(--fg-muted); margin-bottom:1.1rem; }
.prose ul{ margin-bottom:1.1rem; }
.prose li{ color:var(--fg-muted); padding-left:1.3rem; position:relative; margin-bottom:.5rem; }
.prose li::before{ content:""; position:absolute; left:0; top:.55em; width:7px; height:7px; background:var(--white); }
.prose strong{ color:var(--fg); }
.prose .updated{ color:var(--fg-muted); font-size:.85rem; margin-bottom:2.5rem; display:block; }
.prose a{ color:var(--fg); text-decoration:underline; }

/* ---------- Accordion ---------- */
/* One expand/collapse pattern for the whole site — used by Sectors and
   FAQs. Rule-separated rows that open in place: the label stays on the
   left and the body reveals in the right half, on the same 50% axis the
   section headers use. Native <details>, so it works without JS and
   stays keyboard accessible. */
.accordion{ border-top:1px solid var(--line); }
.accordion-item{ border-bottom:1px solid var(--line); }
.accordion-item summary{
  list-style:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  padding-block:1.4rem;
  transition:padding-left .35s var(--ease);
}
.accordion-item summary::-webkit-details-marker{ display:none; }
.accordion-item summary:hover{ padding-left:.6rem; }
.accordion-label{
  font-family:var(--font-display); font-weight:800;
  font-size:var(--fs-sub); letter-spacing:-0.01em;
}
.accordion-icon{ flex:none; position:relative; width:18px; height:18px; }
.accordion-icon::before, .accordion-icon::after{
  content:""; position:absolute; background:var(--fg-muted);
  top:50%; left:50%; transform:translate(-50%,-50%);
  transition:background .25s var(--ease), transform .25s var(--ease);
}
.accordion-icon::before{ width:14px; height:2px; }
.accordion-icon::after{ width:2px; height:14px; }
.accordion-item[open] .accordion-icon::after{ transform:translate(-50%,-50%) rotate(90deg) scale(0); }
.accordion-item[open] .accordion-icon::before,
.accordion-item summary:hover .accordion-icon::before,
.accordion-item summary:hover .accordion-icon::after{ background:var(--white); }
.accordion-body{
  padding-bottom:1.6rem;
  color:var(--fg-muted); font-size:var(--fs-body-sm); max-width:60ch;
}
@media (min-width:861px){
  /* description opens in the right half, on the shared axis */
  .accordion-body{ margin-left:50%; margin-top:-.4rem; }
}

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2.5rem,5vw,5rem); }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

/* Filled fields with a floating label. The label starts inside the
   field and rises once it has focus or content, so a field always
   shows what it is without a separate label line above it.
   appearance:none is load-bearing — without it iOS Safari draws its own
   rounded border and inner shadow under ours (the "halo"), and renders
   selects as a pill. */
.field{ position:relative; margin-bottom:.5rem; }
.field input, .field select, .field textarea{
  -webkit-appearance:none; appearance:none; border-radius:0;
  width:100%; border:0; border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.05);
  padding:1.55rem .85rem .5rem;
  color:var(--fg); font-family:inherit; font-size:1rem; line-height:1.35;
  min-height:var(--field-h);
  outline:none;
  transition:background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea{ resize:vertical; min-height:8rem; padding-top:1.7rem; }
/* keep the date value on the same baseline as a plain text input */
.field input[type="date"]{ height:var(--field-h); }
.field input[type="date"]::-webkit-date-and-time-value{ text-align:left; margin:0; }
.field input[type="date"]::-webkit-calendar-picker-indicator{ filter:invert(1); opacity:.55; cursor:pointer; }
.field select{
  padding-right:2.5rem; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B7B6B1' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right .95rem center; background-size:11px;
}
.field select option{ background:var(--bg); color:var(--fg); }

.field label{
  position:absolute; left:.85rem; top:1rem;
  font-size:1rem; line-height:1.35; color:var(--fg-muted);
  pointer-events:none; transform-origin:left top;
  transition:transform .18s var(--ease), color .18s var(--ease);
}
/* raised: focused, filled, or a control that always shows a value */
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field--fixed label{ transform:translateY(-.68rem) scale(.75); }

/* the underline thickens via inset shadow so nothing shifts on focus */
.field input:focus, .field select:focus, .field textarea:focus{
  background:rgba(255,255,255,.09);
  box-shadow:inset 0 -2px 0 var(--white);
}
.field input:focus ~ label,
.field select:focus ~ label,
.field textarea:focus ~ label{ color:var(--white); }
.field-hint{ display:block; margin-top:.25rem; font-size:var(--fs-label); color:var(--fg-muted); }

/* the row's own gap must not stack on the fields' margin when it
   collapses to one column, or paired fields sit twice as far apart */
.field-row{
  display:grid; grid-template-columns:1fr 1fr;
  column-gap:1rem; row-gap:.5rem; margin-bottom:.5rem;
}
.field-row .field{ margin-bottom:0; }
@media (max-width:520px){ .field-row{ grid-template-columns:1fr; } }
.form-note{ font-size:.8rem; color:var(--fg-muted); margin-top:1rem; }

.info-block{ padding-block:1.6rem; border-top:1px solid var(--line); }
.info-block:first-of-type{ border-top:0; }
.info-block h3{ font-size:var(--fs-label); letter-spacing:.1em; text-transform:uppercase; color:var(--fg-muted); margin-bottom:.5rem; }
.info-block p, .info-block a{ font-size:1.05rem; font-weight:600; }

/* ---------- Filter tabs (Our Work) ---------- */
.filters{ display:flex; gap:.6rem; flex-wrap:wrap; margin-bottom:2.5rem; }
.filter-btn{
  padding:.6rem 1.1rem; border:1px solid var(--line-strong); background:transparent; color:var(--fg);
  font-size:var(--fs-control); font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.filter-btn.is-active, .filter-btn:hover{ background:var(--white); color:var(--black); border-color:var(--white); }

.work-card{ display:flex; flex-direction:column; }
.work-thumb{ aspect-ratio:4/3; position:relative; overflow:hidden; }
.work-thumb img{ width:100%; height:100%; object-fit:cover; filter:grayscale(0.6) brightness(1.1) contrast(1.02); transition:transform .6s var(--ease); }
.work-card:hover .work-thumb img{ transform:scale(1.05); }
.work-thumb .tag{
  position:absolute; top:1rem; left:1rem; background:var(--white); color:var(--black);
  font-size:var(--fs-label); font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  /* letter-spacing adds a trailing space after the last character, which pushes
     the text visually left of centre. text-indent puts it back. inline-flex and
     line-height:1 do the same job on the vertical. */
  text-indent:.06em;
  display:inline-flex; align-items:center; justify-content:center; line-height:1;
  padding:.5rem .62rem; z-index:2;
}
/* Marks the newest job. Sits opposite the category tag and inverts it, so the
   two read as different kinds of label rather than a pair of categories. */
.work-thumb .tag--new{
  left:auto; right:1rem;
  background:var(--black); color:var(--white);
  box-shadow:inset 0 0 0 1px var(--line-strong);
}
.work-body{ padding:1.5rem; }
.work-body h3{ font-size:var(--fs-sub); margin-bottom:.35rem; }
.work-body p{ color:var(--fg-muted); font-size:var(--fs-body-sm); }
.work-body .loc{ display:block; margin-top:.7rem; font-size:var(--fs-label); letter-spacing:.04em; text-transform:uppercase; color:var(--fg-muted); }
.work-card .work-body{ display:flex; flex-direction:column; flex:1; }
/* the whole card is the link, so the affordance sits at the foot of the body
   whatever length the summary runs to */
.work-more{
  display:block; margin-top:auto; padding-top:1.2rem;
  font-size:var(--fs-label); letter-spacing:.1em; text-transform:uppercase; font-weight:700;
}
.work-card:hover .work-more .arrow{ transform:translateX(4px); }
.work-more .arrow{ display:inline-block; transition:transform .3s var(--ease); }

/* Shown in place of the grid when a filter matches nothing. Turns an empty
   result into the next step rather than a dead end. */
.work-empty{ display:none; border:1px solid var(--line); padding:clamp(1.8rem,4vw,3rem); }
.work-empty.is-shown{ display:block; }
.work-empty h3{ font-size:clamp(1.5rem,2.8vw,2.2rem); }
.work-empty p{ margin-top:1rem; color:var(--fg-muted); font-size:var(--fs-body-sm); max-width:60ch; }
.work-empty .hero-cta{ margin-top:2rem; }

/* ---------- Case study pages ---------- */
/* Share row. Sits on the same 50% axis as everything else on these pages,
   and collapses to a stack on a phone. */
.share{
  display:grid; grid-template-columns:1fr 1fr; gap:1.5rem 0;
  align-items:center; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding-block:1.6rem;
}
.share > *{ min-width:0; }
.share-label{
  font-size:var(--fs-label); letter-spacing:.14em; text-transform:uppercase;
  font-weight:700; color:var(--fg-muted);
}
.share-links{ display:flex; gap:.8rem; flex-wrap:wrap; }
/* Each platform in its own brand colour, so the buttons read as share actions
   at a glance rather than as two more outline buttons. */
.share-btn{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.75rem 1.4rem; color:var(--white);
  font-size:var(--fs-control); font-weight:600; letter-spacing:.02em;
  transition:background .2s var(--ease), transform .2s var(--ease);
}
.share-btn svg{ width:18px; height:18px; fill:currentColor; flex:none; }
.share-btn:hover, .share-btn:focus-visible{ transform:translateY(-2px); }
/* Facebook's primary #1877F2 gives white text only 4.23:1, under AA. #166FE5
   is their own darker shade and clears it at 4.73:1, so the button stays a
   genuine Facebook blue rather than an invented one. */
.share-btn--fb{ background:#166FE5; }
.share-btn--fb:hover, .share-btn--fb:focus-visible{ background:#0C63D4; }
.share-btn--li{ background:#0A66C2; }
.share-btn--li:hover, .share-btn--li:focus-visible{ background:#08528F; }
@media (max-width:860px){
  .share{ grid-template-columns:1fr; gap:1rem; }
}

/* Scope rows sit on the same 50% axis as .section-head and .spec-list */
.case-spec{ border-top:1px solid var(--line); }
.case-spec-item{
  display:grid; grid-template-columns:1fr 1fr; gap:1.5rem 0;
  padding-block:1.6rem; border-bottom:1px solid var(--line);
}
.case-spec-item > *{ min-width:0; }
.case-spec-item > :first-child{ padding-right:clamp(2rem,5vw,5rem); }
.case-spec-op{ font-family:var(--font-display); font-weight:800; font-size:var(--fs-sub); }
.case-spec-area{
  margin-top:.35rem; font-size:var(--fs-label); letter-spacing:.04em;
  color:var(--fg-muted);
}
.case-spec-detail{ margin:0; color:var(--fg-muted); font-size:var(--fs-body-sm); max-width:60ch; }
@media (max-width:860px){
  .case-spec-item{ grid-template-columns:1fr; gap:.8rem; }
  .case-spec-item > :first-child{ padding-right:0; }
}

.case-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.case-gallery img{
  display:block; width:100%; aspect-ratio:4/3; object-fit:cover;
  background:var(--bg); filter:grayscale(0.6) brightness(1.1) contrast(1.02);
}
.case-gallery--wide{ grid-template-columns:repeat(2,1fr); }
@media (max-width:860px){ .case-gallery{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .case-gallery, .case-gallery--wide{ grid-template-columns:1fr; } }

/* the eyebrow carries a back-link on case study pages */
.eyebrow a{ text-decoration:underline; text-underline-offset:3px; }

/* Grid children default to min-width:auto, which lets unbreakable
   content (a nowrap button, a long word) push a track wider than its
   share and scroll the page sideways. */
.hero-grid > *, .contact-grid > *, .spec-list > *,
.field-row > *, .footer-grid > *, .nav-foot-contacts > *{ min-width:0; }
/* on the narrowest phones a button may wrap rather than overflow */
@media (max-width:420px){ .btn{ white-space:normal; } }

/* utility */
.mt-0{ margin-top:0 !important; }
/* Reveal-on-scroll: elements are fully visible by default (safe if JS never runs,
   safe for print/screenshots/no-JS). JS adds .reveal-init the moment it's ready to
   animate, THEN observes — so the hidden state only ever exists alongside a live
   IntersectionObserver that will bring it back. */
.reveal.reveal-init{ opacity:0; transform:translateY(22px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.reveal-init.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce){
  .reveal.reveal-init{ opacity:1; transform:none; transition:none; }
}

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--white); color:var(--black); padding:.8rem 1.2rem; z-index:999;
}
.skip-link:focus{ left:1rem; top:1rem; }

/* A heading that exists for the document outline and screen readers where
   the layout alone separates two regions. Not hidden content — it names
   exactly what is visible beside it. */
/* Spam trap. Off-screen rather than display:none — a bot that skips hidden
   inputs would otherwise walk straight past it. aria-hidden on the wrapper
   keeps it away from screen readers. */
.hp{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px;
  overflow:hidden;
}

.visually-hidden{
  position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0;
}

/* ---------- Phone type scale ----------
   On a phone the whole scale reads a size too large: the headline, the
   lede under it and the body copy all crowd the viewport. Rather than
   re-declare sizes role by role, the root steps down ~10% and every
   rem-based size follows. The three smallest roles are given back most
   of that reduction so micro-type doesn't drop below ~12px, and the
   gutter and field height are restated to land where they already were
   — layout spacing and touch targets were never the problem. */
@media (max-width:600px){
  html{ font-size:14.5px; }
  :root{
    --fs-body-sm:1.02rem;   /* 14.8px, was 15.2 */
    --fs-label:.8rem;       /* 11.6px, was 12   */
    --fs-control:.85rem;    /* 12.3px, was 12.8 */
    --field-h:3.9rem;       /* 56.6px, as before */
    --gutter:clamp(1.4rem, 4vw, 3.5rem);
  }
  body{ font-size:15px; }
  /* iOS Safari zooms the page when a focused field is under 16px, so the
     fields and their floating labels keep their own size. */
  .field input, .field select, .field textarea, .field label{ font-size:16px; }
}

/* ---------- WhatsApp floating action button ---------- */
.whatsapp-fab{
  position:fixed; right:1.25rem; bottom:1.25rem; z-index:150;
  width:58px; height:58px; border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.35);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-fab:hover{ transform:translateY(-3px); box-shadow:0 10px 26px rgba(0,0,0,.4); }
.whatsapp-fab img{ width:30px; height:30px; }
@media (max-width:600px){
  .whatsapp-fab{ right:1rem; bottom:1rem; width:52px; height:52px; }
  .whatsapp-fab img{ width:27px; height:27px; }
}
