/* =============================================================================
   Ultra Corpotech Inc. — site.css
   Built on the Ultra Corpotech design system: brand green #00a972 as the accent
   on white, Bahnschrift (Barlow on the web) in Regular and Bold only, square
   full-bleed photography, no drop shadows, and the 8px green foot bar.
   Motion follows the brand's slide transition, a slow upward push, and turns
   the cover's grid (set with the Ultra "U" monogram) and the foot bar into
   live, interactive structure. Drawing furniture (rulers, dimension lines,
   centre lines, corner brackets, a title block) gives the pages the look of an
   engineering drawing.
   ============================================================================= */

/* 0. Fonts: Barlow, the web stand-in for Bahnschrift ------------------------ */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Tokens ------------------------------------------------------------------ */
/* Layout: one 1280px engineered column; full-width bands stacked like the
   template's horizontal strips; the 8px green foot bar closes the page and
   doubles as the scroll gauge. */
:root {
  /* Brand constants: identical in both themes */
  --green: #00a972;
  --green-deep: #009965;
  --charcoal: #373435;
  --slate: #565658;
  --mist: #f6f7f9;
  --on-green: #000000;

  /* Type: one family, Regular 400 and Bold 700; 13 pt (17.33px) is the floor */
  --font-sans: Bahnschrift, "Barlow", "Segoe UI", Arial, sans-serif;
  --fs-fine: 17.33px;
  --fs-body: clamp(19px, 0.62vw + 16.6px, 24px);
  --fs-lead: clamp(21px, 0.85vw + 16.5px, 30px);
  --fs-sub: clamp(22px, 0.58vw + 19.75px, 26.67px);
  --fs-h3: clamp(28px, 2.4vw + 14px, 48px);
  --fs-h2: clamp(40px, 5.4vw, 88px);
  --fs-display: clamp(44px, 7.4vw, 120px);
  --fs-mega: clamp(60px, 11.5vw, 184px);

  /* Space: the 4px scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  --band-pad: clamp(72px, 9vw, 136px);
  --header-h: 84px;
  --bar: 8px;

  /* Radius: square by default; only interactive UI is rounded, slightly */
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Motion: the slow upward push */
  --ease-push: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* The Ultra "U" monogram (two pillars and the dot), traced from mark-large.png,
     for masks: on its own, and as the cover's grid, 12px tall on a 48px pitch */
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68.75 100'%3E%3Cpath d='M0 17.3C11 17.5 24.6 22.6 27.3 36.3V100C12.6 99.6 0.6 92.5 0.1 79.6ZM68.75 17.3C57.75 17.5 44.15 22.6 41.45 36.3V100C56.15 99.6 68.15 92.5 68.65 79.6ZM34.4 0A10.4 10.4 0 1 0 34.4 20.8A10.4 10.4 0 1 0 34.4 0Z'/%3E%3C/svg%3E");
  --mark-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath transform='translate(19.875 18) scale(.12)' d='M0 17.3C11 17.5 24.6 22.6 27.3 36.3V100C12.6 99.6 0.6 92.5 0.1 79.6ZM68.75 17.3C57.75 17.5 44.15 22.6 41.45 36.3V100C56.15 99.6 68.15 92.5 68.65 79.6ZM34.4 0A10.4 10.4 0 1 0 34.4 20.8A10.4 10.4 0 1 0 34.4 0Z'/%3E%3C/svg%3E");
  --ratio-mark: 0.6875;
}

:root,
.theme-light {
  --surface: #ffffff;
  --surface-muted: #f6f7f9;
  --surface-raised: #ffffff;
  --line: #e7e6e6;
  --line-strong: #565658;
  --ink: #000000;
  --ink-muted: #565658;
  --link-underline: #009965;
  --focus: #009965;
  --draw: #009965;
  --band-dark: #373435;
  --band-dark-ink: #f6f7f9;
  --band-dark-muted: #b4b3b5;
  --success: #007a50;
  --success-soft: #e3f4ec;
  --danger: #9f1d17;
  --danger-soft: #fbeae8;
  --warning: #8a5a00;
  --warning-soft: #fcf1da;
  --ring-gap: #ffffff;
  --grid-ink: rgba(55, 52, 53, 0.055);
  --studio-hi: #ffffff;
  --studio-lo: #e6e8eb;
  --studio-grid: rgba(55, 52, 53, 0.2);
  --lockup-display: block;
  --mark-display: none;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #231f20;
    --surface-muted: #2d2a2b;
    --surface-raised: #373435;
    --line: #4c4d4f;
    --line-strong: #8c8b8d;
    --ink: #f6f7f9;
    --ink-muted: #b4b3b5;
    --link-underline: #00a972;
    --focus: #00a972;
    --draw: #00a972;
    --band-dark: #373435;
    --band-dark-ink: #f6f7f9;
    --band-dark-muted: #b4b3b5;
    --success: #4cd29e;
    --success-soft: #123526;
    --danger: #f47a70;
    --danger-soft: #461c19;
    --warning: #f2b84b;
    --warning-soft: #3a2c0e;
    --ring-gap: #231f20;
    --grid-ink: rgba(246, 247, 249, 0.045);
    --backdrop-o: 0.13;
    --studio-hi: #403b3c;
    --studio-lo: #1b1819;
    --studio-grid: rgba(246, 247, 249, 0.14);
    --lockup-display: none;
    --mark-display: block;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --surface: #231f20;
  --surface-muted: #2d2a2b;
  --surface-raised: #373435;
  --line: #4c4d4f;
  --line-strong: #8c8b8d;
  --ink: #f6f7f9;
  --ink-muted: #b4b3b5;
  --link-underline: #00a972;
  --focus: #00a972;
  --draw: #00a972;
  --band-dark: #373435;
  --band-dark-ink: #f6f7f9;
  --band-dark-muted: #b4b3b5;
  --success: #4cd29e;
  --success-soft: #123526;
  --danger: #f47a70;
  --danger-soft: #461c19;
  --warning: #f2b84b;
  --warning-soft: #3a2c0e;
  --ring-gap: #231f20;
  --grid-ink: rgba(246, 247, 249, 0.045);
  --backdrop-o: 0.13;
  --studio-hi: #403b3c;
  --studio-lo: #1b1819;
  --studio-grid: rgba(246, 247, 249, 0.14);
  --lockup-display: none;
  --mark-display: block;
  color-scheme: dark;
}

@media (max-width: 1023px) {
  :root { --header-h: 72px; }
}

/* 2. Base -------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* The band behind the phone's status bar, in the header's colour */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 52;
  background: var(--surface);
}

/* Pieces that slide in from the side never widen the page (clip keeps sticky working) */
main { overflow-x: clip; }

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

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }

::selection { background: var(--green); color: var(--on-green); }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring-gap), 0 0 0 4px var(--focus);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  z-index: 200;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: var(--on-green);
  font-size: var(--fs-fine);
  line-height: 1.2;
  text-decoration: none;
  transform: translateY(calc(-100% - 40px));
  transition: transform 0.4s var(--ease-push);
}
.skip:focus { transform: none; }

/* 3. Layout ------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.band { position: relative; padding-block: var(--band-pad); }
.band-muted { background: var(--surface-muted); }
.band-dark {
  background: var(--band-dark);
  color: var(--band-dark-ink);
  --ring-gap: var(--band-dark);
  --ink: var(--band-dark-ink);
  --ink-muted: var(--band-dark-muted);
  --line: #4c4d4f;
  --link-underline: var(--green);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6) var(--space-12);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head > :first-child { flex: 999 1 560px; min-width: 0; }
.section-head .lead { margin-top: var(--space-6); }

.section-note {
  max-width: 460px;
  font-size: var(--fs-fine);
  line-height: 1.5;
  color: var(--ink-muted);
}

/* 4. Type -------------------------------------------------------------------- */
.display {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.028em;
}
.mega {
  font-size: var(--fs-mega);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.022em;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.sub {
  font-size: var(--fs-sub);
  line-height: 1.3;
  font-weight: 700;
}
.lead {
  max-width: 32em;
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.body { font-size: var(--fs-body); line-height: 1.7; }
.fine { font-size: var(--fs-fine); line-height: 1.5; }
.muted { color: var(--ink-muted); }
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  font-size: var(--fs-fine);
  line-height: 1.2;
  color: var(--ink-muted);
}
.eyebrow-bar {
  display: block;
  flex: none;
  width: 32px;
  height: 4px;
  background: var(--green);
  transform-origin: left center;
}

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
  transition: text-decoration-color 0.25s;
}
.link:hover { text-decoration-color: currentColor; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--ink);
  font-size: var(--fs-fine);
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.25s;
}
.link-arrow svg {
  flex: none;
  width: 20px;
  height: 20px;
  transition: transform 0.45s var(--ease-push);
}
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow:hover svg { transform: translateX(6px); }

/* 5. Buttons ----------------------------------------------------------------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: var(--fs-fine);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.6s var(--ease-push), color 0.3s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  transform: translate3d(0, 101%, 0);
  transition: transform 0.55s var(--ease-push);
}
.btn:hover::before,
.btn:focus-visible::before { transform: none; }

.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary::before { background: var(--green-deep); }

.btn-secondary {
  background: var(--surface-raised);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary::before { background: var(--surface-muted); }

.btn-lg { min-height: 60px; padding: 0 30px; font-size: var(--fs-body); }
.btn-xl { min-height: 72px; padding: 0 40px; font-size: var(--fs-sub); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Rolling label: the word pushes up and an identical copy follows it in */
.roll {
  display: inline-grid;
  overflow: hidden;
  line-height: 1.2;
}
.roll > span {
  grid-area: 1 / 1;
  transition: transform 0.55s var(--ease-push);
}
.roll > span + span { transform: translate3d(0, 110%, 0); }
.btn:hover .roll > span:first-child { transform: translate3d(0, -110%, 0); }
.btn:hover .roll > span + span { transform: none; }

.btn[disabled] { cursor: progress; }

