/* ==========================================================================
   DRONE SERVICE — Design system
   --------------------------------------------------------------------------
   OFFICIAL BRAND PALETTE — these four values are the only colours in the
   system. No other hue is introduced anywhere on the site.

     Black (absolute)  #000000
     White             #FFFFFF
     Brand blue        #0E72EC
     Brand grey        #9D9D9C

   Anything that looks like a lighter or darker shade is one of these four
   values at reduced opacity. Nothing else.

   TYPOGRAPHY
     Primary   — AeroExtended (corporate titles, signage, external comms).
                 Commercial font, not available on Google Fonts. It is
                 declared first in the stack so it takes over automatically
                 the moment it is self-hosted (see README §5). Until then the
                 fallback is Archivo driven to its expanded width axis
                 (font-stretch: 125%), the closest free equivalent in
                 proportions.
     Secondary — Montserrat (all paragraphs and body copy). Loaded from
                 Google Fonts.
   ========================================================================== */

:root {
  /* --- Brand palette: the only colours in this file --------------------- */
  --black: #000000;
  --white: #FFFFFF;
  --blue:  #0E72EC;
  --grey:  #9D9D9C;

  /* --- Derived: the same four values at reduced opacity ----------------- */
  --grey-40:  rgba(157, 157, 156, .40);
  --grey-25:  rgba(157, 157, 156, .25);
  --grey-12:  rgba(157, 157, 156, .12);
  --white-85: rgba(255, 255, 255, .85);
  --white-60: rgba(255, 255, 255, .60);
  --white-20: rgba(255, 255, 255, .20);
  --white-08: rgba(255, 255, 255, .08);
  --white-04: rgba(255, 255, 255, .04);
  --black-60: rgba(0, 0, 0, .60);
  --black-14: rgba(0, 0, 0, .14);
  --black-08: rgba(0, 0, 0, .08);
  --blue-16:  rgba(14, 114, 236, .16);
  --blue-08:  rgba(14, 114, 236, .08);

  /* --- Semantic --------------------------------------------------------- */
  --fg:             var(--black);
  --fg-muted:       #6E6E6D;          /* grey deepened so body copy on white
                                         clears WCAG AA contrast */
  --fg-on-dark:     var(--white);
  --fg-on-dark-mut: var(--grey);

  /* --- Type ------------------------------------------------------------- */
  --font-display: 'AeroExtended', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* --- Layout ----------------------------------------------------------- */
  --shell:      1200px;
  --shell-wide: 1400px;
  --gutter:     clamp(1.25rem, 4vw, 3rem);
  --radius:     2px;
  --radius-lg:  4px;

  /* --- Motion ----------------------------------------------------------- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur:  .4s;

  /* --- Elevation (black-based, no colour cast) -------------------------- */
  --shadow-md: 0 14px 30px -14px rgba(0, 0, 0, .4);
  --shadow-lg: 0 34px 66px -26px rgba(0, 0, 0, .6);
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--fg-on-dark);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 125%;     /* drives Archivo to its expanded axis; genuine
                             AeroExtended ignores this and simply works */
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 1px;
}

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

/* Skip link ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--blue);
  color: var(--white);
  padding: .8rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */

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

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* SURFACES
   The brand is built on absolute black, so black is the default surface and
   white is the accent surface — not the other way round. A faint technical
   grid (pure white at 4%) adds depth to the black fields without introducing
   a fifth colour. */
.section--black,
.section--black-2 {
  position: relative;
  isolation: isolate;
  background: var(--black);
  color: var(--fg-on-dark);
}
.section--black::before,
.section--black-2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--white-04) 1px, transparent 1px),
    linear-gradient(to bottom, var(--white-04) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}

.section--white { background: var(--white); color: var(--fg); }

