    /* ─── 1. soma(som) design tokens (reduced subset) ──────────────────────── */
    :root {
      --soma-aqua-400: #2A9CB2;
      --soma-aqua-500: #1C7D91;
      --soma-aqua-800: #0D3D4E;
      --soma-ruby-400: #CE3E50;
      --soma-ruby-500: #B82638;
      --soma-ruby-700: #821726;
      --soma-neutral-050: #F2F4F5;
      --soma-neutral-100: #DDE2E6;
      --soma-neutral-300: #94A3AE;
      --soma-neutral-400: #6E7F8C;
      --soma-neutral-700: #2C3840;
      --soma-neutral-800: #1E262D;
      --soma-neutral-900: #161C21;
      --soma-neutral-950: #0C1014;
      --soma-white: #FAFBFC;

      /* semantic — DARK default */
      --bg-primary: var(--soma-neutral-950);
      --bg-surface: var(--soma-neutral-900);
      --bg-elevated: var(--soma-neutral-800);
      --text-primary: var(--soma-neutral-050);
      --text-secondary: var(--soma-neutral-300);
      --text-muted: #8695A1;
      --border-default: var(--soma-neutral-400);
      --border-subtle: var(--soma-neutral-700);
      --accent: var(--soma-aqua-400);
      --accent-glow: rgba(42, 156, 178, 0.10);
      --brand-aqua: var(--soma-aqua-400);
      --brand-ruby: var(--soma-ruby-400);

      /* figure tinting (dark mode: invert ink→light, transparent bg lets page show) */
      --fig-filter: invert(1) brightness(1.4) contrast(0.85);
      --fig-opacity: 0.95;       /* inline story figures (transparent bg, no white fill) */
      --hero-fig-opacity: 0.18;  /* atmospheric only, behind wordmark */

      /* typography — system stacks; webfonts via SVG only */
      --font-display: 'Playfair Display', 'EB Garamond', 'Iowan Old Style', Georgia, serif;
      --font-serif:   'EB Garamond', 'Iowan Old Style', Georgia, serif;
      --font-mono:    ui-monospace, 'SF Mono', 'IBM Plex Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

      --text-xs: 0.800rem;
      --text-sm: 0.938rem;
      --text-base: 1.125rem;
      --text-md: 1.313rem;
      --text-lg: 1.625rem;
      --text-xl: 2.000rem;
      --text-2xl: 2.625rem;
      --text-3xl: 3.250rem;
      --leading-tight: 1.2;
      --leading-normal: 1.55;
      --leading-loose: 1.75;

      --shell-max: 1280px;
      --gap-section: 88px;
      --radius-md: 4px;
      --radius-lg: 8px;
      --dur: 220ms;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="light"] {
      --bg-primary: var(--soma-white);
      --bg-surface: var(--soma-neutral-050);
      --bg-elevated: var(--soma-neutral-100);
      --text-primary: var(--soma-neutral-950);
      --text-secondary: var(--soma-neutral-700);
      --text-muted: var(--soma-neutral-400);
      --border-default: var(--soma-neutral-300);
      --border-subtle: var(--soma-neutral-100);
      --accent: var(--soma-aqua-500);
      --accent-glow: rgba(28, 125, 145, 0.10);
      --brand-aqua: var(--soma-aqua-800);
      --brand-ruby: var(--soma-ruby-700);
      --fig-filter: none;
      --fig-opacity: 0.92;       /* dark ink on light page — slightly soft */
      --hero-fig-opacity: 0.12;  /* lighter atmospheric for light mode */
    }

    /* ─── 2. base ────────────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg-primary);
      color: var(--text-primary);
      font-family: var(--font-serif);
      font-size: var(--text-base);
      line-height: var(--leading-normal);
      transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
    }
    a {
      color: var(--accent);
      text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
      text-underline-offset: 3px;
      transition: color var(--dur) var(--ease);
    }
    a:hover { color: var(--text-primary); }
    .visually-hidden {
      position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
    }

    /* ─── impressum/legal page content (shared with index for chrome consistency) ── */
    .legal { max-width: 720px; margin: 0 auto; padding: clamp(40px,6vw,72px) clamp(24px,5vw,40px) 96px; }
    .legal h1 { font-family: var(--font-display); font-size: var(--text-xl); margin: 0 0 12px; font-weight: 600; letter-spacing: -0.01em; }
    .legal h2 { font-family: var(--font-mono); font-size: var(--text-xs); margin: 36px 0 8px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }
    .legal p { margin: 0.5rem 0; }
    .legal .lede { color: var(--text-secondary); font-size: var(--text-sm); margin: 0 0 24px; }
    .legal address { font-style: normal; }
    .legal .lang-note { color: var(--text-muted); font-size: var(--text-xs); font-family: var(--font-mono); margin-top: 36px; letter-spacing: 0.04em; }
    .legal #contact { word-break: break-all; }

    /* ─── 3. wordmark ────────────────────────────────────────────────────── */
    .wordmark-rule { stroke: var(--brand-aqua); stroke-width: 0.75; opacity: 0.3; fill: none; }
    .wordmark-soma { fill: var(--brand-aqua); }
    .wordmark-som  { fill: var(--brand-ruby); }
    .wordmark { display: block; height: auto; }
    .wordmark--small { height: 30px; width: auto; }
    .wordmark--hero  { width: min(86vw, 540px); margin: 0 auto; }

    /* ─── 4. topbar ──────────────────────────────────────────────────────── */
    .topbar {
      position: sticky; top: 0; z-index: 10;
      display: flex; align-items: center; justify-content: space-between;
      gap: 24px;
      padding: 18px clamp(20px, 4vw, 40px);
      background: color-mix(in srgb, var(--bg-primary) 88%, transparent);
      backdrop-filter: saturate(140%) blur(8px);
      -webkit-backdrop-filter: saturate(140%) blur(8px);
      border-bottom: 1px solid var(--border-subtle);
    }
    .brand { display: inline-flex; align-items: center; line-height: 0; }
    .brand:hover .wordmark-soma { fill: color-mix(in srgb, var(--brand-aqua) 70%, var(--text-primary)); }
    .topbar-actions { display: flex; align-items: center; gap: 12px; }
    .locale-select {
      appearance: none;
      background: var(--bg-elevated);
      color: var(--text-primary);
      border: 1px solid var(--border-default);
      border-radius: var(--radius-md);
      padding: 6px 26px 6px 10px;
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      letter-spacing: 0.04em;
      cursor: pointer;
      background-image:
        linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
        linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
      background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%;
      background-size: 4px 4px;
      background-repeat: no-repeat;
      transition: border-color var(--dur) var(--ease);
    }
    .locale-select:hover, .locale-select:focus { border-color: var(--accent); outline: none; }
    .theme-toggle {
      background: var(--bg-elevated);
      color: var(--text-primary);
      border: 1px solid var(--border-default);
      border-radius: var(--radius-md);
      width: 34px; height: 34px;
      font-size: 16px;
      cursor: pointer;
      display: inline-flex; align-items: center; justify-content: center;
      transition: border-color var(--dur) var(--ease);
    }
    .theme-toggle:hover, .theme-toggle:focus { border-color: var(--accent); outline: none; }

    /* ─── 5. shell ───────────────────────────────────────────────────────── */
    .shell { max-width: var(--shell-max); margin: 0 auto; padding: 0 clamp(24px, 4vw, 64px); }
    main { padding-bottom: 96px; }

    /* ─── 6. hero ────────────────────────────────────────────────────────── */
    .hero {
      position: relative;
      padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 8vw, 96px);
      text-align: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('img/opus-fig3.png');
      background-repeat: no-repeat;
      background-position: center 32%;
      background-size: min(720px, 86vw) auto;
      opacity: var(--hero-fig-opacity);
      filter: var(--fig-filter);
      pointer-events: none;
      z-index: 0;
    }
    .hero > * { position: relative; z-index: 1; }
    .hero-title { margin: 0; }
    .hero-strap {
      font-family: var(--font-display);
      font-size: clamp(var(--text-lg), 3vw, var(--text-xl));
      font-style: italic;
      line-height: var(--leading-tight);
      color: var(--text-primary);
      max-width: 28ch;
      margin: 28px auto 16px;
    }
    .hero-substrap {
      font-size: var(--text-md);
      font-style: italic;
      color: var(--text-secondary);
      max-width: 42ch;
      margin: 0 auto 30px;
    }
    .hero-cite {
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      letter-spacing: 0.14em;
      color: var(--text-muted);
      text-transform: uppercase;
    }
    .hero-cite a { color: var(--text-muted); text-decoration-thickness: 1px; }
    .hero-cite a:hover { color: var(--accent); }

    /* ─── 7. story sections ──────────────────────────────────────────────── */
    .story {
      position: relative;
      padding: clamp(72px, 9vw, 112px) 0;
      border-top: 1px solid var(--border-subtle);
    }
    /* Story layout — text on top, figure beneath (single column default).
       Two exceptions: §4 (the ring) becomes 2-col on wide; §9 (the chain)
       inverts order — figure on top, text beneath. */
    .story-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 36px;
    }
    .story-text {
      order: 1;
      width: 100%;
      max-width: 60ch;
    }
    .story-fig {
      order: 2;
      width: 100%;
      margin: 0;
      padding: 0;
      text-align: center;
    }
    .story-fig img {
      display: block;
      width: 100%;
      height: auto;
      margin: 0 auto;
      opacity: var(--fig-opacity);
      filter: var(--fig-filter);
      transition: opacity 900ms var(--ease);
    }
    /* §9 (chain): figure first, text below — the finale inverts §2's rhythm */
    .story--ledger .story-fig  { order: 1; }
    .story--ledger .story-text { order: 2; max-width: 68ch; }

    /* Per-figure caps that respect each diagram's aspect ratio:
       wide (Fig 1, 2.4:1): capped at 880px so it doesn't dominate single-col §2.
       ring (Fig 3, ~1:1):  capped at 480px so the square doesn't tower.
       chain (Fig 6, ~11:1): fills its container (the §9 finale is full-width). */
    .story-fig--wide  img { max-width: 880px; }
    .story-fig--ring  img { max-width: 480px; }
    .story-fig--chain img { max-width: 100%; }

    /* §4 only — the ring is a 2-column feature (text-left, figure-right) on wide.
       Collapses to default single-column (text-top, figure-below) under 1024px.
       Vertically centered so the ring aligns with the middle of the text column,
       and the ring fills its column (no 480px cap on wide). */
    @media (min-width: 1024px) {
      .story--ring .story-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: center;
      }
      .story--ring .story-text {
        order: 0;
        grid-column: 1;
        max-width: 60ch;
      }
      .story--ring .story-fig {
        order: 0;
        grid-column: 2;
      }
      .story--ring .story-fig img { max-width: 100%; }
    }

    /* Figure reveal-on-scroll — added via IntersectionObserver in JS.
       Falls back to fully-visible when JS is off or motion-reduced. */
    .fig-pending             { opacity: 0; transition: opacity 900ms var(--ease); }
    .fig-pending.fig-visible { opacity: var(--fig-opacity); }
    .hero-bg.fig-pending.fig-visible { opacity: var(--hero-fig-opacity); }
    @media (prefers-reduced-motion: reduce) {
      .fig-pending           { opacity: var(--fig-opacity); transition: none; }
      .hero-bg.fig-pending   { opacity: var(--hero-fig-opacity); }
    }
    .story-eyebrow {
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      letter-spacing: 0.20em;
      color: var(--brand-ruby);
      text-transform: uppercase;
      margin: 0 0 14px;
    }
    .story-h {
      font-family: var(--font-display);
      font-size: clamp(var(--text-xl), 4.4vw, var(--text-2xl));
      font-weight: 600;
      line-height: var(--leading-tight);
      margin: 0 0 24px;
      max-width: 22ch;
    }
    .story-lede {
      font-size: var(--text-md);
      color: var(--text-primary);
      max-width: 60ch;
      margin: 0 0 18px;
      line-height: var(--leading-normal);
    }
    .story-body {
      color: var(--text-secondary);
      max-width: 60ch;
      line-height: var(--leading-loose);
      margin: 0 0 14px;
    }
    .story-pull {
      font-family: var(--font-display);
      font-style: italic;
      font-size: var(--text-md);
      color: var(--text-primary);
      max-width: 60ch;
      margin: 22px 0 0;
      padding-left: 20px;
      border-left: 2px solid var(--accent);
    }
    .story-cite {
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      letter-spacing: 0.12em;
      color: var(--text-muted);
      text-transform: uppercase;
      margin: 26px 0 0;
    }

    /* ring questions list (in story--ring) */
    .ring-questions {
      list-style: none;
      padding: 0;
      margin: 22px 0 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 10px 22px;
      max-width: 60ch;
    }
    .ring-questions li {
      display: flex;
      align-items: baseline;
      gap: 10px;
      font-family: var(--font-mono);
      font-size: var(--text-sm);
      color: var(--text-secondary);
    }
    .ring-questions .unit {
      color: var(--accent);
      font-weight: 600;
      letter-spacing: 0.04em;
      min-width: 2.2em;
    }
    .ring-questions .q {
      color: var(--text-secondary);
      font-style: italic;
      font-family: var(--font-serif);
      font-size: var(--text-base);
    }

    /* ─── 8. footer ──────────────────────────────────────────────────────── */
    footer {
      margin-top: clamp(48px, 8vw, 96px);
      padding: 36px 0 28px;
      border-top: 1px solid var(--border-subtle);
      text-align: center;
      color: var(--text-muted);
      font-size: var(--text-sm);
    }
    .foot-mark { margin: 0 0 18px; }
    .foot-mark .hex { color: var(--accent); margin-right: 10px; }
    .foot-meta {
      display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
      gap: 8px 22px;
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .foot-meta a { font-family: inherit; }
    .foot-meta .sep { color: var(--border-subtle); }
    .foot-license {
      margin: 18px 0 0;
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      color: var(--text-muted);
      letter-spacing: 0.04em;
    }
    .foot-legal {
      margin: 10px 0 0;
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      color: var(--text-muted);
      letter-spacing: 0.04em;
    }
    .foot-legal a { color: var(--text-muted); text-decoration: none; }
    .foot-legal a:hover { color: var(--accent); text-decoration: underline; }
    .foot-legal .sep { margin: 0 0.5em; color: var(--border-subtle); }

    /* ─── 9. responsive + a11y ───────────────────────────────────────────── */
    @media (max-width: 640px) {
      .topbar { padding: 14px 18px; gap: 12px; }
      .wordmark--small { height: 24px; }
      .hero { padding: 64px 0 48px; }
      .ring-questions { grid-template-columns: 1fr; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition: none !important; animation: none !important; }
      html { scroll-behavior: auto; }
    }
