:root {
  color-scheme: dark;
  --blue: #0303c5;
  --pink: #ff287b;
  --green: #15ff36;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--blue);
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.filter-menu {
  position: fixed;
  top: max(3px, env(safe-area-inset-top));
  left: max(3px, env(safe-area-inset-left));
  z-index: 30;
  width: clamp(218px, 15.5vw, 318px);
  aspect-ratio: 312 / 31;
  line-height: 0;
  filter: drop-shadow(0 1px 2px rgb(0 0 80 / 36%));
  transition: opacity 300ms ease;
}

.filter-menu__art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.filter-menu__button {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.filter-menu__button--home { left: 0; width: 20.5%; }
.filter-menu__button--work { left: 20.5%; width: 23%; }
.filter-menu__button--services { left: 43.5%; width: 28.6%; }
.filter-menu__button--contact { left: 72.1%; width: 27.9%; }

@media (min-width: 1001px) {
  .is-cover-active .filter-menu {
    opacity: 0;
    pointer-events: none;
  }

  .filter-menu {
    aspect-ratio: 312 / 31;
  }

  .filter-menu__button--home { left: 0; width: 20.5%; }
  .filter-menu__button--work { left: 20.5%; width: 23%; }
  .filter-menu__button--services { left: 43.5%; width: 28.6%; }
  .filter-menu__button--contact { left: 72.1%; width: 27.9%; }
}

.filter-menu__button[aria-pressed="true"] {
  background: rgb(255 255 255 / 7%);
  box-shadow: inset 0 -2px 0 rgb(255 255 255 / 88%);
}

.filter-menu__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.filter-menu__button--contact:disabled {
  cursor: default;
}

.viewport {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--blue);
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.viewport::-webkit-scrollbar {
  display: none;
}

.slide-panel {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding:
    max(0px, env(safe-area-inset-top))
    max(0px, env(safe-area-inset-right))
    max(0px, env(safe-area-inset-bottom))
    max(0px, env(safe-area-inset-left));
  place-items: center;
  background: var(--blue);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: 1;
  transition:
    height 520ms cubic-bezier(.3,.02,.16,1),
    padding 520ms cubic-bezier(.3,.02,.16,1),
    opacity 260ms ease;
}

.slide-panel[hidden] {
  display: none;
}

.slide-panel.is-filter-entering,
.slide-panel.is-filter-exiting {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.slide-panel .stage-shell {
  transition:
    opacity 300ms ease,
    transform 520ms cubic-bezier(.3,.02,.16,1);
}

.slide-panel.is-filter-entering .stage-shell,
.slide-panel.is-filter-exiting .stage-shell {
  opacity: 0;
  transform: translateY(-2%) scale(.988);
}

.viewport.is-filter-changing {
  scroll-snap-type: none;
}

.slide-panel--cover::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, #225de3 0 30%, #0b31b5 34% 48%, transparent 52%)
    0 0 / 8px 8px;
  content: "";
  opacity: .78;
  transition: opacity 620ms ease;
}

.slide-panel--cover.is-settled::before {
  opacity: 0;
}

.stage-shell {
  position: relative;
  z-index: 1;
  width: min(100%, calc(100dvh * 16 / 9));
  aspect-ratio: 16 / 9;
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue);
  opacity: 0;
  transform: scale(0.988);
  transition: opacity 480ms ease, transform 900ms cubic-bezier(.2,.8,.2,1);
}

.is-ready .stage {
  opacity: 1;
  transform: scale(1);
}

.stage-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.cover-background,
.cover-final,
.pin-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.cover-background,
.cover-final__static {
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.cover-background {
  z-index: 0;
}

.pin-art {
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 680ms cubic-bezier(.22,.72,.2,1);
}

.pin-detail {
  position: absolute;
  z-index: 2;
  display: block;
  pointer-events: none;
  opacity: 0;
  clip-path: circle(0 at 50% 52%);
  background: radial-gradient(circle, #377cff 0 31%, #174fdc 33% 46%, transparent 49%) 0 0 / 8px 8px;
  -webkit-mask: var(--pin-mask) center / 100% 100% no-repeat;
  mask: var(--pin-mask) center / 100% 100% no-repeat;
  filter: drop-shadow(3px 5px 0 #0730bb);
  animation: pin-detail-form 1.1s 250ms cubic-bezier(.16,.78,.2,1) forwards;
  transition: opacity 520ms ease;
}

.pin-detail--subhead {
  left: 30.625%;
  top: 38.148%;
  width: 45.781%;
  height: 27.222%;
  --pin-mask: url("assets/cover/subhead.png");
}

.pin-detail--dots {
  left: 37.552%;
  top: 35.185%;
  width: 29.063%;
  height: 21.019%;
  --pin-mask: url("assets/cover/dots.png");
  animation-delay: 350ms;
}

@keyframes pin-detail-form {
  0% {
    opacity: 0;
    clip-path: circle(0 at 50% 52%);
    transform: translateY(8px) scale(.97);
  }
  38% {
    opacity: .48;
  }
  100% {
    opacity: .88;
    clip-path: circle(78% at 50% 52%);
    transform: translateY(0) scale(1);
  }
}

.cover-final {
  z-index: 3;
  opacity: 0;
  transition: opacity 680ms cubic-bezier(.22,.72,.2,1);
}

.cover-final__static {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cover-particle-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.cover-final.is-particle-ready .cover-final__static {
  opacity: 0;
}

.cover-final.is-particle-ready .cover-particle-surface {
  opacity: 1;
}

.cover-dot {
  position: absolute;
  z-index: 1;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.cover-dot--pink {
  top: 35.278%;
  left: 37.813%;
  width: 2.135%;
  animation: cover-dot-pink 8.8s ease-in-out infinite;
}

.cover-dot--cyan {
  top: 38.241%;
  left: 64.948%;
  width: 1.458%;
  animation: cover-dot-cyan 10.2s -2.1s ease-in-out infinite;
}

.cover-dot--orange {
  top: 42.037%;
  left: 55.052%;
  width: 1.25%;
  animation: cover-dot-orange 7.6s -1.3s ease-in-out infinite;
}

.cover-dot--green {
  top: 54.167%;
  left: 47.76%;
  width: 1.094%;
  animation: cover-dot-green 6.9s -3.4s ease-in-out infinite;
}

@keyframes cover-dot-pink {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  27% { transform: translate3d(11%, -14.5%, 0) scale(1.015); }
  56% { transform: translate3d(-13%, -5%, 0) scale(.99); }
  78% { transform: translate3d(-5%, 12%, 0) scale(1.008); }
}

@keyframes cover-dot-cyan {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  22% { transform: translate3d(-12%, 10%, 0) scale(.988); }
  51% { transform: translate3d(8.5%, 14.5%, 0) scale(1.012); }
  76% { transform: translate3d(14.5%, -8.5%, 0) scale(1.004); }
}

@keyframes cover-dot-orange {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  24% { transform: translate3d(14.5%, -10%, 0) scale(1.012); }
  54% { transform: translate3d(5%, 15.5%, 0) scale(.992); }
  81% { transform: translate3d(-13%, 6%, 0) scale(1.006); }
}

@keyframes cover-dot-green {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  26% { transform: translate3d(-15.5%, -11%, 0) scale(1.018); }
  58% { transform: translate3d(12%, -5%, 0) scale(.988); }
  82% { transform: translate3d(6%, 14.5%, 0) scale(1.008); }
}

@media (min-width: 1001px) {
  .cover-dot--pink { animation-name: cover-dot-pink-desktop; }
  .cover-dot--cyan { animation-name: cover-dot-cyan-desktop; }
  .cover-dot--orange { animation-name: cover-dot-orange-desktop; }
  .cover-dot--green { animation-name: cover-dot-green-desktop; }
}

@keyframes cover-dot-pink-desktop {
  0%, 100% { transform: translate3d(var(--dot-cursor-x, 0px), var(--dot-cursor-y, 0px), 0) scale(1); }
  27% { transform: translate3d(calc(13.2% + var(--dot-cursor-x, 0px)), calc(-17.4% + var(--dot-cursor-y, 0px)), 0) scale(1.015); }
  56% { transform: translate3d(calc(-15.6% + var(--dot-cursor-x, 0px)), calc(-6% + var(--dot-cursor-y, 0px)), 0) scale(.99); }
  78% { transform: translate3d(calc(-6% + var(--dot-cursor-x, 0px)), calc(14.4% + var(--dot-cursor-y, 0px)), 0) scale(1.008); }
}

@keyframes cover-dot-cyan-desktop {
  0%, 100% { transform: translate3d(var(--dot-cursor-x, 0px), var(--dot-cursor-y, 0px), 0) scale(1); }
  22% { transform: translate3d(calc(-14.4% + var(--dot-cursor-x, 0px)), calc(12% + var(--dot-cursor-y, 0px)), 0) scale(.988); }
  51% { transform: translate3d(calc(10.2% + var(--dot-cursor-x, 0px)), calc(17.4% + var(--dot-cursor-y, 0px)), 0) scale(1.012); }
  76% { transform: translate3d(calc(17.4% + var(--dot-cursor-x, 0px)), calc(-10.2% + var(--dot-cursor-y, 0px)), 0) scale(1.004); }
}

@keyframes cover-dot-orange-desktop {
  0%, 100% { transform: translate3d(var(--dot-cursor-x, 0px), var(--dot-cursor-y, 0px), 0) scale(1); }
  24% { transform: translate3d(calc(17.4% + var(--dot-cursor-x, 0px)), calc(-12% + var(--dot-cursor-y, 0px)), 0) scale(1.012); }
  54% { transform: translate3d(calc(6% + var(--dot-cursor-x, 0px)), calc(18.6% + var(--dot-cursor-y, 0px)), 0) scale(.992); }
  81% { transform: translate3d(calc(-15.6% + var(--dot-cursor-x, 0px)), calc(7.2% + var(--dot-cursor-y, 0px)), 0) scale(1.006); }
}

@keyframes cover-dot-green-desktop {
  0%, 100% { transform: translate3d(var(--dot-cursor-x, 0px), var(--dot-cursor-y, 0px), 0) scale(1); }
  26% { transform: translate3d(calc(-18.6% + var(--dot-cursor-x, 0px)), calc(-13.2% + var(--dot-cursor-y, 0px)), 0) scale(1.018); }
  58% { transform: translate3d(calc(14.4% + var(--dot-cursor-x, 0px)), calc(-6% + var(--dot-cursor-y, 0px)), 0) scale(.988); }
  82% { transform: translate3d(calc(7.2% + var(--dot-cursor-x, 0px)), calc(17.4% + var(--dot-cursor-y, 0px)), 0) scale(1.008); }
}

.cover-stage.is-settled .cover-final {
  opacity: 1;
}

.cover-menu {
  position: absolute;
  top: 12.963%;
  left: 38.646%;
  z-index: 6;
  display: none;
  width: 26.667%;
  aspect-ratio: 10 / 1;
  line-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8%) scale(.985);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(.2,.8,.2,1);
}

.cover-menu__art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.cover-menu .filter-menu__button[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
}

@media (min-width: 1001px) {
  .cover-menu {
    display: block;
  }

  .cover-stage.is-settled .cover-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}

.cover-stage.is-settled .pin-art,
.cover-stage.is-settled .pin-detail {
  opacity: 0;
}

.cover-stage .scanlines {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .cover-dot {
    animation: none;
  }

  .cover-particle-surface {
    display: none;
  }

  .dogo-particle-surface {
    display: none;
  }

  .stage-particle-surface {
    display: none;
  }
}

.dogo-base,
.dogo-particle-surface,
.dogo-pin-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.dogo-base {
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.dogo-base {
  z-index: 0;
}

.dogo-particle-surface {
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.dogo-stage.is-particle-ready .dogo-base {
  opacity: 0;
}

.dogo-stage.is-particle-ready .dogo-particle-surface {
  opacity: 1;
}

.stage-particle-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1001px) {
  .cover-final.is-particle-overlay.is-particle-ready .cover-final__static,
  .dogo-stage.is-particle-overlay.is-particle-ready .dogo-base {
    opacity: 1;
  }

  .particle-stage.is-particle-ready > .stage-particle-surface {
    z-index: 6;
    opacity: 1;
  }

  .cover-final.is-particle-overlay .cover-particle-surface {
    z-index: 2;
  }

  .dogo-stage.is-particle-overlay .dogo-particle-surface {
    z-index: 6;
  }
}

.dogo-pin-art {
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 540ms cubic-bezier(.22,.72,.2,1);
}

.dogo-shadow {
  position: absolute;
  z-index: 2;
  top: 30.463%;
  left: 4.531%;
  display: block;
  width: 30.521%;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transition: opacity 540ms cubic-bezier(.22,.72,.2,1);
  user-select: none;
  -webkit-user-drag: none;
}

.dogo-character-layer {
  position: absolute;
  z-index: 3;
  top: 40.833%;
  left: 7.031%;
  width: 27.969%;
  aspect-ratio: 537 / 474;
  pointer-events: none;
  opacity: 0;
  transition: opacity 540ms cubic-bezier(.22,.72,.2,1);
}

.dogo-character-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgb(0 20 180 / 86%) 0 1.05px, transparent 1.3px);
  background-size: 4px 4px;
  -webkit-mask: url("assets/slide-2/dogo-character.png") center / 100% 100% no-repeat;
  mask: url("assets/slide-2/dogo-character.png") center / 100% 100% no-repeat;
  mix-blend-mode: multiply;
  opacity: .82;
}

.dogo-character {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.dogo-character-eyelids {
  position: absolute;
  z-index: 2;
  top: 19.198%;
  left: 27.561%;
  display: block;
  width: 30.168%;
  height: auto;
  opacity: 0;
  transform-origin: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
}

.dogo-stage.is-settled .dogo-character-layer {
  opacity: 1;
}

.dogo-stage.is-settled .dogo-pin-art {
  opacity: 0;
}

.dogo-stage.is-shadow-visible .dogo-shadow {
  opacity: 1;
}

.slide-panel--dogo.is-visible .dogo-stage.is-settled .dogo-character-eyelids {
  animation: dogo-character-blink 3.8s linear infinite;
}

@keyframes dogo-character-blink {
  0%, 76%, 83%, 100% {
    opacity: 0;
    transform: scaleY(.72);
  }
  78%, 81% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.dogo-eyelids {
  position: absolute;
  z-index: 3;
  top: 43.426%;
  left: 43.229%;
  display: block;
  width: 7.396%;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform-origin: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
}

.slide-panel--retooled.is-visible .dogo-eyelids {
  animation: dogo-blink 1.18s linear infinite;
}

@keyframes dogo-blink {
  0%, 72%, 88%, 100% {
    opacity: 0;
    transform: scaleY(.7);
  }
  76%, 84% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.bird-pose {
  position: absolute;
  z-index: 2;
  top: 13.981%;
  left: .938%;
  width: 35.521%;
  height: 85.926%;
  pointer-events: none;
}

.bird-eyelid {
  position: absolute;
  z-index: 3;
  display: block;
  width: 3.752%;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform-origin: 50% 50%;
  user-select: none;
  -webkit-user-drag: none;
}

.bird-eyelid--right {
  top: 66.056%;
  left: 53.997%;
}

.slide-panel--bird.is-visible .bird-eyelid {
  animation: bird-blink 1.06s linear infinite;
}

@keyframes bird-blink {
  0%, 72%, 88%, 100% {
    opacity: 0;
    transform: scaleY(.72);
  }
  76%, 84% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.ai-base,
.ai-shift-image,
.ai-final {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.ai-shift-window {
  position: absolute;
  z-index: 1;
  top: 28%;
  right: 0;
  bottom: 24%;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.ai-shift-image {
  position: absolute;
  top: -58.333%;
  left: 0;
  height: auto;
}

.ai-pin-art {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.ai-final {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}

.slide-panel--ai.is-visible .ai-shift-image {
  animation: ai-content-shift 1.05s .2s cubic-bezier(.3,.02,.16,1) forwards;
}

.slide-panel--ai.is-visible .ai-shift-window {
  animation: ai-shift-clear .18s 1.12s ease-in-out forwards;
}

.slide-panel--ai.is-visible .ai-pin-art {
  animation: ai-pin-flow 1.72s .72s cubic-bezier(.2,.72,.18,1) both;
}

.slide-panel--ai.is-visible .ai-final {
  animation: ai-final-reveal .68s 1.52s cubic-bezier(.2,.68,.2,1) forwards;
}

.is-ready .slide-panel.slide-panel--ai.is-visible .project-link {
  opacity: 0;
  transform: translateY(0);
  transition: none;
  animation: ai-links-ready .01s 1.2s linear both;
}

@keyframes ai-content-shift {
  to { transform: translateY(-11.574%); }
}

@keyframes ai-shift-clear {
  to { opacity: 0; }
}

@keyframes ai-pin-flow {
  0% { opacity: 0; }
  14% { opacity: .56; }
  30% { opacity: 1; }
  46% { opacity: .96; }
  100% { opacity: 0; }
}

@keyframes ai-final-reveal {
  to { opacity: 1; }
}

@keyframes ai-links-ready {
  to { opacity: 1; }
}

.build-lighting {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.build-copy,
.build-light,
.build-glow {
  position: absolute;
  display: block;
  width: var(--light-width);
  height: auto;
  top: var(--light-top);
  left: var(--light-left);
  opacity: 0;
  transform: scale(1);
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
  mix-blend-mode: screen;
}

.build-copy {
  opacity: 1;
  transform: scale(1);
  filter: none;
  mix-blend-mode: normal;
}

.build-glow {
  position: absolute;
  display: block;
  height: auto;
  opacity: 0;
  transform: none;
  mix-blend-mode: normal;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.build-glow--two {
  top: 7.407%;
  left: 0;
  width: 93.698%;
}

.build-glow--one {
  top: -2.593%;
  left: -2.995%;
  width: 105.99%;
}

.build-final {
  position: absolute;
  display: block;
  height: auto;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.build-final--two {
  top: 18.981%;
  left: 7.917%;
  width: 84.167%;
}

.build-final--one {
  top: 7.963%;
  left: 2.708%;
  width: 95.365%;
}

.build-light--title {
  --light-left: 2.708%;
  --light-top: 7.963%;
  --light-width: 95.365%;
  --light-delay: 0ms;
}

.build-light--ad-heading {
  --light-left: 39.115%;
  --light-top: 34.259%;
  --light-width: 41.927%;
  --light-delay: 35ms;
}

.build-light--ad-copy {
  --light-left: 2.083%;
  --light-top: 46.296%;
  --light-width: 94.896%;
  --light-delay: 70ms;
}

.build-light--ai-heading {
  --light-left: 35.365%;
  --light-top: 68.241%;
  --light-width: 29.115%;
  --light-delay: 45ms;
}

.build-light--ai-copy {
  --light-left: 3.542%;
  --light-top: 75.741%;
  --light-width: 94.167%;
  --light-delay: 90ms;
}

.build-light--two-title {
  --light-left: 2.708%;
  --light-top: 7.963%;
  --light-width: 95.365%;
}

.build-light--fiction-heading {
  --light-left: 25.885%;
  --light-top: 18.981%;
  --light-width: 48.177%;
}

.build-light--fiction-copy {
  --light-left: 7.917%;
  --light-top: 29.167%;
  --light-width: 84.167%;
}

.build-light--editing-heading {
  --light-left: 29.063%;
  --light-top: 60.019%;
  --light-width: 41.823%;
}

.build-light--editing-copy {
  --light-left: 11.198%;
  --light-top: 71.407%;
  --light-width: 77.604%;
}

.slide-panel--build.is-build-active .build-light {
  animation: build-led-pulse 3.6s ease-in-out both;
}

.slide-panel--build.is-build-active .build-glow {
  animation: build-exported-pulse 4.8s cubic-bezier(.45, 0, .55, 1) both;
}

@keyframes build-led-pulse {
  0% {
    opacity: .12;
    transform: scale(1);
    filter:
      brightness(1.08)
      saturate(1.08)
      drop-shadow(0 0 2px rgb(39 255 72 / 24%));
  }
  12% {
    opacity: 1;
    transform: scale(1.006);
    filter:
      brightness(1.9)
      saturate(1.75)
      drop-shadow(0 0 4px #fff)
      drop-shadow(0 0 13px #27ff48)
      drop-shadow(0 0 28px #ff287b);
  }
  27% {
    opacity: .2;
    transform: scale(1.001);
    filter:
      brightness(1.14)
      saturate(1.12)
      drop-shadow(0 0 4px rgb(39 255 72 / 35%));
  }
  41% {
    opacity: .96;
    transform: scale(1.005);
    filter:
      brightness(1.78)
      saturate(1.68)
      drop-shadow(0 0 4px #fff)
      drop-shadow(0 0 12px #27ff48)
      drop-shadow(0 0 25px #ff287b);
  }
  56% {
    opacity: .24;
    transform: scale(1.001);
    filter:
      brightness(1.16)
      saturate(1.14)
      drop-shadow(0 0 4px rgb(39 255 72 / 38%));
  }
  70% {
    opacity: 1;
    transform: scale(1.006);
    filter:
      brightness(1.92)
      saturate(1.78)
      drop-shadow(0 0 5px #fff)
      drop-shadow(0 0 14px #27ff48)
      drop-shadow(0 0 30px #ff287b);
  }
  86% {
    opacity: .27;
    transform: scale(1.001);
    filter:
      brightness(1.18)
      saturate(1.16)
      drop-shadow(0 0 4px rgb(39 255 72 / 42%));
  }
  100% {
    opacity: .16;
    transform: scale(1);
    filter:
      brightness(1.12)
      saturate(1.12)
      drop-shadow(0 0 3px rgb(39 255 72 / 32%));
  }
}

@keyframes build-exported-pulse {
  0%, 32%, 65%, 100% { opacity: 0; }
  16%, 49%, 82% { opacity: 1; }
}

.finale-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  background: var(--blue);
}

.finale-bubble,
.finale-logo,
.finale-title-glow,
.finale-title-fixed {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.finale-bubble {
  top: 2.1%;
  left: 2.1%;
  z-index: 3;
  width: 34.8%;
  opacity: 0;
  transform: translate(-2.4%, 2.8%) scale(.93);
  transform-origin: 72% 82%;
}

.finale-title {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}

.finale-title-fixed {
  top: 11.8%;
  left: 17.25%;
  width: 65.5%;
  z-index: 2;
}

.finale-title-glow {
  top: 4.15%;
  left: 12.85%;
  width: 74.4%;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: screen;
}

.finale-logo {
  top: 50.4%;
  left: 5.8%;
  z-index: 2;
  width: 88.4%;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  filter: brightness(1.35) saturate(1.2) drop-shadow(0 0 10px rgb(60 120 255 / 55%));
  transform: translateY(2.4%) scale(.985);
  transform-origin: 50% 50%;
}

.slide-panel--finale.is-finale-active .finale-bubble {
  animation: finale-bubble-sequence 3.35s .18s cubic-bezier(.2,.72,.2,1) both;
}

.slide-panel--finale.is-finale-active .finale-title {
  animation: finale-title-arrive .7s 3.05s cubic-bezier(.2,.72,.2,1) both;
}

.slide-panel--finale.is-finale-active .finale-title-glow {
  animation: finale-title-pulse 4.8s 3.2s cubic-bezier(.45,0,.55,1) both;
}

.slide-panel--finale.is-finale-active .finale-logo {
  animation: finale-logo-form 1.45s 3.08s cubic-bezier(.16,.78,.2,1) both;
}

@keyframes finale-bubble-sequence {
  0% {
    opacity: 0;
    transform: translate(-2.4%, 2.8%) scale(.93);
  }
  18% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  70% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-1.2%, -1.2%) scale(.975);
  }
}

@keyframes finale-title-arrive {
  from { opacity: 0; transform: translateY(-1.2%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes finale-title-pulse {
  0%, 32%, 65%, 100% { opacity: 0; }
  16%, 49%, 82% { opacity: 1; }
}

@keyframes finale-logo-form {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    filter: brightness(1.7) saturate(1.45) drop-shadow(0 0 20px rgb(60 120 255 / 80%));
    transform: translateY(2.4%) scale(.985);
  }
  28% { opacity: .72; }
  72% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: brightness(1.25) saturate(1.14) drop-shadow(0 0 12px rgb(60 120 255 / 58%));
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: none;
    transform: translateY(0) scale(1);
  }
}

.tube-glitch {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.tube-glitch::before,
.tube-glitch::after,
.tube-glitch__strip {
  position: absolute;
  inset: 0;
  background: var(--glitch-image) center / 100% 100% no-repeat;
  content: "";
}

.tube-glitch::before {
  clip-path: inset(8% 0 84% 0);
  filter: saturate(1.35) hue-rotate(-12deg);
}

.tube-glitch::after {
  clip-path: inset(91% 0 4% 0);
  filter: brightness(1.35) saturate(1.6);
}

.tube-glitch__strip--top {
  clip-path: inset(19% 0 72% 0);
}

.tube-glitch__strip--middle {
  clip-path: inset(48% 0 43% 0);
}

.tube-glitch__strip--bottom {
  clip-path: inset(76% 0 16% 0);
}

.stage.is-glitching .tube-glitch {
  animation: tube-signal 460ms steps(1, end) both;
}

.stage.is-glitching .tube-glitch::before {
  animation: tube-tear-left 460ms steps(1, end) both;
}

.stage.is-glitching .tube-glitch::after {
  animation: tube-tear-right 460ms steps(1, end) both;
}

.stage.is-glitching .tube-glitch__strip--top,
.stage.is-glitching .tube-glitch__strip--bottom {
  animation: tube-tear-right 460ms steps(1, end) both;
}

.stage.is-glitching .tube-glitch__strip--middle {
  animation: tube-tear-left 460ms steps(1, end) both;
}

.stage.is-glitching .stage-art {
  animation: tube-flicker 460ms steps(1, end) both;
}

@keyframes tube-signal {
  0%, 16%, 39%, 72%, 100% { opacity: 0; }
  17%, 38% { opacity: 0.72; }
  40%, 71% { opacity: 0.46; }
}

@keyframes tube-tear-left {
  0%, 16%, 39%, 72%, 100% { transform: translateX(0); }
  17%, 38% { transform: translateX(-1.5%); }
  40%, 71% { transform: translateX(0.75%); }
}

@keyframes tube-tear-right {
  0%, 16%, 39%, 72%, 100% { transform: translateX(0); }
  17%, 38% { transform: translateX(1.1%); }
  40%, 71% { transform: translateX(-0.55%); }
}

@keyframes tube-flicker {
  0%, 16%, 39%, 72%, 100% { filter: none; }
  17%, 38% { filter: brightness(1.08) contrast(1.08); }
  40%, 71% { filter: brightness(0.94) contrast(1.12) saturate(1.08); }
}

.project-links {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.project-link {
  position: absolute;
  top: var(--y, 39.074%);
  left: var(--x);
  width: var(--w, 10.677%);
  aspect-ratio: 1;
  border-radius: 9%;
  outline: none;
  opacity: 0;
  transform: translateY(4%);
  transition: opacity 360ms ease var(--delay), transform 360ms ease var(--delay);
  -webkit-tap-highlight-color: transparent;
}

.is-ready .slide-panel.is-visible .project-link {
  opacity: 1;
  transform: translateY(0);
}

.project-visual {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  transform: translateZ(0);
  transition:
    transform 220ms cubic-bezier(.2,.8,.2,1),
    filter 220ms ease,
    box-shadow 220ms ease;
}

.project-visual::before,
.project-visual::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--thumb) center / cover no-repeat;
  content: "";
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.project-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.project-link:hover .project-visual,
.project-link:focus-visible .project-visual {
  z-index: 2;
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    -0.35vw 0 0 color-mix(in srgb, var(--pink) 68%, transparent),
    0.35vw 0 0 color-mix(in srgb, var(--green) 62%, transparent),
    0 1.2vw 2.5vw rgb(0 0 0 / 38%);
  transform: translateY(-3%) scale(1.055);
}

.project-link:hover .project-visual::before,
.project-link:hover .project-visual::after,
.project-link:focus-visible .project-visual::before,
.project-link:focus-visible .project-visual::after {
  opacity: 0.28;
}

.project-link:hover .project-visual::before,
.project-link:focus-visible .project-visual::before {
  transform: translateX(-2.3%);
}

.project-link:hover .project-visual::after,
.project-link:focus-visible .project-visual::after {
  transform: translateX(2.3%);
}

.project-link:focus-visible {
  outline: max(2px, 0.18vw) solid #fff;
  outline-offset: max(3px, 0.25vw);
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgb(0 0 0 / 0%) 0,
    rgb(0 0 0 / 0%) 3px,
    rgb(0 0 0 / 4%) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.28;
}

.rotate-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  background: var(--blue);
  text-align: center;
}

.rotate-gate p {
  margin: 0;
  color: white;
  font-size: clamp(25px, 8vw, 52px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

@media (orientation: portrait) and (max-width: 900px) {
  .rotate-gate {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide-panel--ai .ai-shift-window,
  .slide-panel--ai .ai-pin-art {
    display: none;
  }

  .slide-panel--ai .ai-final,
  .is-ready .slide-panel--ai.is-visible .project-link {
    opacity: 1;
  }

  .finale-bubble {
    display: none;
  }

  .finale-title,
  .finale-logo {
    opacity: 1;
    clip-path: none;
    filter: none;
    transform: none;
  }

  .finale-title-glow {
    opacity: 0;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