.section--white h2, .section--white h3, .section--white h4 { color: var(--black); }
.section--white p { color: var(--fg-muted); }
.section--black h2, .section--black h3,
.section--black-2 h2, .section--black-2 h3 { color: var(--white); }
.section--black p, .section--black-2 p { color: var(--fg-on-dark-mut); }

.rule { height: 1px; background: var(--black-14); border: 0; margin: 0; }
.section--black .rule, .section--black-2 .rule { background: var(--grey-25); }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.display-xl { font-size: clamp(2.3rem, 6vw, 4.4rem); }
.display-lg { font-size: clamp(1.95rem, 4.4vw, 3.2rem); }
.display-md { font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
.display-sm { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.lede {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1rem + .45vw, 1.26rem);
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 64ch;
}
.section--black .lede, .section--black-2 .lede { color: var(--fg-on-dark-mut); }

.muted { color: var(--fg-muted); }
.section--black .muted, .section--black-2 .muted { color: var(--fg-on-dark-mut); }

.small { font-size: .875rem; line-height: 1.65; }

.measure { max-width: 68ch; }
.measure-tight { max-width: 54ch; }

.section-head { margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

/* Uppercase display setting. AeroExtended is already wide, so tracking is
   tightened rather than loosened and the size pulled back to compensate. */
.caps {
  text-transform: uppercase;
  letter-spacing: -.008em;
  font-weight: 800;
}
.display-xl.caps { font-size: clamp(1.95rem, 4.8vw, 3.6rem); }
.display-lg.caps { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--white);
  --btn-bd: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  padding: .9rem 1.6rem;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .16s var(--ease);
  will-change: transform;
}
/* Hover inverts to another brand colour rather than inventing a shade. */
.btn:hover { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); }
.btn:active { transform: translateY(1px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--black); --btn-bd: var(--black); }
.btn--ghost:hover { --btn-bg: var(--black); --btn-fg: var(--white); --btn-bd: var(--black); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: var(--white-60); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); }

.btn--grey { --btn-bg: transparent; --btn-fg: var(--grey); --btn-bd: var(--grey-40); }
.btn--grey:hover { --btn-bg: var(--grey); --btn-fg: var(--black); --btn-bd: var(--grey); }

.btn--sm { padding: .68rem 1.1rem; font-size: .78rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: .95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* Text link with arrow ---------------------------------------------------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease);
}
.arrow-link::after {
  content: "";
  width: 17px; height: 9px;
  background: currentColor;
  clip-path: polygon(0 40%, 70% 40%, 70% 0, 100% 50%, 70% 100%, 70% 60%, 0 60%);
  transition: transform var(--dur) var(--ease);
}
.arrow-link:hover { border-bottom-color: var(--blue); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   HEADER / NAV — black bar, supplied logo, blue active state
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--grey-25);
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--grey-40); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

/* Brand: the supplied horizontal logo, used at its own proportions.
   Natural size 1024 x 322. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 38px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav__link {
  position: relative;
  display: block;
  padding: .6rem .85rem;
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .32rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: .85rem; }

/* Language switcher -------------------------------------------------------
   Two-letter options, no flags. Flags are country symbols, not languages,
   and Spanish is not one country. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  margin-left: .85rem;
  padding-left: .85rem;
  border-left: 1px solid var(--grey-25);
}
.lang-switch__opt {
  display: block;
  padding: .45rem .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
a.lang-switch__opt:hover { color: var(--white); border-bottom-color: var(--grey-40); }
.lang-switch__opt[aria-current="true"] { color: var(--blue); border-bottom-color: var(--blue); }

/* Hamburger --------------------------------------------------------------- */
.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  border: 2px solid var(--grey-40);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  transition: background .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--white);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile drawer ----------------------------------------------------------- */
.nav__drawer { display: none; border-top: 1px solid var(--grey-25); background: var(--black); }
.nav__drawer[data-open="true"] { display: block; }
.nav__drawer ul { display: flex; flex-direction: column; }
.nav__drawer a {
  display: block;
  padding: 1.05rem var(--gutter);
  border-bottom: 1px solid var(--grey-25);
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
}
.nav__drawer a[aria-current="page"] { color: var(--blue); }
.nav__drawer .drawer__cta { padding: 1.35rem var(--gutter); }
/* The switcher inside the drawer loses its hairline and left padding: it sits
   on its own row under the CTA rather than inline with the nav. */
