/* Linked 3D scene selectors and perspective content decks. */
.journey-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.scene-slot {
  position: relative;
  min-width: 0;
  isolation: auto;
  overflow: hidden;
}
.scene-slot .scene-caption,
.scene-slot .scene-instruction,
.scene-slot .scene-links {
  position: absolute;
  z-index: 4;
}
.scene-caption {
  top: 15px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #90a2c2;
}
.scene-instruction {
  bottom: 10px;
  left: 16px;
  right: 16px;
  color: #9aaac3;
  font-size: 13px;
  text-align: center;
  line-height: 1.6;
}
.scene-links {
  inset: 60px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  pointer-events: none;
}
.scene-links > a,
.scene-links > button {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid #688acc55;
  background: #101c31e8;
  color: #d8e4fb;
  border-radius: 5px;
  font-size: 13px;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px #0003;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  min-height: 44px;
}
.scene-links span {
  color: #739eff;
  font-size: 12px;
}
.scene-links b {
  font-size: 16px;
  font-weight: 400;
}
.scene-links > a:hover,
.scene-links > button:hover,
.scene-links > [aria-pressed="true"] {
  background: #153575;
  border-color: #83a7ff;
  box-shadow: 0 5px 35px #0255ff30;
}
.scene-ready .scene-links {
  inset: 0;
  display: block;
}
.scene-ready .scene-links > * {
  position: absolute;
  transform: translate(-50%, -50%);
}
.hero-art.scene-slot {
  height: 610px;
  min-height: 0;
}
.hero-art.scene-slot .scene-caption {
  left: 13%;
  right: 12%;
  top: 15px;
}
.hero-art.scene-slot .art-aura {
  pointer-events: none;
}
.chapter-layout {
  display: grid;
  overflow-anchor: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(25px, 5vw, 85px);
  align-items: center;
  position: relative;
  min-height: 590px;
  padding-bottom: 30px;
}
.chapter-map {
  height: 530px;
  min-width: 0;
  background: radial-gradient(ellipse at center, #1b3f9522, transparent 70%);
}
.chapter-layout .spatial-deck {
  min-width: 0;
  perspective: 1400px;
  position: relative;
  z-index: 3;
  transform: perspective(1600px) rotateX(calc((1 - var(--arrival, 1)) * 8deg));
  transition: transform 0.15s linear;
}
.deck-track {
  position: relative;
  perspective: 1600px;
  transform-style: preserve-3d;
  min-height: 360px;
  transition: height 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  touch-action: pan-y;
  cursor: grab;
  outline-offset: 10px;
}
.deck-track:active {
  cursor: grabbing;
}
.deck-card {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  backface-visibility: hidden;
  transform: translate3d(
      calc(var(--offset) * 45px),
      calc(var(--distance) * 12px),
      calc(var(--distance) * -150px)
    )
    rotateY(calc(var(--offset) * -12deg));
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.55s,
    visibility 0.55s;
  transform-origin: 50% 50%;
  will-change: transform;
}
.deck-card.is-nearby {
  opacity: 0.23;
  visibility: visible;
  pointer-events: none;
}
.deck-card.is-selected {
  opacity: 1;
  visibility: visible;
  z-index: 4;
}
.deck-controls {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 27px;
  padding: 0 4px;
}
.deck-counter {
  font-size: 13px;
  color: #a3b5d4;
  line-height: 1.6;
}
.deck-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.deck-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  font-size: 22px;
  background: #141e2c;
  transition:
    background 0.25s,
    transform 0.25s;
}
.deck-arrow:hover {
  background: #0255ff;
  transform: translateY(-2px);
}
.chapter-work .featured-work {
  display: block;
  padding: 34px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 80% 50%, #1d45996b, transparent 80%), #101c31;
}
.chapter-work .featured-copy h3 {
  font-size: 60px;
  margin: 20px 0;
}
.chapter-work .featured-copy p:not(.eyebrow) {
  font-size: 16px;
}
.chapter-work .featured-copy .desktop-break {
  display: none;
}
.chapter-work .payment-visual {
  gap: 20px;
  margin-top: 30px;
  padding: 0;
}
.chapter-work .flow-caption,
.chapter-work .flow-footnote {
  display: none;
}
.chapter-work .payment-flow {
  max-width: 380px;
  width: 100%;
  margin: auto;
  transform: perspective(800px) rotateX(16deg) rotateY(-10deg);
}
.chapter-work .gateway-node {
  height: 85px;
  min-width: 90px;
  border-radius: 10px;
  box-shadow:
    7px 7px #071739,
    8px 8px #335caa,
    0 0 40px #0255ff40;
}
.chapter-work .gateway-node > span {
  font-size: 28px;
}
.chapter-work .flow-node {
  font-size: 12px;
}
.experience-panel {
  border: 1px solid #5977ae50;
  border-radius: 12px;
  background: linear-gradient(125deg, #162237, #10171f);
  padding: 38px;
  min-height: 470px;
  display: flex;
  flex-direction: column;
}
.experience-panel-heading > .eyebrow {
  color: #8cabe6;
  font-size: 12px;
  margin-bottom: 22px;
}
.experience-panel-heading h3 {
  font-size: clamp(30px, 3.3vw, 48px);
  letter-spacing: -0.045em;
  margin-bottom: 12px;
  line-height: 1.1;
}
.experience-panel-heading h4 {
  font-size: 17px;
  color: #b2c5e5;
}
.experience-premise {
  font-size: 22px;
  color: #c9d6ed;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin: 30px 0 20px;
}
.experience-panel .experience-detail {
  max-width: none;
  padding: 0;
  margin-top: auto;
}
.experience-panel .experience-detail > p {
  font-size: 15px;
  line-height: 1.8;
}
.experience-panel .tags {
  margin-top: 25px;
}
.spatial-ready .projects .section-heading {
  margin-bottom: 35px;
}
.chapter-projects .project-art {
  height: 200px;
}
.chapter-projects .project-copy {
  padding: 25px 30px;
}
.chapter-projects .project-copy > p {
  font-size: 16px;
  line-height: 1.7;
}
.chapter-projects .project-copy h3 {
  font-size: 31px;
}
.chapter-projects .project-copy .tags {
  min-height: 0;
  margin-top: 20px;
}
.chapter-projects .project-source,
.chapter-projects .project-note {
  margin-top: 20px;
  padding-top: 15px;
}
.spatial-ready .about > .chapter-layout {
  margin-top: 45px;
  min-height: 480px;
}
.chapter-about .chapter-map {
  height: 480px;
}
.skill-panel {
  background: linear-gradient(130deg, #1a2140, #101822);
  border: 1px solid #696ead55;
  border-radius: 12px;
  padding: 40px;
  min-height: 350px;
}
.skill-panel > .eyebrow {
  color: #9cacda;
  margin-bottom: 30px;
}
.skill-panel h3 {
  font-size: 42px;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.skill-description {
  color: #aab7ce;
  font-size: 17px;
  line-height: 1.75;
}
.skill-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  perspective: 500px;
}
.skill-tokens span {
  padding: 10px 13px;
  color: #c6d5f3;
  font-size: 15px;
  background: #27345a;
  border: 1px solid #6b7fba50;
  border-radius: 4px;
  box-shadow: 3px 3px #0c1327;
  transform: rotateX(8deg);
  transition: transform 0.25s;
}
.skill-tokens span:hover {
  transform: translateZ(15px) rotateX(0);
  background: #304b8b;
}
.journey-dock {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 7px;
  background: #111a29e8;
  border: 1px solid #859ecd3d;
  border-radius: 16px;
  box-shadow: 0 15px 50px #0007;
  backdrop-filter: blur(24px);
  max-width: calc(100% - 24px);
}
.journey-dock > a {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  color: #a5b4ca;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 10px;
  transition:
    background 0.25s,
    color 0.25s;
  white-space: nowrap;
}
.journey-dock > a[aria-current] {
  background: #244a9270;
  color: #fff;
  box-shadow: inset 0 0 0 1px #668cdc50;
}
.journey-dock .dock-number {
  font-size: 12px;
  color: #82a7ee;
}
.journey-dock #motion-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  margin-left: 4px;
  border-left: 1px solid #ffffff20;
  color: #afc3e8;
  font-size: 18px;
}
.journey-dock #motion-toggle span {
  margin: 0;
}
.site-footer {
  padding-bottom: 120px;
}
.spatial-ready .section-heading,
.spatial-ready .about-intro,
.spatial-ready .contact,
.spatial-ready .site-footer {
  position: relative;
  z-index: 3;
}
.motion-paused .deck-card,
.motion-paused .spatial-deck {
  transition: none !important;
}
.motion-paused .deck-card {
  transform: none;
}
.motion-paused .deck-card:not(.is-selected) {
  visibility: hidden;
  opacity: 0;
}
.motion-paused .skill-tokens span {
  transform: none;
}
.graphics-fallback .scene-slot {
  background: radial-gradient(ellipse, #17386d55, transparent 75%);
}
@media (min-width: 1600px) {
  .hero-art.scene-slot {
    height: 700px;
  }
  .chapter-map {
    height: 620px;
  }
}
@media (max-width: 1100px) {
  .chapter-layout {
    gap: 30px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  .chapter-map {
    height: 480px;
  }
  .scene-caption {
    font-size: 12px;
    left: 8px;
    right: 8px;
    letter-spacing: 0.04em;
  }
  .scene-links > a,
  .scene-links > button {
    font-size: 12px;
    gap: 8px;
    padding: 10px;
  }
  .experience-panel,
  .skill-panel {
    padding: 28px;
  }
  .hero-art.scene-slot {
    height: 520px;
  }
  .journey-dock > a {
    padding: 10px 12px;
  }
  .chapter-work .featured-work {
    padding: 28px;
  }
  .chapter-projects .project-copy {
    padding: 25px;
  }
}
@media (max-width: 760px) {
  .hero-art.scene-slot {
    height: 450px;
    min-height: 0;
    margin-top: 25px;
  }
  .hero-art.scene-slot .scene-caption {
    left: 10%;
    right: 10%;
  }
  .hero-copy {
    position: relative;
    z-index: 4;
  }
  .chapter-layout {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    overflow: clip;
    padding: 0 10px 25px;
    margin-inline: -10px;
  }
  .chapter-map,
  .chapter-about .chapter-map {
    height: 355px;
    margin-inline: -5px;
  }
  .chapter-map .scene-caption {
    top: 5px;
    left: 10px;
    right: 10px;
  }
  .scene-instruction {
    font-size: 12px;
    bottom: 0;
  }
  .scene-links > a,
  .scene-links > button {
    font-size: 12px;
    gap: 7px;
    padding: 9px 10px;
  }
  .chapter-layout .spatial-deck {
    margin-top: 5px;
  }
  .deck-card {
    transform: translate3d(
        calc(var(--offset) * 24px),
        calc(var(--distance) * 9px),
        calc(var(--distance) * -110px)
      )
      rotateY(calc(var(--offset) * -9deg));
  }
  .chapter-work .featured-work {
    padding: 28px;
  }
  .experience-panel {
    min-height: 420px;
  }
  .experience-panel-heading h3 {
    font-size: 34px;
  }
  .experience-panel-heading h4 {
    font-size: 16px;
  }
  .experience-panel .experience-detail > p {
    font-size: 16px;
  }
  .chapter-projects .project-art {
    height: 180px;
  }
  .chapter-projects .project-copy {
    padding: 24px;
  }
  .chapter-projects .project-copy h3 {
    font-size: 30px;
  }
  .skill-panel h3 {
    font-size: 36px;
  }
  .skill-panel {
    min-height: 365px;
  }
  .deck-controls {
    margin-top: 20px;
  }
  .journey-dock {
    bottom: 10px;
    gap: 0;
    padding: 5px;
    border-radius: 13px;
    width: max-content;
  }
  .journey-dock > a {
    padding: 8px 10px;
    gap: 0;
    font-size: 12px;
    min-height: 44px;
  }
  .journey-dock .dock-number {
    display: none;
  }
  .journey-dock > a:first-child .dock-label,
  .journey-dock > a:last-of-type > span:first-child {
    display: none;
  }
  .journey-dock #motion-toggle {
    min-width: 35px;
    width: 35px;
    margin-left: 2px;
  }
  .scene-caption {
    font-size: 12px;
  }
  .spatial-ready .about > .chapter-layout {
    margin-top: 30px;
  }
  .section-space {
    scroll-margin-top: 15px;
  }
  .hero-footer {
    z-index: 4;
  }
  .site-footer {
    padding-bottom: 100px;
  }
}
@media (max-width: 380px) {
  .journey-dock > a {
    padding: 8px;
  }
  .journey-dock #motion-toggle {
    min-width: 30px;
    width: 30px;
  }
  .chapter-map {
    height: 330px;
  }
  .chapter-work .featured-work {
    padding: 24px;
  }
  .hero-art.scene-slot {
    height: 400px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .deck-card {
    transition: none !important;
    transform: none;
  }
  .deck-card:not(.is-selected) {
    visibility: hidden;
    opacity: 0;
  }
  .chapter-layout .spatial-deck,
  .skill-tokens span {
    transform: none;
  }
}
/* Keep the same controls available when graphics are unavailable. */
.scene-slot:not(.scene-ready) .scene-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  justify-items: center;
  gap: 12px;
  inset: 55px 12px;
}
.scene-slot:not(.scene-ready) .scene-links > * {
  position: static;
  max-width: 100%;
  white-space: normal;
  transform: none;
  text-align: left;
}
.hero-art:not(.scene-ready) .scene-links {
  grid-template-columns: 1fr;
}
.scene-links > *:focus-visible {
  outline: 2px solid #bdd2ff;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .scene-slot:not(.scene-ready) .scene-links {
    gap: 8px;
  }
  .scene-slot:not(.scene-ready) .scene-links > button {
    font-size: 12px;
  }
}

