/* Homepage story: a scroll-driven scene under the opening copy. Without
   JavaScript or WebGL the chapters read as plain text on a dark ground. */
.ax-story {
  --ax-bg: #0a0d14;
  --ax-fg: #f2f3f6;
  --ax-soft: #aab1be;
  --ax-faint: #7e8696;
  --ax-line: rgba(242, 243, 246, .14);
  --ax-signal: #97a4ff;
  --ax-nav: var(--site-nav-height, 88px);
  position: relative;
  margin-top: calc(-1 * var(--ax-nav));
  background: var(--ax-bg);
  color: var(--ax-fg);
  isolation: isolate;
}
.ax-story.is-day {
  --ax-bg: #f7f6f2;
  --ax-fg: #1b1e26;
  --ax-soft: #4f5562;
  --ax-faint: #5f646d;
  --ax-line: rgba(27, 30, 38, .14);
  --ax-signal: #3045b5;
}
.ax-story.ax-live { background: transparent; }

/* The scene: pinned behind the chapters for the whole story. */
.ax-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  margin-bottom: -100vh;
  margin-bottom: -100lvh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, #05070b 0%, #0d111a 58%, #0a0d14 100%);
}
.ax-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.ax-live .ax-canvas { opacity: 1; }
/* A night vignette, and a veil that keeps dense chapters readable. */
.ax-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 62% 48%, transparent 52%, rgba(2, 3, 6, .62) 100%);
  opacity: var(--ax-night, 1);
  pointer-events: none;
}
.ax-veil { position: absolute; inset: 0; background: #05070b; opacity: 0; }
.ax-static .ax-stage::after {
  content: "";
  position: absolute;
  inset: 45% -10% -10%;
  background-image:
    linear-gradient(rgba(151, 164, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 164, 255, .1) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: top;
  mask-image: linear-gradient(180deg, transparent, #000 30%, transparent);
}
.ax-scrim {
  position: absolute;
  inset: 0;
  /* The copy column keeps a near-solid night behind it; the scene lives to its right. */
  background: linear-gradient(90deg, rgba(5, 7, 11, .92) 0%, rgba(5, 7, 11, .88) 32%, rgba(5, 7, 11, .62) 46%, rgba(5, 7, 11, .18) 58%, rgba(5, 7, 11, 0) 66%);
}
.ax-scrim.is-day {
  background: linear-gradient(90deg, rgba(247, 246, 242, .94) 0%, rgba(247, 246, 242, .78) 26%, rgba(247, 246, 242, .34) 46%, rgba(247, 246, 242, 0) 62%);
  opacity: 0;
}

/* Labels anchored to the scene. */
.ax-tags { position: absolute; inset: 0; }
.ax-tag {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: -6px;
  font: 500 10.5px/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ax-fg);
  opacity: 0;
  will-change: transform, opacity;
}
.ax-tag::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .45; }
.ax-tag i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ax-fg)); box-shadow: 0 0 0 1px rgba(242, 243, 246, .35); }
.ax-tag.is-member { flex-direction: column; gap: 6px; transform-origin: bottom center; margin-top: 0; translate: -50% -100%; }
.ax-tag.is-member::before { width: 1px; height: 22px; order: 2; }
.ax-tag.is-member i { display: none; }
.ax-tag.is-wash { color: #ffb492; translate: -50% -100%; }
.ax-tag.is-wash::before { display: none; }
.ax-tag.is-wash i { background: #ff8a5c; box-shadow: none; }
.ax-tag.is-core, .ax-tag.is-side { translate: -50% -100%; padding: 7px 10px; border: 1px solid rgba(143, 157, 255, .45); background: rgba(5, 7, 11, .72); }
.ax-tag.is-core::before, .ax-tag.is-side::before { display: none; }
.ax-tag.is-side { border-color: rgba(255, 138, 92, .55); color: #ffc2a8; }
.ax-tag.is-side.is-ours { border-color: rgba(143, 157, 255, .6); color: #c7ceff; }

/* The chapter rail: a tick per chapter, the current one named. */
.ax-rail {
  position: absolute;
  right: clamp(16px, 2.2vw, 30px);
  top: 50%;
  display: grid;
  gap: 9px;
  justify-items: end;
  transform: translateY(-50%);
  pointer-events: auto;
}
.ax-rail a { display: flex; align-items: center; gap: 12px; height: 12px; color: var(--ax-fg); text-decoration: none; }
.ax-rail i { width: 14px; height: 1px; background: currentColor; opacity: .32; transition: width .35s ease, opacity .35s ease, background-color .35s ease; }
.ax-rail span {
  order: -1;
  font: 500 10px/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.ax-rail a.is-on i { width: 30px; opacity: 1; background: var(--ax-signal); }
/* Labels only while the reader is using the rail, so none float over the scene. */
.ax-rail:hover span { opacity: .45; transform: none; }
.ax-rail:hover a.is-on span { opacity: .95; }
.ax-rail a:hover i { opacity: .8; width: 22px; }
.ax-tag.is-caption { color: #dfe3ff; }

/* Hover the book: one account, read from the numbers that draw it. */
.ax-inspect {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(143, 157, 255, .5);
  background: rgba(5, 7, 11, .86);
  color: #f2f3f6;
  translate: -50% -100%;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}
.ax-inspect b { font: 500 11px/1.4 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: #c7ceff; }
.ax-inspect span { font: 400 14px/1.45 Inter, Arial, sans-serif; }
.ax-inspect small { font: 400 11px/1.4 Inter, Arial, sans-serif; color: #8e96a5; }

/* One verified figure, counted up as the check crosses the book. */
body.editorial-site .ax-story .ax-figure { display: grid; gap: 10px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--ax-line); }
body.editorial-site .ax-story .ax-figure strong {
  font: 400 clamp(64px, 8vw, 124px)/.88 Inter, Arial, sans-serif;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  color: #f2f3f6 !important;
}
body.editorial-site .ax-story .ax-figure span { font: 400 16px/1.55 Inter, Arial, sans-serif; color: var(--ax-soft) !important; max-width: 34ch; }

/* Chapters: ordinary flow, each copy block holds while its scene plays. */
.ax-chapters { position: relative; z-index: 2; }
.ax-ch {
  position: relative;
  box-sizing: border-box;
  min-height: var(--len, 200vh);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5.5vw, 80px);
}
.ax-copy { position: sticky; top: var(--top, 27vh); max-width: 540px; padding: 12px 0 40px; }
.ax-ch:not(.ax-hero) { padding-top: 22vh; }
/* The close waits for daylight, so its copy never sits on the half-lit dawn. */
.ax-ch[data-ax-ch="review"] { padding-top: 46vh; }
body.editorial-site .editorial-cover.ax-after { padding-top: 24px !important; }
.ax-hero { --len: 132vh; }
.ax-hero .ax-copy { --top: calc(var(--ax-nav) + 11vh); padding-top: calc(var(--ax-nav) + 11vh); top: 0; max-width: 640px; }
.ax-wide .ax-copy { max-width: 780px; }

body.editorial-site .ax-story :is(h1, h2, p, li, a, strong, b, span) { color: inherit; }
.ax-kicker {
  margin: 0 0 22px !important;
  font: 500 11px/1.5 'JetBrains Mono', ui-monospace, monospace !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  color: var(--ax-faint) !important;
}
body.editorial-site .ax-story h1 {
  margin: 0 !important;
  font: 400 clamp(46px, 6.4vw, 100px)/.98 Inter, Arial, sans-serif !important;
  letter-spacing: -.052em !important;
  color: var(--ax-fg) !important;
  white-space: normal !important;
}
body.editorial-site .ax-story h1 .ax-accent { color: var(--ax-signal) !important; white-space: nowrap; }

/* Headlines arrive line by line, each rising out of its own mask. */
.ax-live .ax-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ax-live .ax-line > span { display: inline-block; transform: translateY(108%); transition: transform 1.15s cubic-bezier(.16, 1, .3, 1); }
.ax-live .ax-line:nth-child(2) > span { transition-delay: .09s; }
.ax-live .ax-line:nth-child(3) > span { transition-delay: .18s; }
.ax-live .is-in .ax-line > span { transform: none; }
body.editorial-site .ax-story h2 {
  margin: 0 0 22px !important;
  font: 400 clamp(36px, 4.4vw, 66px)/1.02 Inter, Arial, sans-serif !important;
  letter-spacing: -.046em !important;
  color: var(--ax-fg) !important;
}
body.editorial-site .ax-story .ax-lede {
  margin: 0 0 14px;
  max-width: 44ch;
  font: 400 clamp(16px, 1.3vw, 19px)/1.6 Inter, Arial, sans-serif;
  color: var(--ax-soft) !important;
}
body.editorial-site .ax-story .ax-lede.is-strong { color: var(--ax-fg) !important; margin-top: 26px; }
body.editorial-site .ax-story .ax-note {
  margin: 22px 0 0;
  max-width: 52ch;
  font: 400 12px/1.7 Inter, Arial, sans-serif;
  color: var(--ax-faint) !important;
}
.ax-note a { color: var(--ax-fg) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.editorial-site .ax-story .ax-manifesto {
  margin: 0;
  max-width: 21ch;
  font: 400 clamp(30px, 3.5vw, 54px)/1.14 Inter, Arial, sans-serif;
  letter-spacing: -.036em;
  color: var(--ax-fg) !important;
}
.ax-w { transition: opacity .2s linear; }

.ax-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
body.editorial-site .ax-story .ax-btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--ax-fg);
  border-radius: 3px;
  background: var(--ax-fg);
  color: var(--ax-bg) !important;
  font: 500 15px/1.3 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
body.editorial-site .ax-story .ax-btn:hover { background: var(--ax-signal); border-color: var(--ax-signal); color: #fff !important; }
body.editorial-site .ax-story .ax-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 500 15px/1.3 Inter, Arial, sans-serif;
  color: var(--ax-fg) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--ax-line);
}
body.editorial-site .ax-story .ax-link:hover { border-color: var(--ax-fg); }
.ax-btn svg, .ax-link svg { width: 16px; height: 16px; flex: 0 0 auto; }

.ax-cue {
  position: absolute;
  left: clamp(24px, 5.5vw, 80px);
  top: calc(100vh - 64px);
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 10.5px/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ax-faint);
}
.ax-cue::after { content: ""; width: 64px; height: 1px; background: linear-gradient(90deg, var(--ax-faint) 0 40%, transparent 40%); background-size: 200% 100%; animation: ax-cue 2.4s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes ax-cue { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* The four scales of the book. */
.ax-scale { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--ax-line); counter-reset: ax; }
.ax-scale li {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--ax-line);
  color: var(--ax-faint);
  transition: color .45s ease;
}
.ax-scale li.is-on { color: var(--ax-fg); }
body.editorial-site .ax-story .ax-scale li { color: var(--ax-faint) !important; }
body.editorial-site .ax-story .ax-scale li.is-on { color: var(--ax-fg) !important; }
.ax-scale b { font: 500 11px/1.75 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; }
.ax-scale b::before { counter-increment: ax; content: "0" counter(ax) "  "; opacity: .6; }
.ax-scale span { font: 400 15px/1.6 Inter, Arial, sans-serif; }
body.editorial-site .ax-story:not(.ax-live) .ax-scale li { color: var(--ax-fg) !important; }

/* Evidence: three published benchmark observations, as large numerals. */
.ax-proof { display: grid; margin-top: 8px; border-top: 1px solid var(--ax-line); }
body.editorial-site .ax-story .ax-proof > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: end;
  gap: 6px 36px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--ax-line);
  color: var(--ax-fg) !important;
  text-decoration: none;
  transition: opacity .25s linear;
}
.ax-proof span { grid-column: 1 / -1; font: 500 11px/1.5 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-faint); }
body.editorial-site .ax-story .ax-proof span { color: var(--ax-faint) !important; }
.ax-proof strong { font: 300 clamp(58px, 7.4vw, 116px)/.9 Inter, Arial, sans-serif; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.ax-proof > a:first-child strong { color: var(--ax-signal) !important; }
body.editorial-site .ax-story .ax-proof p { margin: 0 0 6px; font: 400 15px/1.6 Inter, Arial, sans-serif; color: var(--ax-soft) !important; max-width: 36ch; }
body.editorial-site .ax-story .ax-proof > a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }

.ax-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Long chapters scroll as ordinary flow over the scene. */
.ax-flow .ax-copy { position: relative; top: auto; max-width: 1000px; }
.ax-flow { padding-bottom: 12vh; }

/* Workflows: numbered rows, each a link. */
.ax-work, .ax-who, .ax-steps { list-style: none; margin: 34px 0 0; padding: 0; }
.ax-work { border-top: 1px solid var(--ax-line); counter-reset: ax-work; }
.ax-work li { counter-increment: ax-work; border-bottom: 1px solid var(--ax-line); }
.ax-work { max-width: 580px; }
body.editorial-site .ax-story .ax-work a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: baseline;
  gap: 6px 14px;
  padding: 18px 0;
  text-decoration: none;
  color: var(--ax-fg) !important;
  transition: background-color .25s ease, padding .25s ease;
}
.ax-work a::before { content: "0" counter(ax-work); font: 500 11px/1.6 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; color: var(--ax-faint); }
.ax-work a::after { content: "→"; font: 400 16px/1 Inter, sans-serif; color: var(--ax-faint); transition: transform .25s ease, color .25s ease; }
body.editorial-site .ax-story .ax-work a:hover,
body.editorial-site .ax-story .ax-work li.is-active a { padding-inline: 12px; background: rgba(143, 157, 255, .07); box-shadow: inset 2px 0 0 var(--ax-signal); }
.ax-work a:hover::after, .ax-work li.is-active a::after { transform: translateX(4px); color: var(--ax-signal); }
.ax-work li.is-active a::before { color: var(--ax-signal); }
.ax-work b { font: 400 clamp(19px, 1.6vw, 24px)/1.2 Inter, Arial, sans-serif; letter-spacing: -.025em; }
body.editorial-site .ax-story .ax-work span { grid-column: 2; grid-row: 2; font: 400 14px/1.6 Inter, Arial, sans-serif; color: var(--ax-soft) !important; }

