@charset "UTF-8";
/* ==========================================================================
   Crawford RigMech — Industrial Minimalism design system
   Ported from ui_template/mechanical_precision/DESIGN.md to plain CSS.

   Why not Tailwind CDN: cdn.tailwindcss.com compiles in the browser, is
   explicitly not for production, adds a third-party runtime dependency and
   causes a flash of unstyled content. The mockups also referenced utilities
   that were never defined (headline-lg-mobile) or are not utilities at all
   (flat, no, shadows, full-width, rounded-DEFAULT) — all silently dead.
   Hand-authoring removes that entire class of bug by construction.

   Structural rules from DESIGN.md, applied throughout:
     · No shadows. Depth comes from layering and scale.
     · Sharp (0px) corners on images and section containers.
     · 2px radius on buttons and form fields only.
     · Accent used as a stamp of precision, never as a background wash.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

img { height: auto; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; }


/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Neutrals — the canvas. Photography gets the attention, not the palette. */
  --charcoal:        #1a1a1c;   /* deep industrial black */
  --graphite:        #201f36;   /* primary structural tone */
  --graphite-lift:   #36344d;   /* raised graphite surface */
  --tertiary:        #1f2229;   /* dark panel */
  --tertiary-lift:   #34373e;

  --surface:         #faf8ff;   /* page background */
  --surface-low:     #f3f2ff;
  --surface-mid:     #ebedff;
  --structural:      #fdfdfd;   /* clean white panel */
  --rule:            #e5e7eb;   /* technical grey — the drafting-table line */
  --rule-strong:     #c9c5cd;

  --ink:             #171b29;   /* body text on light */
  --ink-soft:        #47464d;   /* secondary text on light */
  --ink-faint:       #78767e;

  --on-dark:         #fdfdfd;
  --on-dark-soft:    #c4c6cf;
  --on-dark-faint:   #9ea0a9;

  /* ────────────────────────────────────────────────────────────────────────
     BRAND ACCENT — the single swap point.
     Change this one value to re-key the entire site to the company logo.
     Nothing else in this stylesheet hardcodes the accent colour.
     ──────────────────────────────────────────────────────────────────────── */
  --accent:          #6236e1;
  --accent-bright:   #7b55fb;
  --accent-pale:     #ccbeff;

  --error:           #ba1a1a;
  --error-bg:        #ffdad6;
  --ok:              #1f6f43;
  --ok-bg:           #d8f0e2;

  /* Type — fluid, so the scale holds from 360px to 2560px without breakpoints */
  --font: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-hero:      clamp(2.75rem, 1.15rem + 6.6vw, 6rem);      /* 44 → 96px  */
  --t-headline:  clamp(2rem,    1.05rem + 3.9vw, 4rem);      /* 32 → 64px  */
  --t-title:     clamp(1.5rem,  1.16rem + 1.4vw, 2rem);      /* 24 → 32px  */
  --t-subtitle:  clamp(1.15rem, 1.04rem + 0.45vw, 1.375rem); /* 18 → 22px  */
  --t-body-lg:   clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);   /* 17 → 20px  */
  --t-body:      1rem;
  --t-small:     0.875rem;
  --t-label:     0.75rem;

  --lh-hero:  0.96;
  --lh-tight: 1.08;
  --lh-body:  1.65;

  /* Spacing — DESIGN.md vertical rhythm, made fluid so mobile keeps 80px+ */
  --section:  clamp(5rem, 2.6rem + 7.6vw, 10rem);   /* 80 → 160px */
  --section-l:clamp(6.5rem, 3rem + 11vw, 15rem);    /* 104 → 240px */
  --gutter:   clamp(1.25rem, 0.6rem + 1.6vw, 2rem); /* 20 → 32px  */
  --margin:   clamp(1.5rem, 0.4rem + 3.6vw, 5rem);  /* 24 → 80px  */
  --maxw:     1440px;      /* brief: 1280–1440 content width */

  --header-h: 84px;

  /* Motion — restrained. Nothing bounces. */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast:     180ms;
  --slow:     560ms;
}

@media (max-width: 767px) {
  :root { --header-h: 68px; }
}


/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--graphite);
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* The header is fixed, so any in-page anchor (#enquiry, #main) would land under
   it. Currently the section padding happens to be larger than the header, but
   that is coincidence, not design — this makes it explicit. */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--margin);
}

/* One content width for the whole site. The header, the hero headline and every
   section heading share a single left edge at any viewport — at 1920px a wider
   hero shell put the hero 160px out of line with everything beneath it.
   Full-bleed imagery is unaffected: it is positioned against the section, not
   this container. */

.section {
  padding-block: var(--section);
  position: relative;
}