/* 6. Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: transform 0.6s var(--ease-push), border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translate3d(0, calc(-100% - env(safe-area-inset-top, 0px)), 0); }

.header-row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
  margin-right: auto;
  line-height: 0;
  border-radius: var(--radius-sm);
}
.brand img { width: auto; height: 52px; }
.brand-lockup { display: var(--lockup-display) !important; }
.brand-mark { display: var(--mark-display) !important; }

.nav { position: relative; }
.nav-list {
  display: flex;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  color: var(--ink);
  font-size: var(--fs-fine);
  line-height: 1.2;
  text-decoration: none;
}
/* Without the script, the current page keeps the template's underline */
.nav-link[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}
.nav.has-indicator .nav-link[aria-current] { text-decoration: none; }
.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: var(--w, 0px);
  height: 3px;
  background: var(--link-underline);
  opacity: var(--o, 0);
  transform: translate3d(var(--x, 0px), 0, 0);
  transition: transform 0.55s var(--ease-push), width 0.55s var(--ease-push), opacity 0.3s;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: var(--fs-fine);
  line-height: 1.2;
  cursor: pointer;
}
.menu-toggle-icon { position: relative; width: 20px; height: 12px; }
.menu-toggle-icon i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease-push), top 0.45s var(--ease-push);
}
.menu-toggle-icon i:first-child { top: 1px; }
.menu-toggle-icon i:last-child { top: 9px; }
.menu-open .menu-toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle-icon i:last-child { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1199px) {
  .brand img { height: 44px; }
  .js .nav,
  .js .header-cta { display: none; }
  .js .menu-toggle { display: inline-flex; }
  /* No script: keep the links reachable by letting them wrap */
  html:not(.js) .header-row { flex-wrap: wrap; padding-block: var(--space-3); }
  html:not(.js) .nav-list { flex-wrap: wrap; gap: 0 var(--space-6); }
}

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
  overflow-y: auto;
  background: var(--surface);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s var(--ease-inout), visibility 0s linear 0.75s;
}
.menu-open .menu {
  visibility: visible;
  clip-path: inset(0);
  transition: clip-path 0.75s var(--ease-inout), visibility 0s;
}
.menu-open,
.menu-open body { overflow: hidden; }
.menu-list {
  margin: 0;
  padding: var(--space-8) 0 0;
  list-style: none;
}
.menu-link {
  display: block;
  overflow: hidden;
  padding-block: 2px 6px;
  color: var(--ink);
  font-size: clamp(42px, 11vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.menu-link > span {
  display: inline-block;
  transform: translate3d(0, 115%, 0);
  transition: transform 0.9s var(--ease-push);
  transition-delay: calc(0.12s + var(--i, 0) * 0.06s);
}
.menu-open .menu-link > span { transform: none; }
.menu-link[aria-current] > span {
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.12em;
}
.menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: auto;
  padding-block: var(--space-12) var(--space-8);
  font-size: var(--fs-fine);
  color: var(--ink-muted);
  opacity: 0;
  transition: opacity 0.6s 0.45s;
}
.menu-open .menu-foot { opacity: 1; }
.menu::after {
  content: "";
  position: sticky;
  bottom: 0;
  flex: none;
  height: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
  background: var(--green);
}

/* 7. Footer ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
  padding-block: var(--space-16) var(--space-12);
}
.footer-brand {
  flex: 2 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.footer-brand .brand { margin-right: 0; }
.footer-brand .brand img { height: 72px; }
.footer-brand p {
  max-width: 340px;
  font-size: var(--fs-fine);
  line-height: 1.5;
  color: var(--ink-muted);
}
.footer-col {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-fine);
  line-height: 1.5;
}
.footer-col h2 { font-size: var(--fs-fine); line-height: 1.2; }
.footer-links {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a,
.footer-col .link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: var(--fs-fine);
  line-height: 1.2;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
  padding-block: var(--space-6) var(--space-8);
  border-top: 1px solid var(--line);
  font-size: var(--fs-fine);
  line-height: 1.5;
  color: var(--ink-muted);
}
.foot-bar { height: var(--bar); background: var(--green); }

/* 8. Motion primitives ------------------------------------------------------- */
/* Everything below only hides content once the script has taken over (.motion).
   Without the script, or with reduced motion, the page is complete at rest. */

/* Words push up out of a mask (hidden until the script has split them) */
.motion [data-split]:not(.is-split) { opacity: 0; }
.motion [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.04em 0.16em;
  margin: -0.06em -0.04em -0.16em;
}
.motion [data-split] .wi {
  display: inline-block;
  transform: translate3d(0, 125%, 0);
  transition: transform 1.15s var(--ease-push);
  transition-delay: calc(var(--delay, 0ms) + var(--i, 0) * 55ms);
}
.motion [data-split].is-in .wi { transform: none; }

/* Generic reveals */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-push);
  transition-delay: var(--delay, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion [data-reveal="fade"] { transform: none; }
.motion [data-reveal="wipe"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease-inout);
  transition-delay: var(--delay, 0ms);
}
.motion [data-reveal="wipe"].is-in { clip-path: inset(0); }
.motion [data-reveal="grow"] {
  transform: scale(0.55);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.motion [data-reveal="line"] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.3s var(--ease-inout);
  transition-delay: var(--delay, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Staggered children */
.motion [data-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  transition: opacity 0.8s var(--ease-out), transform 1.1s var(--ease-push);
  transition-delay: calc(var(--delay, 0ms) + var(--i, 0) * 75ms);
}
.motion [data-stagger].is-in > * { opacity: 1; transform: none; }

/* Eyebrow bar draws in */
.motion .eyebrow-bar {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-push);
  transition-delay: var(--delay, 0ms);
}
.motion .is-in .eyebrow-bar,
.motion .eyebrow.is-in .eyebrow-bar { transform: none; }

/* Word-by-word illumination tied to scroll (no mask; words light up) */
[data-words] .ws {
  opacity: clamp(0.16, calc(var(--p, 1) * (var(--n, 1) + 8) - var(--i, 0)), 1);
  transition: opacity 0.12s linear;
}

/* 9. Intro, page curtain, scroll gauge, cursor ------------------------------ */
.intro,
.curtain { display: none; }

.motion.is-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  background: var(--surface);
  animation: intro-out 0.95s var(--ease-inout) 1.45s forwards;
}
.intro-grid {
  position: absolute;
  inset: 0;
  background: var(--line);
  -webkit-mask: var(--mark-tile) center / 48px 48px repeat;
  mask: var(--mark-tile) center / 48px 48px repeat;
  animation: intro-grid 1.4s var(--ease-out) both;
}
.intro-logo {
  position: relative;
  width: min(300px, 64vw);
  /* The brand's cover motion: the lockup grows from its centre while fading in, over one second */
  animation: grow-in 1s var(--ease-out) 0.1s both;
}
.intro-logo img { width: 100%; }
.intro-logo .brand-mark { width: 96px; margin-inline: auto; }
.intro-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
  background: var(--green);
  transform-origin: left center;
  animation: bar-in 1.15s var(--ease-inout) 0.25s both;
}
@keyframes intro-grid { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes grow-in { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: none; } }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: none; } }
@keyframes intro-out { to { transform: translate3d(0, -100%, 0); } }

.motion .curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green);
  color: var(--on-green);
  transform: translate3d(0, 101%, 0);
  pointer-events: none;
}
.curtain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green-deep);
  -webkit-mask: var(--mark-tile) center / 48px 48px repeat;
  mask: var(--mark-tile) center / 48px 48px repeat;
}
.curtain-label {
  position: relative;
  overflow: hidden;
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) calc(var(--gutter) + var(--bar) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  font-size: var(--fs-mega);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.curtain-label::before {
  content: var(--curtain-label, "");
  display: block;
  padding-bottom: 0.08em;
  transform: translate3d(0, 115%, 0);
  transition: transform 0.8s var(--ease-push) 0.18s;
}
.motion.is-leaving .curtain {
  transform: none;
  transition: transform 0.72s var(--ease-inout);
  pointer-events: auto;
}
.motion.is-leaving .curtain-label::before { transform: none; }
.motion.is-entering .curtain { transform: none; }
.motion.is-entering .curtain-label::before { transform: none; transition: none; }
.motion.is-entering.is-entered .curtain {
  transform: translate3d(0, -101%, 0);
  transition: transform 0.95s var(--ease-inout);
}
.motion.is-entering.is-entered .curtain-label::before {
  transform: translate3d(0, -115%, 0);
  transition: transform 0.6s var(--ease-inout);
}

.progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  height: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.progress > i {
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}

.has-cursor,
.has-cursor a,
.has-cursor button,
.has-cursor label,
.has-cursor select,
.has-cursor [data-cursor] { cursor: none; }
.has-cursor input,
.has-cursor textarea { cursor: auto; }
.has-cursor input[type="file"] { cursor: none; }

/* Native dialogs sit above the custom cursor in the browser's top layer. */
.has-cursor dialog[open],
.has-cursor dialog[open] * { cursor: auto; }
.has-cursor dialog[open] a,
.has-cursor dialog[open] button { cursor: pointer; }
.has-cursor dialog::backdrop { cursor: default; }
.has-cursor:has(dialog[open]) .cursor { visibility: hidden; }

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 95;
  color: var(--ink);
  pointer-events: none;
  transition: opacity 0.25s;
}
.cursor.on-dark { color: var(--mist); }
.cursor.on-light { color: #000000; }
.cursor.on-light.is-locked .cursor-frame i { border-color: #000000; }
.cursor.is-hidden,
.cursor.is-text { opacity: 0; }
.cursor-cross {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
}
.cursor-cross::before,
.cursor-cross::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease-push);
}
.cursor-cross::before { left: 8px; top: 0; width: 2px; height: 18px; }
.cursor-cross::after { left: 0; top: 8px; width: 18px; height: 2px; }
.cursor.is-locked .cursor-cross::before,
.cursor.is-locked .cursor-cross::after { transform: scale(0.5); }
.cursor.is-down .cursor-cross { transform: rotate(45deg); }
.cursor-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
}
.cursor-frame i {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 0 solid currentColor;
  transition: border-color 0.3s, width 0.3s, height 0.3s;
}
.cursor-frame i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.cursor-frame i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.cursor-frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.cursor-frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.cursor.is-locked .cursor-frame i { width: 14px; height: 14px; border-color: var(--focus); }
.cursor.on-dark.is-locked .cursor-frame i { border-color: var(--green); }
.cursor.is-down .cursor-frame i { width: 18px; height: 18px; }
.cursor-label {
  position: absolute;
  left: 24px;
  top: 22px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: var(--on-green);
  font-size: var(--fs-fine);
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.6);
  transform-origin: 0 0;
  transition: opacity 0.25s, transform 0.35s var(--ease-push);
}
.cursor.has-label .cursor-label { opacity: 1; transform: none; }

.mark-burst {
  position: fixed;
  z-index: 96;
  width: 15px;
  height: 22px;
  margin: -11px 0 0 -7.5px;
  background: var(--c, var(--green));
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
  pointer-events: none;
  animation: burst 1.1s var(--ease-out) forwards;
}
@keyframes burst {
  0% { transform: translate3d(0, 0, 0) rotate(0) scale(0.2); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--r)) scale(var(--s)); opacity: 0; }
}

/* 10. Shared section pieces -------------------------------------------------- */
.mark-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bar);
  background: var(--green);
  transform-origin: left center;
}
.motion .hero-rule {
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-inout) 0.35s;
}
.motion .is-in .hero-rule,
.motion [data-hero].is-in .hero-rule { transform: none; }

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: var(--on-green);
  font-size: var(--fs-fine);
  font-weight: 400;
  line-height: 1.2;
}

.bullets {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.bullets li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: var(--space-2);
  font-size: var(--fs-fine);
  line-height: 1.5;
}
.bullets li::before {
  content: "\2022";
  font-family: Arial, sans-serif;
}

/* Icons injected by the script; their loops only run while on screen */
.ico-host svg,
.art-host svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.ico-host svg *,
.art-host svg * {
  transform-box: view-box;
}
.ico-host:not(.is-playing) svg *,
.art-host:not(.is-playing) svg * { animation-play-state: paused !important; }
.acc { stroke: var(--art-accent, var(--draw)); }
.acc-fill { fill: var(--art-accent, var(--draw)); }
.ink-fill { fill: currentColor; }
.bg-fill { fill: var(--tone-bg, var(--surface)); }
.band-muted,
.tone-muted { --tone-bg: var(--surface-muted); }
.tile,
.cap { --tone-bg: var(--surface-raised); }
.draw-on { stroke-dasharray: 100; stroke-dashoffset: 0; }
.motion .draw-on {
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 2.2s var(--ease-inout) 0.3s;
}
.motion .is-in .draw-on { stroke-dashoffset: 0; }

/* CTA band on the skyline: the silhouette is a mask, drawn in the theme's green */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--surface-muted);
  color: var(--ink);
  text-align: center;
  padding-block: clamp(88px, 11vw, 160px) calc(7.6vw + clamp(72px, 9vw, 136px));
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--draw);
  -webkit-mask: url("../img/skyline-mask.png") center bottom / 100% auto no-repeat;
  mask: url("../img/skyline-mask.png") center bottom / 100% auto no-repeat;
  transform: translate3d(0, calc((1 - var(--p, 1)) * 12vw), 0);
}
.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.cta-title {
  max-width: 12em;
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.028em;
}
.cta-line {
  max-width: 28em;
  font-size: clamp(22px, 1.2vw + 16.6px, 32px);
  line-height: 1.4;
}
.cta .btn { margin-top: var(--space-4); }