/* How it fits: three solid panels joined by a moving line. */
.ax-chain { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 470px; margin: 40px 0 0; }
.ax-node { position: relative; padding: 18px 20px 20px; background: #090c13; border: 1px solid rgba(242, 243, 246, .12); cursor: default; transition: border-color .25s ease, background-color .25s ease, transform .25s ease; }
.ax-node.is-core { border-color: rgba(143, 157, 255, .6); background: #0d1120; }
.ax-node:hover, .ax-node:focus-visible, .ax-node.is-active { border-color: var(--ax-signal); background: #10152a; transform: translateX(6px); outline: none; }
.ax-node span { display: block; font: 500 10.5px/1.5 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-faint); }
body.editorial-site .ax-story .ax-node span { color: var(--ax-faint) !important; }
.ax-node b { display: block; margin: 14px 0 8px; font: 400 21px/1.2 Inter, Arial, sans-serif; letter-spacing: -.02em; }
body.editorial-site .ax-story .ax-node p { margin: 0; font: 400 14px/1.6 Inter, Arial, sans-serif; color: var(--ax-soft) !important; }
.ax-chain > i { justify-self: start; margin-left: 28px; width: 1px; height: 30px; background: repeating-linear-gradient(180deg, var(--ax-signal) 0 6px, transparent 6px 11px); background-size: 1px 22px; animation: ax-flow 1.2s linear infinite; }
@keyframes ax-flow { to { background-position: 0 22px; } }

/* Who it's for. */
.ax-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 580px; border-top: 1px solid var(--ax-line); margin-top: 44px; }
.ax-who li { border-bottom: 1px solid var(--ax-line); }
.ax-who li:nth-child(even) { border-left: 1px solid var(--ax-line); }
body.editorial-site .ax-story .ax-who a { display: block; height: 100%; padding: 22px 22px 26px; text-decoration: none; color: var(--ax-fg) !important; transition: background-color .25s ease; }
body.editorial-site .ax-story .ax-who a:hover { background: rgba(143, 157, 255, .06); }
.ax-who b { display: block; font: 400 19px/1.25 Inter, Arial, sans-serif; letter-spacing: -.02em; margin-bottom: 10px; }
body.editorial-site .ax-story .ax-who span { font: 400 14px/1.6 Inter, Arial, sans-serif; color: var(--ax-soft) !important; }

/* The pilot in three steps. */
.ax-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ax-line); counter-reset: ax-step; max-width: 760px; }
.ax-steps li { counter-increment: ax-step; padding: 18px 20px 20px 0; }
.ax-steps li + li { padding-left: 20px; border-left: 1px solid var(--ax-line); }
.ax-steps b { display: block; font: 400 17px/1.3 Inter, Arial, sans-serif; margin: 10px 0 6px; }
.ax-steps b::before { content: "0" counter(ax-step); display: block; margin-bottom: 10px; font: 500 10.5px/1.5 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; color: var(--ax-signal); }
body.editorial-site .ax-story .ax-steps span { font: 400 14px/1.6 Inter, Arial, sans-serif; color: var(--ax-soft) !important; }
body.editorial-site .ax-story .ax-about { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--ax-line); max-width: 62ch; }

