/* ORBNEX corporate design system — v2 "black + orange"
   Near-black ground, canonical ORBNEX orange (#ff6433) used only for state,
   structure and action. No inline styles anywhere, so the hardened CSP applies
   unchanged. Hand-authored, no framework, no build step. */

:root {
  /* Ground and surfaces */
  --void: #050505;
  --raise: #0b0b0b;
  --raise-2: #121212;
  --raise-3: #171717;

  /* Lines. Restrained dark neutrals; orange lines are drawn explicitly. */
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .14);
  --line-3: rgba(255, 255, 255, .22);

  /* Type. Warm off-white against warm neutrals so black never reads blue. */
  --ink: #f2f0ed;
  --ink-2: #a8a5a0;
  --ink-3: #8a8681;   /* 5.18:1 on the darkest surface; the obvious darker grey failed AA */

  /* Canonical ORBNEX orange, taken from the existing brand mark. Not changed. */
  --orange: #ff6433;
  --orange-hi: #ff7d52;
  --orange-wash: rgba(255, 100, 51, .10);
  --orange-line: rgba(255, 100, 51, .38);

  /* Available is the ordinary state and stays neutral. Orange is reserved for
     the status a reader actually needs to notice. No green: the brief rules it out. */

  --maxw: 1240px;
  --pad: 28px;
  --nav-h: 72px;

  --display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", var(--body);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--void); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--orange); color: #0a0a0a; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.skip, .skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300; transform: translateY(-200%);
  background: var(--orange); color: #0a0a0a; font-weight: 700; padding: 12px 18px;
  transition: transform .18s var(--ease);
}
.skip:focus, .skip-link:focus { transform: none; }

/* ── Primitives ─────────────────────────────────────────────────────────── */

/* Section label: 01 / CONNECT */
.label {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3);
}
.label .n { color: var(--orange); }
.label .rule { width: 44px; height: 1px; background: var(--line-2); }

/* Status indicator */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 2px;
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.status-available { color: var(--ink-2); border-color: var(--line-2); }
.status-prototype { color: var(--orange); border-color: var(--orange-line); background: var(--orange-wash); }

/* Editorial headlines */
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.03em; line-height: .96; }
.d1 { font-size: clamp(46px, 9vw, 132px); letter-spacing: -.045em; }
.d2 { font-size: clamp(34px, 5.4vw, 76px); letter-spacing: -.035em; }
.d3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.025em; line-height: 1.02; }
.lede { font-size: clamp(16.5px, 1.5vw, 20px); color: var(--ink-2); max-width: 58ch; }
p { margin: 0 0 16px; }

/* Technical divider */
.rule-tech { position: relative; height: 1px; background: var(--line); margin: 0; border: 0; }
.rule-tech::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 1px; background: var(--orange); }