/* 11. Home ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 6vw, 88px) clamp(48px, 6vw, 96px);
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
  max-width: 14em;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.accent {
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.09em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.motion .accent {
  background-size: 0% 0.09em;
  transition: background-size 1.2s var(--ease-inout) 1.05s;
}
.motion .is-in .accent { background-size: 100% 0.09em; }

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-8);
  align-items: end;
  margin-top: clamp(28px, 4vw, 56px);
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
}
.hero-copy .lead { max-width: 30em; }
.hero-gears {
  position: relative;
  aspect-ratio: 1.12;
  margin-top: clamp(-260px, -15vw, -60px);
  pointer-events: none;
}
.hero-gears canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 860px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-gears { margin-top: 0; aspect-ratio: 1.6; max-height: 340px; }
}

/* Backdrop: the cover photograph behind a band, screened like a print and
   drifting slowly; a scan line passes over it */
.has-backdrop { position: relative; isolation: isolate; overflow: hidden; }
.backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, 980px);
  z-index: -1;
  pointer-events: none;
  -webkit-mask:
    radial-gradient(circle at center, #000 58%, transparent 62%) 0 0 / 4px 4px,
    linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.85) 30%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle at center, #000 58%, transparent 62%) 0 0 / 4px 4px,
    linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.85) 30%, transparent 92%);
  mask-composite: intersect;
}
.backdrop picture { display: block; width: 100%; height: 100%; }
.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: grayscale(1) contrast(1.2);
  opacity: var(--backdrop-o, 0.3);
  transform: translate3d(0, calc((var(--p, 0.5) - 0.5) * -10%), 0) scale(1.14);
}
.backdrop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--draw) 30%, transparent) 96%, var(--draw) 96% 100%);
  opacity: 0;
}
.motion .backdrop picture { animation: backdrop-drift 48s ease-in-out infinite alternate; }
.motion .backdrop::after { animation: backdrop-scan 7s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes backdrop-drift {
  from { transform: translate3d(-2.5%, 0, 0); }
  to { transform: translate3d(2.5%, 0, 0); }
}
@keyframes backdrop-scan {
  0% { transform: translate3d(0, -100%, 0); opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: 0.9; }
  100% { transform: translate3d(0, 360%, 0); opacity: 0; }
}

/* Group figures */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--green);
  transform-origin: left center;
  transition: transform 1.3s var(--ease-inout);
  transition-delay: calc(var(--i, 0) * 120ms + 100ms);
}
.motion .stat-grid:not(.is-in) .stat::before { transform: scaleX(0); }
.stat-value {
  font-size: clamp(56px, 7vw, 112px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-label { max-width: 22ch; font-size: var(--fs-fine); line-height: 1.5; }

/* Odometer digits */
.odo { display: inline-flex; align-items: flex-start; }
.odo-mask {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  line-height: 1;
}
.odo-col {
  display: flex;
  flex-direction: column;
  transition: transform 2.2s var(--ease-push);
  transition-delay: calc(var(--d, 0) * 120ms + 150ms);
}
.odo-col > span { display: block; height: 1em; line-height: 1; }
.odo-static { display: inline-block; line-height: 1; }

/* Marquee */
.marquee-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  transform: skewX(var(--skew, 0deg));
}
.marquee + .marquee { margin-top: clamp(4px, 1vw, 12px); }
.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  will-change: transform;
}
.marquee-item {
  padding-inline: 0.28em;
  font-size: clamp(48px, 8vw, 128px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.marquee-outline .marquee-item {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.marquee-mark {
  flex: none;
  width: calc(clamp(30px, 4.4vw, 66px) * var(--ratio-mark));
  height: clamp(30px, 4.4vw, 66px);
  margin-inline: 0.12em;
  background: var(--green);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.marquee-outline .marquee-mark { background: var(--ink); }

/* What we deliver: stacking strips */
.deliver { position: relative; padding-top: var(--band-pad); }
.deliver .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.stack { margin: 0; padding: 0; list-style: none; }
.stack-card {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: calc(var(--cover, 0) * 0.22);
  pointer-events: none;
}
.motion .stack.is-stacking .stack-card {
  position: sticky;
  top: 0;
  min-height: calc(100vh - var(--i, 0) * 14px);
  min-height: calc(100svh - var(--i, 0) * 14px);
}
.stack-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: calc(var(--header-h) + clamp(24px, 4vw, 48px)) clamp(48px, 6vw, 88px);
  transform: scale(calc(1 - var(--cover, 0) * 0.07));
  transform-origin: 50% 0;
}
.stack-title {
  font-size: clamp(44px, 6.6vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.stack-text {
  max-width: 30em;
  margin-top: var(--space-6);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.stack-art { width: 100%; max-width: 560px; justify-self: end; color: var(--art-ink, currentColor); }

.tone-surface { background: var(--surface); --tone-bg: var(--surface); }
.tone-muted { background: var(--surface-muted); }
.tone-green {
  background: var(--green);
  color: var(--on-green);
  border-top-color: var(--green);
  --tone-bg: var(--green);
  --ink: #000000;
  --ink-muted: #000000;
  --link-underline: #000000;
  --art-ink: #000000;
  --art-accent: #f6f7f9;
  --ring-gap: var(--green);
  --focus: #000000;
}
.tone-dark {
  background: var(--band-dark);
  color: var(--band-dark-ink);
  border-top-color: var(--band-dark);
  --tone-bg: var(--band-dark);
  --ink: var(--band-dark-ink);
  --ink-muted: var(--band-dark-muted);
  --link-underline: var(--green);
  --line: #4c4d4f;
  --art-accent: var(--green);
  --ring-gap: var(--band-dark);
}

@media (max-width: 860px) {
  .stack-inner { grid-template-columns: minmax(0, 1fr); }
  .stack-art { max-width: 420px; justify-self: start; }
}

/* Tiles: product and article cards */
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  height: 100%;
  min-height: 210px;
  padding: clamp(16px, 2vw, 24px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.35s, border-color 0.35s;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.6s var(--ease-push);
}
a.tile:hover,
a.tile:focus-visible { color: var(--on-green); border-color: var(--green); --art-accent: #f6f7f9; --ring-gap: var(--surface); }
a.tile:hover::before,
a.tile:focus-visible::before { transform: none; }
a.tile:hover .badge,
a.tile:focus-visible .badge { background: #000000; color: var(--mist); }
.tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.tile .ico-host { width: 64px; flex: none; }
.tile-name {
  font-size: var(--fs-sub);
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 699px) {
  .tile { min-height: 180px; }
}

/* From drawing to delivery */
.process { position: relative; padding-block: var(--band-pad); }
.process-head { margin-bottom: clamp(40px, 5vw, 64px); }
.process-count {
  font-size: var(--fs-sub);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}
.process-count b { color: var(--ink); }
.process-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--space-8) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.step-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
}
.step-num {
  font-size: clamp(56px, 7vw, 120px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--draw);
  font-variant-numeric: tabular-nums;
}
.step .ico-host { width: 56px; flex: none; }
.step h3 { font-size: var(--fs-sub); line-height: 1.3; }
.step p { font-size: var(--fs-fine); line-height: 1.5; max-width: 26em; }
.process-rail { display: none; }

.motion .process.is-pinned { padding: 0; }
.motion .process.is-pinned .process-pin {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding-top: calc(var(--header-h) * 0.5);
}
.motion .process.is-pinned .process-head { margin-bottom: clamp(32px, 4vh, 56px); }
.motion .process.is-pinned .process-viewport {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  overflow: visible;
}
.motion .process.is-pinned .process-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  padding-right: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  transform: translate3d(calc(var(--x, 0) * -1px), 0, 0);
  will-change: transform;
}
.motion .process.is-pinned .step {
  width: clamp(360px, 33vw, 500px);
  padding-right: var(--space-12);
  border-top: 0;
  opacity: 0.32;
  transition: opacity 0.6s;
}
.motion .process.is-pinned .step.is-active { opacity: 1; }
.motion .process.is-pinned .step::before {
  content: "";
  position: absolute;
  left: 0;
  right: var(--space-12);
  top: 0;
  height: 1px;
  background: var(--line);
}
.motion .process.is-pinned .process-rail {
  display: block;
  margin-top: clamp(40px, 7vh, 88px);
}
.rail {
  position: relative;
  height: var(--bar);
  background: var(--line);
}
.rail-fill {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}
.rail-truck {
  position: absolute;
  left: 0;
  bottom: calc(100% + 2px);
  width: 88px;
  color: var(--ink);
  transform: translate3d(calc(var(--p, 0) * (var(--rail-w, 1000px) - 88px)), 0, 0);
}

/* Vision */
.vision-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.vision-mark { width: clamp(64px, 8vw, 128px); }
.vision-quote { display: grid; gap: var(--space-8); }
.vision-quote blockquote { margin: 0; }
.vision-quote p {
  font-size: clamp(30px, 4.1vw, 66px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.vision-quote figcaption { font-size: var(--fs-fine); line-height: 1.5; color: var(--band-dark-muted); }
.kw .ws,
.kw { color: var(--green); }

@media (max-width: 760px) {
  .vision-inner { grid-template-columns: minmax(0, 1fr); }
}

/* 12. Inner pages ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 112px) clamp(64px, 8vw, 120px);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: var(--space-8) var(--space-12);
  align-items: end;
}
.page-title {
  font-size: clamp(56px, 10vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.page-title.is-long { font-size: clamp(48px, 7.6vw, 124px); max-width: 12em; }
.page-hero .lead { margin-top: var(--space-8); max-width: 34em; }
.page-hero-art { position: relative; width: clamp(150px, 26vw, 420px); }
.page-hero-art canvas { width: 100%; height: auto; aspect-ratio: 1.25; }
.page-hero-art.is-mark { width: clamp(96px, 14vw, 210px); margin-right: clamp(0px, 4vw, 64px); }
.datum {
  position: absolute;
  inset: -22%;
  color: var(--line-strong);
  pointer-events: none;
}
.datum svg { width: 100%; height: 100%; }
.datum .ring { transform-origin: 50% 50%; animation: spin 40s linear infinite; }

.laser-readout {
  margin-top: var(--space-3);
  font-size: var(--fs-fine);
  line-height: 1.2;
  color: var(--ink-muted);
  white-space: pre;
  font-variant-numeric: tabular-nums;
}

/* Hero ring: the sectors orbit the mark */
.page-hero-art.is-ring { width: clamp(260px, 34vw, 480px); aspect-ratio: 1; }
.ring-guide {
  position: absolute;
  inset: 0;
  color: var(--line-strong);
}
.ring-guide svg { width: 100%; height: 100%; }
.sector-ring {
  position: absolute;
  inset: 0;
  animation: spin 60s linear infinite;
}
.sector-ring > span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15%;
  margin: -7.5% 0 0 -7.5%;
  transform: rotate(calc(var(--k) * 36deg)) translate3d(0, -265%, 0) rotate(calc(var(--k) * -36deg));
}
.sector-ring > span > span {
  display: block;
  animation: spin-rev 60s linear infinite;
}
.ring-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  transform: translate(-50%, -50%);
}

@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .page-hero-art.is-ring { width: min(100%, 360px); }
  .page-hero-art { width: min(100%, 460px); }
  .page-hero-art.is-mark { width: 120px; margin: 24px 0 0 32px; }
}

/* About: story */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.story-copy { display: grid; gap: var(--space-8); }
.story-big {
  font-size: clamp(26px, 2.7vw, 44px);
  line-height: 1.32;
  letter-spacing: -0.012em;
}
.story-copy .body { color: var(--ink-muted); max-width: 34em; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
}

/* About: vision and mission */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.vm-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-12);
  min-height: clamp(320px, 34vw, 460px);
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 0.6s var(--ease-push);
}
.vm-card::before {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 60%;
  height: 70%;
  z-index: -1;
  -webkit-mask: var(--mark-tile) 0 0 / 48px 48px repeat;
  mask: var(--mark-tile) 0 0 / 48px 48px repeat;
  transition: transform 1.2s var(--ease-push);
}
.vm-card:hover::before { transform: translate3d(-24px, -24px, 0); }
.vm-card h3 { font-size: var(--fs-sub); line-height: 1.3; }
.vm-card p { font-size: clamp(24px, 2.3vw, 38px); line-height: 1.3; letter-spacing: -0.01em; }
.vm-vision { background: var(--green); color: var(--on-green); --ring-gap: var(--green); }
.vm-vision::before { background: var(--green-deep); }
.vm-mission { background: var(--band-dark); color: var(--band-dark-ink); }
.vm-mission::before { background: #4c4d4f; }
.vm-grid { perspective: 1400px; }
.motion .vm-grid .vm-card {
  transition: transform 1.3s var(--ease-push), opacity 0.9s var(--ease-out);
}
.motion .vm-grid:not(.is-in) .vm-vision { opacity: 0; transform: translate3d(-18%, 40px, 0) rotate(-3deg); }
.motion .vm-grid:not(.is-in) .vm-mission { opacity: 0; transform: translate3d(18%, 80px, 0) rotate(3deg); }

@media (max-width: 760px) {
  .vm-grid { grid-template-columns: minmax(0, 1fr); }
}

/* About: why UCI */

/* About: the group at a glance */
.glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 80px);
  margin: 0;
}
.glance-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-6);
  padding-block: var(--space-6);
}
.glance-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left center;
  transition: transform 1.3s var(--ease-inout);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion .glance:not(.is-in) .glance-row::before { transform: scaleX(0); }