/* The nav reads as part of the night scene while the story is under it:
   body.ax-night is the contract; navigation.css holds the night nav. */

@media (max-width: 760px) {
  /* On a phone the copy sits over the scene: the scrim reaches up to the
     kicker, labels carry a halo of the ground, and lists get a soft panel. */
  .ax-scrim { background: linear-gradient(0deg, rgba(5, 7, 11, .95) 0%, rgba(5, 7, 11, .86) 42%, rgba(5, 7, 11, .55) 56%, rgba(5, 7, 11, 0) 74%); }
  .ax-kicker, .ax-tag { text-shadow: 0 0 12px var(--ax-bg), 0 0 3px var(--ax-bg); }
  .ax-flow .ax-copy { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ax-bg) 74%, transparent) 5%, color-mix(in srgb, var(--ax-bg) 74%, transparent) 95%, transparent); }
  .ax-scrim.is-day { background: linear-gradient(0deg, rgba(247, 246, 242, .95) 0%, rgba(247, 246, 242, .7) 38%, rgba(247, 246, 242, 0) 64%); }
  .ax-copy { --top: 44vh; max-width: none; }
  .ax-hero .ax-copy { padding-top: 42vh; }
  .ax-hero { --len: 120vh; }
  body.editorial-site .ax-story h1 { font-size: clamp(40px, 11vw, 54px) !important; }
  body.editorial-site .ax-story h2 { font-size: clamp(31px, 8.4vw, 40px) !important; }
  body.editorial-site .ax-story .ax-manifesto { font-size: clamp(25px, 7vw, 32px); }
  .ax-scale li { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 11px 0; }
  .ax-scale span { font-size: 14px; }
  body.editorial-site .ax-story .ax-proof > a { grid-template-columns: 1fr; padding: 14px 0 16px; }
  .ax-proof strong { font-size: 52px; }
  body.editorial-site .ax-story .ax-proof p { font-size: 13.5px; }
  .ax-tag::before { width: 22px; }
  .ax-cue { display: none; }
  .ax-flow .ax-copy { padding-top: 0; }
  body.editorial-site .ax-story .ax-work a { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; }
  .ax-work a::after { display: none; }
  .ax-work span { grid-column: 2; }
  .ax-chain { max-width: none; }
  .ax-inspect, .ax-rail { display: none; }
  .ax-who, .ax-steps { grid-template-columns: 1fr; }
  .ax-who li + li, .ax-who li:nth-child(even), .ax-steps li + li { border-left: 0; border-top: 1px solid var(--ax-line); padding-left: 0; }
}
@media (max-height: 700px) { .ax-cue { display: none; } }
/* Keyboard focus reads on the night and day grounds alike. */
:where(.ax-story) :where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--ax-signal); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .ax-canvas, .ax-w, .ax-scale li { transition: none; }
  .ax-live .ax-line > span { transform: none; transition: none; }
  .ax-chain > i { animation: none; }
  .ax-cue::after { animation: none; background: var(--ax-faint); }
}

