/* =========================================================
   Metal Master — global stylesheet  (v6 — industrial / raw steel)
   Full-bleed steel panels, square corners, hairline grid borders,
   condensed uppercase headlines (Barlow Condensed), Inter
   body (two fonts only: Barlow Condensed + Inter).  Weld-spark orange
   #FF4F19 on charcoal and brushed-steel greys.
   ========================================================= */

:root {
  --orange:      #FF4F19;
  --orange-2:    #FF7A45;
  --orange-dark: #DE3E0C;
  --orange-tint: #FFEDE6;
  --grad: linear-gradient(0deg, #FF4F19, #FF4F19);   /* flat — industrial look has no gradients */

  --black:  #0D0D0C;
  --ink:    #151514;   /* dark panel */
  --ink-2:  #1F1F1D;
  --paper:  #F3F2EE;
  --sand:   #E2E1DB;   /* brushed-steel panel */
  --frame:  #E2E1DB;   /* page background */

  --text:      #111110;
  --text-mut:  #55544E;
  --on-ink:      #F1F0EB;
  --on-ink-mut:  #9E9C94;

  --line:      #BEBCB3;
  --line-ink:  rgba(255,255,255,.14);
  --cta-bg:    #151514;   /* CTA panel ground */
  --ticker-h:  0px;       /* (ticker removed — token kept for header-offset calcs) */

  --r-panel: 0;
  --r-card:  0;
  --r-pill:  0;

  --shell: 1320px;
  --gutter: 0px;   /* gap between panels / page edge */
  --pad: clamp(20px, 4.5vw, 64px);      /* inner panel padding */
  /* left/right inset that lines full-bleed content up with the .shell panels */
  --pad-shell: calc(max(0px, (100vw - var(--shell)) / 2) + var(--gutter) + var(--pad));

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: var(--font-body);   /* no monospace in this theme — kept as an alias */

  /* legacy aliases */
  --white:var(--color-white); --fg:var(--text); --muted:var(--text-mut);
  --on-light:var(--text); --on-light-mut:var(--text-mut);
  --on-dark:var(--on-ink); --on-dark-mut:var(--on-ink-mut);
  --line-light:var(--line); --line-dark:var(--line-ink);
  --paper-2:var(--sand); --steel-100:var(--sand); --steel-300:var(--line);
  --steel-700:var(--line); --steel-900:var(--ink); --r-lg:var(--r-card);
  --r-md:0; --r-sm:0;
}

/* =========================================================
   GLOBAL DESIGN TOKENS  (canonical names — see STYLE_GUIDE.md)
   The short names above are kept as aliases so existing rules
   keep working; new work should use the tokens below.
   ========================================================= */
:root {
  /* ---- colour system ---- */
  --color-white:              #FFFFFF;
  --color-black:              #000000;

  --color-brand-orange:       #FF4F19;
  --color-brand-orange-hover: #DE3E0C;   /* hover / active */
  --color-brand-orange-light: #FF7A45;   /* gradient highlight */
  --color-brand-orange-tint:  #FFEDE6;   /* faint fill behind orange elements */
  --color-brand-gradient:     linear-gradient(0deg, #FF4F19, #FF4F19);

  --color-background-primary: #E2E1DB;   /* page ground behind panels */
  --color-background-dark:    #151514;   /* dark panels / footer */
  --color-surface-primary:    #FAF9F6;   /* light card / panel surface */
  --color-surface-sand:       #E2E1DB;   /* warm light panel surface */
  --color-surface-dark:       #1F1F1D;   /* card surface on dark panels */
  --color-surface-glass:      rgba(12, 11, 10, 0.5);   /* stats strip / mega menu glass */
  --color-surface-glass-nav:  #151514;  /* floating nav pill */

  --color-text-primary:       #111110;   /* body copy on light */
  --color-text-secondary:     #55544E;   /* supporting copy on light */
  --color-text-on-dark:       #F1F0EB;   /* copy on dark */
  --color-text-on-dark-muted: #9E9C94;   /* supporting copy on dark */

  --color-border-light:       #BEBCB3;   /* hairline on light */
  --color-border-dark:        rgba(255, 255, 255, 0.12);  /* hairline on dark */
  --color-border-hover:       rgba(255, 79, 25, 0.38);    /* card border on hover */
  --color-divider:            #BEBCB3;   /* section / list dividers */
  --color-focus-ring:         #FF4F19;

  --color-success:            #1C7C3C;
  --color-error:              #C63A0F;

  /* ---- font families ---- */
  --font-family-display: var(--font-display);   /* Barlow Condensed → system */
  --font-family-body:    var(--font-body);      /* Inter → system */
  --font-family-hand:    var(--font-mono);

  /* ---- type scale (size / line-height / letter-spacing) ---- */
  --fs-display:  clamp(3.6rem, 11vw, 9.5rem);    --lh-display: 0.88;  --ls-display: -0.005em;
  --fs-h1:       clamp(3.2rem, 8.4vw, 7rem);    --lh-h1: 0.9;        --ls-h1: -0.005em;
  --fs-h2:       clamp(2.7rem, 6.2vw, 5.2rem);  --lh-h2: 0.92;       --ls-h2: 0;
  --fs-h3:       clamp(1.55rem, 2.5vw, 2.05rem); --lh-h3: 1;         --ls-h3: 0.005em;
  --fs-h4:       1.05rem;                       --lh-h4: 1.25;       --ls-h4: -0.01em;
  --fs-body-lg:  clamp(1.02rem, 1.5vw, 1.2rem); --lh-body-lg: 1.5;
  --fs-body:     1rem;                          --lh-body: 1.6;
  --fs-small:    0.875rem;                      --lh-small: 1.5;
  --fs-caption:  0.78rem;                       --lh-caption: 1.45;
  --fs-eyebrow:  0.72rem;                       --ls-eyebrow: 0.16em;
  --fs-nav:      0.86rem;
  --fs-btn:      0.95rem;
  --fs-label:    0.8rem;

  --weight-display: 700;
  --weight-heading: 600;
  --weight-medium:  500;
  --weight-strong:  600;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* keyboard focus — 0-specificity so component focus styles still win */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
  border-radius: 3px;
}
body {
  font-family: var(--font-body);
  background: var(--frame);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

/* =========================================================
   TYPOGRAPHY SYSTEM
   Element defaults keep the visual scale; the .t-* utility
   classes let semantic tags carry a different visual level
   (e.g. an <h2> that should look like an h3). Never pick a
   heading tag for its size — pick it for structure, then add
   a .t-* class if the visual level differs.
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-family-display);
  font-weight: var(--weight-display);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  color: inherit;
}
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--weight-heading); letter-spacing: var(--ls-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--weight-strong); letter-spacing: var(--ls-h4); font-family: var(--font-family-body); }
p { max-width: 62ch; }
strong { font-weight: var(--weight-strong); }

/* visual typography utilities — decoupled from heading level */
.t-display { font-family: var(--font-family-display); font-weight: var(--weight-display); font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
.t-h1  { font-family: var(--font-family-display); font-weight: var(--weight-display); font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
.t-h2  { font-family: var(--font-family-display); font-weight: var(--weight-display); font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
.t-h3  { font-family: var(--font-family-display); font-weight: var(--weight-heading); font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); }
.t-h4  { font-family: var(--font-family-body); font-weight: var(--weight-strong); font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); }
.t-body-lg { font-family: var(--font-family-body); font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); }
.t-body    { font-family: var(--font-family-body); font-size: var(--fs-body); line-height: var(--lh-body); }
.t-small   { font-family: var(--font-family-body); font-size: var(--fs-small); line-height: var(--lh-small); }
.t-caption { font-family: var(--font-family-body); font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--color-text-secondary); }
.t-eyebrow { font-family: var(--font-family-body); font-size: var(--fs-eyebrow); font-weight: var(--weight-strong); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.t-nav     { font-family: var(--font-family-body); font-size: var(--fs-nav); font-weight: var(--weight-medium); }
.t-btn     { font-family: var(--font-family-body); font-size: var(--fs-btn); font-weight: var(--weight-medium); line-height: 1; }
.t-label   { font-family: var(--font-family-body); font-size: var(--fs-label); font-weight: var(--weight-strong); }

.lead { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--color-text-secondary); }
.panel--dark .lead, .panel--ink .lead { color: var(--on-ink-mut); }

.paren {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text-mut);
}
.paren::before { content: "("; }
.paren::after  { content: ")"; }
.panel--dark .paren, .panel--ink .paren { color: var(--on-ink-mut); }
.panel--orange .paren { color: rgba(255,255,255,.75); }

.statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.7vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.statement--wide { max-width: 34ch; }

.gtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   BUTTON — reusable component
   One base .btn (pill). Colour is driven by three tokens
   (--btn-bg / --btn-fg / --btn-bd), so a variant only sets those.
     .btn            primary — brand orange (default)
     .btn--dark      solid black  (e.g. on the orange band)
     .btn--light     solid white + hairline border
     .btn--ghost     transparent + 1px current-colour border
     .btn--sm        compact size
   No trailing icon. To restyle every button site-wide, edit
   this block only.
   ========================================================= */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--color-white);
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-family-body); font-weight: var(--weight-medium); font-size: var(--fs-btn); line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  box-shadow: inset 0 0 0 1px var(--btn-bd);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--orange { --btn-bg: var(--orange); --btn-fg: var(--color-white); }
.btn:hover, .btn--orange:hover { background: var(--orange-dark); }
.btn--dark   { --btn-bg: var(--ink); --btn-fg: var(--color-white); }
.btn--dark:hover { background: var(--color-black); }
.btn--light  { --btn-bg: var(--color-white); --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--light:hover { background: var(--sand); }
.btn--ghost  { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.btn--ghost:hover { background: rgba(128,128,128,.14); }

.btn--sm { padding: 11px 18px; font-size: 0.85rem; }
.btn--arrow::after { content: "\2197"; font-size: 0.95em; margin: 0 -2px 0 -2px; }  /* trailing ↗ */
.btn--bare {}  /* legacy alias — no-op */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row, .cta__in .btn-row { justify-content: center; }

.txt-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 0.95rem;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.txt-link::after { content: "↗"; }
.txt-link:hover { color: var(--orange); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.92rem; color: var(--orange-dark); }
.arrow-link::after { content: "↗"; transition: transform .16s ease; }
.arrow-link:hover::after { transform: translate(3px,-3px); }

/* phone number — "METAL" reveals to digits on first tap/click */
.tel__word {
  color: var(--orange);
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .15s ease;
}
a[data-tel]:hover .tel__word { color: var(--orange-2); }
a[data-tel]:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 3px; }
.tel__word.is-revealed { color: inherit; text-decoration: none; cursor: inherit; }

/* =========================================================
   PAGE SHELL + PANELS
   ========================================================= */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter) var(--gutter); }

.panel {
  position: relative;
  border-radius: var(--r-panel);
  overflow: clip;
  margin-top: var(--gutter);
  background: var(--paper);
}
.panel:first-child { margin-top: var(--gutter); }
.panel--paper  { background: var(--paper); color: var(--text); }
.panel--sand   { background: var(--sand);  color: var(--text); }
.panel--dark, .panel--ink { background: var(--ink); color: var(--on-ink); }
.panel--orange { background: var(--orange); color: var(--color-white); }
.panel--orange h1, .panel--orange h2, .panel--orange h3 { color: var(--color-white); }
.panel--dark h1, .panel--dark h2, .panel--dark h3,
.panel--ink h1, .panel--ink h2, .panel--ink h3 { color: var(--on-ink); }
.panel__in { padding: var(--pad); position: relative; z-index: 2; }
.panel__in--lg { padding: clamp(30px, 7vw, 110px) var(--pad); }

.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4.5vw, 56px); }
.sec-head .paren { margin-bottom: 18px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-foot { margin-top: clamp(30px, 4vw, 52px); }
.center .sec-foot, .sec-foot.center { text-align: center; }
.stack > * + * { margin-top: 1.2rem; }

/* =========================================================
   CLIENTS / LOGO ROW
   ========================================================= */
.clients .panel__in { padding-block: clamp(38px, 5.5vw, 68px); }
.clients__cap {
  text-align: center;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mut);
  max-width: 46ch; margin: 0 auto clamp(28px, 4vw, 46px);
}
.clients-marquee {
  margin-inline: calc(-1 * var(--pad));
  padding-block: 4px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, var(--color-black) 60px, var(--color-black) calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, var(--color-black) 60px, var(--color-black) calc(100% - 60px), transparent 100%);
}
.clients-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(28px, 5vw, 68px);
  padding-inline: var(--pad);
  animation: clients-marquee-scroll 26s linear infinite;
}
.clients-marquee:hover .clients-marquee__track,
.clients-marquee__track:has(:focus-visible) { animation-play-state: paused; }
@keyframes clients-marquee-scroll { to { transform: translateX(-50%); } }
.clients__logo {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity .22s ease, filter .22s ease, transform .22s ease;
}
.clients__logo img {
  width: auto; max-width: 210px;
  height: clamp(54px, 6vw, 78px);
  object-fit: contain;
}
.clients__logo:hover { opacity: 1; filter: grayscale(0); transform: translateY(-2px); }
@media (max-width: 560px) {
  .clients-marquee__track { gap: clamp(26px, 9vw, 44px); }
  .clients__logo img { height: clamp(46px, 13vw, 58px); max-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-marquee__track { animation: none; }
  .clients__logo { transition: none; }
}

/* =========================================================
   TESTIMONIALS  (carousel)
   ========================================================= */
.tst__head { padding-bottom: clamp(24px, 3vw, 38px); }
.tst__head .sec-head { margin-bottom: 0; max-width: none; }
.tst__head .sec-head h2 { margin-bottom: 0; }
@media (max-width: 720px) {
  .tst__head .sec-head h2 br { display: none; }
}

.tst__carousel { position: relative; }
.tst__scroll {
  display: flex;
  gap: clamp(16px, 1.8vw, 24px);
  padding: 4px var(--pad) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tst__scroll::-webkit-scrollbar { display: none; }
.tst__spacer { flex: 0 0 0px; align-self: stretch; pointer-events: none; }

/* carousel controls (injected by JS) */
.tst__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 26px) var(--pad) var(--pad);
}
.tst__dots { display: flex; align-items: center; gap: 8px; }
.tst__dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--text-mut); opacity: 0.3;
  border: 0; padding: 0; cursor: pointer;
  transition: width .25s ease, opacity .25s ease, background .25s ease;
}
.tst__dot.is-active { width: 22px; opacity: 1; background: var(--orange); }
.tst__arrows { display: flex; gap: 10px; }
.tst__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--paper); color: var(--text);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.tst__arrow:hover { background: var(--ink); color: var(--color-white); border-color: var(--ink); }
.tst__arrow[disabled] { opacity: 0.35; pointer-events: none; }
.tst__arrow svg { width: 18px; height: 18px; }

.tst__card {
  flex: 0 0 min(82vw, 366px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: clamp(400px, 44vw, 460px);
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
}
.tst__avatar {
  width: 58px; height: 58px; flex: none;
  border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: clamp(20px, 2.4vw, 30px);
}
.tst__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tst__quote {
  margin: 0;
  font-size: clamp(1rem, 1.05vw, 1.06rem);
  line-height: 1.58;
  color: var(--text);
}
.tst__by { margin-top: auto; padding-top: clamp(22px, 3vw, 34px); }
.tst__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem; line-height: 1;
  color: var(--text);
}
.tst__role {
  display: block; margin-top: 5px;
  font-size: 0.86rem; color: var(--text-mut);
}

@media (prefers-reduced-motion: reduce) {
  .tst__scroll { scroll-behavior: auto; }
}

/* =========================================================
   NAV — floating dark pill  (Nexsas)
   ========================================================= */
.nav-shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  padding: 12px clamp(10px, 2vw, 20px) 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 9px 9px 9px 22px;
  background: rgba(18,17,16,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-pill);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.5);
}
.nav__logo { margin-right: auto; display: flex; align-items: center; }
.nav__logo img { height: 17px; width: auto; }
.nav__cta { padding: 11px 20px; font-size: 0.84rem; }

/* inline links — desktop only (mobile/tablet use the hamburger overlay) */
.nav__links { display: none; }
.nav__links a,
.nav__mega-trigger {
  font-family: var(--font-family-body);
  font-size: var(--fs-nav); font-weight: var(--weight-medium);
  color: var(--on-ink-mut);
  padding: 8px 2px;
  cursor: pointer;
  transition: color .15s ease;
}
.nav__links a:hover,
.nav__links a[aria-current="page"],
.nav__mega-trigger:hover,
.nav__mega-trigger[aria-current="page"],
.nav__mega-trigger[aria-expanded="true"] { color: var(--color-white); }

/* Services mega menu */
.nav__mega-wrap { display: flex; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: min(620px, 90vw);
  padding: 14px;
  background: rgba(18,17,16,.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  box-shadow: 0 34px 64px -26px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 5;
}
.mega::before {                       /* invisible bridge over the gap */
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav__mega-wrap:hover .mega,
.nav__mega-wrap:focus-within .mega,
.mega.is-open {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__grid a {
  display: block; padding: 12px 14px; border-radius: 13px;
  transition: background .14s ease;
}
.mega__grid a:hover { background: rgba(255,255,255,.06); }
.mega__grid span { display: block; color: var(--on-ink); font-weight: 500; font-size: 0.9rem; }
.mega__grid small { display: block; color: var(--on-ink-mut); font-size: 0.78rem; margin-top: 3px; line-height: 1.45; }
.mega__all {
  display: block; margin-top: 6px; padding: 13px 14px 4px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--orange); font-size: 0.82rem; font-weight: 600;
}
.mega__all:hover { color: var(--orange-2); }

@media (min-width: 1000px) {
  .nav {
    display: grid; grid-template-columns: 1fr auto 1fr;
    padding-right: 14px;
  }
  .nav__logo { margin: 0; justify-self: start; }
  .nav__links {
    display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px);
    justify-self: center;
  }
  .nav__cta { justify-self: end; }
  .nav__menu { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mega { transition: none; }
}
.nav__menu {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-white); position: relative;
}
.nav__menu span, .nav__menu span::before, .nav__menu span::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; border-radius: 2px; background: var(--black);
  transition: transform .22s ease, opacity .2s ease;
}
.nav__menu span { top: 50%; margin-top: -1px; }
.nav__menu span::before { top: -5px; }
.nav__menu span::after  { top: 5px; }