.glance dt { font-size: var(--fs-fine); line-height: 1.5; color: var(--ink-muted); }
.glance dd { font-size: var(--fs-body); line-height: 1.5; }
.motion .glance dd {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-push);
  transition-delay: calc(var(--i, 0) * 90ms + 250ms);
}
.motion .glance.is-in dd { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .glance { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .glance-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
}

/* Services: capacity */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.cap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  min-height: 340px;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.cap-label { font-size: var(--fs-fine); line-height: 1.3; color: var(--ink-muted); }
.cap-value {
  font-size: clamp(34px, 3.3vw, 54px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.cap-note { font-size: var(--fs-fine); line-height: 1.5; }
.cap-viz {
  position: relative;
  margin-top: auto;
  padding-top: var(--space-6);
}

/* Weight: five blocks from 50 g to 30 t, smallest to largest */
.viz-weights {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 96px;
}
.viz-weights i {
  display: block;
  flex: none;
  border: 2px solid currentColor;
  border-radius: var(--radius-sm);
  transform-origin: 50% 100%;
}
.viz-weights i:nth-child(1) { width: 10px; height: 10px; }
.viz-weights i:nth-child(2) { width: 20px; height: 20px; }
.viz-weights i:nth-child(3) { width: 36px; height: 36px; }
.viz-weights i:nth-child(4) { width: 60px; height: 60px; }
.viz-weights i:nth-child(5) { width: 92px; height: 92px; background: var(--green); border-color: var(--green); }
.motion .viz-weights i {
  transform: scale(0);
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i, 0) * 140ms + 200ms);
}
.motion .is-in .viz-weights i { transform: none; }

/* Plate: 1 mm against 250 mm, to scale (1 mm = 0.32px, shown as a hairline) */
.viz-plates {
  display: flex;
  align-items: flex-end;
  gap: var(--space-6);
  height: 104px;
}
.viz-plate { display: grid; gap: var(--space-2); }
.viz-plate b {
  display: block;
  width: 96px;
  background: currentColor;
  transform-origin: 50% 100%;
}
.viz-plate.thin b { height: 1px; }
.viz-plate.thick b { height: 80px; background: var(--green); }
.viz-plate span { font-size: var(--fs-fine); line-height: 1; color: var(--ink-muted); }
.motion .viz-plate.thick b {
  transform: scaleY(0.0125);
  transition: transform 1.8s var(--ease-inout) 0.3s;
}
.motion .is-in .viz-plate.thick b { transform: none; }

.viz-dots canvas { width: 100%; height: 96px; }
.viz-beam { display: block; width: 132px; color: var(--ink); }

/* Services: the process chain */
.chain {
  position: relative;
  padding-left: clamp(44px, 6vw, 88px);
}
.chain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.chain::before,
.chain-progress {
  content: "";
  position: absolute;
  left: clamp(11px, 1.8vw, 23px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.chain-progress {
  width: 4px;
  margin-left: -1px;
  background: var(--green);
  transform: scaleY(var(--p, 1));
  transform-origin: 50% 0;
}
.chain-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-6) clamp(24px, 4vw, 64px);
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.chain-stage:last-child { border-bottom: 1px solid var(--line); }
.chain-node {
  position: absolute;
  left: calc(-1 * clamp(44px, 6vw, 88px) + clamp(11px, 1.8vw, 23px) - 12px);
  top: calc(clamp(32px, 4vw, 56px) + 2px);
  width: 26px;
  height: 34px;
  background: var(--surface);
  transition: transform 0.7s var(--ease-push);
}
.band-muted .chain-node { background: var(--surface-muted); }
.chain-node::before,
.chain-node::after {
  content: "";
  position: absolute;
  inset: 4px 2px;
  background: var(--line-strong);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
/* The green mark fills up from its foot, like a part being built up */
.chain-node::after {
  background: var(--green);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.9s var(--ease-inout);
}
.chain-stage.is-lit .chain-node { transform: scale(1.18); }
.chain-stage.is-lit .chain-node::after { clip-path: inset(0); }
.chain-stage h3 { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -0.012em; }
.chain-stage .chain-lede { margin-top: var(--space-3); font-size: var(--fs-fine); line-height: 1.5; color: var(--ink-muted); }
.tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  font-size: var(--fs-fine);
  line-height: 1.2;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.tag:hover { background: var(--green); border-color: var(--green); color: var(--on-green); }

@media (max-width: 760px) {
  .chain-stage { grid-template-columns: minmax(0, 1fr); }
}

/* Services: standards, stamped in */
.std-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.std {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  height: 100%;
  min-height: 210px;
  padding: clamp(20px, 2vw, 28px);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.std-code { font-size: var(--fs-sub); font-weight: 700; line-height: 1.2; }
.std-desc { font-size: var(--fs-fine); line-height: 1.5; }
.std-seal {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 21px;
  height: 30px;
  background: var(--green);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.motion .std-grid > li {
  opacity: 0;
  transform: scale(1.35) rotate(-5deg);
  transition: transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.25s linear;
  transition-delay: calc(var(--i, 0) * 130ms);
}
.motion .std-grid.is-in > li { opacity: 1; transform: none; }

/* Rail: the train that runs along its line */
.train-line {
  position: relative;
  height: clamp(80px, 9vw, 132px);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.train-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ink);
}
.train {
  position: absolute;
  left: 0;
  bottom: 3px;
  height: 100%;
  width: auto;
  max-width: none;
  color: var(--ink);
  transform: translate3d(calc((1 - var(--p, 0.5)) * 100vw - var(--p, 0.5) * 100%), 0, 0);
}
.train svg { height: 100%; width: auto; max-width: none; }

/* Contact */
.photo-band picture { display: block; width: 100%; height: 100%; }
.photo-band {
  position: relative;
  height: clamp(150px, 23.6vw, 354px);
  overflow: hidden;
  background: var(--surface-muted);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.motion .photo-band img {
  clip-path: inset(0 50% 0 50%);
  transform: scale(1.12);
  transition: clip-path 1.5s var(--ease-inout), transform 2.2s var(--ease-push);
}
.motion .photo-band.is-in img { clip-path: inset(0); transform: none; }

.band.contact { padding-top: clamp(40px, 6vw, 88px); }
.band.contact .lead { margin-top: var(--space-6); }
.offices-title { margin-inline: auto; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 72px);
}
.form-panel { min-width: 0; }
.form { display: grid; gap: var(--space-6); }
.form h2,
.form-success h2 { font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -0.012em; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}
.field { display: grid; gap: var(--space-2); min-width: 0; }
.field > label,
.field-label { font-size: var(--fs-fine); line-height: 1.3; }
.control { position: relative; }
.input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-fine);
  line-height: 1.4;
  transition: border-color 0.25s;
}
textarea.input { min-height: 176px; resize: vertical; }
select.input { padding-right: 44px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.control.is-select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.control-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease-push);
  pointer-events: none;
}
.control:focus-within .control-bar { transform: none; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: var(--fs-fine); line-height: 1.4; color: var(--ink-muted); }
.field-error {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-fine);
  line-height: 1.4;
  color: var(--danger);
}
.field-error svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

.drop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-6);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  text-align: center;
  transition: border-color 0.25s, background-color 0.25s;
}
.drop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--line);
  -webkit-mask: var(--mark-tile) center / 32px 32px repeat;
  mask: var(--mark-tile) center / 32px 32px repeat;
  opacity: 0;
  transition: opacity 0.3s;
}
.drop.is-over { border-color: var(--focus); background: var(--surface-muted); }
.drop.is-over::before { opacity: 1; animation: drift 2s linear infinite; }
.drop:focus-within { box-shadow: 0 0 0 2px var(--ring-gap), 0 0 0 4px var(--focus); }
.drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drop-icon { position: relative; width: 28px; height: 28px; }
.drop-icon::before,
.drop-icon::after { content: ""; position: absolute; background: var(--green); }
.drop-icon::before { left: 13px; top: 0; width: 2px; height: 28px; }
.drop-icon::after { left: 0; top: 13px; width: 28px; height: 2px; }
.drop-title { position: relative; font-size: var(--fs-fine); line-height: 1.4; }
.drop-title u { text-decoration-color: var(--link-underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.drop-files {
  display: grid;
  gap: var(--space-1);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-fine);
  line-height: 1.4;
}
.drop-files li { display: flex; gap: var(--space-2); align-items: center; }
.drop-files li::before { content: "\2022"; font-family: Arial, sans-serif; }
@keyframes drift { to { -webkit-mask-position: 32px 32px; mask-position: 32px 32px; } }

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
}
.form-submit p { font-size: var(--fs-fine); line-height: 1.4; color: var(--ink-muted); }
.btn.is-sending::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: #000000;
  transform-origin: left center;
  animation: sending 1.4s var(--ease-inout) forwards;
}
@keyframes sending { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.form-alert {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--danger-soft);
  color: var(--ink);
  font-size: var(--fs-fine);
  line-height: 1.5;
}
.form-alert svg { flex: none; width: 22px; height: 22px; color: var(--danger); }

.form-success {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-md);
  background: var(--success-soft);
}
.form-success h2 { display: flex; align-items: center; gap: var(--space-3); outline: none; }
.form-success h2 svg { flex: none; width: 40px; height: 40px; color: var(--success); }
.form-success p { font-size: var(--fs-body); line-height: 1.6; max-width: 30em; }
.check-draw {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw-check 0.8s var(--ease-inout) 0.35s forwards;
}
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.motion .form-success { animation: success-in 0.9s var(--ease-push) both; }
@keyframes success-in { from { opacity: 0; transform: translate3d(0, 48px, 0); } to { opacity: 1; transform: none; } }

.aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: var(--space-6);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}
.aside h2 { font-size: var(--fs-sub); line-height: 1.3; }
.aside .bullets li { font-size: var(--fs-fine); }

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--space-4);
  margin-top: clamp(32px, 4vw, 56px);
  text-align: left;
}
.office {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.office h3 { font-size: var(--fs-sub); line-height: 1.3; }
.office address { font-size: var(--fs-body); line-height: 1.6; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: relative; top: 0; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
}

/* 13. Icon and art loops ----------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes nod { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(6deg); } }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -1.5px, 0); } }
@keyframes dash { to { stroke-dashoffset: -16; } }
@keyframes ties { to { transform: translate3d(-12px, 0, 0); } }
@keyframes road { to { transform: translate3d(-48px, 0, 0); } }
@keyframes pulse { 0%, 100% { opacity: 0.15; } 40% { opacity: 1; } }
@keyframes rays { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(22.5deg) scale(1.12); } }
@keyframes hoist { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, 9px, 0); } }
@keyframes trolley { 0%, 100% { transform: translate3d(-8px, 0, 0); } 50% { transform: translate3d(8px, 0, 0); } }
@keyframes wave { 0%, 60%, 100% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(0, -4px, 0); } }
@keyframes scan { 0%, 100% { transform: translate3d(-6px, -4px, 0); } 50% { transform: translate3d(6px, 4px, 0); } }
@keyframes write { 0% { stroke-dashoffset: 30; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes jaw { 0%, 100% { transform: translate3d(0, 0, 0); } 45%, 65% { transform: translate3d(-12px, 0, 0); } }
@keyframes tick { 0%, 40% { stroke-dashoffset: 24; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes drive { 0%, 100% { transform: translate3d(-3px, 0, 0); } 50% { transform: translate3d(3px, 0, 0); } }
@keyframes converge { 0%, 100% { stroke-dashoffset: 0; } 50% { stroke-dashoffset: -12; } }

.a-spin { animation: spin 3.4s linear infinite; }
.a-spin-slow { animation: spin 6s linear infinite; }
.a-spin-fast { animation: spin 2.2s linear infinite; }
.a-rev { animation: spin-rev 4.5s linear infinite; }
.a-nod { animation: nod 2.2s ease-in-out infinite; }
.a-swing { animation: swing 3s ease-in-out infinite; }
.a-bob { animation: bob 0.5s ease-in-out infinite; }
.a-dash { stroke-dasharray: 3 5; animation: dash 0.9s linear infinite; }
.a-ties { animation: ties 0.5s linear infinite; }
.a-road { animation: road 0.7s linear infinite; }
.a-pulse { animation: pulse 1.8s ease-in-out infinite; }
.a-pulse.d1 { animation-delay: 0.25s; }
.a-pulse.d2 { animation-delay: 0.5s; }
.a-rays { animation: rays 4s ease-in-out infinite; }
.a-hoist { animation: hoist 2.6s ease-in-out infinite; }
.a-trolley { animation: trolley 5.2s ease-in-out infinite; }
.a-wave { animation: wave 1.8s ease-in-out infinite; }
.a-wave.d1 { animation-delay: 0.2s; }
.a-wave.d2 { animation-delay: 0.4s; }
.a-scan { animation: scan 2.4s ease-in-out infinite; }
.a-write { stroke-dasharray: 30; animation: write 2.6s ease-in-out infinite; }
.a-write.d1 { animation-delay: 0.3s; }
.a-write.d2 { animation-delay: 0.6s; }
.a-jaw { animation: jaw 2.8s var(--ease-inout) infinite; }
.a-tick { stroke-dasharray: 24; animation: tick 2.8s var(--ease-inout) infinite; }
.a-drive { animation: drive 1.6s ease-in-out infinite; }
.a-converge { stroke-dasharray: 4 4; animation: converge 1.2s linear infinite; }

/* Big art loops */
@keyframes torch { 0% { transform: translate3d(0, 0, 0); } 85% { transform: translate3d(232px, 0, 0); } 100% { transform: translate3d(232px, 0, 0); } }
@keyframes rope { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.5625); } }
@keyframes bead { 0% { stroke-dashoffset: 120; } 85%, 100% { stroke-dashoffset: 0; } }
@keyframes spark { 0% { transform: rotate(var(--a)) translate3d(0, 0, 0) scaleX(0.2); opacity: 1; } 100% { transform: rotate(var(--a)) translate3d(var(--l), 0, 0) scaleX(1); opacity: 0; } }
@keyframes feed { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-120px, 0, 0); } }
@keyframes stripe { to { transform: translate3d(0, 24px, 0); } }
@keyframes chip { 0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 1; } 100% { transform: translate3d(var(--dx), 46px, 0) rotate(220deg); opacity: 0; } }
@keyframes mist { 0% { transform: translate3d(0, 0, 0) scale(0.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate3d(var(--dx), var(--dy), 0) scale(1.2); opacity: 0; } }
@keyframes coat { 0% { transform: scaleY(0); } 70%, 90% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes slide-jaw { 0%, 100% { transform: translate3d(0, 0, 0); } 40%, 70% { transform: translate3d(-58px, 0, 0); } }
@keyframes check { 0%, 38% { stroke-dashoffset: 60; } 52%, 72% { stroke-dashoffset: 0; } 86%, 100% { stroke-dashoffset: -60; } }
@keyframes speed { 0% { transform: translate3d(24px, 0, 0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate3d(-40px, 0, 0); opacity: 0; } }
@keyframes blade { to { transform: rotate(360deg); } }
@keyframes gust { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -60; } }

.a-torch { animation: torch 3s linear infinite; }
.a-bead { stroke-dasharray: 120; animation: bead 3s linear infinite; }
.a-spark {
  transform-origin: 0 0;
  animation: spark 0.45s linear infinite;
  animation-delay: var(--t, 0s);
}
.a-feed { animation: feed 4s ease-in-out infinite; }
.a-stripe { animation: stripe 0.32s linear infinite; }
.a-chip { animation: chip 0.9s ease-in infinite; animation-delay: var(--t, 0s); }
.a-mist { animation: mist 1.2s ease-out infinite; animation-delay: var(--t, 0s); }
.a-coat { animation: coat 4.8s var(--ease-inout) infinite; }
.a-rope { animation: rope 2.6s ease-in-out infinite; }
.a-slide { animation: slide-jaw 3.6s var(--ease-inout) infinite; }
.a-check { stroke-dasharray: 60; animation: check 3.6s var(--ease-inout) infinite; }
.a-speed { animation: speed 0.9s linear infinite; animation-delay: var(--t, 0s); }
.a-blade { animation: blade var(--s, 4s) linear infinite; }
.a-gust { stroke-dasharray: 18 42; stroke-opacity: 0.55; animation: gust 2.4s linear infinite; animation-delay: var(--t, 0s); }

/* 16. Expanded site: products, proof, presence, people and articles ---------- */
.nav-list { gap: 28px; }
.odo-static { white-space: pre; }
.stack-card .link-arrow { margin-top: var(--space-6); }
.footer-col.is-links { flex: 1 1 140px; }
.cta > .wrap { position: relative; }
.page-hero .btn-row { margin-top: var(--space-8); }
.vmv-grid { align-items: start; }
.voice { height: 100%; }
.footer-col address .link { min-height: 0; }

/* Content the company still has to supply: a warning-soft notice, never hidden */
.todo-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  justify-self: start;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--warning-soft);
  color: var(--warning);
  font-size: var(--fs-fine);
  font-weight: 400;
  line-height: 1.3;
}
.todo-badge::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: currentColor;
}
.todo-box {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  background: var(--warning-soft);
  color: var(--ink);
  font-size: var(--fs-fine);
  line-height: 1.55;
}
.todo-box strong { color: var(--warning); }
* + .todo-box { margin-top: var(--space-8); }

/* Hero credentials */
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-line li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  font-size: var(--fs-fine);
  line-height: 1.2;
}
.trust-line li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--green);
}

/* Products: specific parts, one card per product line */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tile.product-card,
.tile.post-card {
  justify-content: flex-start;
  gap: var(--space-4);
  min-height: 340px;
}
.product-card .tile-name { font-size: clamp(26px, 2.1vw, 34px); line-height: 1.1; letter-spacing: -0.012em; }
.product-items,
.post-excerpt,
.post-meta {
  font-size: var(--fs-fine);
  line-height: 1.55;
  color: var(--ink-muted);
  transition: color 0.35s;
}
.learn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: var(--fs-fine);
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.learn svg { flex: none; width: 20px; height: 20px; transition: transform 0.45s var(--ease-push); }
a.tile:hover .product-items,
a.tile:focus-visible .product-items,
a.tile:hover .post-excerpt,
a.tile:focus-visible .post-excerpt,
a.tile:hover .post-meta,
a.tile:focus-visible .post-meta { color: var(--on-green); }
a.tile:hover .learn,
a.tile:focus-visible .learn { text-decoration-color: currentColor; }
a.tile:hover .learn svg { transform: translateX(6px); }
@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .tile.product-card,
  .tile.post-card { min-height: 0; }
}

/* Why UCI: figures, then the reasons behind them */
.stat-grid.is-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: clamp(32px, 4vw, 56px); }
.stat-grid.is-wide .stat-value { font-size: clamp(48px, 5vw, 80px); }
.stat.is-todo .stat-value { color: var(--ink-muted); }
.stat.is-todo::before { background: var(--line-strong); }
@media (max-width: 1023px) {
  .stat-grid.is-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .stat-grid.is-wide { grid-template-columns: minmax(0, 1fr); }
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: clamp(56px, 7vw, 104px) 0 0;
  padding: 0;
  list-style: none;
}
.usp,
.sustain-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  --tone-bg: var(--surface-raised);
}
.usp .ico-host,
.sustain-item .ico-host { width: 56px; margin-bottom: var(--space-3); }
.usp h3,
.sustain-item h3 { font-size: var(--fs-sub); line-height: 1.25; }
.usp p,
.sustain-item p { font-size: var(--fs-fine); line-height: 1.55; }
@media (max-width: 1100px) {
  .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .usp-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Customer logos */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-slot {
  display: grid;
  place-items: center;
  min-height: 128px;
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink-muted);
  font-size: var(--fs-fine);
  line-height: 1.3;
  text-align: center;
  transition: border-color 0.3s;
}
.logo-slot:hover { border-color: var(--green); }
.logo-slot img { width: auto; max-width: 100%; max-height: 56px; }
@media (max-width: 760px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Case studies: titles as an index; a preview card trails the pointer */
.case-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.case-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 14em) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3) var(--space-8);
  padding: clamp(22px, 2.6vw, 36px) var(--space-4);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.35s;
}
.case-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.6s var(--ease-push);
}
.case-sector { font-size: var(--fs-fine); line-height: 1.3; color: var(--ink-muted); transition: color 0.35s; }
.case-title {
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  transition: transform 0.6s var(--ease-push);
}
.case-row > svg { width: 32px; height: 32px; flex: none; transition: transform 0.6s var(--ease-push); }
a.case-row:hover,
a.case-row:focus-visible { color: var(--on-green); --ring-gap: var(--surface); }
a.case-row:hover::before,
a.case-row:focus-visible::before { transform: none; }
a.case-row:hover .case-sector,
a.case-row:focus-visible .case-sector { color: var(--on-green); }
a.case-row:hover .case-title { transform: translate3d(12px, 0, 0); }
a.case-row:hover > svg { transform: rotate(-45deg); }
@media (max-width: 760px) {
  .case-row { grid-template-columns: minmax(0, 1fr) auto; }
  .case-sector { grid-column: 1 / -1; }
}
.case-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  width: 180px;
  height: 150px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  --tone-bg: var(--surface-raised);
}
.case-preview.is-on { opacity: 1; }
.case-preview-in { width: 96px; transform: scale(0.5); transition: transform 0.5s var(--ease-push); }
.case-preview.is-on .case-preview-in { transform: none; }

