/* Hockley Contract Services: sample site styles
   Colour scheme: RAL 6004 blue green, RAL 7016 anthracite and marking yellow ("Version 1",
   confirmed by Hockley on 2026-09-22). Every colour below reads from these tokens.
   Display type is Archivo set wide (font-stretch), body text is Archivo at normal width,
   data labels are IBM Plex Mono. Font faces live in css/fonts.css, generated by build.mjs. */

:root {
  --c-brand: #1d3b3e;        /* brand ground: dark bands, page heroes */
  --c-brand-deep: #132a2c;   /* footer, top bar, overlays */
  --c-brand-soft: #2a5054;
  --c-ink: #242a2d;          /* body text */
  --c-slate: #566064;        /* secondary text */
  --c-rule: #d3d7d4;         /* hairlines */
  --c-rule-dark: rgba(255, 255, 255, 0.16);
  --c-stone: #e8eae6;
  --c-paper: #f5f6f3;        /* page ground */
  --c-white: #ffffff;
  --c-accent: #f2c230; /* marking yellow: quote button, key lines, accents */
  --c-accent-hover: #ffd555;
  --c-accent-ink: #1b1a10;
  --c-accent-text: #1d3b3e; /* accent for text on light grounds */
  --c-line: #1d3b3e; /* accent lines and icons on light grounds */
  --c-shade: 19, 42, 44;     /* RGB of the brand ground, for translucent overlays */
  --c-on-dark-mute: rgba(255, 255, 255, 0.76);
  --c-error: #b3261e;

  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wide: 118%;

  --fs-display: clamp(2.55rem, 1.05rem + 5.3vw, 5.6rem);
  --fs-h1: clamp(2.2rem, 1.3rem + 3.4vw, 4.25rem);
  --fs-h2: clamp(1.8rem, 1.2rem + 2.2vw, 3.05rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 1320px;
  --band: clamp(4.5rem, 2.8rem + 6vw, 8.5rem);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  font-stretch: var(--wide);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
ul, ol { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--c-accent); }
body.nav-locked { overflow: hidden; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--c-accent); color: var(--c-accent-ink);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 60rem; }

.label {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.on-dark .label { color: var(--c-on-dark-mute); }
.lead { font-size: var(--fs-lead); color: var(--c-slate); }
.on-dark .lead { color: var(--c-on-dark-mute); }

/* ---------- Sample marking ---------- */

.sample-note {
  background: var(--c-stone);
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-rule);
  font: 500 0.75rem/1.4 var(--f-mono);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.55rem var(--gutter);
}
.ph-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.22rem 0.5rem;
  border: 1px dashed currentColor;
  border-radius: 2px;
  font: 500 0.6875rem/1.2 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-slate);
  background: var(--c-white);
  white-space: nowrap;
}
.on-dark .ph-tag { color: var(--c-on-dark-mute); background: transparent; }
.ph {
  border: 1.5px dashed #9e9e9e;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(var(--c-shade), 0.04) 10px 20px);
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.4rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  font-stretch: 112%;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--quote {
  --btn-bg: var(--c-accent); --btn-fg: var(--c-accent-ink); --btn-bd: var(--c-accent);
  text-transform: uppercase; letter-spacing: 0.06em; font-stretch: 105%;
}
.btn--quote:hover { --btn-bg: var(--c-accent-hover); --btn-bd: var(--c-accent-hover); }
.btn--solid { --btn-bg: var(--c-brand); --btn-fg: #fff; --btn-bd: var(--c-brand); }
.btn--solid:hover { --btn-bg: var(--c-brand-soft); --btn-bd: var(--c-brand-soft); }
.btn--line:hover { --btn-bg: var(--c-ink); --btn-fg: var(--c-paper); }
.btn--line-light { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.6); }
.btn--line-light:hover { --btn-bg: #fff; --btn-fg: var(--c-brand); --btn-bd: #fff; }
.btn--sm { min-height: 2.75rem; padding: 0.6rem 1rem; font-size: 0.8125rem; }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.85; }
.btn[aria-busy="true"] svg { animation: spin 0.9s linear infinite; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-stretch: 108%; color: var(--c-accent-text); text-decoration: none;
}
.text-link svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.on-dark .text-link { color: #fff; }

/* ---------- Header ---------- */

.topbar { background: var(--c-brand-deep); color: var(--c-on-dark-mute); font: 400 0.75rem/1 var(--f-mono); letter-spacing: 0.03em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 2.5rem; }
.topbar ul { display: flex; gap: 1.75rem; list-style: none; padding: 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 246, 243, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-rule);
  transition: box-shadow 0.3s var(--ease);
}
.masthead.is-scrolled { box-shadow: 0 10px 30px -18px rgba(var(--c-shade), 0.35); }
.masthead__inner { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--c-ink); flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { display: block; font-weight: 700; font-size: 1.2rem; font-stretch: 125%; line-height: 1; letter-spacing: -0.01em; }
.brand__sub { display: block; margin-top: 0.3rem; font: 500 0.625rem/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-slate); }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 0.1rem; list-style: none; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-block;
  padding: 0.65rem 0.7rem;
  font-weight: 500; font-size: 0.9375rem;
  color: var(--c-ink); text-decoration: none; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.3rem; height: 2px;
  background: var(--c-brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__subtoggle {
  display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-left: -0.5rem;
  border: 0; border-radius: 2px; background: none; color: var(--c-ink); cursor: pointer;
}
.nav__subtoggle svg { width: 10px; height: 10px; transition: transform 0.25s var(--ease); }
.nav__item.is-open .nav__subtoggle svg { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 23rem;
  list-style: none; padding: 0.5rem;
  background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius);
  box-shadow: 0 28px 50px -22px rgba(var(--c-shade), 0.4);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -0.75rem; height: 0.75rem; }