/* =========================================================
   MENU OVERLAY  (Salient)
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink); color: var(--on-ink);
  display: flex; flex-direction: column;
  padding: clamp(20px, 4vw, 40px) var(--gutter);
  transform: translateY(-101%);
  transition: transform .42s cubic-bezier(.7,0,.2,1);
  overflow-y: auto;
}
.menu.is-open { transform: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.menu__top img { height: 18px; width: auto; }
.menu__close {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); position: relative;
}
.menu__close::before, .menu__close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 17px; height: 2px; background: var(--color-white); border-radius: 2px;
}
.menu__close::before { transform: translate(-50%,-50%) rotate(45deg); }
.menu__close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
.menu__nav { padding: clamp(28px,6vw,64px) 0; }
.menu__nav > a, .menu__nav-row > a {
  display: block;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 6.5vw, 4.6rem); line-height: 1.16;
  letter-spacing: -0.03em;
  padding: 6px 0;
  transition: color .15s ease, padding-left .2s ease;
}
.menu__nav > a:hover, .menu__nav-row > a:hover { color: var(--orange); padding-left: 14px; }
.menu__nav-row { display: flex; align-items: center; gap: 4px; }
.menu__nav-row > a { flex: 1; }
.menu__nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  color: var(--on-ink-mut);
  transition: color .15s ease;
}
.menu__nav-toggle:hover { color: var(--color-white); }
.menu__nav-toggle svg { width: 22px; height: 22px; transition: transform .3s ease; }
.menu__nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu__sub {
  display: flex; flex-direction: column; gap: 10px;
  max-height: 0; overflow: hidden;
  padding-left: 2px;
  transition: max-height .35s ease, margin .35s ease;
}
.menu__sub.is-open { max-height: 420px; margin: 10px 0 6px; }
.menu__sub a { font-size: 0.9rem; color: var(--on-ink-mut); }
.menu__sub a:hover { color: var(--color-white); }
.menu__foot {
  padding-top: 26px; border-top: 1px solid var(--line-ink);
  font-size: 0.9rem; color: var(--on-ink-mut);
}
.menu__foot-row {
  display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: baseline;
  margin-bottom: 22px;
}
.menu__foot a:hover { color: var(--color-white); }
.menu__whatsapp { width: 100%; }
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO  (full-bleed — fills the viewport, nav overlays it)
   ========================================================= */
main.shell > section.hero,
.hero {
  /* break out of the .shell frame → edge-to-edge */
  width: 100%;
  margin: 0;
  border-radius: 0;
  /* fill the whole viewport, header included */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  isolation: isolate;
}
.hero::after {                       /* warm top glow */
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 60%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255,110,50,.4), rgba(255,79,25,.08) 55%, transparent 75%);
  z-index: 1; pointer-events: none;
}

/* left-aligned main content
   (drop a client background image on .hero__main via background-image) */
.hero__main {
  flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left;
  /* top pad clears the fixed ticker + nav; sides line up with the panels below */
  padding-block: clamp(118px, 15vh, 170px) clamp(48px, 7vw, 84px);
  padding-inline: var(--pad-shell);
  position: relative; z-index: 2;
  background-size: cover; background-position: center;
}
.hero__main h1 {
  font-size: clamp(3rem, 8.6vw, 7rem);
  color: var(--on-ink);
}
.hero__desc {
  margin: 22px 0 30px;
  max-width: 52ch;
  color: var(--on-ink-mut);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

/* audience panels */
.hero__audience {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-ink);
}
.hero__aud {
  position: relative; overflow: hidden;
  padding-block: clamp(28px, 4vw, 52px);
  padding-inline: var(--pad);
  display: flex; flex-direction: column;
  background-size: cover; background-position: center;   /* client bg image slot */
}
.hero__aud:first-child  { padding-left: var(--pad-shell); }
.hero__aud:last-child   { padding-right: var(--pad-shell); }
.hero__aud + .hero__aud { border-left: 1px solid var(--line-ink); }
.hero__aud-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; height: 100%; }
/* audience-card titles are <h2> (page sections) shown at h3 scale */
.hero__aud-in h2 {
  color: var(--on-ink); max-width: 16ch;
  font-size: var(--fs-h3); line-height: var(--lh-h3);
  font-weight: var(--weight-heading); letter-spacing: var(--ls-h3);
}
.hero__aud-in p { color: var(--on-ink-mut); font-size: 0.98rem; max-width: 42ch; }
.hero__aud-in .arrow-link { margin-top: auto; padding-top: 10px; color: var(--orange); }

/* =========================================================
   SERVICES (bento-ish rounded cards)
   ========================================================= */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.svc__item {
  position: relative;
  border-radius: var(--r-card);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface-primary);
  color: var(--color-text-primary);
  padding: clamp(22px,2.6vw,32px);
  min-height: 210px;
  display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.svc__item:hover { transform: translateY(-4px); border-color: var(--color-border-hover); }
.svc__item--accent:hover { border-color: transparent; filter: brightness(0.96); }
.svc__icon { display: block; }
.svc__icon img { width: 80px; height: 80px; object-fit: contain; object-position: left center; }
.svc__item h3 { margin: 16px 0 10px; color: inherit; }
/* orange-panel card: force a single-colour icon to read as white */
.svc__item--accent .svc__icon img { filter: brightness(0) invert(1); }
.svc__item p { color: var(--color-text-secondary); font-size: var(--fs-small); line-height: var(--lh-small); }
.svc__item .arrow-link { margin-top: auto; padding-top: 16px; }
.svc__item--accent {
  background: var(--color-brand-orange); border-color: transparent; color: var(--color-white);
}
.svc__item--accent .svc__icon { color: var(--color-white); }
.svc__item--accent p { color: var(--color-text-on-dark); }
.svc__item--accent .arrow-link { color: var(--color-white); }

/* dark-panel variant — readable card on a dark section ("Other services") */
.panel--dark .svc__item, .panel--ink .svc__item {
  background: var(--color-surface-dark);
  border-color: var(--color-border-dark);
  color: var(--color-text-on-dark);
}
.panel--dark .svc__item p, .panel--ink .svc__item p { color: var(--color-text-on-dark-muted); }
.panel--dark .svc__item:hover, .panel--ink .svc__item:hover { border-color: var(--color-border-hover); }
.panel--dark .svc__item .arrow-link, .panel--ink .svc__item .arrow-link { color: var(--color-brand-orange); }


/* =========================================================
   SELECTED WORK
   ========================================================= */
.work-fan {
  margin-top: clamp(34px, 5vw, 58px);
  margin-inline: calc(-1 * var(--pad));
  padding: 34px 0 26px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, var(--color-black) 60px, var(--color-black) calc(100% - 60px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, var(--color-black) 60px, var(--color-black) calc(100% - 60px), transparent 100%);
}
.work-fan__track {
  display: flex;
  width: max-content;
  gap: clamp(30px, 4vw, 52px);
  padding-inline: var(--pad);
  animation: work-fan-scroll 34s linear infinite;
}
.work-fan:hover .work-fan__track,
.work-fan__track:has(:focus-visible) { animation-play-state: paused; }
@keyframes work-fan-scroll { to { transform: translateX(-50%); } }

.work-fan__item {
  position: relative; flex: 0 0 clamp(170px, 19vw, 250px);
  aspect-ratio: 3 / 4;
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 16px;
  cursor: zoom-in;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
  box-shadow: 0 18px 30px -20px rgba(18,17,16,.25);
}
.work-fan__item:hover {
  transform: translateY(-10px) rotate(0deg) !important;
  box-shadow: 0 26px 38px -18px rgba(18,17,16,.32);
  z-index: 5;
}
.work-fan__item img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.work-fan__item:hover img { transform: scale(1.05); }
.work-fan__item::before {                              /* scrim for label legibility */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(18,17,16,.75) 100%);
}
.work-fan__item span {
  position: relative; z-index: 2;
  font-weight: 600; font-size: 0.82rem;
  background: rgba(18,17,16,.9); color: var(--color-white); padding: 7px 11px; border-radius: 9px;
  white-space: nowrap;
}
/* keep the "peak" of the fan visually in front */
.work-fan__item:nth-child(5n+3) { z-index: 3; }
.work-fan__item:nth-child(5n+2), .work-fan__item:nth-child(5n+4) { z-index: 2; }
.work-fan__item:nth-child(5n+1), .work-fan__item:nth-child(5n+5) { z-index: 1; }
/* gentle fan arc — pattern repeats every 5 cards (one full set) */
.work-fan__item:nth-child(5n+1) { transform: rotate(-5deg) translateY(16px); }
.work-fan__item:nth-child(5n+2) { transform: rotate(-2.5deg) translateY(5px); }
.work-fan__item:nth-child(5n+3) { transform: rotate(0deg)  translateY(-6px); }
.work-fan__item:nth-child(5n+4) { transform: rotate(2.5deg) translateY(5px); }
.work-fan__item:nth-child(5n+5) { transform: rotate(5deg)  translateY(16px); }

@media (prefers-reduced-motion: reduce) {
  .work-fan__track { animation: none; }
  .work-fan__item { transition: none; }
}

/* =========================================================
   CHECK LIST / SPLIT (architects etc.)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,64px); align-items: center; }
.split__media {
  border-radius: var(--r-card); aspect-ratio: 5/4; overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255,79,25,.18), transparent 55%),
    repeating-linear-gradient(45deg, #efece4 0 18px, #e6e2d8 18px 36px);
  position: relative;
}
.panel--dark .split__media, .panel--ink .split__media {
  border-color: var(--line-ink);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255,79,25,.28), transparent 55%),
    repeating-linear-gradient(45deg, #201e1b 0 18px, #262320 18px 36px);
}
.split__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42%; height: 42%; background: var(--grad); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.split--flip .split__media { order: -1; }
.split--stretch { align-items: stretch; }

/* about — founder photo: narrower column, height matched to the text
   column instead of a fixed aspect-ratio, so the block reads compact */
.founder-split { grid-template-columns: minmax(220px, 0.85fr) 1.15fr; }
.founder-split__media { aspect-ratio: auto; }
.founder-split__media::after { content: none; }   /* no orange corner triangle on the photo */
/* text side boxed to match — two contained panels side by side, same
   idea as the contact page's aside + form cards */
.founder-split__content {
  background: var(--ink-2);
  border: 1px solid var(--line-ink);
  border-radius: var(--r-card);
  padding: clamp(28px, 3.5vw, 48px);
  display: flex; flex-direction: column;
  justify-content: center;
}
@media (max-width: 720px) {
  .founder-split__media { aspect-ratio: 4 / 5; }  /* matches the portrait photo so it shows uncropped */
}

/* architects panel — capability cards instead of a placeholder image */
.split--arch { align-items: start; }
.arch-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.4vw, 18px);
}
.arch-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--line-ink);
  border-radius: var(--r-card);
  background: rgba(255,255,255,.035);
}
.arch-card__icon {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--orange);
  background: rgba(255,79,25,.1);
  border: 1px solid var(--line-ink);
}
.arch-card__icon svg { width: 20px; height: 20px; }
.arch-card h3 { color: var(--on-ink); font-weight: 400; font-size: 1rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 5px; }
.arch-card p { color: var(--on-ink-mut); font-size: 0.88rem; max-width: 32ch; }
@media (max-width: 520px) {
  .arch-grid { grid-template-columns: 1fr; }
}

.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 3px; background: var(--grad); }

/* =========================================================
   STEPS (numbered)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px,2.6vw,34px); counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid currentColor; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 300; font-size: 1.15rem; letter-spacing: -0.02em;
  color: var(--orange);
  position: absolute; top: -14px; padding-right: 8px; background: inherit;
}
.panel--sand .step::before { background: var(--sand); }
.panel--paper .step::before { background: var(--paper); }
.panel--dark .step::before, .panel--ink .step::before { background: var(--ink); }
/* step titles are <h3 class="t-h4"> — h3 for structure, h4 for scale */
.step h3 { margin-bottom: 7px; }
.step p { font-size: 0.94rem; color: var(--text-mut); }
.panel--dark .step p, .panel--ink .step p { color: var(--on-ink-mut); }

/* =========================================================
   FAQ  — two-column: aside (heading + CTA card) | accordion
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}
.faq-aside h2 { margin-bottom: clamp(22px, 4vw, 40px); }

.faq-cta {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 13px;
}
.faq-cta__badge {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.faq-cta__badge svg { width: 30px; height: auto; }
.faq-cta h3 { font-weight: 400; }
.faq-cta p { color: var(--text-mut); font-size: 0.96rem; }
.faq-cta .btn { width: 100%; margin-top: 6px; }

/* accordion */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--paper);
  padding: 2px clamp(18px, 2vw, 26px);
  transition: border-color .18s ease;
}
.faq__item[open] { border-color: rgba(20,16,10,.22); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 20px 0; display: flex; gap: 18px; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  letter-spacing: -0.02em; color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {           /* plus icon (two bars) */
  content: ""; flex: none;
  width: 16px; height: 16px;
  color: var(--orange);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: center;
  background-size: 100% 2px, 2px 100%;
  background-repeat: no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after {      /* minus icon (one bar) */
  background-size: 100% 2px, 0 0;
  transform: rotate(180deg);
}
.faq__item p { padding: 0 0 22px; margin: 0; color: var(--text-mut); max-width: 64ch; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CTA PANEL  (Nexsas-style — light panel, squiggle art, centred)
   ========================================================= */
.cta {
  background: var(--paper);
  text-align: center;
  isolation: isolate;
}
.cta__in {
  position: relative; z-index: 2;
  max-width: 820px; margin: 0 auto;
  padding: clamp(64px, 11vw, 150px) var(--pad);
}
.cta__title {
  font-family: var(--font-family-display); font-weight: var(--weight-display);
  font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -0.03em;
  color: var(--color-text-primary);
  max-width: 22ch; margin: 0 auto 20px;
  text-wrap: balance;
}
.cta__text {
  color: var(--text-mut);
  max-width: 60ch; margin: 0 auto 34px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  text-wrap: pretty;
}
.cta__art {
  position: absolute; z-index: 1; pointer-events: none;
  width: clamp(190px, 26vw, 380px); height: auto;
}
.cta__art--tr { top: -10%; right: -6%; transform: rotate(6deg); }
.cta__art--bl { bottom: -12%; left: -7%; transform: scaleX(-1) rotate(4deg); }
.cta__art--tl { top: 6%; left: -11%; width: clamp(110px, 14vw, 190px); transform: rotate(-14deg); }
@media (max-width: 720px) {
  .cta__art--tl { display: none; }
  .cta__art { width: clamp(140px, 36vw, 220px); }
}

/* =========================================================
   FOOTER  (brand block + link columns + bottom bar)
   ========================================================= */
.foot {
  position: relative;
  background: var(--ink); color: var(--on-ink);
  border-radius: var(--r-panel);
  overflow: clip;
  /* align with the rest of the page: same max-width, side gutters, and a gap below */
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--shell) - 2 * var(--gutter));
  margin: var(--gutter) auto;
}
.foot__in { padding: clamp(40px, 5.5vw, 78px) var(--pad); }

.foot__main {
  display: grid;
  grid-template-columns: 1.15fr 2fr;
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(34px, 4.5vw, 54px);
}
.foot__brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.foot__brand-row img { height: 26px; width: auto; }

.foot__block { margin-bottom: 24px; }
.foot__label { display: block; font-weight: 600; color: var(--color-white); font-size: 0.98rem; margin-bottom: 8px; }
.foot__block p,
.foot__block a { display: block; color: var(--on-ink-mut); font-size: 0.95rem; line-height: 1.75; max-width: 42ch; }
.foot__block a:hover { color: var(--orange); }

.foot__social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.foot__social a {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid var(--line-ink); color: var(--on-ink-mut);
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.foot__social a:hover { color: var(--color-white); border-color: var(--orange); background: rgba(255,79,25,.14); }
.foot__social svg { width: 18px; height: 18px; }

.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.foot__col-label {
  display: block;
  color: var(--color-white); font-family: var(--font-display); font-weight: 400;
  font-size: 1.1rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 20px;
}
.foot__cols a { display: block; padding: 8px 0; font-size: 0.94rem; color: var(--on-ink-mut); }
.foot__cols a:hover { color: var(--orange); }

.foot__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid var(--line-ink);
  font-size: 0.85rem; color: var(--on-ink-mut);
}
.foot__bottom-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot__bottom-links a:hover { color: var(--color-white); }

@media (max-width: 900px) {
  .foot__main { grid-template-columns: 1fr; gap: 48px; }   /* space between the social icons and the link columns */
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot__cols { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   INTERIOR PAGE HERO  (dark panel, oversized headline + accent word)
   ========================================================= */
.panel.pg-hero { margin-top: calc(var(--ticker-h) + clamp(88px, 9vw, 104px)); }
.pg-hero { isolation: isolate; }
.pg-hero .panel__in {
  position: relative; z-index: 1;
  padding-block: clamp(54px, 8vw, 104px);
}
.pg-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  max-width: 15ch; margin-bottom: 20px;
  text-wrap: balance;
}
.pg-hero .lead { color: var(--on-ink-mut); max-width: 52ch; }
.pg-hero__art {
  position: absolute; z-index: 0;
  top: clamp(-42px, -3.5vw, -14px); right: clamp(-54px, -4vw, -18px);
  width: clamp(170px, 24vw, 320px);
  opacity: 0.55; pointer-events: none;
}
.pg-hero::after {
  content: ""; position: absolute; inset: -30% 0 auto 0; height: 60%;
  background: radial-gradient(50% 100% at 28% 0%, rgba(255,110,50,.28), transparent 72%);
  z-index: 0; pointer-events: none;
}
/* bottom stats — one continuous glass strip, flush to the hero edges,
   its bottom corners clipped by the panel's own radius */
.pg-hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 11, 10, 0.5);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  overflow: hidden;
}
.pg-hero__stats::before {                 /* soft warm orange glow */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(80% 170% at 12% 100%, rgba(255, 79, 25, 0.22), transparent 60%),
    radial-gradient(70% 150% at 92% 0%, rgba(255, 122, 69, 0.12), transparent 65%);
  pointer-events: none;
}
.pg-hero__stats > div {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3.2vw, 40px);
}
.pg-hero__stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.pg-hero__stats b {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  letter-spacing: -0.02em;
  color: var(--orange);
}
.pg-hero__stats span {
  font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-ink-mut);
}
@media (max-width: 640px) {
  .pg-hero__stats { grid-template-columns: 1fr; }
  .pg-hero__stats > div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* founder block */
.founder__role {
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}

/* about — "our story" section: editorial two-column with a sticky rail */
.story { isolation: isolate; }
.story::after {                         /* faint oversized year watermark */
  content: "1990";
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  right: clamp(-14px, 1vw, 32px); bottom: clamp(-34px, -2vw, -12px);
  font-family: var(--font-display); font-weight: 300; letter-spacing: -0.04em;
  font-size: clamp(6rem, 19vw, 17rem); line-height: 0.8;
  color: var(--sand);
}
.story__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.4fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: stretch;
}
/* heading pinned to the top, "Est. 1990" to the bottom of the row */
.story__aside {
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 60px);
}
.story__aside h2 { margin: 0; }
.story__since {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-display); font-weight: 300; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1;
  color: var(--ink);
}
.story__since span {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mut);
}
.story__body { max-width: 60ch; }
.story__body > * + * { margin-top: 1.3rem; }
.story__lead {
  font-size: clamp(1.14rem, 1.7vw, 1.4rem); line-height: 1.5;
  color: var(--text);
  padding-bottom: clamp(18px, 2.6vw, 28px);
  border-bottom: 1px solid var(--line);
}
.story__body strong { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__aside { gap: clamp(20px, 6vw, 32px); }
}

