/* PlunkDev digital interface */
:root {
  --bg: #080a0c;
  --panel: #0d1013;
  --panel-2: #12171a;
  --text: #edf0ea;
  --muted: #87908d;
  --dim: #4e5654;
  --line: rgba(237, 240, 234, 0.15);
  --line-strong: rgba(237, 240, 234, 0.34);
  --accent: #b8ff3d;
  --accent-rgb: 184, 255, 61;
  --cyan: #4ae9d4;
  --amber: #ff9d42;
  --violet: #9d84ff;
  --shell: min(1440px, calc(100vw - 48px));
  --sans: "Instrument Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(0.22, 0.75, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  cursor: none;
}

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

body.palette-alt {
  --accent: #9d84ff;
  --accent-rgb: 157, 132, 255;
  --cyan: #ff6e9c;
}

::selection {
  background: var(--accent);
  color: #080a0c;
}

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

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg);
  background: var(--dim);
}

a,
button {
  color: inherit;
  cursor: none;
}

a {
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-field {
  position: fixed;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.grain {
  position: fixed;
  z-index: 90;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.cursor {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s ease;
}

.cursor__cross::before,
.cursor__cross::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  content: "";
  transform: translate(-50%, -50%);
}

.cursor__cross::before {
  width: 14px;
  height: 1px;
}

.cursor__cross::after {
  width: 1px;
  height: 14px;
}

.cursor::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.75);
  content: "";
  transform: rotate(45deg);
}

.cursor__label {
  opacity: 0;
  color: #080a0c;
  font: 500 9px var(--mono);
  letter-spacing: 0.08em;
  transition: opacity 0.2s ease;
}

.cursor.is-hovering {
  width: 70px;
  height: 70px;
  background: var(--accent);
}

.cursor.is-hovering::before {
  border-color: var(--accent);
}

.cursor.is-hovering .cursor__cross {
  opacity: 0;
}

.cursor.is-hovering .cursor__label {
  opacity: 1;
}

.boot {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: max(24px, 4vw);
  background: #080a0c;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.85s;
}

.boot.is-done {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}

.boot__brand,
.boot__meta {
  font: 10px var(--mono);
  letter-spacing: 0.1em;
}

.boot__line {
  height: 1px;
  margin: 18px 0 12px;
  overflow: hidden;
  background: var(--line);
}

.boot__line span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

.boot__meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.topbar {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.78);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  padding-left: 9px;
  font-size: 14px;
  font-weight: 600;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--accent);
  color: #080a0c;
  font: 500 11px var(--mono);
  transition: background 0.35s ease;
}

.brand__name {
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  height: 100%;
  align-items: center;
}

.nav a {
  padding: 10px 18px;
  color: var(--muted);
  font: 10px var(--mono);
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav a span {
  margin-right: 4px;
  color: var(--dim);
}

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

.topbar__tools {
  display: flex;
  justify-content: flex-end;
  padding-right: 12px;
}

.palette-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: 0.08em;
}

.palette-toggle span {
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.7);
  transition: background 0.35s ease;
}

.menu-button {
  display: none;
}

.mobile-nav {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  background: var(--accent);
  color: #080a0c;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease), background 0.35s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
  padding: 130px 0 58px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 31%;
  width: 1px;
  background: linear-gradient(transparent, var(--line), transparent);
  content: "";
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(32px, 5vw, 68px);
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: 0.08em;
}

.kicker span {
  width: 7px;
  height: 7px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.8);
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(54px, 7.2vw, 112px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.title-row {
  display: block;
  width: max-content;
  max-width: 100%;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-18px);
  transition: clip-path 0.95s var(--ease), transform 0.95s var(--ease);
}

.page-ready .title-row {
  clip-path: inset(0 0 0 0);
  transform: translateX(0);
}

.page-ready .title-row:nth-child(2) {
  transition-delay: 0.12s;
}

.title-row--accent {
  color: var(--accent);
  transition: color 0.35s ease, clip-path 0.95s var(--ease) 0.12s, transform 0.95s var(--ease) 0.12s;
}

.hero__intro {
  display: grid;
  max-width: 620px;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-top: clamp(38px, 6vw, 72px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero__intro p {
  max-width: 360px;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
}

.text-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
  font: 10px var(--mono);
  letter-spacing: 0.06em;
}

.text-link span {
  font-size: 16px;
}

.hero__readout {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border: 1px solid var(--line);
}

.hero__readout p {
  display: flex;
  min-height: 62px;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  border-right: 1px solid var(--line);
  font: 8px var(--mono);
  letter-spacing: 0.05em;
}

.hero__readout p:last-child {
  border-right: 0;
}

.hero__readout span {
  color: var(--dim);
}

.hero__readout b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
}