.nav__item.is-open .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1081px) {
  .nav__item--sub:hover .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.subnav a { display: block; padding: 0.75rem 0.85rem; border-radius: 2px; text-decoration: none; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--c-paper); }
.subnav strong { display: block; font-weight: 600; font-size: 0.9375rem; font-stretch: 108%; line-height: 1.3; }
.subnav span { display: block; margin-top: 0.15rem; font-size: 0.8125rem; line-height: 1.4; color: var(--c-slate); }
.subnav__sep { height: 1px; margin: 0.35rem 0.5rem; background: var(--c-rule); }
.nav__mobile-extra { display: none; }

.masthead__quote { margin-left: 0.75rem; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .topbar { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-left: 0.5rem;
    min-height: 2.75rem; padding: 0.5rem 0.9rem;
    border: 1.5px solid var(--c-ink); border-radius: var(--radius);
    background: transparent; color: var(--c-ink);
    font: 600 0.9375rem/1 var(--f-sans); cursor: pointer;
  }
  .nav-toggle__bars { position: relative; width: 16px; height: 10px; }
  .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
  }
  .nav-toggle__bars::before { top: 0; }
  .nav-toggle__bars::after { top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
  .masthead__quote { margin-left: auto; }

  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h));
    display: block; margin: 0;
    padding: 0.5rem var(--gutter) 3rem;
    background: var(--c-paper); border-top: 1px solid var(--c-rule);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--c-rule); }
  .nav__link { padding: 1rem 0; font-size: 1.35rem; font-weight: 600; font-stretch: 115%; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-line); }
  .nav__subtoggle { display: none; }
  .subnav {
    position: static; flex-basis: 100%; min-width: 0; padding: 0 0 1rem;
    background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .subnav a { padding: 0.55rem 0; }
  .subnav span { display: none; }
  .nav__mobile-extra { display: grid; gap: 0.75rem; margin-top: 2rem; }
  .nav__mobile-extra .btn { width: 100%; }
}
@media (max-width: 560px) {
  .masthead__quote { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand__name { font-size: 1.05rem; }
}

/* ---------- Bands and section heads ---------- */

.band { padding-block: var(--band); }
.band--white { background: var(--c-white); }
.band--stone { background: var(--c-stone); }
.band--green { background: var(--c-brand); color: #fff; }
.band--deep { background: var(--c-brand-deep); color: #fff; }
.band--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.band--flush-top { padding-top: 0; }

.sec-head { display: grid; gap: 1.25rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head .label { margin-bottom: 1.1rem; }
.sec-head h2 { font-size: var(--fs-h2); max-width: 18ch; }
.sec-head p { font-size: var(--fs-lead); color: var(--c-slate); max-width: 38rem; }
.on-dark .sec-head p { color: var(--c-on-dark-mute); }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
}
.sec-head__aside { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }

/* ---------- Home hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  min-height: min(90svh, 880px);
  background: var(--c-brand-deep); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(var(--c-shade), 0.96) 0%, rgba(var(--c-shade), 0.88) 36%, rgba(var(--c-shade), 0.4) 70%, rgba(var(--c-shade), 0.18) 100%);
}
.hero__content { align-self: center; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero__title { margin-top: 1.4rem; max-width: 12.5ch; font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.028em; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .ln > span { display: block; }
.hero__lead { margin-top: 1.75rem; max-width: 36rem; font-size: var(--fs-lead); color: var(--c-on-dark-mute); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

.hero__sectors { background: rgba(var(--c-shade), 0.9); border-top: 1px solid var(--c-rule-dark); }
.hero__sectors-inner { display: grid; }
.hero__sectors-title { padding: 1.1rem 0 0; }
.hero__sectors ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.hero__sectors a {
  display: flex; flex-direction: column; gap: 0.3rem; height: 100%;
  padding: 1rem 1rem 1.15rem 0;
  text-decoration: none; color: #fff;
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.hero__sectors a:hover { box-shadow: inset 0 3px 0 var(--c-accent); }
.hero__sectors strong { font-weight: 600; font-size: 0.9375rem; font-stretch: 110%; line-height: 1.3; }
@media (min-width: 700px) { .hero__sectors ul { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) {
  .hero__sectors-inner { grid-template-columns: 11rem 1fr; align-items: stretch; }
  .hero__sectors-title { padding: 1.4rem 0; border-right: 1px solid var(--c-rule-dark); }
  .hero__sectors ul { grid-template-columns: repeat(6, 1fr); }
  .hero__sectors a { padding: 1.2rem 1.1rem 1.35rem; border-left: 1px solid var(--c-rule-dark); }
  .hero__sectors li:first-child a { border-left: 0; }
}
@media (max-width: 800px) {
  .hero::before { background: linear-gradient(180deg, rgba(var(--c-shade), 0.6) 0%, rgba(var(--c-shade), 0.9) 50%, rgba(var(--c-shade), 0.97) 100%); }
}

/* ---------- Inner page hero ---------- */

.page-hero { position: relative; background: var(--c-brand); color: #fff; overflow: hidden; }
.page-hero__inner { display: grid; gap: 2.5rem; padding-block: clamp(3.25rem, 7vw, 6rem); }
.page-hero h1 { font-size: var(--fs-h1); max-width: 16ch; }
.page-hero__lead { margin-top: 1.5rem; max-width: 40rem; font-size: var(--fs-lead); color: var(--c-on-dark-mute); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.page-hero__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--c-brand-deep); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .page-hero--media .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 4.5rem; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin-bottom: 1.5rem; }
.crumbs li { font: 500 var(--fs-label)/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-on-dark-mute); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.55; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- About intro and facts ---------- */

.intro { display: grid; gap: 2.5rem 5rem; }
.intro h2 { font-size: var(--fs-h2); }
.intro__body > * + * { margin-top: 1.1rem; }
.intro__body p { color: var(--c-slate); }
.intro__body p.lead { color: var(--c-ink); }
@media (min-width: 960px) { .intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 2.25rem 0 0; border-top: 1px solid var(--c-rule); }
.facts > div { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--c-rule); }
.facts dt { font: 500 var(--fs-label)/1.35 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-slate); }
.facts dd { margin: 0.4rem 0 0; font-weight: 600; font-size: 1.0625rem; font-stretch: 110%; line-height: 1.35; }
.on-dark .facts { border-color: var(--c-rule-dark); }
.on-dark .facts > div { border-color: var(--c-rule-dark); }
.on-dark .facts dt { color: var(--c-on-dark-mute); }

/* ---------- Service cards ---------- */

.services { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-white); border: 1px solid var(--c-rule); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: #bdbdbd; box-shadow: 0 22px 44px -26px rgba(var(--c-shade), 0.5); }
.service-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-stone); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { display: flex; flex-direction: column; gap: 1rem; flex: 1; padding: clamp(1.5rem, 2.6vw, 2.25rem); }
.service-card h3 { font-size: var(--fs-h3); }
.service-card h3 a { text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { color: var(--c-slate); }
.service-card .dash-list { font-size: var(--fs-small); }
.service-card__more { margin-top: auto; padding-top: 0.5rem; }

/* ---------- Lists ---------- */

.dash-list { display: grid; gap: 0.55rem; list-style: none; padding: 0; }
.dash-list li { position: relative; padding-left: 1.6rem; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 0.9rem; height: 2px; background: var(--c-line); }
.on-dark .dash-list li::before { background: var(--c-accent); }
@media (min-width: 700px) { .dash-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 2.5rem; } }