/* legacy .section / .s wrappers -> map onto panel padding */
.s, .section { position: relative; }
.s .wrap, .section .wrap, .s > .wrap { max-width: 1240px; margin: 0 auto; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 0; }
.wrap--narrow { max-width: 880px; }

.grid { display: grid; gap: clamp(18px,2.6vw,32px); }
.cards { grid-template-columns: repeat(3,1fr); }
.card {
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--paper);
  padding: clamp(24px, 2.6vw, 36px);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card::before {                       /* accent bar — sweeps full-width on hover */
  content: ""; position: absolute; top: 0; left: 0; height: 3px;
  width: 44px; background: var(--grad);
  transition: width .35s cubic-bezier(.16, 1, .3, 1);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: 0 26px 44px -26px rgba(18, 17, 16, .28);
}
.card:hover::before { width: 100%; }
.card h3 { margin: 0 0 9px; }
.card p { color: var(--text-mut); font-size: 0.95rem; }
.card .arrow-link { margin-top: auto; padding-top: 18px; }
.panel--dark .card, .panel--ink .card { background: var(--ink-2); border-color: var(--line-ink); }
.panel--dark .card p, .panel--ink .card p { color: var(--on-ink-mut); }
.panel--dark .card:hover, .panel--ink .card:hover { border-color: var(--color-border-hover); }
.panel--dark .card .arrow-link, .panel--ink .card .arrow-link { color: var(--orange); }

/* icon-topped variant (e.g. "Why choose Metal Master") */
.card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 50%; background: var(--grad); color: #fff; flex-shrink: 0;
}
.card__icon svg { width: 24px; height: 24px; }

/* accent CTA card — completes an uneven grid with a prompt instead of
   empty space (same idea as .svc__item--accent) */
.card--accent {
  background: var(--grad); border-color: transparent; color: #fff;
}
.card--accent::before { display: none; }
.card--accent .card__icon { background: rgba(255,255,255,.2); }
.card--accent p { color: rgba(255,255,255,.85); }
.card--accent .arrow-link { color: #fff; }
.card--accent:hover { border-color: transparent; filter: brightness(1.04); }

/* "What we can build" editorial row-list — a labelled list instead of
   another card grid, for visual variety within the page */
.build-list { display: flex; flex-direction: column; }
.build-row {
  display: grid; grid-template-columns: minmax(140px, 200px) 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px) 4px;
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding-left .3s ease;
}
.build-row:last-child { border-bottom: 1px solid var(--line); }
.build-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad); transform: scaleY(0); transform-origin: top;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.build-row:hover { padding-left: 20px; }
.build-row:hover::before { transform: scaleY(1); }
.build-row__label {
  font-family: var(--font-family-body); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
  padding-top: 4px;
}
.build-row h3 { margin: 0 0 8px; }
.build-row p { color: var(--text-mut); max-width: 56ch; }
@media (max-width: 720px) {
  .build-row { grid-template-columns: 1fr; gap: 6px; }
}

/* "Made to measure" connected-node timeline (service detail pages) */
.measure-steps {
  --ms-gap: clamp(24px, 4vw, 40px);
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--ms-gap);
  padding-top: 8px;
}
.measure-step { position: relative; text-align: center; }
/* connector runs from this step's circle centre to the next step's circle centre */
.measure-step:not(:last-child)::before {
  content: ""; position: absolute; top: 28px; left: 50%;
  width: calc(100% + var(--ms-gap)); height: 2px; background: var(--line);
}
.measure-step__num {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  box-shadow: 0 10px 24px -10px rgba(255, 79, 25, .55);
}
.measure-step h3 { margin: 0 0 8px; }
.measure-step p { color: var(--text-mut); font-size: 0.94rem; max-width: 28ch; margin-inline: auto; }
.panel--dark .measure-step p, .panel--ink .measure-step p { color: var(--on-ink-mut); }
.panel--dark .measure-step::before, .panel--ink .measure-step::before { background: var(--line-ink); }
@media (max-width: 720px) {
  .measure-steps { grid-template-columns: 1fr; gap: 34px; padding-top: 0; }
  .measure-step { text-align: left; padding-left: 76px; min-height: 56px; }
  .measure-step:not(:last-child)::before {
    top: 56px; left: 27px; width: 2px; height: calc(100% + var(--ms-gap) - 56px);
  }
  .measure-step__num { position: absolute; top: 0; left: 0; margin: 0; }
  .measure-step p { margin-inline: 0; max-width: none; }
}

.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.gallery__item {
  aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255,79,25,.16), transparent 55%),
    repeating-linear-gradient(45deg, #edeae2 0 14px, #e4e0d6 14px 28px);
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery__item img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.gallery__item span { position: relative; z-index: 1; font-size: 0.78rem; font-weight: 600; background: var(--black); color: var(--color-white); padding: 6px 10px; border-radius: 8px; }
.gallery__item--zoomable { cursor: zoom-in; }
.gallery__item--zoomable:hover img { transform: scale(1.04); }
.gallery__item--zoomable img { transition: transform .3s ease; }

/* lightbox — click a project photo to view it full-size */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 6vw, 64px);
  background: rgba(18, 17, 16, .92);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  display: block;
  max-width: 100%; max-height: 100%;
  border-radius: var(--r-card);
  box-shadow: 0 50px 90px -20px rgba(0, 0, 0, .6);
}
.lightbox__close {
  position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--color-white);
  transition: background .16s ease, transform .16s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.lightbox__close svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .gallery__item--zoomable img { transition: none; }
}

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--color-white); color: var(--text); font-size: 0.8rem; font-weight: 500; }
.chip[aria-pressed="true"], .chip:hover { background: var(--orange); color: var(--color-white); border-color: transparent; }

.form-card { background: var(--color-white); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px,4vw,42px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-family-body); font-weight: var(--weight-strong); font-size: var(--fs-label); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 0.96rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--color-white); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,79,25,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E675B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field--half { display: inline-block; width: calc(50% - 8px); }
.field--half + .field--half { margin-left: 14px; }
.form-note { font-size: 0.84rem; color: var(--text-mut); margin-top: 4px; }
.form-status { margin-top: 15px; font-weight: 600; font-size: 0.93rem; }
.form-status.is-error { color: var(--color-error); }
.form-status.is-ok { color: var(--color-success); }

.info-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { padding-top: 0; }
.info-list h4 { color: var(--orange-dark); margin-bottom: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; border: 1px solid currentColor; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.03em;
  opacity: .85;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

.placeholder-flag { background: var(--orange-tint); border: 1px dashed rgba(255,79,25,.5); color: var(--color-error); padding: 13px 17px; border-radius: 12px; font-size: 0.85rem; font-weight: 500; }
.placeholder-flag code { background: rgba(255,79,25,.16); padding: 1px 5px; border-radius: 4px; }

/* =========================================================
   DOC — long-form legal / policy pages
   ========================================================= */
.doc { max-width: 70ch; }
.doc__meta {
  font-size: var(--fs-small); color: var(--color-text-secondary);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.doc h2 {
  font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3);
  font-weight: var(--weight-heading);
  margin-top: clamp(34px, 4.5vw, 56px); margin-bottom: 10px;
}
.doc > h2:first-child { margin-top: 0; }
.doc h3 {
  font-family: var(--font-family-body); font-weight: var(--weight-strong);
  font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: 0;
  color: var(--color-text-primary);
  margin-top: 22px; margin-bottom: 6px;
}
.doc p, .doc li { color: var(--color-text-secondary); }
.doc p + p { margin-top: 0.9rem; }
.doc ul { list-style: disc; padding-left: 1.25em; margin-top: 0.7rem; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--color-brand-orange); text-decoration: underline; text-underline-offset: 2px; }
.doc a:hover { color: var(--color-brand-orange-hover); }
.doc strong { color: var(--color-text-primary); font-weight: var(--weight-strong); }

/* =========================================================
   CONTACT PAGE — details aside + form card
   ========================================================= */
/* no background panel — the two cards sit straight on the page,
   edge-aligned with the panels above and below */
main.shell section.contact-section:not(.panel) {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  padding: 0;
  /* a touch more than --gutter on narrow screens — the hero (dark) and
     the contact-aside (orange) are both solid colour, so the default
     12px gutter reads as the two panels touching */
  margin-top: clamp(28px, 5.5vw, 40px);
}
.contact-grid {
  display: grid;
  grid-template-columns: 36fr 64fr;
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}

/* --- left: orange contact panel --- */
.contact-aside {
  background: var(--orange); color: var(--color-white);
  border-radius: var(--r-card);
  padding: clamp(26px, 3.2vw, 44px);
  position: relative; overflow: hidden;
}
.contact-aside::after {                 /* faint sheen for depth */
  content: ""; position: absolute; inset: auto -30% -55% auto;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
  pointer-events: none;
}
.contact-aside h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  max-width: 14ch; margin-bottom: 12px;
}
.contact-aside__lead {
  color: rgba(255,255,255,.82); font-size: 0.94rem;
  max-width: 34ch; margin-bottom: clamp(24px, 3.4vw, 36px);
}

.contact__info { position: relative; display: grid; gap: 2px; }
.contact__info li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.2);
}
.contact__info li:last-child { padding-bottom: 0; }
.contact__info svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--color-white); }
.contact__info b {
  display: block; font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 3px;
}
.contact__info a, .contact__info span { color: var(--color-white); font-size: 0.96rem; }
.contact__info a:hover { color: rgba(255,255,255,.75); }
.contact-aside .tel__word {
  color: var(--color-white);
  text-decoration-color: rgba(255,255,255,.55);
}
.contact-aside a[data-tel]:hover .tel__word { color: rgba(255,255,255,.78); }

/* --- the form card --- */
.contact__form {
  background: var(--paper); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 42px);
  display: flex; flex-direction: column;
  scroll-margin-top: clamp(84px, 10vw, 110px);
}
.contact__form h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 10px;
}

@media (min-width: 901px) {
  .contact-aside { position: sticky; top: clamp(88px, 12vh, 110px); }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact__form__lead {
  color: var(--text-mut); max-width: none;
  margin-bottom: clamp(22px, 3vw, 32px);
}
.contact-form .btn,
.visit-form .btn { width: 100%; margin-top: 8px; }
.contact-form > .field:last-of-type { margin-bottom: 22px; }

/* segmented control — switches the two contact forms */
.seg {
  display: flex; gap: 4px;
  padding: 4px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  margin-bottom: clamp(22px, 3vw, 30px);
}
.seg__btn {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 500; line-height: 1;
  color: var(--text-mut);
  white-space: nowrap;
  transition: background .16s ease, color .16s ease;
}
.seg__btn:hover { color: var(--text); }
.seg__btn.is-active { background: var(--ink); color: var(--color-white); }
.seg__btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
[data-seg-panel][hidden] { display: none; }

/* two-up field row (contact + site-visit forms) */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
/* a 1fr track still has an implicit min-width:auto (content-based) in CSS
   Grid, so a native date/time input's own intrinsic width (esp. iOS
   Safari) can push its track — and the page — wider than the viewport;
   minmax(0, 1fr) sets the track's own floor to 0, and min-width:0 here
   covers the item and input as a second layer of the same fix */
.field-row > .field { min-width: 0; }
.field input[type="date"], .field input[type="time"] {
  min-width: 0; width: 100%; max-width: 100%;
  /* iOS Safari renders type="date" at its own intrinsic width and ignores
     the CSS width above unless appearance is taken off "auto" first —
     which also drops its native height and calendar icon, so both are
     restored explicitly below to match the other fields */
  -webkit-appearance: none; appearance: none;
  min-height: 48px; line-height: normal;
  position: relative;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E675B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 44px; margin: 0; padding: 0;
  opacity: 0; cursor: pointer;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* selectable pills — shared by the contact-method options and the
   service-required chips so both look identical (plain pill, no indicator) */
.radio-row, .chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row .radio, .chip-group .chip {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0; padding: 11px 22px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--color-white);
  font-size: 0.92rem; font-weight: 500; line-height: 1; color: var(--text);
  cursor: pointer; user-select: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.radio-row .radio input, .chip-group .chip input {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.radio-row .radio:hover, .chip-group .chip:hover { border-color: var(--text-mut); }
.radio-row .radio:has(input:focus-visible), .chip-group .chip:has(input:focus-visible) {
  outline: 2px solid var(--orange); outline-offset: 2px;
}
.radio-row .radio:has(input:checked), .chip-group .chip:has(input:checked) {
  border-color: var(--orange); background: var(--orange-tint); color: var(--orange-dark);
}


/* =========================================================
   BOOK A SITE VISIT — split intro + form
   ========================================================= */
.panel.visit { margin-top: calc(var(--ticker-h) + clamp(90px, 9vw, 108px)); }   /* clear the fixed nav */
.visit {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(20px, 3vw, 46px);
  padding: var(--pad);
}

/* --- left column --- */
.visit__intro { display: flex; flex-direction: column; }
.visit__intro h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  margin-bottom: 16px; max-width: 17ch;
}
.visit__intro > p {
  color: var(--text-mut); max-width: 46ch;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.visit-next {
  margin-top: clamp(28px, 4vw, 44px);
  background: var(--ink); color: var(--on-ink);
  border: 1px solid var(--line-ink);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 34px);
}
.visit-next__title {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-ink-mut); margin-bottom: clamp(20px, 3vw, 28px);
}
.visit-next__step {
  position: relative;
  display: grid; grid-template-columns: 38px 1fr; column-gap: 16px;
  padding-bottom: clamp(20px, 3vw, 28px);
}
.visit-next__step:last-child { padding-bottom: 0; }
.visit-next__step:not(:last-child)::before {
  content: ""; position: absolute; left: 18px; top: 46px; bottom: 6px;
  width: 1px; background: var(--line-ink);
}
.visit-next__num {
  grid-row: 1 / span 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-ink); border-radius: 10px;
  background: rgba(255,79,25,.09);
  font-family: var(--font-display); font-weight: 300; font-size: 0.95rem;
  color: var(--orange);
}
.visit-next__step h4 {
  color: var(--on-ink); font-size: 1rem; font-weight: 400;
  margin-bottom: 4px;
}
.visit-next__step p { color: var(--on-ink-mut); font-size: 0.9rem; max-width: 42ch; }

.visit-reassure {
  margin-top: clamp(18px, 2.4vw, 24px);
  font-size: 0.85rem; font-weight: 500; color: var(--text-mut);
}

/* --- right column: form card --- */
.visit__form { align-self: start; }
.visit-card {
  background: var(--paper); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(24px, 3.4vw, 44px);
}
.visit-card > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.visit-card__lead {
  color: var(--text-mut); max-width: 52ch;
  margin-bottom: clamp(22px, 3vw, 30px);
}
.field .req { color: var(--orange); margin-left: 2px; }


/* file upload */
.field > label + .form-note { margin-top: -3px; }   /* a field's description sits right under its label */
.form-note + .upload { margin-top: 16px; }
.upload {
  position: relative;
  border: 1.5px dashed var(--line); border-radius: 14px;
  background: var(--color-white); padding: clamp(22px, 3vw, 30px);
  text-align: center;
  transition: border-color .15s ease, background .15s ease;
}
.upload.is-drag { border-color: var(--orange); background: var(--orange-tint); }
.upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload__icon { width: 32px; height: 32px; margin: 0 auto 10px; color: var(--orange); }
.upload__title { font-weight: 600; font-size: 0.92rem; }
.upload__title u { color: var(--orange-dark); text-decoration: none; text-underline-offset: 2px; }
.upload__hint { font-size: 0.82rem; color: var(--text-mut); margin-top: 5px; }
.upload__list { margin-top: 14px; display: grid; gap: 8px; text-align: left; }
.upload__file {
  display: flex; align-items: center; gap: 10px;
  background: var(--sand); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 11px; font-size: 0.86rem;
}
.upload__file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__file-size { flex: none; color: var(--text-mut); font-size: 0.8rem; }
.upload__file-x {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; line-height: 1; font-size: 0.95rem;
  color: var(--text-mut); border: 1px solid var(--line); background: var(--color-white); cursor: pointer;
}
.upload__file-x:hover { color: var(--orange); border-color: var(--orange); }
.upload__err { margin-top: 9px; text-align: left; color: var(--color-error); font-size: 0.82rem; font-weight: 500; }
.upload__bar { margin-top: 12px; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.upload__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s ease; }

.visit-card .btn { width: 100%; margin-top: 8px; }
/* icon on the left, both lines start after it */
.visit-fineprint { margin-top: 14px; display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; line-height: 1.5; color: var(--text-mut); }
.visit-fineprint p { max-width: none; margin: 0; }
.visit-fineprint p + p { margin-top: 4px; }
.visit-fineprint svg { flex: none; width: 14px; height: 14px; margin-top: .2em; color: var(--orange); }

/* success confirmation (replaces the form) */
.visit-success { text-align: center; padding: clamp(24px, 5vw, 48px) 0; }
.visit-success__mark {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange-tint); color: var(--orange-dark);
}
.visit-success h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.visit-success p { color: var(--text-mut); max-width: 40ch; margin: 0 auto; }

@media (max-width: 900px) {
  .visit { grid-template-columns: 1fr; }
}

/* =========================================================
   MOTION
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .work-fan__track { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1040px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

/* tablet + mobile */
@media (max-width: 860px) {
  .hero__audience { grid-template-columns: 1fr; }
  .hero__aud + .hero__aud { border-left: 0; border-top: 1px solid var(--line-ink); }
  .hero__aud:first-child, .hero__aud:last-child { padding-inline: var(--pad-shell); }
}