.section--tall { padding-block: var(--section-l); }
.section--flush-top { padding-top: 0; }

/* Every major section clears the 500px desktop minimum from the brief. */
@media (min-width: 900px) {
  .section { min-height: 500px; }
  .section--major { min-height: 640px; }
}

.section--light  { background: var(--surface); }
.section--paper  { background: var(--structural); }
.section--tint   { background: var(--surface-low); }
.section--dark   { background: var(--charcoal); color: var(--on-dark); }
.section--slate  { background: var(--tertiary); color: var(--on-dark); }

.section--dark p, .section--slate p { color: var(--on-dark-soft); }

.rule-top    { border-top: 1px solid var(--rule); }
.rule-bottom { border-bottom: 1px solid var(--rule); }
.section--dark.rule-top,
.section--dark.rule-bottom,
.section--slate.rule-top,
.section--slate.rule-bottom { border-color: rgba(229, 231, 235, 0.16); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

@media (max-width: 899px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Column spans — 12-col desktop collapsing to a 4-col tablet/mobile grid.
   These set grid-column-END only. The shorthand `grid-column: span 6` would set
   the START to `span 6`, which a following `grid-column-start` then overwrites —
   silently collapsing the element to a single column. Setting the end edge keeps
   span and offset independent, so .c-6.start-7 spans columns 7–12 as intended. */
@media (min-width: 900px) {
  .c-2  { grid-column-end: span 2; }
  .c-3  { grid-column-end: span 3; }
  .c-4  { grid-column-end: span 4; }
  .c-5  { grid-column-end: span 5; }
  .c-6  { grid-column-end: span 6; }
  .c-7  { grid-column-end: span 7; }
  .c-8  { grid-column-end: span 8; }
  .c-9  { grid-column-end: span 9; }
  .c-10 { grid-column-end: span 10; }
  .c-12 { grid-column-end: span 12; }
  .start-2 { grid-column-start: 2; }
  .start-4 { grid-column-start: 4; }
  .start-5 { grid-column-start: 5; }
  .start-6 { grid-column-start: 6; }
  .start-7 { grid-column-start: 7; }
  .start-8 { grid-column-start: 8; }
  .start-9 { grid-column-start: 9; }
  .start-10{ grid-column-start: 10; }
}
@media (max-width: 899px) {
  .c-2, .c-3, .c-4, .c-5, .c-6, .c-7, .c-8, .c-9, .c-10, .c-12 { grid-column: 1 / -1; }
}

/* Subtle drafting grid, used sparingly as a background texture */
.grid-texture {
  background-image:
    linear-gradient(to right, var(--rule) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
  background-size: 80px 80px;
}
.grid-texture--dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
}


/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */

.t-hero {
  font-size: var(--t-hero);
  line-height: var(--lh-hero);
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.t-headline {
  font-size: var(--t-headline);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

.t-title {
  font-size: var(--t-title);
  line-height: 1.22;
  letter-spacing: -0.012em;
  font-weight: 600;
}

.t-subtitle {
  font-size: var(--t-subtitle);
  line-height: 1.35;
  letter-spacing: -0.008em;
  font-weight: 600;
}

.t-lead {
  font-size: var(--t-body-lg);
  line-height: 1.62;
  color: var(--ink-soft);
}
.section--dark .t-lead,
.section--slate .t-lead { color: var(--on-dark-soft); }

.t-body { font-size: var(--t-body); color: var(--ink-soft); }

/* Uppercase micro-label — the blueprint annotation */
.label {
  display: inline-block;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label--accent { color: var(--accent); }
.label--light  { color: var(--on-dark-faint); }

/* Label with the leading technical rule */
.label--rule {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.label--rule::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

/* Section index — 01, 02, 03 */
.index {
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.section--dark .index,
.section--slate .index { color: var(--on-dark-faint); }

.measure    { max-width: 62ch; }
.measure-sm { max-width: 46ch; }
.measure-xs { max-width: 34ch; }

.stack > * + *      { margin-top: 1.25rem; }
.stack-lg > * + *   { margin-top: 2rem; }
.stack-xl > * + *   { margin-top: 3rem; }


/* --------------------------------------------------------------------------
   6. Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--graphite);
  --btn-fg: #fff;
  --btn-bd: var(--graphite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.15rem 2.5rem;
  min-height: 56px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  transition: background var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              color var(--fast) var(--ease);
}

.btn .icon { width: 18px; height: 18px; transition: transform var(--fast) var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn:hover,
.btn:focus-visible {
  --btn-bg: var(--accent);
  --btn-bd: var(--accent);
  --btn-fg: #fff;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--graphite);
  --btn-bd: var(--rule-strong);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  --btn-bg: var(--graphite);
  --btn-bd: var(--graphite);
  --btn-fg: #fff;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--graphite);
  --btn-bd: #fff;
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.45);
}
.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  --btn-bg: #fff;
  --btn-bd: #fff;
  --btn-fg: var(--graphite);
}

.btn--sm { padding: 0.85rem 1.6rem; min-height: 46px; }
.btn--block { width: 100%; }

/* Text link with directional icon */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid currentColor;
  transition: color var(--fast) var(--ease);
}
.link .icon { width: 17px; height: 17px; transition: transform var(--fast) var(--ease); }
.link:hover { color: var(--accent); }
.link:hover .icon { transform: translateX(4px); }
.section--dark .link:hover,
.section--slate .link:hover,
.hero .link:hover { color: var(--accent-pale); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 520px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}


/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--slow) var(--ease),
              border-color var(--slow) var(--ease);
  border-bottom: 1px solid transparent;
}

/* Over-hero state: transparent, light content */
.header--over { background: transparent; color: #fff; }
.header--over .header__inner { border-bottom: 1px solid rgba(255,255,255,.16); }

/* Scrolled / non-hero state: solid */
.header--solid {
  background: rgba(250, 248, 255, 0.96);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom-color: var(--rule);
  color: var(--ink);
}
.header--solid .header__inner { border-bottom-color: transparent; }

.header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--margin);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: border-color var(--slow) var(--ease);
}

/* Logo slot — sized so the supplied logo file drops straight in.
   Swap .brand__mark's contents for <img src="…/logo.svg"> at no layout cost. */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: none;
}
.brand__mark {
  display: flex;
  align-items: center;
  height: 40px;
  max-width: 220px;
}
.brand__mark img { height: 100%; width: auto; object-fit: contain; }
.brand__word {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  white-space: nowrap;
}
.brand__word span { font-weight: 400; }
.brand__descriptor {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.25rem); }

.nav__link {
  position: relative;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-block: 0.5rem;
  transition: color var(--fast) var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast) var(--ease);
}
.nav__link:hover::after,
.nav__link:focus-visible::after { transform: scaleX(1); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header--over .nav__link[aria-current="page"]::after { background: #fff; }

.header__actions { display: flex; align-items: center; gap: 1rem; flex: none; }

/* Over a photograph the solid dark CTA reads as a slab pasted on the image.
   It becomes an outlined button there and fills in once the header goes solid. */
.header--over .header__actions .btn {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.55);
}
.header--over .header__actions .btn:hover,
.header--over .header__actions .btn:focus-visible {
  --btn-bg: #fff;
  --btn-bd: #fff;
  --btn-fg: var(--graphite);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: inherit;
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 1023px) {
  .header__nav-desktop { display: none; }
  .header__actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}


/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--charcoal);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  /* Closing: hold visibility until the slide finishes, so the panel does not
     vanish mid-animation. Opening (below): flip it immediately, otherwise the
     first link is still un-focusable when the script tries to focus it. */
  transition: transform var(--slow) var(--ease), visibility 0s var(--slow);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer[data-open="true"] {
  transform: translateY(0);
  visibility: visible;
  transition: transform var(--slow) var(--ease), visibility 0s 0s;
}