/* ---------- Why choose us pillars ---------- */

.pillars { display: grid; border-top: 1px solid var(--c-rule-dark); }
.pillar { padding: 2rem 2rem 2.25rem 0; border-bottom: 1px solid var(--c-rule-dark); }
.pillar h3 { font-size: var(--fs-h3); margin-bottom: 0.75rem; }
.pillar p { color: var(--c-on-dark-mute); max-width: 26rem; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillars--light { border-color: var(--c-rule); }
.pillars--light .pillar { border-color: var(--c-rule); }
.pillars--light .pillar p { color: var(--c-slate); }

/* ---------- We take care of the work (signature) ---------- */

.care { display: grid; gap: 2.75rem; align-items: center; }
.care h2 { font-size: var(--fs-h2); max-width: 14ch; }
.care__text > * + * { margin-top: 1.25rem; }
.care__text .dash-list { margin-top: 1.75rem; }
@media (min-width: 1000px) { .care { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.4fr); gap: 5rem; } }

.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius); background: var(--c-stone);
  user-select: none; -webkit-user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 4px; margin-left: -2px; background: var(--c-accent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); pointer-events: none;
}
.compare__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--c-accent); color: var(--c-accent-ink); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.compare__handle svg { width: 1.4rem; height: 1.4rem; }
.compare__tag {
  position: absolute; top: 1rem; z-index: 1; padding: 0.4rem 0.6rem; border-radius: 2px;
  background: rgba(var(--c-shade), 0.86); color: #fff;
  font: 500 0.6875rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none;
}
.compare__tag--after { left: 1rem; }
.compare__tag--before { right: 1rem; }
.compare__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within { outline: 3px solid var(--c-brand); outline-offset: 4px; }
.on-dark .compare:focus-within { outline-color: var(--c-accent); }
.compare-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 0.9rem; }