@media (max-width: 720px) {
  :root { --r-panel: 22px; }
  .svc { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
  .nav__cta { display: none; }
  .field--half, .field--half + .field--half { display: block; width: 100%; margin-left: 0; }
}

/* =========================================================
   INTERIOR PAGES — legacy <section> as panels inside main.shell
   ========================================================= */
main.shell > section:not(.panel) {
  border-radius: var(--r-panel);
  margin-top: var(--gutter);
  padding: var(--pad);
  background: var(--paper);
  color: var(--text);
  position: relative;
  overflow: clip;
}
main.shell > section:not(.panel) > .wrap { max-width: 1240px; margin-inline: auto; }
main.shell > section.section--tight { padding-block: clamp(26px, 3.5vw, 48px); }
main.shell > section.section--dark { background: var(--ink); color: var(--on-ink); }
main.shell > section.section--steel { background: var(--sand); }
main.shell > section[style*="steel-100"] { background: var(--sand) !important; }

/* eyebrow on dark interior panels */
.section--dark .eyebrow { color: var(--on-ink); }


/* =========================================================================
   v6 · INDUSTRIAL / RAW STEEL THEME
   Layered on top of the component rules above. Token changes live in :root;
   this block re-shapes layout and components: full-bleed panels, square
   corners, hairline grids, condensed uppercase type, mono labels.
   ========================================================================= */

/* ---------- type ---------- */
h1, h2, h3, .t-display, .t-h1, .t-h2, .t-h3, .statement, .cta__title { text-transform: uppercase; }
h1, h2, .t-display, .t-h1, .t-h2 { font-weight: 700; }
p { max-width: 64ch; }
.lead { color: var(--text-mut); }
.statement { font-weight: 700; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.92; letter-spacing: 0; max-width: 18ch; }
.gtext { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--orange); }

.paren, .t-eyebrow, .clients__cap, .founder__role, .build-row__label, .visit-next__title,
.contact__info b, .pg-hero__stats span, .story__since span {
  font-family: var(--font-mono); font-weight: 500;
}
.paren { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.paren::before { content: "["; margin-right: 4px; }
.paren::after  { content: "]"; margin-left: 4px; }
.panel--dark .paren, .panel--ink .paren { color: var(--orange); }

.eyebrow {
  padding: 6px 12px 6px 10px; border-radius: 0; opacity: 1;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow::before { border-radius: 0; width: 8px; height: 8px; background: var(--orange); }

/* ---------- buttons ---------- */
.btn {
  border-radius: 0;
  padding: 17px 30px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.btn:hover { transform: none; }
.btn--sm { padding: 12px 18px; font-size: 0.95rem; }
.btn--dark:hover { background: var(--orange); }
.btn--light:hover { background: var(--ink); color: var(--color-white); }
.btn--ghost { --btn-bd: currentColor; }
.btn--ghost:hover { background: var(--orange); color: var(--color-white); box-shadow: inset 0 0 0 1px var(--orange); }
.btn--arrow::after { font-family: var(--font-body); font-weight: 400; }

.txt-link, .arrow-link {
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0; text-transform: none;
}
.txt-link { padding-bottom: 4px; border-bottom-width: 2px; }
.arrow-link { color: var(--orange-dark); }
.chip, .tst__arrow, .tst__dot, .faq-cta__badge, .card__icon, .measure-step__num,
.lightbox__close, .nav__menu, .menu__close, .tst__avatar, .upload__file-x,
.visit-success__mark { border-radius: 0; }

/* ---------- page shell: full-bleed, hairline-separated panels ---------- */
.shell { max-width: none; padding: 0; }
.panel { margin-top: 0; border-radius: 0; overflow: clip; border-top: 1px solid var(--line); }
.panel:first-child { margin-top: 0; border-top: 0; }
.panel--dark, .panel--ink, .panel--orange { border-top-color: var(--line-ink); }
.panel .panel__in, .panel .panel__in--lg { padding-inline: var(--pad-shell); }
.panel .panel__in { padding-block: clamp(56px, 8vw, 112px); }
.panel .panel__in--lg { padding-block: clamp(64px, 10vw, 140px); }

/* blueprint grid on dark panels */
.panel--dark::before, .panel--ink::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
          mask-image: linear-gradient(180deg, #000, transparent 85%);
}

/* section header — numbered mono tag + heavy headline + rule */
.sec-head { max-width: none; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 20px; }
.sec-head .lead { max-width: 58ch; }

/* ---------- navigation: solid full-width bar ---------- */
.nav-shell { padding: 0; }
.nav {
  max-width: none; border-radius: 0;
  padding: 10px var(--pad-shell);
  background: var(--ink);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 0; border-bottom: 1px solid var(--line-ink);
  box-shadow: none;
}
.nav__logo img { height: 19px; }
.nav__cta { padding: 12px 20px; font-size: 0.95rem; }
.nav__links a, .nav__mega-trigger {
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  position: relative;
}
.nav__links a[aria-current="page"]::after, .nav__mega-trigger[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
}
@media (min-width: 1000px) { .nav { padding: 10px var(--pad-shell); } }
.nav__menu { background: var(--orange); width: 46px; height: 46px; }
.nav__menu span, .nav__menu span::before, .nav__menu span::after { background: var(--black); border-radius: 0; }
.mega {
  border-radius: 0; background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid var(--line-ink); border-top: 3px solid var(--orange);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.mega__grid a { border-radius: 0; }
.mega__grid a:hover { background: rgba(255,79,25,.12); }
.mega__grid span { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }
.mega__all { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; }

/* mobile menu overlay — same side padding as the bar, so the logo and close button sit where the logo and hamburger were */
.menu { padding: 13px var(--pad-shell) clamp(20px, 4vw, 40px); }
.menu__top img { height: 19px; }
.menu__close { width: 46px; height: 46px; }
.menu__nav > a, .menu__nav-row > a {
  font-weight: 700; font-size: clamp(2.8rem, 10vw, 6rem); line-height: 0.98;
  letter-spacing: 0; text-transform: uppercase;
}
.menu__close { background: var(--orange); }
.menu__close::before, .menu__close::after { background: var(--black); border-radius: 0; }
.menu__sub a { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; }
.menu__foot { font-family: var(--font-mono); font-size: 0.8rem; }

/* ---------- hero ---------- */
.hero::after {                       /* diamond tread plate + furnace glow (replaces the grid lines) */
  inset: 0; height: auto; z-index: 1;
  background:
    radial-gradient(60% 55% at 85% 100%, rgba(255,95,30,.28), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2262%22 height=%2262%22 viewBox=%220 0 78 78%22%3E%3Cg transform=%22translate%282 28%29 rotate%28-45%29%22%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 transform=%22translate%281.6 2.4%29%22 fill=%22%23000%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 fill=%22%23fff%22 fill-opacity=%22.13%22/%3E%3C/g%3E%3Cg transform=%22translate%2880 28%29 rotate%28-45%29%22%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 transform=%22translate%281.6 2.4%29%22 fill=%22%23000%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 fill=%22%23fff%22 fill-opacity=%22.13%22/%3E%3C/g%3E%3Cg transform=%22translate%2842 67%29 rotate%2845%29%22%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 transform=%22translate%281.6 2.4%29%22 fill=%22%23000%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 fill=%22%23fff%22 fill-opacity=%22.13%22/%3E%3C/g%3E%3Cg transform=%22translate%2842 -11%29 rotate%2845%29%22%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 transform=%22translate%281.6 2.4%29%22 fill=%22%23000%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 fill=%22%23fff%22 fill-opacity=%22.13%22/%3E%3C/g%3E%3C/svg%3E") 0 0 / 62px 62px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2));
          mask-image: linear-gradient(180deg, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2));
}
.hero__main { justify-content: center; align-items: center; text-align: center; padding-block: clamp(110px, 14vh, 150px) clamp(36px, 5vw, 64px); }
.hero__main h1 { font-size: clamp(3.4rem, 7.6vw, 7.4rem); line-height: 0.88; max-width: 15ch; }
.hero__desc { max-width: 46ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin: 26px 0 34px; }
.hero__audience { border-top: 1px solid var(--line-ink); background: rgba(13,13,12,.55); }
.hero__aud { padding-block: clamp(28px, 4vw, 48px); transition: background .2s ease, color .2s ease; }
.hero__aud-in h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 14ch; }
.hero__aud-in p { font-size: 0.98rem; }
.hero__aud:hover { background: var(--orange); }
.hero__aud:hover p, .hero__aud:hover .arrow-link, .hero__aud:hover h2 { color: var(--black); }

/* ---------- clients marquee ---------- */
.clients .panel__in { padding-block: clamp(36px, 5vw, 60px); }
.clients__cap { text-align: left; max-width: none; letter-spacing: 0.18em; margin-bottom: clamp(22px, 3vw, 34px); color: var(--text-mut); }
.clients-marquee { margin-inline: calc(-1 * var(--pad-shell)); }
.clients-marquee__track { padding-inline: var(--pad-shell); }

/* ---------- services: hairline grid ---------- */
.svc { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc__item {
  border: 0; background: var(--paper); min-height: 290px;
  padding: clamp(24px, 2.8vw, 36px);
  transition: background .2s ease, color .2s ease;
}
.svc__item:hover { transform: none; background: var(--ink); color: var(--on-ink); }
.svc__item:hover p { color: var(--on-ink-mut); }
.svc__item:hover .arrow-link { color: var(--orange); }
.svc__item h3 { margin: 22px 0 10px; }
.svc__item--accent { background: var(--orange); color: var(--color-white); }
.svc__item--accent p, .svc__item--accent .arrow-link { color: var(--color-white); }
.svc__item--accent .svc__icon img { filter: brightness(0) invert(1); }
.svc__item--accent:hover { background: var(--ink); filter: none; color: var(--on-ink); }
.svc__item--accent:hover .svc__icon img { filter: none; }
.svc__item--accent:hover .arrow-link { color: var(--orange); }
.svc__item--accent:hover p { color: var(--on-ink-mut); }
.panel--dark .svc, .panel--ink .svc { background: var(--line-ink); border-color: var(--line-ink); }
.panel--dark .svc__item, .panel--ink .svc__item { background: var(--ink); }
.panel--dark .svc__item:hover, .panel--ink .svc__item:hover { background: var(--ink-2); }
.panel--dark .svc__item--accent, .panel--ink .svc__item--accent { background: var(--orange); }

/* ---------- selected work: straight, square contact-sheet strip ---------- */
.work-fan { margin-inline: calc(-1 * var(--pad-shell)); padding: 8px 0; }
.work-fan__track { gap: 2px; padding-inline: var(--pad-shell); }
.work-fan__item {
  flex-basis: clamp(210px, 24vw, 330px); aspect-ratio: 4 / 5; border-radius: 0;
  border: 0; box-shadow: none; padding: 0; transform: none !important;
}
.work-fan__item:hover { transform: none !important; box-shadow: none; }
.work-fan__item::before { background: linear-gradient(180deg, transparent 50%, rgba(13,13,12,.85)); }
.work-fan__item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--orange); z-index: 3; transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.work-fan__item:hover::after { transform: scaleX(1); }
.work-fan__item span {
  position: absolute; left: 0; bottom: 0; right: 0; z-index: 2;
  background: none; border-radius: 0; padding: 18px 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- testimonials ---------- */
.tst__scroll { padding: 4px var(--pad-shell) 6px; scroll-padding-left: var(--pad-shell); gap: 2px; }
.tst__bar { padding: clamp(18px, 2.4vw, 26px) var(--pad-shell) clamp(40px, 5vw, 64px); }
.tst__card { border-radius: 0; background: var(--paper); border-color: var(--line); border-top: 4px solid var(--orange); }
.tst__avatar { border: 0; width: 54px; height: 54px; filter: grayscale(1); }
.tst__quote { font-size: clamp(1.02rem, 1.1vw, 1.1rem); }
.tst__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
  letter-spacing: .03em; text-transform: uppercase;
}
.tst__role { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .06em; text-transform: uppercase; }
.tst__dot { height: 4px; width: 14px; }
.tst__dot.is-active { width: 34px; }
.tst__arrow { border-color: var(--text); background: transparent; }
.tst__arrow:hover { background: var(--orange); border-color: var(--orange); color: var(--color-white); }

/* ---------- architects / split ---------- */
.split { align-items: start; }
.split__media { border-radius: 0; }
.split__media::after { background: var(--orange); }
.founder-split__content { border-radius: 0; }
.arch-grid { gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); }
.arch-card { border: 0; border-radius: 0; background: var(--ink); padding: clamp(22px, 2.4vw, 32px); gap: 22px; transition: background .2s ease; }
.arch-card:hover { background: var(--ink-2); }
.arch-card__icon { width: 46px; height: 46px; border-radius: 0; background: var(--orange); color: var(--color-white); border: 0; }
.arch-card h3 { font-weight: 600; font-size: 1.45rem; margin-bottom: 8px; }
.arch-card p { font-size: 0.92rem; }
.check-list li::before { border-radius: 0; width: 10px; height: 10px; top: 9px; }

/* ---------- steps ---------- */
.steps { gap: 0; border-top: 0; }
.step { padding: 28px 24px 8px 0; border-top: 4px solid currentColor; }
.step + .step { padding-left: 24px; }
.step::before {
  position: static; display: block; margin-bottom: 16px; padding: 0; background: none !important;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 5vw, 4.4rem); line-height: 0.9;
  color: var(--orange); letter-spacing: 0;
}
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 8px; }
.step p { font-size: 0.96rem; }
@media (max-width: 1040px) { .step + .step { padding-left: 0; } .step { padding-right: 20px; } }

/* ---------- FAQ ---------- */
.faq { gap: 0; border-top: 2px solid var(--text); }
.faq__item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 0; }
.faq__item[open] { border-color: var(--line); background: var(--paper); }
.faq__item summary {
  padding: 24px clamp(14px, 1.6vw, 22px);
  font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.7rem); letter-spacing: .02em; text-transform: uppercase;
}
.faq__item summary::after { width: 18px; height: 18px; background-size: 100% 3px, 3px 100%; }
.faq__item[open] summary::after { background-size: 100% 3px, 0 0; transform: none; }
.faq__item p { padding: 0 clamp(14px, 1.6vw, 22px) 26px; }
.faq-cta { border-radius: 0; background: var(--ink); color: var(--on-ink); border: 0; border-top: 4px solid var(--orange); }
.faq-cta p { color: var(--on-ink-mut); }
.faq-cta h3 { color: var(--on-ink); }
.faq-cta__badge { border-radius: 0; }

/* ---------- final CTA: dark, hazard-stripe top ---------- */
.cta { background: var(--ink); color: var(--on-ink); text-align: left; border-top: 0; }
.cta::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; z-index: 3;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--black) 14px 28px);
}
.cta__art { display: none; }
.cta__in { max-width: none; margin: 0; padding: clamp(80px, 12vw, 170px) var(--pad-shell); }
.cta__title { color: var(--on-ink); font-size: clamp(3.2rem, 9vw, 8rem); line-height: 0.88; letter-spacing: 0; max-width: 12ch; margin: 0 0 26px; }
.cta__text { color: var(--on-ink-mut); margin: 0 0 38px; max-width: 54ch; }
.cta .btn-row, .center .btn-row, .cta__in .btn-row { justify-content: flex-start; }

/* ---------- footer ---------- */
.foot {
  width: 100%; max-width: none; margin: 0; border-radius: 0;
  border-top: 6px solid var(--orange);
}
.foot__in { padding-inline: var(--pad-shell); }
.foot__label { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.foot__col-label {
  font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
  padding-bottom: 14px; border-bottom: 1px solid var(--line-ink); margin-bottom: 12px;
}
.foot__social a { border-radius: 0; }
.foot__bottom { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- interior pages ---------- */
.panel.pg-hero { margin-top: 0; }
.pg-hero .panel__in { padding-top: calc(clamp(54px, 8vw, 104px) + 76px); padding-bottom: clamp(56px, 8vw, 104px); }
.pg-hero h1 { font-size: clamp(3.4rem, 9.5vw, 8.4rem); line-height: 0.88; max-width: 12ch; }
.pg-hero__art { display: none; }
.pg-hero::after {
  inset: 0; height: auto;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(255,255,255,.05) 0) 0 0 / 120px 100%,
    linear-gradient(180deg, transparent calc(100% - 1px), rgba(255,255,255,.05) 0) 0 0 / 100% 120px;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent);
          mask-image: linear-gradient(180deg, #000 20%, transparent);
}
.pg-hero__stats { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13,13,12,.6); }
.pg-hero__stats::before { display: none; }
.pg-hero__stats > div { padding-inline: var(--pad-shell) clamp(20px, 3.2vw, 40px); }
.pg-hero__stats > div + div { padding-inline: clamp(20px, 3.2vw, 40px); }
.pg-hero__stats b { font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: .02em; text-transform: uppercase; }
.pg-hero__stats span { font-size: 0.72rem; }

.story::after { font-weight: 700; color: rgba(17,17,16,.05); }
.story__since { font-weight: 700; letter-spacing: 0; color: var(--text); }
.story__lead { border-bottom: 2px solid var(--text); }

main.shell > section:not(.panel) {
  border-radius: 0; margin-top: 0; padding-inline: var(--pad-shell);
  padding-block: clamp(56px, 8vw, 112px);
  border-top: 1px solid var(--line);
}
main.shell > section.section--dark { border-top-color: var(--line-ink); }
main.shell .wrap:not(.wrap--narrow) { max-width: none; }
main.shell .wrap--narrow { max-width: 900px; margin-inline: 0; }
main.shell > section.section--tight { padding-block: clamp(28px, 3.5vw, 48px); }

/* cards */
.grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { border: 0; border-radius: 0; background: var(--paper); transition: background .2s ease, color .2s ease; }
.card::before { height: 4px; width: 56px; background: var(--orange); }
.card:hover { transform: none; box-shadow: none; background: var(--ink); color: var(--on-ink); }
.card:hover p { color: var(--on-ink-mut); }
.card:hover .arrow-link { color: var(--orange); }
.card h3 { margin-top: 10px; }
.card__icon { background: var(--orange); color: var(--color-white); width: 52px; height: 52px; }
.card--accent { background: var(--orange); color: var(--color-white); }
.card--accent .card__icon { background: var(--black); color: var(--orange); }
.card--accent p, .card--accent .arrow-link { color: var(--black); }
.card--accent:hover { background: var(--ink); filter: none; }
.panel--dark .grid, .panel--ink .grid, .section--dark .grid { background: var(--line-ink); border-color: var(--line-ink); }
.panel--dark .card, .panel--ink .card, .section--dark .card { background: var(--ink); }
.panel--dark .card:hover, .panel--ink .card:hover, .section--dark .card:hover { background: var(--ink-2); }