.hero__readout i,
.contact__meta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.8);
  animation: blink 1.7s ease-in-out infinite;
}

.machine {
  position: relative;
  border: 1px solid var(--line-strong);
  background: rgba(13, 16, 19, 0.8);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.38);
  transform-style: preserve-3d;
}

.machine::before {
  position: absolute;
  z-index: -1;
  inset: -10px;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  content: "";
}

.machine__bar,
.machine__footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 40px;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: 0.05em;
}

.machine__bar {
  border-bottom: 1px solid var(--line);
}

.machine__bar > div {
  display: flex;
  gap: 5px;
}

.machine__bar i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}

.machine__bar > span:last-child,
.machine__footer > span:last-child {
  justify-self: end;
}

.machine__bar b,
.machine__footer b {
  color: var(--text);
  font-weight: 400;
}

.machine__viewport {
  position: relative;
  display: grid;
  aspect-ratio: 1.05;
  overflow: hidden;
  place-items: center;
  perspective: 900px;
}

.machine__viewport::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.1), transparent 52%);
  content: "";
  pointer-events: none;
}

.machine__grid {
  position: absolute;
  inset: -30%;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: rotateX(68deg) rotateZ(-12deg) translateY(15%);
  animation: gridMove 12s linear infinite;
}

.machine__orb {
  position: relative;
  z-index: 2;
  display: grid;
  width: 54%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.05);
  box-shadow: inset 0 0 80px rgba(var(--accent-rgb), 0.12), 0 0 70px rgba(var(--accent-rgb), 0.09);
  transform-style: preserve-3d;
  transition: transform 0.16s ease, border-color 0.35s ease;
}

.machine__orb::before,
.machine__orb::after {
  position: absolute;
  border: 1px dashed rgba(var(--accent-rgb), 0.55);
  border-radius: 50%;
  content: "";
}

.machine__orb::before {
  inset: 10%;
  animation: spin 16s linear infinite;
}

.machine__orb::after {
  inset: 24%;
  border-style: solid;
  animation: spin 9s linear infinite reverse;
}

.machine__orb strong {
  z-index: 3;
  font: 500 clamp(38px, 4vw, 64px) var(--mono);
  letter-spacing: -0.12em;
}

.machine__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 50%;
}

.machine__ring--one {
  transform: rotateX(70deg);
}

.machine__ring--two {
  transform: rotateY(70deg);
}

.machine__ring--three {
  transform: rotateX(65deg) rotateY(48deg);
}

.machine__tag {
  position: absolute;
  z-index: 3;
  padding: 5px 7px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font: 8px var(--mono);
  letter-spacing: 0.08em;
}

.machine__tag--one {
  top: 20%;
  left: 8%;
}

.machine__tag--two {
  right: 7%;
  bottom: 24%;
}

.machine__tag--three {
  bottom: 10%;
  left: 24%;
}

.machine__footer {
  border-top: 1px solid var(--line);
}

.signal-bars {
  display: flex;
  height: 14px;
  align-items: flex-end;
  gap: 3px;
}

.signal-bars i {
  width: 3px;
  background: var(--accent);
  animation: signal 1s ease-in-out infinite alternate;
}

.signal-bars i:nth-child(1) { height: 25%; }
.signal-bars i:nth-child(2) { height: 45%; animation-delay: -0.2s; }
.signal-bars i:nth-child(3) { height: 75%; animation-delay: -0.4s; }
.signal-bars i:nth-child(4) { height: 55%; animation-delay: -0.1s; }
.signal-bars i:nth-child(5) { height: 100%; animation-delay: -0.3s; }

.hero__index {
  position: absolute;
  right: 0;
  bottom: 22px;
  color: var(--dim);
  font: 8px var(--mono);
}