/* CTA */
.cta {
  display: inline-flex; align-items: center; gap: 11px; min-height: 52px; padding: 0 26px;
  font-family: var(--body); font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.cta-primary { background: var(--orange); color: #0a0a0a; }
.cta-primary:hover { background: var(--orange-hi); transform: translateY(-1px); }
.cta-line { color: var(--ink); border-color: var(--line-2); }
.cta-line:hover { border-color: var(--orange); color: var(--orange); }
.cta-quiet {
  min-height: 44px; padding: 0; color: var(--ink-2); font-family: var(--mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--line-2);
}
.cta-quiet:hover { color: var(--orange); border-bottom-color: var(--orange); }
.cta-quiet::after, .cta-arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
.cta-arrow:hover::after, .cta-quiet:hover::after { transform: translateX(4px); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, .82); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-in { display: flex; align-items: center; gap: 34px; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; flex: 0 0 auto; }
.brand img { width: 26px; height: 26px; }
.wordmark { font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: 5px; }
.wordmark i { font-style: normal; color: var(--orange); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; position: relative;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  transition: color .18s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.signin { position: relative; }
.signin-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.signin-btn:hover, .signin-btn[aria-expanded="true"] { color: var(--ink); border-color: var(--orange); }
.signin-btn svg { transition: transform .2s var(--ease); }
.signin-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.signin-menu {
  position: absolute; right: 0; top: calc(100% + 9px); min-width: 244px; z-index: 210;
  background: var(--raise-2); border: 1px solid var(--line-2); padding: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .8);
}
.signin-menu[hidden] { display: none; }
.signin-menu a { display: flex; flex-direction: column; justify-content: center; min-height: 50px; padding: 8px 13px; }
.signin-menu a span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .08em; }
.signin-menu a:hover { background: var(--raise-3); color: var(--orange); }
.nav-cta { min-height: 44px; padding: 0 18px; font-size: 13.5px; }

.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer;
}
.burger svg { width: 18px; height: 18px; }
.mnav {
  display: block; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 190; overflow-y: auto;
  background: rgba(5, 5, 5, .985); backdrop-filter: blur(14px); padding: 26px var(--pad) 48px;
}
.mnav[hidden] { display: none; }
.mnav a {
  display: flex; align-items: center; min-height: 62px; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 27px; letter-spacing: -.02em;
}
.mnav .mlabel {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3); margin: 30px 0 2px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero-full { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: 68px; }
.hero-full-art { position: absolute; inset: 0; pointer-events: none; }
.hero-full-art svg { width: 100%; height: 100%; }
.hero-full-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,.30) 0%, rgba(5,5,5,.12) 40%, rgba(5,5,5,.88) 86%, var(--void) 100%);
}
.hero-full-in { position: relative; width: 100%; }
.hero-full h1 { margin: 0; }
.hero-full h1 .l2 { display: block; color: var(--orange); }
.hero-full-lede { margin: 30px 0 0; max-width: 52ch; }
.hero-full-ctas { margin-top: 40px; }
.hero-full-meta {
  display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 54px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.hero-full-meta b { color: var(--ink-2); font-weight: 400; }

/* Animated hero geometry */
.trace { stroke-dasharray: 1 0; }
.trace-live { stroke-dasharray: 120 620; stroke-dashoffset: 740; animation: run 7s linear infinite; }
.trace-live.d2 { animation-duration: 9s; animation-delay: -3s; }
.trace-live.d3 { animation-duration: 8s; animation-delay: -5.5s; }
@keyframes run { to { stroke-dashoffset: 0; } }
.pip { animation: pip 4.4s ease-in-out infinite; }
.pip.p2 { animation-delay: -1.5s; }
.pip.p3 { animation-delay: -3s; }
@keyframes pip { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Generic section rhythm ─────────────────────────────────────────────── */
.sec { padding: 114px 0; position: relative; }
.sec-tight { padding: 84px 0; }
.sec + .sec { border-top: 1px solid var(--line); }

/* ── Company statement + ecosystem ──────────────────────────────────────── */
.stmt-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; }
.stmt-grid > *, .chapter-grid > *, .contact-grid > *, .ftr-grid > * { min-width: 0; }
.eco { margin-top: 68px; }
.eco-head {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 22px;
}
.eco-rows { border-top: 1px solid var(--line); }
.eco-row {
  display: grid; grid-template-columns: 34px 1fr 1fr auto; gap: 22px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); position: relative;
  transition: background .24s var(--ease);
}
.eco-row:hover { background: rgba(255, 255, 255, .018); }
.eco-row .tree { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.eco-row .nm { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.eco-row .nm i { font-style: normal; color: var(--orange); }
.eco-row .fam { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ── Product chapters ───────────────────────────────────────────────────── */
.chapter { padding: 116px 0; position: relative; border-top: 1px solid var(--line); }
.chapter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.chapter-grid.rev .chapter-art { order: -1; }
.chapter h2 { margin-bottom: 26px; }
.chapter .lede { margin-bottom: 34px; }
.chapter-art { position: relative; }

/* Product frame for real UI captures */
.frame { position: relative; border: 1px solid var(--line-2); background: var(--raise); overflow: hidden; }
.frame::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent 62%);
}
.frame img { width: 100%; height: auto; }
.frame figcaption {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); padding: 11px 15px; border-top: 1px solid var(--line); background: var(--raise-2);
}

