/* 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; } }

/* 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; } }

/* 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); }

/* Hybrid + motion (with /assets/motion.css): cards and rows stagger in, the example record writes itself in with the
   hold flashing and the seal last, and the three steps light once in order. The headline keeps its own line rise. */
.steps .step-n { transition: background .4s, color .4s, box-shadow .4s; }
.steps li.m-on .step-n { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 45%, transparent); }
.steps li img { transition: filter .6s; }
.m-js .steps li:not(.m-on) img { filter: saturate(.75) brightness(.85); }
.entry { --m-flash: var(--red); }

/* 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; } }

/* Shared motion, after the Embrelon site, held to what the Nov 25 reviews allowed: headline words arrive soft and
   blurred (Studio only), groups stagger in, the example decision record writes itself in with the seal last, and
   the three public steps light once in order. Nothing loops, counts or pulses, so nothing reads as a live feed.
   Hidden start states apply only once motion.js has added .m-js, and never with reduced motion. */
:root { --m-ease: cubic-bezier(.22, 1, .36, 1); }
@keyframes m-zen { from { opacity: 0; filter: blur(5px); transform: translateY(.28em); } }
@keyframes m-flash { 0% { box-shadow: inset 0 0 0 999px color-mix(in srgb, var(--m-flash, #d24a35) 22%, transparent); } 100% { box-shadow: inset 0 0 0 999px transparent; } }

@media (prefers-reduced-motion: no-preference) {
  /* headline words: split in the HTML, so the first painted frame is already the start of the cascade */
  .m-w { display: inline-block; animation: m-zen .6s var(--m-ease) both; animation-delay: calc(var(--mi, 0) * 70ms + 60ms); }

  .m-js [data-m-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--m-ease), transform .7s var(--m-ease); transition-delay: calc(var(--mk, 0) * 60ms); }
  .m-js [data-m-stagger].is-in > * { opacity: 1; transform: none; }

  .m-js [data-m-log] .m-row { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--m-ease), transform .4s var(--m-ease); }
  .m-js [data-m-log] .m-row.on { opacity: 1; transform: none; }
  .m-js [data-m-log] .m-row.flash { animation: m-flash 1.2s ease-out; }
}

/* Partner and programme marks (.pm-). One component, four placements: band, ledger, register, footer.
   Rules: marks are used exactly as supplied (no filter, recolour or crop); a mark is never taller than the
   CogniEdge logo (--pm-h follows the nav logo: 36px, 30px on phones); every group is labelled by the true
   relationship (Member of / Supported by / Research collaborators). Funder attribution text goes in .pm-note. */
.pm { --pm-h: 36px; --pm-k: var(--grey); --pm-fg: var(--text); }
@media (max-width: 720px) { .pm { --pm-h: 30px; } }
.pm ul { list-style: none; margin: 0; padding: 0; }
.pm-k { font: 500 11px/1 var(--hx-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pm-k); white-space: nowrap; margin: 0; }
.pm-groups { display: flex; flex-wrap: wrap; gap: 20px 56px; }
.pm-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pm-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pm-mark { display: flex; align-items: center; gap: 12px; }
.pm-logo { display: flex; align-items: center; }
.pm-img { display: block; height: var(--pm-h); width: auto; max-width: none; }
.pm-name { font-size: 15px; font-weight: 500; color: var(--pm-fg); }
.pm-marks:has(> :nth-child(3)) .pm-name { display: none; }   /* 3+ marks: logos only; names stay in alt text */
.pm-note { flex-basis: 100%; max-width: 64ch; font-size: 13px; line-height: 1.45; color: var(--pm-k); margin: 0; }

/* 1. Light band under the hero (replaces the Built-with strip) */
.pm--band { background: var(--paper); border-bottom: 1px solid var(--paper-2); }
.pm--band .pm-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding-block: 16px; }
.pm--band .pm-built { font-size: 14px; color: var(--grey); }
.pm--band .pm-built b { color: var(--text); font-weight: 600; margin-right: 8px; }
.pm--band .film-toggle { margin-left: auto; color: var(--grey); }
.pm--band .film-toggle:hover { color: var(--text); }
@media (max-width: 720px) { .pm--band .film-toggle { margin-left: 0; } }

/* 2. Ledger at the foot of "Build it with us" (light section) */
.pm--ledger { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent); display: grid; gap: 18px; }
.pm--ledger .pm-lead { font-size: 16px; line-height: 1.5; color: var(--grey); margin: 0; }
.pm--ledger .pm-group { display: grid; gap: 12px; align-content: start; }
.pm--ledger .pm-logo { min-height: 64px; padding: 0 20px; background: #fff; border: 1px solid color-mix(in srgb, var(--text) 10%, transparent); border-radius: 4px; }
.pm--ledger .pm-name { display: none; }

/* 3. Register under Team (dark): one row per relationship, every mark on the same paper plate */
.pm--register { --pm-k: var(--on-ink-3); --pm-fg: var(--on-ink); margin-top: clamp(56px, 6vw, 96px); }
.pm--register .pm-title { font-size: 15px; font-weight: 600; color: var(--on-ink-2); margin: 0 0 16px; }
.pm--register .pm-rows { border-top: 1px solid var(--rule); margin: 0; }
.pm--register .pm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px clamp(24px, 4vw, 64px); align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.pm--register dd { margin: 0; }
.pm--register .pm-logo { min-height: calc(var(--pm-h) + 16px); padding: 8px 14px; border-radius: 3px; background: var(--paper); }
@media (max-width: 900px) { .pm--register .pm-row { grid-template-columns: 1fr; } }

/* 4. Footer credentials row (dark): small white plates, on every page */
.pm--foot { --pm-k: var(--on-ink-3); --pm-fg: var(--on-ink); display: flex; flex-wrap: wrap; gap: 20px 40px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.pm--foot .pm-group { display: grid; gap: 10px; }
.pm--foot .pm-logo { min-height: 48px; padding: 0 14px; background: #fff; border-radius: 4px; }
.pm--foot .pm-name { display: none; }

/* 5. Rolling band under the hero: reuses the original strip (.hx-built + .hero-base: page ink, inset hairline), so it
   reads as part of the page. Marks scroll continuously; hover or keyboard focus pauses, reduced motion shows it static.
   Badges with their own box (NVIDIA Inception) keep it; marks with a variable wordmark use their on-dark file. */
.pm--roll { --pm-fg: var(--on-ink); --pm-k: var(--on-ink-3); }
.pm--roll .pm-in { display: flex; align-items: center; gap: 24px; }
.pm-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pm-track { display: flex; width: max-content; animation: pm-roll var(--pm-dur, 30s) linear infinite; }
.pm .pm-set { display: flex; align-items: center; gap: 56px; padding-right: 56px; }   /* scoped so it outranks ".pm ul" (padding: 0): the loop seam keeps its gap */
.pm-item { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.pm-item .pm-say { font-size: 15px; font-weight: 500; color: var(--pm-fg); }
.pm-viewport:hover .pm-track, .pm-viewport:focus-within .pm-track { animation-play-state: paused; }
@keyframes pm-roll { to { transform: translateX(-50%); } }
/* Background-film pause, required for autoplaying video (WCAG 2.2.2): a small glass button on the hero video it
   controls, next to the Andon chip. hybrid.js still sets the text ("Pause/Play background films"), which stays the
   accessible name; the glyph follows aria-pressed. */
.pm-hero-left { display: flex; align-items: center; gap: 8px; align-self: flex-end; }
.hx-hero-foot .film-toggle { position: relative; flex: none; margin: 0; width: 34px; height: 34px; padding: 0; font-size: 0; line-height: 0; text-decoration: none;
  border: 0; border-radius: 6px; color: var(--on-ink-2); background: color-mix(in srgb, var(--ink) 62%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: color .2s; }
.hx-hero-foot .film-toggle:hover, .hx-hero-foot .film-toggle:focus-visible { color: var(--on-ink); }
.hx-hero-foot .film-toggle::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 8px; height: 10px;
  background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 5px, currentColor 5px 8px); }
.hx-hero-foot .film-toggle[aria-pressed="true"]::before { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translate(-35%, -50%); }
@media (prefers-reduced-motion: reduce) {
  .pm-track { animation: none; width: auto; flex-wrap: wrap; }
  .pm-set[aria-hidden] { display: none; }
}
@media (max-width: 720px) { .pm--roll .pm-in { flex-wrap: nowrap; gap: 12px; } .pm .pm-set { gap: 36px; padding-right: 36px; } }


/* Film viewer (live layout). The film plays in a quiet frame; under it a chapter rail drawn like the film's own
   stack light: one lamp per part, sized by its length, coloured by its Andon state, filling as the film plays.
   Overrides Mission's generic .film dialog styles. */
.film.pf { position: fixed; width: min(1180px, 94vw); max-height: 96vh; padding: 0; border: 0; border-radius: 10px; overflow: visible;
  background: transparent; color: var(--on-ink); }
.film.pf::backdrop { background: color-mix(in srgb, var(--ink) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pf-frame { position: relative; border-radius: 10px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--rule), 0 40px 120px rgba(0, 0, 0, .6); }
.pf-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
/* Close sits on the dialog, just above the frame (the frame clips for its rounded corners), so it never covers
   the film's own data panel at the top right of the picture. */
.pf-close { position: absolute; top: -46px; right: 0; width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%; color: var(--on-ink); cursor: pointer;
  background: color-mix(in srgb, var(--ink) 55%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: .8; transition: opacity .2s, background .2s; }
.pf-close:hover, .pf-close:focus-visible { opacity: 1; background: color-mix(in srgb, var(--ink) 80%, transparent); }
.pf-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pf-close svg { width: 14px; height: 14px; }

.pf-info { display: grid; grid-template-columns: minmax(180px, auto) 1fr; gap: 32px; align-items: end; padding: 20px 4px 0; }
.pf-title h2 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.pf-title p { margin: 4px 0 0; font-size: 14px; color: var(--on-ink-3); }

.pf-rail { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.pf-rail li { flex: var(--len) 1 0; min-width: 0; }
.pf-rail button { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 8px 8px; padding: 0 0 2px; border: 0;
  background: none; color: var(--on-ink-3); font: inherit; text-align: left; cursor: pointer; }
.pf-lamp { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 2px; overflow: hidden;
  background: color-mix(in srgb, var(--lamp) 18%, var(--ink-2)); }
.pf-lamp i { position: absolute; inset: 0 auto 0 0; width: calc(var(--fill, 0) * 100%); background: var(--lamp); }
.pf-name { font-size: 13px; line-height: 1.3; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-time { font: 500 12px/1.3 var(--hx-mono); font-variant-numeric: tabular-nums; opacity: .7; }
.pf-rail button:hover, .pf-rail button:focus-visible, .pf-rail button[aria-current="step"] { color: var(--on-ink); }
.pf-rail button[aria-current="step"] .pf-lamp { box-shadow: 0 0 14px color-mix(in srgb, var(--lamp) 55%, transparent); }
.pf-rail button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }

/* End screen: the film's recap, in the site's type on the frame itself. */
.pf-end { position: absolute; inset: 0; z-index: 2; overflow-y: auto; background: var(--ink); color: var(--on-ink);
  display: grid; align-content: center; }
.pf-end[hidden] { display: none; }
.pf-end-in { width: min(820px, 100%); margin: 0 auto; padding: 48px clamp(24px, 5vw, 56px); }
.pf-end h3 { margin: 0 0 20px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.pf-end ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.pf-end li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--on-ink-2); max-width: 70ch; }
.pf-end li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.pf-end li:nth-child(1)::before { background: var(--red); }
.pf-end li:nth-child(2)::before { background: var(--amber); }
.pf-end li:nth-child(3)::before { background: var(--green); }
.pf-end-note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--on-ink-3); max-width: 75ch; }
.pf-end-next { margin: 22px 0 0; font-size: 16px; font-weight: 500; }
.pf-end-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pf-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 4px; border: 1px solid var(--rule);
  background: transparent; color: var(--on-ink); font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; }
.pf-btn:hover { border-color: var(--on-ink-2); }
.pf-btn-main { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pf-btn-main:hover { filter: brightness(1.08); }
.pf-btn:focus-visible { outline: 2px solid var(--on-ink); outline-offset: 3px; }
.pf-credits { margin: 28px 0 0; font-size: 10.5px; line-height: 1.45; color: var(--on-ink-3); opacity: .75; overflow-wrap: anywhere; }

/* The one motion moment: opening the film. */
@media (prefers-reduced-motion: no-preference) {
  .film.pf[open] { animation: pf-in .28s cubic-bezier(.2, .7, .2, 1); }
  .film.pf[open]::backdrop { animation: pf-fade .28s ease-out; }
}
@keyframes pf-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes pf-fade { from { opacity: 0; } }

html.film-open { overflow: hidden; }

/* Phones: a full-screen sheet, film on top, chapters below. */
@media (max-width: 720px) {
  .film.pf { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; border-radius: 0; background: var(--ink); }
  .film.pf[open] { display: flex; flex-direction: column; justify-content: center; }   /* only when open: never override the closed state */
  .pf-frame { border-radius: 0; box-shadow: none; }
  .pf-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
  .pf-info { grid-template-columns: 1fr; gap: 20px; padding: 20px 16px 0; }
  /* Chapters as rows on phones, so every name is readable. */
  .pf-rail { flex-direction: column; gap: 10px; }
  .pf-rail button { grid-template-columns: 44px 1fr; align-items: center; row-gap: 6px; }
  .pf-lamp { grid-column: 2; grid-row: 2; }
  .pf-time { grid-row: 1 / span 2; align-self: center; }
  .pf-name { font-size: 14px; white-space: normal; }
  .pf-end { position: static; max-height: 70svh; }
  .pf-frame:has(.pf-end:not([hidden])) video { display: none; }   /* the recap replaces the film rather than covering a 220 px frame */
  .pf-end-in { padding: 24px 18px; }
  .pf-end li { font-size: 14px; }
  .pf-end h3 { font-size: 20px; margin-bottom: 12px; }
}

/* 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; } }

.email-enquiry .form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.email-enquiry .form-row input { min-width: 0; min-height: 50px; width: 100%; }
.email-enquiry button { min-height: 50px; padding-inline: 28px; }
.email-enquiry button:disabled { opacity: .65; cursor: wait; }
.email-enquiry .form-note:empty { display: none; }
.email-enquiry .form-note { margin-top: 14px; line-height: 1.5; }
.email-enquiry .form-note.err { color: #ffb4a9; }
.email-enquiry .form-note.ok { color: #a2e7c2; }
@media (max-width: 380px) { .email-enquiry .form-row { grid-template-columns: 1fr; } }

/* 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; }
}