/* Testimonials */
.carousel-viewport { position: relative; display: grid; }
.quote-slide {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: var(--space-8);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 64px, 0);
  transition: opacity 0.5s, transform 0.9s var(--ease-push), visibility 0s linear 0.9s;
}
.quote-slide.is-leaving { transform: translate3d(0, -64px, 0); }
.quote-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.7s 0.15s, transform 1s var(--ease-push) 0.15s, visibility 0s;
}
html:not(.js) .quote-slide:first-child { opacity: 1; visibility: visible; transform: none; }
.quote-slide blockquote { margin: 0; }
.quote-slide p {
  max-width: 28em;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.quote-slide figcaption { display: grid; gap: var(--space-1); font-size: var(--fs-fine); line-height: 1.4; color: var(--ink-muted); }
.quote-slide figcaption b { font-size: var(--fs-sub); color: var(--ink); }
.carousel-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: clamp(32px, 4vw, 56px);
}
.carousel-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: var(--fs-fine);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.3s;
}
.carousel-btn:hover { background: var(--surface-muted); }
.carousel-btn svg { width: 20px; height: 20px; flex: none; }
.carousel-btn[disabled] { opacity: 0.45; cursor: default; }
.carousel-count { font-size: var(--fs-sub); font-variant-numeric: tabular-nums; }

/* Global presence map */
.map-wrap { position: relative; }
.map-canvas { display: block; width: 100%; height: auto; aspect-ratio: 180 / 68; }
.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: 0;
  height: 0;
  transition: opacity 0.6s var(--ease-out) 1.2s, transform 0.8s var(--ease-push) 1.2s;
}
.motion .map-wrap:not(.is-in) .map-pin { opacity: 0; transform: scale(0.4); }
.map-pin-mark,
.swatch-pin::before {
  background: var(--ink);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.map-pin-mark { position: absolute; left: -9px; top: -13px; width: 18px; height: 26px; }
.map-pin-ring {
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--green);
  border-radius: 9999px;
  animation: pin-pulse 2.6s ease-out infinite;
}
.map-pin-label {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  font-size: var(--fs-fine);
  line-height: 1.25;
  white-space: nowrap;
}
.map-pin.is-left .map-pin-label { left: auto; right: 18px; }
@keyframes pin-pulse { from { transform: scale(0.35); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-fine);
  line-height: 1.35;
}
.map-legend li { display: flex; align-items: center; gap: var(--space-3); }
.swatch { position: relative; flex: none; width: 20px; height: 20px; }
.swatch-region::before,
.swatch-land::before { content: ""; position: absolute; inset: 4px; background: var(--green); }
.swatch-land::before { background: var(--line-strong); opacity: 0.45; }
.swatch-pin::before { content: ""; position: absolute; inset: 0 3px; }
.swatch-uci { width: 30px; height: 3px; background: var(--ink); }
.swatch-lane { width: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--draw) 0 4px, transparent 4px 9px); }
.map-note { margin-top: var(--space-4); max-width: 46em; font-size: var(--fs-fine); line-height: 1.55; color: var(--ink-muted); }
@media (max-width: 760px) {
  .map-pin-label { display: none; }
}

/* Milestones: a strip you drag through */
.timeline { position: relative; }
.timeline-track {
  display: flex;
  margin: 0;
  padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2)) var(--space-6);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  scrollbar-width: none;
  list-style: none;
  cursor: grab;
}
.timeline-track::-webkit-scrollbar { display: none; }
.timeline-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.has-cursor .timeline-track { cursor: none; }
.milestone {
  position: relative;
  flex: none;
  width: clamp(250px, 23vw, 330px);
  padding: 64px var(--space-8) 0 0;
  scroll-snap-align: start;
  transition: opacity 0.8s var(--ease-out), transform 1.1s var(--ease-push);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion .timeline:not(.is-in) .milestone { opacity: 0; transform: translate3d(64px, 0, 0); }
.milestone::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 23px;
  height: 2px;
  background: var(--line);
}
.milestone-node {
  position: absolute;
  left: 0;
  top: 7px;
  width: 26px;
  height: 34px;
  background: var(--tone-bg, var(--surface));
}
.milestone-node::before {
  content: "";
  position: absolute;
  inset: 3px 4px 3px 0;
  background: var(--green);
  -webkit-mask: var(--mark) left center / contain no-repeat;
  mask: var(--mark) left center / contain no-repeat;
  transition: clip-path 0.9s var(--ease-inout);
  transition-delay: calc(var(--i, 0) * 90ms + 300ms);
}
.motion .timeline:not(.is-in) .milestone-node::before { clip-path: inset(100% 0 0 0); }
.milestone-year {
  display: block;
  font-size: clamp(48px, 5.2vw, 80px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--draw);
  font-variant-numeric: tabular-nums;
}
.milestone h3 { margin-top: var(--space-4); font-size: var(--fs-sub); line-height: 1.25; }
.milestone p { margin-top: var(--space-2); font-size: var(--fs-fine); line-height: 1.5; color: var(--ink-muted); }
.timeline-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-8);
  margin-top: var(--space-4);
}
.timeline-bar { position: relative; flex: 1 1 240px; height: 4px; background: var(--line); }
.timeline-bar i {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(var(--tp, 0));
  transform-origin: left center;
}
.tl-btns { display: flex; gap: var(--space-2); }

/* Vision, mission and values */
.vmv-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.vmv-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--fs-fine);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink-muted);
}
.vmv-label::before { content: ""; flex: none; width: 32px; height: 4px; background: var(--green); }
.vmv-mission { font-size: clamp(22px, 2vw, 30px); line-height: 1.4; }
.values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.values li {
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
  transition: color 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 180ms + 200ms);
}
.motion .values:not(.is-in) li { color: transparent; }
@media (max-width: 860px) {
  .vmv-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Sustainability */
.sustain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 900px) {
  .sustain-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Products page */
.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}
.chip-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: var(--fs-fine);
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.chip-nav a:hover { background: var(--green); border-color: var(--green); color: var(--on-green); }
.line-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.line-copy .lead { margin-top: var(--space-6); }
.line-art {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: grid;
  place-items: center;
  padding: clamp(24px, 3vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  --tone-bg: var(--surface-raised);
}
.band-muted .line-art { background: var(--surface); --tone-bg: var(--surface); }
.line-art > * { width: 100%; max-width: 300px; }
.line-art .art-host { max-width: 420px; }
.line-groups { display: grid; gap: var(--space-8); margin-top: clamp(32px, 4vw, 48px); }
.line-group h3 { margin-bottom: var(--space-3); font-size: var(--fs-sub); line-height: 1.25; }
.line-group p { margin-bottom: var(--space-3); max-width: 38em; font-size: var(--fs-fine); line-height: 1.55; color: var(--ink-muted); }
.line-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: clamp(32px, 4vw, 48px);
}
.line .train-line { margin-bottom: clamp(32px, 4vw, 56px); }
@media (max-width: 860px) {
  .line-grid { grid-template-columns: minmax(0, 1fr); }
  .line-art { position: relative; top: 0; order: -1; }
  .line-art > * { max-width: 200px; }
}

/* About: plants and leadership */
.plants {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.plant {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: var(--space-2) var(--space-8);
  align-items: baseline;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--line);
}
.plant-year {
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--draw);
  font-variant-numeric: tabular-nums;
}
.plant-place { font-size: var(--fs-sub); font-weight: 700; line-height: 1.25; }
.plant-what { font-size: var(--fs-fine); line-height: 1.55; }
@media (max-width: 760px) {
  .plant { grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr); }
  .plant-what { grid-column: 2; }
}
.leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.leader,
.voice {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.leader h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; letter-spacing: -0.01em; }
.leader .role { font-size: var(--fs-fine); line-height: 1.4; color: var(--ink-muted); }
.leader p { margin-top: var(--space-2); font-size: var(--fs-fine); line-height: 1.55; }
@media (max-width: 700px) {
  .leaders { grid-template-columns: minmax(0, 1fr); }
}

/* Careers */
.job-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.job-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 12rem) minmax(0, 9rem);
  gap: var(--space-2) var(--space-6);
  align-items: center;
  padding: var(--space-6) var(--space-2);
  border-bottom: 1px solid var(--line);
}
.job-title { font-size: var(--fs-sub); font-weight: 700; line-height: 1.25; }
.job-meta { font-size: var(--fs-fine); line-height: 1.4; color: var(--ink-muted); }
@media (max-width: 700px) {
  .job-row { grid-template-columns: minmax(0, 1fr); }
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.voice { gap: var(--space-6); }
.voice blockquote { margin: 0; }
.voice p { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; }
.voice figcaption { font-size: var(--fs-fine); line-height: 1.4; color: var(--ink-muted); }
@media (max-width: 700px) {
  .voice-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.post-meta { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); line-height: 1.3; }
.post-card .tile-name { font-size: clamp(24px, 2vw, 30px); line-height: 1.15; }
@media (max-width: 1023px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
}
.article-head { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 96px) clamp(40px, 5vw, 72px); }
.article-head .wrap { position: relative; z-index: 1; }
.link-back:hover svg { transform: translateX(-6px); }
.article-title { max-width: 18em; font-size: clamp(40px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -0.03em; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-6);
  font-size: var(--fs-fine);
  line-height: 1.4;
  color: var(--ink-muted);
}
.prose { max-width: 42em; font-size: var(--fs-body); line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -0.015em; }
.prose h3 { margin-top: 1.6em; font-size: var(--fs-sub); line-height: 1.3; }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--draw); }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.prose a:hover { text-decoration-color: currentColor; }
.callout {
  padding: var(--space-6);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  font-size: var(--fs-fine);
  line-height: 1.6;
}
.table-scroll { overflow-x: auto; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-fine); line-height: 1.45; }
.prose th,
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 700; border-bottom-color: var(--line-strong); }
.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: 42em;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
}

