@layer tokens, base, layout, components, sections, utilities;

/* ── tokens.css ─────────────────────────── */
/* ============================================================================
   TOKENS — the only file in this codebase where a raw value is allowed.
   Every color, space, size, radius, weight and duration is declared here and
   nowhere else. Change a value here and all eleven pages change together.
   Approved: docs/design/palette-proposal.html
   ========================================================================= */

@layer tokens {
:root {

  /* ── 1. CORE ───────────────────────────────────────────────────────────
     Sampled from the logo artwork. These four are the brand. Not negotiable. */
  --c-ink:            #122C4B;   /* headlines, dark section grounds          */
  --c-blue:           #0E6594;   /* links, active states                     */
  --c-azure:          #1578B6;   /* accents, diagram connectors, graphics    */
  --c-azure-on-dark:  #7FBCE4;   /* azure lifted for the dark ground (6.9:1) */
  --c-azure-text:     #136EA7;   /* azure as small text — 5.0:1 on every light
                                    ground. Graphics may use --c-azure; text
                                    never does.                               */

  /* ── 2. GROUNDS — D21. Three, Apple-clean: white by default, one light
     grey for the alternate band and for tiles, navy for the few dark bands
     and the Home hero. No two adjacent sections share a ground, and at most
     about a third of a page is dark. A ground no longer carries a meaning. */
  --g-paper:          #FFFFFF;   /* default                                  */
  --g-cloud:          #F5F5F7;   /* alternate band, tile fill on white       */
  --g-ink:            var(--c-ink); /* dark band, Home hero                  */
  --g-night:          #0A1424;   /* near-black navy: the default dark ground (D59) */

  /* Surfaces that sit on top of a ground */
  --g-card:           #FFFFFF;   /* a tile on the grey ground                */
  --g-card-on-dark:   #1B3A63;   /* a tile on the navy ground                */

  /* ── 3. ACTION — violet (D22). The one saturated non-domain colour, for
     actions only: the primary button, the active menu item, keyboard focus.
     Never a heading, a band or a diagram. Every pair measured, WCAG 2.2 AA:
       white label on --a-action        6.65:1
       white label on --a-action-hover  8.79:1
       --a-action as text on paper      6.65:1, on cloud 6.11:1
       navy label on --a-action-on-dark 6.66:1                              */
  --a-action:          #5B3FD9;
  --a-action-hover:    #4A2FB8;  /* deepens on hover and press             */
  --a-action-on-dark:  #B7A6FF;  /* the same action inside a navy band     */
  --a-action-label:    #FFFFFF;  /* label on a violet surface              */

  /* ── 4. DOMAIN HUES — one per thing the site shows (F20): inside diagrams,
     the animated marks and the colour fields behind visuals only (D23, D59).
     All kept clear of the action violet, so a diagram never reads as
     something to click; the platform hue is plum, not blue-violet, for that
     reason. Values unchanged from the four-domain names they replace. */
  --d-technologies: #1578B6;   /* the AI technologies                     */
  --d-platform:     #8B4789;   /* Humanoid AI                             */
  --d-comms:        #2C4B9B;   /* AI for intelligent communication systems */
  --d-engine:       #14807C;   /* the research engine: international R&D  */

  /* Tints of each, for diagram fills on light grounds */
  --d-technologies-tint: #E7F1F8;
  --d-comms-tint:        #E7EBF6;

  /* ── 5. SEMANTIC — meaning inside diagrams only. Never page chrome. */
  --s-valid:          #2E7D57;   /* an approved, validated path              */
  --s-blocked:        #C25E4E;   /* a rejected action, an exception          */
  --s-valid-on-dark:  #7FCDA0;   /* the same, as text inside a navy band (5.5:1 on its fill) */
  --s-blocked-on-dark:#F2A194;   /* 5.1:1 on its fill                         */
  /* The signal in a diagram: a sensed path, a radio hop, the one highlighted
     route. Warm so it stands apart from the cool domain hues. It is the old
     amber, now confined to drawings; it never marks an action (D22, D30). */
  --s-signal:         #D98324;
  --s-signal-text:    #A1611B;   /* as small diagram text on light (4.95:1)  */
  --s-signal-on-dark: #E19A4C;   /* inside a navy band (6.0:1)               */

  /* ── TEXT ─────────────────────────────────────────────────────────────── */
  --t-strong:         var(--c-ink);
  --t-body:           #4A5A6E;
  --t-muted:          #5E6E84;   /* 5.2:1 on paper, 4.77:1 on cloud          */
  --t-on-dark:        #FFFFFF;
  --t-on-dark-body:   #9CB4CE;
  --t-on-dark-muted:  #9DB2CB;   /* 5.28:1 on a navy tile, 8.5:1 on night    */
  --c-link-on-dark:   #8FC7F2;   /* a text link inside a dark band            */
  --c-brand-blue:     #0E6594;   /* the brand blue as a fill in drawings; unlike
                                    --c-blue it does not turn light in a dark band */

  /* ── DIAGRAM SURFACES ──────────────────────────────────────────────────
     Diagrams appear on light and dark grounds alike. Reading these four
     instead of the ground-specific colours is what lets the same diagram
     work in both places — the dark override lives in layout.css. */
  --dg-surface:      #FFFFFF;
  --dg-surface-soft: #F5F5F7;
  --dg-line:         #D9DEE5;
  --dg-text:         var(--t-strong);
  --dg-text-muted:   var(--t-muted);

  /* The same four, as they must appear inside a dark band. layout.css swaps
     the names over; the values live here like every other value. */
  --dg-surface-on-dark:      #1B3A63;
  --dg-surface-soft-on-dark: #16314F;
  --dg-line-on-dark:         rgba(255, 255, 255, .22);
  --dg-text-on-dark:         #FFFFFF;

  /* The narrowest a diagram is drawn. Below it the diagram keeps this width
     and its own container scrolls sideways, so a phone swipes the figure
     instead of shrinking its labels to 3–4px. Full: a wide technical figure
     with all its labels. Compact: the same figure beside a column of text,
     showing only its main labels, set larger. */
  --dg-keep-full:    57rem;
  --dg-keep-compact: 32rem;

  /* ── PRINT ─────────────────────────────────────────────────────────────
     Browsers drop background colours when printing, so anything that relied
     on a ground for contrast is re-stated in ink on white. */
  --p-paper:      #FFFFFF;
  --p-ink:        var(--c-ink);
  --p-body:       #333333;
  --p-muted:      #555555;
  --p-line:       #CCCCCC;

  /* ── FORM FIELDS — filled, never framed (D19). The underline is the part
     WCAG 1.4.11 measures: 3:1 or more against the fill and both grounds. */
  --field-fill:       #F5F5F7;
  --field-edge:       #737B88;
  --field-edge-on-dark: #8A9DB5;  /* 4.1:1 on the field, inside a dark band  */

  /* ── COLOUR FIELD — how strongly a domain hue glows behind a visual on a
     dark band (D59). Text over it is measured against the ground under it. */
  --field-strength:    30%;

  /* ── TILE EDGE — the soft tint that appears all around a tile on hover
     (RV2a). Never present at rest. */
  --tile-edge:         rgba(14, 101, 148, .38);
  --tile-edge-on-dark: rgba(255, 255, 255, .38);

  /* ── TYPE — D26. Geist (SIL OFL 1.1), self-hosted as one variable file per
     script range. Headings are set light and large, in the Apple manner:
     hierarchy comes from size and space, not from weight. Fluid sizes so a
     14" laptop and a 27" display both read correctly. */
  --f-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI",
            Helvetica, Arial, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-eyebrow:  0.78rem;
  --fs-small:    0.9rem;
  --fs-body:     1.0625rem;
  --fs-lead:     clamp(1.125rem, 0.98rem + 0.6vw,  1.375rem);
  --fs-h4:       clamp(1.0625rem, 1rem + 0.3vw,   1.25rem);
  --fs-h3:       clamp(1.3rem,  1.15rem + 0.7vw,  1.6rem);
  --fs-h2:       clamp(1.9rem,  1.4rem + 2.2vw,   3.2rem);
  --fs-h1:       clamp(2.5rem,  1.6rem + 3.9vw,   5rem);

  --fw-light:    300;   /* the hero headline                               */
  --fw-display:  350;   /* h1 and h2                                       */
  --fw-heading:  400;   /* h3                                              */
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semi:     600;

  --lh-tight:    1.06;
  --lh-heading:  1.16;
  --lh-body:     1.6;

  /* Geist is already tight; the heavy negative tracking the previous face
     needed would crush it. */
  --ls-h1:      -0.03em;
  --ls-h2:      -0.025em;
  --ls-h3:      -0.012em;
  --ls-body:     0em;

  /* ── SPACE — one scale, used everywhere. No arbitrary pixel values. */
  --sp-1:  0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5:  1.5rem;   --sp-6: 2rem;     --sp-7: 2.75rem;  --sp-8: 3.5rem;
  --sp-9:  4.5rem;   --sp-10: 6rem;    --sp-11: 8rem;

  /* Vertical rhythm of a section. Roughly half what it was: the previous
     values were scaled to fill a large screen, which left the page reading
     as mostly empty rather than generous. */
  --sp-section:    clamp(2.25rem, 1.5rem + 2.6vw, 4rem);
  --sp-section-sm: clamp(1.75rem, 1.25rem + 1.6vw, 2.75rem);

  /* ── CONTAINERS — three widths, not one. This is what stops the page
     feeling centre-locked on a wide monitor while keeping prose readable.  */
  --w-read:     68ch;     /* body prose — never wider, at any screen size   */
  --summary-lines: 3;     /* a link summary's lines before "Continue" (D93) */
  --w-content:  75rem;    /* standard section content                       */
  --w-wide:     100rem;   /* diagrams, imagery, galleries                   */
  --gutter:     clamp(1.25rem, 0.5rem + 3vw, 3rem);

  /* ── RADIUS ───────────────────────────────────────────────────────────── */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;

  /* ── ELEVATION — only for a floating layer, the open dropdown. Nothing on
     the page casts a shadow at rest (D19). */
  --el-2: 0 14px 40px rgba(18,44,75,.13);

  /* ── MOTION — D24, RV2a. One easing for every interaction, Apple's. */
  --dur-fast:  .18s;
  --dur-base:  .26s;
  --ease:      cubic-bezier(.4, 0, .2, 1);

  --ease-ui:        cubic-bezier(.4, 0, .6, 1);
  --dur-hover:      .25s;   /* a tile's edge reveal and lift              */
  --dur-link:       .24s;   /* a link's underline, a button's fill        */
  --hover-scale:    1.03;   /* how far a tile lifts toward the reader     */
  --rise-shift:     40px;   /* how far text rises as it arrives (D59)     */
  --zoom-from:      .1;     /* a visual settles from 110% as it arrives   */
  --drift-shift:    -70px;  /* how far a mark drifts against the scroll */
  /* Shades over the owner's background images (D82): deep enough where text
     sits that body text keeps AA over the image's whitest pixel (night at
     .84 over white still leaves #9CB4CE at 4.6:1), light where it does not. */
  --shade-deep:     rgba(10, 20, 36, .86);
  --shade-mid:      rgba(10, 20, 36, .62);
  --shade-light:    rgba(10, 20, 36, .38);
  /* how far the deepest shade reaches from the text's left edge: the 40rem
     lead column and a little air, so a lead never runs into the lighter part */
  --shade-text-reach: 42rem;
  /* Glass ripples over the background images (D84), read by js/ripple.js:
     how far the water bends the image (in image widths), how fast it moves,
     and the most pixels per CSS pixel it draws, so a retina screen stays smooth. */
  --ripple-strength: .0035;
  --ripple-speed:    1;
  --ripple-dpr:      1.5;
  --dur-word:       .9s;    /* one word of a headline rising              */
  --step-word:      70ms;   /* the beat between words                     */
  --dur-header:     .32s;   /* the header sliding away and back        */
  --dur-logos:      45s;    /* one full pass of the logo carousel (D72)   */
  --logos-gap:      var(--sp-10); /* space between two logos on the band  */

  /* ── BARS — the header's height, read by the in-page bar that sticks under
     it, and the in-page bar's own height. */
  --header-h:   4.5rem;
  --pagebar-h:  3rem;

  /* ── CARD MARK — the small domain mark in a project card's corner, and the
     room a card's title leaves beside it so the two never overlap. */
  --card-mark:     6rem;

  /* ── LAYERS ───────────────────────────────────────────────────────────── */
  --z-header: 100;  --z-menu: 200;
}
}

/* ── base.css ─────────────────────────── */
/* ============================================================================
   BASE — reset and element defaults. Reads tokens only; declares no values.
   ========================================================================= */

@layer base {

/* Geist (SIL OFL 1.1, licence in assets/fonts/geist-OFL.txt). Self-hosted
   so the site makes no third-party request — hotlinking Google Fonts has been
   found to breach GDPR. One variable file per script range covers every
   weight from 100 to 900. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* clears the sticky header when jumping to an anchor */
  scroll-padding-top: calc(var(--header-h) + var(--pagebar-h));
  /* clip, not hidden: `hidden` on an ancestor turns it into a scroll
     container and silently breaks the sticky header. This has to be set on
     html as well as body, because body alone does not clip the page's own
     scroll area. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--g-night);   /* the page under every band: dark (D59) */
  color: var(--t-strong);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-normal);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* the page itself never scrolls sideways; wide children scroll internally */
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  color: inherit;
  text-wrap: balance;
}
/* Light and large: hierarchy from size and space, not weight (D26). */
h1 { font-size: var(--fs-h1); font-weight: var(--fw-display); line-height: var(--lh-tight); letter-spacing: var(--ls-h1); }
/* .is-h2: a heading one level down in the outline that keeps the H2 look —
   the sections inside each part of AI Technologies (D96). */
h2, h3.is-h2 { font-size: var(--fs-h2); font-weight: var(--fw-display); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-heading); letter-spacing: var(--ls-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: var(--ls-h3); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-ink); text-decoration-thickness: 2px; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

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

button, input, select, textarea { font: inherit; color: inherit; }

code { font-family: var(--f-mono); font-size: .88em; letter-spacing: 0; }

/* Focus: always visible, never removed. Keyboard users must see where they are. */
:focus-visible {
  outline: 2px solid var(--a-action);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Skip link — first stop for a keyboard or screen-reader visitor */
.skip {
  position: absolute; left: var(--sp-4); top: var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-ink); color: var(--t-on-dark);
  border-radius: var(--r-pill); font-weight: var(--fw-semi);
  z-index: calc(var(--z-menu) + 1);
  transform: translateY(-200%);
}
.skip:focus { transform: none; color: var(--t-on-dark); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

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

}