/* Lifecycle / flow strip */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.flow li { padding: 16px 14px 0 0; position: relative; }
.flow li::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--orange); transition: width .7s var(--ease); }
.flow.seen li::before { width: 100%; }
.flow li:nth-child(2)::before { transition-delay: .12s; }
.flow li:nth-child(3)::before { transition-delay: .24s; }
.flow li:nth-child(4)::before { transition-delay: .36s; }
.flow li:nth-child(5)::before { transition-delay: .48s; }
.flow .k { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.flow .v { display: block; font-size: 14.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.35; }

/* Capability list, restrained */
.caps { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 11px; }
.caps li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; }
.caps li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 1px; background: var(--orange); }

/* ── Programs ───────────────────────────────────────────────────────────── */
.prog { border-top: 1px solid var(--line-2); }
/* Each row is its own grid container, so auto tracks would resolve differently
   per row and the statements would not line up. Fixed side tracks keep the
   whole table aligned. */
.prog-row {
  display: grid; grid-template-columns: 260px minmax(0, 1fr) 200px 104px;
  gap: 26px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: background .24s var(--ease), padding-left .24s var(--ease);
}
.prog-row .status { justify-self: start; }
.prog-go { justify-self: end; }
.prog-row:hover { background: rgba(255,255,255,.02); padding-left: 10px; }
.prog-nm { display: block; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.prog-fam { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.prog-stmt { color: var(--ink-2); font-size: 15px; }
.prog-go { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.prog-row:hover .prog-go { color: var(--orange); }


/* Labs keeps more air: the physical product imagery benefits from it. */
.chapter-labs { padding: 140px 0; }

/* Operating verb in the ecosystem rows */
.eco-verb {
  display: inline-block; min-width: 74px; margin-right: 14px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange); vertical-align: middle;
}

/* Source chapter visualization. Abstract by construction: no vendor names, no
   prices, no counts. The bars encode relative position only. */
.src-vis { border: 1px solid var(--line); background: var(--raise); padding: 18px 20px; margin-bottom: 30px; }
.src-vis svg { width: 100%; height: auto; }
.chapter-caveat { color: var(--ink-3); font-size: 13.5px; margin: 18px 0 0; max-width: 54ch; }

/* Programs: development initiatives, not the operating businesses. */
/* Capped so a single programme reads as one card rather than stretching the
   full width; further entries fill in beside it. */
.pgm-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 520px)); justify-content: start; margin-top: 8px; }
.pgm { border: 1px solid var(--line); background: var(--raise); padding: 30px; position: relative; }
.pgm::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--orange), transparent 60%); }
.pgm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.pgm-op { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pgm-nm { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -.025em; margin: 0 0 12px; }
.pgm-stmt { color: var(--ink-2); font-size: 15.5px; margin: 0 0 14px; max-width: 56ch; }
.pgm-note { color: var(--ink-3); font-size: 13.5px; margin: 0 0 22px; max-width: 56ch; }
.pgm-empty { color: var(--ink-3); font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }

/* Optic chapter art is a slot: an authored diagram today, authentic product
   photography later, with no change to the section around it. */
.optic-art > svg { width: 100%; height: auto; }

/* ── Vision + contact ───────────────────────────────────────────────────── */
.vision { text-align: center; padding: 140px 0; }
.vision .stack { display: block; }
.vision .stack span { display: block; }
.vision .stack .o { color: var(--orange); }
.vision p { margin: 34px auto 0; max-width: 46ch; color: var(--ink-2); }

.contact { padding: 126px 0; position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.paths { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.paths li { border-bottom: 1px solid var(--line); }
.paths a {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 22px 0;
  transition: padding-left .24s var(--ease);
}
.paths a:hover { padding-left: 10px; }
.paths .t { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.paths .s { display: block; color: var(--ink-3); font-size: 14px; margin-top: 3px; font-family: var(--body); font-weight: 400; letter-spacing: 0; }
.paths a:hover .t { color: var(--orange); }
.paths .go { font-family: var(--mono); font-size: 14px; color: var(--ink-3); }
.paths a:hover .go { color: var(--orange); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.ftr { border-top: 1px solid var(--line); padding: 66px 0 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.ftr h2 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; margin: 0 0 18px; line-height: 1.4;
}
.ftr-legal-h { margin-top: 26px; }
.ftr-col a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 15px; transition: color .18s var(--ease); }
.ftr-col a:hover { color: var(--orange); }
.ftr-brand p { color: var(--ink-3); font-size: 14px; max-width: 34ch; margin-top: 18px; }
.ftr-base {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3);
}

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
.rv { opacity: 1; transform: none; }
@media (scripting: enabled) {
  .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .rv.seen { opacity: 1; transform: none; }
  .rv-2 { transition-delay: .1s; }
  .rv-3 { transition-delay: .2s; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .stmt-grid, .chapter-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .chapter-grid.rev .chapter-art { order: 0; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .sec, .chapter { padding: 80px 0; }
  .chapter-labs { padding: 96px 0; }
  .vision { padding: 100px 0; }
  .contact { padding: 92px 0; }
  .hero-full { min-height: 92svh; padding-bottom: 54px; }
  .flow { grid-auto-flow: row; grid-auto-columns: auto; border-top: 0; }
  .flow li { border-top: 1px solid var(--line-2); padding: 14px 0 16px; }
  .eco-row { grid-template-columns: 26px 1fr auto; }
  .eco-row .fam { display: none; }
  .prog-row { grid-template-columns: 1fr auto; gap: 12px 14px; padding: 22px 0; }
  .prog-row .status { justify-self: end; }
  .prog-go { display: none; }
  .prog-stmt { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  :root { --pad: 20px; }
  .status { white-space: normal; }
  body { font-size: 16px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 34px; }
  .ctas .cta { width: 100%; justify-content: center; }
  .hero-full-meta { gap: 8px 18px; }
  .ftr-base { flex-direction: column; gap: 8px; }
  .prog-row:hover, .paths a:hover { padding-left: 0; }
}

/* ── Motion policy ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .flow li::before { width: 100%; }
  .trace-live { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .5; }
}

/* ── Supporting-page content ─────────────────────────────────────────────
   /about/, /products/, /contact/, /privacy/, /terms/ and 404 keep their
   existing markup and copy. These rules re-render that markup in the v2
   black-and-orange system so the whole site reads as one company, without
   rewriting six pages of content. Homepage primitives above are unaffected. */

.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Modest page header (distinct from the homepage .hero-full) */
.hero { padding: 152px 0 62px; border-bottom: 1px solid var(--line); }
.hero h1 { font-family: var(--display); font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -.035em; }
.hero .lead { margin-top: 24px; }

/* line-height is pinned so the class renders identically whichever element
   carries it. Without it an .eyebrow on a heading inherits the display
   line-height of .96 and shifts everything below it. */
.eyebrow, .hero-eyebrow {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .2em;
  line-height: 1.6; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px;
}
.hero-eyebrow { color: var(--orange); }
.lead { font-size: clamp(16.5px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.nex { color: var(--orange); }
.text-orange { color: var(--orange); }
.text-cyan { color: var(--orange); }   /* cyan is retired from the UI; keep markup working */

h1, h2, h3, h4 { font-family: var(--display); }
.section h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.03em; margin-bottom: 14px; }
.section h3 { font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -.02em; }

/* A section label may legitimately be a heading, for heading order. `.section h2`
   (0,1,1) outranks `.eyebrow` (0,1,0), so without this the label would render at
   display size. Re-assert the label treatment at matching specificity. */
h2.eyebrow, h3.eyebrow, .section h2.eyebrow, .section h3.eyebrow {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .2em; line-height: 1.6; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 16px;
}

/* Legacy buttons map onto the v2 CTA language */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn-primary { background: var(--orange); color: #0a0a0a; }
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-1px); }
.btn-secondary, .btn-ghost { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn-secondary:hover, .btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-arrow::after { content: "\2192"; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center-x { justify-content: center; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid > * { min-width: 0; }
.card { border: 1px solid var(--line); background: var(--raise); padding: 26px; }
.card h3 { margin: 0 0 10px; }
.card p { color: var(--ink-2); margin: 0; font-size: 15.5px; }

.principle { border-left: 2px solid var(--orange); padding: 2px 0 2px 18px; }
.principle h3 { font-size: 18px; margin: 0; }
.principle p { color: var(--ink-2); font-size: 15px; margin: 6px 0 0; }
.stack-sm { margin-top: 20px; }

/* Legacy product / spine blocks on /products/ */
.spine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spine > * { min-width: 0; }
.spine-step { border: 1px solid var(--line); background: var(--raise); padding: 24px; }
.spine-step .verb { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.spine-step h3 { margin: 10px 0 8px; font-size: 19px; }
.spine-step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.spine-flow { text-align: center; color: var(--ink-3); font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-top: 24px; }

.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  border: 1px solid var(--line); background: var(--raise); padding: 40px;
}
.product > * { min-width: 0; }
.product + .product { margin-top: 20px; }
.product.rev .product-visual { order: -1; }
.product-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); border: 1px solid var(--orange-line); padding: 5px 11px;
}
.product h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.product .lead { font-size: 17px; margin: 0 0 18px; }
.product ul { list-style: none; margin: 0 0 24px; padding: 0; }
.product li { color: var(--ink-2); font-size: 15.5px; padding-left: 20px; position: relative; margin-bottom: 9px; }
.product li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 1px; background: var(--orange); }
.product-visual {
  border: 1px solid var(--line); min-height: 210px; display: flex; align-items: center; justify-content: center;
  padding: 26px; background: var(--raise-2);
}
.layer-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.layer-label b { display: block; font-family: var(--display); font-size: 30px; letter-spacing: -.02em; color: var(--ink); margin-top: 8px; text-transform: none; }

.cta-band { border: 1px solid var(--line-2); background: var(--raise); padding: 52px; text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lead { margin: 0 auto 26px; }

.signin-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid var(--line); background: var(--raise); padding: 24px 26px;
}
.signin-strip h3 { font-size: 19px; margin: 0; }
.signin-strip .links { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact form */
.form { display: grid; gap: 18px; max-width: 620px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 16px; color: var(--ink); min-height: 50px;
  background: var(--raise-2); border: 1px solid var(--line-2); padding: 13px 15px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; }
.field input[aria-invalid="true"] { border-color: #ff8a6b; }
.field-error { font-size: 13.5px; color: #ff8a6b; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.notice {
  border: 1px solid var(--line-2); border-left: 2px solid var(--orange);
  padding: 16px 18px; background: var(--raise); font-size: 14.5px; color: var(--ink-2);
}

/* Legal prose */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.02em; margin: 40px 0 12px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--orange-hi); }
/* Inline links inside body copy, notices and form help: never colour-only. */
.notice a, .form-note a, .lede a, .principle p a, .card p a, .ftr-brand p a {
  color: var(--orange); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.notice a:hover, .form-note a:hover, .lede a:hover { color: var(--orange-hi); }
.prose strong { color: var(--ink); }
.updated { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.link-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.link-row a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.link-row a:hover { border-color: var(--orange); color: var(--orange); }

/* 404 */
.error-page { text-align: center; padding: 168px 0 132px; }
.error-page .code { font-family: var(--display); font-weight: 700; font-size: clamp(76px, 17vw, 168px); color: var(--orange); line-height: 1; letter-spacing: -.05em; }
.lead-404 { margin: 16px auto 30px; }

.mt-16 { margin-top: 16px; } .mt-28 { margin-top: 28px; } .mt-34 { margin-top: 34px; } .mb-8 { margin-bottom: 8px; }

@media (max-width: 1080px) {
  .product { grid-template-columns: 1fr; gap: 32px; }
  .product.rev .product-visual { order: 0; }
  .spine { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { padding: 122px 0 52px; }
  .section { padding: 78px 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .spine { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .product, .cta-band { padding: 26px 22px; }
  .actions .btn { width: 100%; }
}

/* Portfolio entries on /products/ — a deeper read of each operating line than
   the homepage chapters give, using the same primitives. */
.pf { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding: 54px 0; border-top: 1px solid var(--line); }
.pf:last-of-type { border-bottom: 1px solid var(--line); }
.pf-id .label { margin-bottom: 18px; }
.pf-nm { font-family: var(--display); font-weight: 700; font-size: clamp(23px, 2.2vw, 30px); letter-spacing: -.025em; margin: 0 0 8px; }
.pf-fam { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.pf-stmt { font-family: var(--display); font-weight: 600; font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -.02em; line-height: 1.2; color: var(--ink); margin: 0 0 18px; }
.pf-body .lede { margin-bottom: 24px; }
.pf-body .caps { margin-bottom: 26px; }
@media (max-width: 900px) {
  .pf { grid-template-columns: 1fr; gap: 24px; padding: 42px 0; }
}