/* A single persistent navigation lives in the header at every viewport size. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 100px;
  background: #0e1212e8;
  backdrop-filter: blur(24px);
}
.site-header > .wordmark {
  justify-self: start;
}
.site-header .journey-dock {
  position: static;
  grid-column: 2;
  inset: auto;
  transform: none;
  margin: 0;
  max-width: 100%;
  width: max-content;
  box-shadow: none;
}
.site-header .journey-dock > a:last-of-type > .dock-label {
  display: inline;
}
.scroll-progress {
  z-index: 70;
}
.site-footer {
  padding-bottom: 40px;
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 135px;
  }
  .site-header {
    height: 118px;
    padding: 8px 16px;
    grid-template-columns: 1fr;
    grid-template-rows: 36px 58px;
    gap: 3px;
  }
  .site-header > .wordmark {
    font-size: 30px;
    line-height: 1;
  }
  .site-header .journey-dock {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }
  .hero {
    padding-top: 163px;
  }
  .site-footer {
    padding-bottom: 30px;
  }
}
@media (max-width: 380px) {
  .site-header .journey-dock > a {
    padding-inline: 6px;
  }
}

/* Every experience uses the same tightly spaced card and raised flow diagram. */
.chapter-work .experience-panel {
  display: block;
  min-height: 0;
}
.chapter-work .featured-work {
  padding: 28px;
}
.chapter-work .featured-copy > .eyebrow {
  margin-bottom: 16px;
}
.chapter-work .featured-copy h3 {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}
.chapter-work .featured-copy h4 {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 14px;
  color: #e1e9f8;
}
.chapter-work .featured-copy p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  color: #a9b4c8;
}
.chapter-work .featured-copy .tags {
  gap: 6px;
  margin-top: 20px;
}
.chapter-work .featured-copy .tags span {
  padding: 5px 8px;
  font-size: 12px;
}
.chapter-work .payment-visual {
  margin: 24px 0 0;
  padding: 0;
  height: 85px;
}
.chapter-work .payment-flow {
  max-width: 100%;
}
.chapter-work .gateway-node {
  min-width: 104px;
}
.chapter-work .flow-node {
  padding: 10px 7px;
  font-size: 12px;
}
.chapter-work .gateway-node small {
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.03em;
}
.role-visual .gateway-node {
  animation: role-float 5s ease-in-out infinite;
}
.role-visual-0 .gateway-node {
  background: linear-gradient(135deg, #346ef4, #2542a5);
}
.role-visual-1 .gateway-node {
  background: linear-gradient(135deg, #6172ef, #4b30a7);
}
.role-visual-2 .gateway-node {
  background: linear-gradient(135deg, #7355ee, #293cb2);
}
.role-visual-3 .gateway-node {
  background: linear-gradient(135deg, #3c85ed, #2450a8);
}
@keyframes role-float {
  0%,
  100% {
    transform: translateZ(0) translateY(0);
  }
  50% {
    transform: translateZ(8px) translateY(-4px);
  }
}
.site-header {
  height: 68px;
}
.site-header > .wordmark {
  font-size: 32px;
}
.site-header .journey-dock {
  padding: 4px;
  border-radius: 12px;
}
.site-header .journey-dock > a {
  min-height: 40px;
  padding-block: 8px;
}
.site-header .journey-dock #motion-toggle {
  height: 40px;
}
html {
  scroll-padding-top: 82px;
}
.chapter-layout {
  min-height: 0;
  padding-bottom: 0;
}
.deck-track {
  min-height: 0;
}
.deck-controls {
  margin-top: 16px;
}
.deck-arrow {
  width: 42px;
  height: 42px;
}
.chapter-layout .spatial-deck {
  transform: none;
}
@media (min-width: 761px) and (max-height: 900px) {
  .section-heading {
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: clamp(30px, 2.8vw, 42px);
  }
  .section-heading .section-label {
    margin-bottom: 12px;
  }
  .section-heading > p {
    font-size: 14px;
  }
  .chapter-map {
    height: 410px;
  }
  .chapter-work .featured-work {
    padding: 24px;
  }
  .chapter-work .featured-copy > .eyebrow {
    margin-bottom: 12px;
  }
  .chapter-work .featured-copy h3 {
    font-size: 38px;
    margin-bottom: 14px;
  }
  .chapter-work .featured-copy h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .chapter-work .featured-copy p:not(.eyebrow) {
    line-height: 1.55;
  }
  .chapter-work .featured-copy .tags {
    margin-top: 16px;
  }
  .chapter-work .payment-visual {
    margin-top: 20px;
    height: 70px;
  }
  .chapter-work .gateway-node {
    height: 70px;
  }
  .chapter-projects .project-art {
    height: 145px;
  }
  .chapter-projects .project-copy {
    padding: 22px 26px;
  }
  .chapter-projects .project-copy h3 {
    font-size: 28px;
    margin-bottom: 12px;
  }
  .chapter-projects .project-copy > p {
    line-height: 1.6;
  }
  .about-intro h2 {
    font-size: clamp(30px, 2.8vw, 42px);
  }
  .about-intro .section-label {
    margin-bottom: 16px;
  }
  .about-body p {
    font-size: 16px;
    line-height: 1.65;
  }
  .about-body p + p {
    margin-top: 12px;
  }
  .spatial-ready .about > .chapter-layout {
    margin-top: 24px;
    min-height: 0;
  }
  .chapter-about .chapter-map {
    height: 320px;
  }
  .skill-panel {
    min-height: 0;
    padding: 20px 26px;
  }
  .skill-panel > .eyebrow {
    margin-bottom: 16px;
  }
  .skill-panel h3 {
    font-size: 34px;
    margin-bottom: 12px;
  }
  .skill-description {
    font-size: 16px;
    line-height: 1.6;
  }
  .skill-tokens {
    margin-top: 20px;
    gap: 8px;
  }
  .skill-tokens span {
    padding: 8px 10px;
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 96px;
    padding-block: 4px;
    grid-template-rows: 28px 54px;
    gap: 2px;
  }
  .site-header > .wordmark {
    font-size: 26px;
  }
  html {
    scroll-padding-top: 110px;
  }
  .hero {
    padding-top: 140px;
  }
  .chapter-work .featured-work {
    padding: 24px;
  }
  .chapter-work .featured-copy h3 {
    font-size: 34px;
  }
  .chapter-work .featured-copy .tags {
    gap: 5px;
  }
  .chapter-work .flow-node {
    font-size: 10px;
    padding-inline: 4px;
  }
  .chapter-work .gateway-node {
    min-width: 85px;
  }
  .chapter-work .gateway-node small {
    font-size: 9px;
  }
  .chapter-work .payment-visual {
    height: 85px;
  }
}

/* The chapter controls belong to the header, without a second tinted surface. */
.site-header .journey-dock {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}
.site-header .journey-dock > a[aria-current] {
  background: #ffffff0b;
  box-shadow: none;
  border: 0;
  border-radius: 4px;
}
.button,
.text-link,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.button span,
.text-link span,
.project-source span,
.social-links a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  line-height: 1;
  margin: 0;
}
.project-source {
  justify-content: flex-start;
  gap: 12px;
}
/* Hidden slides must not show their contents below a shorter selected card. */
.deck-card.is-nearby {
  opacity: 0;
  visibility: hidden;
}

/* A single SVG coordinate system keeps every Multplx branch joined. */
svg.agent-diagram {
  display: block;
  width: 86%;
  height: calc(100% - 42px);
  margin-top: -22px;
  overflow: visible;
}
.agent-wires {
  fill: none;
  stroke: #7da0e9;
  stroke-width: 1.5;
}
.agent-svg-node rect {
  fill: #294882;
  stroke: #7999e0;
}
.agent-svg-leaf rect {
  fill: #17273e;
  stroke: #5272a4;
}
.agent-diagram text {
  fill: #e0eaff;
  font-size: 12px;
  text-anchor: middle;
}

.role-illustration {
  height: 100px;
  margin-top: 20px;
  perspective: 800px;
  overflow: visible;
}
.role-illustration svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotateX(9deg) rotateY(-9deg);
  animation: illustration-drift 8s ease-in-out infinite;
}
.role-illustration-1 svg {
  animation-delay: -2s;
}
.role-illustration-2 svg {
  animation-delay: -4s;
}
.role-illustration-3 svg {
  animation-delay: -6s;
}
.art-solid {
  fill: var(--art-fill);
  stroke: #89aaff;
  stroke-width: 1.5;
}
.art-shadow {
  fill: #111d3a;
  stroke: #314f8b;
  stroke-width: 1.5;
}
.art-node {
  fill: #1d3563;
  stroke: #7599e8;
  stroke-width: 1.5;
}
.art-line {
  fill: none;
  stroke: #5479bd;
  stroke-width: 1.5;
}
.art-highlight {
  fill: none;
  stroke: #d0e0ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.art-participants,
.art-bars {
  fill: #87a9ff;
}
@keyframes illustration-drift {
  50% {
    transform: rotateX(3deg) rotateY(6deg) translateY(-3px);
  }
}
/* Accessible controls exactly cover the labeled 3D faces. */
.scene-ready .scene-links > a,
.scene-ready .scene-links > button {
  transform: none;
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: transparent;
  font-size: 0;
}
.scene-ready .scene-links > * > * {
  visibility: hidden;
}
.scene-ready .scene-links > *:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  background: transparent;
}
.scene-slot:not(.scene-ready) .scene-links > * {
  width: auto !important;
  height: auto !important;
}
.motion-paused .role-illustration svg {
  animation-play-state: paused;
}
@media (min-width: 761px) and (max-height: 900px) {
  .role-illustration {
    height: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .role-illustration svg {
    animation: none;
  }
}
.link-arrow {
  width: 1em;
  height: 1em;
  display: block;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.link-arrow.arrow-down {
  transform: rotate(90deg);
}

/* Each role's illustration has its own working detail, beyond the ambient tilt. */
.art-signal {
  fill: none;
  stroke: #c8dcff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 14 220;
  animation: service-signal 3.4s linear infinite;
}
.art-heartbeat {
  animation: telemetry-pulse 2.2s ease-in-out infinite;
}
@keyframes service-signal {
  to {
    stroke-dashoffset: -468;
  }
}
@keyframes telemetry-pulse {
  50% {
    stroke: #77aaff;
    opacity: 0.45;
  }
}
.art-planes > * {
  animation: shared-layer 3.6s ease-in-out infinite;
}
.art-planes > :nth-child(2) {
  animation-delay: -0.4s;
}
.art-planes > :nth-child(3),
.art-planes > :nth-child(4) {
  animation-delay: -0.8s;
}
@keyframes shared-layer {
  50% {
    transform: translateY(-7px);
  }
}
.art-sync {
  fill: #c5dbff;
  animation: shared-signal 2.4s ease-in-out infinite;
}
.art-sync-second {
  animation-delay: -1.2s;
}
@keyframes shared-signal {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(42px);
    opacity: 0;
  }
}
.art-scan {
  fill: none;
  stroke: #dbe8ff;
  stroke-width: 3;
  animation: document-scan 3s ease-in-out infinite;
}
@keyframes document-scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  80% {
    transform: translateY(62px);
    opacity: 1;
  }
  95% {
    transform: translateY(62px);
    opacity: 0;
  }
}
.art-typing circle {
  fill: #e1ebff;
  animation: answer-typing 1.4s ease-in-out infinite;
}
.art-typing circle:nth-child(2) {
  animation-delay: 0.18s;
}
.art-typing circle:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes answer-typing {
  50% {
    transform: translateY(-4px);
    opacity: 0.35;
  }
}
.art-bars path {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: resource-level 3.8s ease-in-out infinite;
}
.art-bars path:nth-child(2) {
  animation-delay: -1.1s;
}
.art-bars path:nth-child(3) {
  animation-delay: -2.2s;
}
@keyframes resource-level {
  50% {
    transform: scaleY(0.45);
    fill: #b6cdff;
  }
}
.art-live {
  fill: #b5d5ff;
  animation: telemetry-pulse 1.8s ease-in-out infinite;
}
.motion-paused .role-illustration * {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  .role-illustration * {
    animation: none !important;
  }
}

/* Orbital annotations: clear typography and open space, not labels on solids. */
.orbit-dial.scene-ready .scene-links > a,
.orbit-dial.scene-ready .scene-links > button {
  width: max-content;
  max-width: 160px;
  height: auto;
  min-height: 44px;
  transform: translate(-50%, -50%);
  padding: 8px 6px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  color: #99a8bd;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: color 0.25s ease;
}
.orbit-dial.scene-ready .scene-links .dial-label {
  position: relative;
  display: inline-block;
  visibility: visible;
  color: inherit;
  font: inherit;
}
.orbit-dial.scene-ready .dial-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  height: 1px;
  width: 18px;
  background: #6c96ff;
  opacity: 0;
  transform: translateX(-50%) scaleX(0.3);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.orbit-dial.scene-ready .scene-links > .is-active,
.orbit-dial.scene-ready .scene-links > .is-hovered,
.orbit-dial.scene-ready .scene-links > :hover,
.orbit-dial.scene-ready .scene-links > :focus-visible {
  color: #edf3ff;
  background: transparent;
  box-shadow: none;
}
.orbit-dial.scene-ready .is-active .dial-label {
  font-weight: 500;
}
.orbit-dial.scene-ready .is-active .dial-label::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}
.orbit-dial.scene-ready .scene-links > :focus-visible {
  outline: 1px solid #779cdb;
  outline-offset: 1px;
}
.hero-art.orbit-dial.scene-ready .scene-links > a {
  font-size: 15px;
  max-width: 180px;
}
.orbit-dial .scene-caption {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #7b8da8;
}
.orbit-dial .scene-instruction {
  font-size: 11px;
  color: #7e8a9b;
}
@media (min-width: 761px) {
  .chapter-work .scene-instruction {
    bottom: 48px;
  }
}
@media (max-width: 760px) {
  .orbit-dial.scene-ready .scene-links > a,
  .orbit-dial.scene-ready .scene-links > button {
    font-size: 11px;
    max-width: 126px;
  }
  .hero-art.orbit-dial.scene-ready .scene-links > a {
    font-size: 13px;
  }
}
