/* ==========================================================================
   Mi-C3 concept (round 15): "Briefing". Loaded on mi-c3/concept.html only.
   Five references, one company voice:
   · SpaceX: cinematic full-bleed photography, wide-tracked labels, outline buttons
   · INVERSA: editorial display type, mono labels used as coordinates
   · Apollo: orange rationed to one primary action per band, CTA pairs, dark panels in light bands
   · Oxide: 1px hairlines, spec tables, the accent used like an indicator light
   · Timescale: graph-paper bands, highlighted statement words, honest line charts
   Everything is scoped to body[data-concept="mic3"] and the .mx- prefix, so core.css stays untouched.
   ========================================================================== */

body[data-concept="mic3"] {
  /* chart palette, validated against the dark chart surface #12161D (validate_palette.js) */
  --mx-s1: #D97314;   /* cascade: a failure and the services that depend on it */
  --mx-s2: #4F8FD9;   /* response: actions raised from the same record */
  --mx-ctx: #5F6B7A;  /* context */
  --mx-panel: #12161D;
  --mx-track: 0.14em;
}

/* ---------- shared atoms ---------- */
.mx-label { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: var(--mx-track); text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.mx-label b { color: var(--accent-text); font-weight: 500; }
.mx-idx { display: inline-flex; align-items: center; gap: 0.9rem; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: var(--mx-track); text-transform: uppercase; color: var(--muted); }
.mx-idx b { color: var(--accent-text); font-weight: 500; }
.mx-idx::after { content: ""; width: 48px; height: 1px; background: var(--line-strong); }
.mx-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem var(--gutter); margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); align-items: end; }
.mx-head > .mx-idx { grid-column: 1 / -1; }
.mx-head__t { grid-column: 1 / span 7; }
.mx-head__l { grid-column: 8 / -1; display: grid; gap: 1.1rem; justify-items: start; }
.mx-head--center { justify-items: center; text-align: center; }
.mx-head--center > * { grid-column: 2 / span 10; }
.mx-head--center .mx-idx { justify-self: center; }
.mx-head--center .mx-idx::before { content: ""; width: 48px; height: 1px; background: var(--line-strong); }
@media (max-width: 900px) {
  .mx-head__t, .mx-head__l { grid-column: 1 / -1; }
}
.mx-h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.1rem, 1.3rem + 2.7vw, 3.6rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; color: var(--fg); }
.mx-h2 strong { font-weight: 500; }
.mx-note { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Highlighter: a marker stroke drawn under the key words when the line enters view (Timescale) */
.mx-hl { background: linear-gradient(180deg, transparent 60%, rgba(247, 148, 29, 0.34) 60%, rgba(247, 148, 29, 0.34) 90%, transparent 90%) 0 0 / 100% 100% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 0.04em; transition: background-size 1.1s cubic-bezier(.6, 0, .2, 1); }
.t-ink .mx-hl, .t-dark .mx-hl { background-image: linear-gradient(180deg, transparent 62%, rgba(247, 148, 29, 0.42) 62%, rgba(247, 148, 29, 0.42) 92%, transparent 92%); }
.mx-js .mx-hl-wait .mx-hl { background-size: 0% 100%; }
.mx-js .mx-hl-wait .mx-hl:nth-of-type(2) { transition-delay: .25s; }
.mx-js .mx-hl-wait .mx-hl:nth-of-type(3) { transition-delay: .5s; }
.mx-js .mx-hl-wait.is-lit .mx-hl { background-size: 100% 100%; }

/* Outline button (SpaceX / Apollo pair): the filled button stays the one orange action in the band */
.btn--line { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 42%, transparent); }
.btn--line:hover, .btn--line:focus-visible { border-color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }
.btn--line .arr { color: var(--accent-text); }
.mx-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
@media (max-width: 600px) { .mx-ctas .btn { flex: 1 1 100%; } }

