:root {
  color-scheme: dark;
  --bg:#070910;
  --ink:#f3f1f9;
  --muted:#9695a9;
  --violet:#ad88ff;
  --cyan:#88e9ef;
  --line:#ffffff18;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 280px;
  overflow-x: clip;
  isolation: isolate;
  background: var(--bg);
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #ad88ff;
  color: #070910;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 150;
  padding: 12px;
  background: white;
  color: #080910;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.ambient {
  position: absolute;
  inset: 0 0 auto;
  height: 1100px;
  background:
    radial-gradient(
      ellipse at 50% 42%,
      #39245335,
      transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.site-header {
  max-width: 1400px;
  margin: auto;
  padding: 23px 5%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 3px;
}
.brand img {
  flex: none;
}
.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 11px;
  color: #aba5bd;
}
.site-header nav a:hover {
  color: var(--ink);
}
.hero {
  position: relative;
  text-align: center;
  padding: 34px 20px 12px;
}
.hero-copy {
  max-width: 800px;
  margin: auto;
}
.eyebrow {
  font: 9px/1.6 monospace;
  letter-spacing: 2px;
  color: #a29aaa;
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.signal {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px #88e9ef88;
}
h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -2.7px;
  margin: 0 0 14px;
}
.title-period {
  color: var(--violet);
}
.hero-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.experiences {
  max-width: 1320px;
  margin: auto;
  padding: 0 22px 42px;
}
.section-heading {
  height: 0;
}
.carousel-shell {
  position: relative;
  isolation: isolate;
}
.carousel-sky {
  position: absolute;
  inset: -250px -15vw -90px;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.reactor {
  position: relative;
  width: min(88vw, 850px);
  aspect-ratio: 1;
  transform: translate(var(--reactor-x,0px), var(--reactor-y,0px));
  transition: transform .9s ease-out;
  perspective: 1000px;
}
.reactor-grid {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    linear-gradient(#a794d30a 1px, transparent 1px),
    linear-gradient(
      90deg,
      #a794d30a 1px,
      transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image:
    radial-gradient(
      circle,
      #000,
      transparent 68%);
  mask-image:
    radial-gradient(
      circle,
      #000,
      transparent 68%);
}
.core {
  position: absolute;
  inset: 16%;
  animation: core-drift 8s ease-in-out infinite;
}
.core img {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: .4;
  filter: drop-shadow(0 0 28px #9669df44);
}
.core-halo {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: #8d57d719;
  filter: blur(50px);
}
.orbit {
  position: absolute;
  inset: 3%;
  border: 1px solid #b79bff28;
  border-radius: 50%;
  animation: orbital 35s linear infinite;
}
.orbit:after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: #c4b2ef;
  border-radius: 50%;
  box-shadow: 0 0 18px #ad88ff;
}
.orbit-one {
  border-top-color: #baa0f677;
  border-right-color: transparent;
  transform: rotate(-20deg) rotateX(65deg);
}
.orbit-two {
  inset: 9%;
  border-color: #88e9ef22;
  animation: orbital-two 46s linear infinite;
  transform: rotate(35deg) rotateY(66deg);
}
.carousel-track {
  --card-width:clamp(245px,29vw,330px);
  --card-height:clamp(380px,53vh,470px);
  --spread:clamp(175px,26vw,300px);
  --drag:0px;
  position: relative;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 26px 10px 38px;
  perspective: 1400px;
  min-height: 440px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.portal {
  flex: 0 0 var(--card-width);
  position: relative;
  width: var(--card-width);
  height: var(--card-height);
  border: 1px solid #ffffff30;
  border-radius: 17px;
  overflow: hidden;
  background: #111521;
  scroll-snap-align: center;
  box-shadow: 0 20px 45px #0008;
}
.portal-entry {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  isolation: isolate;
}
.portal-entry:focus-visible {
  outline-offset: -5px;
  border-radius: 16px;
}
.portal-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.portal-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  transition: transform 1.3s cubic-bezier(.2, .7, .3, 1);
}
.portal.is-selected:hover .portal-art > img {
  transform: scale(1.045);
}
.portal-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      #04071130,
      transparent 35%,
      #06071025);
}
.portal-tag {
  position: absolute;
  top: 17px;
  left: 17px;
  padding: 7px 9px;
  border: 1px solid #ffffff22;
  border-radius: 4px;
  background: #070a14aa;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font: 8px monospace;
  letter-spacing: 1.3px;
  color: #e9e4f4;
  z-index: 1;
}
.portal-number {
  display: none;
}
.portal-info {
  position: absolute;
  inset: auto 0 0;
  padding: 95px 23px 25px;
  background:
    linear-gradient(
      transparent,
      #060811df 45%,
      #060811);
  z-index: 1;
}
.portal-info h3 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 17px;
  font-weight: 650;
}
.portal-info > .category,
.portal-info > p:not(.category) {
  display: none;
}
.portal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ffffff26;
  padding-top: 15px;
  font-size: 11px;
  letter-spacing: .2px;
  color: #e3dceb;
}
.link-icon {
  width: 18px;
  height: 18px;
  color: #c3acf3;
}
.rack-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #100d1b;
}
.rack-table {
  position: absolute;
  width: 145%;
  height: 100%;
  object-fit: cover;
  opacity: .46;
  transform: rotate(-17deg) scale(1.3);
}
.rack-emblem {
  position: absolute;
  left: 7%;
  top: 4%;
  width: 86%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px #0008);
}
.code-art {
  background:
    radial-gradient(
      ellipse at 70% 30%,
      #17404d,
      #0a1321 70%);
}
.code-hologram {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 88%;
  transform: translate(-50%, -50%) rotate(-8deg);
}
.code-hologram svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px #0005);
}
.code-language {
  display: block;
  text-align: center;
  color: #9dcbd1;
  font: 8px monospace;
  letter-spacing: 1.6px;
  margin-top: 8px;
}
.deck-ready .carousel-track {
  display: block;
  height: calc(var(--card-height) + 75px);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  touch-action: pan-y;
  scroll-snap-type: none;
}
.deck-ready .portal {
  position: absolute;
  left: 50%;
  top: 27px;
  flex: none;
  z-index: calc(5 - var(--depth));
  transform: translate3d(calc(-50% + var(--slot)*var(--spread) + var(--drag)), calc(var(--depth)*17px), calc(var(--depth)*-80px)) rotateY(calc(var(--slot)*-14deg)) rotateZ(calc(var(--slot)*2deg)) scale(calc(1 - var(--depth)*.085));
  opacity: .7;
  filter: saturate(.65) brightness(.75);
  transition:
    transform 680ms cubic-bezier(.2, .85, .22, 1),
    filter 550ms,
    opacity 550ms,
    border-color 550ms,
    box-shadow 550ms;
  will-change: transform;
}
.deck-ready .portal.is-selected {
  opacity: 1;
  filter: none;
  border-color: #d9c7ff99;
  box-shadow: 0 28px 65px #000a, 0 0 0 1px #ac88ed1a;
}
.deck-ready .portal:not(.is-selected) .portal-link {
  opacity: 0;
}
.deck-ready .portal.entering {
  opacity: .15;
  transition: opacity .25s;
}
.deck-ready .dragging .portal {
  transition: none;
}
.carousel-track:focus-visible {
  outline: 1px solid #ad88ff55;
  outline-offset: -1px;
}
.carousel-summary {
  max-width: 560px;
  margin: 1px auto 18px;
  text-align: center;
  min-height: 65px;
  padding: 0 14px;
}
.summary-genre {
  font: 9px monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bcabd9;
  margin: 0 0 9px;
}
.summary-copy {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.carousel-controls {
  display: grid;
  grid-template-columns: 42px auto 42px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 620px;
  margin: auto;
}
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff24;
  border-radius: 7px;
  background: #11121ac9;
}
.carousel-arrow svg {
  width: 18px;
  height: 18px;
}
.carousel-arrow:hover {
  background: #b08ae51c;
  border-color: #b08ae57f;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}
.carousel-dot {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 12px 15px;
  background: transparent;
  color: #89889a;
  font-size: 10px;
  white-space: nowrap;
  transition:
    color .25s,
    background .25s,
    border-color .25s;
}
.carousel-dot[aria-pressed=true] {
  color: #f3edff;
  background: #a984df17;
  border-color: #b396e136;
}
.carousel-count {
  grid-column: 1/-1;
  justify-self: center;
  font: 8px monospace;
  letter-spacing: 3px;
  color: #686476;
  margin-top: 0;
}
.entry-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
footer {
  max-width: 1400px;
  margin: auto;
  padding: 24px 5%;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
footer .brand {
  font-size: 11px;
  letter-spacing: 2px;
  gap: 8px;
}
footer > span {
  font: 8px monospace;
  letter-spacing: 1.7px;
  color: #777080;
}
footer > div {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 10px;
  color: var(--muted);
}
#motion-toggle {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 10px 0;
  font-size: 10px;
}
.entry-transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #05060b;
  isolation: isolate;
  --entry-color:#ad88ff;
  animation: entry-in 200ms ease both;
}
.entry-transition[data-project=code] {
  --entry-color:#88e9ef;
}
.entry-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.entry-caption {
  position: absolute;
  bottom: 9%;
  left: 20px;
  right: 20px;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 3px 20px #000;
  animation: caption-in 800ms 150ms ease both;
}
.entry-studio {
  font-size: 9px;
  letter-spacing: 5px;
  color: #d9c8f8;
}
.entry-caption h2 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -1px;
  margin: 14px 0 8px;
}
.entry-transition[data-project=veldren] h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
.entry-transition[data-project=code] h2 {
  font-weight: 650;
  letter-spacing: -2px;
}
.entry-caption p {
  font: 9px monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c1b9d0;
  margin: 0;
}
.entry-skip {
  position: absolute;
  top: 25px;
  right: 28px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid #ffffff35;
  border-radius: 5px;
  background: #07091099;
  color: #dfdce8;
  font-size: 10px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.entry-skip:hover {
  border-color: var(--entry-color);
}
.entry-skip:disabled {
  cursor: default;
  color: #938b9e;
}
.entry-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--entry-color);
  transform-origin: left;
  transform: scaleX(var(--progress,0));
  opacity: .6;
}
.entry-finished .entry-scene {
  visibility: hidden;
}
.entry-finished {
  animation: none;
}
.entry-finished .entry-caption {
  animation: none;
}
@keyframes entry-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes caption-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes core-drift {
  50% {
    transform: translateY(-9px);
  }
}
@keyframes orbital {
  from {
    transform: rotate(-20deg) rotateX(65deg) rotateZ(0);
  }
  to {
    transform: rotate(-20deg) rotateX(65deg) rotateZ(360deg);
  }
}
@keyframes orbital-two {
  from {
    transform: rotate(35deg) rotateY(66deg) rotateZ(0);
  }
  to {
    transform: rotate(35deg) rotateY(66deg) rotateZ(-360deg);
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 76px;
    padding: 18px 6%;
  }
  .brand {
    font-size: 14px;
    letter-spacing: 2.3px;
    gap: 9px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .site-header nav {
    font-size: 10px;
    gap: 20px;
  }
  .return-link {
    display: none;
  }
  .hero {
    padding: 28px 18px 8px;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
  }
  h1 {
    font-size: 38px;
    letter-spacing: -1.8px;
  }
  .hero-description {
    font-size: 11px;
  }
  .experiences {
    padding: 0 0 30px;
  }
  .carousel-track {
    --card-width:min(74vw,300px);
    --card-height:clamp(360px,51vh,440px);
    --spread:clamp(165px,52vw,260px);
  }
  .deck-ready .carousel-track {
    height: calc(var(--card-height) + 68px);
  }
  .deck-ready .portal {
    top: 23px;
  }
  .carousel-sky {
    inset: -180px -50vw -30px;
  }
  .reactor {
    width: 150vw;
  }
  .core img {
    opacity: .4;
  }
  .portal-info {
    padding: 85px 20px 22px;
  }
  .portal-info h3 {
    font-size: 30px;
  }
  .portal-tag {
    font-size: 7px;
    left: 15px;
    top: 15px;
  }
  .portal-link {
    font-size: 10px;
  }
  .carousel-summary {
    min-height: 75px;
    margin-bottom: 13px;
    max-width: 380px;
    padding: 0 30px;
  }
  .summary-copy {
    font-size: 11px;
  }
  .summary-genre {
    font-size: 8px;
  }
  .carousel-controls {
    padding: 0 20px;
    grid-template-columns: 36px minmax(0, auto) 36px;
    gap: 8px;
  }
  .carousel-arrow {
    width: 36px;
    height: 39px;
  }
  .carousel-dot {
    font-size: 9px;
    padding: 11px 9px;
  }
  .carousel-count {
    font-size: 7px;
    margin-top: 5px;
  }
  footer {
    padding: 20px 6%;
    flex-wrap: wrap;
  }
  footer > span {
    display: none;
  }
  footer > div {
    gap: 16px;
    font-size: 9px;
  }
  #motion-toggle {
    font-size: 9px;
  }
  .entry-skip {
    top: 18px;
    right: 18px;
  }
  .entry-caption {
    bottom: 10%;
  }
}
@media (max-width: 350px) {
  .carousel-dot {
    font-size: 8px;
    padding-inline: 7px;
  }
  .carousel-controls {
    padding-inline: 14px;
    gap: 5px;
  }
  .carousel-summary {
    padding-inline: 20px;
  }
  .portal-info h3 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reactor {
    transform: none;
  }
}
html.effects-paused {
  scroll-behavior: auto;
}
html.effects-paused *,
html.effects-paused *:before,
html.effects-paused *:after {
  animation-play-state: paused !important;
  transition: none !important;
}
html.effects-paused .reactor {
  transform: none;
}
