/* Layout idea: a site work-order on a black ground. Hero = a crew ticket; industries = a switchboard of roles. Strictly black and white: white type, white buttons, greys for structure. */
:root {
  --bg: #0D0E10;
  --surface: #16181B;
  --ink: #F3F2EF;
  --muted: #A3A9B0;
  --line: #2A2E33;
  --accent: #F3F2EF;
  --label: #C4C7CC;
  --steel: #C4C7CC;
  --band-bg: #08090A;
  --band-ink: #F3F2EF;
  --band-muted: #A3A9B0;
  --band-line: #24272B;
  --field-line: #767C84; /* form field borders: 4.6:1 on --bg, meets WCAG 1.4.11 (3:1) */
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--accent); display: inline-block; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 14px 22px; border-radius: 4px; text-decoration: none;
  border: 2px solid var(--ink); cursor: pointer; background: transparent; color: var(--ink);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #111; }
.btn-primary:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; background: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 17px; color: #111; border-radius: 3px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: 0.02em; }
nav.links { display: flex; gap: 26px; align-items: center; }
nav.links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
nav.links a:hover { color: var(--ink); }
nav.links .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 860px) { nav.links a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(58px, 9vw, 124px); font-weight: 900; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero .lead { font-size: 20px; max-width: 34em; color: var(--muted); }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

.ticket {
  background: var(--surface); border: 2px solid var(--ink); border-radius: 6px;
  font-family: var(--font-mono); font-size: 14px; position: relative;
  box-shadow: 8px 8px 0 #3A3D42;
}
.ticket-head { display: flex; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 2px dashed var(--line); text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: var(--muted); }
.ticket-head b { color: var(--ink); font-weight: 500; }
.ticket-site { padding: 16px 18px 6px; }
.ticket-site .t { font-family: var(--font-display); font-size: 30px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.ticket-site .s { color: var(--muted); margin-top: 6px; font-size: 13px; }
.ticket ul { list-style: none; margin: 10px 0 0; padding: 0 18px; }
.ticket li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ticket li span:last-child { font-weight: 500; }
.ticket li .count { display: inline-block; min-width: 2.2ch; text-align: right; animation: tick .6s ease both; }
.ticket li:nth-child(2) .count { animation-delay: .1s; }
.ticket li:nth-child(3) .count { animation-delay: .2s; }
.ticket li:nth-child(4) .count { animation-delay: .3s; }
@keyframes tick { from { transform: translateY(-4px); } to { transform: none; } }
.ticket-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px 18px 18px; font-size: 12.5px; }
.ticket-foot .ok::before { content: "\2713  "; color: var(--label); font-weight: 700; }
.stamp { position: absolute; right: 18px; top: -16px; border: 2px solid var(--ink); color: var(--ink); padding: 4px 9px; font-size: 12px; font-weight: 500; letter-spacing: .1em; transform: rotate(-6deg); border-radius: 3px; text-transform: uppercase; background: var(--surface); }

.tape { height: 14px; background: repeating-linear-gradient(-45deg, var(--accent) 0 18px, #0D0E10 18px 36px); }

/* Sections */
section { padding: 88px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 900; margin-top: 14px; }
.sec-head p { color: var(--muted); max-width: 34em; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } section { padding: 64px 0; } }

/* Why */
.why { border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: 6px; background: var(--surface); }
.why-grid > div { padding: 28px; border-right: 1px solid var(--line); }
.why-grid > div:last-child { border-right: 0; }
.why-grid .num { font-family: var(--font-display); font-weight: 900; font-size: 54px; color: var(--muted); line-height: 1; }
.why-grid h3 { font-size: 28px; font-weight: 800; margin: 12px 0 10px; }
.why-grid p { color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } .why-grid > div { border-right: 0; border-bottom: 1px solid var(--line); } .why-grid > div:last-child { border-bottom: 0; } }

/* Industries switchboard */
.board { display: grid; grid-template-columns: 300px 1fr; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--surface); }
.board-tabs { display: flex; flex-direction: column; border-right: 2px solid var(--ink); }
.board-tabs button {
  all: unset; cursor: pointer; padding: 18px 20px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase; line-height: 1.05;
}
.board-tabs button .n { white-space: nowrap; flex: none; font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.board-tabs button:hover { background: var(--bg); }
.board-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.board-tabs button[aria-selected="true"] .n { color: #444; }
.board-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.board-panel { padding: 30px 32px 34px; }
.board-panel .intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; align-items: baseline; margin-bottom: 22px; }
.board-panel .intro p { color: var(--muted); max-width: 38em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 5px 10px; border: 1px solid var(--steel); color: var(--steel); border-radius: 999px; }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.role { border: 1px solid var(--line); border-radius: 5px; padding: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.role .rt { font-weight: 700; font-size: 17px; line-height: 1.3; }
.role .rd { color: var(--muted); font-size: 15px; }
.role .lvl { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--label); }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; }
  .board-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 2px solid var(--ink); }
  .board-tabs button { font-size: 19px; white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--line); }
  .board-tabs button .n { display: none; }
  .board-panel { padding: 24px 20px; }
}

