@charset "UTF-8";

:root {
  --bg: #07080d;
  --bg-soft: #0b0d14;
  --panel: #0e1019;
  --panel-light: #131622;
  --text: #f2f4f8;
  --muted: #8a90a3;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #59f6e8;
  --violet: #a779ff;
  --pink: #ff5ebc;
  --acid: #c8f55a;
  --mono: "JetBrains Mono", monospace;
  --display: "Unbounded", sans-serif;
  --sans: "Manrope", sans-serif;
  --shell: min(1380px, calc(100% - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--cyan);
  color: #07100f;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #07080d;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #07080d;
  border-radius: 10px;
  background: #303545;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 16px;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: var(--cyan);
  color: #050b0a;
  font-weight: 700;
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise,
.scanlines,
.cursor-aura {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
}

.page-noise {
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanlines {
  z-index: 89;
  opacity: 0.022;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    #fff 4px
  );
}

.cursor-aura {
  z-index: 0;
  width: 480px;
  height: 480px;
  inset: auto;
  top: -240px;
  left: -240px;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(89, 246, 232, 0.055),
    transparent 65%
  );
  transition: opacity 0.4s;
  will-change: transform;
}

@media (pointer: fine) {
  body:hover .cursor-aura {
    opacity: 1;
  }
}

.boot-screen {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  background: #06070b;
  animation: boot-away 0.7s 1.15s cubic-bezier(0.7, 0, 0.3, 1)
    forwards;
}

.boot-logo {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.boot-logo span,
.brand-mark span {
  color: var(--cyan);
}

.boot-track {
  width: 210px;
  height: 1px;
  margin: 24px 0 14px;
  overflow: hidden;
  background: #20232e;
}

.boot-track span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: boot-load 1s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.boot-screen p {
  margin: 0;
  color: #6f7484;
  font: 8px var(--mono);
  letter-spacing: 0.28em;
}

@keyframes boot-load {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes boot-away {
  0% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    visibility: visible;
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
  }
}

.scroll-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  box-shadow: 0 0 10px rgba(89, 246, 232, 0.6);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--shell);
  height: 96px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.brand-mark {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.1em;
}

.brand-copy {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-copy small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font: 7px var(--mono);
  letter-spacing: 0.15em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: #c4c8d3;
  font-size: 12px;
  transition: color 0.25s;
}

.desktop-nav a::after {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cyan);
  transition: transform 0.35s;
}

.desktop-nav a:hover {
  color: var(--cyan);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav span {
  margin-right: 6px;
  color: #5e6475;
  font: 8px var(--mono);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b4bac7;
  font: 8px var(--mono);
  letter-spacing: 0.13em;
}

.header-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  50% {
    opacity: 0.35;
    box-shadow: 0 0 2px var(--cyan);
  }
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 850px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 72% 42%,
      rgba(89, 56, 150, 0.15),
      transparent 38%
    ),
    linear-gradient(135deg, #08090f 0%, #07080d 70%);
}

#grid-canvas,
.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

#grid-canvas {
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 90px), transparent 100%);
}

.hero-grid {
  z-index: -3;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(130, 141, 176, 0.075) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(130, 141, 176, 0.075) 1px,
      transparent 1px
    );
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -48%;
  width: 80%;
  height: 75%;
  content: "";
  transform: perspective(600px) rotateX(65deg);
  transform-origin: center top;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(89, 246, 232, 0.15) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(89, 246, 232, 0.15) 1px,
      transparent 1px
    );
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse, black, transparent 68%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}

.hero-glow-one {
  top: 5%;
  right: 4%;
  background: rgba(121, 68, 222, 0.12);
}

.hero-glow-two {
  bottom: -20%;
  left: -10%;
  background: rgba(20, 198, 190, 0.075);
}

.hero-index {
  position: absolute;
  top: 145px;
  right: 28px;
  color: #555b6c;
  font-size: 7px;
  line-height: 2;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.hero-content {
  display: grid;
  min-height: 790px;
  padding-top: 126px;
  padding-bottom: 90px;
  align-items: center;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 30px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #9299ab;
  font: 9px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-eyebrow {
  opacity: 0;
  animation: hero-enter 0.8s 1.25s forwards;
}

.hero-title {
  position: relative;
  display: flex;
  margin: 0 0 28px -8px;
  flex-wrap: wrap;
  font-family: var(--display);
  font-size: clamp(74px, 9.5vw, 156px);
  font-weight: 700;
  line-height: 0.9;
  gap: 0.6em;
  letter-spacing: -0.09em;
  white-space: nowrap;
}

.hero-title > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(70px);
  animation: title-enter 1.1s 1.25s cubic-bezier(0.2, 0.8, 0.2, 1)
    forwards;
}

.hero-title > span:last-child {
  animation-delay: 1.36s;
}

.title-outline {
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 244, 248, 0.65);
}

.title-outline::after {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: -1;
  content: "TYH";
  opacity: 0.22;
  color: transparent;
  -webkit-text-stroke: 1px var(--violet);
}

@keyframes title-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-name-row {
  display: flex;
  max-width: 610px;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.8s 1.55s forwards;
}

.hero-name-row p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(13px, 1.3vw, 18px);
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.name-line {
  width: 34px;
  height: 2px;
  background: var(--violet);
}

.name-code {
  margin-left: auto;
  color: #616779;
  font-size: 8px;
}

.hero-lead {
  max-width: 535px;
  margin: 31px 0 34px;
  color: #9299a9;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.8s 1.65s forwards;
}