.build-row { padding-inline: 0; border-top: 1px solid var(--line); }
.build-row:last-child { border-bottom: 1px solid var(--line); }
.build-row::before { width: 5px; background: var(--orange); }
.build-row:hover { padding-left: 24px; }
.build-row h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }

.measure-step__num {
  background: var(--orange); color: var(--color-white); box-shadow: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
}
.measure-step:not(:last-child)::before { height: 3px; top: 27px; }
.measure-step h3 { font-size: 1.6rem; }

.gallery { gap: 2px; }
.gallery__item { border-radius: 0; border: 0; }
.gallery__item span {
  border-radius: 0; background: var(--black);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase;
}
.lightbox__img { border-radius: 0; }

.chip { border-color: var(--text); background: transparent; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- forms ---------- */
.form-card, .contact__form, .visit-card { border-radius: 0; background: var(--paper); border-color: var(--text); border-top: 4px solid var(--orange); }
.field label {
  font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.field input, .field select, .field textarea { border-radius: 0; border: 1px solid var(--text); background: var(--color-surface-primary); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 4px 4px 0 var(--orange); }
.radio-row .radio, .chip-group .chip {
  border-radius: 0; border-color: var(--text); background: transparent;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase;
}
.radio-row .radio:hover, .chip-group .chip:hover { border-color: var(--orange); }
.radio-row .radio:has(input:checked), .chip-group .chip:has(input:checked) { background: var(--orange); border-color: var(--orange); color: var(--color-white); }
.seg { border-radius: 0; background: transparent; border-color: var(--text); padding: 0; gap: 0; }
.seg__btn {
  border-radius: 0; padding: 14px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase;
}
.seg__btn.is-active { background: var(--orange); color: var(--color-white); }
.upload { border-radius: 0; border-color: var(--text); }
.upload__file { border-radius: 0; }
.placeholder-flag { border-radius: 0; }

.contact-aside { border-radius: 0; background: var(--orange); color: var(--color-white); }
.contact-aside::after { display: none; }
.contact-aside h2 { color: var(--color-white); font-size: clamp(2.2rem, 3.6vw, 3.2rem); max-width: 10ch; }
.contact-aside__lead { color: rgba(255,255,255,.88); }
.contact__info li { border-top-color: rgba(255,255,255,.32); }
.contact__info svg, .contact__info a, .contact__info span { color: var(--color-white); }
.contact__info b { color: rgba(255,255,255,.78); }
.contact__info a:hover { color: rgba(255,255,255,.72); }
.contact-aside .tel__word { color: var(--color-white); text-decoration-color: rgba(255,255,255,.6); }
.contact-aside a[data-tel]:hover .tel__word { color: rgba(255,255,255,.72); }
.contact__form h2, .visit-card > h2, .visit-success h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
main.shell section.contact-section:not(.panel) { padding: clamp(40px, 6vw, 80px) var(--pad-shell); margin-top: 0; }

.panel.visit { margin-top: 0; padding: calc(var(--pad) + 80px) var(--pad-shell) var(--pad); }
.visit__intro h1 { font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.9; max-width: 11ch; }
.visit-next { border-radius: 0; border-top: 4px solid var(--orange); }
.visit-next__num { border-radius: 0; background: var(--orange); color: var(--color-white); border: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.visit-next__step h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; text-transform: uppercase; }
.visit-success__mark { background: var(--orange); color: var(--color-white); }

/* legal docs */
.doc h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.doc h3 { text-transform: none; }

/* ---------- motion: crisper, no soft floats ---------- */
.js .reveal { transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.16,1,.3,1); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  :root { --r-panel: 0; }
  .panel .panel__in { padding-block: clamp(48px, 12vw, 72px); }
  .nav { padding: 8px var(--pad); }
  .hero__main h1 { max-width: none; }
  .step, .step + .step { padding: 24px 0 12px; }
  .svc__item { min-height: 0; }
  .tst__card { min-height: 0; }
}

.split--arch h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.cta__title { font-size: clamp(3rem, 7.6vw, 7rem); max-width: 14ch; }
.faq-cta h3 { font-weight: 700; }

/* ---------- hero: embers behind the headline ---------- */
.hero__bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__sparks { position: absolute; inset: 0; width: 100%; height: 100%; }


/* ---------- hero headline: grinder + welding effect (see hero-fx.js) ---------- */
.hero__main h1 .w { display: inline-block; will-change: transform; }
.js .hero__main h1 .w { opacity: 0; animation: hero-w-failsafe 0s linear 5s forwards; }   /* fail-safe if JS never runs */
@keyframes hero-w-failsafe { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .hero__main h1 .w { opacity: 1; animation: none; } }
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

/* ---- raw-iron look while the headline is being cut / welded; painted at the end (hero-fx.js adds .is-fx) ---- */
.hero__main h1.is-fx .w {
  position: relative;
  color: transparent; -webkit-text-fill-color: transparent;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #c3c4c1 0%, #85867f 34%, #4f504b 50%, #93948f 58%, #5c5d58 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero__main h1.is-fx .w::after {                 /* paint layer — revealed by organic spray dabs (--pm mask, set in hero-fx.js) */
  content: attr(data-t);
  position: absolute; left: 0; top: 0; white-space: nowrap;
  color: var(--on-ink); -webkit-text-fill-color: var(--on-ink);
  -webkit-mask-image: var(--pm, linear-gradient(transparent, transparent));
          mask-image: var(--pm, linear-gradient(transparent, transparent));
}
.hero__main h1.is-fx .gtext .w::after { color: var(--orange); -webkit-text-fill-color: var(--orange); }

/* hero: no blueprint grid — the perforated plate (.hero::after) replaces it */
.hero.panel--dark::before { display: none; }

/* hero: centred layout */
.hero__main h1 { margin-inline: auto; }
.hero__desc { margin-inline: auto; }
.hero__main .btn-row, .hero__main .hero__cta { justify-content: center; }

/* hero headline: "homes and projects." stays on one line */
.hero__main h1 { max-width: 20ch; }
.hero__main h1 .gtext { display: block; white-space: nowrap; }
@media (max-width: 640px) { .hero__main h1 { max-width: none; } .hero__main h1 .gtext { white-space: normal; } }

/* hero: measuring-tape scales on the top and both sides (background only; hero.js adds labels + readout) */
.hero__rulers { position: absolute; left: 0; right: 0; top: 0; height: var(--mainh, 100%); pointer-events: none; color: rgba(241,240,235,.3); }
.rl { position: absolute; }
.rl i { position: absolute; font: normal 500 10px/1 var(--font-body); letter-spacing: .08em; color: rgba(241,240,235,.34); }
.rl__mk { position: absolute; background: var(--orange); box-shadow: 0 0 10px rgba(255,79,25,.7); }
.rl__mk b { position: absolute; white-space: nowrap; font: 600 10.5px/1 var(--font-body); letter-spacing: .12em; color: var(--orange); }
.rl--t { left: 0; right: 0; top: 60px; height: 44px;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 100px) 0 0 / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 20px) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px) 0 0 / 100% 5px no-repeat; }
.rl--t i { top: 22px; transform: translateX(-50%); }
.rl--t .rl__mk { top: 0; left: 0; width: 1px; height: 22px; animation: rl-x 14s linear infinite; }
.rl--t .rl__mk b { top: 30px; left: 6px; }
.rl--l, .rl--r { top: 104px; bottom: 0; width: 100px; }
.rl--l { left: 0;
  background:
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 100px) 0 0 / 16px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 20px) 0 0 / 9px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 10px) 0 0 / 5px 100% no-repeat; }
.rl--r { right: 0;
  background:
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 100px) 100% 0 / 16px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 20px) 100% 0 / 9px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 10px) 100% 0 / 5px 100% no-repeat; }
.rl--l i { left: 20px; transform: translateY(-50%); }
.rl--r i { right: 20px; transform: translateY(-50%); }
.rl--l .rl__mk, .rl--r .rl__mk { left: 0; top: 0; height: 1px; width: 22px; animation: rl-y 11s linear infinite; }
.rl--r .rl__mk { left: auto; right: 0; animation-duration: 15s; animation-direction: reverse; }
.rl--l .rl__mk b { left: 28px; top: -5px; }
.rl--r .rl__mk b { right: 28px; top: -5px; }
@keyframes rl-x { from { left: 0; } to { left: 100%; } }
@keyframes rl-y { from { top: 0; } to { top: 100%; } }
@media (max-width: 900px) { .rl--l, .rl--r { display: none; } }
@media (prefers-reduced-motion: reduce) { .rl__mk { animation: none; display: none; } }

/* hero description: Inter, tightened tracking */
.hero__desc { letter-spacing: -0.04em; }

/* interactive: markers exist only while the cursor is over the hero */
.rl__mk { display: none; animation: none !important; }
.hero__rulers.is-live .rl__mk { display: block; }
.rl__cx, .rl__cy { position: absolute; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.rl__cx { top: 104px; bottom: 0; width: 0; border-left: 1px dashed rgba(255,110,50,.28); }
.rl__cy { left: 100px; right: 100px; height: 0; border-top: 1px dashed rgba(255,110,50,.28); }
.hero__rulers.is-live .rl__cx, .hero__rulers.is-live .rl__cy { opacity: 1; }
@media (hover: none) { .rl__cx, .rl__cy { display: none; } }
.hero { -webkit-user-select: none; user-select: none; }
.hero__weld { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

/* tape-style scale: 1 cm / 5 cm / 10 cm ticks, cm numbers beside the 10 cm ticks */
.rl--t { background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 100px) 0 0 / 100% 20px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 50px) 0 0 / 100% 13px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px) 0 0 / 100% 7px no-repeat; }
.rl--l { background:
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 100px) 0 0 / 20px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 50px) 0 0 / 13px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 10px) 0 0 / 7px 100% no-repeat; }
.rl--r { background:
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 100px) 100% 0 / 20px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 50px) 100% 0 / 13px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 10px) 100% 0 / 7px 100% no-repeat; }
.rl i { font: normal 600 11px/1 var(--font-body); letter-spacing: 0; font-variant-numeric: tabular-nums; color: rgba(241,240,235,.5); }
.rl--t i { top: 22px; transform: none; margin-left: 4px; }
.rl--l i { left: 24px; transform: translateY(2px); }
.rl--r i { right: 24px; transform: translateY(2px); }
.hero__desc { max-width: 40ch; text-wrap: balance; }

/* top menu: Inter */

/* ---------- buttons: one cut corner (top-right) ---------- */
.btn {
  --cut: 18px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.btn--sm { --cut: 13px; }
/* ghost buttons: the 1px outline is drawn with gradients so the cut corner keeps its border */
.btn--ghost {
  box-shadow: none;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / calc(100% - var(--cut)) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 1px calc(100% - var(--cut)) no-repeat,
    linear-gradient(45deg, transparent calc(50% - .75px), currentColor calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)) 100% 0 / var(--cut) var(--cut) no-repeat;
}
.btn--ghost:hover { background: var(--orange); box-shadow: none; }

/* hero sound toggle (see hero-sound.js) */
.hero__main { position: relative; }
.hero__sound { position: absolute; right: 76px; bottom: 22px; z-index: 5; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 12px; font: 600 0.7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(241,240,235,.7); background: rgba(13,13,12,.55); border: 1px solid rgba(241,240,235,.28); cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background .16s ease; }
.hero__sound:hover { color: #fff; border-color: var(--orange); }
.hero__sound.is-on { color: var(--orange); border-color: var(--orange); }
.hero__sound .w1, .hero__sound .w2 { display: none; }
.hero__sound.is-on .w1, .hero__sound.is-on .w2 { display: inline; }
.hero__sound.is-on .x { display: none; }
.hero__sound[hidden] { display: none; }
@media (max-width: 900px) { .hero__sound { right: 16px; bottom: 16px; } }

/* =========================================================
   Services — pinned horizontal scroller (hscroll.js)
   The section is (n) screens tall; the stage sticks to the viewport while the track slides
   sideways with the vertical scroll (each slide = full-width photo + a card at bottom right,
   the whole slide moves together), then releases back to normal scrolling.
   ========================================================= */
main.shell > section.hs {
  position: relative; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: visible;
  background: #151514; color: var(--on-ink);
  height: calc(100vh + 70vh * (var(--n, 6) - 1)); height: calc(100svh + 70svh * (var(--n, 6) - 1));
}
.hs-intro .panel__in { padding-bottom: clamp(36px, 4vw, 56px); }
.hs__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hs__track { display: flex; height: 100%; width: calc(100% * var(--n, 6)); will-change: transform; }
.hs__slide { position: relative; flex: 0 0 calc(100% / var(--n, 6)); width: calc(100% / var(--n, 6)); height: 100%; overflow: hidden; }
.hs__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,9,.45), transparent 45%); pointer-events: none; }

.hs__panel {
  position: absolute; z-index: 2; right: clamp(14px, 2.4vw, 36px); bottom: clamp(14px, 2.4vw, 36px);
  width: min(42vw, 520px); padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.4vw, 34px) clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--paper); color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.hs__panel h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 4vw, 3.9rem); line-height: .88; letter-spacing: 0; margin: 0 0 clamp(10px, 1.2vw, 16px); max-width: 12ch; color: var(--ink); }
.hs__panel > p { max-width: 40ch; font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.5; margin: 0 0 clamp(14px, 1.6vw, 22px); color: #3a3935; }
.hs__list { list-style: none; margin: 0 0 clamp(16px, 1.8vw, 24px); padding: 0; width: 100%; border-top: 1px solid rgba(21,21,20,.2); }
.hs__list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(21,21,20,.2); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(.9rem, 1vw, 1.02rem); line-height: 1.15; }
.hs__list li span { flex: 0 0 auto; }