/* ---------- Approach steps (a real sequence, so numbered) ---------- */

.steps { display: grid; list-style: none; padding: 0; }
.step { position: relative; padding: 1.6rem 1.75rem 1.9rem 0; border-top: 2px solid var(--c-rule); }
.step::before {
  content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%;
  background: var(--c-brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.steps.is-in .step::before { transform: scaleX(1); }
.steps.is-in .step:nth-child(2)::before { transition-delay: 0.25s; }
.steps.is-in .step:nth-child(3)::before { transition-delay: 0.5s; }
.steps.is-in .step:nth-child(4)::before { transition-delay: 0.75s; }
.steps.is-in .step:nth-child(5)::before { transition-delay: 1s; }
.step h3 { margin: 0.7rem 0 0.65rem; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); }
.step p { font-size: var(--fs-small); color: var(--c-slate); }
@media (min-width: 640px) and (max-width: 979px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.on-dark .step { border-color: var(--c-rule-dark); }
.on-dark .step::before { background: var(--c-accent); }
.on-dark .step p { color: var(--c-on-dark-mute); }

/* ---------- Work cards ---------- */

.work-grid { display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-card { position: relative; display: flex; flex-direction: column; gap: 0.9rem; }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--c-stone); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__flag { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; }
.work-card__go {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 1;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--c-accent); color: var(--c-accent-ink);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}
.work-card__go svg { width: 1.1rem; height: 1.1rem; }
.work-card:hover .work-card__go, .work-card:focus-within .work-card__go { opacity: 1; transform: none; }
@media (hover: none) { .work-card__go { opacity: 1; transform: none; } }
.work-card h3 { font-size: 1.3rem; }
.work-card h3 a { text-decoration: none; }
.work-card h3 a::after { content: ""; position: absolute; inset: 0; }
.work-card__result { font-size: var(--fs-small); color: var(--c-slate); }
.work-card__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.filter {
  padding: 0.65rem 1.05rem; border: 1.5px solid var(--c-rule); border-radius: var(--radius);
  background: #fff; color: var(--c-ink); cursor: pointer;
  font: 600 0.9375rem/1 var(--f-sans); font-stretch: 108%;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.filter:hover { border-color: var(--c-brand); }
.filter[aria-pressed="true"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.filter-status { margin-bottom: 2rem; }
.empty-state { padding: 3rem 2rem; text-align: center; }
.empty-state p { max-width: 32rem; margin: 0 auto 1.5rem; color: var(--c-slate); }

/* ---------- Testimonials ---------- */

.quotes { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote-card { display: flex; flex-direction: column; gap: 1.5rem; margin: 0; padding: clamp(1.5rem, 2.5vw, 2.25rem); background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); }
.quote-card blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; color: var(--c-ink); }
.quote-card blockquote::before { content: ""; display: block; width: 2rem; height: 3px; margin-bottom: 1.25rem; background: var(--c-line); }
.quote-card figcaption { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--c-rule); }
.quote-card figcaption strong { display: block; font-stretch: 108%; }
.quote-card figcaption span { display: block; margin-top: 0.15rem; font-size: 0.875rem; color: var(--c-slate); }
.quote-card .ph-tag { align-self: flex-start; }

/* ---------- Credentials ---------- */

.creds { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .creds { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cred { display: grid; place-items: center; gap: 0.35rem; min-height: 7.5rem; padding: 1.25rem 1rem; text-align: center; }
.cred strong { font-size: 0.9375rem; font-stretch: 108%; line-height: 1.3; }
.creds-note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--c-slate); max-width: 52rem; }
.cred--solid { background: #fff; border: 1px solid var(--c-rule); border-top: 3px solid var(--c-line); border-radius: var(--radius); }
.cred--solid .label { color: var(--c-slate); }

/* ---------- Closing call to action ---------- */

.cta { position: relative; background: var(--c-brand); color: #fff; padding-block: var(--band); overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--c-accent);
  transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease);
}
.cta.is-in::before { transform: scaleX(1); }
.cta__inner { display: grid; gap: 2.5rem 5rem; align-items: end; }
.cta h2 { font-size: var(--fs-h1); max-width: 13ch; }
.cta__text { margin-top: 1.4rem; max-width: 34rem; font-size: var(--fs-lead); color: var(--c-on-dark-mute); }
.cta__side { display: grid; gap: 1.5rem; }
.cta__contact { display: grid; gap: 0; border-top: 1px solid var(--c-rule-dark); }
.cta__contact a, .cta__contact div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--c-rule-dark); color: #fff; text-decoration: none; }
.cta__contact a strong { font-weight: 600; font-size: 1.1rem; font-stretch: 110%; }
.cta__contact a:hover strong { text-decoration: underline; }
@media (min-width: 960px) { .cta__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

/* ---------- Split, gallery, cards, chips ---------- */

.split { display: grid; gap: 2.5rem; align-items: center; }
.split h2 { font-size: var(--fs-h2); }
.split__text > * + * { margin-top: 1.15rem; }
.split__text p { color: var(--c-slate); }
.split__text p.lead { color: var(--c-ink); }
.split__media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); background: var(--c-stone); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
  .split--flip .split__media { order: -1; }
}