.hero-lead strong {
  color: #d8dce5;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.8s 1.75s forwards;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  padding: 0 24px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  transition:
    color 0.3s,
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.button-primary {
  background: var(--cyan);
  color: #07110f;
  box-shadow: 0 0 0 rgba(89, 246, 232, 0);
}

.button-primary > * {
  position: relative;
  z-index: 1;
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.button:hover svg {
  transform: translateX(4px);
}

.text-link {
  display: inline-flex;
  padding: 12px 0;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #3a3f4d;
  color: #c4c8d2;
  font-size: 11px;
  transition:
    border-color 0.25s,
    color 0.25s;
}

.text-link span {
  color: var(--cyan);
  font-size: 17px;
}

.text-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-stats {
  display: flex;
  max-width: 535px;
  margin-top: 48px;
  padding-top: 25px;
  gap: 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: hero-enter 0.8s 1.85s forwards;
}

.hero-stats > div {
  display: flex;
  min-width: 135px;
  align-items: baseline;
  gap: 9px;
}

.hero-stats strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.hero-stats span {
  color: #696f80;
  font: 8px var(--mono);
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  height: 570px;
  perspective: 1000px;
  opacity: 0;
  animation: visual-enter 1.4s 1.3s forwards;
  will-change: transform;
}

@keyframes visual-enter {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.visual-coordinates {
  position: absolute;
  top: 30px;
  right: 0;
  color: #555c70;
  font-size: 7px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-align: right;
}

.core-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}

.core-light {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(111, 71, 212, 0.25);
  filter: blur(45px);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(133, 146, 181, 0.25);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit-a {
  width: 340px;
  height: 340px;
  margin: -170px;
  transform: rotateX(68deg) rotateZ(20deg);
  animation: orbit-a 18s linear infinite;
}

.orbit-b {
  width: 280px;
  height: 280px;
  margin: -140px;
  border-color: rgba(89, 246, 232, 0.25);
  transform: rotateY(68deg) rotateZ(-25deg);
  animation: orbit-b 15s linear infinite reverse;
}

.orbit-c {
  width: 390px;
  height: 190px;
  margin: -95px -195px;
  transform: rotateX(65deg) rotateZ(-30deg);
  border-color: rgba(167, 121, 255, 0.24);
  animation: orbit-c 22s linear infinite;
}

.orbit i {
  position: absolute;
  top: 45%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.orbit-b i {
  top: 15%;
  right: 12px;
  left: auto;
  background: var(--violet);
  box-shadow: 0 0 16px var(--violet);
}

@keyframes orbit-a {
  to {
    transform: rotateX(68deg) rotateZ(380deg);
  }
}

@keyframes orbit-b {
  to {
    transform: rotateY(68deg) rotateZ(335deg);
  }
}

@keyframes orbit-c {
  to {
    transform: rotateX(65deg) rotateZ(330deg);
  }
}

.core-cube {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  margin: -70px;
  transform-style: preserve-3d;
  animation: cube-spin 16s linear infinite;
}

.cube-face {
  position: absolute;
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border: 1px solid rgba(89, 246, 232, 0.65);
  background:
    linear-gradient(
      45deg,
      transparent 49.5%,
      rgba(89, 246, 232, 0.09) 50%,
      transparent 50.5%
    ),
    rgba(17, 21, 37, 0.42);
  box-shadow: inset 0 0 30px rgba(89, 246, 232, 0.06);
  color: var(--cyan);
  font-family: var(--display);
  font-size: 21px;
  text-shadow: 0 0 16px rgba(89, 246, 232, 0.7);
  backdrop-filter: blur(3px);
}

.cube-front {
  transform: translateZ(70px);
}
.cube-back {
  transform: rotateY(180deg) translateZ(70px);
}
.cube-right {
  transform: rotateY(90deg) translateZ(70px);
  border-color: rgba(167, 121, 255, 0.55);
}
.cube-left {
  transform: rotateY(-90deg) translateZ(70px);
  border-color: rgba(167, 121, 255, 0.55);
}
.cube-top {
  transform: rotateX(90deg) translateZ(70px);
}
.cube-bottom {
  transform: rotateX(-90deg) translateZ(70px);
}

@keyframes cube-spin {
  from {
    transform: rotateX(-18deg) rotateY(0deg) rotateZ(5deg);
  }
  to {
    transform: rotateX(-18deg) rotateY(360deg) rotateZ(5deg);
  }
}

.float-chip {
  position: absolute;
  display: flex;
  min-width: 105px;
  height: 38px;
  padding: 0 12px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 14, 23, 0.72);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  color: #b5bdcd;
  font-size: 8px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
  animation: chip-float 5s ease-in-out infinite;
}

.float-chip span {
  color: var(--cyan);
  font-size: 7px;
}

.chip-ui {
  top: 22%;
  left: 2%;
}
.chip-3d {
  top: 35%;
  right: -3%;
  animation-delay: -1.6s;
}
.chip-motion {
  right: 8%;
  bottom: 18%;
  animation-delay: -3s;
}

@keyframes chip-float {
  50% {
    transform: translateY(-12px);
  }
}

.hero-disc {
  position: absolute;
  bottom: 18px;
  left: 8%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px dashed #3d4354;
  border-radius: 50%;
  animation: disc-spin 20s linear infinite;
}

.hero-disc::after {
  width: 8px;
  height: 8px;
  content: "";
  border: 1px solid var(--violet);
  transform: rotate(45deg);
}

.hero-disc span {
  position: absolute;
  width: 130px;
  color: #555c6c;
  font: 6px var(--mono);
  letter-spacing: 0.14em;
  text-align: center;
}

@keyframes disc-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 27px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555c6d;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #858c9c;
  font-family: var(--sans);
  font-size: 9px;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 20px;
  height: 32px;
  border: 1px solid #444b5b;
  border-radius: 20px;
}

.scroll-cue i::after {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 2px;
  height: 6px;
  content: "";
  background: var(--cyan);
  animation: scroll-dot 1.8s infinite;
}

@keyframes scroll-dot {
  70%,
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a0b11;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-track > span {
  padding: 19px 0;
  color: #858b9c;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ticker-track i {
  margin: 0 34px;
  color: var(--cyan);
  font-style: normal;
  font-size: 9px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.projects-section {
  padding-top: 140px;
  padding-bottom: 155px;
}

.section-heading {
  display: grid;
  margin-bottom: 64px;
  align-items: end;
  grid-template-columns: 1fr 360px;
  gap: 50px;
}

.section-heading h2,
.about-copy h2,
.final-frame h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.section-heading h2 em,
.about-copy h2 em,
.final-frame h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px #747b90;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.project-toolbar {
  display: flex;
  margin-bottom: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: #868d9e;
  cursor: pointer;
  font-size: 10px;
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s;
}

.filter-button span {
  color: #8e98ab;
  font: 7px var(--mono);
}

.filter-button:hover {
  border-color: #4a5263;
  color: #fff;
}

.filter-button.active {
  border-color: var(--cyan);
  background: rgba(89, 246, 232, 0.07);
  color: var(--cyan);
}

.filter-button.active span {
  color: var(--cyan);
}

.filter-status {
  margin: 0;
  color: #8e98ab;
  font-size: 7px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  --accent: var(--cyan);
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  grid-column: span 4;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(17, 20, 30, 0.96),
    rgba(10, 12, 19, 0.98)
  );
  transition:
    border-color 0.4s,
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s,
    opacity 0.3s;
  transform-style: preserve-3d;
}

.project-card.card-standard {
  grid-column: span 6;
}

.project-card.featured {
  display: grid;
  min-height: 430px;
  grid-column: span 12;
  grid-template-columns: 1.07fr 0.93fr;
}

.project-card:hover {
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.25),
    0 0 35px color-mix(in srgb, var(--accent) 5%, transparent);
}

.project-card.filtering-out {
  opacity: 0;
  transform: scale(0.97);
}

.project-card[hidden] {
  display: none !important;
}

.project-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  content: "";
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.project-card:hover::after {
  opacity: 0.8;
}

.project-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 255px;
  overflow: hidden;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--accent) 11%, transparent),
      transparent 48%
    ),
    #0a0c13;
  perspective: 800px;
}