/* ── layout.css ─────────────────────────── */
/* ============================================================================
   LAYOUT — the page shell, the container system, and the ground system.
   Answers the CEO's wide-monitor note: three widths instead of one, so text
   stays readable while visuals and emphasis bands fill a large display.
   ========================================================================= */

@layer layout {

/* ── Containers ──────────────────────────────────────────────────────────
   Three widths. Prose never exceeds --w-read regardless of monitor size,
   because a 140-character line is unreadable on any screen. */

.l-content,
.l-wide {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.l-content { max-width: var(--w-content); }

.l-wide    { max-width: var(--w-wide); }

/* Prose inside a wider container */
.l-prose { max-width: var(--w-read); }

/* ── Sections and their grounds ─────────────────────────────────────────
   A section's ground is a meaning decision, not a visual one:

     night  near-black navy — the default since D59
     ink    logo navy — the second dark ground
     cloud  light grey — a reading band
     paper  white — a reading band

   Pages are mostly dark (D59); light bands are for sections that are mainly
   read. A ground carries no meaning of its own; it keeps the rhythm, so two
   sections with the same ground are never placed next to each other. */

.l-section {
  padding-block: var(--sp-section);
  position: relative;
}
.l-section--sm { padding-block: var(--sp-section-sm); }

.l-section--paper { background: var(--g-paper); }
.l-section--cloud { background: var(--g-cloud); }

.l-section--ink   { background: var(--g-ink); }
.l-section--night { background: var(--g-night); }

/* Everything dark reads the same way, whichever dark ground it is on (D59):
   white headings, light body text, and diagrams re-pointed to their dark
   surfaces. section_ground() adds l-dark to every dark section. */
/* Inside a dark section the text tokens themselves turn light, so every
   section that names a text colour reads correctly on either ground. */
.l-dark {
  --t-strong: var(--t-on-dark);
  --t-body:   var(--t-on-dark-body);
  --t-muted:  var(--t-on-dark-muted);
  --c-blue:   var(--c-link-on-dark);
  --field-fill: var(--g-card-on-dark);
  --field-edge: var(--field-edge-on-dark);
}
.l-dark { color: var(--t-on-dark); }
.l-dark :is(h1,h2,h3,h4,h5,h6) { color: var(--t-on-dark); }
.l-dark p { color: var(--t-on-dark-body); }
.l-dark a:not([class]) { color: var(--t-on-dark); }
.l-dark {
  --dg-surface:      var(--dg-surface-on-dark);
  --dg-surface-soft: var(--dg-surface-soft-on-dark);
  --dg-line:         var(--dg-line-on-dark);
  --dg-text:         var(--dg-text-on-dark);
  --dg-text-muted:   var(--t-on-dark-muted);
}

/* A colour field (D59): a soft glow of a domain hue behind a section's
   visual, over its dark ground. The hue and the glow's position are set per
   section; the ground colour underneath stays the measured one. */
.l-field {
  background-image:
    radial-gradient(60% 75% at var(--field-x, 72%) var(--field-y, 45%),
      color-mix(in srgb, var(--field-hue, var(--d-technologies)) var(--field-strength), transparent),
      transparent 70%);
}
.l-field--technologies         { --field-hue: var(--d-technologies); }
.l-field--engine { --field-hue: var(--d-engine); }
.l-field--platform   { --field-hue: var(--d-platform); }
.l-field--comms   { --field-hue: var(--d-comms); }

/* ── Section heading block ─────────────────────────────────────────────── */
/* The block is not capped: a heading was being forced to the paragraph's
   reading width and wrapping two or three times when it would fit on one
   line. The paragraph keeps the reading width; the heading gets its own,
   wider cap. */
.l-head { max-width: none; margin-bottom: var(--sp-7); }
.l-head :is(h1, h2) { max-width: 46ch; }
.l-head p { max-width: 46rem; }
/* Centring the block is not enough now that the heading and the paragraph
   carry their own widths: each has to be centred within it, or the text sits
   centred inside a box that is itself left-aligned. */
.l-head--center { text-align: center; }
.l-head--center :is(h1, h2),
.l-head--center p { margin-inline: auto; }
.l-head > * + * { margin-top: var(--sp-3); }
.l-head p { font-size: var(--fs-lead); color: var(--t-body); line-height: 1.5; }
.l-dark .l-head p { color: var(--t-on-dark-body); }

/* ── Grids ───────────────────────────────────────────────────────────────
   Auto-fitting so a 14" laptop and a 27" display both fill sensibly without
   a media query per breakpoint. */
.l-grid { display: grid; gap: var(--sp-5); }
.l-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.l-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.l-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }

/* Prose beside a figure — the explainer layout. Alternates side by side. */
.l-split {
  display: grid;
  gap: var(--sp-6) var(--sp-8);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  align-items: center;
}
.l-split--figure-first > :first-child { order: 2; }
@media (max-width: 60rem) {
  .l-split--figure-first > :first-child { order: 0; }
}

/* ── Page shell ──────────────────────────────────────────────────────── */
.l-page { display: flex; flex-direction: column; min-height: 100vh; }
.l-main { flex: 1 0 auto; }

/* A wide element that must not force the page sideways scrolls inside itself.
   A diagram inside one never draws narrower than the width it declares as
   --dg-keep (a --dg-keep-* token), so on a phone it keeps readable labels
   and is swiped sideways; wherever there is room it simply fills the width. */
.l-scroll-x { overflow-x: auto; overscroll-behavior-x: contain; }
.l-scroll-x > svg { min-width: var(--dg-keep, 0); }

}

/* ── components.css ─────────────────────────── */
/* ============================================================================
   COMPONENTS — shared visual parts. A section never re-implements one of
   these locally; it uses them. Reads tokens only.
   ========================================================================= */

@layer components {

/* ── Buttons ─────────────────────────────────────────────────────────────
   One button style: the violet pill, for the single primary action in view
   (D22). Everything secondary is a text link (c-link). The fill deepens on
   hover; no press bounce, shadow or glow (D24). */
.c-btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border: 0; border-radius: var(--r-pill);
  font-size: var(--fs-body); font-weight: var(--fw-medium);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-link) var(--ease-ui);
}
.c-btn--primary { background: var(--a-action); color: var(--a-action-label); }
.c-btn--primary:is(:hover, :focus-visible) { background: var(--a-action-hover); color: var(--a-action-label); }

/* ── Text link ───────────────────────────────────────────────────────────
   Brand-coloured words ending in "›", underlined on hover (D24). The chevron
   is decoration, so assistive technology reads only the words. */
.c-link {
  font-size: var(--fs-body); font-weight: var(--fw-medium);
  color: var(--c-blue); text-decoration: underline;
  text-decoration-color: transparent; text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: text-decoration-color var(--dur-link) var(--ease-ui);
}
.c-link::after { content: "\00a0\203A" / ""; }
.c-link:is(:hover, :focus-visible) { color: var(--c-blue); text-decoration-color: currentColor; }
.l-dark .c-link,
.l-dark .c-link:is(:hover, :focus-visible) { color: var(--t-on-dark); }

/* ── Button row ──────────────────────────────────────────────────────── */
.c-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }

/* ── Maturity label ──────────────────────────────────────────────────────
   Blueprint §18: distinguishes demonstrated expertise from active R&D from
   an initiative, so ambition never reads as overclaiming. */
.c-label {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-eyebrow); font-weight: var(--fw-semi);
}
/* Status is a muted fact, not a coloured badge (D37, D23). */
.c-label--active,
.c-label--initiative { background: var(--g-cloud); color: var(--t-muted); }

/* ── Tile ────────────────────────────────────────────────────────────────
   A borderless fill that leads somewhere (D27, D34): an optional mark, a
   name, one line, and a "Learn more" link label — or a muted "In
   preparation" line for a page still being written. Grey on a white band,
   white on a grey band, navy for the one primary tile.

   Hover and keyboard focus (RV2a): a soft edge tint fades in all around the
   tile while it lifts to --hover-scale, then both reverse. Reduced motion
   keeps the tint and drops the lift. */
.c-tile {
  position: relative;
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-7);
  background-color: var(--g-cloud);
  border-radius: var(--r-lg);
  color: inherit; text-decoration: none;
  transition: transform var(--dur-hover) var(--ease-ui),
              box-shadow var(--dur-hover) var(--ease-ui);
}
.l-section--cloud .c-tile { background-color: var(--g-card); }
a.c-tile:is(:hover, :focus-visible) {
  transform: scale(var(--hover-scale));
  box-shadow: inset 0 0 0 1px var(--tile-edge);
}
.c-tile__mark { width: 7rem; height: 7rem; margin: calc(-1 * var(--sp-4)) 0 0 calc(-1 * var(--sp-4)); }
.c-tile__name { font-size: var(--fs-h3); font-weight: var(--fw-heading); color: var(--t-strong); }
.c-tile__text { color: var(--t-body); margin: 0; }
.c-tile__more { margin-top: auto; padding-top: var(--sp-2); }
a.c-tile:is(:hover, :focus-visible) .c-tile__more { text-decoration-color: currentColor; }
.c-tile__prep { margin-top: auto; padding-top: var(--sp-2); font-size: var(--fs-small); color: var(--t-muted); }

/* On a dark band a tile is navy, with a soft glow of its own hue in the
   corner its mark sits in (D59) */
.l-dark .c-tile {
  background-color: var(--g-card-on-dark);
  background-image: radial-gradient(60% 60% at 15% 10%, color-mix(in srgb, var(--s-dom-hue, var(--d-technologies)) 30%, transparent), transparent 70%);
}
.l-dark .c-tile__name { color: var(--t-on-dark); }
.l-dark .c-tile__text { color: var(--t-on-dark-body); }