.cards { display: grid; gap: 1px; background: var(--c-rule); border: 1px solid var(--c-rule); border-radius: var(--radius); overflow: hidden; }
.cards > * { background: #fff; padding: clamp(1.5rem, 2.4vw, 2.1rem); }
.cards h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.cards p { font-size: var(--fs-small); color: var(--c-slate); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; }
.chips a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.05rem; border: 1.5px solid var(--c-rule); border-radius: var(--radius);
  background: #fff; color: var(--c-ink); text-decoration: none;
  font-weight: 600; font-size: 0.9375rem; font-stretch: 108%;
  transition: border-color 0.2s;
}
.chips a:hover { border-color: var(--c-brand); }
.chips svg { width: 0.95em; height: 0.95em; color: var(--c-line); }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--c-stone); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .gallery figure:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
}
.gallery figcaption { position: absolute; left: 0.75rem; bottom: 0.75rem; }

/* ---------- FAQ (native details, one open at a time via name attribute) ---------- */

.faq { border-top: 1px solid var(--c-rule); }
.faq details { border-bottom: 1px solid var(--c-rule); }
.faq summary {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.125rem; font-stretch: 108%; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 0.3rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--c-brand); }
.faq__a { padding: 0 2.5rem 1.5rem 0; max-width: 68ch; color: var(--c-slate); }
.faq__a > * + * { margin-top: 0.8rem; }
.faq-layout { display: grid; gap: 2rem 5rem; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); } }
.faq-layout h2 { font-size: var(--fs-h2); }
.faq-layout .lead { margin-top: 1.1rem; }