.featured .project-visual {
  min-height: 430px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.visual-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(
      color-mix(in srgb, var(--accent) 11%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--accent) 11%, transparent) 1px,
      transparent 1px
    );
  background-size: 34px 34px;
  mask-image: radial-gradient(
    circle at center,
    black,
    transparent 78%
  );
}

.visual-grid::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 245px;
  height: 245px;
  content: "";
  transform: translate(-50%, -50%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 50%;
}

.visual-label,
.visual-number {
  position: absolute;
  top: 19px;
  left: 21px;
  color: color-mix(in srgb, var(--accent) 66%, #6d7382);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.visual-number {
  right: 21px;
  left: auto;
  color: #555d6f;
}

.visual-cross {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 12px;
  height: 12px;
  opacity: 0.45;
}

.visual-cross::before,
.visual-cross::after {
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--accent);
}

.visual-cross::after {
  transform: rotate(90deg);
}

.project-object {
  position: relative;
  width: 190px;
  height: 155px;
  transform: translateY(4px) rotateX(-5deg) rotateY(-8deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.38));
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-object {
  transform: translateY(-8px) rotateX(1deg) rotateY(5deg) scale(1.04);
}

.featured .project-object {
  transform: scale(1.3) rotateX(-5deg) rotateY(-8deg);
}

.featured .project-card:hover .project-object,
.project-card.featured:hover .project-object {
  transform: translateY(-8px) scale(1.35) rotateX(1deg) rotateY(5deg);
}

.object-shadow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 160px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  filter: blur(13px);
}