.nav__drawer .lang-switch {
  margin: 0;
  padding: .35rem var(--gutter) 1.35rem;
  border-left: 0;
  gap: .5rem;
}
.nav__drawer .lang-switch__opt { padding: .3rem .6rem; font-size: .8rem; border: 1px solid var(--grey-40); border-radius: var(--radius); }
.nav__drawer .lang-switch__opt[aria-current="true"] { border-color: var(--blue); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.88) 40%, rgba(0,0,0,.58) 74%, rgba(0,0,0,.45) 100%),
    linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,0) 58%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(4.5rem, 11vw, 8.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.hero h1 { color: var(--white); max-width: 21ch; }
.hero__lede {
  font-size: clamp(1.02rem, .98rem + .45vw, 1.22rem);
  line-height: 1.65;
  color: var(--grey);
  max-width: 60ch;
  margin: 1.6rem 0 2.4rem;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  border: 1px solid var(--grey-40);
  border-radius: 100px;
  padding: .42rem .85rem;
  background: var(--white-04);
}
.badge svg { width: 13px; height: 13px; color: var(--blue); flex: none; }

/* Hero side panel --------------------------------------------------------- */
.hero__aside { border-left: 3px solid var(--blue); padding-left: 1.6rem; }
.hero__aside-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.15rem;
}
.hero__aside-list { display: grid; gap: 1.15rem; }
.hero__aside-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: .8rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--grey);
}
.hero__aside-list strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: .92rem;
  margin-bottom: .2rem;
}
.hero__aside-list .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: .82rem;
  color: var(--blue);
  padding-top: .1rem;
}

/* ==========================================================================
   MEDIA
   ========================================================================== */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--black);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.media--zoom:hover img { transform: scale(1.045); }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--16x9 { aspect-ratio: 16 / 9; }

.media__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1.5rem 1.35rem;
  background: linear-gradient(to top, rgba(0,0,0,.94), rgba(0,0,0,0));
  color: var(--white);
  border-bottom: 3px solid var(--blue);
}
.media__caption h3 { color: var(--white); font-size: 1.02rem; }
.media__caption p { color: var(--grey); font-size: .84rem; margin: .35rem 0 0; }

/* ==========================================================================
   DIVISIONS
   ========================================================================== */

.divisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.division {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--black);
  border: 1px solid var(--grey-25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.division:hover { transform: translateY(-5px); border-color: var(--blue); }
.section--white .division { background: var(--white); border-color: var(--black-14); }
.section--white .division:hover { border-color: var(--blue); }

.division__media { aspect-ratio: 16 / 9; overflow: hidden; }
.division__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.division:hover .division__media img { transform: scale(1.05); }

.division__body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.division__index {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.division__body h3 { margin-bottom: .9rem; }
.division__body > p { color: var(--fg-on-dark-mut); font-size: .95rem; }
.section--white .division__body > p { color: var(--fg-muted); }

.checklist { display: grid; gap: .6rem; margin: 1.5rem 0; }
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--grey);
}
.section--white .checklist li { color: var(--fg-muted); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 10px; height: 10px;
  background: var(--blue);
  clip-path: polygon(14% 46%, 0 60%, 40% 100%, 100% 22%, 86% 8%, 38% 70%);
}

.division__cta { margin-top: auto; padding-top: 1.35rem; }

/* A division can carry more than one destination — the education division points
   at both crew training and the wider program catalogue. Inline-flex would put
   them side by side and wrap awkwardly, so stack them and let the arrow align. */
.division__cta--stack { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }

/* ==========================================================================
   GRIDS / CARDS
   ========================================================================== */

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--black);
  border: 1px solid var(--grey-25);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); border-color: var(--blue); }
.card h3 { margin-bottom: .65rem; color: var(--white); }
.card p { color: var(--fg-on-dark-mut); font-size: .92rem; }

.section--white .card { background: var(--white); border-color: var(--black-14); }
.section--white .card h3 { color: var(--black); }
.section--white .card p { color: var(--fg-muted); }
.section--white .card--hover:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }

.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-16);
  color: var(--blue);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 22px; height: 22px; }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */

.industries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.1rem);
}
.industry {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}
.industry img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.1s var(--ease);
}
.industry::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.96) 4%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%);
  transition: background var(--dur) var(--ease);
}
.industry:hover img { transform: scale(1.06); }
.industry:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,.97) 4%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.35) 100%);
}
.industry__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--white);
  border-bottom: 3px solid var(--blue);
}
.industry__body h3 { color: var(--white); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.industry__body span {
  display: block;
  margin-top: .45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */

.process { display: grid; gap: 0; }
.process__step {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding-block: clamp(1.6rem, 3vw, 2.35rem);
  border-top: 1px solid var(--grey-25);
}
.process__step:last-child { border-bottom: 1px solid var(--grey-25); }
.section--white .process__step { border-color: var(--black-14); }
.process__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.4rem;
  color: var(--blue);
  line-height: 1;
}
.process__step h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }
.process__step p { color: var(--fg-on-dark-mut); font-size: .93rem; }
.section--white .process__step p { color: var(--fg-muted); }

/* ==========================================================================
   SPLIT
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split--top { align-items: start; }

/* ==========================================================================
   SPEC LISTS
   ========================================================================== */

.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--grey-25);
  border: 1px solid var(--grey-25);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.section--white .spec-list { background: var(--black-14); border-color: var(--black-14); }
.spec { background: var(--black); padding: 1.35rem 1.4rem; }
.section--white .spec { background: var(--white); }
.spec h3 { font-size: .92rem; margin-bottom: .5rem; color: var(--white); }
.section--white .spec h3 { color: var(--black); }
.spec p { font-size: .86rem; color: var(--fg-on-dark-mut); }
.section--white .spec p { color: var(--fg-muted); }

/* ==========================================================================
   CALLOUTS
   ========================================================================== */

.callout {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: .95rem;
  background: var(--blue-08);
  border: 1px solid var(--blue);
  border-left-width: 4px;
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--grey);
}
.callout svg { width: 18px; height: 18px; color: var(--blue); margin-top: .2rem; }
.callout strong { color: var(--white); }
.callout p { color: inherit; font-size: inherit; }
.callout code {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--white);
  background: var(--white-08);
  padding: .1rem .4rem;
  border-radius: 2px;
}

.section--white .callout { background: var(--white); border-color: var(--blue); color: var(--fg-muted); }
.section--white .callout strong { color: var(--black); }
.section--white .callout code { color: var(--black); background: var(--black-08); }