.drawer__top {
  height: var(--header-h);
  padding-inline: var(--margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.14);
  flex: none;
}

.drawer__body { padding: 2.5rem var(--margin) 3rem; flex: 1; }

.drawer__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color var(--fast) var(--ease);
}
.drawer__link:hover,
.drawer__link[aria-current="page"] { color: var(--accent-pale); }
.drawer__link .index { font-size: 0.75rem; color: rgba(255,255,255,.42); }

.drawer__footer {
  padding: 2rem var(--margin) 3rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid;
  gap: 1.25rem;
}
.drawer__contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-dark-soft);
  font-size: var(--t-body);
}
.drawer__contact .icon { width: 18px; height: 18px; color: var(--accent-pale); flex: none; }

body[data-drawer-state="open"] { overflow: hidden; }


/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  isolation: isolate;
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.hero--full    { min-height: min(100svh, 940px); align-items: flex-end; }
.hero--tall    { min-height: min(84svh, 760px);  align-items: flex-end; }
.hero--mid     { min-height: min(70svh, 640px);  align-items: center;   }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--charcoal);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroSettle 2200ms var(--ease) forwards;
}

@keyframes heroSettle { to { transform: scale(1); } }

/* Contrast treatment — text stays legible without flattening the photograph */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(26,26,28,.94) 0%, rgba(26,26,28,.62) 42%, rgba(26,26,28,.18) 78%, rgba(26,26,28,.34) 100%);
}
.hero__scrim--even   { background: rgba(26,26,28,.68); }
.hero__scrim--side   {
  background: linear-gradient(105deg, rgba(26,26,28,.94) 0%, rgba(26,26,28,.78) 42%, rgba(26,26,28,.30) 100%);
}