/* ---------- Sectors ---------- */

.sector-index { display: grid; gap: 0; border-top: 1px solid var(--c-rule); list-style: none; padding: 0; }
.sector-index a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--c-rule);
  text-decoration: none; font-weight: 600; font-stretch: 110%; font-size: 1.1rem;
}
.sector-index a svg { width: 1rem; height: 1rem; color: var(--c-line); transition: transform 0.3s var(--ease); }
.sector-index a:hover svg { transform: translateY(3px); }
@media (min-width: 760px) { .sector-index { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
@media (min-width: 1100px) { .sector-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sector + .sector { margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--c-rule); }
.sector h3 { margin: 1.75rem 0 0.9rem; font-size: 1.1rem; }

/* ---------- Team and areas ---------- */

.team { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.team-card__photo { display: grid; place-items: center; aspect-ratio: 4 / 5; color: #9e9e9e; }
.team-card__photo svg { width: 38%; height: auto; }
.team-card h3 { margin-top: 1rem; font-size: 1.2rem; }
.team-card p { margin-top: 0.2rem; font-size: 0.9375rem; color: var(--c-slate); }

.areas { columns: 2; column-gap: 2rem; list-style: none; padding: 0; }
.areas li { break-inside: avoid; padding: 0.6rem 0; border-bottom: 1px solid var(--c-rule); font-weight: 500; }
@media (min-width: 760px) { .areas { columns: 4; } }

.values { display: grid; gap: 0; border-top: 1px solid var(--c-rule); }
.value { display: grid; gap: 0.5rem 3rem; padding: 1.75rem 0; border-bottom: 1px solid var(--c-rule); }
.value h3 { font-size: var(--fs-h3); }
.value p { color: var(--c-slate); max-width: 44rem; }
@media (min-width: 900px) { .value { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); } }

/* ---------- Case study ---------- */

.case-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 2.5rem 0 0; border-top: 1px solid var(--c-rule-dark); }
.case-meta > div { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--c-rule-dark); }
.case-meta dt { font: 500 var(--fs-label)/1.35 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-on-dark-mute); }
.case-meta dd { margin: 0.4rem 0 0; font-weight: 600; font-stretch: 110%; }
@media (min-width: 900px) { .case-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.case-body { display: grid; gap: 3rem 5rem; }
.case-body h2 { font-size: var(--fs-h3); margin-bottom: 0.9rem; }
.case-body p { color: var(--c-slate); }
.case-body p + p { margin-top: 1rem; }
@media (min-width: 900px) { .case-body { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Contact and forms ---------- */

.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr); gap: 5rem; } }
.contact-grid h2 { font-size: var(--fs-h2); }
.contact-list { display: grid; list-style: none; padding: 0; margin-top: 2rem; border-top: 1px solid var(--c-rule); }
.contact-list li { display: grid; gap: 0.3rem; padding: 1.1rem 0; border-bottom: 1px solid var(--c-rule); }
.contact-list a { font-weight: 600; font-size: 1.2rem; font-stretch: 110%; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.next-steps { list-style: none; padding: 0; margin-top: 2.5rem; display: grid; gap: 1.1rem; counter-reset: next; }
.next-steps li { counter-increment: next; display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; align-items: start; }
.next-steps li::before {
  content: counter(next); display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border: 1.5px solid var(--c-brand); border-radius: 50%;
  font: 500 0.875rem/1 var(--f-mono); color: var(--c-brand);
}
.next-steps strong { display: block; font-stretch: 108%; }
.next-steps span { display: block; font-size: 0.9375rem; color: var(--c-slate); }

.form { position: relative; background: #fff; border: 1px solid var(--c-rule); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 3rem); }
.form__title { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.form__intro { color: var(--c-slate); margin-bottom: 2rem; font-size: var(--fs-small); }
.form__grid { display: grid; gap: 1.35rem 1.25rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-weight: 600; font-size: 0.9375rem; }
.field__label .opt { font-weight: 400; color: var(--c-slate); }
.field__hint { font-size: 0.8125rem; color: var(--c-slate); }
.field input:not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: 0.8rem 0.9rem;
  font: inherit; font-size: 1rem; line-height: 1.4; color: var(--c-ink);
  background: var(--c-paper); border: 1.5px solid #c4c4c4; border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #939393; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-brand); background: #fff; box-shadow: 0 0 0 3px rgba(var(--c-shade), 0.2);
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23242A2D' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center;
}
.field__error { display: none; font-size: 0.875rem; font-weight: 500; color: var(--c-error); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input:not([type="file"]), .field.is-invalid select, .field.is-invalid textarea { border-color: var(--c-error); }

.dropzone {
  position: relative; display: grid; justify-items: center; gap: 0.35rem;
  padding: 1.75rem 1rem; text-align: center; cursor: pointer;
  border: 1.5px dashed #9e9e9e; border-radius: var(--radius); background: var(--c-paper);
  transition: border-color 0.2s, background-color 0.2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--c-brand); background: #f2f2f2; }
.dropzone:focus-within { outline: 3px solid var(--c-brand); outline-offset: 2px; }
.dropzone svg { width: 1.75rem; height: 1.75rem; color: var(--c-brand); }
.dropzone strong { font-stretch: 108%; }
.dropzone span { font-size: 0.8125rem; color: var(--c-slate); }
.field.is-invalid .dropzone { border-color: var(--c-error); }
.file-list { display: grid; gap: 0.5rem; list-style: none; padding: 0; }
.file-list:not(:empty) { margin-top: 0.25rem; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.55rem 0.55rem 0.85rem; background: var(--c-paper); border: 1px solid var(--c-rule); border-radius: var(--radius); font-size: 0.875rem; }
.file-list .file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .file-size { flex: none; color: var(--c-slate); font-family: var(--f-mono); font-size: 0.75rem; }
.file-list button { flex: none; padding: 0.35rem 0.6rem; border: 1px solid var(--c-rule); border-radius: 2px; background: #fff; font: 600 0.8125rem/1 var(--f-sans); cursor: pointer; }
.file-list button:hover { border-color: var(--c-error); color: var(--c-error); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--c-rule); }
.form__privacy { max-width: 28rem; font-size: 0.8125rem; color: var(--c-slate); }
.form__summary { display: none; margin-bottom: 1.5rem; padding: 1rem 1.1rem; border-left: 3px solid var(--c-error); background: #fbeeed; font-size: 0.9375rem; }
.form__summary.is-shown { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Prose ---------- */

.prose { max-width: 70ch; }
.prose h2 { margin: 2.75rem 0 0.9rem; font-size: var(--fs-h3); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { color: var(--c-slate); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.4rem; }

/* ---------- Footer ---------- */

.footer { background: var(--c-brand-deep); color: var(--c-on-dark-mute); padding-top: clamp(3.5rem, 6vw, 5.5rem); font-size: var(--fs-small); }
.footer__top { display: grid; gap: 2.75rem 2rem; }
@media (min-width: 700px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }
.footer .brand { color: #fff; }
.footer .brand__sub { color: var(--c-on-dark-mute); }
.footer__about { margin-top: 1.25rem; max-width: 24rem; }
.footer__about + .btn { margin-top: 1.75rem; }
.footer h2 { margin-bottom: 1.1rem; font: 500 var(--fs-label)/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.footer ul { display: grid; gap: 0.65rem; list-style: none; padding: 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__legal { display: grid; gap: 1rem; margin-top: 3.5rem; padding-block: 1.75rem 2rem; border-top: 1px solid var(--c-rule-dark); font-size: 0.8125rem; line-height: 1.6; }
@media (min-width: 900px) { .footer__legal { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem; } }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* ---------- Misc ---------- */

.center { text-align: center; }
.mt-m { margin-top: 2rem; }
.mt-l { margin-top: clamp(2.5rem, 5vw, 4rem); }
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.notice-page { min-height: 60vh; display: grid; align-items: center; }
.notice-page h1 { font-size: var(--fs-h1); max-width: 16ch; }
.notice-page .lead { margin-top: 1.25rem; max-width: 38rem; }

/* ---------- Motion (only when the visitor allows it) ---------- */

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero__media img { animation: settle 2.2s var(--ease) both; }
  .hero__title .ln > span { animation: rise 1s var(--ease) both; }
  .hero__title .ln:nth-child(2) > span { animation-delay: 0.08s; }
  .hero__title .ln:nth-child(3) > span { animation-delay: 0.16s; }
  .hero__content > .label { animation: fade-up 0.8s var(--ease) both; }
  .hero__lead { animation: fade-up 0.9s var(--ease) 0.35s both; }
  .hero__actions { animation: fade-up 0.9s var(--ease) 0.45s both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .step::before, .cta::before { transform: scaleX(1); }
}

/* ---------- Hero refinements ---------- */

:root { --fs-display: clamp(2.5rem, 1.2rem + 4.4vw, 4.9rem); }
.hero::before { background: linear-gradient(90deg, rgba(var(--c-shade), 0.95) 0%, rgba(var(--c-shade), 0.9) 40%, rgba(var(--c-shade), 0.62) 68%, rgba(var(--c-shade), 0.3) 100%); }
@media (max-width: 800px) {
  .hero::before { background: linear-gradient(180deg, rgba(var(--c-shade), 0.62) 0%, rgba(var(--c-shade), 0.9) 50%, rgba(var(--c-shade), 0.97) 100%); }
}
.hero__title { max-width: none; font-stretch: 112%; }

.nav__link[aria-current]::after { transform: scaleX(1); }
@media (max-width: 1080px) { .nav__link[aria-current] { box-shadow: inset 0 -2px 0 var(--c-line); } }

/* ---------- Trust bar ---------- */

.trustbar { background: var(--c-white); border-bottom: 1px solid var(--c-rule); }
.trustbar dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; margin: 0; }
.trustbar dl > div { padding: 1.15rem 0 1.25rem; border-bottom: 1px solid var(--c-rule); }
.trustbar dt { font: 500 var(--fs-label)/1.35 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-slate); }
.trustbar dd { margin: 0.45rem 0 0; font-weight: 600; font-size: 1rem; font-stretch: 110%; line-height: 1.35; }
@media (min-width: 760px) { .trustbar dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) {
  .trustbar dl { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 0; }
  .trustbar dl > div { padding: 1.5rem 1.5rem 1.6rem; border-bottom: 0; border-left: 1px solid var(--c-rule); }
  .trustbar dl > div:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Radio choices on the quote form ---------- */

.choice { display: flex; flex-wrap: wrap; gap: 0.5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.choice legend { float: left; width: 100%; margin-bottom: 0.6rem; padding: 0; font-weight: 600; font-size: 0.9375rem; }
.choice legend .opt { font-weight: 400; color: var(--c-slate); }
.choice label { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice label > span {
  padding: 0.6rem 0.95rem; border: 1.5px solid #c4c4c4; border-radius: var(--radius); background: var(--c-paper);
  font-size: 0.9375rem; font-weight: 500; line-height: 1.2;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.choice label:hover > span { border-color: #939393; }
.choice input:checked + span { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--c-brand); outline-offset: 2px; }

/* ---------- Helpers ---------- */

.stack-xl > * + * { margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--c-rule); }
.row-start { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.split__text .row-start { margin-top: 1.75rem; }
.split__text .dash-list { margin-top: 1.5rem; }
.mt-s { margin-top: 1rem; }
.h3 { font-size: var(--fs-h3); }
.plain-link { text-decoration: none; }
.plain-link:hover { text-decoration: underline; }
.cta__eyebrow { margin-bottom: 1.1rem; }
.creds-head { margin-bottom: 1.25rem; }
.contact-list .ph-tag { justify-self: start; }
.contact-list__value { font-weight: 600; font-size: 1.05rem; font-stretch: 110%; }
.contact-grid h3 { font-size: var(--fs-h3); }
.contact-grid .form__title { font-size: var(--fs-h3); }
.next-steps li > div { min-width: 0; }
.gallery figcaption.ph-tag { background: rgba(255, 255, 255, 0.94); }
.work-card__meta .label { color: var(--c-slate); }

/* ---------- QA fixes ---------- */

/* backdrop-filter turns the header into the containing block for fixed children, which trapped the mobile menu */
@media (max-width: 1080px) {
  .masthead { background: var(--c-paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Keep the "Who we work with" strip above the fold on a typical laptop */
.hero { min-height: min(calc(100svh - 9.5rem), 820px); }
.hero__content { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.work-card__meta { gap: 0.35rem 0; }
.work-card__meta .label + .label::before { content: "/"; margin: 0 0.6rem; opacity: 0.5; }

/* Brand mark: tile and crossbar follow the active scheme */
.brand__tile { fill: var(--c-brand); }
.brand__bar { fill: var(--c-accent); }