/* Neutral variant — no blue, for caveats that are not calls to action */
.callout--neutral {
  background: transparent;
  border-color: var(--grey-40);
  border-left-color: var(--grey);
  color: var(--grey);
}
.callout--neutral svg { color: var(--grey); }
.callout--neutral strong { color: var(--white); }
.section--white .callout--neutral { background: transparent; border-color: var(--black-14); color: var(--fg-muted); }
.section--white .callout--neutral strong { color: var(--black); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */

.cta-band {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.9) 48%, rgba(0,0,0,.7) 100%);
}
.cta-band__inner {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--grey); margin-top: 1.15rem; }

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.form-card {
  background: var(--black);
  border: 1px solid var(--grey-25);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.section--white .form-card { background: var(--white); border-color: var(--black-14); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
}
.section--white .field label { color: var(--black); }
.field .req { color: var(--blue); margin-left: 3px; }
.field .hint {
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grey);
  line-height: 1.5;
  margin-top: .1rem;
}
/* Same reason as .info-list dt above — grey on white needs deepening. */
.section--white .field .hint { color: var(--fg-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white-04);
  border: 1px solid var(--grey-40);
  border-radius: var(--radius);
  padding: .82rem .9rem;
  font-family: var(--font-body);
  font-size: .94rem;
  color: var(--white);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.section--white .field input,
.section--white .field select,
.section--white .field textarea {
  background: var(--white);
  border-color: var(--black-14);
  color: var(--black);
}

.field textarea { resize: vertical; min-height: 134px; line-height: 1.6; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%239D9D9C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .95rem center;
  background-size: 12px;
  padding-right: 2.4rem;
}
/* Native option lists render on the OS layer, so they need real colours */
.field select option { background: var(--black); color: var(--white); }
.section--white .field select option { background: var(--white); color: var(--black); }

.field input::placeholder,
.field textarea::placeholder { color: var(--grey); opacity: .8; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--grey); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-16);
}

/* Validation — the one place a signal colour beyond the four is unavoidable.
   A saturated red that stays legible on both black and white. */
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #E5484D; }
.field__error { display: none; font-size: .78rem; font-weight: 600; color: #FF8A8E; }
.section--white .field__error { color: #C62A2F; }
.field[data-invalid="true"] .field__error { display: block; }

/* Consent + honeypot ------------------------------------------------------ */
.consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--grey);
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 400;
}
.section--white .consent { color: var(--fg-muted); }
.consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
  margin-top: 1.85rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--grey-25);
}
.section--white .form-foot { border-color: var(--black-14); }
.form-foot .small { color: var(--grey); max-width: 36ch; }
.section--white .form-foot .small { color: var(--fg-muted); }

/* Status messages -------------------------------------------------------- */
.form-status {
  display: none;
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  font-size: .89rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}
.form-status[data-state="visible"] { display: block; border: 1px solid var(--grey-40); color: var(--grey); }
.form-status[data-state="error"] {
  display: block;
  border: 1px solid #E5484D;
  border-left: 4px solid #E5484D;
  color: #FF8A8E;
}
.form-status[data-state="success"] {
  display: block;
  background: var(--blue-08);
  border: 1px solid var(--blue);
  border-left: 4px solid var(--blue);
  color: var(--white);
}
.section--white .form-status[data-state="success"] { color: var(--fg-muted); }
.section--white .form-status[data-state="success"] strong { color: var(--black); }
.form-status strong { display: block; margin-bottom: .3rem; }
.form-status a { color: var(--blue); text-decoration: underline; }

/* Sidebar ---------------------------------------------------------------- */
.form-aside { display: grid; gap: 1.35rem; }
.aside-block { border-top: 3px solid var(--blue); padding-top: 1.2rem; }
.aside-block h3 { font-size: .98rem; margin-bottom: .7rem; color: var(--white); }
.section--white .aside-block h3 { color: var(--black); }
.aside-block p, .aside-block li { font-size: .89rem; color: var(--grey); }
.section--white .aside-block p, .section--white .aside-block li { color: var(--fg-muted); }
.aside-block ul { display: grid; gap: .55rem; }
.aside-block li { position: relative; padding-left: 1.35rem; }
.aside-block li::before {
  content: "";
  position: absolute;
  left: 0; top: .66em;
  width: 6px; height: 6px;
  background: var(--blue);
}
.aside-block a { color: var(--blue); }

/* ==========================================================================
   REVIEWS / TESTIMONIALS
   ========================================================================== */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
}

/* --- Carousel -------------------------------------------------------------
   Native horizontal scroll with snap points, not a transformed track. That
   keeps swipe working on a phone without a line of touch handling, and the
   section still reads if the script's geometry ever goes stale.
   ------------------------------------------------------------------------ */