.section {
  padding: clamp(90px, 10vw, 150px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  margin-bottom: clamp(58px, 8vw, 110px);
}

.section-head p {
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: 0.07em;
}

.section-head p span {
  margin-right: 10px;
  color: var(--accent);
}

.section-head h2 {
  font-size: clamp(45px, 6vw, 86px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.section-head p:last-child {
  justify-self: end;
}

.project-stack {
  display: grid;
  gap: 28px;
}

.project {
  position: relative;
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(13, 16, 19, 0.92);
}

.project:nth-child(even) {
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
}

.project:nth-child(even) .project__content {
  order: 2;
}

.project__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 58px);
}

.project__meta,
.project__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project__meta {
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: 0.07em;
}

.status {
  padding: 6px 8px;
  border: 1px solid var(--line-strong);
}

.status--live {
  border-color: rgba(184, 255, 61, 0.4);
  color: var(--accent);
}

.project__type {
  margin-bottom: 17px;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: 0.07em;
}

.project h3 {
  font-size: clamp(64px, 7.5vw, 112px);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.085em;
}

.project__description {
  max-width: 410px;
  margin-top: 35px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.project__bottom {
  align-items: flex-end;
  gap: 24px;
}

.project__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project__bottom li {
  padding: 6px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 8px var(--mono);
  text-transform: uppercase;
}

.project__action {
  display: flex;
  min-width: 104px;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 13px;
  border: 1px solid var(--text);
  font: 9px var(--mono);
  transition: background 0.25s ease, color 0.25s ease;
}

.project__action:hover {
  background: var(--text);
  color: var(--bg);
}

.project__action span {
  font-size: 14px;
}

.project__action--disabled {
  border-color: var(--dim);
  color: var(--dim);
}

.project__visual {
  position: relative;
  display: grid;
  min-width: 0;
  margin: 14px;
  overflow: hidden;
  place-items: center;
  transform-style: preserve-3d;
}

.project--amber .project__visual {
  background: radial-gradient(circle at 28% 20%, #ffc274, transparent 25%), linear-gradient(145deg, #5c2809, #d96718 55%, #ffae58);
}

.project--singcue .project__visual {
  background: radial-gradient(circle at 74% 22%, rgba(184, 255, 61, 0.28), transparent 25%), linear-gradient(145deg, #11151a, #181334 48%, #492d75);
}

.palette-alt .project--singcue .project__visual {
  background: radial-gradient(circle at 74% 22%, rgba(255, 110, 156, 0.3), transparent 25%), linear-gradient(145deg, #11151a, #281130 48%, #6b2545);
}

.project__visual::after {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.22), transparent 28%);
  content: "";
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project:hover .project__visual::after {
  opacity: 1;
}

.project__stamp {
  position: absolute;
  right: 18px;
  bottom: 15px;
  color: rgba(255, 255, 255, 0.65);
  font: 7px var(--mono);
  letter-spacing: 0.09em;
}

.amber-shot {
  width: min(88%, 820px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: #080a0c;
  box-shadow: 32px 42px 90px rgba(45, 12, 0, 0.5);
  transform: perspective(1200px) rotateX(3deg) rotateY(-7deg) translateZ(20px);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.project:hover .amber-shot {
  box-shadow: 22px 30px 70px rgba(45, 12, 0, 0.38);
  transform: perspective(1200px) rotateX(0) rotateY(-1.5deg) translateZ(42px) scale(1.018);
}

.amber-shot__bar {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #7c8286;
  font: 7px var(--mono);
  letter-spacing: 0.07em;
}

.amber-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.launcher-ui {
  width: min(76%, 690px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  background: #0b0c0e;
  color: #ece8e2;
  box-shadow: 32px 42px 80px rgba(45, 12, 0, 0.42);
  transform: perspective(1000px) rotateX(4deg) rotateY(-8deg) translateZ(20px);
  transition: transform 0.6s var(--ease);
}

.project:hover .launcher-ui {
  transform: perspective(1000px) rotateX(0) rotateY(-2deg) translateZ(42px) scale(1.025);
}

.launcher-ui__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #272a2e;
  color: #777d82;
  font: 7px var(--mono);
}

.launcher-ui__bar > span:first-child {
  display: flex;
  gap: 4px;
}

.launcher-ui__bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3b4044;
}

.launcher-ui__bar > span:last-child {
  justify-self: end;
}

.launcher-ui__body {
  display: grid;
  min-height: 390px;
  grid-template-columns: 46px 1fr;
}

.launcher-ui__body aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  border-right: 1px solid #272a2e;
}

.launcher-ui__body aside b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 5px;
  background: var(--amber);
  color: #1b0d03;
  font: 500 10px var(--mono);
}

.launcher-ui__body aside i {
  width: 12px;
  height: 12px;
  border: 1px solid #41474b;
  border-radius: 3px;
}

.launcher-ui__content {
  padding: 42px clamp(22px, 4vw, 54px);
  background: radial-gradient(circle at 80% 0, rgba(255, 157, 66, 0.14), transparent 34%);
}

.launcher-ui__content > p {
  color: var(--amber);
  font: 7px var(--mono);
  letter-spacing: 0.09em;
}

.launcher-ui h4 {
  margin-top: 13px;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.07em;
}

.launcher-ui__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 32px;
}

.launcher-ui__cards i {
  height: 70px;
  border: 1px solid #2c3033;
  border-radius: 4px;
  background: linear-gradient(135deg, #1e2225, #121416);
}

.launcher-ui__cards i:first-child {
  border-color: rgba(255, 157, 66, 0.5);
  background: linear-gradient(135deg, #52280e, #1a1715);
}

.launcher-ui__progress {
  height: 2px;
  margin-top: 28px;
  overflow: hidden;
  background: #2c3033;
}

.launcher-ui__progress span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--amber);
  animation: loadPulse 2.4s ease-in-out infinite alternate;
}

.launcher-ui__button {
  width: max-content;
  margin-top: 14px;
  padding: 9px 20px;
  border-radius: 3px;
  background: var(--amber);
  color: #170c03;
  font: 500 8px var(--mono);
}

.cue-ui {
  position: relative;
  width: min(78%, 700px);
  min-height: 72%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 8, 12, 0.8);
  box-shadow: 30px 40px 90px rgba(5, 0, 20, 0.5);
  transform: perspective(1000px) rotateX(4deg) rotateY(8deg) translateZ(20px);
  transition: transform 0.6s var(--ease);
}

.project:hover .cue-ui {
  transform: perspective(1000px) rotateX(0) rotateY(2deg) translateZ(42px) scale(1.02);
}

.cue-ui__top,
.cue-ui__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #85829b;
  font: 7px var(--mono);
  letter-spacing: 0.07em;
}