/* Products and workflows: the old Portfolio solutions page, folded into the
   homepage as a typeset index after the story. Night colours, no scene. */
.ax-index {
  --ix-fg: #f2f3f6;
  --ix-soft: #aab1be;
  --ix-faint: #8a92a3;
  --ix-line: rgba(242, 243, 246, .14);
  --ix-signal: #97a4ff;
  position: relative;
  background: #0a0d14;
  color: var(--ix-fg);
  border-top: 1px solid var(--ix-line);
  scroll-margin-top: var(--site-nav-height, 88px);
}
.ax-index-in { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 9vw, 128px) clamp(20px, 4vw, 48px) clamp(80px, 9vw, 120px); }
.ax-index-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
body.editorial-site .ax-index h2 {
  margin: 0 0 20px !important;
  font: 400 clamp(32px, 3.6vw, 54px)/1.04 Inter, Arial, sans-serif !important;
  letter-spacing: -.045em !important;
  color: var(--ix-fg) !important;
}
body.editorial-site .ax-index .ax-index-lede { margin: 0; max-width: 54ch; font: 400 clamp(16px, 1.25vw, 18px)/1.65 Inter, Arial, sans-serif; color: var(--ix-soft); }
.ax-index-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
body.editorial-site .ax-index h3 {
  margin: 0 0 14px !important;
  font: 500 11px/1.6 'JetBrains Mono', ui-monospace, Menlo, monospace !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  color: var(--ix-faint) !important;
}
.ax-index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ix-line); counter-reset: ix; }
.ax-index-col + .ax-index-col .ax-index-list { counter-reset: ix 3; }
.ax-index-list li { counter-increment: ix; border-bottom: 1px solid var(--ix-line); }
body.editorial-site .ax-index .ax-index-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: baseline;
  padding: 18px 0;
  color: var(--ix-fg) !important;
  text-decoration: none !important;
  transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.ax-index-list a::before { content: "0" counter(ix); grid-row: 1; font: 500 11px/1.6 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; color: var(--ix-faint); }