/* Graph paper (Timescale): fine 16px cells inside 64px majors, on light bands only */
.mx-paper { background-color: var(--bg); background-image:
  linear-gradient(rgba(14, 17, 22, 0.065) 1px, transparent 1px),
  linear-gradient(90deg, rgba(14, 17, 22, 0.065) 1px, transparent 1px),
  linear-gradient(rgba(14, 17, 22, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(14, 17, 22, 0.03) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px; background-position: -1px -1px; }

/* ==========================================================================
   1 · HERO: cinematic photograph, editorial headline, sector tabs
   ========================================================================== */
.mx-hero { min-height: min(100svh, 1000px); }
.mx-hero.hero--full { justify-content: flex-end; padding-bottom: 0; }
.mx-hero .hero__media::after { background:
  linear-gradient(90deg, rgba(10,13,18,0.9) 0%, rgba(10,13,18,0.74) 32%, rgba(10,13,18,0.28) 64%, rgba(10,13,18,0.12) 100%),
  linear-gradient(180deg, rgba(10,13,18,0.7) 0%, rgba(10,13,18,0) 22%, rgba(10,13,18,0) 52%, rgba(10,13,18,0.9) 88%, #0A0D12 100%); }
.mx-hero .hero__grid { opacity: 0.7; }

/* coordinate frame: four corner ticks and two mono readouts (INVERSA) */
.mx-frame { position: absolute; z-index: 0; pointer-events: none; inset: calc(var(--header-h) + 14px) var(--gutter) 14px; }
.mx-frame i { position: absolute; width: 16px; height: 16px; border: 0 solid rgba(255, 255, 255, 0.42); }
.mx-frame i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.mx-frame i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.mx-frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.mx-frame i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.mx-coords { position: absolute; z-index: 1; top: calc(var(--header-h) + 22px); left: 0; right: 0; }
.mx-coords .wrap { display: flex; justify-content: flex-end; gap: 1rem; }
.mx-coords span { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: var(--mx-track); text-transform: uppercase; color: rgba(255, 255, 255, 0.62); padding-inline: 1.4rem; }
.mx-coords span b { color: var(--fg); font-weight: 500; }
.mx-coords [data-clock] { font-variant-numeric: tabular-nums; }

.mx-hero__body { position: relative; display: grid; gap: clamp(1.25rem, 0.9rem + 1vw, 1.9rem); padding-inline: 1.4rem; max-width: 70rem; }
.mx-hero__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.7rem, 0.9rem + 6.4vw, 7.4rem); line-height: 1.05; letter-spacing: -0.034em; max-width: 12.5ch; text-wrap: balance; color: var(--fg); }
.mx-hero__title strong { font-weight: 500; }
.mx-hero__lede { max-width: 50ch; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.6; color: rgba(238, 240, 238, 0.8); }
.mx-hero__lede strong { color: var(--fg); font-weight: 500; }
.mx-hero .mx-ctas { margin-top: 0.4rem; }
.mx-hero .btn--line { border-color: rgba(255, 255, 255, 0.5); }

/* sector tabs along the foot of the photograph: they drive the photo reel */
.mx-tabs { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.mx-tab { position: relative; display: grid; gap: 0.35rem; justify-items: start; text-align: left; padding: 1.1rem 0.6rem 1.5rem 1.4rem; color: rgba(255, 255, 255, 0.56); background: none; border: 0; cursor: pointer; transition: color .3s var(--ease); min-width: 0; }
.mx-tab__n { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: var(--mx-track); }
.mx-tab__s { font-family: var(--font-display); font-size: 0.92rem; font-weight: 400; letter-spacing: -0.005em; line-height: 1.25; }
.mx-tab__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.mx-tab__bar i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.mx-tab:hover, .mx-tab:focus-visible { color: rgba(255, 255, 255, 0.9); }
.mx-tab:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.mx-tab.is-on { color: var(--fg); }
.mx-tab.is-on .mx-tab__n { color: var(--signal); }
.mx-tab.is-on .mx-tab__bar i { animation: mxFill var(--mx-dur, 8.5s) linear both; }
.mx-tabs.is-still .mx-tab.is-on .mx-tab__bar i { animation: none; transform: scaleX(1); }
.reel-paused .mx-tab.is-on .mx-tab__bar i { animation-play-state: paused; }
@keyframes mxFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mx-hero__now { display: none; }
.mx-brief__lede { max-width: 62ch; font-size: 1.0625rem; }
.mx-swipe { display: none; }
.mx-cta .mx-frame { inset: 14px var(--gutter); }

@media (max-width: 1080px) {
  .mx-tab { padding-inline: 1rem; }
  .mx-tab__s { font-size: 0.875rem; }
}
@media (max-width: 760px) {
  .mx-hero { min-height: 100svh; }
  .mx-coords span:last-child { display: none; }
  .mx-coords .wrap { justify-content: center; }
  .mx-frame { inset: calc(var(--header-h) + 10px) 10px 10px; }
  .mx-hero__body { justify-items: center; text-align: center; padding-inline: 0.25rem; margin-inline: auto; }
  .mx-hero__title { margin-inline: auto; }
  .mx-hero__lede { margin-inline: auto; max-width: 34ch; }
  .mx-hero .mx-ctas { justify-content: center; width: 100%; }
  .mx-hero .eyebrow--rule { justify-content: center; }
  .mx-hero .eyebrow--rule::after { content: ""; width: 28px; height: 1px; background: var(--accent); }
  /* phones: six segments and the current sector's name, centred */
  .mx-hero__now { display: block; text-align: center; margin-top: 2.25rem; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: var(--mx-track); text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
  .mx-hero__now b { color: var(--signal); font-weight: 500; margin-right: 0.6em; }
  .mx-tabs { margin-top: 0.9rem; border-top: 0; gap: 6px; padding-bottom: 1.6rem; }
  .mx-tab { padding: 0; height: 28px; }
  .mx-tab::after { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: rgba(255, 255, 255, 0.22); }
  .mx-tab__n, .mx-tab__s { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mx-tab__bar { top: 13px; z-index: 1; }
}

/* ==========================================================================
   2 · SPEC RAIL: same six columns as the sector tabs above it, one hairline, no cell dividers
   ========================================================================== */
.mx-rail__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mx-rail__cell { display: grid; gap: 0.6rem; align-content: start; padding: 1.5rem 1.4rem 1.9rem; min-width: 0; }
.mx-rail__cell--certs { grid-column: span 2; }
.mx-rail__v { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1; letter-spacing: -0.03em; color: var(--fg); white-space: nowrap; }
.mx-rail__v small { font-size: 0.55em; color: var(--accent-text); margin-left: 0.08em; letter-spacing: 0; }
.mx-rail__cell--certs a { display: inline-flex; color: var(--fg); transition: color .25s var(--ease); }
.mx-rail__cell--certs a:hover { color: var(--accent-text); }
.mx-rail__cell--certs .certs { gap: 0.55rem; }
@media (max-width: 1080px) {
  .mx-rail__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mx-rail__cell--certs { grid-column: 1 / -1; border-top: 1px solid var(--line); justify-items: center; text-align: center; padding-top: 1.25rem; }
}
@media (max-width: 760px) {
  .mx-rail__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-rail__cell { justify-items: center; text-align: center; padding: 1.25rem 0.5rem 1.4rem; }
  .mx-rail__cell--certs .certs { justify-content: center; }
}

/* ==========================================================================
   3 · WHAT MI-C3 DOES: one statement, each idea marked with the chapter that explains it
   ========================================================================== */
.mx-statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 1rem + 3.1vw, 4.1rem); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; color: var(--fg); max-width: 24ch; }
.mx-statement strong { font-weight: 500; }
.mx-brief { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) var(--gutter); align-items: end; }
.mx-brief > .mx-idx { grid-column: 1 / -1; }
.mx-brief > .mx-statement { grid-column: 1 / span 8; }
.mx-brief > .mx-brief__terms { grid-column: 9 / -1; }
.mx-kw { color: inherit; text-decoration: none; }
.mx-kw sup { font-family: var(--font-mono); font-size: 0.24em; font-weight: 500; letter-spacing: 0.08em; color: var(--accent-text); vertical-align: 1.9em; margin-left: 0.18em; line-height: 0; }
.mx-kw:hover .mx-hl, .mx-kw:focus-visible .mx-hl { background-image: linear-gradient(180deg, transparent 60%, rgba(247, 148, 29, 0.55) 60%, rgba(247, 148, 29, 0.55) 90%, transparent 90%); }
.mx-brief__terms { display: grid; border-top: 1px solid var(--fg); }
.mx-brief__terms a { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: 0.15rem 0.6rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--line); color: var(--fg); }
.mx-brief__terms b { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; color: var(--accent-text); }
.mx-brief__terms span { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem); font-weight: 400; letter-spacing: -0.015em; }
.mx-brief__terms small { grid-column: 2 / -1; font-size: 0.875rem; color: var(--muted); line-height: 1.45; }
.mx-brief__terms i { font-style: normal; color: var(--accent-text); transition: transform .3s var(--ease); }
.mx-brief__terms a:hover i, .mx-brief__terms a:focus-visible i { transform: translateY(3px); }
.mx-brief__terms a:hover span { color: var(--accent-text); }
@media (max-width: 1000px) { .mx-brief > .mx-statement, .mx-brief > .mx-brief__terms { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .mx-brief { justify-items: center; text-align: center; }
  .mx-statement { margin-inline: auto; }
  .mx-brief__terms { width: 100%; text-align: left; }
}

/* ==========================================================================
   4 · CHAPTERS: one term per chapter, even 6/6 columns, sides alternating
   ========================================================================== */
.mx-chapters { display: grid; gap: clamp(5rem, 3rem + 6vw, 9rem); }
.mx-how-idx { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
/* visuals rise into place; they slide in from their own side only where the gutter can absorb it (no sideways scroll) */
.mx-ch .mx-ch__fig.rv { transform: translateY(28px); }
@media (min-width: 1200px) { .mx-ch .mx-ch__fig.rv { transform: translateX(32px); } .mx-ch--flip .mx-ch__fig.rv { transform: translateX(-32px); } }
.mx-ch .mx-ch__text.rv { transform: translateY(24px); }
.mx-ch .mx-ch__fig.rv.in, .mx-ch .mx-ch__text.rv.in { transform: none; }
.mx-ch .mx-ch__fig.rv { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: .12s; }
.mx-ch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2.5rem, 1rem + 4vw, 6rem); align-items: center; }
.mx-ch--flip .mx-ch__text { order: 2; }
.mx-ch__text { display: grid; gap: 1.4rem; align-content: start; justify-items: start; }
.mx-ch__word { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 1.6rem + 4.6vw, 6.1rem); line-height: 0.9; letter-spacing: -0.045em; color: var(--fg); }
.mx-ch__def { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--fg); max-width: 22ch; text-wrap: balance; }
.mx-ch__def strong { font-weight: 500; }
.mx-ch__text .lede { max-width: 52ch; }
.mx-spec { width: 100%; border-top: 1px solid var(--line-strong); }
.mx-spec__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.mx-spec__row > span:last-child { color: var(--fg); font-size: 0.95rem; line-height: 1.5; }
.mx-ch__fig { margin: 0; display: grid; gap: 0.9rem; min-width: 0; }
.mx-ch__cap { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1000px) {
  .mx-ch { grid-template-columns: minmax(0, 1fr); }
  .mx-ch--flip .mx-ch__text { order: 0; }
}
@media (max-width: 760px) {
  .mx-ch__text { justify-items: center; text-align: center; }
  .mx-ch__def, .mx-ch__text .lede { margin-inline: auto; }
  .mx-spec__row { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; text-align: center; }
  .mx-ch__cap { text-align: center; }
}

/* the dark instrument panel every visual sits in */
.mx-panel { position: relative; --bg: var(--mx-panel); --surface: #1A1F28; background: var(--mx-panel); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--on-dark); --fg: var(--on-dark); --muted: var(--on-dark-muted); --line: rgba(255, 255, 255, 0.1); --line-strong: rgba(255, 255, 255, 0.22); --accent-text: var(--signal); }
.mx-panel__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mx-panel__bar b { color: var(--fg); font-weight: 500; }
.mx-panel__bar .sp { margin-left: auto; display: inline-flex; gap: 0.5rem; align-items: center; }
.mx-say { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.mx-say b { color: var(--fg); font-weight: 600; margin-right: 0.3rem; }
.mx-say--flow { margin: -0.25rem 0 0.9rem; padding: 0 0 0.75rem; }
.mx-led { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(14, 143, 176, 0.16); }
.mx-led--warn { background: var(--signal); box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.16); }
.mx-led--crit { background: var(--crit); box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.16); }

