/* Colour themes. "andon" is the default; the others swap the same tokens.
   Stack-light colours (--green, --amber, --red) stay fixed in every theme because they carry run / slow / hold. */
:root, [data-theme="andon"] {
  --ink: #0b0f12; --ink-2: #12181d; --paper: #eef1f3; --paper-2: #e2e7eb; --text: #101418;
  --grey: #5d6670; --grey-d: #9aa5ae; --line-d: rgba(255,255,255,.12);
  --accent: #38c6f4; --accent-ink: #0b0f12; --cyan: var(--accent); --blue: #0a66c2;
  --green: #2fb36e; --amber: #f2b33d; --red: #e5484d;
}
[data-theme="graphite"] {
  --ink: #0a0a0b; --ink-2: #151517; --paper: #f1f2f3; --paper-2: #e3e4e6; --text: #111113;
  --grey: #5f6166; --grey-d: #a3a6ab; --line-d: rgba(255,255,255,.12);
  --accent: #e9ebee; --accent-ink: #0a0a0b; --cyan: var(--accent); --blue: #2b2d31;
}
[data-theme="orbit"] {
  --ink: #0a1120; --ink-2: #111a2e; --paper: #edf1f7; --paper-2: #dde4ef; --text: #0d1526;
  --grey: #56627a; --grey-d: #97a3ba; --line-d: rgba(200,215,255,.14);
  --accent: #9fd0ff; --accent-ink: #0a1120; --cyan: var(--accent); --blue: #2d5bd6;
}
[data-theme="clinical"] {
  --ink: #0c1a1c; --ink-2: #13262a; --paper: #f2f7f7; --paper-2: #e0ebeb; --text: #0e1c1e;
  --grey: #55696c; --grey-d: #94a9ac; --line-d: rgba(220,255,250,.13);
  --accent: #35d0b9; --accent-ink: #0c1a1c; --cyan: var(--accent); --blue: #0f7b6f;
}
[data-theme="ultraviolet"] {
  --ink: #0e0c16; --ink-2: #17142a; --paper: #f1f0f6; --paper-2: #e3e1ee; --text: #121020;
  --grey: #615d75; --grey-d: #a39fba; --line-d: rgba(225,220,255,.13);
  --accent: #a597ff; --accent-ink: #0e0c16; --cyan: var(--accent); --blue: #5b46e6;
}

/* Theme picker: shown while choosing (see theme.js); remove data-theme-picker on <html> before launch */
.theme-picker { position: fixed; right: 16px; bottom: 16px; z-index: 1000; display: flex; gap: 6px; align-items: center;
  padding: 8px 10px; border-radius: 999px; background: rgba(10,12,14,.82); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14); font: 500 12px/1 system-ui, sans-serif; color: #fff; }
.theme-picker span { padding: 0 6px 0 4px; opacity: .75; }
.theme-picker button { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); cursor: pointer; padding: 0;
  background: linear-gradient(135deg, var(--sw-a) 50%, var(--sw-b) 50%); }
.theme-picker button[aria-pressed="true"] { border-color: #fff; }
.theme-picker button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* CogniEdge, option 3: Mission.
   Dark, wide, cinematic. One family (Hanken Grotesk) carries everything; scale does the work.
   Colour comes only from the theme tokens in ../assets/themes.css. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/media/fonts/hanken-grotesk.woff2) format("woff2");
}

:root {
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(20px, 4vw, 64px);
  --max: 1360px;
  --top-h: 68px;
  --on-ink: var(--paper);
  --on-ink-2: color-mix(in srgb, var(--paper) 72%, transparent);
  --on-ink-3: var(--grey-d);
  --rule: var(--line-d);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--on-ink);
  font: 400 17px/1.55 var(--font); font-feature-settings: "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); font-weight: 600; border-radius: 4px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--text); }