.cue-ui__top span:last-child {
  color: #ff5d78;
}

.cue-ui__wave {
  display: flex;
  height: 130px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 54px;
}

.cue-ui__wave i {
  width: 4px;
  height: var(--wave, 20%);
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.35);
  animation: wave 1.1s ease-in-out infinite alternate;
}

.cue-ui__wave i:nth-child(2n) { --wave: 68%; animation-delay: -0.6s; }
.cue-ui__wave i:nth-child(3n) { --wave: 35%; animation-delay: -0.3s; }
.cue-ui__wave i:nth-child(4n) { --wave: 92%; animation-delay: -0.8s; }
.cue-ui__wave i:nth-child(5n) { --wave: 52%; animation-delay: -0.1s; }

.cue-ui__title {
  margin-top: 18px;
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-align: center;
}

.cue-ui__title span {
  color: var(--accent);
}

.cue-ui__timeline {
  height: 1px;
  margin: 52px 0 16px;
  background: #3b3950;
}

.cue-ui__timeline span {
  display: block;
  width: 36%;
  height: 100%;
  background: var(--accent);
}

.cue-ui__bottom b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #080a0c;
  font-size: 10px;
}

.studio__body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(60px, 10vw, 160px);
  align-items: end;
}

.studio__statement {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.studio__statement em {
  color: var(--accent);
  font-style: normal;
}

.studio__data {
  border-top: 1px solid var(--line-strong);
}

.studio__data div {
  display: grid;
  grid-template-columns: 40px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.studio__data span {
  color: var(--dim);
  font: 8px var(--mono);
}

.studio__data b {
  font: 400 12px var(--mono);
  letter-spacing: 0.05em;
}

.contact {
  padding-bottom: 80px;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: clamp(90px, 11vw, 150px);
  border: 1px solid var(--line-strong);
}

.capability-strip span {
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: 0.07em;
}

.capability-strip span::before {
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background: var(--accent);
  content: "";
}

.capability-strip span:last-child {
  border-right: 0;
}

.contact .section-head {
  grid-template-columns: 1fr 1fr;
  margin-bottom: clamp(65px, 9vw, 120px);
}

.contact__body {
  padding-top: 38px;
  border-top: 1px solid var(--line-strong);
}

.contact__body > p {
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: 0.08em;
}

.contact h2 {
  margin-top: 28px;
  font-size: clamp(92px, 17vw, 260px);
  font-weight: 500;
  line-height: 0.75;
  letter-spacing: -0.095em;
}

.contact h2 a {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  color: var(--accent);
  transition: color 0.35s ease;
}

.contact h2 a::after {
  position: absolute;
  right: 0;
  bottom: -0.08em;
  left: 0;
  height: 3px;
  background: currentColor;
  content: "";
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.contact h2 a:hover::after {
  transform: scaleX(1);
}

.contact h2 span {
  margin: 0.08em 0 0 0.2em;
  font: 400 0.16em var(--mono);
  letter-spacing: 0;
}

.contact__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(60px, 9vw, 120px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 9px var(--mono);
}

.contact__meta p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font: 8px var(--mono);
  letter-spacing: 0.06em;
}

.footer a {
  justify-self: end;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.noscript {
  position: fixed;
  z-index: 2000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px;
  background: var(--accent);
  color: #080a0c;
  font: 10px var(--mono);
  text-align: center;
}

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

@keyframes gridMove {
  to { background-position: 36px 36px; }
}

@keyframes signal {
  to { height: 30%; }
}

@keyframes blink {
  50% { opacity: 0.25; }
}

@keyframes loadPulse {
  to { width: 92%; }
}

@keyframes wave {
  to { height: 16%; }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 32px, 980px);
  }

  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 78px);
  }

  .hero__intro {
    grid-template-columns: 1fr;
  }

  .text-link {
    width: max-content;
  }

  .project,
  .project:nth-child(even) {
    min-height: 580px;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  }

  .project:nth-child(even) .project__content {
    order: 0;
  }

  .project h3 {
    font-size: clamp(58px, 8vw, 84px);
  }

  .studio__body {
    grid-template-columns: 1fr;
  }

  .studio__data {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 24px);
  }

  body,
  a,
  button {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .topbar {
    top: 8px;
    grid-template-columns: 1fr auto;
    min-height: 54px;
  }

  .brand {
    padding-left: 7px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .nav,
  .palette-toggle {
    display: none;
  }

  .topbar__tools {
    padding-right: 8px;
  }

  .menu-button {
    display: flex;
    width: 36px;
    height: 36px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line-strong);
  }

  .menu-button i {
    width: 14px;
    height: 1px;
    background: var(--text);
    transition: transform 0.3s ease;
  }

  .menu-open .menu-button i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-button i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 110px 18px 24px;
  }

  .menu-open .mobile-nav {
    clip-path: inset(0 0 0 0);
  }

  .mobile-nav nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(8, 10, 12, 0.25);
    font-size: clamp(40px, 14vw, 64px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.07em;
  }

  .mobile-nav b,
  .mobile-nav p {
    font: 9px var(--mono);
    letter-spacing: 0.06em;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 124px 0 80px;
  }

  .hero::before {
    display: none;
  }

  .kicker {
    margin-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
    line-height: 0.88;
  }

  .hero__intro {
    display: block;
    margin-top: 44px;
  }

  .text-link {
    margin-top: 25px;
  }

  .hero__readout {
    margin-top: 36px;
  }

  .hero__readout p {
    min-height: 70px;
    font-size: 7px;
  }

  .machine {
    margin-top: 64px;
  }

  .machine__viewport {
    aspect-ratio: 0.95;
  }

  .machine__orb {
    width: 58%;
  }

  .hero__index {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .section-head {
    grid-template-columns: 1fr auto;
    row-gap: 30px;
    margin-bottom: 55px;
  }

  .section-head h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    font-size: clamp(44px, 17vw, 70px);
  }

  .project,
  .project:nth-child(even) {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .project:nth-child(even) .project__content {
    order: 0;
  }

  .project__content {
    min-height: 470px;
    padding: 24px 20px 30px;
  }

  .project h3 {
    font-size: clamp(64px, 22vw, 90px);
  }

  .project__description {
    margin-top: 28px;
    font-size: 14px;
  }

  .project__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .project__visual {
    min-height: 410px;
    margin: 0 8px 8px;
  }

  .launcher-ui,
  .cue-ui {
    width: 90%;
  }

  .amber-shot {
    width: 94%;
    transform: perspective(900px) rotateX(2deg) rotateY(-3deg);
  }

  .launcher-ui__body {
    min-height: 300px;
  }

  .launcher-ui__content {
    padding: 34px 24px;
  }

  .launcher-ui__cards i {
    height: 52px;
  }

  .cue-ui {
    min-height: 350px;
  }

  .cue-ui__wave {
    height: 100px;
    margin-top: 40px;
  }

  .cue-ui__timeline {
    margin-top: 42px;
  }

  .studio__statement {
    font-size: clamp(42px, 13.5vw, 62px);
  }

  .studio__data {
    margin-top: 58px;
  }

  .contact .section-head {
    grid-template-columns: 1fr auto;
  }

  .capability-strip {
    grid-template-columns: 1fr;
    margin-bottom: 80px;
  }

  .capability-strip span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-strip span:last-child {
    border-bottom: 0;
  }

  .contact h2 {
    font-size: 25vw;
  }

  .contact__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer {
    grid-template-columns: 1fr auto;
    row-gap: 14px;
  }

  .footer p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 14.5vw;
  }

  .hero__readout {
    grid-template-columns: 1fr;
  }

  .hero__readout p {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__readout p:last-child {
    border-bottom: 0;
  }
}

@media (pointer: coarse) {
  body,
  a,
  button {
    cursor: auto;
  }

  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