/* CSS 3D objects */
.bank-card-face {
  position: absolute;
  top: 24px;
  left: 7px;
  width: 180px;
  height: 111px;
  padding: 17px;
  transform: rotateX(13deg) rotateY(-20deg) rotateZ(-8deg)
    translateZ(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  background:
    linear-gradient(
      115deg,
      transparent 20%,
      rgba(255, 255, 255, 0.18) 42%,
      transparent 58%
    ),
    linear-gradient(135deg, #333538, #08090a 62%, #3c3323);
  box-shadow:
    -12px 14px 0 #050609,
    -13px 15px 0 rgba(212, 181, 116, 0.4),
    0 25px 30px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
}

.bank-card-face::before {
  display: block;
  width: 31px;
  height: 23px;
  margin-top: 28px;
  content: "";
  border: 1px solid #d0ad65;
  border-radius: 5px;
  background: linear-gradient(135deg, #e4cd92, #796036);
  box-shadow: inset 0 0 0 4px rgba(60, 43, 19, 0.25);
}

.bank-card-face::after {
  position: absolute;
  top: 16px;
  left: 17px;
  content: "W O L F B A N K";
  color: #d4b574;
  font: 7px var(--mono);
  letter-spacing: 0.12em;
}

.bank-chip {
  position: absolute;
  right: 23px;
  bottom: 44px;
  color: rgba(255, 255, 255, 0.7);
  font: 7px var(--mono);
  letter-spacing: 0.1em;
}

.house-base {
  position: absolute;
  bottom: 8px;
  left: 12px;
  width: 170px;
  height: 108px;
  transform: rotateX(60deg) rotateZ(-35deg);
  border: 1px solid rgba(200, 245, 90, 0.5);
  background: rgba(200, 245, 90, 0.05);
  box-shadow: 0 0 25px rgba(200, 245, 90, 0.08);
}

.house-body {
  position: absolute;
  top: 57px;
  left: 41px;
  width: 111px;
  height: 65px;
  transform: skewY(-8deg);
  border: 1px solid #8d9e6a;
  background: linear-gradient(110deg, #3f4937, #161d17);
}

.house-body::before {
  position: absolute;
  top: 15px;
  right: 14px;
  width: 48px;
  height: 35px;
  content: "";
  border: 2px solid #798865;
  background: linear-gradient(
    90deg,
    rgba(200, 245, 90, 0.35) 48%,
    #1c251d 49%,
    #1c251d 53%,
    rgba(200, 245, 90, 0.18) 54%
  );
  box-shadow: 0 0 14px rgba(200, 245, 90, 0.12);
}

.house-roof {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  width: 137px;
  height: 55px;
  transform: skewY(-8deg) rotate(-2deg);
  clip-path: polygon(15% 0, 100% 0, 89% 100%, 0 100%);
  background: linear-gradient(165deg, #69765a, #20291f 70%);
  border-bottom: 2px solid var(--accent);
}

.house-door {
  position: absolute;
  z-index: 3;
  bottom: 33px;
  left: 53px;
  width: 22px;
  height: 43px;
  transform: skewY(-8deg);
  border: 1px solid #8d9e6a;
  background: #121813;
}

.wedding-ring {
  position: absolute;
  top: 47px;
  left: 42px;
  width: 105px;
  height: 105px;
  transform: rotateX(57deg) rotateZ(-20deg);
  border: 8px solid #d8adbf;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    inset 3px 3px 2px #ffe1ee,
    5px 8px 0 #745369,
    0 0 25px rgba(243, 184, 208, 0.18);
}

.wedding-ring.second {
  top: 61px;
  left: 73px;
  width: 85px;
  height: 85px;
  transform: rotateY(52deg) rotateZ(25deg);
  border-color: #c6d9da;
  box-shadow:
    inset 3px 3px 2px #fff,
    5px 8px 0 #53686c;
}

.wedding-gem {
  position: absolute;
  z-index: 3;
  top: 19px;
  left: 79px;
  width: 49px;
  height: 44px;
  transform: rotate(8deg);
  clip-path: polygon(25% 0, 75% 0, 100% 38%, 50% 100%, 0 38%);
  background: linear-gradient(
    135deg,
    #fff 0%,
    #9af8ee 28%,
    #ac8fff 52%,
    #fff 70%,
    #69968f
  );
  filter: drop-shadow(0 0 12px rgba(185, 255, 248, 0.5));
}

.flow-board {
  position: absolute;
  top: 20px;
  left: 13px;
  width: 170px;
  height: 122px;
  padding: 19px;
  transform: rotateX(55deg) rotateZ(-28deg);
  border: 1px solid #8173c5;
  border-radius: 9px;
  background: linear-gradient(145deg, #26223d, #11121e);
  box-shadow:
    -9px 12px 0 #0b0c14,
    -10px 13px 0 #554879,
    0 20px 30px rgba(0, 0, 0, 0.35);
}

.flow-row {
  display: flex;
  height: 22px;
  margin-bottom: 9px;
  padding: 0 8px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(140, 124, 255, 0.35);
  border-radius: 4px;
  background: rgba(140, 124, 255, 0.09);
}

.flow-row::before {
  width: 8px;
  height: 8px;
  content: "✓";
  color: var(--accent);
  font: 9px var(--mono);
}

.flow-row::after {
  width: 65%;
  height: 3px;
  content: "";
  border-radius: 4px;
  background: #71659f;
}

.flow-row:nth-child(2)::after {
  width: 43%;
}
.flow-row:nth-child(3)::after {
  width: 76%;
}

.manicure-bottle {
  position: absolute;
  top: 58px;
  left: 46px;
  width: 98px;
  height: 82px;
  transform: rotate(-8deg);
  border: 1px solid #d693a2;
  border-radius: 14px 14px 23px 23px;
  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.35),
      transparent 25%
    ),
    linear-gradient(145deg, #a95c75, #401d31);
  box-shadow:
    inset -10px -8px 15px rgba(0, 0, 0, 0.25),
    9px 13px 0 -6px #22121d,
    0 20px 25px rgba(0, 0, 0, 0.35);
}

.manicure-bottle::after {
  position: absolute;
  top: 30px;
  left: 18px;
  content: "MIRA";
  color: #f9dce5;
  font: 10px var(--display);
  letter-spacing: 0.12em;
}

.manicure-cap {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 67px;
  width: 56px;
  height: 64px;
  transform: rotate(-8deg);
  border: 1px solid #7e6877;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(
    90deg,
    #211d29,
    #6f5b6b 45%,
    #27212e 75%
  );
  box-shadow: 5px 5px 0 #19151e;
}

.manicure-brush {
  position: absolute;
  top: 25px;
  right: 4px;
  width: 16px;
  height: 108px;
  transform: rotate(24deg);
  border-radius: 6px;
  background: linear-gradient(90deg, #352632, #b88295, #352632);
}

.manicure-brush::after {
  position: absolute;
  bottom: -19px;
  left: 1px;
  width: 14px;
  height: 27px;
  content: "";
  border-radius: 2px 2px 7px 7px;
  background: #e886a4;
}

.coffee-cup {
  position: absolute;
  top: 49px;
  left: 33px;
  width: 116px;
  height: 82px;
  border: 1px solid #d0a088;
  border-radius: 8px 8px 45px 45px;
  background: linear-gradient(110deg, #d1b19e, #68483c 70%);
  box-shadow:
    inset 7px 0 10px rgba(255, 255, 255, 0.18),
    8px 10px 0 -3px #372620,
    0 20px 25px rgba(0, 0, 0, 0.35);
}

.coffee-cup::before {
  position: absolute;
  top: -9px;
  left: -1px;
  width: 116px;
  height: 24px;
  content: "";
  border: 2px solid #c69b85;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #382016 0%,
    #6b3e28 45%,
    #d6a284 50%,
    #6c4a3d 65%
  );
}

.coffee-cup::after {
  position: absolute;
  top: 10px;
  right: -41px;
  width: 49px;
  height: 48px;
  content: "";
  border: 10px solid #92705f;
  border-left: 0;
  border-radius: 0 35px 35px 0;
}

.coffee-steam {
  position: absolute;
  top: 0;
  left: 75px;
  width: 2px;
  height: 37px;
  border-radius: 50%;
  background: linear-gradient(transparent, #e7c2af);
  filter: blur(1px);
  animation: steam 2.4s ease-in-out infinite;
}

.coffee-steam.second {
  left: 103px;
  height: 30px;
  animation-delay: -1.2s;
}

@keyframes steam {
  50% {
    transform: translate(5px, -8px) scaleY(1.2);
    opacity: 0.35;
  }
}

.barber-pole {
  position: absolute;
  top: 12px;
  left: 60px;
  width: 70px;
  height: 130px;
  overflow: hidden;
  border: 5px solid #85858a;
  border-top-width: 12px;
  border-bottom-width: 12px;
  border-radius: 35px;
  background: repeating-linear-gradient(
    135deg,
    #e5e4df 0 15px,
    #e5e4df 15px 24px,
    #e9583b 24px 39px,
    #e9583b 39px 48px,
    #293b54 48px 63px,
    #293b54 63px 72px
  );
  background-size: 100% 102px;
  box-shadow:
    inset 10px 0 12px rgba(255, 255, 255, 0.35),
    inset -12px 0 15px rgba(0, 0, 0, 0.45),
    8px 10px 0 #101116,
    0 15px 30px rgba(0, 0, 0, 0.4);
  animation: barber-stripes 2s linear infinite;
}

.barber-pole::before,
.barber-pole::after {
  position: absolute;
  left: 13px;
  width: 34px;
  height: 5px;
  content: "";
  background: #c1c2c5;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.barber-pole::before {
  top: -9px;
}
.barber-pole::after {
  bottom: -9px;
}

@keyframes barber-stripes {
  to {
    background-position: 0 102px;
  }
}

.default-object {
  position: absolute;
  top: 27px;
  left: 45px;
  width: 100px;
  height: 100px;
  transform: rotate(45deg);
  border: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, #11131c);
  box-shadow:
    12px 12px 0 color-mix(in srgb, var(--accent) 25%, transparent),
    0 0 30px color-mix(in srgb, var(--accent) 18%, transparent);
}

.project-content {
  display: flex;
  padding: 28px;
  flex: 1;
  flex-direction: column;
}

.featured .project-content {
  padding: 40px;
  justify-content: center;
}

.tier-badge {
  display: inline-flex;
  margin-bottom: 18px;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font: 8px var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-content h3 {
  margin-bottom: 13px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.featured .project-content h3 {
  font-size: clamp(30px, 3.1vw, 43px);
}

.project-tagline {
  margin-bottom: 8px;
  color: #969dad;
  font-size: 13px;
  line-height: 1.75;
}

.featured .project-tagline {
  max-width: 470px;
  font-size: 14px;
}

.project-feature {
  margin-bottom: 22px;
  color: #6f7789;
  font-size: 10px;
  line-height: 1.65;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-list span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.018);
  color: #8991a2;
  font: 7px var(--mono);
  letter-spacing: 0.04em;
}

.project-tech {
  margin-bottom: 24px;
}

.project-tech .tech-more {
  border-color: transparent;
  color: #5e6575;
}

.project-bottom {
  display: flex;
  margin-top: auto;
  padding-top: 21px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
}

.project-specs {
  display: flex;
  gap: 18px;
}

.project-specs span {
  color: #646c7d;
  font: 7px var(--mono);
  white-space: nowrap;
}

.project-specs strong {
  margin-right: 4px;
  color: #d5d9e2;
  font-size: 11px;
  font-weight: 500;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.launch-link,
.details-button {
  display: inline-flex;
  height: 39px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 9px;
  transition:
    background 0.25s,
    color 0.25s;
}

.details-button {
  width: 39px;
  padding: 0;
  border-color: var(--line);
  color: #8a92a3;
  font-size: 17px;
}

.details-button:hover {
  border-color: #7a8292;
  color: #fff;
}

.about-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 145px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(
      circle at 15% 55%,
      rgba(120, 76, 195, 0.1),
      transparent 32%
    ),
    #090b11;
}

.about-backdrop {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  color: transparent;
  font-size: clamp(100px, 16vw, 260px);
  font-weight: 600;
  letter-spacing: -0.08em;
  white-space: nowrap;
  transform: translate(-52%, -50%);
  opacity: 0.055;
  -webkit-text-stroke: 1px #fff;
  will-change: transform;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.about-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-id {
  color: #525a6b;
  font-size: 8px;
  line-height: 2.1;
  letter-spacing: 0.13em;
}

.about-copy {
  max-width: 740px;
}

.about-copy h2 {
  margin-bottom: 45px;
}

.about-intro {
  color: #c5cbd6 !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

.about-intro strong {
  color: var(--cyan);
  font-weight: 500;
}

.about-copy > p {
  max-width: 650px;
  color: #858d9e;
  font-size: 14px;
  line-height: 1.9;
}

.about-signature {
  display: flex;
  margin-top: 42px;
  padding-top: 25px;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
}

.about-signature span {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.05em;
}

.about-signature small {
  color: #656d7e;
  font: 8px var(--mono);
}

.stack-section {
  padding-top: 145px;
  padding-bottom: 145px;
}

.section-heading.compact {
  margin-bottom: 65px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-card {
  position: relative;
  min-height: 330px;
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 14, 22, 0.4);
  transition: background 0.35s;
}

.process-card:hover {
  background: rgba(89, 246, 232, 0.035);
}

.process-number {
  color: #596173;
  font-size: 7px;
  letter-spacing: 0.1em;
}

.process-card h3 {
  margin: 30px 0 15px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.process-card p {
  margin: 0;
  color: #7e8697;
  font-size: 12px;
  line-height: 1.8;
}

.process-icon {
  position: relative;
  width: 78px;
  height: 78px;
  margin-top: 38px;
}

.process-icon i {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid #555e72;
  border-radius: 50%;
}

.process-icon i:nth-child(2) {
  left: 25px;
  border-color: rgba(89, 246, 232, 0.55);
}
.process-icon i:nth-child(3) {
  top: 24px;
  left: 12px;
  border-color: rgba(167, 121, 255, 0.55);
}
.icon-design i {
  border-radius: 0;
  transform: rotate(45deg) scale(0.7);
}
.icon-code i {
  width: 55px;
  height: 30px;
  border-radius: 0;
  transform: skewY(-20deg);
}
.icon-code i:nth-child(2) {
  top: 15px;
}
.icon-code i:nth-child(3) {
  top: 30px;
}
.icon-motion i {
  width: 58px;
  height: 58px;
  border-style: dashed;
}
.icon-motion i:nth-child(2) {
  left: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
}

.tech-stream {
  display: flex;
  margin-top: 35px;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-stream span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: #697183;
  font: 8px var(--mono);
  transition:
    color 0.25s,
    border-color 0.25s;
}

.tech-stream span:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.final-section {
  padding-bottom: 110px;
}

.final-frame {
  position: relative;
  isolation: isolate;
  padding: 90px 7vw;
  overflow: hidden;
  border: 1px solid rgba(89, 246, 232, 0.18);
  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(167, 121, 255, 0.13),
      transparent 36%
    ),
    #0b0e16;
}

.final-frame::after {
  position: absolute;
  top: -85px;
  right: 8%;
  width: 230px;
  height: 230px;
  content: "";
  transform: rotate(45deg);
  border: 1px solid rgba(89, 246, 232, 0.15);
  box-shadow:
    0 0 0 30px rgba(89, 246, 232, 0.015),
    0 0 0 60px rgba(89, 246, 232, 0.01);
}

.final-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(89, 246, 232, 0.06) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(89, 246, 232, 0.06) 1px,
      transparent 1px
    );
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.final-frame h2 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  font-size: clamp(38px, 4.6vw, 65px);
}

.final-frame > p:not(.eyebrow) {
  margin: 30px 0 35px;
  color: #858d9e;
  font-size: 13px;
  line-height: 1.85;
}

.final-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.copy-nick {
  display: flex;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #606879;
  cursor: pointer;
  font-size: 8px;
  text-align: left;
}

.copy-nick strong {
  color: #a5adbd;
  font-size: 11px;
  font-weight: 400;
  transition: color 0.25s;
}

.copy-nick:hover strong {
  color: var(--cyan);
}

.site-footer {
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.site-footer > p {
  margin: 0;
  color: #656d7d;
  font: 7px var(--mono);
  line-height: 2;
  letter-spacing: 0.1em;
  text-align: center;
}

.site-footer > p span {
  color: #424958;
}

.back-top {
  display: flex;
  align-items: center;
  color: #747c8e;
  font-size: 7px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .project-card.reveal {
  transform: translateY(38px);
}

.js .project-card.reveal.is-visible {
  transform: translateY(0);
}

.project-modal {
  width: min(1080px, calc(100% - 48px));
  max-width: none;
  max-height: min(780px, calc(100dvh - 48px));
  padding: 0;
  overflow: auto;
  border: 1px solid #303747;
  background: #0b0d14;
  color: var(--text);
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.7);
}

.project-modal::backdrop {
  background: rgba(3, 4, 8, 0.83);
  backdrop-filter: blur(10px);
}

.project-modal[open] {
  animation: modal-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.98);
  }
}

.modal-shell {
  --accent: var(--cyan);
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: 0.85fr 1.15fr;
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0 0 3px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.8);
  color: #a9b0bf;
  cursor: pointer;
  font-size: 24px;
  font-weight: 300;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-visual .project-visual {
  height: 100%;
  min-height: 620px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.modal-visual .project-object {
  transform: scale(1.3) rotateX(-5deg) rotateY(-8deg);
}

.modal-content {
  padding: 48px;
}

.modal-meta {
  display: flex;
  margin-bottom: 20px;
  justify-content: space-between;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-meta span:last-child {
  color: #596173;
}

.modal-content h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.modal-description {
  color: #949cac;
  font-size: 13px;
  line-height: 1.8;
}

.modal-stats {
  display: flex;
  margin: 27px 0 0;
  padding: 19px 0 0;
  gap: 35px;
  border-top: 1px solid var(--line);
}

.modal-stats span {
  color: #8e98ab;
  font: 8px var(--mono);
}

.modal-stats strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
}

.modal-content h3 {
  margin: 23px 0 13px;
  color: #777f90;
  font: 8px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-features {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.modal-features li {
  position: relative;
  padding-left: 18px;
  color: #a0a7b6;
  font-size: 11px;
  line-height: 1.65;
}

.modal-features li::before {
  position: absolute;
  left: 0;
  content: "//";
  color: var(--accent);
  font: 8px var(--mono);
}

.modal-launch {
  width: 100%;
  margin-top: 30px;
}

.toast {
  position: fixed;
  z-index: 1000;
  right: 25px;
  bottom: 25px;
  padding: 15px 20px;
  transform: translateY(100px);
  border: 1px solid var(--cyan);
  background: #0d1517;
  color: var(--cyan);
  opacity: 0;
  font-size: 8px;
  letter-spacing: 0.1em;
  transition:
    transform 0.35s,
    opacity 0.35s;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.noscript-note {
  padding: 25px;
  border: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1200px) {
  :root {
    --shell: min(1380px, calc(100% - 64px));
  }
  .hero-content {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-title {
    font-size: clamp(68px, 9.2vw, 116px);
  }
  .core-scene {
    transform: translate(-50%, -50%) scale(0.86);
  }
  .chip-ui {
    left: -3%;
  }
  .chip-3d {
    right: -2%;
  }
  .project-content {
    padding: 24px;
  }
  .project-content h3 {
    font-size: 21px;
  }
  .project-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-actions {
    width: 100%;
  }
  .launch-link {
    flex: 1;
  }
  .featured .project-bottom {
    align-items: center;
    flex-direction: row;
  }
  .featured .project-actions {
    width: auto;
  }
  .process-card {
    padding: 23px;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    gap: 22px;
  }
  .header-status {
    display: none;
  }
  .hero {
    min-height: 780px;
  }
  .hero-content {
    min-height: 740px;
    grid-template-columns: 1fr 0.72fr;
  }
  .hero-title {
    font-size: clamp(66px, 9vw, 90px);
  }
  .hero-visual {
    height: 470px;
  }
  .core-scene {
    transform: translate(-50%, -50%) scale(0.73);
  }
  .float-chip {
    min-width: 88px;
    height: 34px;
    padding: 0 9px;
    font-size: 7px;
  }
  .chip-ui {
    top: 19%;
  }
  .chip-3d {
    top: 36%;
    right: -10%;
  }
  .chip-motion {
    right: -2%;
  }
  .hero-disc {
    display: none;
  }
  .hero-stats > div {
    min-width: 112px;
  }
  .project-card {
    grid-column: span 6;
  }
  .project-card.featured {
    grid-template-columns: 1fr 1fr;
  }
  .featured .project-content {
    padding: 28px;
  }
  .featured .project-content h3 {
    font-size: 29px;
  }
  .featured .project-object {
    transform: scale(1.05) rotateX(-5deg) rotateY(-8deg);
  }
  .project-card.featured:hover .project-object {
    transform: translateY(-8px) scale(1.1);
  }
  .featured .project-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .featured .project-actions {
    width: 100%;
  }
  .section-heading {
    grid-template-columns: 1fr 290px;
  }
  .about-grid {
    grid-template-columns: 0.5fr 1.5fr;
    gap: 45px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-content {
    padding: 38px;
  }
  .modal-shell {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 36px);
  }
  html {
    scroll-padding-top: 80px;
  }
  .scanlines {
    display: none;
  }
  .site-header {
    height: 78px;
  }
  .brand-copy {
    font-size: 10px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: #0b0d14;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 19px;
    height: 1px;
    background: #d5dae3;
    transition: transform 0.3s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .mobile-nav {
    position: fixed;
    z-index: 99;
    inset: 0;
    display: flex;
    padding: 125px 30px 40px;
    transform: translateX(100%);
    flex-direction: column;
    gap: 23px;
    background: rgba(7, 8, 13, 0.98);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-nav > a {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 23px;
  }
  .hero {
    min-height: 920px;
  }
  .hero-index {
    display: none;
  }
  .hero-content {
    display: flex;
    min-height: 850px;
    padding-top: 115px;
    padding-bottom: 105px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero-title {
    margin-left: -4px;
    font-size: clamp(57px, 17vw, 108px);
  }
  .hero-name-row {
    gap: 10px;
  }
  .hero-name-row p {
    font-size: 12px;
  }
  .name-code {
    display: none;
  }
  .hero-lead {
    margin: 23px 0 27px;
    font-size: 14px;
    line-height: 1.75;
  }
  .hero-actions {
    gap: 22px;
  }
  .button {
    min-height: 52px;
    padding: 0 18px;
    gap: 20px;
    font-size: 11px;
  }
  .text-link {
    font-size: 10px;
  }
  .hero-stats {
    margin-top: 32px;
    padding-top: 20px;
  }
  .hero-stats > div {
    min-width: 0;
    flex: 1;
  }
  .hero-stats strong {
    font-size: 19px;
  }
  .hero-visual {
    position: absolute;
    right: -18px;
    bottom: 55px;
    width: 270px;
    height: 270px;
    opacity: 0.65;
  }
  .core-scene {
    transform: translate(-50%, -50%) scale(0.58);
  }
  .visual-coordinates,
  .float-chip {
    display: none;
  }
  .hero-bottom > span:last-child {
    display: none;
  }
  .hero-bottom {
    bottom: 20px;
  }
  .hero-bottom > span:first-child {
    font-size: 6px;
  }
  .scroll-cue span {
    display: none;
  }
  .ticker-track > span {
    font-size: 8px;
  }
  .projects-section,
  .stack-section {
    padding-top: 95px;
    padding-bottom: 100px;
  }
  .section-heading {
    display: block;
    margin-bottom: 42px;
  }
  .section-heading h2,
  .about-copy h2 {
    font-size: clamp(39px, 11vw, 62px);
  }
  .section-heading > p {
    max-width: 470px;
    margin-top: 25px;
    font-size: 13px;
  }
  .project-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .filters {
    width: 100%;
  }
  .filter-button {
    flex: 1;
    min-width: 70px;
    padding: 0 10px;
    justify-content: center;
    gap: 8px;
    font-size: 9px;
  }
  .project-card,
  .project-card.card-standard {
    grid-column: span 12;
  }
  .project-card.featured {
    display: flex;
    min-height: 0;
  }
  .featured .project-visual {
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .featured .project-object {
    transform: scale(1.2) rotateX(-5deg) rotateY(-8deg);
  }
  .project-card.featured:hover .project-object {
    transform: translateY(-8px) scale(1.24);
  }
  .project-content,
  .featured .project-content {
    padding: 25px;
  }
  .project-content h3,
  .featured .project-content h3 {
    font-size: 25px;
  }
  .project-bottom,
  .featured .project-bottom {
    align-items: center;
    flex-direction: row;
  }
  .project-actions,
  .featured .project-actions {
    width: auto;
  }
  .project-visual {
    min-height: 280px;
  }
  .about-section {
    padding: 95px 0;
  }
  .about-grid {
    display: block;
  }
  .about-label {
    margin-bottom: 45px;
  }
  .about-id {
    display: none;
  }
  .about-copy h2 {
    margin-bottom: 32px;
  }
  .about-intro {
    font-size: 16px !important;
  }
  .process-card {
    min-height: 290px;
  }
  .final-frame {
    padding: 60px 30px;
  }
  .final-frame::after {
    right: -100px;
    opacity: 0.6;
  }
  .final-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer {
    padding: 35px 0;
    flex-wrap: wrap;
  }
  .site-footer > p {
    order: 3;
    width: 100%;
    text-align: left;
  }
  .project-modal {
    width: calc(100% - 28px);
    max-height: calc(100dvh - 28px);
  }
  .modal-shell {
    display: block;
  }
  .modal-visual .project-visual {
    height: 280px;
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .modal-content {
    padding: 30px 25px;
  }
  .modal-close {
    position: fixed;
    top: 25px;
    right: 25px;
  }
}

@media (max-width: 480px) {
  .brand-copy small {
    font-size: 6px;
  }
  .hero {
    min-height: 900px;
  }
  .hero-title {
    font-size: clamp(54px, 16.8vw, 78px);
  }
  .hero-eyebrow {
    font-size: 8px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .text-link {
    margin-left: 2px;
  }
  .hero-stats {
    gap: 10px;
  }
  .hero-stats > div {
    display: block;
  }
  .hero-stats strong,
  .hero-stats span {
    display: block;
  }
  .hero-stats span {
    margin-top: 5px;
  }
  .hero-visual {
    bottom: 50px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .filter-button {
    width: 100%;
  }
  .project-content,
  .featured .project-content {
    padding: 22px;
  }
  .project-bottom,
  .featured .project-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-actions,
  .featured .project-actions {
    width: 100%;
  }
  .project-specs {
    width: 100%;
    justify-content: space-between;
  }
  .project-visual {
    min-height: 250px;
  }
  .featured .project-visual {
    min-height: 270px;
  }
  .featured .project-object {
    transform: scale(1.08) rotateX(-5deg) rotateY(-8deg);
  }
  .process-grid {
    display: block;
    border-top: 0;
  }
  .process-card {
    min-height: 270px;
    border-top: 1px solid var(--line);
  }
  .process-icon {
    margin-top: 30px;
  }
  .final-frame {
    padding: 50px 23px;
  }
  .final-frame h2 {
    font-size: 34px;
  }
  .final-frame > p:not(.eyebrow) br {
    display: none;
  }
  .final-actions .button {
    width: 100%;
  }
  .footer-brand .brand-copy {
    display: none;
  }
  .modal-stats {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .boot-screen {
    display: none;
  }
  .hero-title > span,
  .hero-eyebrow,
  .hero-name-row,
  .hero-lead,
  .hero-actions,
  .hero-stats,
  .hero-visual {
    opacity: 1;
    transform: none;
  }
  .js .reveal,
  .js .project-card.reveal {
    opacity: 1;
    transform: none;
  }
  .cursor-aura {
    display: none;
  }
}