/* top-left label + link */
.hs__label { position: absolute; z-index: 3; top: 88px; left: clamp(16px, 2.4vw, 36px); font: 600 .72rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hs__all { flex: 0 0 auto; color: #fff; white-space: nowrap; }

/* carousel control: prev / next + one progress segment per service (click to jump) */
.hs__nav { position: absolute; z-index: 3; left: clamp(16px, 2.4vw, 36px); bottom: clamp(18px, 2.4vw, 36px); display: flex; align-items: flex-end; gap: 18px; width: min(54vw, 780px); }
.hs__arrows { display: flex; gap: 8px; flex: 0 0 auto; }
.hs__arrow { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: rgba(13,13,12,.72); border: 0; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%); cursor: pointer; transition: background .16s, border-color .16s, opacity .16s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hs__arrow:hover:not(:disabled) { background: var(--orange); }
.hs__arrow:disabled { opacity: .35; cursor: default; }
.hs__arrow svg { width: 18px; height: 18px; }
.hs__segs { flex: 1; min-width: 0; }
.hs__now { margin-bottom: 8px; line-height: 1; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hs__now b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; color: var(--orange); }
.hs__bars { display: flex; gap: 6px; }
.hs__bar { position: relative; flex: 1; height: 20px; padding: 0; background: none; border: 0; cursor: pointer; }
.hs__bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px; background: rgba(255,255,255,.35); }
.hs__bar::after { content: ""; position: absolute; left: 0; bottom: 8px; height: 3px; width: calc(var(--f, 0) * 100%); background: var(--orange); }
.hs__bar:hover::before { background: rgba(255,255,255,.65); }
.hs__bar:focus-visible, .hs__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* reduced motion: a plain vertical stack (no pinning, no sideways movement) */
@media (prefers-reduced-motion: reduce) {
  main.shell > section.hs { height: auto; }
  .hs__stick { position: static; height: auto; overflow: visible; }
  .hs__track { display: block; width: auto; transform: none !important; }
  .hs__slide { width: 100%; height: auto; display: flex; flex-direction: column; }
  .hs__bg { position: relative; inset: auto; height: 62vw; min-height: 240px; }
  .hs__slide::after { display: none; }
  .hs__panel { position: relative; inset: auto; width: auto; margin: 0; padding: 26px 20px 24px; clip-path: none; }
  .hs__panel h3 { font-size: clamp(2.2rem, 11vw, 3.4rem); max-width: none; }
  .hs__label, .hs__nav { display: none; }
}

.hs__bgblur { display: none; }

/* phones / tablets: an ordinary carousel (swipe, arrows) — no pinning, no scroll-linked movement.
   The photo sits on top, fully visible; the card sits below it on a blurred, darkened copy of the same photo. */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  main.shell > section.hs { height: auto; }
  .hs__stick { position: relative; top: auto; height: auto; display: flex; flex-direction: column; overflow: hidden; touch-action: pan-y; background: #151514; }
  .hs__track { height: auto; align-items: flex-start; transition: height .35s ease; }   /* hscroll.js sets the height to the visible slide's */
  .hs__slide { height: auto; display: flex; flex-direction: column; background: #151514; padding-bottom: 84px; }   /* room for the controls, which sit on the blur */
  .hs__slide::after { display: none; }
  .hs__bgblur { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(12px) brightness(.62) saturate(1.1); transform: scale(1.12); }
  .hs__bg { position: relative; inset: auto; z-index: 1; flex: 0 0 auto; width: 100%; height: 84vw; max-height: 520px;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hs__label { top: 20px; }
  .hs__panel { position: relative; inset: auto; width: auto; margin: -10px 14px 0; padding: 20px 18px 24px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
  .hs__panel h3 { font-size: clamp(2rem, 9.5vw, 2.8rem); margin-bottom: 8px; max-width: none; }
  .hs__panel > p { font-size: .88rem; line-height: 1.45; margin-bottom: 12px; }
  .hs__list { margin-bottom: 14px; }
  .hs__list li { padding: 7px 0; font-size: .82rem; gap: 10px; }
  .hs__nav { position: absolute; left: 14px; right: 14px; bottom: 22px; width: auto; margin: 0; padding: 0; flex-wrap: nowrap; gap: 10px; align-items: center; z-index: 3; }
  .hs__segs { display: none; }
  .hs__arrows { gap: 6px; }
  .hs__all { flex: 1; min-width: 0; padding-inline: 12px; justify-content: center; background-color: rgba(13,13,12,.55); }
}

/* carousel arrows: prev is cut at the bottom-left, next at the top-right */
.hs__arrow[data-dir="-1"] { clip-path: polygon(0 0, 100% 0, 100% 100%, 13px 100%, 0 calc(100% - 13px)); }

/* ---------- one button height everywhere ---------- */
:root { --btn-h: 50px; }
.btn, .btn--sm, .nav__cta { box-sizing: border-box; height: var(--btn-h); min-height: var(--btn-h); padding-block: 0; padding-inline: 28px; font-size: 1.02rem; }
.btn--sm { padding-inline: 22px; }
.nav__cta { padding-inline: 24px; }
.hs__arrow { width: var(--btn-h); height: var(--btn-h); }
.nav { padding-block: 7px; }
.rl--t { top: 64px; }
.rl--l, .rl--r { top: 108px; }

/* button text: heading font (Barlow Condensed) */
.btn, .btn--sm, .nav__cta, .btn--arrow { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.05rem; }

/* taller top menu — breathing room around the button */
.nav { padding-block: 13px; }
.rl--t { top: 77px; }
.rl--l, .rl--r { top: 121px; }

/* ---------- hero audience cards (bottom of the hero) ---------- */
.hero__aud { position: relative; overflow: hidden; padding-block: clamp(32px, 4vw, 52px); }
.hero__aud-in { position: static; gap: 0; align-items: flex-start; }
.hero__aud-in h2 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: .9; max-width: none; margin: 0 0 clamp(12px, 1.4vw, 18px); }
.hero__aud-in p { max-width: 38ch; margin: 0 0 clamp(22px, 2.6vw, 34px); }
.hero__aud-cta { margin-top: auto; color: var(--on-ink); }
.hero__aud-cta::after { content: ""; position: absolute; inset: 0; }              /* the whole card is the link */
.hero__aud-cta span { font-size: 1.1em; margin-left: 2px; }
.hero__aud:hover p, .hero__aud:hover h2 { color: var(--black); }
.hero__aud:hover .hero__aud-cta { background: var(--black); color: var(--on-ink); }

/* sound toggle: a small icon fixed at the bottom-left of the page */
.hero__main { position: static; }
.hero__sound { position: fixed; left: 16px; bottom: 16px; right: auto; z-index: 130; width: 44px; height: 44px; padding: 0; gap: 0; justify-content: center;
  background: rgba(13,13,12,.78); border: 1px solid rgba(241,240,235,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__sound .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .hero__sound { display: none; } }

/* services carousel: just arrows + the "view all" button; clear of the sound icon at the bottom-left */
.hs__nav { left: 76px; width: auto; gap: 12px; align-items: center; }
@media (max-width: 900px) { .hs__nav { left: 14px; } }

/* mobile hero: clear the top scale, tighter headline → description gap */
@media (max-width: 700px) {
  .hero__main { padding-top: 132px; }
  .hero__desc { margin-top: 12px; }
}

/* logos: centred caption, seamless endless loop (4 copies of the set, track moves exactly half) */
.clients__cap { text-align: center; margin-inline: auto; }
.clients-marquee { margin-inline: calc(-1 * var(--pad-shell)); }
.clients-marquee__track { gap: 0; padding-inline: 0; animation-duration: 60s; }   /* six sets of logos: half the strip is wider than a 2400px screen */
.clients__logo { margin-right: clamp(40px, 6vw, 84px); }
@media (max-width: 560px) { .clients-marquee__track { gap: 0; } .clients__logo { margin-right: clamp(30px, 9vw, 48px); } }

/* =========================================================
   Site-wide: carry the hero / services look to every page
   (diamond-plate steel, measuring-tape rule, cut corners)
   ========================================================= */
:root { --plate: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2262%22 height=%2262%22 viewBox=%220 0 78 78%22%3E%3Cg transform=%22translate%282 28%29 rotate%28-45%29%22%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 transform=%22translate%281.6 2.4%29%22 fill=%22%23000%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 fill=%22%23fff%22 fill-opacity=%22.13%22/%3E%3C/g%3E%3Cg transform=%22translate%2880 28%29 rotate%28-45%29%22%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 transform=%22translate%281.6 2.4%29%22 fill=%22%23000%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 fill=%22%23fff%22 fill-opacity=%22.13%22/%3E%3C/g%3E%3Cg transform=%22translate%2842 67%29 rotate%2845%29%22%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 transform=%22translate%281.6 2.4%29%22 fill=%22%23000%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 fill=%22%23fff%22 fill-opacity=%22.13%22/%3E%3C/g%3E%3Cg transform=%22translate%2842 -11%29 rotate%2845%29%22%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 transform=%22translate%281.6 2.4%29%22 fill=%22%23000%22 fill-opacity=%22.5%22/%3E%3Cpath d=%22M-28 0Q0 -14 28 0Q0 14 -28 0Z%22 fill=%22%23fff%22 fill-opacity=%22.13%22/%3E%3C/g%3E%3C/svg%3E"); }

/* dark panels: diamond plate instead of the blueprint grid */
.panel--dark:not(.hero)::before, .panel--ink::before {
  background-image: var(--plate); background-size: 62px 62px; background-repeat: repeat;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.18)); mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.18));
}

/* interior page heroes: plate + furnace glow, with the same tape-measure rule under the menu */
.pg-hero::after {
  background:
    radial-gradient(60% 55% at 85% 100%, rgba(255,95,30,.26), transparent 70%),
    var(--plate) 0 0 / 62px 62px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2)); mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2));
}
.pg-hero::before { display: block; }
.pg-hero > .panel__in { position: relative; z-index: 2; }
.panel.pg-hero::before, .pg-hero.panel--dark::before {
  content: ""; position: absolute; left: 0; right: 0; top: 77px; height: 44px; inset-inline: 0; z-index: 1; pointer-events: none; color: rgba(241,240,235,.3);
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 100px) 0 0 / 100% 20px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 50px) 0 0 / 100% 13px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px) 0 0 / 100% 7px no-repeat;
  -webkit-mask-image: none; mask-image: none; bottom: auto; background-repeat: no-repeat;
}
.pg-hero .panel__in { padding-top: calc(clamp(54px, 8vw, 104px) + 108px); }

/* cards and tiles: same cut corner as the buttons and the service card */
.tst__card, .cta .tile, .cta__tiles > * { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }

/* home — about: copy + founder portrait side by side */
.home-about { display: grid; grid-template-columns: 1.3fr minmax(220px, 0.7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.home-about .statement { margin: 0 0 24px; max-width: 18ch; }
.home-about .lead { max-width: 56ch; margin: 0 0 28px; }
.home-about__photo { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.home-about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-about__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,.78), transparent);
  color: var(--on-ink-mut); font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase;
}
.home-about__photo figcaption b { display: block; color: var(--on-ink); font-family: var(--font-family-display); font-size: 1.35rem; letter-spacing: 0.02em; }
@media (max-width: 720px) {
  .home-about { grid-template-columns: 1fr; }
  .home-about__photo { max-width: 360px; }
}

/* home — final CTA: contact details alongside the pitch */
.cta__in--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.cta__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta__tiles > li {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px; background: var(--ink-2); border: 1px solid var(--line-ink);
  color: var(--on-ink); font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere;
}
.cta__tiles > .cta__tile--wide { grid-column: 1 / -1; }
.cta__tiles a { color: inherit; text-decoration: none; }
.cta__tiles a:hover { color: var(--orange); }
@media (max-width: 1040px) { .cta__in--split { grid-template-columns: 1fr; } .cta__tiles { max-width: 620px; } }
@media (max-width: 480px) {
  .cta__tiles { grid-template-columns: 1fr; gap: 8px; }
  .cta__tiles > li { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; font-size: 0.95rem; }
  .cta__tiles > li > :last-child { text-align: right; }
}

/* =========================================================
   Home — services as stacking cards
   Each card is sticky a little lower than the one before it, so while
   the section scrolls past, every new card slides up over the last and
   the earlier titles stay visible as a stack of strips at the top.
   ========================================================= */