.hero__inner { width: 100%; position: relative; }

.hero .t-hero { color: #fff; }
.hero .t-lead { color: rgba(255,255,255,.86); }

/* Hero footer strip — capability markers pinned to the base of the hero */
.hero__meta {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.22);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem 2rem;
}
.hero__meta-item .label { color: rgba(255,255,255,.6); display: block; margin-bottom: 0.4rem; }
.hero__meta-item p { color: #fff; font-size: var(--t-body); font-weight: 500; line-height: 1.4; }

/* Sits as the final cell of the capability strip rather than floating over it —
   absolute positioning collided with the strip's right-hand column. */
.hero__scroll {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  align-self: center;
  gap: 0.75rem;
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero__scroll .icon { width: 18px; height: 18px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge {
  0%, 70%, 100% { transform: translateY(0); }
  35%           { transform: translateY(5px); }
}
@media (max-width: 899px) { .hero__scroll { display: none; } }

/* Interior page hero — lighter, editorial */
.hero--interior { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero--interior .hero__inner { display: grid; gap: var(--gutter); }

/* ── Hero slider ──────────────────────────────────────────────────────────
   Ken Burns imagery with a staggered copy entrance. Scoped to .hero--slider
   so the single-image heroes on interior pages keep their heroSettle
   treatment untouched. */
.hero--slider .hero__media img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: none;
  transition: opacity 1100ms var(--ease);
}
.hero--slider .hero__media img.is-active {
  opacity: 1;
  /* Image first: fade in, then the slow pan. Re-applying .is-active restarts
     both animations, so every slide change re-runs the entrance. */
  animation: heroImgIn 1300ms var(--ease) both,
             kenburns 18000ms var(--ease) 450ms infinite alternate backwards;
}
@keyframes heroImgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kenburns {
  from { transform: scale(1.14) translate3d(0, -1.5%, 0); }
  to   { transform: scale(1.02) translate3d(0, 1.5%, 0); }
}

/* Slides share one grid cell, so the tallest slide sets the copy height and
   every transition happens in place — no layout shift between slides. */
.hero__copy { position: relative; display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms var(--ease), visibility 0s 800ms;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 800ms var(--ease);
}
/* Staggered copy entrance — label, headline, lead. Delays sit behind the
   image fade-in so the photograph clearly lands first, then the copy rises.
   Runs whenever a slide becomes active. */
.hero--slider .hero__slide > * { opacity: 0; }
.hero--slider .hero__slide.is-active > * { animation: heroRise 850ms var(--ease) 550ms both; }
.hero--slider .hero__slide.is-active .t-hero { animation-delay: 700ms; }
.hero--slider .hero__slide.is-active .t-lead { animation-delay: 850ms; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
/* Shared CTA row and meta strip enter once, after the first slide's copy. */
.hero--slider .hero__cta { animation: heroRise 850ms var(--ease) 1000ms both; }
.hero--slider .hero__meta { animation: heroRise 850ms var(--ease) 1150ms both; }

/* Slide pager — pinned top right, clear of the hero copy and meta strip */
.hero--slider .hero__pager {
  position: absolute;
  top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  right: var(--margin);
  display: flex;
  gap: 1.5rem;
  z-index: 2;
}
.hero--slider .hero__pager button {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.55);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  font-variant-numeric: tabular-nums;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.hero--slider .hero__pager button:hover { color: #fff; }
.hero--slider .hero__pager button.is-active { color: #fff; border-color: var(--accent); }
@media (max-width: 767px) {
  .hero--slider .hero__pager { gap: 1.1rem; }
}


/* --------------------------------------------------------------------------
   9. Editorial blocks
   -------------------------------------------------------------------------- */

.eyebrow-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

/* Section header: index + label left, headline right */
.sec-head { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sec-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

/* Figure with the offset technical outline from DESIGN.md */
.figure { position: relative; }
.figure img { width: 100%; }
.figure--framed::before {
  content: "";
  position: absolute;
  inset: -1.25rem;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.section--dark .figure--framed::before,
.section--slate .figure--framed::before { border-color: rgba(255,255,255,.18); }

.figure__caption {
  margin-top: 1rem;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Data plate overlapping a photograph */
.plate {
  background: var(--charcoal);
  color: #fff;
  padding: 2rem;
  max-width: 300px;
}
.plate .label { color: rgba(255,255,255,.55); display: block; margin-bottom: 0.6rem; }
.plate__value { font-size: var(--t-title); font-weight: 700; line-height: 1.1; }
.plate p { color: rgba(255,255,255,.7); font-size: var(--t-small); margin-top: 0.35rem; }

@media (min-width: 1100px) {
  .plate--offset {
    position: absolute;
    right: -2rem;
    bottom: -2rem;
  }
}
@media (max-width: 1099px) {
  .plate--offset { margin-top: -3rem; margin-left: var(--gutter); position: relative; }
}

/* Image treatments */
.img-cover  { width: 100%; height: 100%; object-fit: cover; }
.img-tone   { filter: grayscale(1) contrast(1.08); transition: filter var(--slow) var(--ease); }
.img-tone:hover { filter: grayscale(0) contrast(1); }

.ratio {
  position: relative;
  overflow: hidden;
  background: var(--rule);
}
.ratio > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio--4x3   { aspect-ratio: 4 / 3; }
.ratio--3x2   { aspect-ratio: 3 / 2; }
.ratio--1x1   { aspect-ratio: 1 / 1; }
.ratio--3x4   { aspect-ratio: 3 / 4; }
.ratio--2x3   { aspect-ratio: 2 / 3; }
.ratio--16x9  { aspect-ratio: 16 / 9; }
.ratio--tall  { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .ratio--tall { aspect-ratio: 4 / 5; } }

.zoom { overflow: hidden; }
.zoom img { transition: transform 900ms var(--ease); }
.zoom:hover img, a:hover .zoom img { transform: scale(1.045); }


/* --------------------------------------------------------------------------
   10. Service rows (editorial list, not cards)
   -------------------------------------------------------------------------- */

.srv-list { border-top: 1px solid var(--rule); }

.srv-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0 1.5rem;
  align-items: start;
  padding-block: clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background var(--fast) var(--ease);
}
.srv-row:hover { background: var(--surface-low); }

@media (min-width: 900px) {
  .srv-row {
    grid-template-columns: 6rem minmax(0, 4fr) minmax(0, 5fr) 4rem;
    align-items: center;
    gap: 0 var(--gutter);
    padding-inline: 1.25rem;
    margin-inline: -1.25rem;
  }
}

.srv-row__code {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  padding-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.srv-row__title {
  font-size: var(--t-title);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
  transition: color var(--fast) var(--ease);
}
.srv-row:hover .srv-row__title { color: var(--accent); }
.srv-row__desc {
  color: var(--ink-soft);
  font-size: var(--t-body);
  margin-top: 0.75rem;
  max-width: 56ch;
}
@media (min-width: 900px) { .srv-row__desc { margin-top: 0; } }

.srv-row__go {
  justify-self: end;
  color: var(--rule-strong);
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.srv-row__go .icon { width: 30px; height: 30px; }
.srv-row:hover .srv-row__go { color: var(--accent); transform: translateX(6px); }
@media (max-width: 899px) { .srv-row__go { display: none; } }

/* Whole row is the link target */
.srv-row__link::after { content: ""; position: absolute; inset: 0; }


/* Photographic service panels */
.srv-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.srv-panel {
  position: relative;
  background: var(--structural);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: background var(--fast) var(--ease);
}
.srv-panel:hover { background: var(--surface-low); }
.srv-panel__code { color: var(--accent); margin-bottom: auto; }
.srv-panel__media { margin: 0 0 1.75rem; }
.srv-panel h3 { font-size: var(--t-subtitle); font-weight: 600; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.srv-panel p  { color: var(--ink-soft); font-size: var(--t-body); }
.srv-panel__go { margin-top: 1.5rem; color: var(--ink-faint); transition: color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.srv-panel__go .icon { width: 22px; height: 22px; }
.srv-panel:hover .srv-panel__go { color: var(--accent); transform: translateX(5px); }
.srv-panel__link::after { content: ""; position: absolute; inset: 0; }


/* --------------------------------------------------------------------------
   11. Statistics & capability blocks
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.stat {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat .label { color: var(--accent); margin-bottom: 2.5rem; }
.stat__value {
  font-size: clamp(2.75rem, 1.4rem + 5.2vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.stat__value sup { font-size: 0.42em; vertical-align: super; color: var(--accent); font-weight: 700; letter-spacing: 0; }
.stat__note { color: var(--ink-soft); font-size: var(--t-small); margin-top: 0.75rem; }
.stat--invert { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.stat--invert .label { color: var(--accent-pale); }
.stat--invert .stat__note { color: rgba(255,255,255,.62); }

.section--dark .stats,
.section--slate .stats { border-color: rgba(255,255,255,.16); }
.section--dark .stat,
.section--slate .stat { border-color: rgba(255,255,255,.16); }
.section--dark .stat .label,
.section--slate .stat .label { color: var(--accent-pale); }
.section--dark .stat__note,
.section--slate .stat__note { color: rgba(255,255,255,.62); }

/* Qualitative capability list — what the stats grid degrades to when the
   company has not supplied verified numbers. Same visual weight, no claims. */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.principle {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: background var(--fast) var(--ease);
}
.principle:hover { background: var(--structural); }
.principle__num {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: auto;
  padding-bottom: 2.5rem;
  font-variant-numeric: tabular-nums;
}
.principle h3 { font-size: var(--t-subtitle); font-weight: 600; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.principle p  { color: var(--ink-soft); font-size: var(--t-body); }

.section--dark .principles, .section--dark .principle { border-color: rgba(255,255,255,.16); }
.section--dark .principle:hover { background: rgba(255,255,255,.04); }
.section--dark .principle__num { color: var(--accent-pale); }


/* Definition rows — used for values, standards, quality points */
.rows { border-top: 1px solid var(--rule); }
.row-item {
  display: grid;
  gap: 0.75rem var(--gutter);
  padding-block: clamp(1.5rem, 2.6vw, 2.25rem);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .row-item { grid-template-columns: 2.5rem minmax(0, 4fr) minmax(0, 6fr); align-items: baseline; }
}
.row-item__mark { color: var(--accent); }
.row-item__mark .icon { width: 20px; height: 20px; }
.row-item h3 { font-size: var(--t-subtitle); font-weight: 600; letter-spacing: -0.01em; }
.row-item p  { color: var(--ink-soft); }

.section--dark .rows, .section--dark .row-item { border-color: rgba(255,255,255,.16); }
.section--dark .row-item__mark { color: var(--accent-pale); }


/* Bullet list with technical square markers */
.ticks { display: grid; gap: 0; }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}
.ticks li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  flex: none;
  margin-top: 0.6rem;
}
.section--dark .ticks li { border-color: rgba(255,255,255,.16); color: var(--on-dark-soft); }
.section--dark .ticks li::before { background: var(--accent-pale); }


/* --------------------------------------------------------------------------
   12. Industries — visual navigation
   -------------------------------------------------------------------------- */

/* Three across on desktop so six industries fill two complete rows.
   auto-fit produced four columns at 1440px, leaving two dead cells. */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 1000px) {
  .industries { grid-template-columns: repeat(3, 1fr); }
}
.industry {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
}
.industry img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.42;
  transition: opacity var(--slow) var(--ease), transform 900ms var(--ease), filter var(--slow) var(--ease);
}
.industry::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(26,26,28,.92), rgba(26,26,28,.35));
}
.industry:hover img { opacity: 0.62; filter: grayscale(0.35); transform: scale(1.05); }
.industry__num { color: var(--accent-pale); margin-bottom: auto; }
.industry h3 { font-size: var(--t-subtitle); font-weight: 600; margin-bottom: 0.6rem; }
.industry p  { color: rgba(255,255,255,.74); font-size: var(--t-small); }


/* --------------------------------------------------------------------------
   13. Process
   -------------------------------------------------------------------------- */

.process { counter-reset: step; }
.process__track {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
/* Four across so the eight stages form two even rows on every page that
   renders the process track. minmax(0,1fr) rather than 1fr: plain 1fr takes
   min-content as its floor, so longer entries stole width and the columns came
   out unequal, breaking the alignment the grid exists to hold. */
@media (min-width: 900px) {
  .process__track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left: 1px solid var(--rule);
  }
}
.step {
  counter-increment: step;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) { .step { border-right: 1px solid var(--rule); } }

.step__num {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 2rem;
}
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: var(--t-subtitle); font-weight: 600; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.step p  { color: var(--ink-soft); font-size: var(--t-small); line-height: 1.6; }

.section--dark .process__track, .section--dark .step { border-color: rgba(255,255,255,.16); }
.section--dark .step__num { color: var(--accent-pale); }
.section--dark .step p { color: rgba(255,255,255,.68); }


/* --------------------------------------------------------------------------
   14. Full-bleed photographic statements
   -------------------------------------------------------------------------- */

.statement {
  position: relative;
  isolation: isolate;
  min-height: min(76svh, 700px);
  display: flex;
  align-items: center;
  color: #fff;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.statement__media { position: absolute; inset: 0; z-index: -2; background: var(--charcoal); }
.statement__media img { width: 100%; height: 100%; object-fit: cover; }
.statement__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(26,26,28,.66);
}
.statement--vignette .statement__scrim {
  background: linear-gradient(105deg, rgba(26,26,28,.93) 0%, rgba(26,26,28,.72) 48%, rgba(26,26,28,.42) 100%);
}
.statement .t-headline, .statement .t-hero { color: #fff; }

/* Floating panel over a photograph */
.panel {
  background: var(--tertiary);
  color: var(--on-dark);
  padding: clamp(2rem, 4vw, 4rem);
  border-left: 3px solid var(--accent);
}
.panel--light {
  background: var(--surface);
  color: var(--ink);
}
.panel--light p { color: var(--ink-soft); }

.panel__facts {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.2);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}
.panel--light .panel__facts { border-top-color: var(--rule); }


/* --------------------------------------------------------------------------
   15. Quote
   -------------------------------------------------------------------------- */

.quote { text-align: center; }
.quote__mark {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.quote blockquote {
  font-size: clamp(1.5rem, 0.9rem + 2.4vw, 2.75rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.quote__by {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}
.quote__by::before, .quote__by::after {
  content: "";
  width: 3rem; height: 1px;
  background: currentColor;
  opacity: 0.35;
}

/* Testimonial cards — the bordered-cell grid used by the capability blocks */
/* Testimonial carousel — one quote on screen at a time, framed like the
   capability cells. Slides share one grid cell so the tallest sets the height
   and every transition happens in place — no layout shift between quotes. */
.quotes { max-width: 54rem; margin-inline: auto; }
.quotes__stage {
  display: grid;
  border: 1px solid var(--rule);
  background: var(--surface-low);
}
.quotes__slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: clamp(2.25rem, 4.5vw, 4rem);
  min-height: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s 700ms;
}
.quotes__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms var(--ease);
}
/* Incoming quote rises into place, matching the site's motion language. */
.quotes__slide.is-active > * { animation: quoteIn 650ms var(--ease) 140ms both; }
@keyframes quoteIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.quotes__mark {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.45;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.quotes__slide blockquote {
  font-size: var(--t-body-lg);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
  text-wrap: balance;
}
.quotes__by {
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 0.25rem;
}
.quotes__by .label { color: var(--accent); }
.quotes__by span:last-child { color: var(--ink-faint); font-size: var(--t-small); }

/* Carousel controls — arrows flank a numbered pager, same language as the
   hero slider pager. */
.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.quotes__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.quotes__arrow:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.quotes__pager { display: flex; gap: 1.5rem; }
.quotes__pager button {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  font-variant-numeric: tabular-nums;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.quotes__pager button:hover { color: var(--ink); }
.quotes__pager button.is-active { color: var(--ink); border-color: var(--accent); }
@media (max-width: 767px) {
  .quotes__nav { gap: 1.25rem; }
  .quotes__pager { gap: 1.1rem; }
}


/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1.75rem; }

.field { display: grid; gap: 0.6rem; }

.field label {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.field label .req { color: var(--accent); margin-left: 0.25rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  min-height: 56px;
  background: var(--structural);
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  font-size: var(--t-body);
  color: var(--ink);
  transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 160px; 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 24 24' fill='none' stroke='%2347464d' stroke-width='1.6'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  padding-right: 3rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.field--error input,
.field--error select,
.field--error textarea { border-color: var(--error); }

.field__error {
  font-size: var(--t-small);
  color: var(--error);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.field__hint { font-size: var(--t-small); color: var(--ink-faint); }

.form__pair {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 700px) { .form__pair { grid-template-columns: 1fr 1fr; } }

/* Honeypot — hidden from people, visible to naive bots */
.form__trap {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.notice {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--accent);
  background: var(--structural);
  display: grid;
  gap: 0.5rem;
}
.notice--ok    { border-left-color: var(--ok);    background: var(--ok-bg); border-color: var(--ok); }
.notice--error { border-left-color: var(--error); background: var(--error-bg); border-color: var(--error); }
.notice h3 { font-size: var(--t-subtitle); font-weight: 600; }
.notice p  { color: var(--ink-soft); }
.notice ul { display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.notice ul li { color: var(--ink-soft); font-size: var(--t-small); }
.notice ul li::before { content: "— "; }


/* Contact method blocks */
.contact-methods { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.contact-method {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 0.5rem;
}
.contact-method .label { color: var(--ink-faint); }
.contact-method__value {
  font-size: var(--t-subtitle);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: color var(--fast) var(--ease);
}
a.contact-method__value:hover { color: var(--accent); }
.contact-method__value .icon { width: 20px; height: 20px; color: var(--accent); flex: none; }
.contact-method p { color: var(--ink-soft); font-size: var(--t-small); }
.contact-method address { font-style: normal; font-size: var(--t-body-lg); line-height: 1.5; }


/* --------------------------------------------------------------------------
   17. Pre-footer
   -------------------------------------------------------------------------- */

.prefooter {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

/* Variant A — full-bleed photograph, centred statement */
.prefooter--full {
  min-height: min(72svh, 660px);
  display: flex;
  align-items: center;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.prefooter--full .prefooter__media { position: absolute; inset: 0; z-index: -2; }
.prefooter--full .prefooter__media img { width: 100%; height: 100%; object-fit: cover; }
.prefooter--full .prefooter__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(26,26,28,.72);
}
.prefooter--full .btn-row { justify-content: center; }

/* Variant B — split: photograph one side, statement the other */
.prefooter--split { background: var(--charcoal); }
.prefooter--split .prefooter__grid {
  display: grid;
  align-items: stretch;
  min-height: min(70svh, 620px);
}
@media (min-width: 900px) {
  .prefooter--split .prefooter__grid { grid-template-columns: 1fr 1fr; }
}
.prefooter--split .prefooter__media { position: relative; min-height: 320px; overflow: hidden; }
.prefooter--split .prefooter__media img { width: 100%; height: 100%; object-fit: cover; }
.prefooter--split .prefooter__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5.5rem) var(--margin);
}
@media (min-width: 900px) {
  .prefooter--split .prefooter__body { padding-inline: clamp(3rem, 5vw, 5.5rem); }
  .prefooter--split .prefooter__media--first { order: -1; }
}

/* Variant C — oversized type over a cropped machinery crop */
.prefooter--crop {
  min-height: min(78svh, 700px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.prefooter--crop .prefooter__media { position: absolute; inset: 0; z-index: -2; }
.prefooter--crop .prefooter__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.prefooter--crop .prefooter__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(26,26,28,.95) 12%, rgba(26,26,28,.5) 60%, rgba(26,26,28,.28) 100%);
}

/* Variant D — dark photograph with an inset quote-request panel */
.prefooter--panel {
  min-height: min(74svh, 660px);
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.prefooter--panel .prefooter__media { position: absolute; inset: 0; z-index: -2; }
.prefooter--panel .prefooter__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.prefooter--panel .prefooter__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(80deg, rgba(26,26,28,.9) 0%, rgba(26,26,28,.66) 55%, rgba(26,26,28,.4) 100%);
}

.prefooter .t-headline { color: #fff; }
.prefooter p { color: rgba(255,255,255,.8); }


/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--tertiary);
  color: var(--on-dark);
  padding-block: clamp(4rem, 7vw, 7rem) 0;
}

.footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}
@media (min-width: 700px)  { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.footer__brand .brand__word { color: #fff; }
.footer__blurb {
  color: var(--on-dark-faint);
  margin-top: 1.5rem;
  max-width: 34ch;
  font-size: var(--t-body);
}

.footer h2 {
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-pale);
  margin-bottom: 1.5rem;
}

.footer__list { display: grid; gap: 0.85rem; }
.footer__list a {
  color: var(--on-dark-faint);
  font-size: var(--t-body);
  transition: color var(--fast) var(--ease);
  display: inline-block;
}
.footer__list a:hover { color: #fff; }

.footer__contact { display: grid; gap: 1.25rem; }
.footer__contact-item { display: flex; gap: 0.85rem; align-items: flex-start; color: var(--on-dark-faint); }
.footer__contact-item .icon { width: 18px; height: 18px; color: var(--accent-pale); flex: none; margin-top: 3px; }
.footer__contact-item a:hover { color: #fff; }
.footer__contact-item address { font-style: normal; line-height: 1.55; }

.footer__social { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.footer__social a {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 2px;
  color: var(--on-dark-faint);
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.footer__social a:hover { color: #fff; border-color: var(--accent); background: var(--accent); }
.footer__social .icon { width: 20px; height: 20px; }

.footer__bottom {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-small);
  color: var(--on-dark-faint);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__legal a { transition: color var(--fast) var(--ease); }
.footer__legal a:hover { color: #fff; }

.footer__pending {
  margin-top: 1.25rem;
  font-size: var(--t-small);
  color: var(--on-dark-faint);
  opacity: .8;
}


/* --------------------------------------------------------------------------
   19. Motion
   -------------------------------------------------------------------------- */

/* Reveal-on-scroll is an ENHANCEMENT, never a dependency.
   The hidden state is scoped to .js, which is set by an inline script in the
   document head. With JavaScript disabled, broken or slow, every .reveal
   element is simply visible — the page is never blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 90ms; }
.reveal-d2 { transition-delay: 180ms; }
.reveal-d3 { transition-delay: 270ms; }
.reveal-d4 { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}


/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */

@media print {
  .header, .drawer, .prefooter, .hero__scroll, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; min-height: 0; }
}