.carousel { position: relative; }

.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;              /* Firefox */
  -ms-overflow-style: none;
  /* Room for the focus ring on a card, which overflow:hidden would clip. */
  padding: 3px;
  margin: -3px;
}
.carousel__viewport::-webkit-scrollbar { display: none; }

.carousel__track {
  display: flex;
  gap: 1.35rem;
  align-items: stretch;
}

.carousel__slide {
  display: flex;
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}
.carousel__slide > .review { flex: 1; }

@media (min-width: 640px) {
  .carousel__slide { flex-basis: calc((100% - 1.35rem) / 2); }
}
@media (min-width: 1024px) {
  .carousel__slide { flex-basis: calc((100% - 2.7rem) / 3); }
}

/* --- One card per view ----------------------------------------------------
   Uniform height exists so a row of cards lines up. With a single card on
   screen there is no row to line up with, so stretching every slide to match
   the tallest one just parks a slab of empty black under a two-line review.
   The script sets this class when it settles on one card per view.
   ------------------------------------------------------------------------ */
.carousel--single .carousel__track { align-items: flex-start; }
.carousel--single .review__quote[data-clamp] { min-height: 0; }

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--grey-40);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.carousel__arrow:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.section--white .carousel__arrow { color: var(--black); border-color: var(--black-14); }
.section--white .carousel__arrow:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.carousel__chev { width: 20px; height: 20px; }

.carousel__dots { display: flex; align-items: center; gap: .5rem; }
.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--grey-40);
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.carousel__dot[aria-current="true"] { background: var(--blue); transform: scale(1.35); }

/* A `hidden` attribute must beat the display values declared above. */
.carousel__nav[hidden],
.carousel__dots[hidden],
.carousel__arrow[hidden],
.review__more[hidden] { display: none; }

.review {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  height: 100%;
  background: var(--white-04);
  border: 1px solid var(--grey-25);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}

/* Stars and score on one line. */
.review__top { display: flex; align-items: center; gap: .1rem; }
.section--white .review {
  background: var(--white);
  border-color: var(--black-14);
  border-left-color: var(--blue);
}

/* Star rating. Filled stars are brand blue, empty ones grey. */
.review__stars {
  display: flex;
  gap: .2rem;
  align-items: center;
}
.review__stars svg { width: 15px; height: 15px; flex: none; }
.review__stars .is-on { color: var(--blue); }
.review__stars .is-off { color: var(--grey-40); }
.review__score {
  margin-left: .45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--grey);
}
.section--white .review__score { color: var(--fg-muted); }

.review__quote {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--white);
  margin: 0;
  /* People write reviews in paragraphs. Collapsing those newlines turned three
     paragraphs into one grey slab; `pre-line` keeps the breaks they typed and
     drops any indentation they did not mean. Harmless for a single-block
     quote, and it is what makes "read more" worth pressing. */
  white-space: pre-line;
}
.section--white .review__quote { color: var(--fg-muted); }

/* --- Uniform height -------------------------------------------------------
   Four lines are always reserved, so every card in a row ends at the same
   place whether its review is two sentences or ten. A quote longer than that
   is clamped and gets the "read more" control below; a shorter one keeps the
   same four-line box and gets no control, because a button that expands
   nothing is a lie.
   ------------------------------------------------------------------------ */
