.art-scene {
  --scene-cycle: 5.8s;
  --scene-ease: cubic-bezier(.2,.7,.25,1);
  --scene-type: clamp(.73rem, 3.6cqi, .84rem);
  --scene-small: clamp(.66rem, 3.2cqi, .75rem);
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  margin: 0;
  display: grid;
  grid-template-rows: auto auto;
  min-width: 0;
  padding-inline: 13px;
  border-radius: 13px;
  color: white;
  line-height: 1.34;
  background: radial-gradient(ellipse at 48% 32%, #173b66, #0a2344 68%, #061a32);
}
.art-grid {
  z-index: -1;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle,#9cbbec77 1px,transparent 1.5px);
  background-size: 23px 23px;
  mask-image: radial-gradient(ellipse at 50% 42%,black,transparent 76%);
  opacity: .4;
}
.art-object {
  position: relative;
  width: min(100%,310px);
  justify-self: center;
  display: grid;
  place-items: center;
  padding-block: 16px;
  min-height: 155px;
}
.art-caption {
  position: relative;
  padding: 8px 3px 10px;
  border-block-start: 1px solid #bfd7ff38;
  color: #e3efff;
  font-size: var(--scene-type);
  line-height: 1.35;
}

.art-caption::after {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 1px;
  background: var(--mint);
  opacity: 0;
  transform-origin: right center;
}
.art-scene.seen-scene .art-caption::after { animation: scene-timing var(--scene-cycle) linear infinite; }
@keyframes scene-timing {
  0% { scale: 0 1; opacity: .75; }
  92% { scale: 1 1; opacity: .75; }
  100% { scale: 1 1; opacity: 0; }
}

.motion-panel {
  border: 1px solid #7094c06b;
  border-radius: 12px;
  background: linear-gradient(155deg,#24476e,#0e294d 90%);
  box-shadow: 0 13px 22px #04142991, inset 0 1px #e7f3ff20;
}
.motion-heading { display: flex; align-items: center; gap: 6px; font-size: var(--scene-type); line-height: 1.3; }
.motion-heading svg { width: 21px; height: 21px; color: var(--mint); }
.art-object ol { list-style: none; padding: 0; margin: 0; }
.art-object small { display: block; color: #c5d8f1; font-size: var(--scene-small); }
.draw-path { stroke: var(--mint); stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }

.decision-board { position: relative; width: 86%; }
.decision-paper { padding: 7px 10px; transform: rotate(-2deg); }
.art-object .decision-steps { margin-block-start: 7px; }
.decision-steps li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-block-start: 1px solid #87aad340;
  padding: 2px 0;
  font-size: var(--scene-type);
  line-height: 1.32;
}
.decision-steps span { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; }
.decision-steps i {
  display: grid;
  place-items: center;
  width: clamp(18px, 5.8cqi, 27px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--navy);
  background: var(--mint);
}
.decision-steps svg, .decision-seal svg { width: 67%; height: auto; stroke-width: 2.5; }
.decision-seal {
  position: absolute;
  inset: -2px auto auto -6%;
  display: grid;
  justify-items: center;
  align-content: center;
  width: 38px;
  aspect-ratio: 1;
  border: 2px solid #b0fff9;
  border-radius: 50%;
  color: var(--navy);
  background: var(--mint);
  box-shadow: 0 6px 18px #041329a0;
  rotate: -13deg;
  font-size: var(--scene-small);
  line-height: 1.15;
}
.decision-seal svg { width: 34%; }
.art-scene.seen-scene .decision-steps i { animation: check-in var(--scene-cycle) var(--scene-ease) calc(.27s + var(--i) * .36s) infinite both; }
.art-scene.seen-scene .decision-seal { animation: seal-in var(--scene-cycle) var(--scene-ease) 1.48s infinite both; }

.strategy-map { position: relative; width: 100%; min-height: 132px; }
.strategy-path { position: absolute; inset: 0; width: 100%; height: 100%; color: #6086b6; }
.strategy-path path { vector-effect: non-scaling-stroke; }
.strategy-map li {
  position: absolute;
  min-width: max-content;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 0 6px;
  padding: 3px 6px;
  background: #112d50;
  border: 1px solid #729ac8;
  box-shadow: 0 7px 18px #0415269c;
  border-radius: 7px;
  font-size: var(--scene-type);
  line-height: 1.35;
}
.strategy-map li:nth-child(1) { right: 0; top: 83%; transform: translateY(-50%); }
.strategy-map li:nth-child(2) { right: 50%; top: 50%; transform: translate(50%,-50%); }
.strategy-map li:nth-child(3) { left: 0; top: 15%; transform: translateY(-50%); }
.strategy-map i, .center-process i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: clamp(17px, 5cqi, 25px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-style: normal;
  font-weight: 700;
}
.art-scene.seen-scene .strategy-path .draw-path { animation: trace-path var(--scene-cycle) var(--scene-ease) .22s infinite both; }
.art-scene.seen-scene .strategy-map li { animation: map-stop var(--scene-cycle) var(--scene-ease) calc(.15s + var(--i) * .48s) infinite both; }

.people-tree { width: 100%; display: grid; justify-items: center; }
.people-lead { display: flex; align-items: center; gap: 8px; padding: 4px 11px; font-size: var(--scene-type); }
.people-tree svg:not(.people-branches) { color: var(--mint); width: clamp(17px, 5cqi, 27px); height: auto; }
.people-branches { width: 100%; height: 23px; }
.people-teams { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; width: 100%; }
.people-teams li {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 3px;
  padding: 4px 2px;
  line-height: 1.24;
  font-size: var(--scene-type);
}
.art-scene.seen-scene .people-lead { animation: map-stop var(--scene-cycle) var(--scene-ease) infinite both; }
.art-scene.seen-scene .people-branches .draw-path { animation: trace-path var(--scene-cycle) var(--scene-ease) .3s infinite both; }
.art-scene.seen-scene .people-teams li { animation: branch-in var(--scene-cycle) var(--scene-ease) calc(.68s + var(--i) * .14s) infinite both; }

.project-board { width: 100%; padding: 8px 10px; }
.project-months, .project-tracks li {
  --label: clamp(43px, 15cqi, 77px);
  --gap: clamp(5px, 2cqi, 11px);
}
.project-months {
  padding-inline-start: calc(var(--label) + var(--gap));
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-block: 4px 2px;
  color: #c5d8f1;
  font-size: var(--scene-small);
}
.project-tracks li {
  display: grid;
  grid-template-columns: var(--label) 1fr;
  gap: var(--gap);
  align-items: center;
  font-size: var(--scene-type);
}
.project-tracks li > span {
  position: relative;
  height: 16px;
  border-block-end: 1px solid #87aad340;
  background: repeating-linear-gradient(to left, #8db2e25c 0 1px,transparent 1px 33.333%);
}
.project-tracks li i {
  position: absolute;
  width: var(--size);
  inset-inline-start: var(--start);
  top: 36%;
  height: 31%;
  border-radius: 4px;
  background: var(--mint);
  transform-origin: right center;
}
.project-tracks li:not(:last-child) i::after, .project-legend i {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  background: #e8f5ff;
  rotate: 45deg;
}
.project-tracks li i::after { position: absolute; inset-inline-end: 0; top: calc(50% - 3.5px); }
.project-legend { display: flex; align-items: center; gap: 7px; margin-block-start: 4px; color: #c5d8f1; font-size: var(--scene-small); }
.art-scene.seen-scene .project-tracks i { animation: grow-bar var(--scene-cycle) var(--scene-ease) calc(.18s + var(--i) * .45s) infinite both; }
.art-scene.seen-scene .project-tracks i::after { animation: map-stop var(--scene-cycle) var(--scene-ease) calc(.7s + var(--i) * .45s) infinite both; }

.center-model { display: grid; grid-template-columns: .75fr 1.25fr; width: 100%; align-items: center; gap: clamp(7px, 4cqi, 22px); }
.center-orbit { display: grid; position: relative; place-items: center; aspect-ratio: 1; width: min(100%,106px); justify-self: center; }
.center-orbit > svg { position: absolute; inset: 0; width: 100%; height: 100%; color: #789cc8; rotate: -90deg; }
.center-orbit > svg circle:first-child { stroke-dasharray: 2 5; }
.center-mark { z-index: 1; display: grid; place-items: center; gap: 5px; color: white; font-size: var(--scene-type); }
.center-mark svg { color: var(--mint); width: 27px; height: auto; stroke-width: 1.2; }
.center-process { display: grid; gap: 3px; }
.center-process li { display: flex; align-items: center; gap: 6px; padding: 2px 5px; font-size: var(--scene-type); line-height: 1.2; }
.center-process i { flex: none; }
.art-scene.seen-scene .center-orbit .draw-path { animation: trace-path var(--scene-cycle) linear .18s infinite both; }
.art-scene.seen-scene .center-process li { animation: ops-run var(--scene-cycle) var(--scene-ease) calc(.23s + var(--i) * .4s) infinite both; }

.learning-model { width: min(93%,330px); }
.course-player { padding: 5px 8px; }
.course-screen {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 46px;
  margin-block: 4px;
  border: 1px solid #739ccc60;
  border-radius: 6px;
  background: linear-gradient(145deg,#12284a,#34547d);
}
.course-screen svg {
  width: clamp(18px, 7.2cqi, 34px);
  height: auto;
  color: var(--mint);
  fill: var(--mint);
}
.course-screen i:first-of-type { position: absolute; inset: auto 8% 5px; height: 2px; border-radius: 2px; background: #7a99bd; }
.course-screen i:last-of-type { position: absolute; inset: auto 8% 5px auto; width: 66%; height: 2px; background: var(--mint); transform-origin: right; }
.course-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.course-steps li { border-radius: 5px; background: #2d527d; text-align: center; padding: 2px; font-size: var(--scene-type); }
.course-options { display: flex; justify-content: center; gap: 6px; margin-block-start: 4px; }
.course-options span { border-radius: 5px; color: #f6fbff; background: #112d50; padding: 2px 8px; border: 1px solid #789cc881; font-size: var(--scene-small); }
.art-scene.seen-scene .course-screen i:last-of-type { animation: grow-bar var(--scene-cycle) linear .25s infinite both; }
.art-scene.seen-scene .course-steps li { animation: course-step var(--scene-cycle) ease calc(.23s + var(--i) * .51s) infinite both; }
.art-scene.seen-scene .course-options { animation: map-stop var(--scene-cycle) var(--scene-ease) 1.68s infinite both; }


@keyframes check-in {
  0%,100% { scale: .78; opacity: .33; }
  9% { scale: 1.13; opacity: 1; }
  13%,88% { scale: 1; opacity: 1; }
}
@keyframes seal-in {
  0%,100% { scale: 1.14; opacity: 0; }
  8% { scale: .93; opacity: 1; }
  13%,86% { scale: 1; opacity: 1; }
}
@keyframes trace-path {
  0%,100% { stroke-dashoffset: 1; opacity: 0; }
  3% { opacity: 1; }
  28%,89% { stroke-dashoffset: 0; opacity: 1; }
  97% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes map-stop {
  0%,100% { opacity: .36; translate: 0 5px; }
  12%,88% { opacity: 1; translate: 0; }
}
@keyframes branch-in {
  0%,100% { opacity: .35; translate: 0 -5px; scale: .94; }
  13%,88% { opacity: 1; translate: 0; scale: 1; }
}
@keyframes grow-bar {
  0%,100% { scale: .06 1; opacity: .4; }
  23%,90% { scale: 1 1; opacity: 1; }
}
@keyframes ops-run {
  0%,100% { opacity: .48; translate: -3px 0; border-color: #7094c06b; }
  10% { opacity: 1; translate: 0; border-color: var(--mint); }
  26%,88% { opacity: 1; translate: 0; border-color: #7094c06b; }
}
@keyframes course-step {
  0%,24%,100% { color: white; background: #2d527d; }
  9%,15% { color: var(--navy); background: var(--mint); }
}

html[data-motion-paused] .art-scene *,
html[data-motion-paused] .art-scene *::after,
body:has(dialog[open]) .art-scene *,
body:has(dialog[open]) .art-scene *::after { animation: none !important; }

@media (max-width: 720px) {
  .art-scene { --scene-type: clamp(.76rem,3.75cqi,.94rem); --scene-small: clamp(.68rem,3.2cqi,.78rem); }
  .art-object { min-height: 166px; padding-block: 15px; }
  .strategy-map { min-height: 145px; }
}

[dir="ltr"] .art-caption::after,
[dir="ltr"] .project-tracks li i,
[dir="ltr"] .course-screen i:last-of-type { transform-origin: left center; }
[dir="ltr"] .strategy-path { scale: -1 1; }
[dir="ltr"] .strategy-map li:nth-child(1) { left: 0; right: auto; }
[dir="ltr"] .strategy-map li:nth-child(3) { right: 0; left: auto; }
[dir="ltr"] .decision-seal { inset-inline: auto -6%; width: 48px; }
[dir="ltr"] .decision-steps i { flex: none; }
[dir="ltr"] .project-tracks li > span {
  background: repeating-linear-gradient(to right, #8db2e25c 0 1px, transparent 1px 33.333%);
}
[dir="ltr"] .course-screen i:last-of-type { inset-inline: 8% auto; }
.center-mark { text-align: center; }