.ax-index-list b { grid-column: 2; font: 400 clamp(18px, 1.5vw, 22px)/1.25 Inter, Arial, sans-serif; letter-spacing: -.02em; }
.ax-index-list i { grid-column: 3; grid-row: 1; font: 500 10.5px/1.6 'JetBrains Mono', ui-monospace, monospace; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--ix-signal); white-space: nowrap; }
body.editorial-site .ax-index .ax-index-list span { grid-column: 2 / 4; font: 400 14px/1.6 Inter, Arial, sans-serif; color: var(--ix-soft) !important; max-width: 60ch; }
body.editorial-site .ax-index .ax-index-list a:hover,
body.editorial-site .ax-index .ax-index-list a:focus-visible { padding-inline: 12px; background: rgba(151, 164, 255, .06); box-shadow: inset 2px 0 0 var(--ix-signal); }
.ax-index-list a:hover::before, .ax-index-list a:focus-visible::before { color: var(--ix-signal); }
body.editorial-site .ax-index .ax-index-note { margin: 18px 0 0; max-width: 60ch; font: 400 12.5px/1.7 Inter, Arial, sans-serif; color: var(--ix-faint); }
.ax-index-note a { color: var(--ix-fg) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 860px) {
  .ax-index-cols { grid-template-columns: minmax(0, 1fr); }
  body.editorial-site .ax-index .ax-index-list a { grid-template-columns: 30px minmax(0, 1fr); }
  .ax-index-list i { grid-column: 2; grid-row: auto; }
  body.editorial-site .ax-index .ax-index-list span { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  body.editorial-site .ax-index .ax-index-list a { transition: none; }
}

/* The homepage stays at night to the very bottom: the footer joins it. */
body.reform-home-page.editorial-site footer.site-footer-refined { background: #0a0d14 !important; border-top-color: rgba(242, 243, 246, .12) !important; color: #aab1be !important; }
body.reform-home-page .site-footer-brand { color: #f2f3f6 !important; }
body.reform-home-page .site-footer-brand img { filter: brightness(0) invert(1); }
body.reform-home-page .site-footer-brand small,
body.reform-home-page .site-footer-grid > div > span { color: #8a92a3 !important; }
body.reform-home-page.editorial-site .site-footer-grid > div > a { color: #d5d9e2 !important; }
body.reform-home-page .site-footer-bottom { border-top-color: rgba(242, 243, 246, .12) !important; color: #8a92a3 !important; }
body.reform-home-page .site-footer-bottom a,
body.reform-home-page .site-footer-disclaimer { color: #8a92a3 !important; }
body.reform-home-page.editorial-site .site-footer-refined a:focus-visible { outline-color: #97a4ff; }
/* Behind the story, the page itself is night, so nothing cream shows through
   while the scene fades out at the end of the story. */
body.reform-home-page.editorial-site { background: #0a0d14 !important; }