/* Robotics band */
.robotics { background: var(--band-bg); color: var(--band-ink); border-block: 1px solid var(--line); }
.robotics .sec-head p { color: var(--band-muted); }
.robotics .eyebrow { color: var(--band-muted); }
.bot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: 6px; overflow: hidden; }
.bot { background: var(--band-bg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.bot .spec { font-family: var(--font-mono); font-size: 12px; color: var(--label); text-transform: uppercase; letter-spacing: .05em; }
.bot h3 { font-size: 30px; font-weight: 800; }
.bot p { color: var(--band-muted); font-size: 15px; }
.bot a { color: var(--band-ink); font-weight: 600; font-size: 14px; text-underline-offset: 3px; margin-top: auto; }
.crew-for-bots { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.crew-for-bots h3 { font-size: 40px; font-weight: 900; }
.crew-for-bots ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.crew-for-bots li { padding: 12px 0; border-top: 1px solid var(--band-line); }
.crew-for-bots li b { display: block; font-weight: 700; }
.crew-for-bots li span { color: var(--band-muted); font-size: 15px; }
.partner { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border: 1px dashed var(--band-muted); border-radius: 6px; }
.partner p { color: var(--band-muted); }
.partner p b { color: var(--band-ink); }
.robotics .btn { border-color: var(--band-ink); color: var(--band-ink); }
.robotics .btn-primary { background: var(--accent); border-color: var(--accent); color: #111; }
@media (max-width: 960px) { .bot-grid { grid-template-columns: 1fr 1fr; } .crew-for-bots { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bot-grid, .crew-for-bots ul { grid-template-columns: 1fr; } }

/* How */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { border-top: 4px solid var(--ink); padding-top: 18px; }
.step .k { font-family: var(--font-mono); font-size: 12px; color: var(--label); letter-spacing: .06em; }
.step h3 { font-size: 28px; font-weight: 800; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.model { border: 2px solid var(--ink); border-radius: 6px; padding: 24px; background: var(--surface); }
.model .tag { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.model h3 { font-size: 30px; font-weight: 800; margin: 10px 0; }
.model p { color: var(--muted); font-size: 15.5px; }
.model.feature { background: var(--ink); color: var(--bg); }
.model.feature p, .model.feature .tag { color: color-mix(in srgb, var(--bg) 72%, var(--ink)); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .models { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Standard */
.standard { border-top: 1px solid var(--line); }
.std { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.std div { padding: 22px; background: var(--surface); border-radius: 6px; border: 1px solid var(--line); }
.std b { display: block; font-size: 17px; margin-bottom: 6px; }
.std b::before { content: "\2713"; color: var(--label); margin-right: 8px; }
.std span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .std { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .std { grid-template-columns: 1fr; } }

/* Request */
.request { background: var(--surface); border-top: 2px solid var(--ink); }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
form.order { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type="text"], input[type="number"], input[type="month"], select {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--field-line); border-radius: 4px; background: var(--bg); color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
fieldset { border: 0; padding: 0; margin: 0; }
.rolepick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rolepick label { font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--bg); }
.rolepick input { accent-color: var(--accent); }
.rolepick label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.brief { background: var(--bg); border: 2px solid var(--ink); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 8px 8px 0 #3A3D42; align-self: start; }
.brief pre { margin: 0; font-family: var(--font-mono); font-size: 14px; white-space: pre-wrap; line-height: 1.6; min-height: 12em; }
.brief .note { color: var(--muted); font-size: 14px; }
.copied { font-family: var(--font-mono); font-size: 13px; color: var(--label); min-height: 1.2em; }
@media (max-width: 860px) { .req { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); background: var(--band-bg); color: var(--band-ink); padding: 56px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: end; }
footer .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 6vw, 76px); text-transform: uppercase; line-height: .92; }
footer .big em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--band-ink); }
footer p { color: var(--band-muted); font-size: 14px; }
footer a { color: var(--band-ink); }

/* Careers page */
nav.links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.mission .quote { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 54px); line-height: 1; text-wrap: balance; }
.mission .body { display: grid; gap: 16px; color: var(--muted); font-size: 18px; }
.mission .body strong { color: var(--ink); }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; } }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.who div { border: 1px solid var(--line); border-radius: 6px; padding: 20px; background: var(--surface); }
.who b { display: block; font-size: 18px; margin-bottom: 6px; }
.who span { color: var(--muted); font-size: 15px; }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.path li { padding: 22px 18px; border-right: 1px solid var(--line); background: var(--surface); }
.path li:last-child { border-right: 0; background: var(--ink); color: var(--bg); }
.path li:last-child .k, .path li:last-child p { color: #3a3d42; }
.path .k { font-family: var(--font-mono); font-size: 12px; color: var(--label); letter-spacing: .06em; }
.path h3 { font-size: 24px; font-weight: 800; margin: 8px 0; }
.path p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 1000px) { .path { grid-template-columns: 1fr 1fr 1fr; } .path li { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; } .path li { border-right: 0; } }
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.tracks div { background: var(--bg); padding: 24px; }
.tracks .spec { font-family: var(--font-mono); font-size: 12px; color: var(--label); text-transform: uppercase; letter-spacing: .05em; }
.tracks h3 { font-size: 28px; font-weight: 800; margin: 8px 0; }
.tracks p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .tracks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tracks { grid-template-columns: 1fr; } }
textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--field-line); border-radius: 4px; background: var(--bg); color: var(--ink); width: 100%; min-height: 96px; resize: vertical; }
textarea:focus { border-color: var(--accent); outline: none; }
nav.links a.btn-primary { color: #111; }
nav.links a.btn-primary:hover { color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 4px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ============ Motion system (monochrome, quiet) ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.no-js .reveal, .rm .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Ticker band */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--band-bg); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 26px; white-space: nowrap; border-right: 1px solid var(--line); }
.ticker span b { color: var(--ink); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Nav additions */
nav.links .btn-ghost { padding: 9px 16px; font-size: 14px; color: var(--ink); border-color: var(--ink); }
nav.links .btn-ghost:hover { background: var(--ink); color: #111; }
@media (max-width: 560px) { nav.links .btn-ghost { display: none; } .brand-name { font-size: 20px; } }

/* Stats band */
.stats { padding: 0; border-bottom: 1px solid var(--line); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 5vw, 68px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 22em; }
.stat .src { display: block; font-family: var(--font-mono); font-size: 11px; color: #7A8087; margin-top: 10px; text-transform: uppercase; letter-spacing: .05em; }
.stat .bar { height: 3px; background: var(--line); margin-top: 16px; position: relative; overflow: hidden; }
.stat .bar i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w, 50%); background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .2s; }
.stat.in .bar i, .rm .stat .bar i { transform: scaleX(1); }
@media (max-width: 900px) { .stat-row { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Service model pipeline */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.pipeline::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.pipeline::after { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.4,0,.2,1); }
.pipeline.in::after, .rm .pipeline::after { transform: scaleX(1); }
.pipe { position: relative; padding-top: 74px; }
.pipe .node { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border: 2px solid var(--ink); border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 22px; transition: background .4s ease, color .4s ease; z-index: 1; }
.pipeline.in .pipe .node, .rm .pipe .node { background: var(--ink); color: var(--bg); }
.pipeline.in .pipe:nth-child(1) .node { transition-delay: .1s; } .pipeline.in .pipe:nth-child(2) .node { transition-delay: .55s; } .pipeline.in .pipe:nth-child(3) .node { transition-delay: 1s; } .pipeline.in .pipe:nth-child(4) .node { transition-delay: 1.45s; } .pipeline.in .pipe:nth-child(5) .node { transition-delay: 1.9s; }
.pipe .k { font-family: var(--font-mono); font-size: 12px; color: var(--label); letter-spacing: .06em; text-transform: uppercase; }
.pipe h3 { font-size: 26px; font-weight: 800; margin: 8px 0; }
.pipe p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .pipeline { grid-template-columns: 1fr; gap: 26px; }
  .pipeline::before, .pipeline::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pipeline::after { transform: scaleY(0); transform-origin: top; }
  .pipeline.in::after, .rm .pipeline::after { transform: scaleY(1); }
  .pipe { padding: 4px 0 0 80px; min-height: 56px; }
}

/* Schematic diagrams (SVG) */
.diagram { border: 2px solid var(--ink); border-radius: 6px; background: var(--surface); padding: 18px; position: relative; margin: 0; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sx-line { fill: none; stroke: #4A4F55; stroke-width: 2; }
.sx-flow { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 10; animation: flow 1.6s linear infinite; }
.sx-flow.slow { animation-duration: 3s; }
.sx-flow.rev { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.sx-box { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.sx-box.soft { stroke: #4A4F55; }
.sx-fill { fill: var(--ink); }
.sx-dim { fill: #2A2E33; }
.sx-t { font-family: var(--font-mono); font-size: 12px; fill: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sx-T { font-family: var(--font-display); font-weight: 800; font-size: 20px; fill: var(--ink); text-transform: uppercase; }
.sx-led { fill: var(--ink); animation: blink 2.4s steps(1) infinite; }
.sx-led.b { animation-delay: .6s; } .sx-led.c { animation-delay: 1.2s; } .sx-led.d { animation-delay: 1.8s; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .2; } }
.sx-fan { transform-box: fill-box; transform-origin: center; animation: spin 2.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sx-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; fill: none; stroke: var(--ink); stroke-width: 1.5; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.sx-grow { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.in .sx-grow, .rm .sx-grow { transform: scaleY(1); }
.in .g2 { transition-delay: .15s; } .in .g3 { transition-delay: .3s; } .in .g4 { transition-delay: .45s; } .in .g5 { transition-delay: .6s; } .in .g6 { transition-delay: .75s; }

/* Join GroundCrew band */
.join { background: var(--ink); color: var(--bg); padding: 96px 0; position: relative; overflow: hidden; }
.join .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; }
.join .eyebrow { color: #555; } .join .eyebrow::before { background: var(--bg); }
.join h2 { font-size: clamp(52px, 7.4vw, 104px); font-weight: 900; margin: 16px 0 20px; }
.join h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--bg); }
.join p.lead { font-size: 19px; color: #3A3D42; max-width: 32em; }
.join .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.join .btn { border-color: var(--bg); color: var(--bg); }
.join .btn-primary { background: var(--bg); color: var(--ink); }
.join .btn-primary:hover { background: transparent; color: var(--bg); }
.join-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--bg); }
.join-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid #BFC2C6; align-items: baseline; }
.join-list .n { font-family: var(--font-mono); font-size: 13px; color: #555; }
.join-list b { display: block; font-size: 18px; }
.join-list span { color: #3A3D42; font-size: 15px; }
.join-bg { position: absolute; right: -30px; bottom: -60px; font-family: var(--font-display); font-weight: 900; font-size: 360px; line-height: .8; color: transparent; -webkit-text-stroke: 1px #D2D4D7; pointer-events: none; user-select: none; }
.join :focus-visible { outline-color: var(--bg); }
@media (max-width: 900px) { .join .wrap { grid-template-columns: 1fr; gap: 36px; } .join-bg { display: none; } }

/* Insight cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 24px; transition: border-color .25s ease, transform .25s ease; position: relative; overflow: hidden; }
.card:hover { border-color: var(--ink); transform: translateY(-4px); }
.card .k { font-family: var(--font-mono); font-size: 12px; color: var(--label); text-transform: uppercase; letter-spacing: .05em; display: flex; justify-content: space-between; gap: 10px; }
.card h3 { font-size: 30px; font-weight: 800; }
.card p { color: var(--muted); font-size: 15px; }
.card .go { margin-top: auto; font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.card .go i { font-style: normal; transition: transform .25s ease; }
.card:hover .go i { transform: translateX(6px); }
.card.wide { grid-column: span 2; }
.card .glyph { height: 96px; border-bottom: 1px solid var(--line); margin: -24px -24px 6px; padding: 14px 24px; background: var(--bg); }
.card .glyph svg { height: 100%; width: 100%; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card.wide { grid-column: auto; } }

/* Article pages */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); z-index: 20; }
.crumbs { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.a-hero { padding: 56px 0 40px; }
.a-hero h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 900; margin: 18px 0 20px; max-width: 14em; }
.a-hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.a-hero .dek { font-size: 21px; color: var(--muted); max-width: 38em; }
.a-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.a-meta b { color: var(--ink); font-weight: 500; }
.a-figure { padding: 0 0 8px; }
.a-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding: 48px 0 88px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc p { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--ink); }
.prose { max-width: 720px; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(34px, 4vw, 48px); font-weight: 900; margin-top: 2em; scroll-margin-top: 90px; }
.prose h3 { font-size: 26px; font-weight: 800; margin-top: 1.6em; }
.prose p, .prose li { color: #C9CDD2; }
.prose strong { color: var(--ink); }
.prose a { text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose .lede { font-size: 21px; color: var(--ink); }
.callout { border: 2px solid var(--ink); border-radius: 6px; padding: 22px 24px; background: var(--surface); }
.callout .k { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); display: block; margin-bottom: 8px; }
.callout p { color: var(--ink); }
.bigstat { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.bigstat div { background: var(--bg); padding: 22px; }
.bigstat .v { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1; display: block; color: var(--ink); }
.bigstat .l { color: var(--muted); font-size: 14.5px; display: block; margin-top: 8px; line-height: 1.45; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ptable th, .ptable td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: #C9CDD2; }
.ptable th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ptable td:first-child { color: var(--ink); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--font-mono); font-size: 22px; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; }
.sources { font-size: 14.5px; }
.sources li { color: var(--muted); }
.a-cta { border: 2px solid var(--ink); border-radius: 6px; padding: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; background: var(--surface); box-shadow: 8px 8px 0 #3A3D42; margin-top: 2.4em; }
.a-cta h3 { margin: 0; font-size: 30px; }
.a-cta p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.a-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.prose .a-cta a.btn { text-decoration: none; }
.related { border-top: 1px solid var(--line); }
@media (max-width: 960px) { .a-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } .toc ol, .toc p { display: none; } }

/* Footer extension */
footer .cols { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 48px; }
footer .cols h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--band-muted); font-weight: 500; margin: 0 0 10px; }
footer .cols a { text-decoration: none; display: block; padding: 3px 0; font-size: 14px; color: var(--band-ink); }
footer .cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
footer .legal { width: 100%; border-top: 1px solid var(--band-line); padding-top: 20px; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; color: #7A8087; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 700px) { footer .cols { grid-template-columns: 1fr 1fr; } }

.sx-ring { stroke-dasharray: 0 503; transition: stroke-dasharray 1.8s cubic-bezier(.2,.7,.2,1) .3s; }
.in .sx-ring, .rm .sx-ring { stroke-dasharray: 196 503; }

/* ============ Photography (greyscale, quiet zoom, colour on hover) ============ */
.ph { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); margin: 0; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.88); transform: scale(1.08); transition: transform 1.8s cubic-bezier(.2,.7,.2,1), filter .9s ease; }
.ph.in img, .rm .ph img, .no-js .ph img { transform: scale(1); }
.ph:hover img { filter: grayscale(.25) contrast(1.02) brightness(.95); transform: scale(1.02); }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); background: linear-gradient(transparent, rgba(8,9,10,.88)); }
.ph figcaption span + span { color: var(--muted); }
.ph.tall { aspect-ratio: 9 / 14; }
.ph.wide { aspect-ratio: 16 / 9; }
.prose .ph { margin-top: 1.6em; }

/* Hero with background photo */
.hero.has-bg { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: grayscale(1) brightness(.62) contrast(1.1); transform-origin: 70% 50%; animation: kenburns 26s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgba(13,14,16,.86) 40%, rgba(13,14,16,.3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 28%); }
.hero.has-bg .wrap { position: relative; z-index: 1; }
.hero.has-bg .lead { color: #BFC4CA; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@media (max-width: 900px) { .hero-bg::after { background: linear-gradient(0deg, var(--bg) 10%, rgba(13,14,16,.82) 60%, rgba(13,14,16,.7) 100%); } }

/* Home: photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 340px 280px; gap: 16px; }
.mosaic .m1 { grid-column: 1 / 5; grid-row: 1; }
.mosaic .m2 { grid-column: 5 / 7; grid-row: 1 / 3; }
.mosaic .m3 { grid-column: 1 / 3; grid-row: 2; }
.mosaic .m4 { grid-column: 3 / 5; grid-row: 2; }
.mosaic .m4 img { object-position: 50% 38%; }
.mosaic .m2 img { object-position: 40% 50%; }
@media (max-width: 820px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 220px 360px; }
  .mosaic .m1 { grid-column: 1 / 3; grid-row: 1; }
  .mosaic .m3 { grid-column: 1; grid-row: 2; }
  .mosaic .m4 { grid-column: 2; grid-row: 2; }
  .mosaic .m2 { grid-column: 1 / 3; grid-row: 3; }
}

/* Split: text + photo (careers mission) */
.mission-photo { margin-top: 40px; aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .mission-photo { aspect-ratio: 4 / 3; } }

/* ============ Legal + consent ============ */
.consent { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; cursor: pointer; }
.consent input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.consent p { color: var(--muted); font-size: 14px; }
.consent a, .brief .note a { color: var(--ink); text-underline-offset: 3px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary:disabled:hover { background: var(--accent); border-color: var(--accent); color: #111; }
.biz { border: 1px solid var(--field-line); border-radius: 6px; padding: 18px 20px; background: var(--surface); }
.biz p + p { margin-top: 4px; }
footer .legal a { color: var(--band-ink); text-underline-offset: 3px; }
footer .legal a + a { margin-left: 14px; }
footer .legal span { display: block; margin-bottom: 8px; }
.stat .src a { color: inherit; text-underline-offset: 3px; }

/* Spam trap: hidden from people and screen readers, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
input[type="email"], input[type="tel"] {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--field-line); border-radius: 4px; background: var(--bg); color: var(--ink); width: 100%;
}
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #FF9B91; }
.request fieldset.field { gap: 16px; }