/* ----- chapter 01: five raw feeds become one object as the chapter scrolls by ----- */
.mx-asm { position: relative; aspect-ratio: 1 / 1.04; max-width: 100%; overflow: hidden; --k: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px); background-size: 20px 20px; background-position: 10px 10px; }
.mx-asm__card { position: absolute; left: 50%; top: 50%; width: 76%; transform: translate(-50%, -50%) scale(calc(0.96 + 0.04 * var(--card, 0))); display: grid; background: #1A1F28; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.mx-asm__card::before { content: ""; position: absolute; inset: -1px; border: 1px solid var(--signal); opacity: calc(var(--act, 0) * 0.9); pointer-events: none; }
.mx-asm__card { opacity: var(--card, 0); }
.mx-asm__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; padding: 0.85rem 0.95rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mx-asm__head > span:first-child { display: grid; gap: 0.15rem; }
.mx-asm__head em { font-style: normal; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.mx-asm__head b { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--on-dark); }
.mx-asm__head small { font-size: 0.75rem; color: var(--on-dark-muted); }
.mx-asm__head .pill { font-size: 0.5625rem; }
.mx-asm__slot { height: 54px; border-bottom: 1px dashed rgba(255, 255, 255, calc(0.1 * var(--card, 0))); }
.mx-asm__act { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.7rem 0.95rem; margin: 0.6rem; background: rgba(247, 148, 29, calc(0.06 + 0.1 * var(--act, 0))); border-left: 2px solid var(--signal); opacity: var(--act, 0) !important; transform: translateY(calc((1 - var(--act, 0)) * 8px)); }
.mx-asm__act span { display: grid; gap: 0.1rem; }
.mx-asm__act b { font-size: 0.8125rem; font-weight: 600; color: var(--on-dark); }
.mx-asm__act small { font-size: 0.6875rem; color: var(--on-dark-muted); }
.mx-asm__go { color: var(--signal); }
.mx-asm__frag { position: absolute; left: 0; top: 0; height: 54px; display: flex; align-items: center; gap: 0.75rem; padding: 0 0.85rem; transform-origin: 0 50%; will-change: transform; color: var(--on-dark); }
.mx-asm__frag::before { content: ""; position: absolute; inset: 0; background: #20262F; border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9); opacity: var(--box, 1); }
.mx-asm__frag > * { position: relative; }
.mx-asm__src { order: 2; margin-left: auto; flex: none; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); padding: 0.2rem 0.4rem; border: 1px solid rgba(255, 255, 255, calc(0.16 + 0.1 * var(--box, 1))); white-space: nowrap; }
.mx-asm__txt { display: grid; min-width: 0; }
.mx-asm__raw, .mx-asm__val { grid-area: 1 / 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-asm__raw { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: #C9D2DC; opacity: var(--raw, 1); }
.mx-asm__val { display: grid; gap: 0.12rem; align-content: center; opacity: var(--val, 0); font-size: 0.8125rem; }
.mx-asm__val i { font-style: normal; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.mx-asm__val b { font-weight: 500; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.mx-asm__frag[data-s="crit"] .mx-asm__val b { color: #F0797C; }
.mx-asm__frag[data-s="warn"] .mx-asm__val b { color: var(--signal); }
.mx-asm__frag[data-s="ok"] .mx-asm__val b { color: #6FD3AC; }
.mx-asm__steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mx-asm__steps li { padding: 0.75rem 1rem 0.85rem; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.mx-asm__steps li + li { border-left: 1px solid var(--line); }
.mx-asm__steps li.is-on { color: var(--fg); }
.mx-asm__steps li.is-on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 0.5rem; vertical-align: 1px; }
.mx-asm__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.mx-asm__bar i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--k, 0)); }
@media (max-width: 560px) {
  .mx-asm { aspect-ratio: 4 / 5.2; }
  .mx-asm__card { width: 94%; }
  .mx-asm__head small { display: none; }
  .mx-asm__slot, .mx-asm__frag { height: 52px; }
  .mx-asm__val { font-size: 0.75rem; }
  .mx-asm__val i { font-size: 0.5rem; letter-spacing: 0.12em; }
  .mx-asm__steps li { padding-inline: 0.6rem; font-size: 0.5rem; letter-spacing: 0.08em; }
}

/* ----- chapter 02: the flow diagram reuses graph.js ----- */
.mx-flow { padding: clamp(0.9rem, 0.5rem + 1.2vw, 1.5rem); }

/* ----- chapter 03: one policy, three roles ----- */
.mx-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--line-strong); }
.mx-seg button { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.6rem 0.9rem; color: var(--muted); background: none; border: 0; cursor: pointer; transition: color .25s, background-color .25s; white-space: nowrap; }
.mx-seg button + button { border-left: 1px solid var(--line-strong); }
.mx-seg button:hover { color: var(--fg); }
.mx-seg button[aria-pressed="true"] { background: var(--signal); color: var(--ink); }
.mx-seg button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.mx-policy__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 1rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.mx-policy__top .mx-label { color: var(--muted); }
.mx-pt { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.mx-pt th, .mx-pt td { padding: 0.72rem 1rem; text-align: left; border-bottom: 1px solid var(--line); transition: opacity .3s var(--ease), background-color .3s; }
.mx-pt th { font-family: var(--font-mono); font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mx-pt td:first-child { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg); }
.mx-pt [data-col]:not(.is-on) { opacity: 0.38; }
.mx-pt th.is-on { color: var(--signal); }
.mx-pt td.is-on { background: rgba(255, 255, 255, 0.03); }
.mx-pt .pill { font-size: 0.5625rem; }
.mx-runs { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: stretch; }
.mx-runs > * { padding: 0.8rem 1rem; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); text-align: center; }
.mx-runs > :first-child { border-left: 0; text-align: left; }
.mx-runs b { color: var(--fg); font-weight: 500; }
.mx-runs .is-on { color: var(--fg); box-shadow: inset 0 2px 0 var(--signal); }
@media (max-width: 640px) {
  .mx-pt [data-col]:not(.is-on) { display: none; }
  .mx-policy__top { justify-content: center; }
  .mx-runs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mx-runs > :first-child { grid-column: 1 / -1; text-align: center; border-bottom: 1px solid var(--line); }
  .mx-runs > :nth-child(2) { border-left: 0; }
}

/* ==========================================================================
   4b · OPERATING PICTURE: reused from the first design; scroll flattens the tilted product into view
   ========================================================================== */
.mx-op { overflow: hidden; }
.mx-op .mx-head--center .lede { max-width: 54ch; margin-inline: auto; }
.mx-tilt { position: relative; perspective: 1600px; perspective-origin: 50% 0%; --q: 1; }
.mx-tilt > .frame { transform-origin: 50% 0%; transform: rotateX(calc((1 - var(--q)) * 26deg)) scale(calc(0.86 + 0.14 * var(--q))) translateY(calc((1 - var(--q)) * 40px)); opacity: calc(0.35 + 0.65 * var(--q)); will-change: transform; }
.mx-tilt__glow { position: absolute; left: 8%; right: 8%; top: 18%; bottom: -6%; background: radial-gradient(ellipse at 50% 60%, rgba(247, 148, 29, 0.22), rgba(247, 148, 29, 0) 62%); filter: blur(30px); opacity: calc(0.25 + 0.75 * var(--q)); pointer-events: none; }
.mx-op__cap { margin-top: 1.5rem; }
.mx-op__feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem var(--gutter); margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); }
.mx-op__feats > div { display: grid; gap: 0.6rem; align-content: start; padding-top: 1.4rem; }
.mx-op__feats h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--fg); }
.mx-op__feats p { color: var(--muted); font-size: 0.95rem; max-width: 40ch; }
@media (max-width: 860px) {
  .mx-op__feats { grid-template-columns: minmax(0, 1fr); gap: 0; text-align: center; }
  .mx-op__feats > div { justify-items: center; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
  .mx-op__feats p { margin-inline: auto; }
  .mx-op__cap { text-align: center; }
}

/* ==========================================================================
   5 · SECTORS: one large photograph, six tabs (desktop); stacked cards (phones)
   ========================================================================== */
.mx-sectors { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: clamp(2rem, 1rem + 3vw, 4.5rem); }
.mx-sectors > li { display: contents; }
.mx-sec__btn { grid-column: 1; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; align-items: baseline; gap: 0.75rem; width: 100%; padding: 1.2rem 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--muted); text-align: left; cursor: pointer; transition: color .3s var(--ease); }
.mx-sectors > li:nth-child(6) .mx-sec__btn { border-bottom: 1px solid var(--line); }
.mx-sec__btn .mx-tab__n { color: inherit; }
.mx-sec__btn b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.2; }
.mx-sec__btn small { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.mx-sec__btn:hover, .mx-sec__btn:focus-visible { color: var(--fg); }
.mx-sec__btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.mx-sec__btn[aria-expanded="true"] { color: var(--fg); }
.mx-sec__btn[aria-expanded="true"] .mx-tab__n { color: var(--signal); }
.mx-sec__btn[aria-expanded="true"] small { opacity: 1; color: var(--muted); }
.mx-sec__btn { position: relative; }
.mx-sec__btn::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--signal); transition: width .5s var(--ease); }
.mx-sec__btn[aria-expanded="true"]::before { width: 100%; }
.mx-sec__panel { grid-column: 2; grid-row: 1 / -1; position: relative; overflow: hidden; aspect-ratio: 4 / 3.1; max-width: 100%; align-self: start; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.mx-sec__panel.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.mx-sec__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.04); transform: scale(1.04); transition: transform 6s cubic-bezier(.2, .6, .2, 1); }
.mx-sec__panel.is-on img { transform: scale(1); }
.mx-sec__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,18,0.55) 0%, rgba(10,13,18,0) 26%, rgba(10,13,18,0.2) 55%, rgba(10,13,18,0.92) 100%); }
.mx-sec__top, .mx-sec__body { position: absolute; left: 0; right: 0; z-index: 1; padding: 1.25rem 1.4rem; }
.mx-sec__top { top: 0; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.mx-sec__body { bottom: 0; display: grid; gap: 0.75rem; justify-items: start; padding-bottom: 1.5rem; }
.mx-sec__body h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); letter-spacing: -0.025em; line-height: 1.05; color: #fff; }
.mx-sec__body p { color: rgba(238, 240, 238, 0.82); max-width: 40ch; }
.mx-sec__body .link { color: #fff; }
.mx-sec__frame { position: absolute; inset: 12px; z-index: 1; pointer-events: none; }
.mx-sec__frame i { position: absolute; width: 14px; height: 14px; border: 0 solid rgba(255, 255, 255, 0.5); }
.mx-sec__frame i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.mx-sec__frame i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.mx-sec__frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.mx-sec__frame i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.mx-beyond { margin-top: clamp(3rem, 2rem + 3vw, 5rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.25rem var(--gutter); align-items: baseline; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.mx-beyond__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.mx-beyond__list a { display: flex; align-items: center; min-height: 40px; padding: 0 0.85rem; border: 1px solid var(--line-strong); font-size: 0.875rem; color: var(--fg); transition: border-color .25s, color .25s; }
.mx-beyond__list a:hover { border-color: var(--signal); }
.mx-beyond h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: -0.01em; }
.mx-beyond p { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }
@media (max-width: 960px) {
  .mx-sectors { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .mx-sectors::-webkit-scrollbar { display: none; }
  .mx-sectors > li { display: block; flex: 0 0 min(82%, 440px); scroll-snap-align: start; }
  .mx-sec__btn { display: none; }
  .mx-sec__panel, .mx-sec__panel.is-on { grid-column: auto; grid-row: auto; opacity: 1; visibility: visible; aspect-ratio: 4 / 4.6; transition: none; }
  .mx-sec__panel img { transform: none; }
  .mx-swipe { display: block; text-align: center; margin-top: 1rem; }
  .mx-beyond { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .mx-beyond__list { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-beyond__list a { justify-content: center; text-align: center; font-size: 0.8125rem; padding: 0.4rem 0.6rem; }
}
@media (max-width: 760px) {
  .mx-sec__body { justify-items: center; text-align: center; }
  .mx-sec__panel, .mx-sec__panel.is-on { aspect-ratio: 4 / 5; }
  .mx-sec__panel::after { background: linear-gradient(180deg, rgba(10,13,18,0.55) 0%, rgba(10,13,18,0) 20%, rgba(10,13,18,0.5) 46%, rgba(10,13,18,0.94) 74%, rgba(10,13,18,0.97) 100%); }
}
.mx-sec__n { color: rgba(255, 255, 255, 0.7); display: none; }
@media (max-width: 960px) { .mx-sec__n { display: block; } }

/* ==========================================================================
   6 · NATIONAL RESILIENCE: KPI tiles on graph paper, the cascade chart in a dark panel
   ========================================================================== */
.mx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fg); margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.mx-kpi { display: grid; gap: 0.6rem; align-content: start; padding: 1.4rem 1.4rem 0.4rem 0; }
.mx-kpi + .mx-kpi { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.mx-kpi__v { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4.2rem); line-height: 0.95; letter-spacing: -0.04em; color: var(--fg); }
.mx-kpi__v small { font-size: 0.42em; letter-spacing: -0.01em; margin-left: 0.12em; color: var(--muted); }
.mx-kpi__k { font-size: 0.925rem; color: var(--fg); max-width: 24ch; line-height: 1.45; }
.mx-kpi__o { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mx-kpi--alert .mx-kpi__o { color: var(--accent-text); display: inline-flex; gap: 0.45rem; align-items: center; }
.mx-kpi--alert .mx-kpi__o::before { content: "▲"; font-size: 0.75em; }
@media (max-width: 900px) {
  .mx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .mx-kpi:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1rem; }
}
@media (max-width: 760px) {
  .mx-kpi, .mx-kpi + .mx-kpi { justify-items: center; text-align: center; padding-inline: 0.5rem; }
}

.mx-chartpanel { box-shadow: 0 40px 80px -48px rgba(10, 13, 18, 0.55); }
.mx-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; padding: 0.9rem 1.1rem 0; font-size: 0.8125rem; color: var(--muted); }
.mx-legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.mx-legend b { color: var(--fg); font-weight: 500; }
.mx-key { flex: none; display: inline-block; width: 10px; height: 10px; }
.mx-key--cas { border-radius: 50%; background: var(--mx-s1); }
.mx-key--res { background: var(--mx-s2); }
.mx-key--ctx { border-radius: 50%; border: 2px solid var(--mx-ctx); }
.mx-key--dep { width: 22px; height: 2px; background: var(--mx-s1); }
.mx-key--srv { width: 22px; height: 0; border-top: 2px dashed var(--mx-s1); }
.mx-key--lag { width: 22px; height: 2px; background: var(--mx-s2); }
.mx-cascade { position: relative; padding: 0.4rem 1.1rem 0.6rem; min-height: 120px; }
.mx-cascade svg { display: block; width: 100%; overflow: visible; }
.mx-c-lane { fill: rgba(255, 255, 255, 0.018); }
.mx-c-lane--alt { fill: transparent; }
.mx-c-grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.mx-c-sep { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.mx-c-axis { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.mx-c-lab { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--on-dark-muted); }
.mx-c-tick { font-family: var(--font-mono); font-size: 10.5px; fill: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.mx-c-id { font-family: var(--font-mono); font-size: 11px; font-weight: 500; fill: var(--on-dark); letter-spacing: 0.04em; }
.mx-c-sub { font-family: var(--font-body); font-size: 11px; fill: var(--on-dark-muted); }
.mx-c-lagt { font-family: var(--font-mono); font-size: 10px; fill: var(--on-dark-muted); letter-spacing: 0.06em; }
.mx-c-dep { fill: none; stroke: var(--mx-s1); stroke-width: 2; stroke-linecap: round; }
.mx-c-srv { fill: none; stroke: var(--mx-s1); stroke-width: 2; stroke-dasharray: 4 4; }
.mx-c-lag { stroke: var(--mx-s2); stroke-width: 2; stroke-linecap: round; }
.mx-c-break { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; }
.mx-c-cur { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1; stroke-dasharray: 2 3; }
.mx-c-mk { cursor: pointer; outline: none; }
.mx-c-mk .hit { fill: transparent; }
.mx-c-mk .ring { fill: none; stroke: var(--on-dark); stroke-width: 2; opacity: 0; transition: opacity .2s; }
.mx-c-mk:hover .ring, .mx-c-mk:focus-visible .ring, .mx-c-mk.is-hot .ring { opacity: 0.9; }
.mx-c-mk .m-cas { fill: var(--mx-s1); stroke: var(--mx-panel); stroke-width: 2; }
.mx-c-mk .m-res { fill: var(--mx-s2); stroke: var(--mx-panel); stroke-width: 2; }
.mx-c-mk .m-ctx { fill: var(--mx-panel); stroke: var(--mx-ctx); stroke-width: 2.5; }
.mx-anim .mx-c-mk, .mx-anim .mx-c-idg { opacity: 0; transition: opacity .45s var(--ease); }
.mx-anim .mx-c-mk.is-in, .mx-anim .mx-c-idg.is-in { opacity: 1; }
.mx-anim .mx-c-path { stroke-dashoffset: var(--len); transition: stroke-dashoffset .7s var(--ease); }
.mx-anim .mx-c-path.is-in { stroke-dashoffset: 0; }

/* phones: the same events as a vertical rail */
.mx-rail-v { list-style: none; display: grid; gap: 0; padding: 0.5rem 0 0.25rem; }
.mx-rail-v li { display: grid; grid-template-columns: 3.4rem 18px minmax(0, 1fr); gap: 0 0.75rem; position: relative; }
.mx-rail-v li::before { content: ""; position: absolute; left: calc(3.4rem + 0.75rem + 8px); top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.1); }
.mx-rail-v li:first-child::before { top: 14px; }
.mx-rail-v li:last-child::before { bottom: calc(100% - 14px); }
.mx-rail-v li[data-k="cas"] + li[data-k="cas"]::before { background: var(--mx-s1); }
.mx-rail-v time { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg); padding-top: 0.45rem; font-variant-numeric: tabular-nums; }
.mx-rail-v .mk { position: relative; z-index: 1; width: 12px; height: 12px; margin: 0.55rem 0 0 3px; box-shadow: 0 0 0 3px var(--mx-panel); }
.mx-rail-v [data-k="cas"] .mk { border-radius: 50%; background: var(--mx-s1); }
.mx-rail-v [data-k="res"] .mk { background: var(--mx-s2); }
.mx-rail-v [data-k="ctx"] .mk { border-radius: 50%; background: var(--mx-panel); border: 2px solid var(--mx-ctx); }
.mx-rail-v .tx { padding: 0.35rem 0 1.1rem; display: grid; gap: 0.25rem; }
.mx-rail-v .tx span { font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mx-rail-v .tx b { font-family: var(--font-mono); font-weight: 500; font-size: 0.8125rem; color: var(--fg); }
.mx-rail-v .tx b em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 0.5em; }
.mx-rail-v .tx p { font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

/* tooltip shared by every chart on the page */
.mx-tip { position: absolute; z-index: 5; left: 0; top: 0; width: max-content; max-width: 17rem; padding: 0.7rem 0.8rem; background: #0A0D12; border: 1px solid rgba(255, 255, 255, 0.24); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; color: var(--on-dark); }
.mx-tip.is-on { opacity: 1; transform: none; }
.mx-tip__k { font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; align-items: center; gap: 0.45rem; }
.mx-tip__v { font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; margin-top: 0.3rem; }
.mx-tip__d { font-size: 0.8125rem; line-height: 1.45; color: var(--on-dark-muted); margin-top: 0.25rem; }

/* below the cascade: endurance bars and the dependency chain */
.mx-under { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-top: 1px solid var(--line); }
.mx-under > * { padding: 1.1rem 1.1rem 1.25rem; min-width: 0; }
.mx-under > * + * { border-left: 1px solid var(--line); }
.mx-under h4 { font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: -0.005em; color: var(--fg); }
.mx-under h4 + p { font-size: 0.8125rem; color: var(--muted); margin-top: 0.2rem; }
.mx-bars { position: relative; margin-top: 1rem; display: grid; gap: 0.9rem; }
.mx-bar { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.25rem 1rem; align-items: center; outline: none; }
.mx-bar__l { display: grid; gap: 0.1rem; }
.mx-bar__l b { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--fg); }
.mx-bar__l span { font-size: 0.75rem; color: var(--muted); }
.mx-bar__t { position: relative; height: 26px; background-image: linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: calc(100% / 40 * 12) 100%; background-position: 0 0; background-repeat: repeat-x; }
.mx-bar__t::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: transparent; }
.mx-bar__f { position: absolute; left: 0; top: 6px; height: 14px; width: var(--w); background: var(--mx-ctx); border-radius: 0 4px 4px 0; transform-origin: 0 50%; transition: transform 1s var(--ease); }
.mx-bar--hi .mx-bar__f { background: var(--mx-s1); }
.mx-bar__v { position: absolute; top: 50%; left: calc(var(--w) + 8px); transform: translateY(-50%); font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg); white-space: nowrap; }
.mx-bar__v em { font-style: normal; color: var(--accent-text); margin-left: 0.5em; font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; }
.mx-bar:hover .mx-bar__f, .mx-bar:focus-visible .mx-bar__f { filter: brightness(1.15); }
.mx-bar:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.mx-anim-bars .mx-bar__f { transform: scaleX(0); }
.mx-anim-bars.is-in .mx-bar__f { transform: none; }
.mx-axis-x { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; margin-top: 0.4rem; }
.mx-axis-x div { position: relative; height: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.mx-axis-x div span { position: absolute; top: 0.3rem; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.625rem; color: var(--muted); }
.mx-axis-x div span:first-child { transform: none; }
.mx-chain { list-style: none; margin-top: 1rem; display: grid; }
.mx-chain li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.8125rem; }
.mx-chain li:last-child { border-bottom: 0; }
.mx-chain li span:first-child { font-family: var(--font-mono); color: var(--fg); font-size: 0.75rem; }
.mx-chain li span:first-child i { font-style: normal; color: var(--mx-s1); margin-inline: 0.35em; }
.mx-chain li span:last-child { color: var(--muted); text-align: right; }
.mx-data { border-top: 1px solid var(--line); }
.mx-data summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1.1rem; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mx-data summary::-webkit-details-marker { display: none; }
.mx-data summary::after { content: "+"; font-size: 0.9rem; color: var(--fg); }
.mx-data[open] summary::after { content: "–"; }
.mx-data summary:hover { color: var(--fg); }
.mx-data summary:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.mx-data__wrap { overflow-x: auto; padding: 0 1.1rem 1rem; }
.mx-data table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.8125rem; }
.mx-data th, .mx-data td { text-align: left; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mx-data th { font-family: var(--font-mono); font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mx-data td { color: var(--muted); }
.mx-data td:first-child, .mx-data td:nth-child(3) { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mx-panel__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .mx-under { grid-template-columns: minmax(0, 1fr); }
  .mx-under > * + * { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .mx-bar, .mx-axis-x { grid-template-columns: minmax(0, 1fr); }
  .mx-axis-x > span { display: none; }
  .mx-legend { padding-inline: 1rem; gap: 0.45rem 1rem; font-size: 0.75rem; }
  .mx-cascade { padding-inline: 1rem; }
  .mx-panel__bar .sp { display: none; }
}

/* ==========================================================================
   7 · TRACK RECORD: milestone timeline, field examples as spec cards with mini charts
   ========================================================================== */
.mx-tl { position: relative; margin-top: 0.5rem; }
.mx-tl-chart { position: relative; }
.mx-tl-chart svg { position: absolute; left: 0; top: 0; overflow: visible; }
.mx-tl-axis { stroke: rgba(255, 255, 255, 0.34); stroke-width: 1; }
.mx-tl-tick { stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.mx-tl-year { font-family: var(--font-mono); font-size: 10.5px; fill: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.mx-tl-band { fill: url(#mxHatch); stroke: rgba(255, 255, 255, 0.22); stroke-width: 1; }
.mx-tl-stem { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }
.mx-tl-mk { fill: var(--signal); stroke: var(--bg); stroke-width: 2; }
.mx-tl-mk--now { fill: var(--bg); stroke: var(--signal); stroke-width: 2; }
.mx-tl-lab { position: absolute; display: grid; gap: 0.3rem; width: 13.5rem; padding-left: 0.75rem; border-left: 1px solid transparent; }
.mx-tl-lab--r { text-align: right; padding-left: 0; padding-right: 0.75rem; }
.mx-tl-lab time { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.mx-tl-lab b { font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: var(--fg); letter-spacing: -0.005em; line-height: 1.3; }
.mx-tl-lab span { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.mx-tl-lab--band time { color: var(--muted); }
.mx-tl-v { list-style: none; display: grid; border-top: 1px solid var(--line-strong); }
.mx-tl-v li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); position: relative; }
.mx-tl-v time { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.02em; color: var(--fg); line-height: 1.1; }
.mx-tl-v time::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); margin-bottom: 0.5rem; }
.mx-tl-v li:first-child time::before { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.5); }
.mx-tl-v li:last-child time::before { background: transparent; border: 2px solid var(--signal); }
.mx-tl-v b { font-family: var(--font-display); font-weight: 500; font-size: 1rem; display: block; color: var(--fg); }
.mx-tl-v span { font-size: 0.875rem; color: var(--muted); }

.mx-fx { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.mx-fx__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-strong); }
.mx-fx__head .mx-label:first-child { color: var(--accent-text); }
.mx-fx__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 0 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.mx-fx__card { background: var(--bg); display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 1rem; padding: 1.5rem 1.4rem 1.4rem; min-width: 0; align-content: start; }
.mx-fx__card .mx-spec { align-self: end; }
.mx-fx__card .chip { justify-self: start; }
.mx-fx__card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--fg); text-wrap: balance; }
.mx-mini { background: var(--mx-panel); border: 1px solid var(--line); padding: 0.75rem 0.75rem 0.5rem; align-self: start; }
.mx-mini svg { display: block; width: 100%; height: auto; overflow: visible; }
.mx-mini__k { display: flex; justify-content: space-between; gap: 0.75rem; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.mx-m-grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.mx-m-axis { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.mx-m-line { fill: none; stroke: var(--mx-s2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mx-m-proj { fill: none; stroke: var(--mx-s2); stroke-width: 2; stroke-dasharray: 3 4; opacity: 0.7; }
.mx-m-thr { stroke: var(--crit); stroke-width: 1; stroke-dasharray: 4 3; opacity: 0.85; }
.mx-m-trig { stroke: var(--mx-s1); stroke-width: 1; stroke-dasharray: 4 3; }
.mx-m-mk { fill: var(--mx-s1); stroke: var(--mx-panel); stroke-width: 2; }
.mx-m-mk2 { fill: var(--mx-s2); stroke: var(--mx-panel); stroke-width: 2; }
.mx-m-t { font-family: var(--font-mono); font-size: 10px; fill: var(--on-dark-muted); letter-spacing: 0.04em; }
.mx-m-tb { font-family: var(--font-mono); font-size: 10px; fill: var(--on-dark); letter-spacing: 0.04em; font-weight: 500; }
.mx-m-src { fill: #1A1F28; stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; }
.mx-m-hub { fill: #1A1F28; stroke: var(--signal); stroke-width: 1; }
.mx-m-ln { fill: none; stroke: rgba(255, 255, 255, 0.24); stroke-width: 1; }
.mx-fx__card .mx-spec__row { grid-template-columns: 5.6rem minmax(0, 1fr); padding: 0.6rem 0; }
.mx-fx__card .mx-spec__row > span:last-child { font-size: 0.875rem; }
.mx-fx__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: 1.25rem; }
@media (max-width: 1000px) { .mx-mini { width: 100%; max-width: 440px; justify-self: center; } .mx-fx__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; background: none; gap: 0; } .mx-fx__card { grid-row: auto; grid-template-rows: none; max-width: 40rem; width: 100%; margin-inline: auto; } .mx-fx__card + .mx-fx__card { border-top: 1px solid var(--line); } }
@media (max-width: 760px) {
  .mx-fx__head, .mx-fx__foot { justify-content: center; text-align: center; }
  .mx-fx__card { justify-items: center; text-align: center; padding-inline: 0.25rem; }
  .mx-fx__card .chip { justify-self: center; }
  .mx-mini { width: 100%; }
  .mx-fx__card .mx-spec, .mx-fx__card .mx-spec__row { text-align: left; }
}

/* ==========================================================================
   8 · ASSURANCE: certification spec table and deployment comparison
   ========================================================================== */
.mx-assure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 1rem + 3vw, 4.5rem); align-items: start; }
.mx-tbl { width: 100%; border-collapse: collapse; }
.mx-tbl caption { text-align: left; padding-bottom: 0.9rem; }
.mx-tbl th, .mx-tbl td { text-align: left; padding: 0.95rem 1rem 0.95rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mx-tbl thead th { font-family: var(--font-mono); font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--fg); padding-block: 0.6rem; }
.mx-tbl tbody th { font-weight: 500; color: var(--fg); }
.mx-tbl td { color: var(--muted); font-size: 0.925rem; }
.mx-tbl .seal { --seal: 40px; color: var(--fg); }
.mx-tbl__name { display: flex; align-items: center; gap: 0.9rem; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.005em; }
.mx-st { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); white-space: nowrap; }
.mx-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.mx-deploy { border: 1px solid var(--line-strong); }
.mx-deploy__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mx-deploy__col { padding: 1.25rem 1.1rem; display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.mx-deploy__col + .mx-deploy__col { border-left: 1px solid var(--line); }
.mx-deploy__col b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--fg); }
.mx-deploy__col p { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.mx-deploy__col--on { box-shadow: inset 0 2px 0 var(--accent); }
.mx-deploy__same { border-top: 1px solid var(--line); padding: 1rem 1.1rem; display: grid; gap: 0.55rem; }
.mx-deploy__same div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; font-size: 0.875rem; color: var(--fg); }
.mx-deploy__same div span:last-child { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); align-self: center; }
@media (max-width: 1000px) { .mx-assure { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .mx-tbl thead { display: none; }
  .mx-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .mx-tbl th, .mx-tbl td { border: 0; padding: 0; }
  .mx-tbl td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; padding-left: calc(40px + 0.9rem); font-size: 0.85rem; }
  .mx-tbl td:last-child { grid-column: 2; grid-row: 1; align-self: center; }
  .mx-deploy__cols { grid-template-columns: minmax(0, 1fr); }
  .mx-deploy__col + .mx-deploy__col { border-left: 0; border-top: 1px solid var(--line); }
  .mx-deploy__col { text-align: center; justify-items: center; }
}

/* ==========================================================================
   9 · AFFECTLI: a navy product panel set into the light band (Apollo dark panel)
   ========================================================================== */
.mx-aff { position: relative; overflow: hidden; isolation: isolate; background: #070B24; color: #EEF1FA; --fg: #EEF1FA; --muted: #9DA6C6; --line: rgba(170, 190, 255, 0.14); --line-strong: rgba(170, 190, 255, 0.28); --accent-text: #6FA8FF; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mx-aff::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--affectli-gradient); z-index: 2; }
.mx-aff__text { display: grid; gap: 1.4rem; align-content: center; justify-items: start; padding: clamp(2rem, 1rem + 3vw, 4rem); position: relative; z-index: 1; }
.mx-aff__text .mx-h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem); }
.mx-aff__text .lede { color: var(--muted); }
.mx-aff__text .lede strong { color: #fff; }
.mx-aff__q { margin: 0; padding-left: 1.1rem; border-left: 2px solid #3357A7; display: grid; gap: 0.5rem; }
.mx-aff__q blockquote { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.35; color: #fff; }
.mx-aff__q figcaption { font-size: 0.85rem; color: var(--muted); }
.mx-aff__q figcaption b { color: #fff; font-weight: 500; margin-right: 0.4em; }
.mx-aff .btn--primary { background: #3357A7; color: #fff; }
.mx-aff .btn--primary:hover { box-shadow: 0 12px 30px -14px rgba(47, 139, 255, 0.65); }
.mx-aff .btn--line .arr { color: #6FA8FF; }
.mx-aff__media { position: relative; display: block; min-height: 22rem; overflow: hidden; }
.mx-aff__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mx-aff__media:hover img { transform: scale(1.03); }
.mx-aff__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #070B24 0%, rgba(7, 11, 36, 0.2) 30%, rgba(7, 11, 36, 0) 60%); }
.mx-aff__play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 0.75rem; color: #fff; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; }
.mx-aff__play i { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(7, 11, 36, 0.6); border: 1px solid rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.mx-aff__play i::before { content: ""; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.mx-aff__media:hover .mx-aff__play i, .mx-aff__media:focus-visible .mx-aff__play i { background: #3357A7; border-color: #3357A7; transform: scale(1.06); }
.mx-aff__media:focus-visible { outline: 2px solid #6FA8FF; outline-offset: -4px; }
/* Apollo's perspective floor, in the Affectli colours, under the copy */
.mx-floor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 46%; z-index: 0; pointer-events: none; perspective: 420px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%); mask-image: linear-gradient(180deg, transparent 0%, #000 70%); }
.mx-floor::before { content: ""; position: absolute; inset: -60% 0 0; transform: rotateX(62deg); transform-origin: 50% 100%; background-image: linear-gradient(rgba(111, 168, 255, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 168, 255, 0.22) 1px, transparent 1px); background-size: 56px 56px; background-position: 50% 0; }
@media (max-width: 900px) {
  .mx-aff { grid-template-columns: minmax(0, 1fr); }
  .mx-aff__media { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
  .mx-aff__media::after { background: linear-gradient(180deg, rgba(7, 11, 36, 0) 50%, #070B24 100%); }
}
@media (max-width: 760px) {
  .mx-aff__text { justify-items: center; text-align: center; }
  .mx-aff__q { border-left: 0; padding-left: 0; border-top: 2px solid #3357A7; padding-top: 1rem; }
  .mx-aff .mx-ctas { justify-content: center; width: 100%; }
}

/* ==========================================================================
   10 · CLOSING CTA: one photograph, one line, the pair of actions
   ========================================================================== */
.mx-cta { position: relative; overflow: hidden; isolation: isolate; min-height: min(86svh, 760px); display: flex; align-items: flex-end; }
.mx-cta__media { position: absolute; inset: 0; z-index: -1; }
.mx-cta__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) brightness(0.62) contrast(1.05); }
.mx-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,13,18,0.92) 0%, rgba(10,13,18,0.6) 45%, rgba(10,13,18,0.25) 100%), linear-gradient(180deg, #0A0D12 0%, rgba(10,13,18,0) 30%, rgba(10,13,18,0) 60%, rgba(10,13,18,0.8) 100%); }
.mx-cta .wrap { position: relative; }
.mx-cta__body { display: grid; gap: 1.5rem; justify-items: start; max-width: 46rem; padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.mx-cta__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.4rem); line-height: 0.95; letter-spacing: -0.04em; color: var(--fg); text-wrap: balance; }
.mx-cta__body .lede { max-width: 44ch; }
.mx-cta .mx-coords { top: auto; bottom: 1.5rem; }
@media (max-width: 760px) {
  .mx-cta__media::after { background: linear-gradient(180deg, #0A0D12 0%, rgba(10,13,18,0.6) 26%, rgba(10,13,18,0.82) 55%, rgba(10,13,18,0.94) 100%); }
  .mx-cta__body { justify-items: center; text-align: center; margin-inline: auto; }
  .mx-cta .mx-ctas { justify-content: center; width: 100%; }
}

/* ---------- reduced motion: everything rests in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .mx-hl, .mx-sec__panel img, .mx-bar__f { transition: none !important; }
  .mx-tilt > .frame { transform: none; opacity: 1; }
  .mx-tilt__glow { opacity: 1; }
  .mx-tab.is-on .mx-tab__bar i { animation: none; transform: scaleX(1); }
}

/* ==========================================================================
   THE COMBINED HOME (mi-c3/index.html, rounds 17 to 19): pieces only the combined build uses.
   Joins between light and dark are made by dark product panels that sit across them, never by gradient fades.
   ========================================================================== */
/* A's bracketed labels inside B's twelve-column heads */
.mx-head > .eyebrow { grid-column: 1 / -1; justify-self: start; }
.mx-head--center > .eyebrow { justify-self: center; }

/* ----- hero: copy left, the six sectors as a quiet list bottom right, the figures along the foot ----- */
.hb-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2rem 3rem; align-items: end; }
.hb-sectors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0 0 0.4rem; padding: 0 0 0 1.1rem; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.hb-sectors__k { font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); padding-bottom: 0.55rem; }
.hb-sectors .mx-tab { display: flex; align-items: baseline; gap: 0.7rem; padding: 0.28rem 0; color: rgba(255, 255, 255, 0.5); }
.hb-sectors .mx-tab__n { font-size: 0.5625rem; }
.hb-sectors .mx-tab__s { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0; }
.hb-sectors .mx-tab:hover, .hb-sectors .mx-tab:focus-visible { color: rgba(255, 255, 255, 0.85); }
.hb-sectors .mx-tab.is-on { color: #fff; }
.hb-sectors .mx-tab__bar { left: calc(-1.1rem - 1px); right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
.hb-sectors .mx-tab__bar i { transform-origin: 50% 0; transform: scaleY(0); }
.hb-sectors .mx-tab.is-on .mx-tab__bar i { animation: mxFillY var(--mx-dur, 8.5s) linear both; }
.hb-sectors.is-still .mx-tab.is-on .mx-tab__bar i { animation: none; transform: scaleY(1); }
@keyframes mxFillY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); margin-top: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.hb-stat { display: grid; gap: 0.5rem; align-content: start; padding: 1.15rem 1.4rem 1.7rem; min-width: 0; }
.hb-stat + .hb-stat { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.hb-stat__k { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.hb-stat__v { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 1.25vw, 2.4rem); line-height: 1; letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.hb-stat__v small { font-size: 0.55em; color: var(--signal); margin-left: 0.06em; letter-spacing: 0; }
.hb-stat--certs a { display: inline-flex; color: #fff; transition: color .25s var(--ease); }
.hb-stat--certs a:hover { color: var(--signal); }
.hb-stat--certs .certs { gap: 0.45rem; flex-wrap: nowrap; }
@media (max-width: 1080px) { .hb-hero-row { grid-template-columns: minmax(0, 1fr) 13rem; gap: 2rem; } .hb-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hb-stat.hb-stat--certs { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); } }
@media (max-width: 760px) {
  .hb-hero-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hb-hero-row .mx-hero__now { margin-top: 2rem; }
  /* phones: the list folds into six segments with the current sector named above them */
  .hb-sectors { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; border-left: 0; padding: 0; margin: 0.9rem 0 0; order: 2; }
  .hb-sectors__k { display: none; }
  .hb-sectors .mx-tab { padding: 0; height: 28px; }
  .hb-sectors .mx-tab__bar { left: 0; right: 0; top: 13px; bottom: auto; width: auto; height: 2px; }
  .hb-sectors .mx-tab__bar i { transform-origin: 0 50%; transform: scaleX(0); }
  .hb-sectors .mx-tab.is-on .mx-tab__bar i { animation-name: mxFill; }
  .hb-sectors.is-still .mx-tab.is-on .mx-tab__bar i { transform: scaleX(1); }
  .hb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
  .hb-stat { justify-items: center; text-align: center; padding: 1rem 0.5rem 1.2rem; }
  .hb-stat.hb-stat:nth-child(3) { border-left: 0; grid-column: 1 / -1; }
  .hb-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .hb-stat--certs { grid-column: 1 / -1; }
  .hb-stat--certs .certs { flex-wrap: wrap; justify-content: center; }
}

/* ----- the problem and what Mi-C3 does: three systems that each know one thing, joined into one model ----- */
.hb-why .section-head { margin-bottom: clamp(2.5rem, 1.5rem + 2.5vw, 4rem); }
.hb-silos { display: grid; gap: 0; }
.hb-silos__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.hb-silo { position: relative; display: grid; gap: 0.6rem; align-content: start; padding: 1.5rem 1.5rem 1.6rem; background: var(--light-1); border: 1px solid var(--line-strong); min-width: 0; }
.hb-silo__k { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.hb-silo b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--fg); }
.hb-silo__miss { font-size: 0.95rem; color: var(--muted); }
/* a short drop from each card into the bar below */
.hb-silo__tick { position: absolute; left: 50%; top: 100%; width: 1px; height: 2.25rem; background: var(--signal); transform-origin: 50% 0; transition: transform .7s var(--ease) .1s; }
.hb-join { position: relative; margin-top: 2.25rem; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.75rem 1.75rem; padding: 1.35rem 1.6rem; background: var(--dark-1); color: var(--on-dark); border-left: 2px solid var(--signal); transform-origin: 0 50%; transition: transform .9s var(--ease) .55s, opacity .6s ease .55s; }
.hb-join__k { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; color: #fff; white-space: nowrap; }
.hb-join p { color: var(--on-dark-muted); font-size: 1rem; max-width: 70ch; }
.hb-silos.rv:not(.in) .hb-silo__tick { transform: scaleY(0); }
.hb-silos.rv:not(.in) .hb-join { transform: scaleX(0.96); opacity: 0; }
.hb-answer { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); padding-top: 0; border-top: 0; }
@media (max-width: 860px) {
  .hb-silos__row { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .hb-silo { grid-template-columns: 7rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 1.1rem 1.2rem; }
  .hb-silo__k { grid-row: span 2; padding-top: 0.35rem; }
  .hb-silo__tick { display: none; }
  .hb-join { margin-top: 0.75rem; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hb-silo { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .hb-silo__k { grid-row: auto; padding-top: 0; }
  .hb-join { text-align: center; justify-items: center; border-left: 0; border-top: 2px solid var(--signal); }
}
@media (prefers-reduced-motion: reduce) { .hb-silo__tick, .hb-join { transition: none; } }

/* ----- pillars: A's light band in B's contained layout; every visual sits in the corner-bracket frame ----- */
.hb-pillars .mx-chapters { gap: clamp(4.5rem, 3rem + 5vw, 8rem); }
.hb-pillars .mx-ch__word { font-size: clamp(2.75rem, 1.4rem + 3.6vw, 4.75rem); }
.hb-pillars .mx-ch__text { gap: 1.2rem; }
.hb-pillars .mx-ch__text .lede { font-size: 1.0625rem; }
.hb-pillars .mx-ch__fig .frame { margin: 10px; }
.mx-log { border-top: 1px solid var(--line); padding: 0.5rem 1rem 0.6rem; }
.mx-log__k { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0 0.45rem; font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mx-log__r { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.45rem 0; border-top: 1px dashed rgba(255, 255, 255, 0.08); font-size: 0.75rem; }
.mx-log__r time { font-family: var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.mx-log__r span:nth-child(2) { font-family: var(--font-mono); color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-log__r .pill { font-size: 0.5625rem; }

/* ----- bridges: a dark panel sits across a light/dark join; the join behind it is a clean edge ----- */
.hb-sectors-sec .sector-grid { --grid-gap: 1px; background: var(--line-strong) !important; }
/* operating picture: light above, dark below, the product view across the line */
.hb-op-top { padding-bottom: 0; overflow-x: clip; }
.hb-op-bottom { overflow-x: clip; }
.hb-bridge { position: relative; z-index: 2; margin-bottom: calc(-1 * var(--bridge, 260px)); }
.hb-bridge .frame { --fc: rgba(138, 148, 159, 0.7); }
.hb-bridge .mx-tilt__glow { opacity: calc(0.15 + 0.5 * var(--q)); }
.hb-op-bottom { padding-top: calc(var(--bridge, 260px) + var(--section-y) * 0.55); }
.hb-op-bottom .mx-op__feats { margin-top: 0; }
@media (max-width: 760px) { .hb-bridge, .hb-op-bottom { --bridge: 120px; } }
/* Affectli card: dark band above, white below */
.hb-straddle { --sh: calc(var(--section-y) + 210px); background-image: linear-gradient(180deg, var(--dark-1) 0, var(--dark-1) var(--sh), var(--light-1) var(--sh)); background-repeat: no-repeat; }
@media (max-width: 900px) { .hb-straddle { --sh: calc(var(--section-y) + 120px); } }
/* storm panel: runs into the track record's dark band */
.hb-into-dark { padding-bottom: 80px; }
.hb-into-dark.mx-paper { background-image:
  linear-gradient(180deg, transparent calc(100% - 210px), var(--dark-0) calc(100% - 210px)),
  linear-gradient(rgba(14, 17, 22, 0.065) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 17, 22, 0.065) 1px, transparent 1px),
  linear-gradient(rgba(14, 17, 22, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 17, 22, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px, 16px 16px, 16px 16px; background-position: 0 0, -1px -1px, -1px -1px, -1px -1px, -1px -1px; }
.hb-into-dark + .section { padding-top: calc(var(--section-y) * 0.8); }
/* field examples: run on into the light industries section */
.hb-out-light { padding-bottom: 80px; background-image: linear-gradient(180deg, transparent calc(100% - 200px), var(--light-0) calc(100% - 200px)); }
.hb-after-bridge { padding-top: calc(var(--section-y) * 0.7); }
@media (max-width: 760px) { .hb-out-light { background-image: linear-gradient(180deg, transparent calc(100% - 150px), var(--light-0) calc(100% - 150px)); } }

/* closing call to action: a contained photo card over the white band and the dark footer */
.hb-cta-band { padding-top: calc(var(--section-y) * 0.4); padding-bottom: 0; background: linear-gradient(180deg, var(--light-1) 0, var(--light-1) calc(100% - 180px), var(--dark-0) calc(100% - 180px)); }
.hb-cta-card { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: min(78svh, 620px); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 50px 90px -50px rgba(10, 13, 18, 0.6); }
.hb-cta-card .mx-cta__media { position: absolute; inset: 0; z-index: -1; }
.hb-cta-card .mx-cta__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) brightness(0.62) contrast(1.05); }
.hb-cta-card .mx-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,13,18,0.92) 0%, rgba(10,13,18,0.6) 48%, rgba(10,13,18,0.25) 100%); }
.hb-cta-card .mx-frame { inset: 14px; }
.hb-cta-card .mx-cta__body { padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 2.5vw, 4rem); }
main:has(> .hb-cta-band:last-child) + .site-footer { border-top: 0; }
@media (max-width: 760px) {
  .hb-cta-band { background: linear-gradient(180deg, var(--light-1) 0, var(--light-1) calc(100% - 140px), var(--dark-0) calc(100% - 140px)); }
  .hb-cta-card { min-height: 0; }
  .hb-cta-card .mx-cta__media::after { background: linear-gradient(180deg, rgba(10,13,18,0.6) 0%, rgba(10,13,18,0.86) 55%, rgba(10,13,18,0.94) 100%); }
  .hb-cta-card .mx-cta__body { padding: 3rem 1.25rem 2.5rem; }
}
/* same-tone neighbours share their spacing instead of doubling it */
.hb-sectors-sec { padding-bottom: calc(var(--section-y) * 0.6); }
.hb-sectors-sec + .hb-op-top { padding-top: calc(var(--section-y) * 0.6); }
.hb-op-bottom { padding-bottom: calc(var(--section-y) * 0.45); }
.hb-op-bottom + .hb-straddle { padding-top: calc(var(--section-y) * 0.45); --sh: calc(var(--section-y) * 0.45 + 210px); }
@media (max-width: 900px) { .hb-op-bottom + .hb-straddle { --sh: calc(var(--section-y) * 0.45 + 120px); } }