/* Case studies page */
.cs-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.cs-head .ico-host { width: 72px; }
.cs-title { max-width: 18em; font-size: clamp(34px, 4.2vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: clamp(32px, 4vw, 48px);
}
.cs-block {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.cs-block h3 { font-size: var(--fs-sub); line-height: 1.25; }
.cs-block p { font-size: var(--fs-fine); line-height: 1.55; }
.cs-block .tags { margin-top: var(--space-1); }
.cs-block.is-todo { border-color: transparent; background: var(--warning-soft); }
@media (max-width: 760px) {
  .cs-grid { grid-template-columns: minmax(0, 1fr); }
}

@keyframes meridian { to { transform: translate3d(12px, 0, 0); } }
@keyframes smoke { 0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate3d(5px, -14px, 0) scale(1.4); opacity: 0; } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.a-meridian { animation: meridian 1.6s linear infinite; }
.a-smoke { animation: smoke 2.4s ease-out infinite; }
.a-smoke.d1 { animation-delay: 0.8s; }
.a-smoke.d2 { animation-delay: 1.6s; }
.a-sway { animation: sway 3.2s ease-in-out infinite; }

/* 17. Drawing furniture ------------------------------------------------------ */
/* The pages read like an engineering drawing sheet: graph paper on the muted
   bands, bracketed corners on cards, sections numbered on dash-dot centre
   lines, titles dimensioned to their width, CAD rulers and a readout in the
   heroes, a ruled scroll gauge and a title block in the footer. The script adds
   the tags, dimensions, readout and title block; all are hidden from
   assistive technology. */

/* Graph paper: a 48px grid, the same pitch as the hero's mark grid */
.band-muted,
.tone-muted {
  background-image:
    linear-gradient(var(--grid-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-ink) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center -1px;
}

/* Bracketed corners, like the cursor's frame and a drawing's registration marks */
.cap,
.usp,
.sustain-item,
.office,
.leader,
.voice,
.cs-block,
.logo-slot { position: relative; }
:is(.tile, .cap, .usp, .sustain-item, .std, .office, .leader, .voice, .cs-block, .logo-slot, .line-art, .aside, .machine, .part)::after {
  content: "";
  position: absolute;
  inset: -1px;
  --c: var(--line-strong);
  background:
    linear-gradient(var(--c) 0 0) left top / var(--arm, 12px) 2px,
    linear-gradient(var(--c) 0 0) left top / 2px var(--arm, 12px),
    linear-gradient(var(--c) 0 0) right top / var(--arm, 12px) 2px,
    linear-gradient(var(--c) 0 0) right top / 2px var(--arm, 12px),
    linear-gradient(var(--c) 0 0) left bottom / var(--arm, 12px) 2px,
    linear-gradient(var(--c) 0 0) left bottom / 2px var(--arm, 12px),
    linear-gradient(var(--c) 0 0) right bottom / var(--arm, 12px) 2px,
    linear-gradient(var(--c) 0 0) right bottom / 2px var(--arm, 12px);
  background-repeat: no-repeat;
  pointer-events: none;
  transition: background-size 0.5s var(--ease-push);
}
.std::after { inset: -2px; --c: var(--green); }
a.tile:hover::after,
a.tile:focus-visible::after,
.std:hover::after { --c: currentColor; --arm: 24px; }
.std:hover::after { --c: var(--green); }
/* On reveal the brackets draw out from each corner */
@keyframes brackets-in { from { background-size: 0 2px, 2px 0, 0 2px, 2px 0, 0 2px, 2px 0, 0 2px, 2px 0; } }
.motion :is([data-stagger], [data-in]).is-in :is(.tile, .cap, .usp, .sustain-item, .std, .office, .leader, .voice, .cs-block, .logo-slot, .machine, .part)::after {
  animation: brackets-in 0.9s var(--ease-push) backwards;
  animation-delay: calc(var(--i, 0) * 75ms + 380ms);
}

/* Section hatching on the slots still waiting for content */
.logo-slot:not(:has(img)) {
  background: repeating-linear-gradient(-45deg, transparent 0 10px, var(--line) 10px 11px), var(--surface-raised);
}

/* Part numbers on the product cards */
.product-grid { counter-reset: part; }
.product-grid > li { counter-increment: part; }
.product-card .tile-top::after {
  content: "P-" counter(part, decimal-leading-zero);
  content: "P-" counter(part, decimal-leading-zero) / "";
  font-size: var(--fs-fine);
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  transition: color 0.35s;
}
a.tile:hover .tile-top::after,
a.tile:focus-visible .tile-top::after { color: var(--on-green); }

/* Technical labels */
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; }

/* Section tags: "§ 01" on a dash-dot centre line that ends in a tick */
.sec-tag {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: clamp(16px, 1.6vw, 24px);
  font-size: var(--fs-fine);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.sec-num { flex: none; font-variant-numeric: tabular-nums; }
.sec-line {
  position: relative;
  flex: 1 1 auto;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 22px, transparent 22px 27px, var(--line-strong) 27px 30px, transparent 30px 35px);
  transform-origin: left center;
}
.sec-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--line-strong);
}
.motion [data-split] .sec-line {
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-inout) 0.1s;
}
.motion [data-split].is-in .sec-line { transform: none; }

/* Dimension lines under the page titles */
.has-dim { position: relative; padding-bottom: 46px; }
.dim {
  position: absolute;
  bottom: 6px;
  height: 22px;
  color: var(--line-strong);
  font-size: var(--fs-fine);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.dim::before,
.dim::after {
  content: "";
  position: absolute;
  top: -8px;
  bottom: 0;
  width: 1px;
  background: currentColor;
  transform-origin: 50% 100%;
}
.dim::before { left: 0; }
.dim::after { right: 0; }
.dim-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: currentColor;
}
.dim-line::before,
.dim-line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 11px;
  height: 9px;
  background: currentColor;
}
.dim-line::before { left: 0; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.dim-line::after { right: 0; clip-path: polygon(100% 50%, 0 0, 0 100%); }
.dim-val {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0 12px;
  background: var(--surface);
  color: var(--ink-muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.motion .dim::before,
.motion .dim::after {
  transform: scaleY(0);
  transition: transform 0.6s var(--ease-push) 0.35s;
}
.motion .dim-line {
  transform: scaleX(0);
  transition: transform 1.3s var(--ease-inout) 0.45s;
}
.motion .dim-val {
  opacity: 0;
  transition: opacity 0.5s 0.6s;
}
.motion .is-in .dim::before,
.motion .is-in .dim::after,
.motion .is-in .dim-line { transform: none; }
.motion .is-in .dim-val { opacity: 1; }
@media (max-width: 640px) {
  .has-dim { padding-bottom: 0; }
  .dim { display: none; }
}

/* The hero's pointer readout, in millimetres from its lower left corner */
.cad-readout {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  margin: 0;
  padding: 4px 10px;
  background: var(--surface);
  font-size: var(--fs-fine);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  white-space: pre;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.cad-readout.is-on { opacity: 1; }

/* Figures sit on a scale */
.stat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 12px);
  opacity: 0.45;
}

/* The scroll gauge reads off a scale: a long tick every tenth, a short one every fiftieth */
.progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 7px;
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 10%) left bottom / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 2%) left bottom / 100% 3px no-repeat;
  opacity: 0.5;
}

/* The intro frames the lockup in registration brackets that close in on it */
.intro-logo::after {
  content: "";
  position: absolute;
  inset: -28px -36px;
  --c: var(--ink);
  background:
    linear-gradient(var(--c) 0 0) left top / 20px 2px,
    linear-gradient(var(--c) 0 0) left top / 2px 20px,
    linear-gradient(var(--c) 0 0) right top / 20px 2px,
    linear-gradient(var(--c) 0 0) right top / 2px 20px,
    linear-gradient(var(--c) 0 0) left bottom / 20px 2px,
    linear-gradient(var(--c) 0 0) left bottom / 2px 20px,
    linear-gradient(var(--c) 0 0) right bottom / 20px 2px,
    linear-gradient(var(--c) 0 0) right bottom / 2px 20px;
  background-repeat: no-repeat;
  animation: frame-in 1.1s var(--ease-push) 0.3s both;
}
@keyframes frame-in { from { opacity: 0; inset: -96px -120px; } }

/* Title block: the footer's last row, ruled like a drawing's title block */
.footer-base.title-block {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 2fr) repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: var(--space-8);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}
.title-block > p {
  display: grid;
  align-content: start;
  gap: var(--space-1);
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
}
.tb-key {
  font-size: var(--fs-fine);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tb-cell { font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .footer-base.title-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .footer-base.title-block { grid-template-columns: minmax(0, 1fr); }
}

/* 18. Facilities: plants, machines and capacity ----------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.split-aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: grid;
  gap: var(--space-8);
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-aside { position: relative; top: 0; }
}
* + .block.block { margin-top: clamp(40px, 5vw, 72px); }
.block-title {
  margin-bottom: var(--space-6);
  font-size: var(--fs-h3);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

/* Figures: photographs numbered and captioned like a drawing's figures */
main { counter-reset: fig; }
.fig { margin: 0; counter-increment: fig; }
.fig picture { position: relative; display: block; }
.fig img {
  width: 100%;
  aspect-ratio: var(--ar, 3 / 2);
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  background: var(--surface-muted);
}
.fig figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  padding-top: var(--space-3);
  font-size: var(--fs-fine);
  line-height: 1.4;
  color: var(--ink-muted);
}
.fig-no { flex: none; color: var(--ink); letter-spacing: 0.06em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.fig-no::before {
  content: "Fig. " counter(fig, decimal-leading-zero);
  content: "Fig. " counter(fig, decimal-leading-zero) / "";
}
.fig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fig-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .fig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .fig-grid,
  .fig-grid.is-two { grid-template-columns: minmax(0, 1fr); }
}

/* Machine cards: an icon, the count, and a spec sheet */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.machine-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .machine-grid,
  .machine-grid.is-two { grid-template-columns: minmax(0, 1fr); }
}
.machine {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  --tone-bg: var(--surface-raised);
}
.machine-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}
.machine-top .ico-host { width: 64px; flex: none; }
.machine-count {
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--draw);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.machine h3 { font-size: var(--fs-sub); line-height: 1.25; }
.machine > p { font-size: var(--fs-fine); line-height: 1.55; color: var(--ink-muted); }
.machine .todo-badge { margin-top: var(--space-1); }

/* Spec sheet: label and value rows, ruled like a drawing's tables */
.spec { display: grid; margin: auto 0 0; padding-top: var(--space-3); }
.spec > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-1) var(--space-3);
  padding-block: var(--space-2);
  border-top: 1px solid var(--line);
}
.spec dt {
  font-size: var(--fs-fine);
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.spec dd { font-size: var(--fs-fine); line-height: 1.4; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) {
  .spec > div { grid-template-columns: minmax(0, 1fr); }
}

/* Bar tables: a real table, each value drawn to scale as a bar */
.bar-table { width: 100%; border-collapse: collapse; font-size: var(--fs-fine); line-height: 1.3; }
.bar-table th,
.bar-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}
.bar-table thead th {
  padding-top: 0;
  border-bottom-color: var(--line-strong);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bar-table thead th:last-child { text-align: right; }
.bar-table tbody th { width: 34%; padding-right: var(--space-6); }
.bar-table small { display: block; font-size: var(--fs-fine); color: var(--ink-muted); }
.bar-cell { display: flex; align-items: center; gap: var(--space-4); }
.bar { position: relative; display: block; flex: 1 1 auto; height: 14px; }
.bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--v, 1) * 100%);
  border-radius: 0 4px 4px 0;
  background: var(--draw);
  transform-origin: left center;
  transition: transform 1.3s var(--ease-inout), background-color 0.25s;
  transition-delay: calc(var(--i, 0) * 90ms + 200ms), 0s;
}
.motion [data-in]:not(.is-in) .bar i { transform: scaleX(0); }
.bar-table tbody tr:hover .bar i,
.unit:hover .bar i { background: var(--green-deep); }
.bar-val { flex: none; min-width: 7.5em; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .bar-table tbody th { width: 42%; padding-right: var(--space-3); }
  .bar-val { min-width: 5.5em; }
}

/* Units: number, location and work, and floor area to scale */
.units {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.unit {
  display: grid;
  grid-template-columns: minmax(0, 4.5rem) minmax(0, 1fr) minmax(0, 13rem);
  gap: var(--space-2) var(--space-6);
  align-items: center;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.unit-no {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--draw);
  font-variant-numeric: tabular-nums;
}
.unit h3 { font-size: var(--fs-sub); line-height: 1.25; }
.unit p { margin-top: var(--space-1); font-size: var(--fs-fine); line-height: 1.5; color: var(--ink-muted); }
.unit-area { display: grid; gap: var(--space-2); font-size: var(--fs-fine); line-height: 1.2; font-variant-numeric: tabular-nums; }
.unit-area .bar { height: 10px; }
.unit.is-total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: -1px; }
.unit.is-total .unit-no { color: var(--ink); }
@media (max-width: 760px) {
  .unit { grid-template-columns: minmax(0, 3rem) minmax(0, 1fr); }
  .unit-area { grid-column: 2; }
}