main.shell > section.svc-stack {
  --stack-top: 77px;                                   /* fixed nav height */
  --head-h: clamp(64px, 9.5vh, 100px);                 /* visible strip of a covered card (title + its padding) */
  --card-h: max(440px, calc(100vh - var(--stack-top) - 5 * var(--head-h)));
  position: relative; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: visible;
  background: var(--sand); color: var(--on-ink);
}
@supports (height: 100svh) { main.shell > section.svc-stack { --card-h: max(440px, calc(100svh - var(--stack-top) - 5 * var(--head-h))); } }
.svc-card {
  position: sticky; top: calc(var(--stack-top) + var(--i) * var(--head-h));
  height: var(--card-h); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--on-ink);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  box-shadow: 0 -18px 40px -24px rgba(0,0,0,.55);
}
.svc-card:nth-child(3n+1) { background: #6F6D67; }   /* brushed steel */
.svc-card:nth-child(3n+2) { background: var(--ink); }
.svc-card:nth-child(3n+3) { background: var(--orange); }
.svc-card__img {
  position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 36%;
  width: 64%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.svc-card__head {
  flex: 0 0 auto; height: var(--head-h);
  display: flex; align-items: center;
  padding: 0 var(--pad-shell);
  color: inherit; text-decoration: none;
}
.svc-card__head h3 {
  margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: calc(var(--head-h) * .6); line-height: .9; letter-spacing: 0; color: inherit;
}
.svc-card__head h3 { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: opacity .2s; }
.svc-card__head:hover h3 { opacity: .8; }
.svc-card__body {
  position: relative; flex: 1; min-height: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(18px, 3vh, 34px) var(--pad-shell) clamp(32px, 6vh, 64px);
}
.svc-card__body::before { content: ""; position: absolute; top: 0; left: var(--pad-shell); right: var(--pad-shell); height: 1px; background: currentColor; opacity: .5; }
.svc-card__desc {
  margin: 0 0 16px; max-width: 30ch;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.05;
}
.svc-card__list { list-style: none; margin: 0 0 auto; padding: 0; max-width: 46ch; font-size: .78rem; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.svc-card__list li { display: inline; }
.svc-card__list li + li::before { content: " / "; }
.svc-card__body .btn { margin-top: 20px; }
.svc-stack__foot { padding: clamp(28px, 4vw, 48px) var(--pad-shell) clamp(48px, 6vw, 80px); background: var(--sand); }
.svc-stack__foot .btn--ghost { color: var(--ink); }

@media (max-width: 720px) {
  main.shell > section.svc-stack { --stack-top: 73px; --head-h: 60px; --card-h: max(430px, calc(100svh - var(--stack-top) - 5 * var(--head-h))); }
  .svc-card { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
  .svc-card__head h3 { font-size: clamp(1.45rem, 7.2vw, 2.1rem); }
  .svc-card__img { left: 0; width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 80%); mask-image: linear-gradient(180deg, transparent 35%, #000 80%); }
  .svc-card__desc { font-size: 1.35rem; max-width: none; }
}

/* =========================================================
   Fonts: headings (h1–h6) keep Barlow Condensed; everything
   else — body, buttons, nav, labels, numbers — is Manrope.
   Manrope is much wider than the condensed face, so the
   uppercase bits that used Barlow get smaller sizes here.
   ========================================================= */
:root {
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-family-body: var(--font-body);
  --font-mono: var(--font-body);
}
body, input, select, textarea, button { font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6, .t-h4 { font-family: var(--font-display); }
h4, h5, h6, .t-h4 { font-weight: 600; }

.btn, .btn--sm, .nav__cta, .btn--arrow { font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; }
.hero__desc { letter-spacing: -0.01em; }
.mega__grid span { font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.03em; }
.menu__nav > a, .menu__nav-row > a { font-family: var(--font-body); font-weight: 800; font-size: clamp(1.9rem, 7vw, 4.2rem); letter-spacing: -0.02em; line-height: 1.08; }
.work-fan__item span { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.05em; }
.tst__name { font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; }
.step::before { font-family: var(--font-body); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.1rem); letter-spacing: -0.04em; }
.faq__item summary { font-family: var(--font-body); font-weight: 700; font-size: clamp(0.98rem, 1.25vw, 1.15rem); letter-spacing: 0.03em; }
.pg-hero__stats b { font-family: var(--font-body); font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 1.95rem); letter-spacing: -0.02em; }
.story::after, .story__since { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.04em; }
.measure-step__num, .visit-next__num { font-family: var(--font-body); font-weight: 800; font-size: 1.1rem; }
.visit-next__num { font-size: 0.9rem; }
.svc-card__desc { font-family: var(--font-body); font-weight: 600; font-size: clamp(1.02rem, 1.35vw, 1.25rem); line-height: 1.4; letter-spacing: 0.01em; max-width: 34ch; }
.home-about__photo figcaption b { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* home — services stack: contained cards inside the content width (not full-bleed) */
.svc-stack__in { padding-inline: var(--pad-shell); }
.svc-card { --cp: clamp(22px, 3vw, 48px); }
.svc-card__head, .svc-card__body { padding-inline: var(--cp); }
.svc-card__body::before { left: var(--cp); right: var(--cp); }
.hs-intro .panel__in { padding-bottom: clamp(28px, 3vw, 44px); }
/* services section ground: clean white instead of steel sand */
.panel.hs-intro, main.shell > section.svc-stack, .svc-stack__foot { background: var(--color-white); }
/* service cards: description and list read as typed (sentence case), not all caps */
.svc-card__desc, .svc-card__list { text-transform: none; }

/* Manrope text everywhere: -2% character spacing (headings keep their own Barlow tracking).
   !important because many components set their own letter-spacing (labels, buttons, nav). */
body :not(h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *) { letter-spacing: -0.02em !important; }
.svc-card__list { font-size: clamp(0.95rem, 1.05vw, 1.05rem); line-height: 1.55; }

/* section headings: one size everywhere — 73px on desktop, scaling down on small screens.
   Card / form / legal sub-headings keep their own smaller sizes. Key words sit in .gtext (orange). */
main h2:not(.hero__aud-in h2, .contact-aside h2, .contact__form h2, .visit-card h2, .visit-success h2, .doc h2) {
  font-size: clamp(42px, 6vw, 73px); line-height: 0.92;
}

/* section head with the description beside the heading (home — services intro) */
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.sec-head--split h2 { margin-bottom: 0; }
.sec-head--split .lead { margin: 0; max-width: 46ch; padding-bottom: 6px; }
@media (max-width: 860px) { .sec-head--split { grid-template-columns: 1fr; gap: 18px; } }

/* =========================================================
   Global heading → description → button spacing
   One set of values for every section heading (h2) and one for
   the hero headings (home hero + interior page heroes).
   Card titles, form titles and legal-page sub-headings are not
   section headings and keep their own spacing.
   ========================================================= */
:root {
  --space-head-desc: 24px;        /* section heading → its description */
  --space-desc-cta: 36px;         /* description → button / link directly under it */
  --space-hero-head-desc: 28px;   /* hero heading → hero description */
  --space-hero-desc-cta: 40px;    /* hero description → hero buttons */
}

/* section headings */
main h2:not(.hero__aud-in h2, .contact-aside h2, .contact__form h2, .visit-card h2, .visit-success h2, .doc h2):has(+ p:not(.story__since)) { margin-bottom: 0; }
main h2:not(.hero__aud-in h2, .contact-aside h2, .contact__form h2, .visit-card h2, .visit-success h2, .doc h2) + p:not(.story__since) { margin-top: var(--space-head-desc); }
main h2:not(.hero__aud-in h2, .contact-aside h2, .contact__form h2, .visit-card h2, .visit-success h2, .doc h2) ~ p:has(+ :is(.btn-row, .btn, .txt-link, .arrow-link, div:has(> .btn, > .txt-link, > .arrow-link))) { margin-bottom: 0; }
main h2:not(.hero__aud-in h2, .contact-aside h2, .contact__form h2, .visit-card h2, .visit-success h2, .doc h2) ~ p + :is(.btn-row, .btn, .txt-link, .arrow-link, div:has(> .btn, > .txt-link, > .arrow-link)) { margin-top: var(--space-desc-cta); }

/* hero headings (home hero + interior page heroes) */
.hero__main h1, .pg-hero h1 { margin-bottom: 0; }
.hero__main h1 + p, .pg-hero h1 + p { margin-top: var(--space-hero-head-desc); margin-bottom: 0; }
.hero__main h1 ~ p + :is(.btn-row, .hero__cta), .pg-hero h1 ~ p + .btn-row { margin-top: var(--space-hero-desc-cta); }

/* ---------- section header block → the content under it (cards, grids, lists, steps…) ----------
   One gap everywhere, whether the header is just a heading, heading + description,
   or heading + description + button. Side-by-side layouts (content beside the heading) are unaffected. */
:root { --space-head-content: 64px; }

.sec-head { margin-bottom: var(--space-head-content); }
.sec-head > :last-child { margin-bottom: 0; }
/* description or button placed right after a .sec-head (outside it) belongs to the header */
.sec-head:has(+ p, + .btn-row, + .btn) { margin-bottom: 0; }
.sec-head + p { margin-top: var(--space-head-desc); }
.sec-head + :is(.btn-row, .btn) { margin-top: var(--space-desc-cta); }
/* testimonials: header padding was adding a second gap */
.panel .tst__head { padding-bottom: 0; }
.tst__head .sec-head { margin-bottom: calc(var(--space-head-content) - 4px); }   /* the carousel has 4px top padding */
/* services intro (home): the stack section follows directly */
.panel.hs-intro .panel__in { padding-bottom: var(--space-head-content); }
.panel.hs-intro .sec-head { margin-bottom: 0; }   /* padding, not margin — a margin would leak out of the white panel */
/* "Made to measure" steps: drop their extra top padding */
.measure-steps { padding-top: 0; }
/* headings stacked over content in the same column */
.faq-aside h2 { margin-bottom: var(--space-head-content); }
.stack > h2 ~ p + :is(.check-list, ul, .grid, .cards) { margin-top: var(--space-head-content); }
.work-fan { padding-top: 0; margin-top: 0; }   /* photo strip: the header's gap is the only space above it */

/* =========================================================
   Global spacing scale — desktop / tablet / mobile
   Every section's top + bottom padding and the header gaps
   come from these tokens; change a value here and the whole
   site follows.
   ========================================================= */
:root {
  --space-section-y: 112px;       /* top + bottom padding of every section */
  --space-head-desc: 24px;
  --space-desc-cta: 36px;
  --space-head-content: 64px;
  --space-hero-head-desc: 28px;
  --space-hero-desc-cta: 40px;
}
@media (max-width: 1023px) {
  :root { --space-section-y: 88px; --space-head-desc: 20px; --space-desc-cta: 30px; --space-head-content: 48px; --space-hero-head-desc: 24px; --space-hero-desc-cta: 34px; }
}
@media (max-width: 720px) {
  :root { --space-section-y: 56px; --space-head-desc: 14px; --space-desc-cta: 24px; --space-head-content: 32px; --space-hero-head-desc: 16px; --space-hero-desc-cta: 28px; }
}

/* section padding (heroes and the slim client-logo strip keep their own) */
.panel:not(.hero, .pg-hero, .clients, .visit) > .panel__in { padding-top: var(--space-section-y); padding-bottom: var(--space-section-y); }
main.shell > section:not(.panel, .svc-stack) { padding-top: var(--space-section-y); padding-bottom: var(--space-section-y); }
.cta .cta__in { padding-top: var(--space-section-y); padding-bottom: var(--space-section-y); }
/* sections split into a header strip + content strip */
.panel.tst > .tst__head { padding-bottom: 0; }
.tst__bar { padding-bottom: var(--space-section-y); }
.panel.hs-intro > .panel__in { padding-bottom: var(--space-head-content); }
.svc-stack__foot { padding-bottom: var(--space-section-y); }

/* services intro: description under the heading on small screens uses the same head→desc gap */
@media (max-width: 860px) {
  .sec-head--split { gap: var(--space-head-desc); }
  .sec-head--split .lead { padding-bottom: 0; }
}
main.shell section.contact-section:not(.panel) { padding-top: var(--space-section-y); padding-bottom: var(--space-section-y); }
main .sec-head.sec-head--split > p.lead { margin-top: 0; }   /* side-by-side / stacked by grid gap only */
.sec-head + p + :is(.check-list, ul) { margin-top: var(--space-head-content); }   /* service pages: "What's included" list */

/* ---------- home — services cards: no cut corner; horizontal scroll on desktop ---------- */
.svc-card { clip-path: none; }
@media (max-width: 720px) { .svc-card { clip-path: none; } }

/* desktop (svc-scroll.js adds .is-h): the cards sit side by side with a gap and slide
   sideways while the section is pinned under the nav. Below 1024px the sticky stack stays. */
.svc-stack.is-h { --hgap: 24px; --hcard-h: max(480px, calc(100vh - var(--stack-top) - 2 * var(--hgap))); }   /* fills the screen under the nav, same space above/below as between cards */
.svc-stack.is-h .svc-stack__in {          /* exactly card-tall, so the global header→content gap stays the only space above */
  position: sticky; top: calc(var(--stack-top) + var(--hgap));
  height: var(--hcard-h); overflow: hidden; padding-inline: 0;
}
.svc-stack.is-h .svc-stack__track { display: flex; gap: var(--hgap); height: 100%; padding-inline: var(--pad-shell); will-change: transform; }
.svc-stack.is-h .svc-card { position: relative; top: auto; flex: 0 0 min(72vw, 980px); height: 100%; box-shadow: none; }
.svc-stack.is-h .svc-card__head { height: auto; padding-top: clamp(28px, 4vh, 44px); }
.svc-stack.is-h .svc-card__head h3 { font-size: clamp(2.6rem, 4vw, 3.6rem); white-space: normal; }
.svc-stack.is-h .svc-card__body { padding-top: clamp(20px, 3vh, 32px); }
.svc-stack.is-h .svc-card__body::before { top: 0; }
.svc-stack.is-h .svc-stack__foot { padding-top: var(--space-head-content); }

/* desktop cards: wide, the photo fills the whole card, and the text sits in a compact
   panel (in the card's colour) at the bottom-left, as tall as its content */
.svc-card__panel { display: contents; }                       /* mobile / tablet stack: no extra box */
.svc-stack.is-h .svc-card { flex-basis: min(86vw, 1280px); display: block; position: relative; }
.svc-stack.is-h .svc-card__img {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: none; mask-image: none;
}
.svc-stack.is-h .svc-card__panel {
  --cp: clamp(24px, 2.4vw, 36px);
  display: flex; flex-direction: column;
  position: absolute; z-index: 1; left: 32px; bottom: 32px;
  width: min(460px, 42%);
  background: inherit;                                         /* steel / ink / orange, from the card */
}
.svc-stack.is-h .svc-card__head { height: auto; padding: var(--cp) var(--cp) 18px; }
.svc-stack.is-h .svc-card__head h3 { font-size: clamp(2rem, 2.6vw, 2.8rem); line-height: .95; white-space: normal; }
.svc-stack.is-h .svc-card__body { flex: 0 0 auto; padding: 18px var(--cp) var(--cp); }
.svc-stack.is-h .svc-card__desc { max-width: none; font-size: clamp(1rem, 1.15vw, 1.15rem); margin-bottom: 10px; }
.svc-stack.is-h .svc-card__list { max-width: none; margin-bottom: 0; font-size: 0.92rem; }
.svc-stack.is-h .svc-card__body .btn { margin-top: 22px; }

/* ---------- services cards below 1024px: a plain list (no sticky stacking), so every card is as
   tall as its content and nothing gets clipped. Each card = 4:3 photo with the content panel
   joined under it; one side-gutter of space between cards. ---------- */
@media (max-width: 1023px) {
  .svc-stack:not(.is-h) .svc-card {
    position: relative; top: auto; height: auto; overflow: visible;
    display: flex; flex-direction: column; box-shadow: none; background: transparent;
  }
  .svc-stack:not(.is-h) .svc-card + .svc-card { margin-top: var(--pad-shell); }
  .svc-stack:not(.is-h) .svc-card__img {
    order: -1; position: relative; z-index: 0; inset: auto;
    width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
    -webkit-mask-image: none; mask-image: none;
  }
  .svc-stack:not(.is-h) .svc-card__panel { display: flex; flex-direction: column; }
  .svc-stack:not(.is-h) .svc-card:nth-child(3n+1) .svc-card__panel { background: #6F6D67; }
  .svc-stack:not(.is-h) .svc-card:nth-child(3n+2) .svc-card__panel { background: var(--ink); }
  .svc-stack:not(.is-h) .svc-card:nth-child(3n+3) .svc-card__panel { background: var(--orange); }
  .svc-stack:not(.is-h) .svc-card__head { height: auto; padding: 24px var(--cp) 16px; }
  .svc-stack:not(.is-h) .svc-card__head h3 { white-space: normal; font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .svc-stack:not(.is-h) .svc-card__body { flex: none; padding: 16px var(--cp) 26px; }
  .svc-stack:not(.is-h) .svc-card__desc { margin-bottom: 8px; }
  .svc-stack:not(.is-h) .svc-card__list { margin-bottom: 0; }
  .svc-stack:not(.is-h) .svc-card__body .btn { margin-top: 20px; }
}

/* centred section: heading, description and the button under the content all on the centre line */
.sec--center .sec-head { text-align: center; margin-inline: auto; }
.sec--center .sec-head h2 { margin-inline: auto; }
.sec--center .sec-head .lead { margin-inline: auto; text-wrap: balance; }
.sec--center .sec-foot { text-align: center; }

/* =========================================================================
   BUTTON SYSTEM — one source of truth for every button and text link
   ---------------------------------------------------------------------------
   .btn  / .btn--primary     solid orange          hover: ink sweeps in from the left
   .btn--secondary           outline (currentColor) hover: orange sweeps in, border turns orange
                             (.btn--ghost is an alias)
   .btn--inverse             white, for coloured / photo surfaces (.btn--light alias)
   .btn--dark                ink                   hover: orange sweep
   .btn--sm                  compact size          .btn--arrow  adds a trailing ↗
   Every button: same height, type, cut corner, focus ring, press state and timing.
   ========================================================================= */
:root {
  --btn-h: 50px;  --btn-h-sm: 42px;
  --btn-px: 28px; --btn-px-sm: 20px;
  --btn-cut: 14px;
  --btn-dur: .45s; --btn-ease: cubic-bezier(.65, 0, .35, 1);
}
.btn {
  --btn-bg: var(--orange); --btn-fg: var(--color-white); --btn-sweep: var(--ink); --btn-fg-hover: var(--color-white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); min-height: var(--btn-h); padding: 0 var(--btn-px);
  font-family: var(--font-body); font-weight: 700; font-size: 0.82rem; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  color: var(--btn-fg); border: 0; border-radius: 0; box-shadow: none;
  clip-path: polygon(0 0, calc(100% - var(--btn-cut)) 0, 100% var(--btn-cut), 100% 100%, 0 100%);
  background: linear-gradient(var(--btn-sweep), var(--btn-sweep)) no-repeat 0 0 / 0% 100%, var(--btn-bg);
  transition: background-size var(--btn-dur) var(--btn-ease), color .2s ease .16s, transform .15s ease;   /* text flips colour once the sweep is under it */
}
.btn:not(.btn--secondary, .btn--ghost):hover {   /* full shorthand: older rules set a flat hover colour that would wipe the sweep layer */
  background: linear-gradient(var(--btn-sweep), var(--btn-sweep)) no-repeat 0 0 / 100% 100%, var(--btn-bg);
  color: var(--btn-fg-hover); transform: none;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px currentColor; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn--sm { --btn-cut: 11px; height: var(--btn-h-sm); min-height: var(--btn-h-sm); padding: 0 var(--btn-px-sm); font-size: 0.76rem; }
.nav__cta { height: var(--btn-h); padding: 0 24px; }

.btn--primary { --btn-bg: var(--orange); --btn-fg: var(--color-white); --btn-sweep: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--color-white); --btn-sweep: var(--orange); }
.btn--inverse, .btn--light { --btn-bg: var(--color-white); --btn-fg: var(--ink); --btn-sweep: var(--ink); --btn-fg-hover: var(--color-white); }

/* secondary: the 1px outline is drawn with gradients so the cut corner keeps its border */
.btn--secondary, .btn--ghost {
  --btn-bdc: currentColor; --btn-fg: currentColor; --btn-fg-hover: var(--color-white); --btn-bg: transparent; --btn-sec-sweep: var(--orange);
  color: inherit;
  background:
    linear-gradient(var(--btn-bdc), var(--btn-bdc)) 0 0 / calc(100% - var(--btn-cut)) 1px no-repeat,
    linear-gradient(var(--btn-bdc), var(--btn-bdc)) 0 100% / 100% 1px no-repeat,
    linear-gradient(var(--btn-bdc), var(--btn-bdc)) 0 0 / 1px 100% no-repeat,
    linear-gradient(var(--btn-bdc), var(--btn-bdc)) 100% 100% / 1px calc(100% - var(--btn-cut)) no-repeat,
    linear-gradient(45deg, transparent calc(50% - .75px), var(--btn-bdc) calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)) 100% 0 / var(--btn-cut) var(--btn-cut) no-repeat,
    linear-gradient(var(--btn-sec-sweep), var(--btn-sec-sweep)) 0 0 / 0% 100% no-repeat,
    transparent;
}
.btn--secondary:hover, .btn--ghost:hover {
  --btn-bdc: var(--btn-sec-sweep); color: var(--color-white); box-shadow: none;
  /* full shorthand again: an older ghost rule sets a flat orange hover that kills the sweep */
  background:
    linear-gradient(var(--btn-bdc), var(--btn-bdc)) 0 0 / calc(100% - var(--btn-cut)) 1px no-repeat,
    linear-gradient(var(--btn-bdc), var(--btn-bdc)) 0 100% / 100% 1px no-repeat,
    linear-gradient(var(--btn-bdc), var(--btn-bdc)) 0 0 / 1px 100% no-repeat,
    linear-gradient(var(--btn-bdc), var(--btn-bdc)) 100% 100% / 1px calc(100% - var(--btn-cut)) no-repeat,
    linear-gradient(45deg, transparent calc(50% - .75px), var(--btn-bdc) calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)) 100% 0 / var(--btn-cut) var(--btn-cut) no-repeat,
    linear-gradient(var(--btn-sec-sweep), var(--btn-sec-sweep)) 0 0 / 100% 100% no-repeat,
    transparent;
}

/* trailing arrow (buttons with .btn--arrow, the inline ↗ span in some buttons, and every tertiary link) */
.btn--arrow::after { content: "\2197"; font-family: var(--font-body); font-weight: 400; font-size: 1.05em; margin: 0; }
.btn--arrow::after, .btn > span[aria-hidden="true"] { display: inline-block; transition: transform .3s var(--btn-ease); }
.btn--arrow:hover::after, .btn:hover > span[aria-hidden="true"] { transform: translate(3px, -3px); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn--arrow::after, .btn > span[aria-hidden="true"] { transition: none; }
}

/* ---------- sections: no hairline where the background colour changes
   (a line stays only between two sections of the same colour) ---------- */
.panel, main.shell > section:not(.panel) { border-top: 0; }
.panel--paper + .panel--paper, .panel--sand + .panel--sand { border-top: 1px solid var(--line); }
.panel--dark + .panel--dark, .panel--ink + .panel--ink { border-top: 1px solid var(--line-ink); }
/* sweep colour follows the surface, so a hovered button never melts into its background */
:is(.panel--dark, .panel--ink, .section--dark, .cta, .hero, .pg-hero, .nav-shell, .menu, .faq-cta, .foot)
  .btn:not(.btn--secondary, .btn--ghost, .btn--inverse, .btn--light, .btn--dark) { --btn-sweep: var(--color-white); --btn-fg-hover: var(--ink); }
.svc-card:nth-child(3n+2) :is(.btn--inverse, .btn--light) { --btn-sweep: var(--orange); }   /* white button on the ink card */

/* ---------- testimonials: video review cards (assets/js/tst-video.js) ----------
   Same card size, avatar, name and role as the text cards; the poster fills the card,
   a gradient keeps the text readable, and the play button sits in the middle. */
.tst__card--video { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); border-color: transparent; }
.tst__poster { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--btn-ease); }
.tst__card--video::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,13,12,.45) 0%, rgba(13,13,12,.1) 35%, rgba(13,13,12,.2) 60%, rgba(13,13,12,.88) 100%);
}
.tst__card--video .tst__avatar, .tst__card--video .tst__by { position: relative; z-index: 2; }
.tst__card--video .tst__avatar { border-color: rgba(255,255,255,.5); }
.tst__card--video .tst__name { color: var(--on-ink); }
.tst__card--video .tst__role { color: rgba(241,240,235,.75); }
.tst__card--video:hover .tst__poster { transform: scale(1.04); }
.tst__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; display: grid; place-items: center;
  background: var(--orange); color: var(--color-white); border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: background .25s ease, transform .3s var(--btn-ease);
}
.tst__play svg { width: 26px; height: 26px; margin-left: 3px; }
.tst__play:hover { background: var(--color-white); color: var(--ink); transform: translate(-50%, -50%) scale(1.06); }
.tst__play:focus-visible { outline: 2px solid var(--color-white); outline-offset: 4px; }
.tst__video { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; background: #000; }
.tst__card--video.is-playing .tst__play, .tst__card--video.is-playing .tst__avatar, .tst__card--video.is-playing .tst__by { visibility: hidden; }
.tst__card--video.is-missing .tst__play { display: none; }
.tst__card--video.is-missing::after {
  content: "Video coming soon"; position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 10px 16px; background: rgba(13,13,12,.8); color: var(--on-ink);
  font: 700 .76rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .tst__poster, .tst__play { transition: none; } }
/* the button system's display:inline-flex must not bring the nav CTA back on phones */
@media (max-width: 720px) { .nav .nav__cta { display: none; } }
/* testimonials heading: keep the break before the orange words on phones too */
@media (max-width: 720px) { .tst__head .sec-head h2 br { display: inline; } }

/* buttons inside cards: pinned to the bottom of the card, never stretched to its width */
:is(.svc__item, .card) > .btn { margin-top: auto; align-self: flex-start; }
:is(.svc__item, .card) > p:has(+ .btn) { margin-bottom: 24px; }
.stack > .check-list + .btn, .stack > ul + .btn { margin-top: var(--space-desc-cta); align-self: flex-start; }
/* on orange surfaces the outline button sweeps ink instead of orange */
:is(.card--accent, .svc__item--accent, .panel--orange) .btn--secondary { --btn-sec-sweep: var(--ink); }
.svc__item--accent:hover .btn--secondary, .card--accent:hover .btn--secondary { --btn-sec-sweep: var(--orange); }

/* testimonials carousel arrows: outline squares with the same left-to-right orange sweep as the buttons */
.tst__arrow {
  width: 46px; height: 46px; border-radius: 0; border: 0; color: var(--text);
  box-shadow: inset 0 0 0 1px currentColor;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 0 / 0% 100%, transparent;
  transition: background-size var(--btn-dur) var(--btn-ease), color .2s ease .16s, box-shadow .25s ease, opacity .2s ease;
}
.tst__arrow:hover { background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 0 / 100% 100%, transparent; color: var(--color-white); box-shadow: inset 0 0 0 1px var(--orange); border-color: transparent; }
.tst__arrow[disabled] { opacity: .3; }
@media (prefers-reduced-motion: reduce) { .tst__arrow { transition: none; } }

/* ---------- testimonials: card refinements ---------- */
.tst__scroll { gap: 24px; }                                   /* more air between cards */
.tst__card {
  border: 0; border-top: 4px solid var(--orange);             /* no side outline — just the orange top bar */
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);   /* bigger cut corner */
}
.tst__card--video { border-top-color: var(--orange); }
/* avatar: a true circle — photo, or the client's initials on a light tint (testimonials.js) */
.tst__avatar {
  width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; border: 0; filter: none;
  display: grid; place-items: center; background: var(--av-bg, var(--sand));
}
.tst__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tst__avatar.is-initials { color: var(--ink); font: 700 1.05rem/1 var(--font-body); }
.tst__card--video .tst__avatar { box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
/* name → role: tight pair */
.tst__name { line-height: 1.15; }
.tst__role { margin-top: 4px; line-height: 1.3; }
/* controls: arrows on the left, no progress lines */
.tst__bar { justify-content: flex-start; }
.tst__dots { display: none; }


/* ---------- testimonials: long reviews are clamped; "See more" opens the full text in a dialog ---------- */
/* testimonials.js cuts long reviews to 6 lines and ends the last line with "… See more" */
.tst__card { min-height: clamp(340px, 34vw, 380px); }
.tst__more {
  display: inline; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--orange-dark); text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; transition: text-decoration-color .2s ease, color .2s ease;
}
.tst__more:hover { color: var(--orange); text-decoration-color: currentColor; }
.tst__more:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.tst-dialog {
  width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px); margin: auto; padding: 0; border: 0;
  background: var(--paper); color: var(--text); overflow: visible;
}
.tst-dialog::backdrop { background: rgba(13,13,12,.72); }
.tst-dialog[open] { animation: tst-dialog-in .35s var(--btn-ease); }
@keyframes tst-dialog-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tst-dialog__in {
  position: relative; max-height: calc(100vh - 48px); overflow-y: auto;
  padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--orange);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}
