@property --watercolor-line {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 116%;
}

#work .showcase-frame {
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--portfolio-ink);
}
.project-showcase-controls {
  justify-content: flex-start;
  gap: 14px;
  margin: 0 0 20px;
}
.showcase-kicker {
  flex: 1;
  color: #4c5950;
}
.project-showcase {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(38px, 5vw, 72px) clamp(22px, 3vw, 42px);
}
.project-preview,
.project-preview.is-playing {
  --art-height: clamp(300px, 28vw, 420px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: var(--portfolio-surface);
  box-shadow: none;
}
.project-preview:nth-child(odd) {
  --watercolor-angle: 179deg;
}
.project-preview:nth-child(even) {
  --watercolor-angle: 181deg;
}
.project-preview__art::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--reveal-color, #a7b4a6);
  background-image: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12),
    transparent 58%,
    rgba(34, 46, 38, 0.08)
  );
  border-radius: 14px;
  pointer-events: none;
}
.project-preview--spectro {
  --reveal-color: #557b6d;
}
.project-preview--gitlab {
  --reveal-color: #986f63;
}
.project-preview--tesha {
  --reveal-color: #467d5c;
}
.project-preview--system {
  --reveal-color: #786590;
}
.project-preview--home {
  --reveal-color: #987f64;
}
.project-preview--vision {
  --reveal-color: #618881;
}
.project-preview--will {
  --reveal-color: #a7825c;
}
.project-preview--math {
  --reveal-color: #6d8969;
}
.project-preview__art {
  position: relative;
  height: var(--art-height);
  overflow: hidden;
  contain: paint;
  border-radius: 14px;
}
.project-preview__art::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(241, 242, 235, 0.18);
  opacity: 0;
  pointer-events: none;
}
.project-showcase.has-active .project-preview:not(.is-playing) .project-preview__art::after {
  opacity: 1;
}
.project-showcase.has-active .project-preview:not(.is-playing) .paint-depth {
  filter: saturate(0.68) contrast(0.95);
}
.project-preview__scene {
  z-index: 1;
  height: var(--art-height);
  border-radius: 14px;
  background-size: cover;
  background-position: center 72%;
  box-shadow: 0 14px 30px -24px rgba(36, 48, 38, 0.5);
}
.paint-reveal-edge {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(ellipse 36% 90% at 24% 0%, var(--reveal-color, #a7b4a6), transparent 85%),
    radial-gradient(ellipse 40% 100% at 77% 0%, var(--reveal-color, #a7b4a6), transparent 85%),
    linear-gradient(to bottom, var(--reveal-color, #a7b4a6), transparent);
  opacity: 0;
  pointer-events: none;
}
.project-preview__scene::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 38, 32, 0.12), rgba(30, 38, 32, 0.23));
  opacity: 0;
  pointer-events: none;
}
.project-preview.is-playing .project-preview__scene::before {
  opacity: 1;
}
.project-showcase.has-active .project-preview:not(.is-playing) .project-preview__scene::after {
  display: none;
}
.project-preview--spectro .project-preview__scene {
  background-image: url('assets/work/africa/drakensberg.avif');
}
.project-preview--gitlab .project-preview__scene {
  background-image: url('assets/work/africa/soweto.avif');
}
.project-preview--tesha .project-preview__scene {
  background-image: url('assets/work/africa/durban.avif');
}
.project-preview--system .project-preview__scene {
  background-image: url('assets/work/africa/namibia.avif');
}
.project-preview--home .project-preview__scene {
  background-image: url('assets/work/africa/cape-town.avif');
}
.project-preview--vision .project-preview__scene {
  background-image: url('assets/work/africa/victoria-falls.avif');
}
.project-preview--will .project-preview__scene {
  background-image: url('assets/work/africa/zanzibar.avif');
}
.project-preview--math .project-preview__scene {
  background-image: url('assets/work/africa/okavango.avif');
}
.project-preview__copy {
  min-height: 0;
  padding: 22px 0 0;
}
.project-preview__copy::before,
.project-preview__copy::after {
  display: none;
}
.project-preview__number {
  margin-bottom: 8px;
  color: #536158;
  font-size: 10px;
}
.project-preview__copy h3 {
  padding: 0;
  font: 650 clamp(20px, 1.65vw, 24px)/1.2 var(--sans);
  letter-spacing: -0.035em;
}
.project-preview__copy p {
  max-width: 55ch;
  margin-top: 9px;
  font: 400 16px/1.55 var(--sans);
  color: #414c44;
}
.project-showcase.has-active
  .project-preview:not(.is-playing)
  :is(.project-preview__number, .project-preview__copy h3, .project-preview__copy p) {
  color: #626e65;
}

.project-preview.is-playing .project-preview__scene,
.project-preview:focus-within .project-preview__scene {
  box-shadow: 0 22px 42px -26px rgba(36, 48, 38, 0.65);
}
@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-awaiting-reveal
    .project-preview__scene
    :not(.paint-depth):not(.paint-landscape) {
    animation-play-state: paused !important;
  }
  .project-preview__scene {
    transition: box-shadow 400ms ease-out !important;
  }
  .project-preview__scene::before {
    transition: opacity 400ms ease-out !important;
  }
  .project-preview__art::after {
    transition: opacity 900ms cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  .project-preview.is-playing .project-preview__art::after {
    transition-duration: 600ms !important;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .paint-depth {
    transition: filter 900ms cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  .project-preview.is-playing .paint-depth {
    transition-duration: 600ms !important;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .project-preview
    :is(.project-preview__number, .project-preview__copy h3, .project-preview__copy p) {
    transition: color 800ms cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
}
.project-preview__actions a {
  position: relative;
  top: auto;
  right: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  min-height: 44px;
  height: auto;
  margin-top: 8px;
  color: #354b3d;
  font: 600 14px/1.4 var(--sans);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.project-preview__actions a span,
.project-preview.is-playing .project-preview__actions a span {
  font: inherit;
  transform: none;
}
.showcase-footer {
  margin-top: 28px;
  font-size: 13px;
}
.paint-orbit,
.paint-rolodex,
.paint-tokens,
.paint-inspection,
.paint-handover {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(82%, 350px);
  height: 180px;
  transform: translate(-50%, -50%);
  color: #fff;
}
.paint-dot,
.paint-orb,
.paint-handover-dot {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #24372d;
  background: #d8e8ca;
  box-shadow: 0 0 0 9px #f6f0dc35;
  font: 600 24px/1 var(--sans);
}
.paint-dot--core {
  position: absolute;
  top: 63px;
  left: calc(50% - 24px);
}
.paint-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid #ffffff42;
  border-radius: 30px;
  color: #fff;
  background: #303b34b8;
  box-shadow: 0 4px 18px #26302b26;
  font: 500 clamp(10px, 1vw, 12px)/1.2 var(--sans);
  white-space: nowrap;
}
.paint-orbit .paint-bubble {
  position: absolute;
}
.paint-orbit .bubble-one {
  left: 4%;
  top: 23%;
}
.paint-orbit .bubble-two {
  right: 1%;
  top: 16%;
}
.paint-orbit .bubble-three {
  left: 5%;
  bottom: 16%;
}
.paint-orbit .bubble-four {
  right: 0;
  bottom: 19%;
}
.paint-orbit--membership .paint-dot--core {
  background: #dcebc5;
}
.paint-orbit--home .paint-dot--core {
  background: #efd2bb;
}
.paint-rolodex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.paint-orb {
  flex: none;
  background: #dce6ce;
}
.paint-rolodex--math .paint-orb {
  background: #cbe4da;
}
.paint-rolodex-window {
  width: min(230px, 64%);
  height: 102px;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 34%, #000 66%, transparent);
}
.paint-rolodex-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}
.paint-rolodex-track span {
  display: flex;
  align-items: center;
  height: 34px;
  flex: none;
  color: #fff;
  text-shadow: 0 1px 6px #1a281d;
  font: 500 clamp(14px, 1.35vw, 18px)/1.25 var(--sans);
}
.paint-tokens {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
}
.paint-tokens span {
  display: grid;
  place-items: center;
  width: clamp(35px, 4vw, 48px);
  height: clamp(35px, 4vw, 48px);
  border-radius: 12px;
  color: #473d6b;
  background: #e5def3;
  box-shadow: 0 8px 20px #1f1a342e;
  font: 650 16px/1 var(--sans);
}
.paint-tokens span:nth-child(2) {
  border-radius: 50%;
  background: #c5b8e4;
}
.paint-tokens span:nth-child(3) {
  background: #a596d4;
  color: #fff;
}
.paint-tokens span:nth-child(4) {
  border-radius: 50%;
  background: #eee9f6;
}
.paint-inspection {
  display: grid;
  place-items: center;
}
.paint-crosshair {
  position: absolute;
  width: 94px;
  height: 94px;
  border: 1px solid #ffffffc9;
  border-radius: 12px;
}
.paint-product {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #efc4ac;
  color: #684938;
  font: 600 20px/1 var(--sans);
}
.paint-scan {
  position: absolute;
  top: 28px;
  left: 32%;
  height: 124px;
  width: 2px;
  background: #ffdfbd;
  box-shadow: 0 0 16px 4px #fff5d77a;
  opacity: 0;
}
.paint-inspection .paint-bubble {
  position: absolute;
  top: 125px;
  left: 58%;
}
.paint-handover {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.paint-handover-dot {
  position: absolute;
  left: calc(50% - 24px);
  top: 31px;
  background: #deebcc;
}
.paint-handover-line {
  position: absolute;
  top: 90px;
  left: 16%;
  right: 16%;
  border-top: 1px dashed #ffffffb0;
}
.paint-handover .paint-bubble {
  position: relative;
  margin-top: 55px;
}
@media (max-width: 899px) {
  .project-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
  .project-preview,
  .project-preview.is-playing {
    --art-height: clamp(280px, 44vw, 400px);
  }
}
@media (max-width: 480px) {
  .project-showcase-controls {
    flex-wrap: wrap;
  }
  .showcase-kicker {
    flex-basis: 100%;
  }
  .project-preview,
  .project-preview.is-playing {
    --art-height: clamp(240px, 70vw, 320px);
  }
  .paint-orbit,
  .paint-rolodex,
  .paint-tokens,
  .paint-inspection,
  .paint-handover {
    width: 90%;
  }
  .paint-handover {
    gap: 5px;
  }
  .paint-handover .paint-bubble {
    padding-inline: 7px;
    font-size: 10px;
  }
}

.paint-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.paint-network path {
  fill: none;
  stroke: #f2f4e6;
  stroke-width: 1;
  stroke-dasharray: 4 7;
  opacity: 0.48;
  vector-effect: non-scaling-stroke;
}
.paint-card-form {
  position: relative;
  display: block;
  width: 26px;
  height: 18px;
  border-radius: 4px;
  background: #315b43;
  box-shadow: 0 3px 7px #203d2b33;
}
.paint-card-form::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 4px;
  border-radius: 1px;
  background: #d6e7b3;
}
.paint-card-form i {
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #d6e7b3;
}
.paint-tokens::before {
  content: '';
  position: absolute;
  width: 78%;
  height: 1px;
  background: #ffffffb3;
  opacity: 0.55;
}
.paint-tokens span {
  position: relative;
}
.paint-tokens span:nth-child(1) {
  --from-x: -38px;
  --from-y: -25px;
  --from-rotation: -18deg;
}
.paint-tokens span:nth-child(2) {
  --from-x: -15px;
  --from-y: 28px;
  --from-rotation: 12deg;
}
.paint-tokens span:nth-child(3) {
  --from-x: 0px;
  --from-y: -30px;
  --from-rotation: -12deg;
}
.paint-tokens span:nth-child(4) {
  --from-x: 15px;
  --from-y: 28px;
  --from-rotation: 15deg;
}
.paint-tokens span:nth-child(5) {
  --from-x: 38px;
  --from-y: -22px;
  --from-rotation: -14deg;
}
.paint-handover-pulse {
  position: absolute;
  top: 85px;
  left: 16%;
  width: 68%;
  height: 10px;
  opacity: 0;
  pointer-events: none;
}
.paint-handover-pulse::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0f6df;
  box-shadow: 0 0 0 5px #ecf6db45;
}

@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .paint-dot--core {
    animation: paint-enter var(--story-duration, 6s) cubic-bezier(0.2, 0.7, 0.2, 1) both !important;
  }
  .project-preview.is-playing .paint-network path {
    animation: paint-network-reveal var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-orbit .bubble-one {
    animation: paint-bubble-left var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-orbit .bubble-two {
    animation: paint-bubble-right var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-orbit .bubble-three {
    animation: paint-bubble-low var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-orbit .bubble-four {
    animation: paint-filter-result var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-card-form {
    animation: paint-card-to-app var(--story-duration, 6s) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-rolodex-track {
    animation: paint-roll var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-orb {
    animation: paint-sequencer var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-rolodex--math .paint-orb {
    animation: paint-learning-dial var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-tokens span {
    animation: paint-align var(--story-duration, 6s) cubic-bezier(0.2, 0.7, 0.2, 1) both !important;
  }
  .project-preview.is-playing .paint-tokens::before {
    animation: paint-guide var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-product {
    animation: paint-inspect-object var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-crosshair {
    animation: paint-inspect-frame var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-scan {
    animation: paint-scan var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-inspection .paint-bubble {
    animation: paint-evidence var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-handover-line {
    animation: paint-connect var(--story-duration, 6s) ease both !important;
    transform-origin: left;
  }
  .project-preview.is-playing .paint-handover-pulse {
    animation: paint-handover-travel var(--story-duration, 6s) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-handover .paint-bubble:nth-of-type(4) {
    animation: paint-handover-owner var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-handover .paint-bubble:nth-of-type(5) {
    animation: paint-handover-middle var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-handover .paint-bubble:nth-of-type(6) {
    animation: paint-handover-destination var(--story-duration, 6s) ease both !important;
  }
}
@keyframes paint-enter {
  0% {
    opacity: 0.3;
    transform: scale(0.65);
  }
  18%,
  35% {
    opacity: 1;
    transform: scale(1);
  }
  46% {
    transform: scale(1.1);
  }
  58%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes paint-network-reveal {
  0%,
  12% {
    opacity: 0;
    stroke-dashoffset: 70;
  }
  43%,
  78% {
    opacity: 0.55;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0.45;
    stroke-dashoffset: -14;
  }
}
@keyframes paint-bubble-left {
  0%,
  8% {
    opacity: 0;
    transform: translate(-24px, 12px) scale(0.85);
  }
  27%,
  46% {
    opacity: 1;
    transform: translate(0, 0);
  }
  62% {
    transform: translate(7px, -4px);
  }
  82%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-bubble-right {
  0%,
  20% {
    opacity: 0;
    transform: translate(24px, -8px) scale(0.85);
  }
  42%,
  56% {
    opacity: 1;
    transform: none;
  }
  70% {
    transform: translate(-7px, 5px);
  }
  88%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-bubble-low {
  0%,
  31% {
    opacity: 0;
    transform: translate(-12px, 20px) scale(0.88);
  }
  54%,
  68% {
    opacity: 1;
    transform: none;
  }
  78% {
    transform: translate(5px, -6px);
  }
  92%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-filter-result {
  0%,
  54% {
    opacity: 0;
    transform: translate(10px, 12px) scale(0.9);
  }
  76%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-card-to-app {
  0%,
  20% {
    transform: rotate(-8deg);
  }
  38%,
  55% {
    transform: rotate(0) scale(0.68, 1.25);
  }
  76%,
  100% {
    transform: rotate(0) scale(1);
  }
}
@keyframes paint-roll {
  0%,
  22% {
    transform: translateY(34px);
  }
  32%,
  53% {
    transform: translateY(0);
  }
  67%,
  100% {
    transform: translateY(-34px);
  }
}
@keyframes paint-sequencer {
  0% {
    opacity: 0.3;
    transform: scale(0.65);
  }
  15%,
  27% {
    opacity: 1;
    transform: scale(1);
  }
  34% {
    transform: scale(1.1);
  }
  42%,
  61% {
    transform: scale(1);
  }
  70% {
    transform: scale(1.1);
  }
  78%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes paint-learning-dial {
  0% {
    opacity: 0.3;
    transform: rotate(-65deg) scale(0.75);
  }
  22%,
  35% {
    opacity: 1;
    transform: rotate(-30deg) scale(1);
  }
  55%,
  68% {
    transform: rotate(20deg);
  }
  85%,
  100% {
    opacity: 1;
    transform: rotate(0);
  }
}
@keyframes paint-align {
  0%,
  8% {
    opacity: 0.35;
    transform: translate(var(--from-x), var(--from-y)) rotate(var(--from-rotation)) scale(0.8);
  }
  38%,
  54% {
    opacity: 1;
    transform: translate(0, 0) rotate(0) scale(1);
  }
  65% {
    transform: translateY(-4px) scale(1.05);
  }
  78%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-guide {
  0%,
  18% {
    opacity: 0;
    transform: scaleX(0.3);
  }
  45%,
  75% {
    opacity: 0.55;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.35;
    transform: scaleX(1);
  }
}
@keyframes paint-inspect-object {
  0% {
    opacity: 0;
    transform: translateX(-80px) scale(0.8);
  }
  25%,
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes paint-inspect-frame {
  0%,
  15% {
    opacity: 0;
    transform: scale(1.35);
  }
  34%,
  70% {
    opacity: 1;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
}
@keyframes paint-scan {
  0%,
  24% {
    opacity: 0;
    transform: translateX(0);
  }
  32% {
    opacity: 1;
  }
  65%,
  72% {
    opacity: 1;
    transform: translateX(110px);
  }
  82%,
  100% {
    opacity: 0;
    transform: translateX(110px);
  }
}
@keyframes paint-evidence {
  0%,
  61% {
    opacity: 0;
    transform: translate(-8px, 10px) scale(0.9);
  }
  81%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-connect {
  0%,
  12% {
    transform: scaleX(0);
    opacity: 0;
  }
  40%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}
@keyframes paint-handover-travel {
  0%,
  30% {
    opacity: 0;
    transform: translateX(0);
  }
  36% {
    opacity: 1;
  }
  73% {
    opacity: 1;
    transform: translateX(100%);
  }
  85%,
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}
@keyframes paint-handover-owner {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  18%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-handover-middle {
  0%,
  32% {
    opacity: 0;
    transform: translateY(12px);
  }
  48%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-handover-destination {
  0%,
  58% {
    opacity: 0;
    transform: translateY(12px);
  }
  76%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .paint-handover-pulse {
    display: none;
  }
}

.paint-filter-result {
  position: absolute;
  z-index: 4;
  left: calc(50% - 78px);
  top: 94px;
  width: 156px;
  padding: 8px 11px;
  border: 1px solid #ffffff50;
  border-radius: 10px;
  background: #263a31e8;
  box-shadow: 0 9px 20px #17261c40;
  color: #f7faf1;
  opacity: 0;
}
.paint-filter-result b {
  display: block;
  margin-bottom: 6px;
  font: 600 10px/1.2 var(--sans);
}
.paint-filter-result i {
  display: block;
  width: 85%;
  height: 3px;
  margin-top: 4px;
  border-radius: 3px;
  background: #b7cfb9;
  opacity: 0.7;
}
.paint-filter-result i:last-child {
  width: 52%;
}
.paint-step-rail {
  position: absolute;
  left: calc(50% - 35px);
  bottom: 17px;
  display: flex;
  gap: 7px;
}
.paint-step-rail i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e9f4df;
  opacity: 0.4;
}
.paint-orbit--membership .paint-dot--core {
  background: transparent;
  box-shadow: none;
  z-index: 2;
}
.paint-orbit--membership .paint-card-form {
  width: 68px;
  height: 43px;
  flex: none;
  border-radius: 7px;
  box-shadow: 0 9px 20px #1a342b59;
}
.paint-orbit--membership .paint-card-form::before {
  left: 9px;
  top: 9px;
  width: 10px;
  height: 7px;
  border-radius: 2px;
}
.paint-orbit--membership .paint-card-form i {
  left: 9px;
  bottom: 9px;
  width: 22px;
  height: 3px;
}
.paint-phone-form {
  position: absolute;
  z-index: 1;
  left: 57%;
  top: 46px;
  display: block;
  width: 39px;
  height: 74px;
  padding: 13px 6px 6px;
  border: 3px solid #244c37;
  border-radius: 9px;
  background: #f0f7e7;
  box-shadow: 0 8px 16px #1a342b4a;
}
.paint-phone-form i {
  display: block;
  width: 13px;
  height: 3px;
  margin: 0 auto 8px;
  border-radius: 4px;
  background: #92ad91;
}
.paint-phone-form b {
  display: block;
  height: 5px;
  margin: 5px 0;
  border-radius: 3px;
  background: #c5d9b6;
}
.paint-phone-form b:last-child {
  width: 65%;
}
.paint-tokens {
  display: grid;
  grid-template-columns: repeat(3, 46px);
  grid-template-rows: repeat(2, 46px);
  justify-content: center;
  align-content: center;
  gap: 9px;
}
.paint-tokens span {
  width: 46px;
  height: 46px;
}
.paint-tokens::before {
  left: calc(50% - 93px);
  top: calc(50% - 58px);
  width: 186px;
  height: 116px;
  border: 1px dashed #ffffffa3;
  border-radius: 8px;
  background: transparent;
}
.paint-home-ring {
  position: absolute;
  z-index: 0;
  left: calc(50% - 47px);
  top: 43px;
  width: 94px;
  height: 94px;
  border: 1px solid #f8ecddaf;
  border-radius: 50%;
  opacity: 0.55;
}
.paint-bottle {
  position: relative;
  display: block;
  width: 19px;
  height: 27px;
  border-radius: 5px 5px 6px 6px;
  background: #9a614c;
}
.paint-bottle::before {
  content: '';
  position: absolute;
  left: 6px;
  top: -4px;
  width: 7px;
  height: 5px;
  border-radius: 2px 2px 0 0;
  background: #9a614c;
}
.paint-bottle::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: 10px;
  height: 3px;
  border-radius: 3px;
  background: #f5dbca;
}
.paint-evidence-window {
  position: absolute;
  left: 70%;
  top: 40px;
  width: 64px;
  height: 72px;
  padding: 9px;
  border: 1px solid #ffffff70;
  border-radius: 9px;
  background: #32443de0;
  box-shadow: 0 8px 18px #1d302740;
}
.paint-evidence-window i {
  display: block;
  width: 25px;
  height: 25px;
  margin: 0 auto 8px;
  border: 1px solid #f1c2a8;
  border-radius: 5px;
}
.paint-evidence-window b {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 4px;
  border-radius: 3px;
  background: #c1d0be;
}
.paint-evidence-window b:last-child {
  width: 65%;
}
.paint-handover-pulse::before {
  width: 14px;
  height: 18px;
  border-radius: 3px;
  background: #f0f6df;
  box-shadow: 0 0 0 4px #ecf6db45;
}
.paint-handover-pulse::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 5px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #8ea68c;
  box-shadow: 0 4px #8ea68c;
}
.paint-learning {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(82%, 350px);
  height: 180px;
  transform: translate(-50%, -50%);
  color: #fff;
}
.paint-learning-orbit {
  position: absolute;
  left: calc(50% - 70px);
  top: 20px;
  width: 140px;
  height: 140px;
  border: 1px dashed #ffffff9c;
  border-radius: 50%;
}
.paint-learning-dial {
  position: absolute;
  display: grid;
  place-items: center;
  left: calc(50% - 47px);
  top: 43px;
  width: 94px;
  height: 94px;
  border: 9px solid #8dbdad;
  border-top-color: #d2e9c8;
  border-right-color: #eaf4dc;
  border-radius: 50%;
  background: #f0f6e8;
  box-shadow: 0 8px 20px #253e3445;
  color: #426e5c;
}
.paint-learning-dial i {
  font: normal 28px/1 var(--sans);
}
.paint-learning-note {
  position: absolute;
  z-index: 2;
  right: 13%;
  top: 48px;
  width: 59px;
  height: 66px;
  padding: 9px;
  border-radius: 8px;
  background: #f6f9ed;
  color: #426e5c;
  box-shadow: 0 8px 18px #1d302740;
  transform: rotate(8deg);
}
.paint-learning-note b {
  font: 600 19px/1 var(--display);
}
.paint-learning-note i {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 7px;
  border-radius: 2px;
  background: #b9cdbb;
}
.paint-learning-note i:last-child {
  width: 60%;
}
.paint-learning-label {
  position: absolute;
  left: 5%;
  top: 22%;
  padding: 7px 10px;
  border-radius: 20px;
  background: #303b34c7;
  color: #fff;
  font: 500 10px/1 var(--sans);
  white-space: nowrap;
}
.paint-learning-label--work {
  left: auto;
  top: auto;
  right: 3%;
  bottom: 17%;
}
@media (max-width: 480px) {
  .paint-learning {
    width: 90%;
  }
  .paint-learning-note {
    right: 8%;
  }
  .paint-evidence-window {
    left: 72%;
    width: 55px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .paint-orbit--filters .paint-bubble {
    animation: paint-filter-collect var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-filter-result {
    animation: paint-result-panel var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-step-rail i:nth-child(1) {
    animation: paint-step-one var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-step-rail i:nth-child(2) {
    animation: paint-step-two var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-step-rail i:nth-child(3) {
    animation: paint-step-three var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-phone-form {
    animation: paint-phone-unfold var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-home-ring {
    animation: paint-home-signal var(--story-duration, 6s) ease-out both !important;
  }
  .project-preview.is-playing .paint-evidence-window {
    animation: paint-evidence-window var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-learning-dial {
    animation: paint-learning-turn var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-learning-note {
    animation: paint-learning-reveal var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-learning-label {
    animation: paint-bubble-left var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-learning-label--work {
    animation: paint-bubble-right var(--story-duration, 6s) ease both !important;
  }
}
@keyframes paint-filter-collect {
  0%,
  10% {
    opacity: 0;
    transform: translateY(12px);
  }
  27%,
  48% {
    opacity: 1;
    transform: none;
  }
  66%,
  100% {
    opacity: 0;
    transform: translateY(-9px) scale(0.92);
  }
}
@keyframes paint-result-panel {
  0%,
  55% {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }
  76%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-step-one {
  0%,
  22% {
    opacity: 1;
    transform: scale(1.3);
  }
  33%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
}
@keyframes paint-step-two {
  0%,
  24% {
    opacity: 0.35;
    transform: scale(1);
  }
  37%,
  53% {
    opacity: 1;
    transform: scale(1.3);
  }
  67%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
}
@keyframes paint-step-three {
  0%,
  55% {
    opacity: 0.35;
    transform: scale(1);
  }
  73%,
  100% {
    opacity: 1;
    transform: scale(1.3);
  }
}
@keyframes paint-card-to-app {
  0%,
  18% {
    transform: translateX(0) rotate(-8deg);
  }
  42%,
  100% {
    transform: translateX(-29px) rotate(-6deg);
  }
}
@keyframes paint-phone-unfold {
  0%,
  23% {
    opacity: 0;
    transform: translate(-20px, 12px) scale(0.75);
  }
  51%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-home-signal {
  0%,
  15% {
    opacity: 0;
    transform: scale(0.45);
  }
  35% {
    opacity: 0.7;
    transform: scale(1);
  }
  66%,
  100% {
    opacity: 0.18;
    transform: scale(1.4);
  }
}
@keyframes paint-evidence-window {
  0%,
  60% {
    opacity: 0;
    transform: translate(-12px, 10px) scale(0.9);
  }
  82%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-learning-turn {
  0% {
    transform: rotate(-80deg) scale(0.82);
    opacity: 0.4;
  }
  35%,
  48% {
    transform: rotate(20deg) scale(1);
    opacity: 1;
  }
  70%,
  100% {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}
@keyframes paint-learning-reveal {
  0%,
  32% {
    opacity: 0;
    transform: translate(-30px, 15px) rotate(-12deg) scale(0.8);
  }
  65%,
  100% {
    opacity: 1;
    transform: rotate(8deg);
  }
}

.paint-depth {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  pointer-events: none;
}
.paint-landscape {
  position: absolute;
  z-index: 0;
  inset: -4%;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  pointer-events: none;
}
.project-preview__scene::before {
  z-index: 1;
}
.paint-orbit,
.paint-rolodex,
.paint-tokens,
.paint-inspection,
.paint-handover,
.paint-learning {
  z-index: 2;
  width: min(88%, 420px);
}

.paint-filter-cursor {
  position: absolute;
  z-index: 5;
  left: 26%;
  top: 53%;
  color: #fff;
  font: 700 24px/1 var(--sans);
  text-shadow: 0 2px 8px #1c2923a8;
  opacity: 0;
}
.paint-filter-result i {
  transform-origin: left;
}

.paint-pipeline {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff80;
}
.paint-pipeline i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border: 1px solid #ffffff96;
  border-radius: 50%;
  background: #405449;
  color: #fff;
  font: normal 12px/1 var(--sans);
}
.paint-step-rail {
  bottom: 38px;
}

.paint-service-form {
  position: absolute;
  z-index: 2;
  left: 72%;
  top: 66px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #f4ffed;
  border-radius: 50%;
  background: #b8d99c;
  color: #245739;
  box-shadow: 0 0 0 7px #d6eadb40;
  font: 18px/1 var(--sans);
}

.paint-token-ruler {
  position: absolute;
  left: calc(50% - 74px);
  bottom: 23px;
  width: 148px;
  height: 5px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  transform-origin: left;
}

.paint-home-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.paint-home-outline {
  fill: none;
  stroke: #fff7eb;
  stroke-width: 1.2;
  opacity: 0.8;
}
.paint-home-point {
  fill: #f7d6b0;
  stroke: #fff;
  stroke-width: 2;
}
.paint-orbit--home .paint-dot--core {
  top: 65px;
}
.paint-orbit--home .bubble-one {
  left: 0;
  top: 10%;
}
.paint-orbit--home .bubble-two {
  right: 0;
  top: 12%;
}
.paint-orbit--home .bubble-three {
  left: auto;
  right: 1%;
  bottom: 4%;
}

.paint-conveyor {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 127px;
  border-top: 1px solid #ffffffa8;
}
.paint-conveyor::after {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 5px;
  border-top: 1px dashed #ffffff78;
}

.paint-handover-record,
.paint-handover-received {
  position: absolute;
  top: 48px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 42px;
  border: 1px solid #ffffffae;
  border-radius: 6px;
  background: #eaf0dc;
  color: #476450;
  box-shadow: 0 5px 14px #1d302740;
}
.paint-handover-record {
  left: 12%;
  padding: 10px 7px;
  gap: 3px;
}
.paint-handover-record i {
  display: block;
  width: 100%;
  height: 2px;
  background: #92ac96;
}
.paint-handover-received {
  right: 12%;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 17px;
}

.paint-learning-orbit i {
  position: absolute;
  left: calc(50% - 5px);
  top: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #9dcbb4;
  box-shadow: 0 0 0 5px #e6f3d94d;
  transform-origin: 5px 75px;
}
.paint-learning-note i {
  transform-origin: left;
}

@media (max-width: 480px) {
  .paint-orbit,
  .paint-rolodex,
  .paint-tokens,
  .paint-inspection,
  .paint-handover,
  .paint-learning {
    width: 90%;
  }
  .paint-pipeline {
    left: 12%;
    right: 12%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .paint-landscape {
    animation: paint-landscape-drift var(--story-duration, 6s) ease-in-out both !important;
  }
  .project-preview--gitlab.is-playing .paint-landscape,
  .project-preview--vision.is-playing .paint-landscape,
  .project-preview--math.is-playing .paint-landscape {
    animation-name: paint-landscape-drift-reverse !important;
  }
  .project-preview.is-playing .paint-filter-cursor {
    animation: paint-filter-select var(--story-duration, 6s) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-filter-result i {
    animation: paint-result-rows var(--story-duration, 6s) ease-out both !important;
  }
  .project-preview.is-playing .paint-pipeline i:nth-child(1) {
    animation: paint-step-one var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-pipeline i:nth-child(2) {
    animation: paint-step-two var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-pipeline i:nth-child(3) {
    animation: paint-step-three var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-service-form {
    animation: paint-service-arrive var(--story-duration, 6s) cubic-bezier(0.2, 0.75, 0.25, 1) both !important;
  }
  .project-preview.is-playing .paint-tokens span:nth-child(2),
  .project-preview.is-playing .paint-tokens span:nth-child(4) {
    animation-name: paint-align-later !important;
  }
  .project-preview.is-playing .paint-tokens span:nth-child(3),
  .project-preview.is-playing .paint-tokens span:nth-child(5) {
    animation-name: paint-align-last !important;
  }
  .project-preview.is-playing .paint-token-ruler {
    animation: paint-ruler-draw var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-home-outline {
    animation: paint-home-draw var(--story-duration, 6s) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-home-point {
    transform-box: fill-box;
    transform-origin: center;
  }
  .project-preview.is-playing .paint-home-point.point-one {
    animation: paint-home-point-one var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-home-point.point-two {
    animation: paint-home-point-two var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-home-point.point-three {
    animation: paint-home-point-three var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-conveyor {
    animation: paint-ruler-draw var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-handover-record {
    animation: paint-record-send var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-handover-received {
    animation: paint-record-receive var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-learning-orbit i {
    animation: paint-learning-marker var(--story-duration, 6s) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-learning-note i {
    animation: paint-learning-write var(--story-duration, 6s) ease both !important;
  }
  .project-preview.is-playing .paint-learning-note i:last-child {
    animation-name: paint-learning-write-later !important;
  }
}
@keyframes paint-landscape-drift {
  from {
    transform: scale(1) translateX(0);
  }
  to {
    transform: scale(1.055) translateX(-1%);
  }
}
@keyframes paint-landscape-drift-reverse {
  from {
    transform: scale(1.04) translateX(-1%);
  }
  to {
    transform: scale(1) translateX(1%);
  }
}
@keyframes paint-filter-select {
  0%,
  12% {
    opacity: 0;
    transform: translate(35px, 30px);
  }
  24% {
    opacity: 1;
    transform: translate(0, 0);
  }
  35% {
    opacity: 1;
    transform: translate(0, 0) scale(0.8);
  }
  48% {
    opacity: 1;
    transform: translate(145px, -22px);
  }
  57% {
    opacity: 1;
    transform: translate(145px, -22px) scale(0.8);
  }
  72%,
  100% {
    opacity: 0;
    transform: translate(100px, 30px);
  }
}
@keyframes paint-result-rows {
  0%,
  67% {
    transform: scaleX(0);
  }
  85%,
  100% {
    transform: scaleX(1);
  }
}
@keyframes paint-service-arrive {
  0%,
  48% {
    opacity: 0;
    transform: translate(-45px, 12px) scale(0.4) rotate(-35deg);
  }
  70% {
    opacity: 1;
    transform: translate(4px, -4px) scale(1.12) rotate(8deg);
  }
  82%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-align-later {
  0%,
  20% {
    opacity: 0.35;
    transform: translate(var(--from-x), var(--from-y)) rotate(var(--from-rotation)) scale(0.8);
  }
  56% {
    opacity: 1;
    transform: translate(0, 0) scale(1.08);
  }
  70%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-align-last {
  0%,
  32% {
    opacity: 0.35;
    transform: translate(var(--from-x), var(--from-y)) rotate(var(--from-rotation)) scale(0.8);
  }
  68% {
    opacity: 1;
    transform: translate(0, 0) scale(1.08);
  }
  80%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes paint-ruler-draw {
  0%,
  20% {
    opacity: 0;
    transform: scaleX(0.1);
  }
  55%,
  100% {
    opacity: 0.8;
    transform: scaleX(1);
  }
}
@keyframes paint-home-draw {
  0%,
  8% {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    opacity: 0.3;
  }
  65%,
  100% {
    stroke-dasharray: 800;
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
}
@keyframes paint-home-point-one {
  0%,
  18% {
    opacity: 0;
    transform: scale(0.2);
  }
  32%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes paint-home-point-two {
  0%,
  38% {
    opacity: 0;
    transform: scale(0.2);
  }
  52%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes paint-home-point-three {
  0%,
  58% {
    opacity: 0;
    transform: scale(0.2);
  }
  72%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes paint-record-send {
  0%,
  22% {
    opacity: 1;
    transform: none;
  }
  48%,
  100% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}
@keyframes paint-record-receive {
  0%,
  55% {
    opacity: 0.25;
    transform: scale(0.6);
  }
  80% {
    opacity: 1;
    transform: scale(1.15);
  }
  90%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes paint-learning-marker {
  0% {
    transform: rotate(-75deg);
  }
  40% {
    transform: rotate(65deg);
  }
  75%,
  100% {
    transform: rotate(150deg);
  }
}
@keyframes paint-learning-write {
  0%,
  52% {
    transform: scaleX(0);
  }
  75%,
  100% {
    transform: scaleX(1);
  }
}
@keyframes paint-learning-write-later {
  0%,
  67% {
    transform: scaleX(0);
  }
  88%,
  100% {
    transform: scaleX(1);
  }
}

@media (min-width: 900px) {
  .paint-orbit,
  .paint-rolodex,
  .paint-tokens,
  .paint-inspection,
  .paint-handover,
  .paint-learning {
    transform: translate(-50%, -50%) scale(1.12);
  }
}
.paint-selection-ring {
  position: absolute;
  left: calc(50% - 38px);
  top: 49px;
  width: 76px;
  height: 76px;
  border: 1px solid #eef6dc;
  border-radius: 50%;
  opacity: 0;
}
.paint-pipeline-flow {
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 6px;
  height: 2px;
  background: #d6eabf;
  transform-origin: left;
}
.paint-membership-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #f0f9e9;
  stroke-width: 1.5;
  opacity: 0.85;
}
.paint-token-spark {
  position: absolute;
  left: calc(50% + 80px);
  top: 42px;
  color: #f1eafa;
  font: normal 24px/1 var(--sans);
}
.paint-home-wave {
  fill: none;
  stroke: #fff5e4;
  stroke-width: 1.5;
  opacity: 0.5;
  transform-box: fill-box;
  transform-origin: center;
}
.paint-defect-marker {
  position: absolute;
  z-index: 3;
  top: 82px;
  left: calc(50% + 3px);
  width: 11px;
  height: 11px;
  border: 1px solid #fff4e2;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e7ac8b70;
}
.paint-handover-trail {
  position: absolute;
  left: 16%;
  top: 86px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4f8e7;
  box-shadow: 0 0 0 4px #e6f3d966;
}
.paint-learning-trail {
  position: absolute;
  left: calc(50% - 54px);
  right: 13%;
  top: 119px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #eef7e3b0;
}
.paint-learning-trail i {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #eef7e3;
}

@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .paint-selection-ring {
    animation: story-selection var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .paint-orbit--filters .bubble-one {
    animation: story-filter-one var(--story-duration) ease both !important;
  }
  .project-preview.is-playing .paint-orbit--filters .bubble-two {
    animation: story-filter-two var(--story-duration) ease both !important;
  }
  .project-preview.is-playing .paint-orbit--filters .bubble-three {
    animation: story-filter-three var(--story-duration) ease both !important;
  }
  .project-preview.is-playing .paint-pipeline-flow {
    animation: story-pipeline var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-membership-arc path {
    animation: story-membership-arc var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-orbit--membership .bubble-one {
    animation: story-tesha-card var(--story-duration) ease both !important;
  }
  .project-preview.is-playing .paint-orbit--membership .bubble-two {
    animation: story-tesha-app var(--story-duration) ease both !important;
  }
  .project-preview.is-playing .paint-orbit--membership .bubble-three {
    animation: story-tesha-service var(--story-duration) ease both !important;
  }
  .project-preview.is-playing .paint-token-spark {
    animation: story-token-spark var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .paint-home-wave {
    animation: story-home-wave var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .paint-defect-marker {
    animation: story-defect var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .paint-handover-trail {
    animation: story-handover var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-learning-trail i:nth-child(1) {
    animation: story-learning-one var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .paint-learning-trail i:nth-child(2) {
    animation: story-learning-two var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .paint-learning-trail i:nth-child(3) {
    animation: story-learning-three var(--story-duration) ease-out both !important;
  }
}
@keyframes story-selection {
  0%,
  23% {
    opacity: 0;
    transform: scale(0.5);
  }
  30% {
    opacity: 0.85;
    transform: scale(0.9);
  }
  42%,
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}
@keyframes story-filter-one {
  0%,
  7% {
    opacity: 0;
    transform: translate(-20px, 8px) scale(0.85);
  }
  22%,
  42% {
    opacity: 1;
    transform: none;
  }
  62%,
  100% {
    opacity: 0;
    transform: translate(24px, 14px) scale(0.75);
  }
}
@keyframes story-filter-two {
  0%,
  19% {
    opacity: 0;
    transform: translate(20px, 8px) scale(0.85);
  }
  38%,
  49% {
    opacity: 1;
    transform: none;
  }
  67%,
  100% {
    opacity: 0;
    transform: translate(-24px, 14px) scale(0.75);
  }
}
@keyframes story-filter-three {
  0%,
  30% {
    opacity: 0;
    transform: translate(-15px, 15px) scale(0.85);
  }
  48%,
  55% {
    opacity: 1;
    transform: none;
  }
  71%,
  100% {
    opacity: 0;
    transform: translate(25px, -12px) scale(0.75);
  }
}
@keyframes story-pipeline {
  0%,
  10% {
    transform: scaleX(0);
  }
  32% {
    transform: scaleX(0.5);
  }
  60%,
  100% {
    transform: scaleX(1);
  }
}
@keyframes story-membership-arc {
  0%,
  18% {
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
    opacity: 0;
  }
  32% {
    opacity: 1;
  }
  75%,
  100% {
    stroke-dasharray: 180;
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
}
@keyframes story-tesha-card {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  15%,
  58% {
    opacity: 1;
    transform: none;
  }
  75%,
  100% {
    opacity: 0.55;
    transform: translateY(-4px);
  }
}
@keyframes story-tesha-app {
  0%,
  18% {
    opacity: 0;
    transform: translateY(12px);
  }
  42%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes story-tesha-service {
  0%,
  48% {
    opacity: 0;
    transform: translateY(12px);
  }
  72%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes story-token-spark {
  0%,
  57% {
    opacity: 0;
    transform: rotate(-70deg) scale(0.2);
  }
  74% {
    opacity: 1;
    transform: rotate(15deg) scale(1.2);
  }
  85%,
  100% {
    opacity: 0.85;
    transform: rotate(0) scale(1);
  }
}
@keyframes story-home-wave {
  0%,
  24% {
    opacity: 0;
    transform: scale(0.4);
  }
  37% {
    opacity: 0.8;
    transform: scale(1);
  }
  65%,
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}
@keyframes story-defect {
  0%,
  40% {
    opacity: 0;
    transform: scale(0.3);
  }
  53% {
    opacity: 1;
    transform: scale(1.3);
  }
  65%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes story-handover {
  0%,
  32% {
    opacity: 0;
    transform: translateX(0);
  }
  42% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.9;
    transform: translateX(240px);
  }
  84%,
  100% {
    opacity: 0;
    transform: translateX(240px);
  }
}
@keyframes story-learning-one {
  0%,
  20% {
    opacity: 0.25;
    transform: scale(0.5);
  }
  32%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes story-learning-two {
  0%,
  38% {
    opacity: 0.25;
    transform: scale(0.5);
  }
  52%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes story-learning-three {
  0%,
  58% {
    opacity: 0.25;
    transform: scale(0.5);
  }
  72%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.story-depth {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 650px;
}
.paint-orbit,
.paint-rolodex,
.paint-tokens,
.paint-inspection,
.paint-handover,
.paint-learning {
  z-index: 3;
}
.story-depth,
.paint-orbit,
.paint-rolodex,
.paint-tokens,
.paint-inspection,
.paint-handover,
.paint-learning {
  opacity: 0;
  visibility: hidden;
}
.project-preview.is-playing
  :is(
    .story-depth,
    .paint-orbit,
    .paint-rolodex,
    .paint-tokens,
    .paint-inspection,
    .paint-handover,
    .paint-learning
  ) {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .story-depth,
  .paint-orbit,
  .paint-rolodex,
  .paint-tokens,
  .paint-inspection,
  .paint-handover,
  .paint-learning {
    transition:
      opacity 500ms ease-out,
      visibility 0s linear 500ms !important;
  }
  .project-preview.is-playing
    :is(
      .story-depth,
      .paint-orbit,
      .paint-rolodex,
      .paint-tokens,
      .paint-inspection,
      .paint-handover,
      .paint-learning
    ) {
    transition:
      opacity 500ms ease-out,
      visibility 0s !important;
  }
}
.story-depth > span {
  position: absolute;
}
.depth-filter-sheet,
.depth-result-sheet,
.depth-code-sheet,
.depth-paper {
  width: 100px;
  height: 76px;
  padding: 15px;
  border: 1px solid #f8f6e8a8;
  border-radius: 12px;
  background: #f3f4e4a8;
  box-shadow:
    0 14px 32px #1f2b2542,
    inset 0 1px #fff9;
}
.depth-filter-sheet {
  left: 11%;
  top: 28%;
  transform: rotate(-10deg);
}
.depth-result-sheet {
  right: 11%;
  top: 47%;
  transform: rotate(7deg);
  background: #e4f1ddb8;
}
.depth-filter-sheet i,
.depth-result-sheet i,
.depth-code-sheet i,
.depth-paper i {
  display: block;
  height: 5px;
  margin: 6px 0;
  border-radius: 4px;
  background: #718d78a8;
}
.depth-filter-sheet i:nth-child(2),
.depth-result-sheet i:nth-child(3),
.depth-code-sheet i:nth-child(2),
.depth-paper i:last-child {
  width: 60%;
}
.depth-filter-sheet i:first-child {
  width: 42%;
  background: #608b76;
}
.depth-result-sheet i:first-child {
  width: 45%;
  background: #548a72;
}
.depth-code-sheet {
  left: 11%;
  top: 22%;
  transform: rotate(-8deg);
  background: #e9e6dbad;
}
.depth-code-sheet i {
  background: #7d8c79b3;
}
.depth-code-sheet i:first-child {
  width: 72%;
}
.depth-checkpoint {
  right: 13%;
  bottom: 22%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid #f9f9efc4;
  border-radius: 50%;
  background: #dcebd2a8;
  box-shadow:
    0 0 0 11px #e6f1d938,
    0 12px 30px #1b2c2442;
  color: #476b53;
  font: 500 26px/1 var(--sans);
}
.depth-checkpoint i {
  font-style: normal;
}
.depth-membership-card {
  left: 12%;
  top: 28%;
  width: 105px;
  height: 65px;
  border-radius: 10px;
  border: 1px solid #f3f8eab0;
  background: #84ad83a8;
  box-shadow: 0 14px 26px #213b2c52;
  transform: rotate(-14deg);
}
.depth-membership-card i {
  position: absolute;
  left: 14px;
  bottom: 15px;
  width: 30px;
  height: 4px;
  background: #e5f1d4;
  border-radius: 3px;
}
.depth-membership-orbit {
  left: 38%;
  top: 15%;
  width: 130px;
  height: 130px;
  border: 1px solid #f7ffe9a6;
  border-radius: 50%;
}
.depth-membership-service {
  right: 13%;
  bottom: 23%;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 1px solid #f4ffefb8;
  border-radius: 50%;
  background: #d4e7b9b8;
  box-shadow: 0 0 0 10px #e6f2d13d;
  color: #41684e;
  font-size: 26px;
}
.depth-system-grid {
  left: 13%;
  top: 23%;
  width: 90px;
  height: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  transform: rotate(-12deg);
}
.depth-system-grid i {
  border: 1px solid #f3eefd99;
  background: #d9cfee83;
  border-radius: 8px;
}
.depth-system-swatch {
  right: 13%;
  bottom: 20%;
  display: flex;
  gap: 5px;
  padding: 9px;
  border: 1px solid #ffffffa1;
  border-radius: 24px;
  background: #ece5f1a3;
  box-shadow: 0 10px 25px #332d3d33;
}
.depth-system-swatch i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #a999d2;
}
.depth-system-swatch i:nth-child(2) {
  background: #c5b7dd;
}
.depth-system-swatch i:nth-child(3) {
  background: #f0e9f7;
}
.depth-room {
  width: 74px;
  height: 64px;
  border: 1px solid #fff2e4aa;
  border-radius: 5px;
  background: #f1d6b44a;
  box-shadow: 0 10px 25px #30392e26;
}
.depth-room--one {
  left: 26%;
  top: 25%;
  transform: rotate(-8deg);
}
.depth-room--two {
  right: 27%;
  top: 27%;
  transform: rotate(7deg);
}
.depth-room--three {
  right: 30%;
  bottom: 20%;
  transform: rotate(-4deg);
}
.depth-focus-frame {
  left: 13%;
  top: 25%;
  width: 87px;
  height: 87px;
  border: 1px solid #fff5e1b3;
  border-radius: 12px;
  transform: rotate(-8deg);
}
.depth-evidence-lens {
  right: 12%;
  bottom: 20%;
  width: 82px;
  height: 82px;
  border: 2px solid #fff5e3c4;
  border-radius: 50%;
  background: #efc6a96b;
  box-shadow:
    0 0 0 9px #f7d5be35,
    0 14px 28px #32271f3d;
}
.depth-evidence-lens i {
  position: absolute;
  inset: 28%;
  border: 1px solid #fff7ea;
  border-radius: 4px;
}
.depth-paper {
  top: 25%;
  width: 72px;
  height: 88px;
}
.depth-paper--one {
  left: 12%;
  transform: rotate(-13deg);
}
.depth-paper--two {
  right: 12%;
  top: 38%;
  transform: rotate(12deg);
  background: #e8f1dcb8;
}
.depth-learning-path {
  position: absolute;
  inset: 10% 5%;
  width: 90%;
  height: 80%;
  fill: none;
  stroke: #f3fae4a6;
  stroke-width: 1.5;
}
.depth-learning-point {
  right: 13%;
  top: 28%;
  width: 17px;
  height: 17px;
  border: 2px solid #f7fbe9;
  border-radius: 50%;
  background: #aad1b7;
  box-shadow: 0 0 0 8px #e3f2dc42;
}
@media (max-width: 600px) {
  .depth-filter-sheet,
  .depth-result-sheet,
  .depth-code-sheet {
    width: 68px;
    height: 56px;
    padding: 9px;
  }
  .depth-membership-card {
    width: 72px;
    height: 47px;
  }
  .depth-membership-orbit {
    left: 31%;
    width: 110px;
    height: 110px;
  }
  .depth-system-grid {
    width: 62px;
    height: 62px;
    left: 8%;
  }
  .depth-system-swatch {
    right: 6%;
  }
  .depth-room {
    width: 50px;
    height: 48px;
  }
  .depth-focus-frame {
    width: 62px;
    height: 62px;
    left: 8%;
  }
  .depth-evidence-lens {
    width: 58px;
    height: 58px;
    right: 7%;
  }
  .depth-paper {
    width: 52px;
    height: 64px;
    padding: 8px;
  }
  .depth-paper--one {
    left: 7%;
  }
  .depth-paper--two {
    right: 7%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .depth-filter-sheet {
    animation: depth-filter-arrive var(--story-duration) cubic-bezier(0.2, 0.7, 0.2, 1) both !important;
  }
  .project-preview.is-playing .depth-result-sheet {
    animation: depth-filter-resolve var(--story-duration) cubic-bezier(0.2, 0.7, 0.2, 1) both !important;
  }
  .project-preview.is-playing .depth-code-sheet {
    animation: depth-code-arrive var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .depth-checkpoint {
    animation: depth-checkpoint-arrive var(--story-duration) cubic-bezier(0.2, 0.8, 0.2, 1) both !important;
  }
  .project-preview.is-playing .depth-membership-card {
    animation: depth-card-journey var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .depth-membership-orbit {
    animation: depth-orbit-open var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-membership-service {
    animation: depth-service-arrive var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-system-grid {
    animation: depth-grid-align var(--story-duration) cubic-bezier(0.2, 0.75, 0.2, 1) both !important;
  }
  .project-preview.is-playing .depth-system-swatch {
    animation: depth-swatches var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-room--one {
    animation: depth-room-one var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-room--two {
    animation: depth-room-two var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-room--three {
    animation: depth-room-three var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-focus-frame {
    animation: depth-focus var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .depth-evidence-lens {
    animation: depth-evidence var(--story-duration) cubic-bezier(0.2, 0.75, 0.2, 1) both !important;
  }
  .project-preview.is-playing .depth-paper--one {
    animation: depth-paper-send var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .depth-paper--two {
    animation: depth-paper-receive var(--story-duration) cubic-bezier(0.2, 0.75, 0.2, 1) both !important;
  }
  .project-preview.is-playing .depth-learning-path path {
    animation: depth-path-draw var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .depth-learning-point {
    animation: depth-learning-arrive var(--story-duration) ease-out both !important;
  }
}
@keyframes depth-filter-arrive {
  0% {
    opacity: 0;
    transform: translate(-30px, 24px) rotate(-18deg) scale(0.7);
  }
  20%,
  38% {
    opacity: 0.85;
    transform: rotate(-10deg);
  }
  65%,
  100% {
    opacity: 0.25;
    transform: translate(40px, -10px) rotate(-3deg) scale(0.8);
  }
}
@keyframes depth-filter-resolve {
  0%,
  48% {
    opacity: 0;
    transform: translate(-35px, 20px) rotate(-8deg) scale(0.65);
  }
  75%,
  100% {
    opacity: 0.9;
    transform: rotate(7deg) scale(1);
  }
}
@keyframes depth-code-arrive {
  0% {
    opacity: 0;
    transform: translate(-25px, 25px) rotate(-18deg) scale(0.8);
  }
  23%,
  45% {
    opacity: 0.8;
    transform: rotate(-8deg);
  }
  68%,
  100% {
    opacity: 0.35;
    transform: translate(25px, -10px) rotate(-3deg) scale(0.9);
  }
}
@keyframes depth-checkpoint-arrive {
  0%,
  49% {
    opacity: 0;
    transform: translate(-40px, 15px) scale(0.4);
  }
  74% {
    opacity: 1;
    transform: translate(0, 0) scale(1.1);
  }
  84%,
  100% {
    opacity: 0.9;
    transform: scale(1);
  }
}
@keyframes depth-card-journey {
  0% {
    opacity: 0;
    transform: translate(-20px, 18px) rotate(-25deg) scale(0.7);
  }
  22%,
  37% {
    opacity: 0.8;
    transform: rotate(-14deg);
  }
  66%,
  100% {
    opacity: 0.3;
    transform: translate(38px, 8px) rotate(-4deg) scale(0.8);
  }
}
@keyframes depth-orbit-open {
  0%,
  18% {
    opacity: 0;
    transform: scale(0.35) rotate(-30deg);
  }
  48%,
  100% {
    opacity: 0.65;
    transform: scale(1) rotate(0);
  }
}
@keyframes depth-service-arrive {
  0%,
  53% {
    opacity: 0;
    transform: translate(-35px, 15px) scale(0.3);
  }
  77% {
    opacity: 0.9;
    transform: scale(1.15);
  }
  88%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}
@keyframes depth-grid-align {
  0% {
    opacity: 0;
    transform: translate(-25px, 25px) rotate(-25deg) scale(0.6);
  }
  35% {
    opacity: 0.7;
    transform: rotate(-12deg) scale(1);
  }
  75%,
  100% {
    opacity: 0.45;
    transform: translate(18px, 0) rotate(0) scale(0.9);
  }
}
@keyframes depth-swatches {
  0%,
  40% {
    opacity: 0;
    transform: translate(22px, 15px) rotate(12deg) scale(0.6);
  }
  70%,
  100% {
    opacity: 0.9;
    transform: none;
  }
}
@keyframes depth-room-one {
  0%,
  12% {
    opacity: 0;
    transform: translate(-25px, 20px) rotate(-16deg) scale(0.6);
  }
  39%,
  100% {
    opacity: 0.7;
    transform: rotate(-8deg);
  }
}
@keyframes depth-room-two {
  0%,
  30% {
    opacity: 0;
    transform: translate(25px, 20px) rotate(16deg) scale(0.6);
  }
  58%,
  100% {
    opacity: 0.7;
    transform: rotate(7deg);
  }
}
@keyframes depth-room-three {
  0%,
  50% {
    opacity: 0;
    transform: translate(20px, 25px) rotate(-12deg) scale(0.6);
  }
  78%,
  100% {
    opacity: 0.7;
    transform: rotate(-4deg);
  }
}
@keyframes depth-focus {
  0% {
    opacity: 0;
    transform: translate(-25px, 0) rotate(-15deg) scale(0.7);
  }
  28%,
  45% {
    opacity: 0.8;
    transform: rotate(-8deg);
  }
  70%,
  100% {
    opacity: 0.3;
    transform: translate(25px, 0) rotate(0) scale(0.8);
  }
}
@keyframes depth-evidence {
  0%,
  51% {
    opacity: 0;
    transform: translate(-30px, 10px) scale(0.4);
  }
  76% {
    opacity: 0.9;
    transform: scale(1.12);
  }
  88%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}
@keyframes depth-paper-send {
  0% {
    opacity: 0;
    transform: translate(-25px, 18px) rotate(-25deg) scale(0.7);
  }
  22%,
  36% {
    opacity: 0.85;
    transform: rotate(-13deg);
  }
  67%,
  100% {
    opacity: 0.3;
    transform: translate(45px, 5px) rotate(-4deg) scale(0.8);
  }
}
@keyframes depth-paper-receive {
  0%,
  47% {
    opacity: 0;
    transform: translate(-45px, 10px) rotate(-8deg) scale(0.6);
  }
  78%,
  100% {
    opacity: 0.85;
    transform: rotate(12deg) scale(1);
  }
}
@keyframes depth-path-draw {
  0%,
  10% {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  75%,
  100% {
    stroke-dasharray: 500;
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
}
@keyframes depth-learning-arrive {
  0%,
  54% {
    opacity: 0;
    transform: scale(0.3);
  }
  78% {
    opacity: 1;
    transform: scale(1.2);
  }
  88%,
  100% {
    opacity: 0.9;
    transform: scale(1);
  }
}

.story-beats {
  position: absolute;
  z-index: 4;
  left: clamp(14px, 3%, 22px);
  bottom: 16px;
  width: min(58%, 240px);
  height: 26px;
  pointer-events: none;
  visibility: hidden;
}
.story-beats span {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 3px;
  background: rgba(29, 40, 33, 0.88);
  color: #fffdf2;
  font: 500 clamp(11px, 0.9vw, 13px)/1.15 var(--sans);
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
}
.project-preview.is-playing .story-beats {
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .story-beats span:first-child {
    animation: film-beat calc(var(--story-duration) * 0.32) ease-out both !important;
  }
  .project-preview.is-playing .story-beats span:nth-child(2) {
    animation: film-beat calc(var(--story-duration) * 0.34) ease-out
      calc(var(--story-duration) * 0.3) both !important;
  }
  .project-preview.is-playing .story-beats span:nth-child(3) {
    animation: film-resolution calc(var(--story-duration) * 0.35) ease-out
      calc(var(--story-duration) * 0.65) both !important;
  }
  .project-preview.is-playing .paint-landscape {
    animation-name: var(--story-camera, film-camera-push) !important;
  }
  .project-preview--gitlab {
    --story-camera: film-camera-track;
  }
  .project-preview--tesha {
    --story-camera: film-camera-close;
  }
  .project-preview--system {
    --story-camera: film-camera-reveal;
  }
  .project-preview--home {
    --story-camera: film-camera-rise;
  }
  .project-preview--vision {
    --story-camera: film-camera-focus;
  }
  .project-preview--will {
    --story-camera: film-camera-handover;
  }
  .project-preview--math {
    --story-camera: film-camera-path;
  }
}
@keyframes film-beat {
  0%,
  6% {
    opacity: 0;
    transform: translateY(7px);
  }
  23%,
  75% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-5px);
  }
}
@keyframes film-resolution {
  0%,
  6% {
    opacity: 0;
    transform: translateY(7px);
  }
  28%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes film-camera-push {
  from {
    transform: scale(1.01) translate(0, 0);
  }
  to {
    transform: scale(1.07) translate(-0.6%, -0.4%);
  }
}
@keyframes film-camera-track {
  from {
    transform: scale(1.06) translate(1%, 0);
  }
  to {
    transform: scale(1.06) translate(-1%, -0.3%);
  }
}
@keyframes film-camera-close {
  0% {
    transform: scale(1.03) translate(-0.7%, 0.4%);
  }
  55% {
    transform: scale(1.07) translate(0.4%, 0);
  }
  100% {
    transform: scale(1.05) translate(0.8%, -0.4%);
  }
}
@keyframes film-camera-reveal {
  from {
    transform: scale(1.08) translate(0, 0.5%);
  }
  to {
    transform: scale(1.01) translate(0, 0);
  }
}
@keyframes film-camera-rise {
  from {
    transform: scale(1.05) translate(0, 1%);
  }
  to {
    transform: scale(1.06) translate(-0.5%, -1%);
  }
}
@keyframes film-camera-focus {
  0%,
  25% {
    transform: scale(1.02) translate(0, 0);
  }
  70%,
  100% {
    transform: scale(1.08) translate(-0.7%, 0);
  }
}
@keyframes film-camera-handover {
  from {
    transform: scale(1.06) translate(-1%, 0);
  }
  to {
    transform: scale(1.06) translate(1%, 0);
  }
}
@keyframes film-camera-path {
  from {
    transform: scale(1.02) translate(0.6%, 0.7%);
  }
  to {
    transform: scale(1.07) translate(-0.6%, -0.7%);
  }
}

.story-engraving {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}
.story-engraving path {
  fill: none;
  stroke: #fff9e9;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 1px 1px rgba(30, 43, 35, 0.8));
}
.story-engraving circle {
  fill: #f7f4e3;
  stroke: #314337;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.project-preview.is-playing .story-engraving {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .story-engraving {
    transition:
      opacity 500ms ease-out,
      visibility 0s linear 500ms !important;
  }
  .project-preview.is-playing .story-engraving {
    transition:
      opacity 500ms ease-out,
      visibility 0s !important;
  }
  .project-preview.is-playing .story-engraving path:nth-of-type(1) {
    animation: engrave-first var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .story-engraving path:nth-of-type(2) {
    animation: engrave-second var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .story-engraving path:nth-of-type(3) {
    animation: engrave-third var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .story-engraving circle {
    animation: engrave-point var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .story-engraving circle:nth-of-type(2n) {
    animation-name: engrave-point-later !important;
  }
  .project-preview {
    --stage-scale: 1;
    --opening-x: -7px;
    --opening-y: 8px;
  }
  .project-preview--gitlab,
  .project-preview--will {
    --opening-x: 12px;
    --opening-y: 0px;
  }
  .project-preview--tesha,
  .project-preview--home {
    --opening-x: 0px;
    --opening-y: 12px;
  }
  .project-preview--system,
  .project-preview--math {
    --opening-x: 4px;
    --opening-y: -9px;
  }
  .project-preview--vision {
    --opening-x: -12px;
    --opening-y: 0px;
  }
  .project-preview.is-playing
    :is(
      .paint-orbit,
      .paint-rolodex,
      .paint-tokens,
      .paint-inspection,
      .paint-handover,
      .paint-learning
    ) {
    animation: film-stage-arrive var(--story-duration) cubic-bezier(0.2, 0.7, 0.2, 1) both !important;
  }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .project-preview {
    --stage-scale: 1.12;
  }
}
@keyframes film-stage-arrive {
  0% {
    transform: translate(-50%, -50%) translate(var(--opening-x), var(--opening-y))
      scale(calc(var(--stage-scale) * 0.94));
  }
  24% {
    transform: translate(-50%, -50%) translate(0, 0) scale(var(--stage-scale));
  }
  63% {
    transform: translate(-50%, -50%) translate(var(--story-travel-x), var(--story-travel-y))
      rotate(var(--story-tilt)) scale(calc(var(--stage-scale) * 1.015));
  }
  100% {
    transform: translate(-50%, -50%) translate(0, 0) scale(var(--stage-scale));
  }
}
@keyframes engrave-first {
  0%,
  4% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  12% {
    opacity: 0.65;
  }
  40%,
  100% {
    opacity: 0.65;
    stroke-dashoffset: 0;
  }
}
@keyframes engrave-second {
  0%,
  20% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  30% {
    opacity: 0.65;
  }
  60%,
  100% {
    opacity: 0.65;
    stroke-dashoffset: 0;
  }
}
@keyframes engrave-third {
  0%,
  42% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  52% {
    opacity: 0.65;
  }
  82%,
  100% {
    opacity: 0.65;
    stroke-dashoffset: 0;
  }
}
@keyframes engrave-point {
  0%,
  19% {
    opacity: 0;
    transform: scale(0.3);
  }
  33% {
    opacity: 0.9;
    transform: scale(1.3);
  }
  42%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
}
@keyframes engrave-point-later {
  0%,
  50% {
    opacity: 0;
    transform: scale(0.3);
  }
  64% {
    opacity: 0.9;
    transform: scale(1.3);
  }
  73%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
}

.project-preview.is-playing .project-preview__scene::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: -4%;
  display: block;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  mask-image: linear-gradient(to top, #000 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 62%);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .project-preview__scene::after {
    animation: watercolor-foreground var(--story-duration) ease-in-out both !important;
  }
  .project-preview {
    --foreground-x: 1%;
    --story-travel-x: 6px;
    --story-travel-y: -3px;
    --story-tilt: -1deg;
  }
  .project-preview--gitlab {
    --foreground-x: -1%;
    --story-travel-x: 12px;
    --story-travel-y: 0px;
    --story-tilt: 0deg;
  }
  .project-preview--tesha {
    --foreground-x: 0.6%;
    --story-travel-x: 5px;
    --story-travel-y: -6px;
    --story-tilt: 1deg;
  }
  .project-preview--system {
    --foreground-x: -0.5%;
    --story-travel-x: 0px;
    --story-travel-y: 4px;
    --story-tilt: 0deg;
  }
  .project-preview--home {
    --foreground-x: -0.8%;
    --story-travel-x: 0px;
    --story-travel-y: -7px;
    --story-tilt: 0deg;
  }
  .project-preview--vision {
    --foreground-x: 1.2%;
    --story-travel-x: 10px;
    --story-travel-y: 0px;
    --story-tilt: -1deg;
  }
  .project-preview--will {
    --foreground-x: -1.2%;
    --story-travel-x: 11px;
    --story-travel-y: 2px;
    --story-tilt: 1deg;
  }
  .project-preview--math {
    --foreground-x: 0.8%;
    --story-travel-x: 6px;
    --story-travel-y: -7px;
    --story-tilt: -1deg;
  }
}
@keyframes watercolor-foreground {
  0% {
    opacity: 0;
    transform: scale(1.02) translate(0, 0.7%);
  }
  16% {
    opacity: 0.22;
  }
  100% {
    opacity: 0.22;
    transform: scale(1.06) translate(var(--foreground-x), -0.6%);
  }
}

.paint-filter-result::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 24px;
  height: 5px;
  border-radius: 2px;
  background: #dbf1da;
  opacity: 0;
  pointer-events: none;
}
.paint-pipeline::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f4f8e8;
  box-shadow: 0 0 0 4px #eaf4dc50;
  opacity: 0;
}
.depth-room::before {
  content: '';
  position: absolute;
  inset: 17%;
  border-left: 1px solid #fff6e8b8;
  border-bottom: 1px solid #fff6e8b8;
  transform-origin: bottom left;
  opacity: 0;
}
.paint-phone-form b,
.depth-paper--two i {
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .paint-filter-result::after {
    animation: imprint-filter var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-pipeline::after {
    animation: imprint-pipeline var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .paint-phone-form b {
    animation: imprint-phone var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .paint-phone-form b:nth-of-type(2) {
    animation-name: imprint-phone-later !important;
  }
  .project-preview.is-playing .depth-system-swatch i {
    animation: imprint-swatch var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-system-swatch i:nth-child(2) {
    animation-name: imprint-swatch-later !important;
  }
  .project-preview.is-playing .depth-room::before {
    animation: imprint-room var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .paint-evidence-window i {
    animation: imprint-evidence var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-paper--two i {
    animation: imprint-record var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .depth-paper--two i:last-child {
    animation-name: imprint-record-later !important;
  }
  .project-preview.is-playing .paint-learning-note b {
    animation: imprint-question var(--story-duration) ease-out both !important;
  }
}
@keyframes imprint-filter {
  0%,
  58% {
    opacity: 0;
    transform: translateY(0);
  }
  68% {
    opacity: 0.38;
  }
  87%,
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes imprint-pipeline {
  0%,
  12% {
    left: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  70% {
    left: 100%;
    opacity: 1;
  }
  80%,
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes imprint-phone {
  0%,
  33% {
    opacity: 0;
    transform: scaleX(0.1);
  }
  55%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes imprint-phone-later {
  0%,
  47% {
    opacity: 0;
    transform: scaleX(0.1);
  }
  70%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes imprint-swatch {
  0%,
  43% {
    opacity: 0;
    transform: scale(0.35);
  }
  66% {
    opacity: 1;
    transform: scale(1.12);
  }
  76%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes imprint-swatch-later {
  0%,
  55% {
    opacity: 0;
    transform: scale(0.35);
  }
  77% {
    opacity: 1;
    transform: scale(1.12);
  }
  87%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes imprint-room {
  0%,
  38% {
    opacity: 0;
    transform: scale(0.6);
  }
  64%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
}
@keyframes imprint-evidence {
  0%,
  55% {
    opacity: 0;
    transform: scale(0.65);
  }
  75%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes imprint-record {
  0%,
  59% {
    opacity: 0;
    transform: scaleX(0);
  }
  76%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes imprint-record-later {
  0%,
  70% {
    opacity: 0;
    transform: scaleX(0);
  }
  87%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes imprint-question {
  0%,
  38% {
    opacity: 0;
    transform: translateY(4px);
  }
  62%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.film-stage {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.12);
  transform-origin: center center;
}
.project-preview.is-playing .film-stage {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .film-stage {
    transition:
      opacity 650ms ease-out,
      transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 650ms !important;
  }
  .project-preview.is-playing .film-stage {
    transition:
      opacity 550ms ease-out,
      visibility 0s !important;
  }
  .film-stage > g,
  .film-stage > path,
  .film-chip,
  .film-system-variants > g {
    transition: opacity 650ms ease-out !important;
  }
}
.film-stage text {
  fill: #243c2e;
  font: 600 12px/1 var(--sans);
  text-anchor: middle;
}
.film-stage .film-title {
  font-size: 13px;
  font-weight: 700;
  text-anchor: start;
}
.film-stage .film-small {
  font-size: 11px;
  text-anchor: start;
}
.film-stage .film-symbol {
  font-size: 16px;
}
.film-stage .film-paper {
  fill: #f7f4e7;
  fill-opacity: 0.96;
  stroke: #4e6653;
  stroke-opacity: 0.48;
  stroke-width: 1;
}
.film-stage .film-shadow {
  filter: drop-shadow(0 5px 8px #21332638);
}
.film-stage .film-node {
  fill: #e7efdb;
  stroke: #f8f6e9;
  stroke-width: 1.5;
}
.film-stage .film-halo {
  fill: #edf2de;
  fill-opacity: 0.3;
  stroke: #f4f4e3;
  stroke-opacity: 0.65;
}
.film-stage .film-dot {
  fill: #5b8a6c;
}
.film-stage .film-line,
.film-stage .film-outline {
  fill: none;
  stroke: #345341;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.film-stage .film-rule {
  fill: none;
  stroke: #a5b5a3;
  stroke-width: 1;
  stroke-linecap: round;
}
.film-stage .film-rule--strong {
  stroke: #789681;
  stroke-width: 3;
}
.film-stage .film-field {
  fill: #e6ebdb;
}
.film-stage .film-draw {
  fill: none;
  stroke: #f5f6e6;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.film-stage > g,
.film-stage > path,
.film-chip,
.film-system-variants > g {
  opacity: 0;
}
.film-stage .film-spectro-chips,
.film-stage .film-system-variants {
  opacity: 1;
}
.film-stage g,
.film-stage circle,
.film-stage path {
  transform-box: fill-box;
  transform-origin: center;
}
.film-spectro-field circle {
  fill: #e3eed6;
  stroke: #456f53;
  stroke-width: 1.4;
}
.film-stage .film-mask {
  font-size: 13px;
  letter-spacing: 2px;
}
.film-tesha-card .film-card {
  fill: #174d34;
  stroke: #d6e8cf;
  stroke-width: 1.2;
  filter: drop-shadow(0 7px 9px #203b2c55);
}
.film-tesha-card .film-card-name {
  fill: #f8fbef;
  font-size: 22px;
  font-weight: 750;
  text-anchor: start;
  letter-spacing: -1px;
}
.film-tesha-card .film-card-mark {
  fill: #b9d7b3;
}
.film-tesha-card .film-card-line {
  fill: none;
  stroke: #d4e6d0;
  stroke-width: 1.6;
}
.film-phone {
  fill: #254735;
  stroke: #d7e8d1;
  stroke-width: 1;
}
.film-phone-screen {
  fill: #f5f6e9;
}
.film-guide {
  fill: none;
  stroke: #fff8ea;
  stroke-width: 1;
  stroke-dasharray: 4 5;
  opacity: 0.8;
}
.film-system-result .film-title {
  text-anchor: middle;
}
.film-home-outline {
  stroke-width: 1.8;
}
.film-focus-outline {
  fill: none;
  stroke: #fff6e8;
  stroke-width: 2;
  stroke-linecap: round;
}
.film-bottle {
  fill: #f7f3e4;
  fill-opacity: 0.78;
  stroke: #6b725b;
  stroke-width: 1.5;
}
.film-defect {
  fill: none;
  stroke: #ad593c;
  stroke-width: 1.7;
  stroke-dasharray: 3 2;
}
.film-defect-line {
  fill: none;
  stroke: #a44b34;
  stroke-width: 2;
  stroke-linecap: round;
}
.film-will-path,
.film-vision-connector,
.film-tesha-link,
.film-math-path {
  stroke: #f8f5e7;
}
.film-question {
  font: italic 24px/1 var(--display) !important;
  text-anchor: start !important;
}
.film-stage .film-math-needle {
  fill: none;
  stroke: #476b54;
  stroke-width: 3;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 240px 146px;
}
@media (prefers-reduced-motion: no-preference) {
  .film-stage {
    transition:
      opacity 450ms ease-out,
      visibility 0s linear 450ms !important;
  }
  .project-preview.is-playing .film-stage {
    transition:
      opacity 450ms ease-out,
      visibility 0s !important;
  }
  .project-preview.is-playing .film-spectro-field {
    animation: film-field var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-spectro-focus {
    animation: film-focus var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-chip--one {
    animation: film-chip-one var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-chip--two {
    animation: film-chip-two var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-chip--three {
    animation: film-chip-three var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-spectro-result {
    animation: film-panel-late var(--story-duration) cubic-bezier(0.2, 0.7, 0.2, 1) both !important;
  }
  .project-preview.is-playing .film-gitlab-start {
    animation: film-enter-early var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-gitlab-path {
    animation: film-path-one var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-gitlab-inspect {
    animation: film-enter-middle var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-gitlab-panel {
    animation: film-panel-late var(--story-duration) cubic-bezier(0.2, 0.7, 0.2, 1) both !important;
  }
  .project-preview.is-playing .film-tesha-card {
    animation: film-card-turn var(--story-duration) cubic-bezier(0.2, 0.7, 0.2, 1) both !important;
  }
  .project-preview.is-playing .film-tesha-phone {
    animation: film-phone-open var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-tesha-link {
    animation: film-path-middle var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-tesha-service {
    animation: film-enter-late var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-system-guides {
    animation: film-guides var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-variant--one {
    animation: film-align-one var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-variant--two {
    animation: film-align-two var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-variant--three {
    animation: film-align-three var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-system-result {
    animation: film-system-resolve var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-home-house {
    animation: film-enter-early var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-home-outline {
    animation: film-draw-house var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-home-devices {
    animation: film-home-gather var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-home-services {
    animation: film-enter-late var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-vision-frame {
    animation: film-enter-early var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-vision-bottle {
    animation: film-bottle-arrive var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-vision-defect {
    animation: film-defect-find var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-vision-evidence {
    animation: film-enter-late var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-vision-connector {
    animation: film-path-late var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-will-origin {
    animation: film-enter-early var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-will-authority {
    animation: film-enter-middle var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-will-destination {
    animation: film-enter-late var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-will-path {
    animation: film-path-middle var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-will-record {
    animation: film-record-handover var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-will-work {
    animation: film-panel-late var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-math-dial {
    animation: film-enter-early var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-math-needle {
    animation: film-dial-turn var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-math-note {
    animation: film-enter-middle var(--story-duration) ease-out both !important;
  }
  .project-preview.is-playing .film-math-path {
    animation: film-path-late var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-math-next {
    animation: film-enter-late var(--story-duration) ease-out both !important;
  }
}
@keyframes film-enter-early {
  0%,
  3% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  18%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-enter-middle {
  0%,
  20% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  42%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-enter-late {
  0%,
  48% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  70%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-field {
  0%,
  3% {
    opacity: 0;
  }
  17%,
  36% {
    opacity: 0.8;
  }
  57%,
  100% {
    opacity: 0;
  }
}
@keyframes film-focus {
  0%,
  7% {
    opacity: 0;
    transform: scale(0.5);
  }
  20%,
  45% {
    opacity: 1;
    transform: scale(1);
  }
  58%,
  100% {
    opacity: 0;
    transform: scale(0.85);
  }
}
@keyframes film-chip-one {
  0%,
  14% {
    opacity: 0;
    transform: translateY(9px);
  }
  29%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-chip-two {
  0%,
  24% {
    opacity: 0;
    transform: translateY(9px);
  }
  39%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-chip-three {
  0%,
  34% {
    opacity: 0;
    transform: translateY(9px);
  }
  49%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-panel-late {
  0%,
  42% {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  72%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-path-one {
  0%,
  10% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  20% {
    opacity: 0.9;
  }
  43%,
  100% {
    opacity: 0.9;
    stroke-dashoffset: 0;
  }
}
@keyframes film-path-middle {
  0%,
  30% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  38% {
    opacity: 0.9;
  }
  65%,
  100% {
    opacity: 0.9;
    stroke-dashoffset: 0;
  }
}
@keyframes film-path-late {
  0%,
  50% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  58% {
    opacity: 0.9;
  }
  76%,
  100% {
    opacity: 0.9;
    stroke-dashoffset: 0;
  }
}
@keyframes film-card-turn {
  0%,
  2% {
    opacity: 0;
    transform: perspective(450px) translateX(-36px) rotate(-14deg) rotateY(-48deg) scale(0.78, 0.95);
  }
  22% {
    opacity: 1;
    transform: perspective(450px) translateX(0) rotate(-4deg) rotateY(8deg) scale(1);
  }
  43%,
  100% {
    opacity: 1;
    transform: perspective(450px) translateX(0) rotate(0) rotateY(0) scale(1);
  }
}
@keyframes film-phone-open {
  0%,
  22% {
    opacity: 0;
    transform: translateX(-15px) scale(0.85);
  }
  48%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-guides {
  0%,
  12% {
    opacity: 0;
  }
  30%,
  70% {
    opacity: 0.8;
  }
  86%,
  100% {
    opacity: 0.35;
  }
}
@keyframes film-align-one {
  0%,
  4% {
    opacity: 0;
    transform: translate(-20px, -10px) rotate(-5deg);
  }
  20%,
  38% {
    opacity: 1;
    transform: none;
  }
  62%,
  100% {
    opacity: 0;
    transform: translate(110px, 35px);
  }
}
@keyframes film-align-two {
  0%,
  8% {
    opacity: 0;
    transform: translate(0, 8px) rotate(3deg);
  }
  24%,
  38% {
    opacity: 1;
    transform: none;
  }
  62%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes film-align-three {
  0%,
  12% {
    opacity: 0;
    transform: translate(20px, 8px) rotate(7deg);
  }
  28%,
  38% {
    opacity: 1;
    transform: none;
  }
  62%,
  100% {
    opacity: 0;
    transform: translate(-110px, -35px);
  }
}
@keyframes film-system-resolve {
  0%,
  50% {
    opacity: 0;
    transform: scale(0.94);
  }
  74%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-draw-house {
  0%,
  14% {
    stroke-dashoffset: 1;
  }
  60%,
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes film-home-gather {
  0%,
  8% {
    opacity: 0;
    transform: scale(0.87);
  }
  28% {
    opacity: 1;
    transform: scale(1.03);
  }
  42%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-bottle-arrive {
  0%,
  3% {
    opacity: 0;
    transform: translateX(-90px);
  }
  22%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes film-defect-find {
  0%,
  28% {
    opacity: 0;
    transform: scale(0.5);
  }
  38% {
    opacity: 1;
    transform: scale(1.15);
  }
  48%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.project-preview--spectro {
  --film-ink: #244f4b;
  --film-accent: #497c70;
  --film-node: #e0ece5;
}
.project-preview--gitlab {
  --film-ink: #5a3f51;
  --film-accent: #8c5c54;
  --film-node: #f1e4d8;
}
.project-preview--tesha {
  --film-ink: #174d34;
  --film-accent: #3d7653;
  --film-node: #e1eedf;
}
.project-preview--system {
  --film-ink: #4f4566;
  --film-accent: #78698a;
  --film-node: #ebe6ef;
}
.project-preview--home {
  --film-ink: #31524d;
  --film-accent: #63806f;
  --film-node: #e6eee2;
}
.project-preview--vision {
  --film-ink: #38515a;
  --film-accent: #944938;
  --film-node: #e2ebea;
}
.project-preview--will {
  --film-ink: #614635;
  --film-accent: #9b704e;
  --film-node: #f2e9d7;
}
.project-preview--math {
  --film-ink: #35584e;
  --film-accent: #60836b;
  --film-node: #e3eee1;
}
.film-stage text {
  fill: var(--film-ink, #243c2e);
  paint-order: stroke fill;
  stroke: #f8f5e8;
  stroke-opacity: 0.7;
  stroke-width: 2px;
  stroke-linejoin: round;
}
.film-stage .film-line,
.film-stage .film-outline {
  stroke: var(--film-ink, #345341);
}
.film-stage .film-dot {
  fill: var(--film-accent, #5b8a6c);
}
.film-stage .film-node {
  fill: var(--film-node, #e7efdb);
}
.film-spectro-field circle {
  stroke: var(--film-accent, #456f53);
}
.film-home-device,
.film-system-master,
.film-system-context {
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .is-playing .film-home-device--router {
    animation: film-device-router var(--story-duration) ease-out both !important;
  }
  .is-playing .film-home-device--camera {
    animation: film-device-camera var(--story-duration) ease-out both !important;
  }
  .is-playing .film-home-device--extender {
    animation: film-device-extender var(--story-duration) ease-out both !important;
  }
  .is-playing .film-system-master {
    animation: film-badge-master var(--story-duration) ease-out both !important;
  }
  .is-playing .film-system-context--first {
    animation: film-badge-first var(--story-duration) ease-out both !important;
  }
  .is-playing .film-system-context--second {
    animation: film-badge-second var(--story-duration) ease-out both !important;
  }
}
@keyframes film-device-router {
  0%,
  10% {
    opacity: 0;
    transform: translate(-18px, 5px);
  }
  34%,
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes film-device-camera {
  0%,
  17% {
    opacity: 0;
    transform: translateY(-13px);
  }
  41%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes film-device-extender {
  0%,
  24% {
    opacity: 0;
    transform: translate(18px, 5px);
  }
  48%,
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes film-badge-master {
  0%,
  49% {
    opacity: 0;
    transform: scale(0.92);
  }
  68%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes film-badge-first {
  0%,
  59% {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  79%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes film-badge-second {
  0%,
  67% {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
  87%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes film-record-handover {
  0%,
  5% {
    opacity: 0;
    transform: translateX(-10px);
  }
  20%,
  35% {
    opacity: 1;
    transform: translateX(0);
  }
  52%,
  58% {
    opacity: 1;
    transform: translateX(105px);
  }
  75% {
    opacity: 1;
    transform: translateX(210px);
  }
  86%,
  100% {
    opacity: 0;
    transform: translateX(210px);
  }
}
@keyframes film-dial-turn {
  0%,
  12% {
    transform: rotate(-55deg);
  }
  32% {
    transform: rotate(6deg);
  }
  41% {
    transform: rotate(-2deg);
  }
  50%,
  100% {
    transform: rotate(0);
  }
}
.film-stage .film-phone-heading {
  font-size: 8px;
  text-anchor: middle;
}
.film-stage .film-vision-caption {
  font-size: 8px;
  text-anchor: start;
}
@media (max-width: 480px) {
  .film-stage {
    transform: scale(1.2);
  }
  .film-stage text {
    font-size: 15px;
  }
  .film-stage .film-small {
    font-size: 13px;
  }
}

.film-foreground {
  position: absolute;
  z-index: 2;
  inset: -5%;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: multiply;
}
.project-preview--spectro .film-foreground {
  background-image: url('assets/work/film-foreground/spectro.avif');
  --front-drift: 2%;
}
.project-preview--gitlab .film-foreground {
  background-image: url('assets/work/film-foreground/gitlab.avif');
  --front-drift: -2%;
}
.project-preview--tesha .film-foreground {
  background-image: url('assets/work/film-foreground/tesha.avif');
  --front-drift: 1.5%;
}
.project-preview--system .film-foreground {
  background-image: url('assets/work/film-foreground/system.avif');
  --front-drift: -1.5%;
}
.project-preview--home .film-foreground {
  background-image: url('assets/work/film-foreground/home.avif');
  --front-drift: 2%;
}
.project-preview--vision .film-foreground {
  background-image: url('assets/work/film-foreground/vision.avif');
  --front-drift: -1%;
}
.project-preview--will .film-foreground {
  background-image: url('assets/work/film-foreground/will.avif');
  --front-drift: 1.5%;
}
.project-preview--math .film-foreground {
  background-image: url('assets/work/film-foreground/math.avif');
  --front-drift: -2%;
}
.project-preview.is-playing .film-foreground {
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .film-foreground {
    transition:
      opacity 650ms ease-out,
      visibility 0s linear 650ms !important;
  }
  .project-preview.is-playing .film-foreground {
    animation: foreground-cinema var(--story-duration) ease-in-out both !important;
    transition: visibility 0s !important;
  }
}
@keyframes foreground-cinema {
  0% {
    opacity: 0;
    transform: translateX(0) scale(1.02);
  }
  20% {
    opacity: 0.72;
  }
  100% {
    opacity: 0.72;
    transform: translateX(var(--front-drift)) scale(1.07);
  }
}

.film-gitlab-signal {
  fill: #f6f4e4;
  stroke: #546e5b;
  stroke-width: 1;
  opacity: 0;
}
.film-vision-scan {
  fill: none;
  stroke: #fdf7e6;
  stroke-width: 2;
  opacity: 0;
}
.film-home-signal {
  fill: none;
  stroke: #f8f4e3;
  stroke-width: 1.2;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .is-playing .film-gitlab-signal {
    animation: film-gitlab-travel var(--story-duration) ease-in-out both !important;
  }
  .is-playing .film-vision-scan {
    animation: film-inspection-scan var(--story-duration) ease-in-out both !important;
  }
  .is-playing .film-home-signal--first {
    animation: film-home-ripple-one var(--story-duration) ease-out both !important;
  }
  .is-playing .film-home-signal--second {
    animation: film-home-ripple-two var(--story-duration) ease-out both !important;
  }
}
@keyframes film-gitlab-travel {
  0%,
  13% {
    opacity: 0;
    transform: translateX(0);
  }
  18% {
    opacity: 1;
  }
  30%,
  35% {
    opacity: 1;
    transform: translateX(195px);
  }
  52% {
    opacity: 1;
    transform: translateX(390px);
  }
  62%,
  100% {
    opacity: 0;
    transform: translateX(390px);
  }
}
@keyframes film-inspection-scan {
  0%,
  12% {
    opacity: 0;
    transform: translateX(0);
  }
  17% {
    opacity: 0.8;
  }
  38% {
    opacity: 0.8;
    transform: translateX(170px);
  }
  46%,
  100% {
    opacity: 0;
    transform: translateX(170px);
  }
}
@keyframes film-home-ripple-one {
  0%,
  17% {
    opacity: 0;
    transform: scale(0.7);
  }
  24% {
    opacity: 0.65;
  }
  54%,
  100% {
    opacity: 0;
    transform: scale(4);
  }
}
@keyframes film-home-ripple-two {
  0%,
  32% {
    opacity: 0;
    transform: scale(0.7);
  }
  39% {
    opacity: 0.48;
  }
  69%,
  100% {
    opacity: 0;
    transform: scale(4);
  }
}

.film-stage .film-spectro-ink,
.film-stage .film-tesha-journey {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}
.film-stage .film-spectro-ink {
  stroke: #f5f3db;
  stroke-width: 2.5;
}
.film-stage .film-tesha-journey {
  stroke: #e7eeda;
  stroke-width: 3;
}
.film-stage .film-will-handover {
  fill: none;
  stroke: #f8f5e7;
  stroke-width: 1.5;
  opacity: 0;
}
.film-stage .film-math-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .is-playing .film-spectro-ink {
    animation: film-ink-selection var(--story-duration) ease-in-out both !important;
  }
  .is-playing .film-tesha-journey {
    animation: film-ink-journey var(--story-duration) ease-in-out both !important;
  }
  .is-playing .film-will-handover {
    animation: film-handover-mark var(--story-duration) ease-out both !important;
  }
  .is-playing .film-math-line--one {
    animation: film-write-one var(--story-duration) ease-out both !important;
  }
  .is-playing .film-math-line--two {
    animation: film-write-two var(--story-duration) ease-out both !important;
  }
  .is-playing .film-math-line--three {
    animation: film-write-three var(--story-duration) ease-out both !important;
  }
}
@keyframes film-ink-selection {
  0%,
  9% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  16% {
    opacity: 0.8;
  }
  35% {
    opacity: 0.8;
    stroke-dashoffset: 0;
  }
  53%,
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}
@keyframes film-ink-journey {
  0%,
  18% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  26% {
    opacity: 0.72;
  }
  52% {
    opacity: 0.72;
    stroke-dashoffset: 0;
  }
  74%,
  100% {
    opacity: 0.25;
    stroke-dashoffset: 0;
  }
}
@keyframes film-handover-mark {
  0%,
  32% {
    opacity: 0;
    transform: scale(0.85);
  }
  41% {
    opacity: 0.7;
  }
  64%,
  100% {
    opacity: 0;
    transform: scale(2);
  }
}
@keyframes film-write-one {
  0%,
  38% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  41% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes film-write-two {
  0%,
  47% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  50% {
    opacity: 1;
  }
  60%,
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes film-write-three {
  0%,
  56% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  59% {
    opacity: 1;
  }
  69%,
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

.film-wash {
  position: absolute;
  z-index: 1;
  inset: -12%;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(
      ellipse 30% 28% at var(--wash-x, 50%) var(--wash-y, 50%),
      var(--wash-color, rgba(141, 151, 113, 0.32)),
      transparent 80%
    ),
    radial-gradient(ellipse 48% 38% at 55% 62%, rgba(248, 235, 202, 0.3), transparent 82%);
  mix-blend-mode: multiply;
}
.project-preview.is-playing .film-wash {
  visibility: visible;
}
.project-preview--spectro {
  --wash-x: 50%;
  --wash-y: 47%;
  --wash-color: rgba(105, 139, 124, 0.4);
  --shot-start: translate(-1.2%, 0.5%) scale(1.09);
  --shot-mid: translate(0, 0) scale(1.12);
  --shot-end: translate(0.4%, -0.4%) scale(1.14);
  --wash-drift: 1%;
}
.project-preview--gitlab {
  --wash-x: 43%;
  --wash-y: 52%;
  --wash-color: rgba(171, 117, 93, 0.36);
  --shot-start: translate(-1.4%, 0) scale(1.1);
  --shot-mid: translate(0, 0) scale(1.12);
  --shot-end: translate(1%, -0.2%) scale(1.12);
  --wash-drift: 2%;
}
.project-preview--tesha {
  --wash-x: 43%;
  --wash-y: 56%;
  --wash-color: rgba(108, 151, 123, 0.42);
  --shot-start: translate(-1%, 0.7%) scale(1.08);
  --shot-mid: translate(0.3%, 0) scale(1.14);
  --shot-end: translate(0.6%, -0.3%) scale(1.12);
  --wash-drift: 1.5%;
}
.project-preview--system {
  --wash-x: 50%;
  --wash-y: 50%;
  --wash-color: rgba(170, 133, 108, 0.38);
  --shot-start: translate(0, 0.5%) scale(1.16);
  --shot-mid: translate(0, 0) scale(1.13);
  --shot-end: translate(0, -0.2%) scale(1.11);
  --wash-drift: -0.7%;
}
.project-preview--home {
  --wash-x: 50%;
  --wash-y: 60%;
  --wash-color: rgba(160, 139, 100, 0.36);
  --shot-start: translate(0, 1%) scale(1.09);
  --shot-mid: translate(0, 0) scale(1.12);
  --shot-end: translate(-0.4%, -0.7%) scale(1.14);
  --wash-drift: -1%;
}
.project-preview--vision {
  --wash-x: 50%;
  --wash-y: 46%;
  --wash-color: rgba(115, 152, 145, 0.38);
  --shot-start: translate(0.3%, 0) scale(1.08);
  --shot-mid: translate(0, 0) scale(1.12);
  --shot-end: translate(-0.2%, 0) scale(1.15);
  --wash-drift: -0.8%;
}
.project-preview--will {
  --wash-x: 40%;
  --wash-y: 55%;
  --wash-color: rgba(164, 133, 100, 0.36);
  --shot-start: translate(-1.1%, 0) scale(1.11);
  --shot-mid: translate(0, 0) scale(1.12);
  --shot-end: translate(1.1%, 0) scale(1.12);
  --wash-drift: 1.5%;
}
.project-preview--math {
  --wash-x: 57%;
  --wash-y: 48%;
  --wash-color: rgba(132, 150, 118, 0.38);
  --shot-start: translate(0.6%, 0.7%) scale(1.09);
  --shot-mid: translate(0, 0) scale(1.12);
  --shot-end: translate(-0.6%, -0.5%) scale(1.14);
  --wash-drift: -1.2%;
}
@media (prefers-reduced-motion: no-preference) {
  .film-wash,
  .film-pigment {
    transition:
      opacity 650ms ease-out,
      visibility 0s linear 650ms !important;
  }
  .project-preview.is-playing :is(.film-wash, .film-pigment) {
    transition: visibility 0s !important;
  }
  .project-preview.is-playing .film-stage {
    animation: film-story-camera var(--story-duration) ease-in-out both !important;
  }
  .project-preview.is-playing .film-wash {
    animation: film-pigment-bloom var(--story-duration) ease-in-out both !important;
  }
}
@keyframes film-story-camera {
  0% {
    transform: scale(var(--shot-mobile, 1)) var(--shot-start);
  }
  45% {
    transform: scale(var(--shot-mobile, 1)) var(--shot-mid);
  }
  100% {
    transform: scale(var(--shot-mobile, 1)) var(--shot-end);
  }
}
@keyframes film-pigment-bloom {
  0%,
  4% {
    opacity: 0;
    transform: translateX(0) scale(0.94);
  }
  34% {
    opacity: 0.72;
  }
  75% {
    opacity: 0.54;
  }
  100% {
    opacity: 0.35;
    transform: translateX(var(--wash-drift)) scale(1.04);
  }
}
@media (max-width: 480px) {
  .project-preview {
    --shot-mobile: 1.0714;
  }
}

.film-spectro-field circle:nth-child(1) {
  --collect-x: 115px;
  --collect-y: 26px;
}
.film-spectro-field circle:nth-child(2) {
  --collect-x: 46px;
  --collect-y: 63px;
}
.film-spectro-field circle:nth-child(3) {
  --collect-x: -53px;
  --collect-y: 39px;
}
.film-spectro-field circle:nth-child(4) {
  --collect-x: -123px;
  --collect-y: -19px;
}
.film-spectro-field circle:nth-child(5) {
  --collect-x: 80px;
  --collect-y: -66px;
}
.film-spectro-field circle:nth-child(6) {
  --collect-x: -71px;
  --collect-y: -83px;
}
.film-tesha-option {
  opacity: 0;
}
.film-guide--horizontal,
.film-guide--vertical {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .is-playing .film-spectro-field circle {
    animation: film-gather-resources var(--story-duration) ease-in-out both !important;
  }
  .is-playing .film-tesha-option--fuel {
    animation: film-membership-fuel var(--story-duration) ease-out both !important;
  }
  .is-playing .film-tesha-option--cover {
    animation: film-membership-cover var(--story-duration) ease-out both !important;
  }
  .is-playing .film-guide--horizontal {
    animation: film-guide-horizontal var(--story-duration) ease-out both !important;
  }
  .is-playing .film-guide--vertical {
    animation: film-guide-vertical var(--story-duration) ease-out both !important;
  }
}
@keyframes film-gather-resources {
  0%,
  30% {
    transform: translate(0, 0) scale(1);
  }
  56%,
  100% {
    transform: translate(var(--collect-x), var(--collect-y)) scale(0.6);
  }
}
@keyframes film-membership-fuel {
  0%,
  34% {
    opacity: 0;
    transform: translateY(4px);
  }
  47%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes film-membership-cover {
  0%,
  43% {
    opacity: 0;
    transform: translateY(4px);
  }
  56%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes film-guide-horizontal {
  0%,
  15% {
    stroke-dashoffset: 1;
  }
  38%,
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes film-guide-vertical {
  0%,
  24% {
    stroke-dashoffset: 1;
  }
  47%,
  100% {
    stroke-dashoffset: 0;
  }
}

.film-pigment {
  position: absolute;
  z-index: 2;
  inset: -5%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background-position: center;
  background-size: 88% 90%;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}
.project-preview--spectro .film-pigment {
  background-image: url('assets/work/film-pigment/spectro.avif');
  --pigment-film: pigment-converge;
}
.project-preview--gitlab .film-pigment {
  background-image: url('assets/work/film-pigment/gitlab-v2.avif');
  --pigment-film: pigment-track;
}
.project-preview--tesha .film-pigment {
  background-image: url('assets/work/film-pigment/tesha.avif');
  --pigment-film: pigment-unfold;
}
.project-preview--system .film-pigment {
  background-image: url('assets/work/film-pigment/system.avif');
  --pigment-film: pigment-align;
}
.project-preview--home .film-pigment {
  background-image: url('assets/work/film-pigment/home-v2.avif');
  --pigment-film: pigment-gather;
}
.project-preview--vision .film-pigment {
  background-image: url('assets/work/film-pigment/vision.avif');
  --pigment-film: pigment-focus;
}
.project-preview--will .film-pigment {
  background-image: url('assets/work/film-pigment/will.avif');
  --pigment-film: pigment-handover;
}
.project-preview--math .film-pigment {
  background-image: url('assets/work/film-pigment/math.avif');
  --pigment-film: pigment-unfurl;
}
.project-preview.is-playing .film-pigment {
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .project-preview.is-playing .film-pigment {
    animation: var(--pigment-film) var(--story-duration) ease-in-out both !important;
  }
}
@keyframes pigment-converge {
  0%,
  5% {
    opacity: 0;
    transform: scale(1.18);
  }
  25% {
    opacity: 0.7;
  }
  48% {
    opacity: 0.5;
    transform: scale(0.96);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(0.94);
  }
}
@keyframes pigment-track {
  0%,
  5% {
    opacity: 0;
    transform: translateX(-9%) scale(1.03);
  }
  25%,
  45% {
    opacity: 0.65;
  }
  70%,
  100% {
    opacity: 0;
    transform: translateX(7%) scale(1.03);
  }
}
@keyframes pigment-unfold {
  0%,
  7% {
    opacity: 0;
    transform: translateX(-5%) rotate(-3deg) scale(0.9);
  }
  33% {
    opacity: 0.65;
  }
  65%,
  100% {
    opacity: 0;
    transform: translateX(4%) rotate(0) scale(1.08);
  }
}
@keyframes pigment-align {
  0%,
  4% {
    opacity: 0;
    transform: rotate(-4deg) scale(1.12);
  }
  24% {
    opacity: 0.7;
  }
  48% {
    opacity: 0.55;
    transform: rotate(0) scale(1);
  }
  72%,
  100% {
    opacity: 0;
    transform: scale(0.98);
  }
}
@keyframes pigment-gather {
  0%,
  6% {
    opacity: 0;
    transform: translateY(4%) scale(0.82);
  }
  34% {
    opacity: 0.65;
    transform: translateY(0) scale(1.02);
  }
  69%,
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}
@keyframes pigment-focus {
  0%,
  10% {
    opacity: 0;
    transform: scale(1.22);
  }
  28% {
    opacity: 0.65;
  }
  46% {
    opacity: 0.6;
    transform: scale(0.96);
  }
  68%,
  100% {
    opacity: 0;
    transform: scale(0.96);
  }
}
@keyframes pigment-handover {
  0%,
  12% {
    opacity: 0;
    transform: translateX(-6%) rotate(-2deg);
  }
  35%,
  49% {
    opacity: 0.65;
  }
  76%,
  100% {
    opacity: 0;
    transform: translateX(7%) rotate(2deg);
  }
}
@keyframes pigment-unfurl {
  0%,
  8% {
    opacity: 0;
    transform: rotate(-12deg) scale(0.9);
  }
  34% {
    opacity: 0.6;
  }
  72%,
  100% {
    opacity: 0;
    transform: rotate(3deg) scale(1.08);
  }
}

@supports (animation-timeline: view()) and (animation-range: entry 0% entry 100%) {
  @media (prefers-reduced-motion: no-preference) {
    .project-preview__scene {
      animation: painting-scroll-arrival linear both !important;
      animation-timeline: view() !important;
      animation-range: entry 20% entry 100% !important;
    }
    .project-preview__number {
      animation: project-kicker-arrival linear both !important;
      animation-timeline: view() !important;
      animation-range: entry 0% entry 70% !important;
    }
    .project-preview__copy h3 {
      animation: project-heading-arrival linear both !important;
      animation-timeline: view() !important;
      animation-range: entry 5% entry 90% !important;
    }
    .project-preview__copy p {
      animation: project-body-arrival linear both !important;
      animation-timeline: view() !important;
      animation-range: entry 10% entry 100% !important;
    }
  }
}
.project-preview--spectro {
  --scroll-x-end: 0%;
  --scroll-y: 70%;
  --scroll-pan: 1.5%;
}
.project-preview--gitlab {
  --scroll-x-end: 35%;
  --scroll-y: 70%;
  --scroll-pan: -1.5%;
}
.project-preview--tesha {
  --scroll-x-end: 65%;
  --scroll-y: 70%;
  --scroll-pan: 1.5%;
}
.project-preview--system {
  --scroll-x-end: 100%;
  --scroll-y: 70%;
  --scroll-pan: -1.5%;
}
.project-preview--home {
  --scroll-x-end: 50%;
  --scroll-pan: 1.5%;
}
.project-preview--vision {
  --scroll-x-end: 50%;
  --scroll-pan: -1.5%;
}
.project-preview--will {
  --scroll-x-end: 50%;
  --scroll-pan: 1.5%;
}
.project-preview--math {
  --scroll-x-end: 50%;
  --scroll-pan: -1.5%;
}
@keyframes painting-scroll-arrival {
  from {
    clip-path: inset(100% 0 0 0 round 14px);
    --watercolor-line: 116%;
  }
  to {
    clip-path: inset(0 0 0 0 round 14px);
    --watercolor-line: -16%;
  }
}
@keyframes project-kicker-arrival {
  from {
    clip-path: inset(0 0 15% 0);
    transform: translateY(8px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}
@keyframes project-heading-arrival {
  from {
    clip-path: inset(0 0 78% 0);
    transform: translateY(44px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}
@keyframes project-body-arrival {
  from {
    clip-path: inset(0 0 72% 0);
    transform: translateY(42px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}

@supports (view-timeline-name: --project-film) and (animation-timeline: --project-film) {
  @media (prefers-reduced-motion: no-preference) {
    html.watercolor-soft-mask .project-preview__scene {
      clip-path: none !important;
      --watercolor-soft-edge: linear-gradient(
        var(--watercolor-angle, 180deg),
        transparent calc(var(--watercolor-line) - 14%),
        rgba(0, 0, 0, 0.045) calc(var(--watercolor-line) - 10%),
        rgba(0, 0, 0, 0.18) calc(var(--watercolor-line) - 6%),
        rgba(0, 0, 0, 0.5) var(--watercolor-line),
        rgba(0, 0, 0, 0.82) calc(var(--watercolor-line) + 6%),
        rgba(0, 0, 0, 0.955) calc(var(--watercolor-line) + 10%),
        #000 calc(var(--watercolor-line) + 14%)
      );
      -webkit-mask-image: var(--watercolor-soft-edge);
      mask-image: var(--watercolor-soft-edge);
    }
    html.watercolor-soft-mask .paint-reveal-edge {
      display: none;
    }
    .project-preview {
      view-timeline-name: --project-film;
      view-timeline-axis: block;
    }
    .project-preview__scene {
      background-position: var(--scroll-x-end, 50%) var(--scroll-y, 72%);
      animation-timeline: --project-film !important;
      animation-range: entry 18% entry 100% !important;
      animation-timing-function: cubic-bezier(0.33, 0, 0.2, 1) !important;
    }
    .paint-reveal-edge {
      animation:
        paint-edge-travel linear both,
        paint-edge-softness linear both !important;
      animation-timeline: --project-film, --project-film !important;
      animation-range:
        entry 18% entry 100%,
        entry 18% entry 100% !important;
      animation-timing-function: cubic-bezier(0.33, 0, 0.2, 1), linear !important;
    }
    .paint-depth {
      animation: painting-depth-arrival linear both !important;
      animation-timeline: --project-film !important;
      animation-range: entry 32% entry 100% !important;
      animation-timing-function: cubic-bezier(0.22, 0.65, 0.25, 1) !important;
    }
    .project-preview__number {
      animation-timeline: --project-film !important;
      animation-range: entry 48% entry 78% !important;
    }
    .project-preview__copy h3 {
      animation-timeline: --project-film !important;
      animation-range: entry 60% entry 92% !important;
    }
    .project-preview__copy p {
      animation-timeline: --project-film !important;
      animation-range: entry 72% entry 100% !important;
    }
  }
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .project-preview:nth-child(even) .project-preview__scene {
      animation-range: entry 26% entry 100% !important;
    }
    .project-preview:nth-child(even) .paint-reveal-edge {
      animation-range:
        entry 26% entry 100%,
        entry 26% entry 100% !important;
    }
    .project-preview:nth-child(even) .paint-depth {
      animation-range: entry 40% entry 100% !important;
    }
    .project-preview:nth-child(even) .project-preview__number {
      animation-range: entry 55% entry 85% !important;
    }
    .project-preview:nth-child(even) .project-preview__copy h3 {
      animation-range: entry 64% entry 94% !important;
    }
    .project-preview:nth-child(even) .project-preview__copy p {
      animation-range: entry 74% entry 100% !important;
    }
  }
}
@keyframes paint-edge-travel {
  from {
    transform: translateY(var(--art-height));
  }
  to {
    transform: translateY(0);
  }
}
@keyframes paint-edge-softness {
  0%,
  100% {
    opacity: 0;
  }
  12%,
  80% {
    opacity: 0.65;
  }
}
@keyframes painting-depth-arrival {
  from {
    transform: translate(var(--scroll-pan, 0%), 5%) scale(1.12);
  }
  to {
    transform: translate(0, 0) scale(1.04);
  }
}