.review__quote[data-clamp] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  min-height: calc(4 * 1.7em);
}
.review.is-open .review__quote[data-clamp] {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.review__more {
  align-self: flex-start;
  margin: -.35rem 0 0;
  padding: .15rem 0;
  background: none;
  border: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review__more:hover { text-decoration-thickness: 2px; }

/* The opening quotation mark is decorative, so it is CSS, not markup. */
.review__quote::before { content: "\201C"; }
.review__quote::after  { content: "\201D"; }

.review__who {
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--grey-25);
}
.section--white .review__who { border-top-color: var(--black-14); }

.review__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .84rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.section--white .review__name { color: var(--black); }

.review__meta {
  font-size: .8rem;
  color: var(--grey);
  margin: .3rem 0 0;
}
.section--white .review__meta { color: var(--fg-muted); }

.review__service {
  display: inline-block;
  margin-top: .55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 2px;
  padding: .22rem .5rem;
}

/* Summary line above the grid */
.reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--grey-25);
}
.section--white .reviews__summary { border-bottom-color: var(--black-14); }
.reviews__summary .review__stars svg { width: 18px; height: 18px; }
.reviews__summary p { margin: 0; font-size: .88rem; color: var(--grey); }
.section--white .reviews__summary p { color: var(--fg-muted); }
.reviews__summary strong { color: var(--white); }
.section--white .reviews__summary strong { color: var(--black); }

/* Empty / loading state */
.reviews__empty {
  border: 1px dashed var(--grey-40);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
}
.reviews__empty p { margin: 0 auto; max-width: 52ch; font-size: .9rem; color: var(--grey); }
.section--white .reviews__empty p { color: var(--fg-muted); }
.section--white .reviews__empty { border-color: var(--black-14); }
.reviews__empty strong { color: var(--white); }
.section--white .reviews__empty strong { color: var(--black); }

/* Rating input — a real radio group, styled as stars. Keyboard accessible. */
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .3rem; }
.rating-input input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.rating-input label {
  cursor: pointer;
  padding: .15rem;
  color: var(--grey-40);
  transition: color .15s var(--ease);
  line-height: 0;
}
.rating-input label svg { width: 26px; height: 26px; display: block; }
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: var(--blue); }
.rating-input input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.section--white .rating-input label { color: var(--black-14); }

/* ==========================================================================
   INFO LIST
   ========================================================================== */

.info-list { display: grid; gap: 0; }
.info-list__row {
  display: grid;
  grid-template-columns: minmax(140px, .5fr) minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--grey-25);
  align-items: baseline;
}
.info-list__row:first-child { border-top: 1px solid var(--grey-25); }
.section--white .info-list__row { border-color: var(--black-14); }
/* Brand grey #9D9D9C on white is only ~2.6:1 contrast, which fails WCAG AA
   for small text. The label column is small and uppercase, so it is deepened
   on white surfaces. On black the brand grey is kept as specified. */
.section--white .info-list dt { color: var(--fg-muted); }
.info-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
}
.info-list dd { margin: 0; font-size: .93rem; color: var(--white); }
.section--white .info-list dd { color: var(--black); }
.info-list dd a { color: var(--blue); border-bottom: 1px solid transparent; }
.info-list dd a:hover { border-bottom-color: var(--blue); }

/* Pending-info chip ------------------------------------------------------ */
.tbc {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  background: var(--white-08);
  border: 1px dashed var(--grey-40);
  border-radius: 2px;
  padding: .28rem .6rem;
}
.section--white .tbc { background: var(--black-08); border-color: var(--grey); color: var(--fg-muted); }

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(.6rem, 1.4vw, 1rem);
}
.gallery .media:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .media { aspect-ratio: auto; min-height: 170px; }

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

.site-footer {
  background: var(--black);
  color: var(--fg-on-dark);
  border-top: 3px solid var(--blue);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
/* Brand block plus the link columns. The count differs by page — some have
   Divisions / Service areas / Contact, others add a Services column — so the
   link tracks use auto-fit instead of a hard-coded repeat(). A fixed count left
   the extra column wrapping onto its own row, or an empty track on pages with
   one column fewer. */
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand .brand__logo { height: 44px; }
.footer__brand p { color: var(--grey); font-size: .89rem; margin-top: 1.35rem; max-width: 38ch; }
.footer__col h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.15rem;
}
.footer__col ul { display: grid; gap: .65rem; }
.footer__col a {
  font-size: .9rem;
  color: var(--white-85);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__col a:hover { color: var(--blue); border-bottom-color: var(--blue); }
/* Second list inside a footer column (page links) sits behind a hairline,
   so the reach-us block and the navigation block never read as one list. */
.footer__col ul + ul {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--grey-25);
}