.tst-dialog__close {
  position: absolute; top: 18px; right: 44px; width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--text); background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 0 / 0% 100%, transparent;
  box-shadow: inset 0 0 0 1px currentColor; border: 0; cursor: pointer;
  transition: background-size var(--btn-dur) var(--btn-ease), color .2s ease .16s, box-shadow .25s ease;
}
.tst-dialog__close:hover { background-size: 100% 100%, auto; color: var(--color-white); box-shadow: inset 0 0 0 1px var(--orange); }
.tst-dialog__close svg { width: 18px; height: 18px; }
.tst-dialog .tst__avatar { margin-bottom: 24px; }
.tst-dialog .tst__quote { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.7; }
.tst-dialog .tst__by { margin-top: 28px; padding-top: 0; }
@media (prefers-reduced-motion: reduce) { .tst-dialog[open] { animation: none; } }


/* how it works on the dark panel: intro + button beside the heading, muted copy under the steps */
.how .sec-head--split { align-items: end; }
.how__intro .lead { margin: 0; }
.how__intro .btn-row { margin-top: var(--space-desc-cta); }

/* numbered step cards (home — how it works): one row under a tape-measure ruler; each card has a
   dimension line (ticked ends) between its number and its title */
.how .sec-head--split { margin-bottom: calc(var(--space-head-content) - 30px); }   /* the ruler sits inside the global header→content gap */
.arch__body { position: relative; padding-top: 30px; }
.arch__body::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 18px; color: rgba(241,240,235,.32);
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 100px) 0 0 / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 50px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 10px) 0 0 / 100% 6px no-repeat;
}
.arch__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; }   /* --n = number of steps */
.arch__cards li {
  display: flex; flex-direction: column;
  padding: clamp(26px, 2.4vw, 36px) clamp(22px, 2vw, 30px) clamp(28px, 2.6vw, 38px);
  background: var(--ink-2);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  transition: transform .4s var(--btn-ease), background .3s ease;
}
.arch__cards li:hover { transform: translateY(-6px); background: #262523; }
.arch__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 3.6vw, 3.4rem); line-height: .85; color: var(--orange); }
.arch__cards li > div { position: relative; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line-ink); transition: border-color .3s ease; }
.arch__cards li > div::before, .arch__cards li > div::after {
  content: ""; position: absolute; top: -6px; width: 1px; height: 11px; background: rgba(255,255,255,.28); transition: background .3s ease;
}
.arch__cards li > div::before { left: 0; }
.arch__cards li > div::after { right: 0; }
.arch__cards li:hover > div { border-top-color: var(--orange); }
.arch__cards li:hover > div::before, .arch__cards li:hover > div::after { background: var(--orange); }
.arch__cards h3 { margin: 0 0 10px; font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1; }
.arch__cards p { margin: 0; color: var(--on-ink-mut); font-size: .96rem; line-height: 1.55; }
@media (max-width: 1100px) { .arch__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .arch__cards[style*="--n:3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .arch__cards[style*="--n:3"] { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .arch__cards { grid-template-columns: 1fr; gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .arch__cards li { transition: none; } .arch__cards li:hover { transform: none; } }

/* FAQ section: heading centred on top, the questions in a centred column, CTA centred at the end */
.faq-sec .faq { max-width: 880px; margin-inline: auto; }
.faq-foot { margin-top: var(--space-head-content); text-align: center; }
.faq-foot p { margin: 0 auto; color: var(--text-mut); }
.faq-foot .btn-row { justify-content: center; margin-top: var(--space-desc-cta); }

/* =========================================================
   Global CTA above the footer (tools/parts/cta.html, written into every page by tools/site_parts.py)
   Left: heading, description, phone + email. Right: enquiry form on a light card.
   ========================================================= */
.cta__in--form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.cta__copy .cta__title { margin-bottom: 0; max-width: none; }   /* the column sets the width, so lines fill the space they have */
.cta__copy .cta__text { margin: var(--space-head-desc) 0 0; }
.cta__contact { list-style: none; margin: var(--space-desc-cta) 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.cta__contact li { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-ink); }
.cta__contact a { color: var(--on-ink); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; text-decoration: none; transition: color .2s ease; }
.cta__contact a:hover { color: var(--orange); }
.cta-form {
  background: var(--paper); color: var(--text);
  padding: clamp(24px, 3vw, 40px); border-top: 4px solid var(--orange);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}
.cta-form .btn { width: 100%; margin-top: 8px; }
.cta-form textarea { min-height: 110px; }
.cta-form textarea[rows="2"] { min-height: 0; }
.cta-form__title { margin: 0 0 10px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; color: var(--text); }
.cta-form__lead { margin: 0 0 clamp(22px, 3vw, 30px); color: var(--text-mut); font-size: .95rem; max-width: 52ch; }
.cta-form .visit-success h2 { color: var(--text); }
/* the form is much taller than the copy, so the copy stays in view beside it */
@media (min-width: 961px) { .cta__copy { position: sticky; top: clamp(96px, 13vh, 120px); } }
@media (max-width: 960px) { .cta__in--form { grid-template-columns: 1fr; } }


/* =========================================================
   Service detail pages (tools/gen_service_pages.py)
   ========================================================= */
/* hero: big title on the left, lead + buttons on the right (bottom-aligned), a full-width dimension
   line under both, then a row of quick facts joined to the bottom edge (dividers run down to the
   edge, padding inside each fact) */
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.pg-hero.svc-hero h1 { font-size: clamp(3.2rem, 7.4vw, 7.6rem); max-width: none; margin: 0; }
.svc-hero__side .lead { margin: 0; max-width: 48ch; }
.svc-hero__side .btn-row { margin-top: var(--space-hero-desc-cta); }
/* dimension line: ticked ends, label in the middle (same colour as the home hero's measurements) */
.svc-hero__dim { display: flex; align-items: center; gap: 14px; margin-top: clamp(44px, 5.5vw, 80px); color: rgba(255,178,120,.95); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.svc-hero__dim::before, .svc-hero__dim::after { content: ""; flex: 1; height: 11px; background: linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat; }
.svc-hero__dim::before { border-left: 1px solid currentColor; }
.svc-hero__dim::after { border-right: 1px solid currentColor; }
.pg-hero.svc-hero .panel__in { padding-bottom: 0; }
.svc-hero { -webkit-user-select: none; user-select: none; }   /* hold to weld (weld.js), so no text selection on drag */
/* the home hero's tape scales + cursor crosshair (hero.js) replace the plain interior-page rule */
.pg-hero.svc-hero::before { display: none; }
.svc-hero__facts { list-style: none; margin: clamp(28px, 3.4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.svc-hero__facts::before { content: ""; position: absolute; top: 0; left: 50%; width: 100vw; height: 1px; transform: translateX(-50%); background: var(--line-ink); }   /* the top rule runs edge to edge (the panel clips it) */
.svc-hero__facts li { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2.4vw, 30px) clamp(14px, 2vw, 28px) clamp(28px, 3.4vw, 48px); }
.svc-hero__facts li:first-child { padding-left: 0; }
.svc-hero__facts li + li { border-left: 1px solid var(--line-ink); }
.svc-hero__facts span { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.svc-hero__facts b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.1; text-transform: uppercase; color: var(--on-ink); letter-spacing: 0 !important; }
@media (max-width: 960px) {
  .svc-hero__grid { grid-template-columns: 1fr; gap: var(--space-hero-head-desc); }
  .svc-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-hero__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  /* rule between the two rows, edge to edge: the 3rd fact draws it out to the left, the 4th out to the right */
  .svc-hero__facts li { position: relative; }
  .svc-hero__facts li:nth-child(3)::before, .svc-hero__facts li:nth-child(4)::before { content: ""; position: absolute; top: 0; width: 100vw; height: 1px; background: var(--line-ink); }
  .svc-hero__facts li:nth-child(3)::before { right: 0; }
  .svc-hero__facts li:nth-child(4)::before { left: 0; }
}


/* split heading with a description + button on the right (same gap as everywhere else) */
.sec-head--split > div > .lead + .btn-row { margin-top: var(--space-desc-cta); }

/* service page with only a few project photos: a still, centred row instead of the looping strip */
.work-fan--static { -webkit-mask-image: none; mask-image: none; }
.work-fan--static .work-fan__track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }

/* architects — "From drawing to installed detail": a drawing-sheet grid (heavy top rule, hairline cells),
   each cell numbered; the top edge of a cell turns orange on hover */
.spec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.spec-grid li { position: relative; padding: clamp(26px, 3vw, 40px) clamp(20px, 2.6vw, 36px) clamp(30px, 3.4vw, 44px); border-bottom: 1px solid var(--line); }
.spec-grid li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
.spec-grid li:nth-child(3n + 1) { padding-left: 0; }
.spec-grid li::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--btn-ease); }
.spec-grid li:hover::before { transform: scaleX(1); }
.spec-grid__num { display: block; margin-bottom: clamp(22px, 2.6vw, 34px); font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 3.6vw, 3.4rem); line-height: .85; color: var(--orange); }   /* same as the How we work cards (.arch__num) */
.spec-grid h3 { margin: 0 0 10px; font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1; }   /* same as .arch__cards h3 */
.spec-grid p { margin: 0; color: var(--text-mut); max-width: 34ch; }
@media (max-width: 960px) {
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid li:not(:nth-child(3n + 1)) { border-left: 0; }
  .spec-grid li:nth-child(3n + 1) { padding-left: clamp(20px, 2.6vw, 36px); }
  .spec-grid li:nth-child(odd) { padding-left: 0; }
  .spec-grid li:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid li, .spec-grid li:nth-child(odd), .spec-grid li:nth-child(3n + 1) { padding-left: 0; padding-right: 0; border-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .spec-grid li::before { transition: none; } }

/* project galleries: a plain grid — no hairline frame or grey behind the photos, real gaps between them */
.grid.gallery, .gallery { background: transparent; border: 0; gap: clamp(12px, 1.4vw, 20px); }

/* =========================================================
   Services mega menu — the services in three labelled columns, with a
   "Book a free site visit" panel on the right (desktop nav only).
   The links sit inside .nav__links, so its small uppercase link style is reset here.
   ========================================================= */
.mega { width: min(1060px, calc(100vw - 2 * var(--pad))); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.mega__main { display: flex; flex-direction: column; min-width: 0; padding: 28px 30px 0; }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.mega__label { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line-ink); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.nav__links .mega__col a { display: block; position: relative; margin: 0 -12px; padding: 11px 12px 11px 14px; font-size: inherit; letter-spacing: 0; text-transform: none; color: var(--on-ink); transition: background .15s ease; }
.mega__col a::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--orange); transform: scaleY(0); transition: transform .2s ease; }
.mega__col a:hover { background: rgba(255,79,25,.1); }
.mega__col a:hover::before, .mega__col a[aria-current="page"]::before { transform: scaleY(1); }
.nav__links .mega__col a[aria-current="page"]::after { content: none; }
.mega__col span { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: var(--on-ink); }
.mega__col small { display: block; margin-top: 5px; font-size: .8rem; line-height: 1.4; color: var(--on-ink-mut); }
.nav__links .mega__all { display: block; margin: 18px -30px 0; padding: 16px 30px; border-top: 1px solid var(--line-ink); font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--orange); }
.nav__links .mega__all:hover { color: var(--color-white); }
.mega__side { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 26px 26px; background: var(--orange); color: var(--color-white); }
.mega__side-label { margin: 0 0 14px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mega__side-title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 800; font-size: 2.15rem; line-height: .92; text-transform: uppercase; color: var(--black); }
.mega__side p:not([class]) { margin: 0 0 24px; font-size: .88rem; line-height: 1.45; }
.nav__links .mega__side .btn { margin-top: auto; padding: 14px 22px; font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .08em; color: var(--color-white); --btn-sec-sweep: var(--ink); }
.nav__links .mega__side .btn:hover { color: var(--color-white); }

/* mobile menu: the services list, by group */
.menu__sub.is-open { max-height: 900px; }
.menu__sub-label { margin: 10px 0 -2px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.menu__sub-label:first-child { margin-top: 0; }
.menu__sub a[aria-current="page"] { color: var(--color-white); }

/* services overview grid: the accent card fills a last row it would otherwise sit alone in */
@media (min-width: 721px) {
  .svc > .svc__item--accent:last-child:nth-child(3n + 1) { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: clamp(24px, 3vw, 48px); }
  .svc > .svc__item--accent:last-child:nth-child(3n + 1) h3 { margin: 0 0 8px; }
  .svc > .svc__item--accent:last-child:nth-child(3n + 1) p { margin: 0; max-width: 60ch; }
  .svc > .svc__item--accent:last-child:nth-child(3n + 1) > :is(h3, p) { grid-column: 2; }
  .svc > .svc__item--accent:last-child:nth-child(3n + 1) .svc__icon { grid-row: 1 / 3; }
  .svc > .svc__item--accent:last-child:nth-child(3n + 1) .btn { grid-column: 3; grid-row: 1 / 3; margin: 0; align-self: center; }
}

/* home services: past the sixth card the stacking strips stop stepping down, so every card still fits the screen */
.svc-card { top: calc(var(--stack-top) + min(var(--i), 5) * var(--head-h)); }

/* service pages — "Areas we serve": compact location tiles (the "Why choose" cards with a pin),
   4 across on desktop and 2 below, with the CTA card spanning two tiles to complete the last row */
.areas__grid { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.areas__item { flex-direction: row; align-items: center; gap: 16px; padding: clamp(18px, 2vw, 28px); }
.areas__item .card__icon { width: 42px; height: 42px; margin: 0; }
.areas__item .card__icon svg { width: 20px; height: 20px; }
.areas__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1; text-transform: uppercase; }
.areas__cta { grid-column: span 2; padding: clamp(24px, 2.6vw, 36px); }
@media (min-width: 961px) { .areas__cta[style*="--cta-rows"] { grid-column: 3 / 5; grid-row: 2 / span var(--cta-rows); } }
.areas__cta h3 { margin: 0 0 10px; color: var(--color-white); }
.areas__cta p { margin: 0 0 22px; max-width: 52ch; color: var(--color-white); }
.areas__cta .btn-row { margin-top: auto; }
@media (max-width: 960px) { .areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .areas__item { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 16px 20px; }
  .areas__name { font-size: 1.15rem; }
  .areas__cta .btn-row .btn { width: 100%; }
}

/* policy pages — the document beside its table of contents (legal-toc.js highlights the section
   being read). Desktop: the list is a sticky side column. Below 961px it sits behind a sticky
   "Contents" pill on the left that opens it as a dropdown. */
.legal { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal .doc { max-width: 72ch; }
.legal .doc h2 { scroll-margin-top: 110px; }
.legal__toc { position: sticky; top: calc(77px + 32px); }          /* under the fixed nav */
.legal__pill { display: none; }
.legal__toc-label { margin: 0 0 14px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.legal__nav ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-left: 1px solid var(--line); }
.legal__nav li { counter-increment: toc; }
.legal__nav a {
  display: flex; gap: 12px; padding: 9px 0 9px 18px; margin-left: -1px; border-left: 2px solid transparent;
  color: var(--color-text-secondary); font-size: .92rem; line-height: 1.35; text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.legal__nav a::before { content: counter(toc, decimal-leading-zero); flex: none; min-width: 1.4em; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--line); transition: color .2s ease; }
.legal__nav a:hover { color: var(--color-text-primary); }
.legal__nav a[aria-current] { color: var(--color-text-primary); font-weight: 600; border-left-color: var(--orange); }
.legal__nav a[aria-current]::before { color: var(--orange); }
@media (max-width: 960px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legal__toc { top: calc(73px + 12px); z-index: 20; justify-self: start; max-width: 100%; }
  .legal .doc h2 { scroll-margin-top: 148px; }   /* clear of the nav and the pill */
  .js .legal__pill {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 11px 18px;
    border: 0; border-radius: 999px; background: var(--ink); color: var(--color-white);
    font-family: var(--font-body); font-size: .76rem; font-weight: 700; line-height: 1; letter-spacing: .1em; text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(13, 13, 12, .22); cursor: pointer;
  }
  .js .legal__pill svg { flex: none; color: var(--orange); }
  .legal__pill-cur { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .72); }
  .legal__pill-cur:not(:empty)::before { content: "·"; margin-right: 8px; color: var(--orange); }
  .js .legal__nav {
    position: absolute; top: calc(100% + 10px); left: 0; width: min(340px, calc(100vw - 32px));
    max-height: calc(100svh - 170px); overflow-y: auto; padding: 18px 20px 12px;
    background: var(--color-white); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(13, 13, 12, .18);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .legal__toc.is-open .legal__nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
}

/* "Why choose" CTA card: on hover (dark) the icon box turns orange so the arrow stays visible */
.card--accent .card__icon { transition: background .2s ease, color .2s ease; }
.card--accent:hover .card__icon { background: var(--orange); color: var(--color-white); }

/* services — "Built for homes and projects": two centred audience cards, light on the dark panel */
.panel--dark .grid.aud { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); max-width: 1120px; margin-inline: auto; background: none; border: 0; }
.panel--dark .aud .card { align-items: center; text-align: center; padding: clamp(32px, 4vw, 56px); background: var(--paper); color: var(--ink); }
.panel--dark .aud .card:hover { background: var(--color-white); color: var(--ink); }
.aud .card::before { left: 50%; transform: translateX(-50%); }
.aud .card__icon { margin-bottom: 22px; }
.panel--dark .aud .card h3 { color: var(--ink); }
.panel--dark .aud .card p { max-width: 46ch; margin: 0 0 28px; color: var(--color-text-secondary); }
.aud .card .btn { margin-top: auto; }
@media (max-width: 720px) { .panel--dark .grid.aud { grid-template-columns: minmax(0, 1fr); } }

/* services — "Metal fabrication services in Islamabad": the copy beside the list of areas covered */
.loc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.loc__areas { padding: clamp(24px, 3vw, 40px); background: var(--ink-2); border: 1px solid var(--line-ink); }
.loc__label { margin: 0 0 18px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.loc__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); }
.loc__list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink-2); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1; text-transform: uppercase; color: var(--on-ink); transition: background .2s ease; }
.loc__list li:hover { background: var(--ink); }
.loc__list svg { flex: none; width: 18px; height: 18px; color: var(--orange); }
.loc__note { margin: 18px 0 0; font-size: .88rem; line-height: 1.5; color: var(--on-ink-mut); }
@media (max-width: 960px) { .loc { grid-template-columns: minmax(0, 1fr); } }