/* Spec table: thickness and monthly capacity by metal */
.spec-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--fs-fine); line-height: 1.4; }
.spec-table th,
.spec-table td { padding: 12px 14px; border: 1px solid var(--line-strong); text-align: left; vertical-align: top; font-variant-numeric: tabular-nums; }
.spec-table thead th { font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface); }
.spec-table tbody th { font-weight: 700; }
.spec-table td { background: var(--surface-raised); }
.spec-table caption { padding-bottom: var(--space-3); font-size: var(--fs-fine); line-height: 1.5; color: var(--ink-muted); text-align: left; }

.fig picture::after {
  content: "";
  position: absolute;
  inset: -6px;
  --c: var(--line-strong);
  background:
    linear-gradient(var(--c) 0 0) left top / var(--arm, 12px) 2px,
    linear-gradient(var(--c) 0 0) left top / 2px var(--arm, 12px),
    linear-gradient(var(--c) 0 0) right top / var(--arm, 12px) 2px,
    linear-gradient(var(--c) 0 0) right top / 2px var(--arm, 12px),
    linear-gradient(var(--c) 0 0) left bottom / var(--arm, 12px) 2px,
    linear-gradient(var(--c) 0 0) left bottom / 2px var(--arm, 12px),
    linear-gradient(var(--c) 0 0) right bottom / var(--arm, 12px) 2px,
    linear-gradient(var(--c) 0 0) right bottom / 2px var(--arm, 12px);
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Machine icons and the press brake */
@keyframes dip { 0%, 100% { transform: translate3d(0, 0, 0); } 45%, 62% { transform: translate3d(0, 14px, 0); } }
.a-dip { animation: dip 3.4s var(--ease-inout) infinite; }
@keyframes brake-ram {
  0%, 16% { transform: translate3d(0, 0, 0); }
  36.4% { transform: translate3d(0, 18px, 0); }
  50%, 62% { transform: translate3d(0, 30px, 0); }
  84%, 100% { transform: translate3d(0, 0, 0); }
}
@keyframes brake-sheet {
  0%, 36.4% { transform: translate3d(0, 0, 0); opacity: 1; }
  50%, 84% { transform: translate3d(0, 12px, 0); opacity: 1; }
  91% { transform: translate3d(0, 12px, 0); opacity: 0; }
  92% { transform: translate3d(0, 0, 0); opacity: 0; }
  100% { transform: translate3d(0, 0, 0); opacity: 1; }
}
@keyframes brake-l { 0%, 36.4% { transform: rotate(0); } 50%, 91% { transform: rotate(38deg); } 92%, 100% { transform: rotate(0); } }
@keyframes brake-r { 0%, 36.4% { transform: rotate(0); } 50%, 91% { transform: rotate(-38deg); } 92%, 100% { transform: rotate(0); } }
@keyframes brake-arc {
  0%, 52% { opacity: 0; stroke-dashoffset: 40; }
  60%, 82% { opacity: 1; stroke-dashoffset: 0; }
  88%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
.a-brake-ram { animation: brake-ram 4.2s linear infinite; }
.a-brake-sheet { animation: brake-sheet 4.2s linear infinite; }
.a-brake-l { animation: brake-l 4.2s linear infinite; }
.a-brake-r { animation: brake-r 4.2s linear infinite; }
.a-brake-arc { animation: brake-arc 4.2s var(--ease-out) infinite; }
html:not(.motion) .a-brake-arc { opacity: 0; }

/* 19. Parts library: each cut-out photograph on a turntable --------------- */
.parts-lib .section-head { margin-bottom: var(--space-8); }
.parts-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.parts-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-fine);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.parts-tab:hover { border-color: var(--green); }
.parts-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.parts-tab-n {
  min-width: 2ch;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}
.parts-tab[aria-selected="true"] .parts-tab-n { color: inherit; opacity: 0.7; }
.parts-group + .parts-group { margin-top: clamp(48px, 6vw, 88px); }
.is-tabbed .parts-group + .parts-group { margin-top: 0; }
.parts-group-title { margin-bottom: var(--space-6); font-size: var(--fs-h3); }
.is-tabbed .parts-group-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.parts-group:focus-visible { outline: 2px solid var(--focus); outline-offset: 8px; }
.parts-sub {
  margin: var(--space-8) 0 var(--space-4);
  font-size: var(--fs-fine);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.parts-sub:first-of-type { margin-top: 0; }
.part-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 520px) {
  .part-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
}

.part {
  --ry: -14deg;
  --rx: 9deg;
  --lift: 0.5;
  --sh: 0.5;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.part-stage {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  container-type: size;
  perspective: 760px;
  perspective-origin: 50% 24%;
  background: radial-gradient(115% 90% at 50% 18%, var(--studio-hi) 0%, var(--studio-lo) 82%);
}
/* Without the script the photograph sits plain in the studio */
.part-stage > img {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.part-model {
  position: absolute;
  left: 50%;
  bottom: 25%;
  width: min(80cqw, calc(60cqh * var(--ar, 1)));
  aspect-ratio: var(--ar, 1);
  transform-origin: 50% 100%;
  transform:
    translate3d(-50%, calc(var(--lift) * -5px), 0)
    rotateX(calc((var(--rx) - 9deg) * 0.6))
    rotateY(calc(var(--ry) * 0.55));
}
.part-model > img,
.part-edges,
.part-sheen,
.part-shadow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.part-model > img { object-fit: fill; }
.part-model:not(.has-maps) :is(.part-shadow, .part-edges, .part-sheen) { display: none; }
/* The silhouette, flattened onto the floor */
.part-shadow {
  background: #000;
  transform-origin: 50% 100%;
  transform: translate3d(0, 4%, 0) scaleY(0.12) skewX(calc(var(--ry) * -0.5));
  filter: blur(5px);
  opacity: calc(0.42 - var(--lift) * 0.1);
}
/* A highlight that slides across the metal as the part turns */
.part-sheen {
  background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, 0.5) 48%, transparent 64%) no-repeat;
  background-size: 320% 100%;
  background-position: calc(var(--sh) * 100%) 0;
  mix-blend-mode: soft-light;
}
/* The part's edges as a green wireframe: drawn on load and on hover */
.part-edges {
  background: var(--draw);
  opacity: 0;
  transition: opacity 0.35s;
}
.part:hover .part-edges { opacity: 0.85; }
.part-scan {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 100%;
  height: 16px;
  background: linear-gradient(var(--draw) 0 2px, color-mix(in srgb, var(--draw) 22%, transparent) 2px, transparent);
  opacity: 0;
  pointer-events: none;
}
/* The turntable: a grid floor that turns with the part */
.part-floor {
  position: absolute;
  left: 50%;
  top: 75%;
  width: 170cqw;
  height: 170cqw;
  margin: -85cqw 0 0 -85cqw;
  transform: rotateX(calc(80deg - var(--rx))) rotateZ(var(--ry));
  background-image:
    linear-gradient(var(--studio-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--studio-grid) 1px, transparent 1px);
  background-size: 8.5cqw 8.5cqw;
  background-position: center;
  -webkit-mask: radial-gradient(closest-side, #000 18%, transparent 92%);
  mask: radial-gradient(closest-side, #000 18%, transparent 92%);
  pointer-events: none;
}
.part-floor::before,
.part-floor::after {
  content: "";
  position: absolute;
  inset: 30%;
  border: 1px dashed var(--draw);
  border-radius: 50%;
  opacity: 0.55;
}
.part-floor::after {
  inset: 67% 50% 27% calc(50% - 1px);
  width: 2px;
  border: 0;
  border-radius: 0;
  background: var(--draw);
  opacity: 0.9;
}
/* View triad: X green, Y ink, Z grey */
.part-axes {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: perspective(240px) rotateX(calc(-1 * var(--rx) - 12deg)) rotateY(var(--ry));
  pointer-events: none;
}
.part-axes i {
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 2px;
  transform-origin: 0 50%;
}
.part-axes .ax-x { background: var(--draw); }
.part-axes .ax-y { background: var(--ink); transform: rotateZ(-90deg); }
.part-axes .ax-z { background: var(--ink-muted); transform: rotateY(-90deg); }
.part-hud {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  white-space: pre;
  color: var(--ink-muted);
  pointer-events: none;
}
.part figcaption {
  display: grid;
  gap: 2px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}
.part-no {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}
.part-name { font-size: 17px; font-weight: 600; line-height: 1.3; }
.part-meta { font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
.part-inspect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.part-inspect svg { width: 18px; height: 18px; flex-shrink: 0; }
.part-inspect:hover { color: var(--draw); }
.has-part-dialog { overflow: hidden; }
.part-dialog {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  overflow: auto;
}
.part-dialog::backdrop { background: rgba(8, 19, 16, 0.78); }
.part-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  margin: 12px 12px 0 auto;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.part-dialog-close svg { width: 18px; height: 18px; }
.part-dialog-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); }
.part-dialog-media {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 32px;
  background: radial-gradient(115% 90% at 50% 18%, var(--studio-hi), var(--studio-lo));
}
.part-dialog-media img { width: auto; height: auto; max-width: 100%; max-height: min(65dvh, 650px); object-fit: contain; }
.part-dialog-info { align-self: center; padding: 36px; }
.part-dialog-info h2 { margin: 12px 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
.part-dialog-meta { color: var(--ink-muted); }
.part-dialog-spec { margin: 24px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.part-dialog-note { margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
@media (max-width: 700px) {
  .part-dialog-layout { grid-template-columns: 1fr; }
  .part-dialog-media { min-height: 240px; padding: 24px; }
  .part-dialog-media img { max-height: 42dvh; }
  .part-dialog-info { padding: 24px; }
}
@media (max-width: 520px) {
  .part figcaption { padding: 10px 12px 12px; }
  .part-name { font-size: 15px; }
  .part-hud, .part-axes { display: none; }
}

/* Load: the wireframe draws, a scan line passes and the part fills in behind it */
.motion .part[data-in] .part-model > img { transition: clip-path 1.2s var(--ease-inout) 0.45s; }
.motion .part[data-in]:not(.is-in) .part-model > img,
.motion .part[data-in]:not(.is-in) .part-sheen { clip-path: inset(100% 0 0 0); }
.motion .part[data-in]:not(.is-in) .part-shadow { opacity: 0; }
.motion .part[data-in] .part-shadow { transition: opacity 0.8s 1.2s; }
.motion .part.is-in .part-edges { animation: part-wire 2.2s var(--ease-out) backwards; }
.motion .part.is-in .part-scan { animation: part-scan 1.2s var(--ease-inout) 0.45s backwards; }
@keyframes part-wire {
  0% { opacity: 0; clip-path: inset(0 0 100% 0); }
  22% { opacity: 1; clip-path: inset(0); }
  70% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes part-scan {
  0% { top: 100%; opacity: 1; }
  90% { opacity: 1; }
  100% { top: 0; opacity: 0; }
}

/* 14. Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* 15. Print ------------------------------------------------------------------ */
@media print {
  .site-header,
  .menu,
  .progress,
  .cursor,
  .intro,
  .curtain,
  .mark-field,
  .cad-readout,
  .marquee-band,
  .hero-gears { display: none !important; }
  .motion [data-reveal],
  .motion [data-stagger] > *,
  .motion [data-split] .wi { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .process { height: auto !important; }
  .process-pin { position: relative !important; height: auto !important; }
}