/* --------------------------------------------------------------------------
   ICON LINKS
   A label plus an inline SVG glyph. The glyph inherits the link colour, so
   the same markup works on black and on white surfaces.
   -------------------------------------------------------------------------- */
.icon-link {
  display: inline-flex;
  align-items: flex-start;
  gap: .6rem;
  border-bottom: 1px solid transparent;
}
.icon-link__icon {
  flex: none;
  width: 1.05em;
  height: 1.05em;
  margin-top: .2em;
  fill: currentColor;
  opacity: .75;
  transition: opacity var(--dur) var(--ease);
}
/* Stroke-style glyphs (envelope, handset) must not be filled. Declared after
   the rule above so it wins on equal specificity. */
.icon-link__icon--stroke { fill: none; stroke: currentColor; }
.icon-link:hover .icon-link__icon { opacity: 1; }
.icon-link [data-cfg-label] { min-width: 0; overflow-wrap: anywhere; }

/* Lists that hold icon links lose the decorative bullet — the glyph is the
   marker, two markers side by side just look like a mistake. */
.aside-block ul.list-plain li { padding-left: 0; }
.aside-block ul.list-plain li::before { display: none; }

.footer__bottom {
  border-top: 1px solid var(--grey-25);
  padding-block: 1.6rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--grey);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--blue); }

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

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

/* ==========================================================================
   INTERIOR PAGE HERO
   ========================================================================== */

.page-hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.9) 45%, rgba(0,0,0,.62) 100%);
}
.page-hero__inner {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  max-width: 64rem;
  border-left: 4px solid var(--blue);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}
.page-hero h1 { color: var(--white); max-width: 26ch; }
.page-hero p {
  color: var(--grey);
  font-size: clamp(1rem, .98rem + .4vw, 1.14rem);
  margin-top: 1.45rem;
  max-width: 60ch;
}
.page-hero .btn-row { margin-top: 2.15rem; }

.crumbs {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.45rem;
}
.crumbs a { color: var(--white); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin-inline: .55rem; color: var(--blue); }

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.25rem; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.no-scroll { overflow: hidden; }

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

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }

  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__aside { border-left: 0; border-top: 3px solid var(--blue); padding-left: 0; padding-top: 1.6rem; }

  .section-head--split { grid-template-columns: 1fr; align-items: start; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .cta-band__inner { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .process__step { grid-template-columns: 62px minmax(0, 1fr); }
  .process__step > p { grid-column: 2; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .media:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) {
  .divisions { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 1.9rem; }
  .split--reverse .split__media { order: 0; }
  .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .section { padding-block: clamp(2.75rem, 9vw, 4rem); }
  .nav { min-height: 70px; }
  .brand__logo { height: 30px; }
  .footer__brand .brand__logo { height: 36px; }
  .grid--2, .grid--4, .industries { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem 1.15rem; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .media:nth-child(1) { grid-column: span 1; }
  .info-list__row { grid-template-columns: 1fr; gap: .35rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__badges .badge { font-size: .6rem; }
  .process__step { grid-template-columns: 1fr; gap: .6rem; }
  .process__step > p { grid-column: 1; }
  .page-hero__inner { border-left-width: 3px; }
}

/* ==========================================================================
   MOTION PREFERENCES / PRINT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav__drawer { display: none; }
  body { background: #fff; color: #000; }
  .section, .section--black, .section--black-2 {
    background: #fff !important;
    color: #000 !important;
    padding-block: 1rem;
  }
  .section--black::before, .section--black-2::before { display: none; }
  .section--black h2, .section--black h3, .card h3 { color: #000 !important; }
  .section--black p, .card p { color: #333 !important; }
}