.c-tiles { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
@media (min-width: 64rem) { .c-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Two per row; an odd last tile sits centred under the pair above it rather
   than alone at the left edge. Four tracks, each tile two of them wide, so
   the centred one is exactly as wide as the rest. */
@media (min-width: 48rem) {
  .c-tiles--2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c-tiles--2 > * { grid-column: span 2; }
  .c-tiles--2 > :last-child:nth-child(odd) { grid-column: 2 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  a.c-tile:is(:hover, :focus-visible) { transform: none; }
}

/* ── Figure ──────────────────────────────────────────────────────────────
   Diagrams keep their aspect ratio and scroll inside themselves on a narrow
   screen rather than forcing the page sideways. */
.c-figure { margin: 0; }
.c-figure svg { width: 100%; height: auto; }
.c-figure figcaption {
  margin-top: var(--sp-4);
  font-size: var(--fs-small); color: var(--t-muted);
}

/* The glass-ripple canvas (D84): laid exactly over its background image, and
   shown only once it has drawn, so the still image never flashes empty. */
.c-ripple { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity var(--dur-hover) var(--ease-ui); pointer-events: none; }
.c-ripple.is-live { opacity: 1; }


/* ── Link summary ────────────────────────────────────────────────────────
   What is behind an outside link (D93). js/summary.js clamps the text to
   --summary-lines and shows "Continue" only when there is more; the button
   opens the rest in place. Without the script the whole text shows. */
.c-summary { margin-top: var(--sp-2); max-width: var(--w-read); }
.c-summary__text { margin: 0; font-size: var(--fs-small); line-height: 1.6; color: var(--t-body); }
.c-summary.is-clamped .c-summary__text {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--summary-lines); line-clamp: var(--summary-lines);
  overflow: hidden;
}
.c-summary__more {
  margin-top: var(--sp-1); padding: 0;
  border: 0; background: none; cursor: pointer;
  font: inherit; font-size: var(--fs-small); font-weight: var(--fw-medium);
  color: var(--c-blue); text-decoration: underline;
  text-decoration-color: transparent; text-underline-offset: .22em;
  transition: text-decoration-color var(--dur-link) var(--ease-ui);
}
.c-summary__more:is(:hover, :focus-visible) { text-decoration-color: currentColor; }
.l-dark .c-summary__text { color: var(--t-on-dark-muted); }
.l-dark .c-summary__more { color: var(--t-on-dark); }

}

/* ── applications.css ─────────────────────────── */
/* ── Applications ─────────────────────────────────────────────────────── */
@layer sections {

.s-applications__list {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.s-applications__item {
  display: flex; align-items: baseline; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6) var(--sp-4) 0;
}
.s-applications__text { color: var(--t-on-dark); font-weight: var(--fw-medium); }

}

/* ── capabilities.css ─────────────────────────── */
/* ── Humanoid AI pillars and capability clusters (D33, D30) ──────────────── */
@layer sections {

.s-capabilities__grid {
  display: grid; gap: var(--sp-8); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 60rem) { .s-capabilities__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }

.s-capabilities__list { display: grid; gap: var(--sp-6); }
.s-capabilities__name { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.s-capabilities__points { margin: 0; color: var(--t-body); }

.s-capabilities__figure svg { width: 100%; height: auto; }
/* The diagram itself is styled in diagram-capability-clusters.css. */

}

/* ── components.css ─────────────────────────── */
/* ── Technology components ────────────────────────────────────────────────
   A plain list in columns, separated by space alone (D19). */
@layer sections {

.s-components__list {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  grid-auto-rows: auto auto;
  /* the gap does the separating; padding on individual items cannot, because
     the column count changes with the viewport */
  column-gap: var(--sp-7);
}
/* Rows align on their own internal lines, so a two-line name in one column
   does not push its neighbour's body text out of step. */
.s-components__item {
  position: relative; padding: var(--sp-5) 0;
  display: grid; grid-template-rows: subgrid; grid-row: span 2;
  gap: var(--sp-3); align-content: start;
}
@supports not (grid-template-rows: subgrid) {
  .s-components__item { display: block; }
}
.s-components__name { margin: 0; font-size: var(--fs-h4); }
.s-components__item p { font-size: var(--fs-small); color: var(--t-body); line-height: 1.6; max-width: 44ch; }


/* Two by two, for an even list (D71) */
@media (min-width: 48rem) {
  .s-components__list--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

}

/* ── contact-form.css ─────────────────────────── */
/* ── Contact (P1c, P1c-a) ─────────────────────────────────────────────────
   One screen: the H1 and direct contacts beside a compact two-column form.
   Fields are filled, never framed (D19). On a phone the form is one column
   and Organisation and the attachment fold behind "More details". */
@layer sections {

.s-contact { padding-block: var(--sp-7); }
.s-contact__grid { display: grid; gap: var(--sp-6) var(--sp-9); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .s-contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; } }

.s-contact__title { margin: 0 0 var(--sp-5); }
.s-contact__direct { display: grid; gap: var(--sp-2); }
.s-contact__direct a { color: var(--c-blue); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em; transition: text-decoration-color var(--dur-link) var(--ease-ui); }
.s-contact__direct a:is(:hover, :focus-visible) { text-decoration-color: currentColor; }

.s-contact__form { display: grid; gap: var(--sp-4) var(--sp-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) {
  .s-contact__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-contact__field--wide { grid-column: 1 / -1; }
}
.s-contact__field { display: grid; gap: var(--sp-1); align-content: start; }
.s-contact__field label { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--t-strong); }

.s-contact__field :is(input, select, textarea) {
  width: 100%; padding: var(--sp-2) var(--sp-3);
  /* No frame (D19). A filled field with an underline that meets the 3:1
     boundary contrast WCAG 1.4.11 asks of a form control. */
  background: var(--field-fill);
  border: 0; border-radius: var(--r-sm) var(--r-sm) 0 0;
  box-shadow: inset 0 -1px 0 var(--field-edge);
  font-size: var(--fs-body); color: var(--t-strong);
  transition: box-shadow var(--dur-link) var(--ease-ui);
}
.s-contact__field :is(input, select, textarea):focus { box-shadow: inset 0 -2px 0 var(--a-action); outline-offset: 1px; }
.s-contact__field input[type="file"] { padding-block: var(--sp-1); font-size: var(--fs-small); }
.s-contact__field textarea { resize: vertical; min-height: 5.5rem; }
.l-section--cloud .s-contact__field :is(input, select, textarea) { background: var(--g-paper); }

.s-contact__consent { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start; }
.s-contact__consent label { font-size: var(--fs-small); color: var(--t-body); line-height: 1.5; }
.s-contact__consent input { margin-top: .25em; }
.s-contact__actions { margin: 0; }

/* The honeypot must be reachable by a bot and invisible to a person, without
   using display:none, which some bots detect and skip. */
.s-contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.s-contact__notice { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); margin: var(--sp-6) 0 0; font-size: var(--fs-small); }
.s-contact__notice--ok  { background: color-mix(in srgb, var(--s-valid) 12%, transparent); color: var(--s-valid); }
.s-contact__notice--bad { background: color-mix(in srgb, var(--s-blocked) 12%, transparent); color: var(--s-blocked); }
/* Inside the navy band the status colours lift to their on-dark pair (AA, Round 25) */
.l-dark .s-contact__notice--ok  { color: var(--s-valid-on-dark); }
.l-dark .s-contact__notice--bad { color: var(--s-blocked-on-dark); }

}

/* ── diagram-capability-clusters.css ─────────────────────────── */
/* ── Humanoid AI capability clusters (D33, D30, v14) ──────────────────────
   Three overlapping fields around one core. Each field is two soft fills,
   an outer area and a denser centre, so the overlaps read as overlaps; one
   point per capability sits on the field's rim along a faint band. The only
   motion is the points' halos breathing in turn and the core's rings, both
   with no direction, because nothing here flows (D5, D69). */
@layer sections {

.s-clusters__field--technologies { --s-cl-hue: var(--d-technologies); }
.s-clusters__field--engine       { --s-cl-hue: var(--d-engine); }
.s-clusters__field--platform     { --s-cl-hue: var(--d-platform); }
.s-clusters__field--comms        { --s-cl-hue: var(--d-comms); }

.s-clusters__area  { fill: color-mix(in srgb, var(--s-cl-hue) 15%, transparent); stroke: none; }
.s-clusters__inner { fill: color-mix(in srgb, var(--s-cl-hue) 9%, transparent); stroke: none; }
.s-clusters__band  {
  fill: none; stroke: var(--s-cl-hue); stroke-width: 2.5; stroke-linecap: round; opacity: .55;
}
.l-dark .s-clusters__band { stroke: color-mix(in srgb, var(--s-cl-hue) 60%, var(--dg-text)); }

.s-clusters__point { fill: var(--s-cl-hue); stroke: none; }
.l-dark .s-clusters__point { fill: color-mix(in srgb, var(--s-cl-hue) 55%, var(--dg-text)); }
.s-clusters__halo {
  fill: color-mix(in srgb, var(--s-cl-hue) 30%, transparent); stroke: none;
  transform-box: fill-box; transform-origin: center;
  animation: s-cl-breathe 6s var(--ease) infinite;
  animation-delay: calc(var(--k) * -.55s);
}
@keyframes s-cl-breathe {
  0%, 100% { transform: scale(.7); opacity: .5; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.s-clusters__name {
  font-family: var(--f-sans); font-size: 30px; font-weight: var(--fw-medium);
  fill: var(--dg-text);
}

/* the core: Humanoid AI, in the plum of its own domain over the ink */
.s-clusters__core { fill: color-mix(in srgb, var(--d-platform) 55%, var(--c-ink)); stroke: none; }
.s-clusters__ring { fill: color-mix(in srgb, var(--d-platform) 22%, transparent); stroke: none; }
.s-clusters__ring--outer {
  fill: color-mix(in srgb, var(--d-platform) 10%, transparent);
  transform-box: fill-box; transform-origin: center;
  animation: s-cl-ring 6s var(--ease) infinite;
}
@keyframes s-cl-ring {
  0%, 100% { transform: scale(.94); }
  50%      { transform: scale(1.03); }
}
.s-clusters__core-label {
  font-family: var(--f-sans); font-size: 30px; font-weight: var(--fw-semi);
  fill: var(--t-on-dark);
}

@media (prefers-reduced-motion: reduce) {
  .s-clusters__halo, .s-clusters__ring--outer { animation: none; }
  .s-clusters__halo { transform: none; opacity: .8; }
}

}

/* ── diagram-federated.css ─────────────────────────── */
/* ── Federated learning diagram ──────────────────────────────────────────
   The claim the drawing must never undermine: raw data does not cross a site
   boundary. Site boxes are closed, the dataset sits inside them, and the only
   thing animating along the wire is a parameter packet.

   Motion is the explanation here, so it loops: updates rise, the aggregator
   averages, the improved model returns, and the cycle repeats. */
@layer sections {

/* Never drawn narrower than its labels can be read at; on a phone it keeps
   this width and is swiped sideways (v3). */
.s-fed { --dg-keep: var(--dg-keep-full); }

/* ── aggregator ───────────────────────────────────────────────────────── */
.s-fed__agg { fill: var(--c-brand-blue); }
.s-fed__agg-label { fill: #fff; font-family: var(--f-sans); font-size: 17px; font-weight: var(--fw-semi); }
.s-fed__agg-sub   { fill: #fff; opacity: .72; font-family: var(--f-sans); font-size: 12.5px; }

/* the three incoming weights, rising and settling as they are averaged */
.s-fed__avg-bar {
  fill: #fff; opacity: .5;
  transform-box: fill-box; transform-origin: center bottom;
  animation: s-fed-avg 4.8s var(--ease) infinite;
  animation-delay: calc(var(--i) * .2s);
}
@keyframes s-fed-avg {
  0%, 40%   { transform: scaleY(.35); opacity: .35; }
  55%, 70%  { transform: scaleY(1);   opacity: .85; }
  100%      { transform: scaleY(.35); opacity: .35; }
}
.s-fed__avg-sum { stroke: #fff; stroke-width: 1.5; opacity: .5; stroke-linecap: round; }

/* ── wires ────────────────────────────────────────────────────────────── */
.s-fed__wire { fill: none; stroke-width: 1.5; }
.s-fed__wire--up   { stroke: var(--c-azure); opacity: .3; stroke-dasharray: 4 6; }
.s-fed__wire--down { stroke: var(--d-engine); opacity: .18; }

.s-fed__packet { offset-rotate: 0deg; animation: s-fed-run 4.8s var(--ease) infinite; animation-delay: var(--d, 0s); }
.s-fed__packet--up   { fill: var(--c-azure); }
.s-fed__packet--down { fill: var(--d-engine); }
@keyframes s-fed-run {
  0%   { offset-distance: 0%;   opacity: 0; }
  6%   { opacity: 1; }
  38%  { opacity: 1; }
  44%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ── sites ────────────────────────────────────────────────────────────── */
.s-fed__site { fill: color-mix(in srgb, var(--dg-line) 16%, var(--dg-surface)); stroke: none; }
.s-fed__site-label { fill: var(--dg-text); font-family: var(--f-sans); font-size: 13.5px; font-weight: var(--fw-semi); }

.s-fed__data { fill: var(--d-technologies-tint); }
.s-fed__row  { fill: var(--c-brand-blue); opacity: .45; }
.s-fed__data-label { fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 12.5px; }

/* the local model, stepping through a training round */
.s-fed__model {
  fill: none; stroke: var(--c-brand-blue); stroke-width: 2;
  transform-box: fill-box; transform-origin: center;
  animation: s-fed-train 4.8s var(--ease) infinite; animation-delay: var(--d, 0s);
}
@keyframes s-fed-train {
  0%, 100% { transform: scale(1);    opacity: .55; }
  18%      { transform: scale(1.12); opacity: 1; }
  36%      { transform: scale(1);    opacity: .55; }
}
.s-fed__model-mark { fill: var(--c-brand-blue); opacity: .8; }
.s-fed__local { stroke: var(--c-brand-blue); stroke-width: 1.5; opacity: .35; stroke-dasharray: 3 4; }

.s-fed__stay {
  fill: var(--s-signal-text); font-family: var(--f-sans); font-size: 12.5px;
}
.l-dark .s-fed__stay { fill: var(--s-signal-on-dark); }

/* The wires pass behind these labels; a knockout in the ground colour keeps
   both readable without moving either. */
.s-fed__flow {
  font-family: var(--f-sans); font-size: 12.5px; font-weight: var(--fw-medium);
  paint-order: stroke fill; stroke: var(--g-cloud); stroke-width: 6px; stroke-linejoin: round;
}
.l-dark .s-fed__flow { stroke: var(--c-ink); }
.s-fed__flow--up   { fill: var(--c-azure-text); }
.s-fed__flow--down { fill: var(--d-engine); }
.l-dark .s-fed__flow--up { fill: var(--c-azure-on-dark); }

@media (prefers-reduced-motion: reduce) {
  .s-fed__packet, .s-fed__model, .s-fed__avg-bar { animation: none; }
  .s-fed__packet { opacity: 1; offset-distance: 50%; }
  .s-fed__model  { opacity: 1; }
  .s-fed__avg-bar { opacity: .6; }
}

}

/* ── diagram-isac.css ─────────────────────────── */
/* ── Integrated sensing and communications ───────────────────────────────
   One emission, two jobs. The comm path and the sensing path run on the same
   cadence and start together, because they are the same transmission — that
   simultaneity is the whole claim. The return arrives late, as a reflection
   does, and the readout lights when it lands. */
@layer sections {

/* Never drawn narrower than its labels can be read at; below that it is
   swiped sideways (v2, v3). Compact beside text: main labels only, large (v1). */
.s-isac { --dg-keep: var(--dg-keep-full); }
.s-isac--compact { --dg-keep: var(--dg-keep-compact); }

.s-isac__mast    { fill: none; stroke: var(--d-comms); stroke-width: 2.6; stroke-linecap: round; }
.s-isac__tip-dot { fill: var(--d-comms); }
.s-isac__tip     { fill: var(--d-comms); }

.s-isac__label { fill: var(--dg-text); font-family: var(--f-sans); font-size: 14px; font-weight: var(--fw-semi); }
.s-isac__sub   { fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 11.5px; }
.s-isac__job {
  fill: var(--d-comms); font-family: var(--f-sans); font-size: 11px;
  paint-order: stroke fill; stroke: var(--dg-surface); stroke-width: 5px; stroke-linejoin: round;
}
.s-isac__job--sense { fill: var(--s-signal-text); }
/* the comms hue is a fill colour; as text inside a dark band it falls
   below AA, so it lifts like every other azure label there */
.l-dark .s-isac__job { fill: var(--c-azure-on-dark); }
.l-dark .s-isac__job--sense { fill: var(--s-signal-on-dark); }

/* the emission itself */
.s-isac__emit {
  fill: none; stroke: var(--d-comms); stroke-width: 2; stroke-linecap: round;
  animation: s-isac-emit 3.2s var(--ease) infinite;
  animation-delay: calc(var(--i) * .32s);
}
@keyframes s-isac-emit { 0% { opacity: 0; } 25% { opacity: .75; } 100% { opacity: 0; } }

/* job one: data */
.s-isac__comm { fill: none; stroke: var(--d-comms); stroke-width: 1.8; opacity: .5; stroke-dasharray: 5 6; }
.s-isac__bit {
  fill: var(--d-comms); offset-rotate: 0deg;
  animation: s-isac-travel 3.2s var(--ease) infinite;
}
@keyframes s-isac-travel {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  52%  { opacity: 1; }
  60%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
.s-isac__rx { fill: color-mix(in srgb, var(--d-comms) 16%, var(--dg-surface)); stroke: none; }

/* job two: the same emission, reflecting */
.s-isac__out { fill: none; stroke: var(--s-signal); stroke-width: 1.8; opacity: .5; stroke-dasharray: 5 6; }
.s-isac__probe {
  fill: var(--s-signal); offset-rotate: 0deg;
  animation: s-isac-travel 3.2s var(--ease) infinite;
}
.s-isac__back { fill: none; stroke: var(--s-signal-on-dark); stroke-width: 1.6; opacity: .45; }
.s-isac__return {
  fill: var(--s-signal-on-dark); offset-rotate: 0deg;
  animation: s-isac-return 3.2s var(--ease) infinite;
}
/* the return starts only once the probe has arrived */
@keyframes s-isac-return {
  0%, 46% { offset-distance: 0%; opacity: 0; }
  54%     { opacity: 1; }
  94%     { offset-distance: 100%; opacity: 1; }
  100%    { offset-distance: 100%; opacity: 0; }
}

/* the object that reflects it, moving as objects do */
.s-isac__target { animation: s-isac-move 6.4s ease-in-out infinite alternate; }
@keyframes s-isac-move { from { transform: translateX(0); } to { transform: translateX(-34px); } }
.s-isac__vehicle { fill: color-mix(in srgb, var(--s-signal) 16%, var(--dg-surface)); stroke: none; }
.s-isac__wheel   { fill: color-mix(in srgb, var(--s-signal) 16%, var(--dg-surface)); stroke: none; }
.s-isac__echo {
  fill: none; stroke: var(--s-signal); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: s-isac-echo 3.2s var(--ease) infinite;
  animation-delay: .45s;
}
@keyframes s-isac-echo {
  0%, 100% { transform: scale(.6); opacity: 0; }
  20%      { transform: scale(.6); opacity: .9; }
  60%      { transform: scale(1.5); opacity: 0; }
}

/* what the return yields */
.s-isac__yield { stroke: var(--s-signal); stroke-width: 1.4; opacity: .3; stroke-dasharray: 3 4; }
.s-isac__readout rect { fill: color-mix(in srgb, var(--s-signal) 16%, var(--dg-surface-soft)); stroke: none; }
.s-isac__readout-label {
  fill: var(--dg-text-muted); font-family: var(--f-mono); font-size: 11px;
}
.s-isac__dot {
  fill: var(--s-signal);
  animation: s-isac-lock 3.2s var(--ease) infinite;
  animation-delay: calc(2s + var(--i) * .18s);
}
@keyframes s-isac-lock { 0%, 70%, 100% { opacity: .25; } 8%, 28% { opacity: 1; } }

.s-isac--compact .s-isac__big { font-size: 23px; font-weight: var(--fw-semi); stroke: none; }

@media (prefers-reduced-motion: reduce) {
  .s-isac__emit, .s-isac__bit, .s-isac__probe, .s-isac__return, .s-isac__target,
  .s-isac__echo, .s-isac__dot { animation: none; }
  .s-isac__bit, .s-isac__probe { opacity: 1; offset-distance: 55%; }
  .s-isac__return { opacity: 1; offset-distance: 45%; }
  .s-isac__emit { opacity: .5; }
  .s-isac__echo { opacity: .35; transform: scale(1); }
  .s-isac__dot  { opacity: .8; }
}

}

/* ── diagram-multi-agent.css ─────────────────────────── */
/* ── Multi-agent orchestration diagram ───────────────────────────────────
   Two different motions carry the meaning: assignment travels downward from
   the orchestrator, and negotiation travels sideways between agents. Each
   agent's own loop runs continuously and independently, which is the point
   being made — they are not stepping in unison under a central clock. */
@layer sections {

/* Never drawn narrower than its labels can be read at; below that it is
   swiped sideways (v2, v3). Compact beside text: main labels only, large (v1). */
.s-ma { --dg-keep: var(--dg-keep-full); }
.s-ma--compact { --dg-keep: var(--dg-keep-compact); }

.s-ma__orch { fill: var(--c-ink); }
.s-ma__orch-label { fill: #fff; font-family: var(--f-sans); font-size: 17px; font-weight: var(--fw-semi); }
.s-ma__orch-sub   { fill: #fff; opacity: .66; font-family: var(--f-sans); font-size: 12.5px; }

.s-ma__assign { fill: none; stroke: var(--c-azure); stroke-width: 1.5; opacity: .28; stroke-dasharray: 4 5; }
.s-ma__packet {
  fill: var(--c-azure); offset-rotate: 0deg;
  animation: s-ma-run 4.2s var(--ease) infinite; animation-delay: var(--d, 0s);
}
@keyframes s-ma-run {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  46%  { opacity: 1; }
  54%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* Wires pass behind these; knocking them out keeps both readable. */
.s-ma__flow {
  fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 12.5px;
}
.s-ma__flow, .s-ma__step-label {
  paint-order: stroke fill; stroke: var(--dg-surface);
  stroke-width: 5px; stroke-linejoin: round;
}
.s-ma__flow { font-size: 12.5px; }

/* ── agent ────────────────────────────────────────────────────────────── */
.s-ma__ring { fill: none; stroke: var(--s-ma-hue); stroke-width: 1.5; opacity: .3; stroke-dasharray: 3 7; }
.s-ma__core { fill: color-mix(in srgb, var(--s-ma-hue) 16%, var(--dg-surface)); stroke: none; }
.s-ma__name { fill: var(--dg-text); font-family: var(--f-sans); font-size: 13px; font-weight: var(--fw-semi); }
.s-ma__kind { fill: var(--s-ma-hue); font-family: var(--f-sans); font-size: 12.5px; }
.s-ma__domain { fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 12.5px; }

/* each loop step lights in turn, offset per agent so they run independently */
.s-ma__step {
  fill: color-mix(in srgb, var(--s-ma-hue) 16%, var(--dg-surface)); stroke: none;
  animation: s-ma-step 5s var(--ease) infinite;
  animation-delay: calc(var(--d, 0s) + var(--j) * 1s);
}
@keyframes s-ma-step {
  0%, 88%, 100% { fill: var(--dg-surface); }
  6%, 14%       { fill: var(--s-ma-hue); }
}
.s-ma__step-label { fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 12.5px; }

.s-ma__token {
  fill: var(--s-ma-hue); offset-rotate: 0deg;
  animation: s-ma-loop 5s linear infinite; animation-delay: var(--d, 0s);
}
@keyframes s-ma-loop { to { offset-distance: 100%; } }

.s-ma__agent--technologies         { --s-ma-hue: var(--d-technologies); }
.s-ma__agent--engine { --s-ma-hue: var(--d-engine); }
.s-ma__agent--platform   { --s-ma-hue: var(--d-platform); }
.s-ma__agent--comms   { --s-ma-hue: var(--d-comms); }

/* ── peer negotiation ─────────────────────────────────────────────────── */
.s-ma__peer { fill: none; stroke: var(--d-engine); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .5; }
.s-ma__peer-token {
  fill: var(--d-engine); offset-rotate: 0deg;
  animation: s-ma-peer 3.4s var(--ease) infinite; animation-delay: var(--d, 0s);
}
/* back and forth: a negotiation is not a one-way send */
@keyframes s-ma-peer {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  45%  { offset-distance: 100%; opacity: 1; }
  55%  { offset-distance: 100%; opacity: 1; }
  90%  { offset-distance: 0%;   opacity: 1; }
  100% { offset-distance: 0%;   opacity: 0; }
}
.s-ma__peer-label {
  fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 12.5px;
  paint-order: stroke fill; stroke: var(--dg-surface); stroke-width: 5px; stroke-linejoin: round;
}

.s-ma--compact .s-ma__big { font-size: 23px; font-weight: var(--fw-semi); stroke: none; }

@media (prefers-reduced-motion: reduce) {
  .s-ma__packet, .s-ma__token, .s-ma__peer-token, .s-ma__step { animation: none; }
  .s-ma__packet, .s-ma__peer-token { opacity: 1; offset-distance: 50%; }
  .s-ma__token { offset-distance: 12%; }
}

}

/* ── diagram-network-topology.css ─────────────────────────── */
/* ── Terrestrial and non-terrestrial convergence ─────────────────────────
   Several things move at once, each on its own cadence: the satellite along
   its orbit with its beam, packets down the direct-to-device link, waves off
   the tower, the sensing return, and three slices carrying traffic to the
   core at different rates. That independence is the point — this is one
   network made of parts that do not share a clock. */
@layer sections {

/* Never drawn narrower than its labels can be read at; below that it is
   swiped sideways (v2). Compact beside text: six labels, set large (v1). */
.s-net { --dg-keep: var(--dg-keep-full); }
.s-net--compact { --dg-keep: var(--dg-keep-compact); }

/* ── orchestration ────────────────────────────────────────────────────── */
.s-net__orch { fill: url(#net-orch); }
.s-net__orch-label { fill: #fff; font-family: var(--f-sans); font-size: 16px; font-weight: var(--fw-semi); }
.s-net__orch-sub   { fill: #fff; opacity: .66; font-family: var(--f-sans); font-size: 11.5px; }
.s-net__ctrl { fill: none; stroke: var(--d-comms); stroke-width: 1.3; opacity: .28; stroke-dasharray: 3 4; }
.s-net__ctrl-pkt {
  fill: var(--d-comms); offset-rotate: 0deg;
  animation: s-net-ctrl 3.4s var(--ease) infinite;
  animation-delay: calc(var(--i) * .5s);
}
@keyframes s-net-ctrl {
  0%   { offset-distance: 0%;   opacity: 0; }
  12%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ── orbit ────────────────────────────────────────────────────────────── */
.s-net__orbit { fill: none; stroke: var(--d-comms); stroke-width: 1.2; opacity: .25; stroke-dasharray: 5 7; }
.s-net__sat {
  offset-path: path("M120 214 Q420 118 720 214");
  offset-rotate: 0deg;
  animation: s-net-orbit 18s ease-in-out infinite alternate;
}
@keyframes s-net-orbit { from { offset-distance: 22%; } to { offset-distance: 62%; } }
.s-net__sat-body { fill: color-mix(in srgb, var(--d-comms) 16%, var(--dg-surface)); stroke: none; }
.s-net__sat-wing { stroke: var(--d-comms); stroke-width: 2; stroke-linecap: round; }

/* the beam it paints on the ground, tracking with it */
.s-net__beam {
  fill: var(--d-comms); opacity: .07;
  transform-box: fill-box; transform-origin: 50% 0;
  animation: s-net-beam 18s ease-in-out infinite alternate;
}
@keyframes s-net-beam { from { transform: skewX(9deg); } to { transform: skewX(-9deg); } }

.s-net__d2d { fill: none; stroke: var(--s-signal); stroke-width: 1.6; opacity: .5; stroke-dasharray: 5 6; }
.s-net__d2d-pkt {
  fill: var(--s-signal); offset-rotate: 0deg;
  animation: s-net-run 3s var(--ease) infinite;
}
@keyframes s-net-run {
  0%   { offset-distance: 0%;   opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ── terrestrial ──────────────────────────────────────────────────────── */
.s-net__tower     { fill: none; stroke: var(--d-comms); stroke-width: 2.4; stroke-linecap: round; }
.s-net__tower-tip { fill: var(--d-comms); }
.s-net__wave {
  fill: none; stroke: var(--d-comms); stroke-width: 2; stroke-linecap: round;
  animation: s-net-wave 2.6s var(--ease) infinite;
  animation-delay: calc(var(--i) * .4s);
}
@keyframes s-net-wave { 0% { opacity: 0; } 30% { opacity: .7; } 100% { opacity: 0; } }

/* ISAC: one waveform out, a reflection back to the same radio */
.s-net__isac-out {
  fill: none; stroke: var(--s-signal); stroke-width: 1.6; opacity: .55;
  stroke-dasharray: 4 5; animation: s-net-isacline 2.4s linear infinite;
}
@keyframes s-net-isacline { to { stroke-dashoffset: -18; } }
.s-net__isac-back { fill: none; stroke: var(--s-signal-on-dark); stroke-width: 1.4; opacity: .5; }
.s-net__tip { fill: var(--s-signal-on-dark); }
.s-net__isac-target circle:first-child { fill: none; stroke: var(--s-signal); stroke-width: 2; }
.s-net__isac-echo {
  fill: none; stroke: var(--s-signal); stroke-width: 1.4;
  transform-box: fill-box; transform-origin: center;
  animation: s-net-echo 2.4s var(--ease) infinite;
}
@keyframes s-net-echo {
  0%, 100% { transform: scale(1); opacity: .8; }
  70%      { transform: scale(2.4); opacity: 0; }
}

/* ── devices ──────────────────────────────────────────────────────────── */
.s-net__device {
  fill: color-mix(in srgb, var(--d-comms) 16%, var(--dg-surface)); stroke: none;
  animation: s-net-device 4.5s var(--ease) infinite;
  animation-delay: calc(var(--i) * .7s);
}
@keyframes s-net-device {
  0%, 76%, 100% { fill: var(--dg-surface); }
  8%, 22%       { fill: var(--d-comms-tint); }
}
.s-net__handover {
  fill: none; stroke: var(--d-engine); stroke-width: 1.6;
  opacity: .55; stroke-dasharray: 5 6;
  animation: s-net-handover 4s linear infinite;
}
@keyframes s-net-handover { to { stroke-dashoffset: -22; } }

/* ── edge, core and the slices between them ───────────────────────────── */
.s-net__edge, .s-net__core { fill: color-mix(in srgb, var(--d-comms) 16%, var(--dg-surface)); stroke: none; }
.s-net__label { fill: var(--dg-text); font-family: var(--f-sans); font-size: 13.5px; font-weight: var(--fw-semi); }
.s-net__sub   { fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 11px; }
.s-net__tag {
  fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 10.5px;
  paint-order: stroke fill; stroke: var(--dg-surface); stroke-width: 5px; stroke-linejoin: round;
}

.s-net__slice { fill: none; stroke-width: 1.6; opacity: .45; }
.s-net__slice--a { stroke: var(--d-comms); }
.s-net__slice--b { stroke: var(--d-technologies); }
.s-net__slice--c { stroke: var(--d-engine); }
.s-net__slice-pkt { offset-rotate: 0deg; animation: s-net-run 3.6s linear infinite; }
/* each slice carries at its own rate, which is the whole idea of slicing */
.s-net__slice-pkt--a { fill: var(--d-comms);   animation-duration: 2.6s; }
.s-net__slice-pkt--b { fill: var(--d-technologies);         animation-duration: 3.8s; }
.s-net__slice-pkt--c { fill: var(--d-engine); animation-duration: 5.2s; }

.s-net__link { fill: none; stroke: var(--d-comms); stroke-width: 1.4; opacity: .22; }

.s-net--compact .s-net__big { font-size: 27px; font-weight: var(--fw-semi); stroke: none; }

@media (prefers-reduced-motion: reduce) {
  .s-net__ctrl-pkt, .s-net__sat, .s-net__beam, .s-net__d2d-pkt, .s-net__wave,
  .s-net__isac-out, .s-net__isac-echo, .s-net__device, .s-net__handover,
  .s-net__slice-pkt { animation: none; }
  .s-net__ctrl-pkt, .s-net__d2d-pkt, .s-net__slice-pkt { opacity: 1; offset-distance: 50%; }
  .s-net__sat { offset-distance: 40%; }
  .s-net__wave { opacity: .45; }
  .s-net__isac-echo { opacity: .4; }
}

}

/* ── diagram-neuro-symbolic.css ─────────────────────────── */
/* ── Neuro-symbolic validation diagram ───────────────────────────────────
   The rejected branch carries the same visual weight as the approved one,
   because the guarantee being described is that both exist. */
@layer sections {

/* Never drawn narrower than its labels can be read at; on a phone it keeps
   this width and is swiped sideways (v3). */
.s-ns { --dg-keep: var(--dg-keep-full); }

.s-ns__box { fill: color-mix(in srgb, var(--dg-line) 16%, var(--dg-surface)); stroke: none; }
.s-ns__box--model { fill: color-mix(in srgb, var(--dg-line) 40%, var(--dg-surface)); stroke: none; }
.s-ns__box--rules { fill: color-mix(in srgb, var(--c-azure) 16%, var(--dg-surface)); stroke: none; }
.s-ns__box--ok    { fill: color-mix(in srgb, var(--s-valid) 14%, var(--dg-surface)); stroke: none; }
.s-ns__box--stop  { fill: color-mix(in srgb, var(--s-blocked) 14%, var(--dg-surface)); stroke: none; }

.s-ns__title { fill: var(--dg-text); font-family: var(--f-sans); font-size: 15px; font-weight: var(--fw-semi); }
.s-ns__title--ok   { fill: var(--s-valid); }
.s-ns__title--stop { fill: var(--s-blocked); }
.l-dark .s-ns__title--ok   { fill: var(--s-valid-on-dark); }
.l-dark .s-ns__title--stop { fill: var(--s-blocked-on-dark); }
.s-ns__sub  { fill: var(--dg-text-muted);  font-family: var(--f-sans); font-size: 12.5px; }
.s-ns__rule { fill: var(--c-azure-text); font-family: var(--f-sans); font-size: 12.5px; font-weight: var(--fw-medium); }
.l-dark .s-ns__rule { fill: var(--c-azure-on-dark); }
.s-ns__gate {
  fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 12px;
}

.s-ns__wire { fill: none; stroke: var(--dg-line); stroke-width: 2; }
.s-ns__wire--ok   { stroke: color-mix(in srgb, var(--s-valid) 55%, transparent); }
.s-ns__wire--stop { stroke: color-mix(in srgb, var(--s-blocked) 55%, transparent); stroke-dasharray: 5 5; }

/* The packet must stay visible on both grounds. */
.s-ns__packet {
  fill: var(--c-azure); offset-rotate: 0deg;
  animation: s-ns-run 2.6s var(--ease) infinite;
}
@keyframes s-ns-run {
  0%   { offset-distance: 0%;   opacity: 0; }
  15%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .s-ns__packet { animation: none; opacity: 1; offset-distance: 50%; }
}

}

/* ── diagram-trustworthy-loop.css ─────────────────────────── */
/* ── Trustworthy AI: the closed decision loop (w19) ──────────────────────
   One token runs the loop without stopping, because the loop never stops:
   every cycle observes, decides, is validated, acts and is recorded. The
   other motions are the exits from the gate — a rejection travelling to the
   record, an escalation going up to a person and back — and the audit trail
   taking each cycle's row in turn. Colour carries meaning only: the
   technologies hue for the loop, valid and blocked for the gate's two
   verdicts, and the diagram signal for uncertainty and human review. */
@layer sections {

/* Never drawn narrower than its labels can be read at; on a phone it keeps
   this width and is swiped sideways (v3). */
.s-trust { --dg-keep: var(--dg-keep-full); }

/* ── the loop ─────────────────────────────────────────────────────────── */
.s-trust__band  { fill: none; stroke: color-mix(in srgb, var(--d-technologies) 12%, transparent); stroke-width: 26; }
.s-trust__track { fill: none; stroke: var(--d-technologies); stroke-width: 1.6; opacity: .55; }
.s-trust__pass  { fill: none; stroke: var(--s-valid); stroke-width: 3; stroke-linecap: round; opacity: .85; }
.l-dark .s-trust__pass { stroke: var(--s-valid-on-dark); }
.s-trust__dir {
  fill: none; stroke: var(--d-technologies); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.l-dark .s-trust__dir { stroke: var(--c-azure-on-dark); }

.s-trust__token {
  fill: var(--d-technologies); offset-rotate: 0deg;
  animation: s-trust-loop 14s linear infinite;
}
.l-dark .s-trust__token { fill: var(--c-azure-on-dark); }
@keyframes s-trust-loop { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ── the stages ───────────────────────────────────────────────────────── */
.s-trust__node { fill: color-mix(in srgb, var(--d-technologies) 18%, var(--dg-surface)); stroke: none; }
.s-trust__node--validate { fill: color-mix(in srgb, var(--d-technologies) 34%, var(--dg-surface)); }
.s-trust__node--record   { fill: color-mix(in srgb, var(--dg-line) 40%, var(--dg-surface)); }
.s-trust__halo { fill: color-mix(in srgb, var(--d-technologies) 8%, transparent); stroke: none; }
.s-trust__halo--validate {
  fill: color-mix(in srgb, var(--d-technologies) 16%, transparent);
  transform-box: fill-box; transform-origin: center;
  animation: s-trust-gate 3.5s var(--ease) infinite;
}
@keyframes s-trust-gate {
  0%, 100% { transform: scale(.92); opacity: .6; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.s-trust__name {
  fill: var(--dg-text); font-family: var(--f-sans); font-size: 19px; font-weight: var(--fw-semi);
}
.s-trust__detail { fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 14.5px; }
.s-trust__check  { fill: var(--c-azure-text); font-weight: var(--fw-medium); }
.l-dark .s-trust__check { fill: var(--c-azure-on-dark); }
.s-trust__detail--hold { fill: var(--s-signal-text); }
.l-dark .s-trust__detail--hold { fill: var(--s-signal-on-dark); }

/* Lines pass behind these; a knockout in the diagram surface keeps both
   readable without moving either. */
.s-trust__tag {
  fill: var(--dg-text-muted); font-family: var(--f-sans); font-size: 14.5px; font-weight: var(--fw-medium);
  paint-order: stroke fill; stroke: var(--dg-surface); stroke-width: 6px; stroke-linejoin: round;
}
.l-dark .s-trust__tag { stroke: none; }
.s-trust__tag--ok   { fill: var(--s-valid); }
.s-trust__tag--stop { fill: var(--s-blocked); }
.s-trust__tag--hold { fill: var(--s-signal-text); }
.l-dark .s-trust__tag--ok   { fill: var(--s-valid-on-dark); }
.l-dark .s-trust__tag--stop { fill: var(--s-blocked-on-dark); }
.l-dark .s-trust__tag--hold { fill: var(--s-signal-on-dark); }

/* ── the gate's exits ─────────────────────────────────────────────────── */
.s-trust__reject {
  fill: none; stroke: var(--s-blocked); stroke-width: 2; stroke-dasharray: 6 6;
  animation: s-trust-dash 1.6s linear infinite;
}
.s-trust__up, .s-trust__down {
  fill: none; stroke: var(--s-signal); stroke-width: 2;
}
.s-trust__up { stroke-dasharray: 5 5; animation: s-trust-dash 1.6s linear infinite; }
@keyframes s-trust-dash { to { stroke-dashoffset: -24; } }
.s-trust__tip--stop { fill: var(--s-blocked); }
.s-trust__tip--hold { fill: var(--s-signal); }

.s-trust__human { fill: color-mix(in srgb, var(--s-signal) 18%, var(--dg-surface)); stroke: none; }
.s-trust__human-label {
  fill: var(--dg-text); font-family: var(--f-sans); font-size: 16px; font-weight: var(--fw-semi);
}

/* the confidence the decision carries, against the gate's threshold */
.s-trust__gauge      { fill: color-mix(in srgb, var(--dg-line) 70%, var(--dg-surface)); stroke: none; }
.s-trust__gauge-fill { fill: var(--d-technologies); stroke: none; }
.s-trust__threshold  { stroke: var(--s-signal); stroke-width: 2.4; stroke-linecap: round; }

/* ── the audit trail ──────────────────────────────────────────────────── */
.s-trust__link  { fill: none; stroke: var(--dg-line); stroke-width: 2; }
.s-trust__trail { fill: color-mix(in srgb, var(--dg-line) 22%, var(--dg-surface)); stroke: none; }
.s-trust__cell  { fill: var(--dg-text-muted); opacity: .75; stroke: none; }
.s-trust__row {
  animation: s-trust-row 6s var(--ease) infinite;
  animation-delay: calc(var(--i) * 1.5s);
}
/* each cycle's row is written in turn: it brightens, then settles */
@keyframes s-trust-row {
  0%, 40%, 100% { opacity: .55; }
  12%           { opacity: 1; }
}
.s-trust__outcome--ok   { fill: var(--s-valid); }
.s-trust__outcome--stop { fill: var(--s-blocked); }
.s-trust__outcome--hold { fill: var(--s-signal); }
.l-dark .s-trust__outcome--ok   { fill: var(--s-valid-on-dark); }
.l-dark .s-trust__outcome--stop { fill: var(--s-blocked-on-dark); }

@media (prefers-reduced-motion: reduce) {
  .s-trust__token, .s-trust__halo--validate, .s-trust__reject, .s-trust__up, .s-trust__row { animation: none; }
  .s-trust__token { offset-distance: 30%; }
  .s-trust__halo--validate { transform: none; opacity: 1; }
  .s-trust__row { opacity: 1; }
}

}

/* ── dna.css ─────────────────────────── */
/* ── Innovation DNA ───────────────────────────────────────────────────────
   Four principles, separated by space alone (D19).
   Not numbered: they are four ways of working, not steps in an order, and
   numbering a set is a generated-page tell. No borders, no boxes. */
@layer sections {

/* Two rows of subgrid — title, body — so a two-line title in one
   column keeps every column's body text on the same baseline. */
.s-dna__list {
  display: grid; gap: var(--sp-7) var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  grid-auto-rows: auto auto;
}
.s-dna__item {
  display: grid; grid-template-rows: subgrid; grid-row: span 2;
  gap: var(--sp-3); align-content: start;
}
@supports not (grid-template-rows: subgrid) {
  .s-dna__item { display: block; }
}
.s-dna__title { margin: 0; }
.s-dna__item p { font-size: var(--fs-small); color: var(--t-body); line-height: 1.6; }


}

/* ── domain-marks.css ─────────────────────────── */
/* ── Domain marks ─────────────────────────────────────────────────────────
   One animated mark per technology domain, on the Technologies hub. Each
   shows the mechanism its paragraph describes — federated updates converging,
   a validated control loop, an agent sensing its surroundings, terrestrial
   and satellite coverage — rather than a generic pulsing ring.

   All four read the row's hue, so a domain's colour carries through its mark.
   All four stop entirely under prefers-reduced-motion. */
@layer sections {

.s-mark { width: 100%; height: auto; overflow: visible; }

/* shared parts */
.s-mark__wire  { fill: none; stroke: var(--s-dom-hue); stroke-width: 1.5; opacity: .25; stroke-dasharray: 3 4; }
.s-mark__track { fill: none; stroke: var(--s-dom-hue); stroke-width: 1.5; opacity: .28; stroke-dasharray: 3 6; }
.s-mark__core  { fill: var(--s-dom-hue); }
.s-mark__halo  {
  fill: none; stroke: var(--s-dom-hue); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: s-mark-breathe 3.6s var(--ease) infinite;
}
@keyframes s-mark-breathe {
  0%, 100% { transform: scale(1);    opacity: .4; }
  50%      { transform: scale(1.25); opacity: 0; }
}

.s-mark__packet { fill: var(--s-dom-hue); offset-rotate: 0deg;
  animation: s-mark-run 3s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes s-mark-run {
  0%   { offset-distance: 0%;   opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ── Advanced AI ──────────────────────────────────────────────────────── */
.s-mark__node {
  fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none;
  animation: s-mark-train 3s var(--ease) infinite;
  animation-delay: calc(var(--i) * .5s);
}
@keyframes s-mark-train {
  0%, 70%, 100% { fill: var(--dg-surface); }
  10%, 26%      { fill: var(--s-dom-hue); }
}

/* ── Automation ───────────────────────────────────────────────────────── */
.s-mark__arrow { fill: none; stroke: var(--s-dom-hue); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.s-mark__token { fill: var(--s-dom-hue); offset-rotate: 0deg;
  animation: s-mark-loop 4s var(--ease) infinite; }
/* it pauses at the gate: the check happens before the action continues */
@keyframes s-mark-loop {
  0%   { offset-distance: 0%; }
  8%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}
.s-mark__gate { fill: var(--s-dom-hue); opacity: .3;
  animation: s-mark-gate 4s var(--ease) infinite; }
@keyframes s-mark-gate {
  0%, 6% { opacity: .95; }
  20%, 100% { opacity: .3; }
}
.s-mark__core--sm { fill: none; stroke: var(--s-dom-hue); stroke-width: 2; }
.s-mark__check { fill: none; stroke: var(--s-dom-hue); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; }

/* ── Robotics ─────────────────────────────────────────────────────────── */
.s-mark__sweep { transform-box: fill-box; transform-origin: 100px 100px;
  animation: s-mark-sweep 5s linear infinite; }
@keyframes s-mark-sweep { to { transform: rotate(360deg); } }
.s-mark__beam { fill: var(--s-dom-hue); opacity: .1; }
.s-mark__step {
  fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none;
  animation: s-mark-step 5s var(--ease) infinite;
  animation-delay: calc(var(--i) * 1s);
}
@keyframes s-mark-step {
  0%, 84%, 100% { fill: var(--dg-surface); }
  6%, 16%       { fill: var(--s-dom-hue); }
}
.s-mark__body { fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none; }
.s-mark__eye  { fill: var(--s-dom-hue); }
.s-mark__ant  { stroke: var(--s-dom-hue); stroke-width: 2; stroke-linecap: round; }

/* ── Networks ─────────────────────────────────────────────────────────── */
.s-mark__arc {
  fill: none; stroke: var(--s-dom-hue); stroke-width: 2; stroke-linecap: round;
  animation: s-mark-propagate 2.8s var(--ease) infinite;
  animation-delay: calc(var(--i) * .45s);
}
@keyframes s-mark-propagate {
  0%   { opacity: 0; }
  25%  { opacity: .75; }
  100% { opacity: 0; }
}
.s-mark__tower { fill: none; stroke: var(--s-dom-hue); stroke-width: 2.2; stroke-linecap: round; }
.s-mark__tip   { fill: var(--s-dom-hue); }
.s-mark__sat   { animation: s-mark-orbit 7s ease-in-out infinite; }
@keyframes s-mark-orbit {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-14px, 8px); }
}
.s-mark__sat-body { fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none; }
.s-mark__sat-wing { stroke: var(--s-dom-hue); stroke-width: 2; stroke-linecap: round; }
.s-mark__link { fill: none; stroke: var(--s-dom-hue); stroke-width: 1.5; opacity: .25; stroke-dasharray: 4 5; }

@media (prefers-reduced-motion: reduce) {
  .s-mark__halo, .s-mark__packet, .s-mark__node, .s-mark__token,
  .s-mark__gate, .s-mark__sweep, .s-mark__step, .s-mark__arc,
  .s-mark__sat { animation: none; }
  .s-mark__packet { opacity: 1; offset-distance: 55%; }
  .s-mark__arc    { opacity: .5; }
  .s-mark__halo   { opacity: .35; }
}


/* ── Marks for the delivery and reference areas ──────────────────────────
   Every row on the Solutions & Services and Insights hubs has its own mark.
   Choosing by hue meant three rows shared one drawing, which read as a
   template rather than a set. All of these follow the same rules as the
   technology marks: one hue from the row, motion that shows what the row
   describes, and nothing moving under prefers-reduced-motion. */

/* Selected Projects: four lines of work, each advancing separately */
.s-mark__stem { stroke: var(--s-dom-hue); stroke-width: 1.4; opacity: .3; }
.s-mark__node {
  fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none;
  animation: s-mark-node 5s var(--ease) infinite;
  animation-delay: calc(var(--i) * .5s);
}
@keyframes s-mark-node { 0%, 76%, 100% { fill: var(--dg-surface); } 8%, 22% { fill: var(--s-dom-hue); } }
.s-mark__trend {
  fill: none; stroke: var(--s-dom-hue); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 160; stroke-dashoffset: 160;
  animation: s-mark-draw 5s var(--ease) infinite;
}
@keyframes s-mark-draw { 0% { stroke-dashoffset: 160; } 50%, 100% { stroke-dashoffset: 0; } }

/* Architecture & PoC: layers assembled, a build pulse rising through them */
.s-mark__layer {
  fill: none; stroke: var(--s-dom-hue); stroke-width: 2; opacity: .4;
  animation: s-mark-layer 4.5s var(--ease) infinite;
  animation-delay: calc(var(--i) * .45s);
}
@keyframes s-mark-layer { 0%, 70%, 100% { opacity: .4; } 10%, 24% { opacity: 1; } }
.s-mark__spine { stroke: var(--s-dom-hue); stroke-width: 1.3; opacity: .25; stroke-dasharray: 3 5; }
.s-mark__build {
  fill: var(--s-dom-hue); offset-rotate: 0deg;
  animation: s-mark-run 4.5s var(--ease) infinite;
}

/* International R&D: partners converging on one project */
.s-mark__spoke { stroke: var(--s-dom-hue); stroke-width: 1.3; opacity: .25; }
.s-mark__partner {
  fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none;
  animation: s-mark-node 6s var(--ease) infinite;
  animation-delay: calc(var(--i) * .4s);
}
.s-mark__inbound {
  fill: var(--s-dom-hue); offset-rotate: 0deg;
  animation: s-mark-run 6s var(--ease) infinite;
  animation-delay: calc(var(--i) * .4s);
}
.s-mark__hub { fill: var(--s-dom-hue); }

/* Research: a source being read */
.s-mark__sheet { fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none; }
.s-mark__line {
  fill: var(--s-dom-hue); opacity: .35;
  transform-box: fill-box; transform-origin: left center;
  animation: s-mark-line 5s var(--ease) infinite;
  animation-delay: calc(var(--i) * .25s);
}
@keyframes s-mark-line { 0%, 100% { transform: scaleX(1); opacity: .35; } 45% { transform: scaleX(.7); opacity: .7; } }
.s-mark__read {
  stroke: var(--s-signal); stroke-width: 2.4; stroke-linecap: round;
  animation: s-mark-read 5s var(--ease) infinite;
}
@keyframes s-mark-read {
  0%   { transform: translateY(0);   opacity: 0; }
  10%  { opacity: .9; }
  85%  { transform: translateY(86px); opacity: .9; }
  100% { transform: translateY(86px); opacity: 0; }
}

/* Standards: a specification, checked and sealed */
.s-mark__seal { fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none; }
.s-mark__seal-check {
  fill: none; stroke: var(--s-signal); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: s-mark-seal 5s var(--ease) infinite;
}
@keyframes s-mark-seal { 0%, 30% { stroke-dashoffset: 40; } 55%, 100% { stroke-dashoffset: 0; } }

/* White papers: a stack, the top sheet lifting */
.s-mark__sheet--2 { opacity: .4; }
.s-mark__sheet--1 { opacity: .7; }
.s-mark__sheet--0 {
  animation: s-mark-lift 5s var(--ease) infinite;
}
@keyframes s-mark-lift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-6px, -8px); }
}

/* Briefs: short pieces, one highlighted at a time */
.s-mark__brief-box {
  fill: color-mix(in srgb, var(--s-dom-hue) 16%, var(--dg-surface)); stroke: none; opacity: .45;
  animation: s-mark-brief 5.4s var(--ease) infinite;
  animation-delay: calc(var(--i) * .6s);
}
@keyframes s-mark-brief { 0%, 72%, 100% { opacity: .45; } 8%, 24% { opacity: 1; } }

/* Courses: a path climbed step by step */
.s-mark__step-box {
  fill: var(--s-dom-hue); opacity: .22;
  transform-box: fill-box; transform-origin: center bottom;
  animation: s-mark-step-up 5.5s var(--ease) infinite;
  animation-delay: calc(var(--i) * .5s);
}
@keyframes s-mark-step-up { 0%, 80%, 100% { opacity: .22; } 10%, 26% { opacity: .55; } }
.s-mark__climb {
  fill: none; stroke: var(--s-dom-hue); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; opacity: .5;
}
.s-mark__learner {
  fill: var(--s-signal); offset-rotate: 0deg;
  animation: s-mark-climb 5.5s var(--ease) infinite;
}
@keyframes s-mark-climb {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .s-mark__node, .s-mark__trend, .s-mark__layer, .s-mark__build,
  .s-mark__partner, .s-mark__inbound,
  .s-mark__line, .s-mark__read, .s-mark__seal-check, .s-mark__sheet--0,
  .s-mark__brief-box, .s-mark__step-box, .s-mark__learner { animation: none; }
  .s-mark__trend, .s-mark__seal-check { stroke-dashoffset: 0; }
  .s-mark__build, .s-mark__inbound, .s-mark__learner { opacity: 1; offset-distance: 50%; }
  .s-mark__read { opacity: 0; }
}

}

/* ── ecosystem.css ─────────────────────────── */
/* ── Collaboration ecosystem ──────────────────────────────────────────────
   Statement on the left, the list of partner types on the right as plain
   rows. Asymmetric on purpose: a centred grid here would read as filler. */
@layer sections {

.s-ecosystem__title { margin: var(--sp-5) 0 var(--sp-5); }
.s-ecosystem__lead  { color: var(--t-body); font-size: var(--fs-lead); line-height: 1.5; }

.s-ecosystem__list { display: grid; }
.s-ecosystem__list li {
  padding-block: var(--sp-4);
  font-size: var(--fs-lead); font-weight: var(--fw-medium);
  letter-spacing: -.02em;
}

.s-ecosystem__list--grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0 var(--sp-7);
}

}

/* ── experience.css ─────────────────────────── */
/* ── Experience ───────────────────────────────────────────────────────── */
@layer sections {

/* One area under the other until there is room for both side by side with
   the first area's tags on one row (Advanced technology's seven). Side by
   side, the first column takes the width those tags need, up to most of the
   row, the second the rest, with a wider gap so the two lists read apart. */
.s-experience__grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 75rem) {  /* the content width, --w-content */
  .s-experience__grid { grid-template-columns: fit-content(60%) minmax(0, 1fr); column-gap: var(--sp-9); }
}
.s-experience__name {
  padding-bottom: var(--sp-4); margin-bottom: var(--sp-5);
}
.s-experience__tags { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); }
.s-experience__tags li { font-size: var(--fs-small); color: var(--t-body); }
.l-dark .s-experience__tags li { color: var(--t-on-dark-body); }

}

/* ── explainer.css ─────────────────────────── */
/* ── Explainer ────────────────────────────────────────────────────────────
   Prose beside a diagram. The pull points and the closing statement give
   the column three distinct textures, so a long technical page keeps a
   rhythm instead of turning into a wall. */
@layer sections {

.s-explainer__text { max-width: 34rem; }
/* Full section width, capped at a comfortable measure so it reads in two
   lines rather than five. */
.s-explainer__title { max-width: 34ch; margin: 0 0 var(--sp-6); }
.s-explainer__prose p { color: var(--t-body); }
.s-explainer__prose p + p { margin-top: 1em; }
.l-dark .s-explainer__prose p { color: var(--t-on-dark-body); }

.s-explainer__pull { margin: var(--sp-5) 0 0; }
.s-explainer__pull li {
  position: relative; padding-left: var(--sp-6); margin-top: var(--sp-3);
  font-weight: var(--fw-medium); color: var(--t-strong); line-height: 1.5;
}
.l-dark .s-explainer__pull li { color: var(--t-on-dark); }
.s-explainer__pull li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 14px; height: 2px; border-radius: 2px;
  background: var(--c-azure);
}

.s-explainer__prose .s-explainer__why {
  margin-top: var(--sp-6);
  font-size: var(--fs-lead); line-height: 1.45; color: var(--t-strong);
}
.l-dark .s-explainer__prose .s-explainer__why { color: var(--t-on-dark); }

.s-explainer__figure svg { width: 100%; height: auto; }

/* Stacked: the prose keeps a reading width, the diagram takes the whole
   container. A wide technical figure needs the room, and this is also what
   stops a large monitor showing a narrow column with empty sides. */
.s-explainer__stack { display: grid; gap: var(--sp-6); }
.s-explainer__stack .s-explainer__text { max-width: var(--w-read); }

/* Where a stacked section has an aside, the two sit side by side and fill
   the width. Without this the prose ran at reading width down the left and
   the right half of the section stayed empty. */
@media (min-width: 66rem) {
  .s-explainer__stack .s-explainer__text:has(.s-explainer__aside) {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-6) var(--sp-9);
    align-items: start;
  }
  .s-explainer__stack .s-explainer__prose { max-width: var(--w-read); }
  /* the aside's rule aligns with the first line of prose beside it */
  .s-explainer__stack .s-explainer__aside .s-explainer__pull { margin-top: 0; }
}
.s-explainer__stack .s-explainer__title { max-width: 40ch; }
/* Capped and centred. Left uncapped, a stacked diagram rendered at roughly
   twice the size of the same diagram in a split section, which made the two
   layouts look like two different sites. */
.s-explainer__stack .s-explainer__figure { width: 100%; max-width: 58rem; margin-inline: auto; }

}

/* ── feature.css ─────────────────────────── */
/* ── Feature band (D59) ───────────────────────────────────────────────────
   Full width, dark, the visual large. Side by side on a wide screen — the
   visual bleeding toward the edge — or stacked with the visual first. */
@layer sections {

.s-feature { padding-block: var(--sp-10); overflow: hidden; }
.s-feature__inner {
  display: grid; gap: var(--sp-7) var(--sp-9); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 60rem) {
  .s-feature--right .s-feature__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .s-feature--right .s-feature__visual { order: 2; margin-right: calc(-1 * var(--gutter)); }
  .s-feature--left  .s-feature__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .s-feature--left  .s-feature__visual { margin-left: calc(-1 * var(--gutter)); }
}
.s-feature--stage .s-feature__text { max-width: 46rem; margin-inline: auto; text-align: center; }
/* No visual yet (S11): the text takes a reading column instead of half a grid. */
@media (min-width: 60rem) {
  .s-feature--text .s-feature__inner { grid-template-columns: minmax(0, 1fr); }
}
.s-feature--text .s-feature__text { max-width: 46rem; }

.s-feature__visual img { display: block; width: 100%; height: auto; }
.s-feature__visual svg { width: 100%; height: auto; }

.s-feature__title { font-size: var(--fs-h2); margin: 0 0 var(--sp-5); }
.s-feature__text p { font-size: var(--fs-lead); line-height: 1.5; max-width: 38ch; }
.s-feature--stage .s-feature__text p { margin-inline: auto; max-width: 52ch; }
.s-feature__text p + p { margin-top: var(--sp-4); }
.l-dark .s-feature__statement { color: var(--t-on-dark); }
.s-feature__link { margin-top: var(--sp-6); }

/* A background image (D82): an even, deep shade, since the text is centred */
.s-feature--image { position: relative; isolation: isolate; }
.s-feature__bg, .s-feature__bg-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.s-feature__bg { object-fit: cover; }
.s-feature__bg-shade { background: radial-gradient(ellipse 60% 70% at 50% 50%, var(--shade-deep) 30%, var(--shade-mid) 100%); }
/* A text band set to the left over its image (Humanoid AI's Vision and
   Trustworthy by design): it keeps the opener's wide left edge on purpose,
   so it takes the opener's shade too, deepest behind the text and lightest
   where the image shows; one even deep shade on a narrow screen. */
.s-feature--image:not(.s-feature--stage) .s-feature__bg-shade {
  background: linear-gradient(90deg, var(--shade-deep) 0%, var(--shade-deep) max(38%, calc(max(0%, (100% - var(--w-content)) / 2) + var(--gutter) + var(--shade-text-reach))), var(--shade-mid) 62%, var(--shade-light) 100%);
}
@media (max-width: 60rem) { .s-feature--image:not(.s-feature--stage) .s-feature__bg-shade { background: var(--shade-deep); } }

}

/* ── footer.css ─────────────────────────── */
/* ── Site footer (D29, D59) ───────────────────────────────────────────────
   Compact, on the near-black ground the pages close on; navy instead when
   the band above it is near-black already, so the two never merge. */
@layer sections {

.c-footer {
  background: var(--g-night); color: var(--t-on-dark-body);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: var(--fs-small);
}
.c-footer--ink { background: var(--g-ink); }
.c-footer__inner { display: grid; gap: var(--sp-5); }

.c-footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-7); }
.c-footer__logo svg { width: 6rem; height: auto; display: block; }
.c-footer__reach { display: flex; flex-wrap: wrap; gap: var(--sp-5); }

/* The menu in groups (D85): a top-level item over its sub-pages */
.c-footer__nav {
  display: grid; gap: var(--sp-6) var(--sp-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  padding-block: var(--sp-4);
}
.c-footer__group { display: grid; gap: var(--sp-2); align-content: start; }
.c-footer__head { font-weight: var(--fw-medium); }
.c-footer__head a, .c-footer__head span { color: var(--t-on-dark); }
.c-footer__legal-links,
.c-footer__row { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); }
.c-footer__nav--row { display: block; padding-block: 0; }

.c-footer a {
  color: var(--t-on-dark-body); text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: .22em;
  transition: text-decoration-color var(--dur-link) var(--ease-ui), color var(--dur-link) var(--ease-ui);
}
.c-footer a:is(:hover, :focus-visible) { color: var(--t-on-dark); text-decoration-color: currentColor; }
.c-footer [aria-current="page"] { color: var(--t-on-dark); }

.c-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: var(--sp-2) var(--sp-6); color: var(--t-on-dark-muted);
}
.c-footer__legal { margin: 0; }
.c-footer__bottom a { color: var(--t-on-dark-muted); }

}

/* ── header.css ─────────────────────────── */
/* ── Site header ──────────────────────────────────────────────────────── */
@layer sections {

/* Hide on scroll (D25): the bar slides away while the reader scrolls down
   and returns, translucent over the page, on any scroll up. js/nav.js sets
   is-hidden; it never hides while a menu is open or focus is inside. */
.c-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--g-night) 72%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: transform var(--dur-header) var(--ease-ui);
}
.c-header.is-hidden { transform: translateY(-100%); }

/* Over the Home hero (D58): fully transparent until the page has scrolled,
   when it takes the dark glass every other page has (D59). */
.c-header--over-dark:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .c-header { transition: none; }
}

.c-header__inner {
  display: flex; align-items: center; gap: var(--sp-6);
  min-height: var(--header-h);
}
.c-header__logo { display: flex; flex-shrink: 0; }
.c-header__logo svg { width: 7.5rem; height: auto; display: block; }

.c-nav { margin-left: auto; }

/* Desktop: the menu sits on the page's centre line, not pushed to the right.
   Three columns — logo, menu, an empty twin of the logo's column — so the
   menu centres on the page rather than on the space the logo leaves. The
   mobile toggle keeps the flex row below this width. */
@media (min-width: 64.0625rem) {
  .c-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .c-header__logo  { justify-self: start; }
  .c-nav           { margin-left: 0; justify-self: center; grid-column: 2; }
}
.c-nav__list { display: flex; align-items: center; gap: var(--sp-5); }
.c-nav__item { position: relative; }

/* inline-flex, not block: as a block the caret was treated as its own line
   box and dropped underneath the label */
.c-nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
  padding-block: var(--sp-3);
  font-size: var(--fs-small); font-weight: var(--fw-medium);
  color: var(--t-on-dark-body); text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.c-nav__link:hover { color: var(--t-on-dark); }

/* A caret marks the items that open a submenu. Without it there is nothing
   telling a visitor the item can be expanded. */
.c-nav__caret {
  width: 9px; height: 6px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .55;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.c-nav__item--has-menu:hover .c-nav__caret,
.c-nav__item--has-menu:focus-within .c-nav__caret { transform: rotate(180deg); opacity: 1; }
/* The section you are in is the one menu item in the action violet (D22). */
.c-nav__link.is-active { color: var(--a-action-on-dark); }

/* Dropdown */
.c-nav__menu {
  position: absolute; top: 100%; left: calc(-1 * var(--sp-4)); min-width: 20rem;
  padding: var(--sp-3); background: var(--g-night);
  border-radius: var(--r-md); box-shadow: var(--el-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              visibility var(--dur-fast);
}
.c-nav__item--has-menu:hover .c-nav__menu,
.c-nav__item--has-menu:focus-within .c-nav__menu {
  opacity: 1; visibility: visible; transform: none;
}
.c-nav__sublink {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm);
  font-size: var(--fs-small); color: var(--t-on-dark-body); text-decoration: none;
  transition: background-color var(--dur-link) var(--ease-ui);
}
/* A dropdown item takes the navy fill on hover; nothing moves. */
a.c-nav__sublink:is(:hover, :focus-visible) { background-color: var(--g-ink); color: var(--t-on-dark); }
.c-nav__sublink.is-current { color: var(--a-action-on-dark); cursor: default; }

/* The primary product leads the menu and is ruled off from the secondary
   capabilities beneath it, so the menu does not read as a list of equals. */
.c-nav__primary {
  margin-bottom: var(--sp-2); padding-bottom: var(--sp-2);
}
/* A menu item whose page has its content is set strong — the weight and
   colour Humanoid AI has always had; a page still being prepared stays at
   body weight, so the menu shows at a glance where there is something to
   read. The ready flag is read from the page file by partials/header.php. */
/* :where() keeps these at one class of weight, so the hover fill's white
   text and the current page's violet always win over them. */
:where(.c-nav__sublink--ready, .c-nav__leaflink--ready) { font-weight: var(--fw-semi); }
:where(.c-nav__sublink--ready, .c-nav__leaflink--ready):not(.is-current) { color: var(--t-on-dark); }

/* Third level: the four projects under Selected Projects. Indented under
   their parent and marked with a rule, so the hierarchy is readable without
   another nested panel. */
.c-nav__subsub {
  margin: 0 0 var(--sp-2) calc(var(--sp-4) + 8px + var(--sp-3));
  padding-left: var(--sp-4);
}
.c-nav__leaflink {
  display: block; padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-small); line-height: 1.35; color: var(--t-on-dark-muted);
  text-decoration: none;
  transition: background-color var(--dur-link) var(--ease-ui);
}
.c-nav__leaflink:is(:hover, :focus-visible) { background-color: var(--g-ink); color: var(--t-on-dark); }
.c-nav__leaflink.is-current { color: var(--a-action-on-dark); cursor: default; }

/* the panel needs room for three levels */
.c-nav__item--has-menu .c-nav__menu { min-width: 24rem; }
span.c-nav__link { cursor: default; }

.c-nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: var(--sp-3); }



/* ── Mobile ─────────────────────────────────────────────────────────── */
@media (max-width: 64rem) {
  .c-nav__toggle { display: block; }
  .c-nav__bars,
  .c-nav__bars::before,
  .c-nav__bars::after {
    display: block; width: 22px; height: 2px; border-radius: 2px;
    background: var(--t-on-dark); transition: transform var(--dur-base) var(--ease);
  }
  .c-nav__bars::before, .c-nav__bars::after { content: ""; position: relative; }
  .c-nav__bars::before { top: -7px; }
  .c-nav__bars::after  { top: 5px; }
  [aria-expanded="true"] .c-nav__bars { background: transparent; }
  [aria-expanded="true"] .c-nav__bars::before { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"] .c-nav__bars::after  { transform: translateY(-5px) rotate(-45deg); }

  .c-nav__list {
    position: fixed; inset: var(--header-h) 0 auto; z-index: var(--z-menu);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-4) var(--gutter) var(--sp-8);
    background: var(--g-night);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .c-nav__list.is-open { display: flex; }
  .c-nav__link { padding-block: var(--sp-4); font-size: var(--fs-body); }
  .c-nav__menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0 0 var(--sp-4) var(--sp-4); min-width: 0;
  }
}

}

/* ── hero-home.css ─────────────────────────── */
/* ── Home hero (D62, D58 layout) ──────────────────────────────────────────
   Exactly the first screen, navy. It starts under the transparent header,
   so the header's height is pulled back from its top. The text block sits
   in the lower left. The moving image of the approved visual theme goes
   behind it (AI-FIRST-PLAN.md §4); until then the ground is plain (S11). */
@layer sections {

.s-hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-h));
  padding-block: calc(var(--header-h) + var(--sp-8)) var(--sp-10);
  display: flex; align-items: flex-end;
}
.s-hero__inner { position: relative; }
.s-hero__title {
  max-width: 12.5em; margin: 0; text-wrap: balance;
  font-weight: var(--fw-light); color: var(--t-on-dark);
}
.s-hero__keep { white-space: nowrap; }
.s-hero__lead {
  max-width: 34rem; margin: var(--sp-5) 0 0;
  font-size: var(--fs-lead); line-height: 1.5; color: var(--t-on-dark-body);
}

/* The background image (D82): shade deepest at the lower left, where the text is */
.s-hero__bg, .s-hero__bg-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-hero__bg { object-fit: cover; }
/* a deep band at the top for the transparent header, and the deepest shade
   behind the text block; the image shows most at the upper right */
.s-hero__bg-shade {
  background:
    linear-gradient(180deg, var(--shade-deep) 0, transparent calc(var(--header-h) * 2.5)),
    radial-gradient(ellipse 90% 80% at 12% 92%, var(--shade-deep) 40%, transparent 85%),
    linear-gradient(var(--shade-mid), var(--shade-mid));
}
@media (max-width: 60rem) { .s-hero__bg-shade { background: linear-gradient(0deg, var(--shade-deep) 45%, var(--shade-mid) 100%); } }

}

/* ── hero-page.css ─────────────────────────── */
/* ── Page opener (D59) ────────────────────────────────────────────────────
   Dark, tall, with the colour field behind; the headline large and light. */
@layer sections {

.s-hero-page {
  min-height: min(78svh, 52rem);
  display: flex; align-items: center;
  padding-block: var(--sp-10);
  overflow: hidden;
}
.s-hero-page__inner { display: grid; gap: var(--sp-7); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) {
  .s-hero-page--visual .s-hero-page__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
  .s-hero-page--visual .s-hero-page__visual { margin-right: calc(-1 * var(--gutter)); }
}
.s-hero-page__title { margin: 0 0 var(--sp-5); max-width: 18ch; font-size: var(--fs-h1); font-weight: var(--fw-light); }
.s-hero-page__lead { font-size: var(--fs-lead); line-height: 1.5; margin: 0; max-width: 40rem; }
/* A part still in preparation (AI Technologies, D96) says so here, under
   its title and lead, rather than in a band of its own. */
.s-hero-page .s-hero-page__prep { margin: var(--sp-5) 0 0; width: fit-content; color: var(--t-muted); }

.s-hero-page--center { text-align: center; }
.s-hero-page--center .s-hero-page__block { margin-inline: auto; }
.s-hero-page--center .s-hero-page__title { margin-inline: auto; }
.s-hero-page--center .s-hero-page__lead  { margin-inline: auto; max-width: 46ch; }

.s-hero-page__visual svg { width: 100%; max-width: 30rem; height: auto; margin-inline: auto; display: block; }
.s-hero-page__visual--technologies         { --s-dom-hue: var(--d-technologies); }
.s-hero-page__visual--engine { --s-dom-hue: var(--d-engine); }
.s-hero-page__visual--platform   { --s-dom-hue: var(--d-platform); }
.s-hero-page__visual--comms   { --s-dom-hue: var(--d-comms); }

/* A background image (D82): the whole band, under a shade that is deepest
   behind the text (left) and lightest where the image shows (right). */
.s-hero-page--image { position: relative; isolation: isolate; }
.s-hero-page__bg, .s-hero-page__bg-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.s-hero-page__bg { object-fit: cover; }
.s-hero-page__bg-shade { background: linear-gradient(90deg, var(--shade-deep) 0%, var(--shade-deep) max(38%, calc(max(0%, (100% - var(--w-content)) / 2) + var(--gutter) + var(--shade-text-reach))), var(--shade-mid) 62%, var(--shade-light) 100%); }
@media (max-width: 60rem) { .s-hero-page__bg-shade { background: var(--shade-deep); } }

}

/* ── initiatives.css ─────────────────────────── */
/* ── Projects list (D37, D59) ─────────────────────────────────────────────
   Two columns of panels on a wide screen, one on a phone; on a dark band
   each is navy, with its domain's mark and a soft glow of its hue. The card
   is the link (D88): on hover and focus it lifts and its edge tints, like a
   tile. */
@layer sections {

.s-initiatives__list {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
}
.s-initiatives__item { display: grid; }
.s-initiatives__card {
  position: relative; overflow: hidden;
  display: grid; gap: var(--sp-3); align-content: start; justify-items: start;
  padding: var(--sp-7);
  border-radius: var(--r-lg);
  background-color: var(--g-cloud);
  color: inherit; text-decoration: none;
  transition: transform var(--dur-hover) var(--ease-ui),
              box-shadow var(--dur-hover) var(--ease-ui);
}
a.s-initiatives__card:is(:hover, :focus-visible) {
  transform: scale(var(--hover-scale));
  box-shadow: inset 0 0 0 1px var(--tile-edge);
}
.l-dark a.s-initiatives__card:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 1px var(--tile-edge-on-dark); }
@media (prefers-reduced-motion: reduce) {
  a.s-initiatives__card:is(:hover, :focus-visible) { transform: none; }
}
.l-dark .s-initiatives__card {
  background-color: var(--g-card-on-dark);
  background-image: radial-gradient(55% 70% at 100% 0%, color-mix(in srgb, var(--s-dom-hue) 32%, transparent), transparent 70%);
}
.s-initiatives__mark { position: absolute; top: var(--sp-4); right: var(--sp-4); width: var(--card-mark); opacity: .9; }
/* The title leaves room beside the corner mark: the mark reaches this far
   into the card's padded content, plus a small gap. */
.s-initiatives__title {
  --mark-room: calc(var(--card-mark) + var(--sp-4) - var(--sp-7) + var(--sp-3));
  font-size: var(--fs-h3); max-width: calc(20ch + var(--mark-room));
  padding-right: var(--mark-room);
}
.s-initiatives__text { color: var(--t-body); margin: 0; max-width: 46ch; }
.s-initiatives__status { margin: 0; font-size: var(--fs-small); color: var(--t-muted); }
.s-initiatives__note { margin: var(--sp-8) 0 0; font-size: var(--fs-small); color: var(--t-muted); }
.s-initiatives__action { margin: var(--sp-8) 0 0; }
.s-initiatives__note + .s-initiatives__action { margin-top: var(--sp-4); }

.s-initiatives__item--technologies         { --s-dom-hue: var(--d-technologies); }
.s-initiatives__item--engine { --s-dom-hue: var(--d-engine); }
.s-initiatives__item--platform   { --s-dom-hue: var(--d-platform); }
.s-initiatives__item--comms   { --s-dom-hue: var(--d-comms); }

}

/* ── leadership.css ─────────────────────────── */
/* ── Leadership (D40, D51) ────────────────────────────────────────────── */
@layer sections {

.s-leadership__list { display: grid; gap: var(--sp-7); }
.s-leadership__person { max-width: var(--w-read); }
.s-leadership__name { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.s-leadership__role { margin: 0 0 var(--sp-3); color: var(--t-muted); font-weight: var(--fw-medium); }
.s-leadership__text { margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--t-body); }

}

/* ── motion.css ─────────────────────────── */
/* ── Scroll-driven motion (D59) ───────────────────────────────────────────
   js/motion.js sets --p (arrival, 0…1) and --d (offset from the centre of
   the view, −1…1) on every element it tags; this file turns them into
   movement. Nothing applies until the script has run (html.has-motion), so a
   blocked script, or reduced motion, leaves every element in place. */
@layer utilities {

.has-motion [data-motion~="rise"] {
  opacity: var(--p, 0);
  transform: translateY(calc((1 - var(--p, 0)) * var(--rise-shift)));
}
.has-motion [data-motion~="zoom"] {
  opacity: calc(.25 + .75 * var(--p, 0));
  transform: scale(calc(1 + (1 - var(--p, 0)) * var(--zoom-from)));
  transform-origin: 50% 60%;
}
.has-motion [data-motion~="drift"] {
  transform: translateY(calc(var(--d, 0) * var(--drift-shift))) scale(calc(1 + (1 - var(--p, 1)) * var(--zoom-from)));
}

/* Headlines rising word by word as the page opens */
.has-motion .is-words .m-word {
  display: inline-block;
  animation: m-word-rise var(--dur-word) var(--ease-ui) backwards;
  animation-delay: calc(var(--i) * var(--step-word));
}
@keyframes m-word-rise {
  from { opacity: 0; transform: translateY(var(--rise-shift)); filter: blur(6px); }
}

}

/* ── pagebar.css ─────────────────────────── */
/* ── In-page bar (D28) ────────────────────────────────────────────────────
   Sticks under the header, and moves up to the very top when the header
   slides away, so it is always in reach. A fill, never a frame. */
@layer sections {

.s-pagebar {
  position: sticky; top: var(--header-h); z-index: calc(var(--z-header) - 1);
  background: color-mix(in srgb, var(--g-ink) 80%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: top var(--dur-header) var(--ease-ui);
}
.is-header-hidden .s-pagebar { top: 0; }

.s-pagebar__inner {
  display: flex; align-items: center; gap: var(--sp-6);
  min-height: var(--pagebar-h);
}
.s-pagebar__name { flex-shrink: 0; font-weight: var(--fw-medium); color: var(--t-on-dark); }
.s-pagebar__scroller { display: flex; align-items: center; min-width: 0; margin-left: auto; }
.s-pagebar__links {
  display: flex; gap: var(--sp-5);
  overflow-x: auto; scrollbar-width: none;
}
.s-pagebar__links::-webkit-scrollbar { display: none; }
/* More links than fit (AI Technologies has eight, D96): the cut edge fades,
   so a name reads as continuing rather than broken. js/pagebar.js sets the
   flags from the scroll position. A mask reads only alpha, so any opaque
   token serves as its solid part. */
.s-pagebar__links.is-more-end   { mask-image: linear-gradient(to right, var(--g-night) calc(100% - var(--sp-7)), transparent); }
.s-pagebar__links.is-more-start { mask-image: linear-gradient(to right, transparent, var(--g-night) var(--sp-7)); }
.s-pagebar__links.is-more-start.is-more-end {
  mask-image: linear-gradient(to right, transparent, var(--g-night) var(--sp-7), var(--g-night) calc(100% - var(--sp-7)), transparent);
}
.s-pagebar__link {
  white-space: nowrap; font-size: var(--fs-small); color: var(--t-on-dark-body);
  text-decoration: none;
  transition: color var(--dur-link) var(--ease-ui);
}
.s-pagebar__link:is(:hover, :focus-visible) { color: var(--t-on-dark); }
.s-pagebar__link[aria-current="true"] { color: var(--t-on-dark); font-weight: var(--fw-medium); }

/* The arrows: plain controls like the menu button, in the link colour,
   brightening on hover. Each shows only while there is more on its side;
   the other keeps its room (is-off) so the links stay where they are. */
.s-pagebar__arrow {
  flex-shrink: 0; display: grid; place-items: center;
  width: var(--sp-6); height: var(--sp-6); padding: 0;
  background: none; border: 0; cursor: pointer;
  color: var(--t-on-dark-body);
  transition: color var(--dur-link) var(--ease-ui);
}
.s-pagebar__arrow[hidden] { display: none; }
.s-pagebar__arrow.is-off   { visibility: hidden; }
.s-pagebar__arrow:is(:hover, :focus-visible) { color: var(--t-on-dark); }
.s-pagebar__arrow svg {
  width: var(--sp-2); height: var(--sp-3);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.s-pagebar__arrow:first-child { margin-right: var(--sp-2); }
.s-pagebar__arrow:last-child  { margin-left: var(--sp-2); }

@media (max-width: 48rem) {
  .s-pagebar__name { display: none; }
  .s-pagebar__scroller { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .s-pagebar, .s-pagebar__arrow { transition: none; } }

}

/* ── partners.css ─────────────────────────── */
/* ── Experience and collaboration: the logo carousel (D72, D85) ──────────
   The track holds the list twice and slides left by exactly one copy, so the
   loop has no seam. Each logo shows its own colours (D85) on the white band
   it was drawn for; the track multiplies onto the band, so a logo file's
   white background disappears into it. (The moving track is its own
   compositing group, so the blend sits on the track, not on each logo, and
   the band has no edge mask, which would isolate it again.) Nothing changes
   on hover except that the band stops (S10). */
@layer sections {

.s-partners__band { overflow: hidden; }
.s-partners__band:focus-visible { outline-offset: calc(-1 * var(--sp-1)); }
.s-partners__track {
  display: flex; width: max-content;
  animation: s-partners-slide var(--dur-logos) linear infinite;
  mix-blend-mode: multiply;
}
.s-partners__band:is(:hover, :focus-visible) .s-partners__track { animation-play-state: paused; }
@keyframes s-partners-slide { to { transform: translateX(-50%); } }

.s-partners__list { display: flex; align-items: center; gap: var(--logos-gap); padding-right: var(--logos-gap); }
.s-partners__item { flex: none; display: flex; align-items: center; justify-content: center; height: var(--sp-10); }
.s-partners__logo { display: inline-flex; }
.s-partners__logo img { display: block; max-height: 3.2rem; width: auto; object-fit: contain; }
.s-partners__item--square .s-partners__logo img { max-height: 5.5rem; }

/* Reduced motion: no movement; one copy, wrapping as a centred row */
@media (prefers-reduced-motion: reduce) {
  .s-partners__track { animation: none; width: auto; justify-content: center; }
  .s-partners__list { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .s-partners__list[aria-hidden="true"] { display: none; }
}

}

/* ── project-hero.css ─────────────────────────── */
/* ── Project page opener (D37, D59) ───────────────────────────────────────
   Dark, in the project's own colour field: title, first sentence and the
   status as a muted line, with the domain's mark large beside them. */
@layer sections {

.s-project-hero { min-height: min(70svh, 46rem); display: flex; align-items: center; padding-block: var(--sp-10); overflow: hidden; }
.s-project-hero__inner { display: grid; gap: var(--sp-7); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .s-project-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.s-project-hero__title { margin: 0 0 var(--sp-5); max-width: 20ch; font-weight: var(--fw-light); }
.s-project-hero__lead { font-size: var(--fs-lead); line-height: 1.5; margin: 0; max-width: 40rem; }
.s-project-hero__status { margin: var(--sp-5) 0 0; font-size: var(--fs-small); }
.l-dark .s-project-hero__status { color: var(--t-on-dark-muted); }
.s-project-hero__visual svg { width: 100%; max-width: 26rem; height: auto; display: block; margin-inline: auto; }
.s-project-hero--technologies         { --s-dom-hue: var(--d-technologies); }
.s-project-hero--engine { --s-dom-hue: var(--d-engine); }
.s-project-hero--platform   { --s-dom-hue: var(--d-platform); }
.s-project-hero--comms   { --s-dom-hue: var(--d-comms); }

/* A background image (D82): the whole band, under a shade deepest behind the
   text on the left; the mark gives way to it. */
.s-project-hero--image { position: relative; isolation: isolate; }
.s-project-hero__bg, .s-project-hero__bg-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.s-project-hero__bg { object-fit: cover; }
.s-project-hero__bg-shade { background: linear-gradient(90deg, var(--shade-deep) 0%, var(--shade-deep) 45%, var(--shade-mid) 70%, var(--shade-light) 100%); }
@media (max-width: 60rem) { .s-project-hero__bg-shade { background: var(--shade-deep); } }

}

/* ── prose.css ─────────────────────────── */
/* ── Prose page ───────────────────────────────────────────────────────── */
@layer sections {

.s-prose__body > * + * { margin-top: var(--sp-5); }
.s-prose__body h2 { margin-top: var(--sp-8); font-size: var(--fs-h3); }
.s-prose__body > h2:first-child { margin-top: 0; font-size: var(--fs-h2); }
.s-prose__body p { color: var(--t-body); }
.s-prose__list { margin-top: var(--sp-4); }
.s-prose__list li {
  position: relative; padding-left: var(--sp-5); margin-top: var(--sp-3);
  color: var(--t-body);
}
.s-prose__list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--c-azure);
}

/* The opening paragraph, at a size that makes it the page's first read.
   Scoped under __body: `.s-prose__body p` sets body colour, and a bare
   `.s-prose__lead` loses to it on specificity. */
.s-prose__body .s-prose__lead {
  font-size: var(--fs-h3); line-height: 1.35; letter-spacing: var(--ls-h3);
  font-weight: var(--fw-medium); color: var(--t-strong);
}
.s-prose__body > .s-prose__lead + * { margin-top: var(--sp-6); }

/* A closing sentence set apart by space and size (no rule, D19) */
.s-prose__body .s-prose__statement {
  margin-top: var(--sp-7); max-width: 52ch;
  font-size: var(--fs-lead); line-height: 1.5; color: var(--t-strong);
}

/* Names as a real list in columns, not a run joined by middle dots */
.s-prose__terms {
  columns: 3 13rem; column-gap: var(--sp-6);
  font-weight: var(--fw-medium); color: var(--t-strong);
}
.s-prose__terms li { break-inside: avoid; padding-block: var(--sp-2); }

}

/* ── standards.css ─────────────────────────── */
/* ── Selected standards ───────────────────────────────────────────────── */
@layer sections {

.s-standards__list { display: grid; gap: 0; }
.s-standards__item {
  display: grid; gap: var(--sp-2) var(--sp-8);
  grid-template-columns: minmax(0, 1fr);
  padding: var(--sp-6) 0;
}
@media (min-width: 56rem) {
  .s-standards__item { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: baseline; }
  /* The summary runs under the one-line note, in the same column (D93) */
  .s-standards__item .c-summary { grid-column: 2; margin-top: 0; }
}
.s-standards__name {
  font-weight: var(--fw-semi); color: var(--c-blue);
  letter-spacing: -.015em;
}
/* External links: underline on hover (D24); the ↗ only says the link leaves
   the site and does not move. */
.s-standards__name {
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: .22em;
  transition: text-decoration-color var(--dur-link) var(--ease-ui);
}
a.s-standards__name:is(:hover, :focus-visible) { text-decoration-color: currentColor; }
.s-standards__ext { margin-left: .3em; font-size: .85em; opacity: .7; }
.s-standards__why { font-size: var(--fs-small); color: var(--t-body); line-height: 1.6; }
/* Inline with the sentence it qualifies, not a block beneath it. */
.s-standards__status {
  font-weight: var(--fw-semi);
  font-size: .82em; color: var(--t-muted);
  white-space: nowrap;
}
.l-dark .s-standards__status { color: var(--t-on-dark-muted); }

}

/* ── summary.css ─────────────────────────── */
/* ── Summary ──────────────────────────────────────────────────────────────
   Heading beside its text on a wide screen, as the process section does, so
   a short block fills the width instead of hugging the left third. */
@layer sections {

@media (min-width: 66rem) {
  .s-summary__inner {
    display: grid;
    grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
    gap: var(--sp-8);
    align-items: start;
  }
  .s-summary__head { margin-bottom: 0; }
}

.s-summary__standfirst { color: var(--t-strong); font-weight: var(--fw-medium); }

.s-summary__body p { color: var(--t-body); }
.s-summary__body p + p { margin-top: var(--sp-4); }
.s-summary__actions { margin-top: var(--sp-6); }

}

/* ── tiles.css ─────────────────────────── */
/* ── Tiles ────────────────────────────────────────────────────────────────
   The grid itself is the c-tiles component; this only gives each tile's mark
   its domain hue, which the shared marks read as --s-dom-hue. */
@layer sections {

.s-tiles__item { display: flex; }
.s-tiles__item > .c-tile { flex: 1; }

.s-tiles__item--technologies         { --s-dom-hue: var(--d-technologies); }
.s-tiles__item--engine { --s-dom-hue: var(--d-engine); }
.s-tiles__item--platform   { --s-dom-hue: var(--d-platform); }
.s-tiles__item--comms   { --s-dom-hue: var(--d-comms); }

}

/* ── under-construction.css ─────────────────────────── */
/* ── In preparation (D42) ─────────────────────────────────────────────────
   Plain text on the band: a muted status line, a list, and links. */
@layer sections {

.s-uc__body { margin-inline: auto; }
.s-uc__status { color: var(--t-muted); margin: 0; }
.s-uc__label { margin: var(--sp-6) 0 var(--sp-3); color: var(--t-strong); font-weight: var(--fw-medium); }
.s-uc__list { display: grid; gap: var(--sp-2); }
.s-uc__list li { position: relative; padding-left: var(--sp-5); color: var(--t-body); }
.s-uc__list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--t-muted);
}
.s-uc__links { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-7); }

}

/* ── print.css ─────────────────────────── */
/* ============================================================================
   PRINT — for printed pages and for the generated legal PDFs.
   The site was missing this entirely: printing any page produced the
   navigation, the contents rail and the whole footer alongside the content.
   ========================================================================= */

@layer utilities {
@media print {

  /* Chrome and Firefox drop background colours when printing. Anything that
     depends on a ground for contrast has to be re-stated in ink on white. */
  :root {
    --g-paper: var(--p-paper); --g-cloud: var(--p-paper);
    --g-ink:   var(--p-paper); --g-night: var(--p-paper);
    --t-on-dark: var(--p-ink); --t-on-dark-body: var(--p-body);
    --t-on-dark-muted: var(--p-muted);
    --dg-surface: var(--p-paper); --dg-text: var(--p-ink);
    --dg-text-muted: var(--p-muted);
  }

  body { background: var(--p-paper); color: var(--p-ink); font-size: 11pt; }

  /* Chrome, navigation and anything interactive have no meaning on paper */
  .c-header, .c-footer, .s-pagebar, .c-actions, .c-btn,
  .s-partners, .skip { display: none !important; }
  /* Background images, their shades and their ripples (D82, D84) */
  [class$="__bg"], [class$="__bg-shade"], .c-ripple { display: none !important; }
  /* Page openers fill a screen; on paper they are just the title and lead */
  .s-hero-page, .s-project-hero { min-height: 0 !important; padding-block: 0 1rem !important; text-align: left !important; }
  .s-hero-page__block, .s-hero-page__title, .s-hero-page__lead { margin-inline: 0 !important; }

  .l-main { padding-left: 0 !important; }
  .l-section { padding-block: 0 0 1.2rem !important; }
  .l-dark * { color: var(--p-ink) !important; }

  /* A heading stranded at the foot of a page, or a paragraph split across
     one, is the usual failure when a web page is printed. */
  h1, h2, h3 { break-after: avoid-page; page-break-after: avoid; }
  p, li      { break-inside: avoid-page; orphans: 3; widows: 3; }

  /* A printed link is useless unless its target is written out. */
  a[href^="http"]::after,
  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: .85em; color: var(--p-muted); word-break: break-all;
  }
  a[href^="/"]::after { content: " (elyonx.com" attr(href) ")"; font-size: .85em; color: var(--p-muted); }

  /* Nothing animates on paper */
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-motion], .m-word { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }

  @page { margin: 18mm; }
}
}