/* Type scale: 17 / 21 / 28 / 44 / 72 / 128 (roughly 1.333 then cinematic jumps) */
.display {
  font-size: clamp(36px, 5.2vw, 76px); line-height: 1; font-weight: 500;
  letter-spacing: -.035em; text-wrap: balance; max-width: 17ch;
}
.display-s { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.lede { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.4; color: var(--on-ink-2); max-width: 40ch; }
.minor { font-size: 15px; font-weight: 600; color: var(--on-ink-3); letter-spacing: 0; margin-bottom: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 2px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: color-mix(in srgb, var(--accent) 82%, var(--paper)); }
.btn-line { border-color: color-mix(in srgb, var(--paper) 45%, transparent); color: var(--paper); background: color-mix(in srgb, var(--ink) 25%, transparent); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-dark-line { border-color: color-mix(in srgb, var(--text) 35%, transparent); color: var(--text); }
.btn-dark-line:hover { border-color: var(--text); }

/* Header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled { background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: blur(14px); border-bottom-color: var(--rule); }
.top-in { height: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 24px; }
.brand img { height: 28px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 12px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--on-ink-2); border-radius: 2px; }
.nav a:not(.btn):hover { color: var(--on-ink); }
.nav .btn { margin-left: 12px; }
.menu-btn { display: none; margin-left: auto; min-height: 40px; padding: 0 14px; background: transparent; border: 1px solid var(--rule); border-radius: 2px; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 70%, transparent) 0, transparent 22%),
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 92%, transparent) 0, color-mix(in srgb, var(--ink) 62%, transparent) 42%, color-mix(in srgb, var(--ink) 8%, transparent) 75%),
    linear-gradient(0deg, var(--ink) 0, color-mix(in srgb, var(--ink) 55%, transparent) 26%, transparent 55%);
}
.hero-frame { position: absolute; inset: calc(var(--top-h) + 16px) var(--gut) 16px; pointer-events: none; z-index: -1; }
.hero-frame i { position: absolute; width: 18px; height: 18px; border-color: color-mix(in srgb, var(--paper) 45%, transparent); border-style: solid; border-width: 0; }
.hero-frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hero-frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hero-frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hero-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hero-body { padding-top: calc(var(--top-h) + 12vh); padding-bottom: clamp(32px, 5vh, 56px); }
.hero-h {
  font-size: clamp(48px, 8.6vw, 132px); line-height: .92; font-weight: 500; letter-spacing: -.045em;
  max-width: 11ch; text-wrap: balance;
}
.hero-sub { margin-top: 28px; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.4; max-width: 34ch; color: var(--on-ink-2); }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-base {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px;
  padding-top: 22px; padding-bottom: 36px; border-top: 1px solid var(--rule);
  font-size: 14px; color: var(--on-ink-3);
}
.hero-base { border-top: 0; position: relative; }
.hero-base::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--rule); }
.built { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.built-k { color: var(--on-ink-2); font-weight: 600; }
.built-list { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.built-list li { position: relative; }
.built-list li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 3px; height: 3px; margin-top: -1px; background: currentColor; opacity: .55; }
.inception { display: flex; align-items: center; gap: 12px; }
.inception-badge { height: 28px; width: auto; }
@media (min-width: 901px) { [data-theme-picker] .hero-base { padding-right: calc(var(--gut) + 190px); } }
.film-toggle { margin-left: auto; background: none; border: 0; padding: 6px 0; font-size: 13px; color: var(--on-ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.film-toggle:hover { color: var(--on-ink); }

/* Hero load sequence: the one orchestrated motion moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-h, .js .hero-sub, .js .hero-ctas, .js .hero-base { opacity: 0; transform: translateY(18px); }
  .js.is-loaded .hero-h, .js.is-loaded .hero-sub, .js.is-loaded .hero-ctas, .js.is-loaded .hero-base {
    opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  }
  .js.is-loaded .hero-sub { transition-delay: .15s; }
  .js.is-loaded .hero-ctas { transition-delay: .3s; }
  .js.is-loaded .hero-base { transition-delay: .5s; }
  .js .hero-frame i { opacity: 0; transition: opacity 1.4s .7s; }
  .js.is-loaded .hero-frame i { opacity: 1; }
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Vision */
.vision { padding: clamp(96px, 14vw, 200px) 0 clamp(72px, 9vw, 140px); }
.vision-text {
  font-size: clamp(26px, 3.2vw, 48px); line-height: 1.16; font-weight: 450; letter-spacing: -.025em;
  max-width: 30ch; color: var(--on-ink);
}
.core {
  margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: auto 1fr; gap: 28px;
  padding-top: 28px; border-top: 1px solid var(--rule); max-width: 1100px; margin-left: auto;
}
.core-lights { display: grid; gap: 6px; padding-top: 8px; }
.core-lights i { width: 14px; height: 14px; border-radius: 50%; }
.core-lights .g { background: var(--green); }
.core-lights .a { background: var(--amber); }
.core-lights .r { background: var(--red); box-shadow: 0 0 22px color-mix(in srgb, var(--red) 70%, transparent); }
.core-q { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; color: var(--accent); max-width: 34ch; }

/* Frontiers */
.frontiers { padding: clamp(80px, 9vw, 140px) 0 clamp(80px, 9vw, 140px); border-top: 1px solid var(--rule); background: var(--ink); }
.frontiers-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.frontiers-head .display { max-width: 14ch; }

.theatre {
  --h: clamp(520px, 74vh, 760px);
  display: flex; height: var(--h); width: 100%; max-width: calc(var(--max) + 2 * var(--gut));
  margin: 0 auto; padding-inline: var(--gut); gap: 0;
}
.world {
  --art-c: color-mix(in srgb, var(--paper) 88%, transparent);
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: 0 16px 26px; border-left: 1px solid var(--rule);
  background:
    repeating-linear-gradient(180deg, var(--rule) 0 1px, transparent 1px 48px) left top / 6px 100% no-repeat,
    var(--ink-2);
  transition: flex-grow .7s var(--ease), background-color .4s;
  cursor: pointer;
}
.world:last-child { border-right: 1px solid var(--rule); }
.world.is-open { flex-grow: 3.2; cursor: default; padding-inline: 24px; }
.world::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(120% 70% at 50% 46%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.world.is-open::after { opacity: 1; }

/* The path: a rail along the top of every world, solid where we are, dashed where we're going */
.world-rail { position: relative; height: 64px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--on-ink-3); white-space: nowrap; }
.world-rail::before {
  content: ""; position: absolute; left: -16px; right: -16px; top: 0; height: 2px;
  background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 60%, transparent) 0 6px, transparent 6px 12px);
}
.w-manufacturing .world-rail::before { background: var(--accent); }
.node { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--ink-2); flex: none; }
.w-manufacturing .node { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.num { font-weight: 600; color: var(--on-ink-2); }
.tag { color: var(--accent); font-weight: 600; }

.world-art {
  align-self: stretch; margin: 8px -10px; min-height: 0;
  background: var(--art-c); opacity: .55;
  -webkit-mask: var(--art) center / contain no-repeat; mask: var(--art) center / contain no-repeat;
  -webkit-mask-size: auto 44%; mask-size: auto 44%;
  transition: opacity .6s;
}
.world.is-open .world-art { opacity: 1; -webkit-mask-size: contain; mask-size: contain; }
.w-manufacturing .world-art { --art: url(/assets/illustrations/manufacturing.svg); }
.w-logistics .world-art { --art: url(/assets/illustrations/logistics.svg); }
.w-hospitals .world-art { --art: url(/assets/illustrations/hospitals.svg); }
.w-labs .world-art { --art: url(/assets/illustrations/labs.svg); }
.w-defense .world-art { --art: url(/assets/illustrations/defense.svg); }
.w-space .world-art { --art: url(/assets/illustrations/space.svg); }

.world-h { font-size: clamp(16px, 1.2vw, 21px); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; transition: font-size .5s var(--ease); }
.world.is-open .world-h { font-size: clamp(28px, 2.6vw, 42px); font-weight: 500; letter-spacing: -.03em; }
.world-btn {
  all: unset; cursor: pointer; display: block; text-wrap: balance;
}
.world-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.world-btn::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.world.is-open .world-btn::before { display: none; }
.world-line {
  margin-top: 14px; max-width: 34ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.4; color: var(--on-ink-2);
  opacity: 0; transform: translateY(8px); visibility: hidden; height: 0;
  transition: opacity .5s .2s, transform .6s .2s var(--ease), visibility 0s .2s;
}
.world.is-open .world-line { opacity: 1; transform: none; visibility: visible; height: auto; }

/* Defense and space: darker ground, quieter accent, a sense of distance */
.w-defense, .w-space { background-color: color-mix(in srgb, var(--ink) 55%, var(--ink-2)); }
.w-space { background-image:
    repeating-linear-gradient(180deg, var(--rule) 0 1px, transparent 1px 48px),
    radial-gradient(160% 60% at 50% 125%, color-mix(in srgb, var(--accent) 16%, transparent) 0 40%, transparent 40.3%);
  background-size: 6px 100%, auto; background-repeat: no-repeat; background-position: left top, center; }

.frontiers-close {
  margin-top: clamp(48px, 6vw, 88px); font-size: clamp(22px, 2.3vw, 34px); line-height: 1.25; font-weight: 500;
  letter-spacing: -.02em; max-width: 36ch;
}

/* Starting point */
.start { border-top: 1px solid var(--rule); padding-bottom: clamp(80px, 9vw, 140px); }
.cinema { position: relative; min-height: clamp(480px, 86vh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.cinema video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cinema-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 0, color-mix(in srgb, var(--ink) 55%, transparent) 30%, transparent 62%), linear-gradient(180deg, color-mix(in srgb, var(--ink) 50%, transparent), transparent 25%); }
.cinema-body { padding-bottom: clamp(32px, 5vw, 64px); }
.cinema .display { max-width: 15ch; }
.start-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 120px); padding-top: clamp(32px, 4vw, 56px); }
.start-body { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; max-width: 40ch; color: var(--on-ink-2); }
.sectors ul { border-top: 1px solid var(--rule); }
.sectors li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }

.figures { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.figures > div { padding: 26px 24px 0 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.figures dt { font-size: clamp(36px, 4.2vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.figures dd { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--on-ink-2); max-width: 24ch; }
.source { margin-top: 22px; font-size: 13px; color: var(--on-ink-3); }

.story { margin-top: clamp(72px, 9vw, 128px); }
.story blockquote { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: end; padding-top: 32px; border-top: 2px solid var(--amber); }
.story-h { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; max-width: 16ch; }
.story-b { color: var(--on-ink-2); max-width: 40ch; }

/* How it works */
.how { padding: clamp(80px, 9vw, 140px) 0; border-top: 1px solid var(--rule); }
.steps { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.steps li { position: relative; }
.steps img { aspect-ratio: 16 / 10; width: 100%; height: auto; object-fit: cover; border: 1px solid var(--rule); filter: saturate(.85) contrast(1.05); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-top: 22px; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; font-size: 14px; font-weight: 600; }
.steps h3 { margin-top: 14px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.steps p { margin-top: 8px; color: var(--on-ink-2); max-width: 36ch; }
.andon { display: flex; gap: 18px; margin-top: 16px; font-size: 14px; color: var(--on-ink-2); }
.andon span { display: inline-flex; align-items: center; gap: 8px; }
.andon span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.andon .g::before { background: var(--green); }
.andon .a::before { background: var(--amber); }
.andon .r::before { background: var(--red); }
.how-line { margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--rule); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; max-width: 40ch; }

/* Record */
.record { padding: clamp(80px, 9vw, 140px) 0; border-top: 1px solid var(--rule); background: var(--ink-2); }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.record-body { margin-top: 28px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--on-ink-2); max-width: 40ch; }
.uses { margin-top: 32px; border-top: 1px solid var(--rule); }
.uses li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--on-ink-2); }
.uses strong { color: var(--on-ink); font-weight: 600; }

.entry {
  background: var(--ink); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 80px -40px color-mix(in srgb, #000 80%, transparent);
  font-variant-numeric: tabular-nums;
}
.entry-head { display: flex; gap: 0; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 600; }
.entry-head > * { padding: 14px 18px; }
.entry-head > * + * { border-left: 1px solid var(--rule); }
.entry-head time { margin-left: auto; color: var(--on-ink-2); }
.entry-rows > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.entry-rows > div:last-child { border-bottom: 0; }
.entry-rows dt { color: var(--on-ink-3); }
.entry-rows dd { color: var(--on-ink); }
.pip { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.hold { background: color-mix(in srgb, var(--red) 10%, transparent); }
.hold .pip { background: var(--red); box-shadow: 0 0 12px var(--red); }
.clear .pip { background: var(--green); }
.seal dd { color: var(--accent); letter-spacing: .01em; }

/* Proof */
.proof { padding-bottom: clamp(80px, 9vw, 140px); }
.film-card {
  all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; cursor: pointer;
  aspect-ratio: 21 / 9; min-height: 420px; overflow: hidden; isolation: isolate;
}
.film-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.film-card:hover img { transform: scale(1.03); }
.film-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 0, color-mix(in srgb, var(--ink) 40%, transparent) 45%, color-mix(in srgb, var(--ink) 25%, transparent)); }
.film-label { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vw, 56px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.play { width: clamp(64px, 6vw, 88px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); flex: none; position: relative; transition: transform .3s var(--ease); }
.play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--accent-ink); }
.film-card:hover .play { transform: scale(1.06); }
.film-title { font-size: clamp(32px, 4.6vw, 68px); line-height: 1; font-weight: 500; letter-spacing: -.035em; color: var(--paper); }
.film-card:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; }

.proofs { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.proofs > div { padding: 26px 24px 0 0; }
.proofs > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.proofs dt { font-size: clamp(36px, 4.2vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--accent); }
.proofs dd { margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--on-ink-2); max-width: 26ch; }

/* Light band: work with us + FAQ */
.light { background: var(--paper); color: var(--text); }
.work { padding: clamp(80px, 9vw, 140px) 0 clamp(56px, 6vw, 96px); }
.audiences { margin-top: clamp(56px, 6vw, 88px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.audiences li { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 24px; background: var(--paper-2); border-radius: 4px; }
.audiences h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.audiences li > p { margin-top: -16px; flex: 1; color: var(--grey); font-size: 16px; line-height: 1.5; }
.partners .display { max-width: none; }

/* Building now: the R&D programme. Each workstream leads with its research question. */
.building { padding: clamp(80px, 9vw, 140px) 0; border-top: 1px solid var(--rule); }
.building-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.building-head .lede { padding-bottom: 6px; }
.streams { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
.stream { padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px) clamp(32px, 3.4vw, 52px) 0; border-bottom: 1px solid var(--rule); }
.stream:nth-child(even) { padding-left: clamp(24px, 3vw, 48px); padding-right: 0; border-left: 1px solid var(--rule); }
.stream-name { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--accent); }
.stream-q { margin-top: 14px; font-size: clamp(23px, 2.2vw, 33px); line-height: 1.16; font-weight: 500; letter-spacing: -.025em; max-width: 24ch; text-wrap: balance; }
.stream-a { margin-top: 18px; color: var(--on-ink-2); max-width: 46ch; }
.impact { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: 1fr 3fr; gap: 20px 40px; align-items: start; }
.impact-k { font-size: 15px; font-weight: 600; color: var(--on-ink-3); padding-top: 16px; }
.impact-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
.impact-list li { padding-top: 14px; border-top: 2px solid var(--green); font-size: 17px; line-height: 1.35; }
.contact-sub { margin-top: 22px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: var(--on-ink-2); max-width: 36ch; }
.audiences .btn { align-self: flex-start; }

.faq { padding: clamp(40px, 5vw, 72px) 0 clamp(80px, 9vw, 140px); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; border-top: 1px solid color-mix(in srgb, var(--text) 16%, transparent); padding-top: 40px; }
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--text) 16%, transparent); }
.faq details:first-child { border-top: 1px solid color-mix(in srgb, var(--text) 16%, transparent); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; color: var(--grey); max-width: 62ch; }

/* Team */
.team { padding: clamp(80px, 9vw, 140px) 0; }
.people { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 64px); }
.people li { border-top: 1px solid var(--rule); padding-top: 22px; }
.people h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.025em; }
.role { margin-top: 4px; color: var(--accent); font-weight: 600; font-size: 15px; }
.people p:not(.role) { margin-top: 14px; color: var(--on-ink-2); max-width: 52ch; }
.with { margin-top: 36px; color: var(--on-ink-2); }

/* Contact */
.contact { padding: clamp(80px, 9vw, 140px) 0; background: var(--ink-2); border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.contact .display { max-width: 15ch; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--on-ink-2); margin-bottom: 10px; }
.form-row { display: flex; gap: 8px; }
.form input[type="email"] {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 2px;
  background: var(--ink); color: var(--on-ink); border: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  font: 400 17px var(--font);
}
.form input[type="email"]::placeholder { color: var(--on-ink-3); }
.form input[type="email"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .btn { min-height: 52px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.5em; margin-top: 14px; font-size: 15px; color: var(--on-ink-2); }
.form-note.ok { color: var(--green); }
.form-note.err { color: var(--amber); }
.addr { margin-top: 28px; font-style: normal; color: var(--on-ink-2); line-height: 1.7; }
.addr a { color: var(--on-ink); text-underline-offset: 3px; }

/* Footer */
.foot { padding: 48px 0 64px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--on-ink-3); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.foot-logo { height: 24px; width: auto; }
.legal { display: grid; gap: 6px; max-width: 80ch; justify-self: end; text-align: right; }

/* Film dialog */
.film { width: min(1200px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--ink); color: var(--on-ink); }
.film::backdrop { background: color-mix(in srgb, var(--ink) 88%, transparent); backdrop-filter: blur(6px); }
.film-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--rule); }
.film-bar h2 { font-size: 17px; font-weight: 600; }
.film-close { min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); background: transparent; border-radius: 2px; cursor: pointer; font-weight: 600; font-size: 14px; }
.film-close:hover { border-color: var(--on-ink-2); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film video::cue { font-family: var(--font); font-size: 18px; background: color-mix(in srgb, #000 75%, transparent); }

/* Theme picker sits above content but clear of the contact button */
.theme-picker { z-index: 60; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 8px 8px; }
  .theatre { --h: clamp(520px, 68vh, 680px); }
  .world { padding-inline: 16px; }
  .world-rail::before { left: -16px; right: -16px; }
}

@media (max-width: 900px) {
  :root { --top-h: 60px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; top: var(--top-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gut) 20px; background: var(--ink); border-bottom: 1px solid var(--rule);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--rule); border-radius: 0; color: var(--on-ink); }
  .nav .btn { margin: 16px 0 0; min-height: 48px; }
  .top.menu-open { background: var(--ink); }

  .hero-frame { display: none; }
  .hero-film { object-position: 38% 30%; }
  .hero-shade { background:
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 70%, transparent) 0, transparent 18%),
    linear-gradient(0deg, var(--ink) 0, var(--ink) 30%, color-mix(in srgb, var(--ink) 86%, transparent) 50%, color-mix(in srgb, var(--ink) 62%, transparent) 66%, color-mix(in srgb, var(--ink) 10%, transparent) 88%); }
  .hero-body { padding-top: calc(var(--top-h) + 22vh); }
  .film-toggle { margin-left: 0; }

  .frontiers-head, .start-grid, .record-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .frontiers-head { gap: 20px; }

  /* Frontiers become a vertical path */
  .theatre { flex-direction: column; height: auto; }
  .world {
    flex: none; grid-template-columns: 1fr 112px; grid-template-rows: auto auto auto; column-gap: 16px;
    padding: 0 0 26px 28px; border-left: 0; border-right: 0 !important; cursor: default;
    background: none;
  }
  .world::after { display: none; }
  .world-rail { grid-column: 1 / -1; height: 52px; }
  .world-rail::before { left: 4px; right: auto; top: 0; bottom: -100vh; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--accent) 60%, transparent) 0 6px, transparent 6px 12px); }
  .w-manufacturing .world-rail::before { background: var(--accent); }
  .world { overflow: hidden; }
  .world-rail { margin-left: -28px; }
  .world-rail .node { position: relative; z-index: 1; }
  .world-art, .world.is-open .world-art { grid-column: 2; grid-row: 2 / span 2; margin: 0; height: 80px; opacity: 1; -webkit-mask-size: contain; mask-size: contain; }
  .world-h, .world.is-open .world-h { grid-column: 1; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
  .world-btn { cursor: default; }
  .world-btn::before { display: none; }
  .world-line { grid-column: 1; opacity: 1; transform: none; visibility: visible; height: auto; margin-top: 8px; }
  .w-space { background: none; }

  .figures, .proofs { grid-template-columns: 1fr 1fr; }
  .figures > div, .proofs > div { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--rule); }
  .figures > div + div, .proofs > div + div { padding-left: 0; border-left: 0; }
  .figures > div:nth-child(even), .proofs > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .story blockquote { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .audiences { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .film-card { aspect-ratio: 4 / 3; min-height: 0; }
  .foot-in { grid-template-columns: 1fr; }
  .legal { justify-self: start; text-align: left; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-h { font-size: clamp(44px, 13vw, 64px); }
  .form-row { flex-direction: column; }
  .entry-rows > div { grid-template-columns: 1fr; gap: 2px; }
  .entry-head { flex-wrap: wrap; }
  .figures dt, .proofs dt { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Sign in to the company portal: outlined at desktop, a plain menu row on narrow screens */
.nav a.nav-signin { margin-left: 8px; color: var(--on-ink); box-shadow: inset 0 0 0 1px var(--rule); }
.nav a.nav-signin:hover { box-shadow: inset 0 0 0 1px var(--on-ink-2); }
@media (max-width: 900px) {
  .nav a.nav-signin { margin-left: 0; box-shadow: none; }
  html.cfg-banner-on .top:not(.is-scrolled) .nav { top: calc(var(--top-h) + var(--cfg-banner-h, 0px)); }
}
.foot-side { display: grid; gap: 18px; justify-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.foot-links a { color: var(--on-ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--on-ink); }
.foot-links a.foot-signin { color: var(--on-ink); font-weight: 600; }

/* Building now on narrower screens */
@media (max-width: 900px) {
  .building-head, .impact { grid-template-columns: 1fr; }
  .streams { grid-template-columns: 1fr; }
  .stream, .stream:nth-child(even) { padding: 28px 0; border-left: 0; }
  .impact-k { padding-top: 0; }
  .impact-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .impact-list { grid-template-columns: 1fr; } }

/* CogniEdge, option 4: Hybrid. Baseline's nav, menu, hero and Andon rail on top of Mission's page.
   Loaded after /option-3-mission/style.css. Everything ported from Baseline (css/site.css + css/option1.css)
   lives under the .hx- namespace so it never meets Mission's .nav, .hero, .film-card or .menu-btn.
   Colours come only from the theme tokens in /assets/themes.css; white is used only as light on dark. */

:root {
  --hx-gutter: clamp(18px, 2.2vw, 32px);
  --hx-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --hx-ease: cubic-bezier(.16, 1, .3, 1);
  --top-h: 76px; /* Mission's scroll padding, sized to Baseline's nav */
}

/* ---------- Split buttons (icon cell + label cell) ---------- */
.hx-split { display: inline-flex; align-items: stretch; height: 44px; font: 500 15px/1 var(--font); border-radius: 4px; overflow: hidden; gap: 2px; text-decoration: none; transition: transform .2s var(--hx-ease); }
.hx-split:active { transform: scale(.97); }
.hx-split-ico, .hx-split-txt { display: inline-flex; align-items: center; justify-content: center; transition: background .25s, color .25s; }
.hx-split-ico { width: 44px; font-size: 17px; }
.hx-split-txt { padding: 0 16px; }
.hx-split-accent .hx-split-ico, .hx-split-accent .hx-split-txt { background: var(--accent); color: var(--accent-ink); }
.hx-split-accent:hover .hx-split-txt, .hx-split-accent:hover .hx-split-ico { background: #fff; }
.hx-split-ghost .hx-split-ico, .hx-split-ghost .hx-split-txt { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hx-split-ghost:hover .hx-split-ico, .hx-split-ghost:hover .hx-split-txt { background: #fff; color: var(--accent-ink); }

/* ---------- Nav: logo left, glass pill centre, accent CTA right ---------- */
.hx-nav { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--hx-gutter); color: #fff; transition: background .35s, padding .35s; }
.hx-nav.solid { background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; }
.hx-nav a { text-decoration: none; }
.hx-nav-brand img { height: 36px; width: auto; }
.hx-nav-pill { display: flex; gap: 4px; padding: 4px; border-radius: 6px; background: rgba(255,255,255,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hx-nav-pill a { padding: 7px 14px; font-size: 14.5px; border-radius: 4px; color: rgba(255,255,255,.88); transition: background .2s; }
.hx-nav-pill a:hover { background: rgba(255,255,255,.14); }
.hx-nav-pill a.hx-nav-signin { margin-left: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.hx-nav-cta { justify-self: end; }
.hx-menu-btn { display: none; justify-self: end; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 6px; cursor: pointer; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.hx-menu-btn i { display: block; width: 18px; height: 2px; background: #fff; }
.hx-menu { inset: 72px var(--hx-gutter) auto auto; margin: 0; padding: 10px; border: 1px solid var(--line-d); border-radius: 8px; background: color-mix(in srgb, var(--ink-2) 96%, transparent); color: #fff; min-width: 240px; }
.hx-menu:popover-open { display: flex; flex-direction: column; gap: 2px; }
.hx-menu a { text-decoration: none; }
.hx-menu a:not(.hx-split) { padding: 12px; border-radius: 4px; font-size: 17px; }
.hx-menu a:not(.hx-split):hover { background: rgba(255,255,255,.08); }
.hx-menu a.hx-menu-signin { margin-top: 6px; border-top: 1px solid var(--line-d); border-radius: 0 0 4px 4px; padding-top: 14px; }
.hx-menu .hx-split { margin-top: 10px; }
html.cfg-banner-on .hx-menu { top: calc(72px + var(--cfg-banner-h, 40px)); }

/* ---------- Andon rail: left edge on desktop, beside the menu button below 1081px ---------- */
.hx-rail { position: fixed; z-index: 30; left: 12px; top: 50%; transform: translateY(-50%); display: grid; gap: 4px; padding: 5px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 72%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line-d), 0 8px 30px rgba(0,0,0,.3); pointer-events: none; }
.hx-rail i { width: 10px; height: 18px; border-radius: 2px; opacity: .2; transition: opacity .25s, box-shadow .25s; }
.hx-rail .r, .hx-lamps .r { background: var(--red); }
.hx-rail .a, .hx-lamps .a { background: var(--amber); }
.hx-rail .g, .hx-lamps .g { background: var(--green); }
body[data-andon=red] .hx-rail .r { opacity: 1; box-shadow: 0 0 14px var(--red); }
body[data-andon=amber] .hx-rail .a { opacity: 1; box-shadow: 0 0 14px var(--amber); }
body[data-andon=green] .hx-rail .g { opacity: 1; box-shadow: 0 0 14px var(--green); }
.hx-rail.flash { animation: hx-nudge .6s ease-out; }
@keyframes hx-nudge { from { transform: translateY(-50%) scale(1.18); } to { transform: translateY(-50%) scale(1); } }
/* Mission's gutter is at least 43px above 1080px, so the rail (12px + 20px) never sits on text */

/* ---------- Hero ---------- */
.hx-hero { position: relative; height: 100svh; min-height: 620px; overflow: clip; display: grid; place-items: center; text-align: center; color: #fff; }
.hx-hero-media, .hx-hero-scrim { position: absolute; inset: 0; }
.hx-hero-media video, .hx-hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hx-hero-poster { position: absolute; inset: 0; }
.hx-hero-video { position: relative; }
.js .hx-hero-video { opacity: 0; transition: opacity .8s ease; }
.js .hx-hero-video.ready { opacity: 1; }
.hx-hero-scrim { background:
  radial-gradient(ellipse 62% 58% at 50% 46%, color-mix(in srgb, var(--ink) 66%, transparent), color-mix(in srgb, var(--ink) 22%, transparent) 72%),
  linear-gradient(180deg, color-mix(in srgb, var(--ink) 55%, transparent), transparent 26%, transparent 58%, color-mix(in srgb, var(--ink) 90%, transparent)); }
.hx-hero-copy { position: relative; z-index: 2; padding: 0 var(--hx-gutter); display: flex; flex-direction: column; align-items: center; }
.hx-hero-h { font-weight: 700; text-transform: uppercase; font-size: clamp(42px, 1rem + 5.6vw, 104px); line-height: .9; letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hx-ln { display: block; overflow: hidden; padding: .04em 0; }
.hx-ln > span { display: inline-block; animation: hx-rise 1.1s var(--hx-ease) both; }
.hx-ln:nth-child(2) > span { animation-delay: .08s; }
.hx-ln:nth-child(3) > span { animation-delay: .16s; }
@keyframes hx-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes hx-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hx-hero-sub { margin-top: 26px; max-width: 34ch; font-size: clamp(18px, .9rem + .55vw, 23px); line-height: 1.4; color: rgba(255,255,255,.94); text-wrap: balance; text-shadow: 0 1px 18px color-mix(in srgb, var(--ink) 70%, transparent); animation: hx-fade 1s .45s both; }
.hx-hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; animation: hx-fade 1s .6s both; }

/* The brand glyph: a tiny horizontal stack light that follows the Andon state */
.hx-glyph { display: inline-flex; gap: .07em; vertical-align: .08em; margin-right: .12em; }
.hx-glyph b { width: .2em; height: .62em; border-radius: .05em; background: rgba(255,255,255,.18); transition: background .3s, box-shadow .3s; }
body[data-andon=green] .hx-glyph b:nth-child(3) { background: var(--green); box-shadow: 0 0 .3em var(--green); }
body[data-andon=amber] .hx-glyph b:nth-child(2) { background: var(--amber); box-shadow: 0 0 .3em var(--amber); }
body[data-andon=red] .hx-glyph b:nth-child(1) { background: var(--red); box-shadow: 0 0 .3em var(--red); }

.hx-hero-foot { position: absolute; z-index: 3; left: var(--hx-gutter); right: var(--hx-gutter); bottom: var(--hx-gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
[data-theme-picker] .hx-hero-foot { bottom: calc(var(--hx-gutter) + 50px); }
.hx-andon-chip { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 62%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hx-andon-chip b { font: 600 12px/1 var(--hx-mono); letter-spacing: .1em; text-transform: uppercase; }
.hx-lamps { display: inline-flex; gap: 4px; padding: 5px 6px; border-radius: 4px; background: rgba(0,0,0,.5); }
.hx-lamps i { width: 9px; height: 9px; border-radius: 50%; opacity: .22; transition: opacity .25s, box-shadow .25s; }
[data-andon=red] .hx-lamps .r { opacity: 1; box-shadow: 0 0 10px var(--red); }
[data-andon=amber] .hx-lamps .a { opacity: 1; box-shadow: 0 0 10px var(--amber); }
[data-andon=green] .hx-lamps .g { opacity: 1; box-shadow: 0 0 10px var(--green); }
.hx-film-card { display: flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px; border: 0; border-radius: 6px; cursor: pointer; color: #fff; background: color-mix(in srgb, var(--ink) 66%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: left; max-width: 360px; transition: background .25s; }
.hx-film-card:hover { background: color-mix(in srgb, var(--ink) 85%, transparent); }
.hx-film-card img { width: 96px; height: 60px; object-fit: cover; border-radius: 3px; flex: none; }
.hx-eyebrow-sm { display: flex; align-items: center; gap: 6px; font: 500 11px/1 var(--hx-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey-d); margin-bottom: 5px; }
.hx-sq { width: 7px; height: 7px; background: var(--accent); display: inline-block; flex: none; }
.hx-film-card-t { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }

/* ---------- Built-with strip (Mission's hero base, now its own band under the hero) ---------- */
.hx-built { background: var(--ink); }
.hx-built .hero-base { padding-top: 22px; }
/* Mission fades its hero base in with the hero; here it is part of the page from the start */
.js .hx-built .hero-base { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .hx-nav { grid-template-columns: 1fr auto; }
  .hx-nav-pill, .hx-nav-cta { display: none; }
  .hx-menu-btn { display: inline-flex; }
  .hx-rail { z-index: 45; top: 29px; right: calc(var(--hx-gutter) + 52px); left: auto; transform: none; grid-auto-flow: column; transition: top .35s; }
  .hx-nav.solid ~ .hx-rail { top: 23px; }
  html.cfg-banner-on .hx-rail { top: calc(29px + var(--cfg-banner-h, 40px)); }
  html.cfg-banner-on .hx-nav.solid ~ .hx-rail { top: calc(23px + var(--cfg-banner-h, 40px)); }
  .hx-rail i { width: 16px; height: 10px; }
  .hx-rail.flash { animation: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --top-h: 66px; }
  .hx-nav-brand img { height: 30px; }
  .hx-hero { min-height: 560px; }
  .hx-hero-h { font-size: clamp(36px, 10.4vw, 56px); }
  .hx-hero-sub { font-size: 18px; }
  .hx-hero-ctas { flex-direction: column; align-items: stretch; width: min(320px, 100%); }
  .hx-hero-ctas .hx-split { justify-content: stretch; }
  .hx-hero-ctas .hx-split-txt { flex: 1; }
  .hx-hero-foot { flex-direction: row; align-items: flex-end; bottom: 16px; }
  .hx-andon-chip { align-self: flex-end; }
  .hx-hero-foot .hx-film-card { max-width: 64%; }
  .hx-film-card img { width: 64px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-ln > span, .hx-hero-sub, .hx-hero-ctas { animation: none; }
  .hx-rail, .hx-rail i, .hx-glyph b, .hx-lamps i, .hx-nav, .hx-hero-video { transition: none; }
  .hx-rail.flash { animation: none; }
}

/* Results stage line; Team follows Results on the dark band, so it carries its own rule like Contact */
.proof-stage { margin-top: clamp(32px, 3.4vw, 52px); font-size: 17px; line-height: 1.45; color: var(--on-ink-2); max-width: 70ch; }
.team { border-top: 1px solid var(--rule); }

/* Inception badge: the official file includes its clear space; match the CogniEdge logo height (36px), never taller. */
.hx-built .inception-badge { height: 36px; }

@media (max-width: 900px) { .hx-ln > span, .hx-hero-sub, .hx-hero-ctas { animation: none; } }

/* Insights: the "Research and insights" section on every layout, and the /insights pages (which wear the Hybrid
   nav and footer). Colours come only from the theme tokens in themes.css; reading surfaces are paper. */

/* ---------- Cards (home section and index) ---------- */
.ins-cards { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ins-card a { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 22px; border-radius: 6px; background: var(--paper-2); color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background .2s; }
.ins-card a:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 40%, transparent); background: color-mix(in srgb, var(--paper-2) 70%, var(--paper)); }
.ins-card a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.ins-type { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--grey); }
.ins-type::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 25%, transparent); }
.ins-card--whitepaper .ins-type::before { background: var(--text); }
.ins-card-t { margin: 0; font-size: clamp(19px, 1.2rem + .3vw, 23px); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.ins-card-s { flex: 1; color: var(--grey); font-size: 15.5px; line-height: 1.5; }
.ins-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--grey); }
.ins-draft-tag { margin-left: 8px; padding: 2px 7px; border-radius: 4px; background: var(--amber); color: #1a1406; font-size: 12px; }
.ins-all { display: inline-block; margin-top: 28px; font-weight: 600; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--text) 35%, transparent); }
.ins-all:hover { text-decoration-color: currentColor; }

/* ---------- Home section, per layout ---------- */
.insights-home { padding: clamp(80px, 9vw, 140px) 0; border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent); }
.insights-home.light .lede, .insights-home .ins-home-lede { color: var(--grey); }
.ins-home-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.ins-home-head .display { max-width: 14ch; }
.ins-home-lede { margin-top: 24px; }
.paper.insights-home { border-top: 0; }
.paper.insights-home .ins-cards { margin-top: 0; }
.paper.insights-home .ins-card a { background: #fff; }
.paper.insights-home .ins-card a:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--text); }

/* ---------- /insights pages ---------- */
.ins-page .hx-nav { background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; }
.ins-main { background: var(--paper); color: var(--text); padding: calc(var(--top-h) + clamp(40px, 6vw, 88px)) 0 clamp(80px, 9vw, 140px); }
.ins-main a { color: inherit; }
.ins-main :focus-visible { outline-color: var(--text); }
.ins-wrap { max-width: calc(1240px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.ins-index-head h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.ins-lede { margin-top: 20px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: var(--grey); max-width: 40ch; }
.ins-feed { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 600; text-underline-offset: 4px; }
.ins-tabs { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.ins-tabs a { padding: 8px 14px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--grey); }
.ins-tabs a:hover { color: var(--text); background: var(--paper-2); }
.ins-tabs a[aria-current="page"] { background: var(--text); color: var(--paper); }
.ins-cards--index { margin-top: 28px; }
.ins-cards--index .ins-card a { background: #fff; }
.ins-empty { margin-top: 32px; color: var(--grey); }

/* Article */
.ins-draft-banner { max-width: 760px; margin: 0 auto 32px; padding: 12px 16px; border-radius: 6px; background: var(--amber); color: #1a1406; font-weight: 600; }
.ins-article { max-width: calc(760px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.ins-crumb a { font-size: 15px; font-weight: 600; color: var(--grey); text-underline-offset: 4px; }
.ins-head .ins-type { margin-top: 28px; }
.ins-head h1 { margin-top: 12px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.ins-summary { margin-top: 20px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; color: var(--grey); }
.ins-head .ins-meta { margin-top: 22px; font-size: 15px; }
.ins-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-bottom: 28px; border-bottom: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.ins-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 4px; background: var(--text); color: var(--paper) !important; font-weight: 600; text-decoration: none; }
.ins-link { font-size: 15px; font-weight: 600; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--text) 35%, transparent); }
.ins-cover { margin-top: 32px; width: 100%; height: auto; border-radius: 6px; }
.ins-body { margin-top: 36px; font-size: 19px; line-height: 1.68; }
.ins-body > * + * { margin-top: 1.05em; }
.ins-body h2 { margin-top: 1.9em; font-size: clamp(24px, 2vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.ins-body h3 { margin-top: 1.6em; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.ins-body h4 { margin-top: 1.4em; font-size: 19px; font-weight: 700; }
.ins-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--text) 40%, transparent); }
.ins-body a:hover { text-decoration-color: currentColor; }
.ins-body ul, .ins-body ol { padding-left: 1.3em; }
.ins-body ul { list-style: disc; }
.ins-body ol { list-style: decimal; }
.ins-body li + li { margin-top: .4em; }
.ins-body blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: color-mix(in srgb, var(--text) 82%, var(--paper)); font-size: 21px; }
.ins-body code { font: .88em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; padding: .1em .35em; border-radius: 3px; background: var(--paper-2); }
.ins-body pre { overflow-x: auto; padding: 16px 18px; border-radius: 6px; background: var(--paper-2); }
.ins-body pre code { padding: 0; background: none; }
.ins-body img { max-width: 100%; height: auto; border-radius: 6px; }
.ins-body hr { border: 0; border-top: 1px solid color-mix(in srgb, var(--text) 14%, transparent); margin: 2em 0; }
.ins-source { margin-top: 40px; font-size: 15px; color: var(--grey); overflow-wrap: anywhere; }
.ins-pager { max-width: calc(760px + 2 * var(--gut)); margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ins-pager a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 6px; background: #fff; text-decoration: none; font-weight: 600; line-height: 1.3; }
.ins-pager a span { font-size: 13px; font-weight: 600; color: var(--grey); }
.ins-pager-older { grid-column: 2; text-align: right; }
.ins-pager-newer:only-child { grid-column: 1; }

@media (max-width: 1000px) {
  .ins-cards { grid-template-columns: 1fr 1fr; }
  .ins-home-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ins-cards { grid-template-columns: 1fr; }
  .ins-body { font-size: 18px; }
  .ins-pager { grid-template-columns: 1fr; }
  .ins-pager-older { grid-column: 1; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .ins-card a { transition: none; } }

/* Company menu in the top nav (pm-roll layout and the Insights pages): a native popover under its button with
   links on the left and, while the newest Insights item is under 90 days old, a "Latest" card on the right.
   Colours come only from the theme tokens in themes.css. Motion: opacity, translate and scale only. */

/* ---------- Button: reads as one of the pill's links ---------- */
.hx-co { display: inline-flex; }
.hx-co-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px 7px 14px; border: 0; border-radius: 4px; background: transparent; color: rgba(255,255,255,.88); font: inherit; font-size: 14.5px; cursor: pointer; anchor-name: --hx-co; transition: background .2s, color .2s; }
.hx-co-btn:hover, .hx-co-btn[aria-expanded="true"] { background: rgba(255,255,255,.14); color: #fff; }
.hx-co-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hx-co-chev { width: 12px; height: 12px; opacity: .8; transition: rotate .3s cubic-bezier(.16, 1, .3, 1); }
.hx-co-btn[aria-expanded="true"] .hx-co-chev { rotate: 180deg; }

/* ---------- Panel ---------- */
.hx-co-panel { width: 300px; padding: 8px; border: 0; border-radius: 12px; background: #fff; color: var(--text); overflow: visible;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 2px 6px rgb(6 10 14 / .12), 0 28px 60px -16px rgb(6 10 14 / .55);
  opacity: 0; translate: 0 -6px; scale: .985; transform-origin: top right;
  transition: opacity .14s ease-in, translate .14s ease-in, scale .14s ease-in, overlay .14s, display .14s;
  transition-behavior: allow-discrete; }
.hx-co-panel::backdrop { background: transparent; }
.hx-co-panel:popover-open { display: grid; opacity: 1; translate: 0 0; scale: 1;
  transition-duration: .3s; transition-timing-function: cubic-bezier(.16, 1, .3, 1); }
@starting-style { .hx-co-panel:popover-open { opacity: 0; translate: 0 -6px; scale: .985; } }
.hx-co-panel:has(.hx-co-feat) { width: 572px; grid-template-columns: minmax(0, 1fr) 248px; gap: 8px; }

/* Under the button, right edges aligned; where anchor positioning is missing company-menu.js places it */
@supports (position-area: block-end) {
  .hx-co-panel { position-anchor: --hx-co; inset: auto; height: auto; margin: 12px 0 0; position-area: block-end span-inline-start; position-try-fallbacks: flip-inline; }
}
.hx-co-panel.hx-co-placed { position: fixed; inset: auto; margin: 0; }

/* Contents settle in just after the panel, in reading order */
.hx-co-links > a, .hx-co-feat { transition: opacity .3s ease-out, translate .45s cubic-bezier(.16, 1, .3, 1), background .2s; }
.hx-co-panel:popover-open .hx-co-links > a:nth-child(2) { transition-delay: 25ms, 25ms, 0s; }
.hx-co-panel:popover-open .hx-co-links > a:nth-child(3) { transition-delay: 50ms, 50ms, 0s; }
.hx-co-panel:popover-open .hx-co-links > a:nth-child(4) { transition-delay: 75ms, 75ms, 0s; }
.hx-co-panel:popover-open .hx-co-links > a:nth-child(5) { transition-delay: 100ms, 100ms, 0s; }
.hx-co-panel:popover-open .hx-co-feat { transition-delay: 60ms, 60ms, 0s; }
@starting-style { .hx-co-panel:popover-open :is(.hx-co-links > a, .hx-co-feat) { opacity: 0; translate: 0 4px; } }

/* Links (beat the pill's own link rule) */
.hx-co-links { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hx-nav-pill .hx-co-panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; background: transparent; color: var(--text); font-size: 15px; text-decoration: none; }
.hx-nav-pill .hx-co-panel a:hover { background: var(--paper-2); }
.hx-nav-pill .hx-co-panel a:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.hx-co-panel b { font-weight: 600; letter-spacing: -.005em; }
.hx-co-panel small { color: var(--grey); font-size: 13px; line-height: 1.35; }
.hx-nav-pill .hx-co-panel a.hx-co-signin { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent); border-radius: 0 0 8px 8px; }
.hx-co-soon { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: color-mix(in srgb, var(--amber) 24%, #fff); color: #6b4a00; font-size: 11px; font-weight: 700; letter-spacing: .02em; vertical-align: 2px; }
.hx-menu .hx-co-soon { background: color-mix(in srgb, var(--amber) 22%, transparent); color: var(--amber); }
.hx-co-signin > span { display: grid; gap: 1px; }
.hx-co-signin b { font-size: 14px; color: var(--grey); }
.hx-co-signin small { font-size: 12.5px; }
.hx-co-signin svg { flex: none; width: 16px; height: 16px; color: var(--grey); transition: translate .25s cubic-bezier(.16, 1, .3, 1), color .2s; }
.hx-co-signin:hover b, .hx-co-signin:hover svg { color: var(--text); }
.hx-co-signin:hover svg { translate: 3px 0; }

/* "Latest" card */
.hx-nav-pill .hx-co-panel a.hx-co-feat { align-content: start; gap: 6px; padding: 8px 8px 14px; border-radius: 8px; background: var(--paper); }
.hx-nav-pill .hx-co-panel a.hx-co-feat:hover { background: var(--paper-2); }
.hx-co-feat-img { display: block; aspect-ratio: 16 / 10; margin-bottom: 6px; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.hx-co-feat-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.16, 1, .3, 1); }
.hx-co-feat:hover .hx-co-feat-img img { scale: 1.04; }
.hx-co-feat-k { justify-self: start; margin: 0 4px; padding: 2px 7px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.hx-co-feat b { margin: 0 4px; font-size: 15.5px; line-height: 1.25; text-wrap: pretty; }
.hx-co-feat small { margin: 0 4px; font-size: 12.5px; }

/* ---------- Phone menu: a "Company" group, and the same card in the dark ---------- */
.hx-menu { background: var(--ink-2); }  /* solid: the hero headline showed through at 96% */
.hx-menu-h { margin: 12px 12px 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-d); }
.hx-menu a.hx-menu-sub { padding-left: 24px; font-size: 16px; color: #dfe5e9; }
.hx-menu a.hx-co-feat { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px; align-items: center; margin: 6px 0 0 12px; padding: 8px; border-radius: 6px; background: rgba(255,255,255,.06); font-size: 14px; }
.hx-menu .hx-co-feat-img { grid-row: 1 / 3; width: 72px; height: 52px; margin: 0; aspect-ratio: auto; border-radius: 4px; }
.hx-menu .hx-co-feat-k { align-self: end; margin: 0; }
.hx-menu .hx-co-feat b { align-self: start; margin: 0; font-size: 14px; font-weight: 600; }
.hx-menu .hx-co-feat small { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hx-co-panel, .hx-co-panel :is(.hx-co-links > a, .hx-co-feat) { translate: none !important; scale: none !important; }
  .hx-co-chev, .hx-co-signin svg, .hx-co-feat-img img { transition: none; }
  .hx-co-feat:hover .hx-co-feat-img img { scale: none; }
}
@media (forced-colors: active) { .hx-co-panel { border: 1px solid CanvasText; } }

/* Newsroom while it is locked: the public "Coming soon" page (also the media kit's), the newsroom as preview people
   see it, and the /preview hub. Theme tokens only. The Andon stack runs its lamp test once, then rests on amber
   ("in preparation"); nothing loops. */

/* ---------- Coming soon ---------- */
.ins-main:has(> .cs) { padding: 0; background: var(--ink); }
.cs { position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: #fff; }
.cs-bg { position: absolute; inset: 0; z-index: -1; }
.cs-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.6); }
.cs-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 18%, color-mix(in srgb, var(--ink) 70%, transparent) 55%, color-mix(in srgb, var(--ink) 35%, transparent)),
              linear-gradient(0deg, var(--ink), transparent 40%),
              repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px),
              repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px); }
.cs-in { width: 100%; max-width: calc(1240px + 2 * var(--gut)); margin: 0 auto; padding: calc(var(--top-h) + clamp(48px, 7vw, 96px)) var(--gut) clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line-d);
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em; color: #dfe5e9; }
.cs-lock { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--amber) 22%, transparent); color: var(--amber); }
.cs-lock svg { width: 13px; height: 13px; }
.cs h1 { margin-top: 22px; font-size: clamp(56px, 9vw, 132px); line-height: .92; font-weight: 600; letter-spacing: -.045em; }
.cs h1 span { color: var(--amber); }
.cs-lede { margin-top: 26px; max-width: 46ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #c9d1d7; }
.cs-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.cs-list li { display: grid; gap: 6px; padding: 16px 16px 18px; border-radius: 8px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-d); }
.cs-list b { font-size: 15.5px; font-weight: 600; }
.cs-list span { font-size: 14px; line-height: 1.45; color: var(--grey-d); }
.cs-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.cs-preview { color: var(--grey-d); font-size: 15px; text-decoration: none; }
.cs-preview b { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35); }
.cs-preview:hover b { text-decoration-color: #fff; }
.cs-preview span { display: inline-block; transition: translate .25s cubic-bezier(.16, 1, .3, 1); }
.cs-preview:hover span { translate: 3px 0; }
.cs a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Andon stack light */
.cs-andon { display: grid; justify-items: center; gap: 0; }
.cs-stack { display: grid; gap: 6px; padding: 10px; border-radius: 14px; background: #05080a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px rgb(0 0 0 / .8); }
.cs-stack i { display: block; width: 92px; height: 62px; border-radius: 8px; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: background .4s, box-shadow .4s; }
.cs-stack .cs-a { background: var(--amber); box-shadow: 0 0 48px color-mix(in srgb, var(--amber) 70%, transparent), inset 0 -8px 16px rgb(0 0 0 / .18), inset 0 6px 10px rgba(255,255,255,.35); }
.cs-pole { width: 14px; height: 120px; background: linear-gradient(90deg, #1d252c, #2c363e 50%, #1d252c); }
.cs-status { display: grid; justify-items: center; gap: 2px; margin-top: 14px; font: 600 13px/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.cs-status span { color: var(--grey-d); font-size: 11px; }

/* One lamp test on arrival: red, amber, green, then rest on amber. Copy rises in after. */
@media (prefers-reduced-motion: no-preference) {
  .cs-stack i { animation: cs-lamp .9s ease-out both; }
  .cs-stack .cs-r { --lamp: var(--red); animation-delay: .25s; }
  .cs-stack .cs-g { --lamp: var(--green); animation-delay: .85s; }
  .cs-stack .cs-a { animation: cs-amber 1.6s ease-out both; animation-delay: .55s; }
  .cs-copy > * { animation: cs-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
  .cs-copy > :nth-child(2) { animation-delay: .06s; }
  .cs-copy > :nth-child(3) { animation-delay: .14s; }
  .cs-copy > :nth-child(4) { animation-delay: .22s; }
  .cs-copy > :nth-child(5) { animation-delay: .3s; }
  .cs-bg img { animation: cs-settle 2.4s cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes cs-lamp { 0%, 100% { background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
  30% { background: var(--lamp); box-shadow: 0 0 40px color-mix(in srgb, var(--lamp) 60%, transparent); } }
@keyframes cs-amber { 0% { background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
  20% { background: var(--amber); box-shadow: 0 0 40px color-mix(in srgb, var(--amber) 60%, transparent); }
  40% { background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); } }
@keyframes cs-rise { from { opacity: 0; translate: 0 14px; } }
@keyframes cs-settle { from { scale: 1.06; opacity: 0; } }

@media (max-width: 900px) {
  .cs-in { grid-template-columns: 1fr; }
  .cs-andon { grid-row: 1; justify-self: start; grid-template-columns: auto auto; align-items: center; gap: 16px; }
  .cs-stack { grid-auto-flow: column; padding: 6px; border-radius: 10px; }
  .cs-stack i { width: 34px; height: 22px; border-radius: 5px; }
  .cs-pole { display: none; }
  .cs-status { margin: 0; justify-items: start; }
  .cs-list { grid-template-columns: 1fr; }
  .cs h1 { margin-top: 18px; }
}

/* ---------- Preview ribbon (newsroom and hub) ---------- */
.pv-ribbon { max-width: calc(1240px + 2 * var(--gut)); margin: 0 auto 36px; padding: 0 var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14.5px; font-weight: 600; }
.pv-ribbon > span:nth-child(2) { flex: 1; min-width: 240px; padding: 10px 14px; border-radius: 6px; background: color-mix(in srgb, var(--amber) 22%, #fff); color: #4d3600; }
.pv-ribbon .cs-lock { background: color-mix(in srgb, var(--amber) 30%, #fff); color: #6b4a00; }
.pv-ribbon a { text-underline-offset: 4px; }
.ins-article ~ .pv-ribbon, .pv-ribbon + .ins-article { margin-top: 0; }

/* ---------- Newsroom (preview) ---------- */
.nr-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.nr-press { min-width: 260px; padding: 20px 22px; border-radius: 6px; background: #fff; display: grid; gap: 6px; justify-items: start; }
.nr-press-k { font-size: 13px; font-weight: 600; color: var(--grey); }
.nr-press-v { font-weight: 600; margin-bottom: 6px; }
.nr-kit { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 4px; }
.nr-kit span { padding: 1px 6px; border-radius: 4px; background: color-mix(in srgb, var(--amber) 24%, #fff); color: #6b4a00; font-size: 11px; font-weight: 700; text-decoration: none; }
.nr-list { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.nr-row a { display: grid; grid-template-columns: 180px 1fr 40px; gap: 28px; align-items: start; padding: 28px 4px; border-bottom: 1px solid color-mix(in srgb, var(--text) 12%, transparent); text-decoration: none; }
.nr-row a:hover h2 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.nr-row time { padding-top: 2px; font-size: 15px; font-weight: 600; color: var(--grey); }
.nr-row h2 { margin-top: 8px; font-size: clamp(22px, 1.4rem + .3vw, 28px); line-height: 1.18; font-weight: 600; letter-spacing: -.02em; }
.nr-sum { margin-top: 8px; color: var(--grey); font-size: 16.5px; line-height: 1.5; max-width: 62ch; }
.nr-arrow { justify-self: end; font-size: 22px; color: var(--grey); padding-top: 26px; }
.nr-row--news .ins-type::before { background: var(--accent); }
.nr-row--research .ins-type::before { background: var(--text); }
.nr-about { margin-top: 64px; padding: 32px; border-radius: 6px; background: var(--paper-2); max-width: 860px; }
.nr-about h2 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.nr-about p { margin-top: 12px; font-size: 17px; line-height: 1.6; }

/* ---------- Preview hub ---------- */
.pv-k { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #6b4a00; }
.pv-k .cs-lock { background: color-mix(in srgb, var(--amber) 30%, #fff); color: #6b4a00; }
.pv h1 { margin-top: 14px; font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.pv-grid { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pv-card a { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px 22px 20px; border-radius: 8px; background: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, translate .25s cubic-bezier(.16, 1, .3, 1); }
.pv-card a:hover { box-shadow: inset 0 0 0 1px var(--text); translate: 0 -2px; }
.pv-card a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.pv-card b { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.pv-d { color: var(--grey); font-size: 15px; line-height: 1.45; }
.pv-go { font-weight: 600; font-size: 15px; }
.pv-go span { display: inline-block; transition: translate .25s cubic-bezier(.16, 1, .3, 1); }
.pv-card a:hover .pv-go span { translate: 3px 0; }
.pv-chip { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pv-chip i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.pv-chip--amber { background: color-mix(in srgb, var(--amber) 22%, #fff); color: #6b4a00; }
.pv-chip--amber i { background: var(--amber); }
.pv-chip--green { background: color-mix(in srgb, var(--green) 16%, #fff); color: #116b3d; }
.pv-chip--green i { background: var(--green); }
.pv-chip--grey { background: var(--paper-2); color: var(--grey); }
.pv-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent); color: var(--grey); font-size: 15px; }
.pv-foot b { color: var(--text); }
.pv-out { min-height: 38px; padding: 0 14px; border: 0; border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 25%, transparent); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.pv-out:hover { box-shadow: inset 0 0 0 1px var(--text); }

@media (max-width: 720px) {
  .nr-head { grid-template-columns: 1fr; }
  .nr-row a { grid-template-columns: 1fr; gap: 6px; }
  .nr-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-card a, .pv-card a:hover, .pv-go span, .cs-preview span { translate: none; transition: none; }
}

/* Keep navigation usable at high zoom and in older popover implementations. */
main[id], section[id] { scroll-margin-top: 110px; }
main:focus { outline: 2px solid transparent; outline-offset: -2px; }
.hx-menu { max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); max-width: calc(100vw - 32px); overflow-y: auto; overscroll-behavior: contain; }
.hx-menu-btn { min-width: 44px; min-height: 44px; }
.hx-co-btn, .foot-links a, .ins-feed, .ins-crumb a, .mk-logos a { min-height: 24px; }
.foot-links a, .ins-crumb a, .mk-logos a { display: inline-flex; align-items: center; }
.hx-menu.navigation-fallback:not([hidden]) { position: fixed; z-index: 45; display: flex; flex-direction: column; gap: 2px; }
.hx-co-panel.navigation-fallback:not([hidden]) { position: absolute; inset: 70px 24px auto auto; z-index: 45; display: grid; opacity: 1; translate: none; scale: 1; margin: 0; max-width: calc(100vw - 48px); }
.navigation-fallback[hidden] { display: none !important; }
.pf-title a { text-underline-offset: 3px; }
@media (forced-colors: active) {
  :focus-visible { outline: 2px solid Highlight !important; outline-offset: 3px; }
  .hx-menu-btn i { background: ButtonText; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hx-co-panel, .hx-co-links > a, .hx-co-feat { transition: none !important; }
}

