﻿:root {
  --cream: #fff8e8;
  --card-soft: #efe2ca;
  --ink: #11110f;
  --muted: rgba(17, 17, 15, 0.62);
  --green: #203229;
  --green-2: #385746;
  --brown: #f06a34;
  --blue: #4560f5;
  --mint: #7ce6af;
  --line: rgba(17, 17, 15, 0.14);
  --shadow: rgba(31, 24, 18, 0.16);

  --vault-fixed-height: 540px;
  --vault-screen-height: 180px;
  --vault-info-height: 346px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(255, 255, 255, 0.82),
      transparent 24%
    ),
    radial-gradient(circle at 84% 14%, rgba(69, 96, 245, 0.1), transparent 24%),
    radial-gradient(
      circle at 74% 82%,
      rgba(124, 230, 175, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 58% 24%,
      rgba(240, 106, 52, 0.08),
      transparent 24%
    ),
    linear-gradient(#efe6cf 0%, #f5f0df 46%, #efe3c9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(17, 17, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 248, 236, 0.45),
    transparent 64%
  );
  pointer-events: none;
  z-index: -1;
}

::selection {
  background: #96f0ff;
  color: #101010;
}

::-moz-selection {
  background: #96f0ff;
  color: #101010;
}

:root[data-theme="dark"] ::selection,
html[data-theme="dark"] ::selection {
  background: #c7ff3d;
  color: #101010;
}

:root[data-theme="dark"] ::-moz-selection,
html[data-theme="dark"] ::-moz-selection {
  background: #c7ff3d;
  color: #101010;
}

img {
  width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
}

.project-vault {
  width: min(1160px, calc(100% - 28px));
  margin: 34px auto;
  position: relative;
}

.float-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.75;
  filter: blur(1px);
}

.float-orb.one {
  width: 145px;
  height: 145px;
  right: -45px;
  top: 100px;
  background: rgba(35, 56, 47, 0.16);
  animation: floatOne 8s ease-in-out infinite;
}

.float-orb.two {
  width: 95px;
  height: 95px;
  left: -30px;
  bottom: 120px;
  background: rgba(155, 106, 63, 0.18);
  animation: floatTwo 9s ease-in-out infinite;
}

@keyframes floatOne {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(24px);
  }
}

@keyframes floatTwo {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(16px, -22px);
  }
}

.vault-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 22px;
  background: color-mix(in srgb, var(--cream) 94%, white 4%);
  border: 2px solid var(--ink);
  box-shadow:
    12px 12px 0 color-mix(in srgb, var(--shadow) 84%, transparent),
    0 24px 64px rgba(55, 35, 14, 0.12);
  backdrop-filter: blur(16px);
}

.vault-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 14% 12%,
      rgba(255, 255, 255, 0.62),
      transparent 26%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(69, 96, 245, 0.08),
      transparent 22%
    ),
    radial-gradient(
      circle at 82% 74%,
      rgba(124, 230, 175, 0.08),
      transparent 24%
    );
  pointer-events: none;
}

.vault-shell::after {
  content: "";
  position: absolute;
  top: -38%;
  left: -44%;
  width: 170%;
  height: 35%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: rotate(12deg);
  animation: shineSweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shineSweep {
  0%,
  45% {
    transform: translateY(0) rotate(12deg);
    opacity: 0;
  }

  58% {
    opacity: 1;
  }

  100% {
    transform: translateY(780px) rotate(12deg);
    opacity: 0;
  }
}

.vault-inner {
  position: relative;
  z-index: 2;
}

.vault-brandline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.78);
  box-shadow: 0 10px 24px rgba(17, 17, 15, 0.06);
}

.vault-brandline img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(17, 17, 15, 0.05);
  padding: 4px;
}

.vault-brandcopy {
  display: grid;
  line-height: 1.04;
}

.vault-brandcopy strong {
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.vault-brandcopy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
}

.vault-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.vault-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(240, 106, 52, 0.1);
  color: var(--brown);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vault-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brown);
  box-shadow: 0 0 0 5px rgba(240, 106, 52, 0.12);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.55);
    opacity: 0.55;
  }
}

.vault-head h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.86;
  letter-spacing: -0.095em;
}

.vault-head p {
  max-width: 580px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.vault-status {
  width: 215px;
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(124, 230, 175, 0.18),
      transparent 28%
    ),
    linear-gradient(145deg, var(--green), var(--green-2));
  color: var(--cream);
  box-shadow: 0 22px 48px rgba(35, 56, 47, 0.22);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.12);
}

.vault-status::after {
  content: "";
  position: absolute;
  width: 115px;
  height: 115px;
  right: -52px;
  top: -52px;
  border-radius: 50%;
  background: rgba(255, 248, 236, 0.1);
}

.vault-status strong {
  display: block;
  position: relative;
  z-index: 1;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 8px;
}

.vault-status span {
  display: block;
  position: relative;
  z-index: 1;
  color: rgba(255, 248, 236, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.vault-console {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  align-items: start;
}

.orbit-zone,
.live-panel {
  height: var(--vault-fixed-height);
  min-height: var(--vault-fixed-height);
  max-height: var(--vault-fixed-height);
}

.orbit-zone {
  border-radius: 30px;
  background:
    radial-gradient(circle at center, rgba(69, 96, 245, 0.08), transparent 30%),
    radial-gradient(
      circle at 18% 84%,
      rgba(240, 106, 52, 0.08),
      transparent 24%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.42),
      rgba(255, 248, 236, 0.68)
    );
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.orbit-zone::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 26px;
  border: 1px solid rgba(31, 25, 19, 0.08);
  pointer-events: none;
}

.orbit-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      transparent 0 22%,
      rgba(35, 56, 47, 0.04) 23% 24%,
      transparent 25%
    ),
    radial-gradient(
      circle at center,
      transparent 0 38%,
      rgba(35, 56, 47, 0.04) 39% 40%,
      transparent 41%
    );
  pointer-events: none;
}

.scan-light {
  position: absolute;
  width: 100%;
  height: 3px;
  top: 10%;
  left: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(35, 56, 47, 0.55),
    transparent
  );
  animation: scan 4s ease-in-out infinite;
  opacity: 0.75;
  z-index: 3;
}

@keyframes scan {
  0%,
  100% {
    top: 12%;
    opacity: 0;
  }

  20%,
  80% {
    opacity: 0.8;
  }

  50% {
    top: 86%;
  }
}

.orbit-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(35, 56, 47, 0.28);
  animation: rotateSlow 30s linear infinite;
  z-index: 1;
}

.orbit-ring.two {
  width: 270px;
  height: 270px;
  border-style: solid;
  opacity: 0.58;
  animation-duration: 22s;
  animation-direction: reverse;
}

.orbit-ring.three {
  width: 178px;
  height: 178px;
  opacity: 0.42;
  animation-duration: 18s;
}

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

.focus-beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 178px;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 56, 47, 0.72), transparent);
  transform-origin: left center;
  transform: rotate(var(--beam-angle, 0deg));
  z-index: 2;
  opacity: 0.7;
  filter: drop-shadow(0 0 10px rgba(35, 56, 47, 0.3));
  transition: transform 0.4s ease;
}

.focus-beam::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(35, 56, 47, 0.1);
}

.vault-core {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--cream) 0 17%, transparent 18%),
    conic-gradient(
      from 90deg,
      rgba(35, 56, 47, 0.38),
      rgba(35, 56, 47, 0.08),
      rgba(35, 56, 47, 0.38)
    );
  border: 1px solid rgba(35, 56, 47, 0.28);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow:
    inset 0 0 0 15px rgba(255, 248, 236, 0.38),
    inset 0 0 0 28px rgba(35, 56, 47, 0.06),
    0 24px 58px rgba(55, 35, 14, 0.18);
  animation: coreBreath 3.6s ease-in-out infinite;
  z-index: 4;
}

@keyframes coreBreath {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

.vault-core::before,
.vault-core::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(35, 56, 47, 0.26);
}

.vault-core::before {
  inset: 23px;
}

.vault-core::after {
  inset: 43px;
  border-style: dashed;
  animation: rotateSlow 14s linear infinite;
}

.core-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--green);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.orbit-menu {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  z-index: 5;
}

.vault-node {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 0;
  cursor: pointer;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 248, 236, 0.78);
  border: 1px solid rgba(31, 25, 19, 0.12);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(55, 35, 14, 0.12);
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(180px)
    rotate(calc(var(--angle) * -1));
  transition: 0.28s ease;
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.vault-node:hover,
.vault-node.active {
  background: linear-gradient(
    145deg,
    var(--blue),
    color-mix(in srgb, var(--blue) 72%, var(--green))
  );
  color: var(--cream);
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(180px)
    rotate(calc(var(--angle) * -1)) scale(1.08);
  box-shadow: 0 22px 40px rgba(69, 96, 245, 0.22);
}

.vault-node b {
  display: block;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 6px;
}

.vault-node span {
  display: block;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  opacity: 0.78;
}

.auto-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  z-index: 8;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(31, 25, 19, 0.08);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--green);
}

.progress-bar.playing {
  animation: fillProgress 6s linear infinite;
}

@keyframes fillProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.play-toggle {
  border: 0;
  cursor: pointer;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.84);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(31, 25, 19, 0.1);
  box-shadow: 0 14px 32px rgba(31, 25, 19, 0.1);
}

.live-panel {
  border-radius: 30px;
  background: var(--green);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.16);
  box-shadow: 0 28px 68px rgba(35, 56, 47, 0.3);
  display: grid;
  grid-template-rows: 194px 346px;
}

.live-panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -125px;
  top: -115px;
  background: rgba(255, 248, 236, 0.08);
}

.live-panel::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -90px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(255, 248, 236, 0.07);
}

.project-screen {
  position: relative;
  display: grid;
  place-items: center;
  height: var(--vault-screen-height);
  min-height: var(--vault-screen-height);
  max-height: var(--vault-screen-height);
  margin: 14px 14px 0;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 248, 236, 0.16),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(255, 248, 236, 0.16),
      rgba(255, 248, 236, 0.04)
    );
  border: 1px solid rgba(255, 248, 236, 0.14);
  z-index: 2;
}

.project-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.94;
  transform: scale(1.015);
  transition: 0.5s ease;
}

.project-screen.active-change img {
  transform: scale(1.03);
  opacity: 0.78;
  filter: none;
}

.project-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(
      circle at 70% 20%,
      rgba(255, 248, 236, 0.22),
      transparent 28%
    );
  pointer-events: none;
  z-index: 3;
}

.screen-noise {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 6px;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: noiseMove 0.7s steps(2) infinite;
  z-index: 4;
}

@keyframes noiseMove {
  to {
    transform: translateY(6px);
  }
}

.screen-label {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.88);
  color: var(--brown);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

.project-index {
  position: absolute;
  right: 16px;
  bottom: 2px;
  color: rgba(255, 248, 236, 0.62);
  font-size: clamp(3.4rem, 8vw, 6.7rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 1;
  z-index: 5;
}

.project-info {
  position: relative;
  z-index: 2;
  height: var(--vault-info-height);
  min-height: var(--vault-info-height);
  max-height: var(--vault-info-height);
  padding: 15px 20px 15px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr 42px;
  gap: 10px;
}

.project-info-main {
  min-height: 0;
  overflow: hidden;
}

.project-meta {
  height: 14px;
  color: rgba(255, 248, 236, 0.64);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 7px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.project-info h2 {
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  max-width: 620px;
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  margin-bottom: 8px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-info p {
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  max-width: 640px;
  color: rgba(255, 248, 236, 0.72);
  font-size: 13px;
  line-height: 1.55;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  margin-top: 9px;
  overflow: hidden;
}

.tag-line span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.1);
  color: var(--cream);
  font-size: 10px;
  font-weight: 900;
  border: 1px solid rgba(255, 248, 236, 0.08);
  height: 24px;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  margin-top: 9px;
  overflow: hidden;
}

.project-stat {
  height: 56px;
  min-height: 56px;
  max-height: 56px;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(255, 248, 236, 0.1);
  overflow: hidden;
}

.project-stat strong {
  display: block;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-stat span {
  display: block;
  color: rgba(255, 248, 236, 0.58);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.action-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  overflow: visible;
  align-items: center;
}

.action-row a,
.action-row button {
  border: 0;
  cursor: pointer;
  height: 42px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s ease;
  white-space: nowrap;
}

.visit-btn {
  background: var(--blue);
  color: #fff8e8;
  box-shadow: 5px 5px 0 rgba(124, 230, 175, 0.65);
}

.next-btn {
  background: rgba(255, 248, 236, 0.08);
  color: var(--cream);
  border: 1px solid rgba(255, 248, 236, 0.14) !important;
}

.action-row a:hover,
.action-row button:hover {
  transform: translateY(-3px);
}

.project-rail {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 248, 236, 0.72);
  border: 1.5px solid var(--line);
  overflow-x: auto;

  height: 92px;
  min-height: 92px;
  max-height: 92px;
  align-items: center;
}

.rail-item {
  border: 0;
  cursor: pointer;
  min-width: 145px;
  width: 145px;
  height: 68px;
  min-height: 68px;
  max-height: 68px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(31, 25, 19, 0.06);
  color: var(--ink);
  text-align: left;
  transition: 0.25s ease;
  flex: 0 0 auto;
  overflow: hidden;
}

.rail-item.active,
.rail-item:hover {
  background: linear-gradient(145deg, var(--green), var(--green-2));
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(35, 56, 47, 0.2);
}

.rail-item strong {
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 5px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rail-item span {
  display: -webkit-box;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 980px) {
  :root {
    --vault-fixed-height: 500px;
    --vault-screen-height: 175px;
    --vault-info-height: 311px;
  }

  .vault-head {
    grid-template-columns: 1fr;
  }

  .vault-status {
    width: 100%;
  }

  .vault-console {
    grid-template-columns: 1fr;
  }

  .live-panel {
    grid-template-rows: 189px 311px;
  }
}

@media (max-width: 620px) {
  :root {
    --vault-fixed-height: auto;
    --vault-screen-height: 180px;
    --vault-info-height: 326px;
  }

  html {
    scroll-behavior: auto;
  }

  body::after,
  .float-orb,
  .vault-shell::after,
  .scan-light,
  .orbit-ring,
  .focus-beam,
  .vault-core,
  .screen-noise {
    display: none;
  }

  .project-vault {
    width: calc(100% - 18px);
    margin: 18px auto;
  }

  .vault-shell {
    padding: 12px;
    border-radius: 26px;
    box-shadow: 7px 7px 0 rgba(31, 24, 18, 0.14);
    backdrop-filter: none;
  }

  .vault-brandline {
    margin-bottom: 14px;
    padding: 8px 11px;
  }

  .vault-head {
    margin-bottom: 14px;
  }

  .vault-head h1 {
    font-size: 2.25rem;
    letter-spacing: -0.07em;
  }

  .vault-head p {
    font-size: 14px;
  }

  .orbit-zone {
    border-radius: 24px;
    height: auto;
    min-height: 0;
    max-height: none;
    display: block;
    padding: 14px;
    background:
      radial-gradient(
        circle at 90% 0%,
        rgba(69, 96, 245, 0.12),
        transparent 32%
      ),
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.52),
        rgba(255, 248, 236, 0.78)
      );
  }

  .orbit-zone,
  .live-panel {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .orbit-menu {
    position: relative;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-radius: 20px;
  }

  .vault-node,
  .vault-node:hover,
  .vault-node.active {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 58px;
    border-radius: 16px;
    transform: none;
    transition:
      background 0.18s ease,
      color 0.18s ease;
    box-shadow: none;
    backdrop-filter: none;
  }

  .vault-node b {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .vault-node span {
    font-size: 7.5px;
  }

  .auto-controls {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 12px;
    grid-template-columns: 1fr;
  }

  .progress-track {
    display: none;
  }

  .play-toggle {
    width: 100%;
  }

  .live-panel {
    border-radius: 24px;
    grid-template-rows: auto auto;
    box-shadow: 0 18px 38px rgba(35, 56, 47, 0.22);
  }

  .project-screen {
    height: 188px;
    min-height: 188px;
    max-height: 188px;
    margin: 12px 12px 0;
    border-radius: 20px;
  }

  .project-screen img,
  .project-screen.active-change img {
    transform: none;
    transition: opacity 0.18s ease;
  }

  .project-info {
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 16px;
  }

  .project-info h2 {
    height: auto;
    min-height: 0;
    max-height: none;
    font-size: 1.9rem;
  }

  .project-info p {
    height: auto;
    min-height: 0;
    max-height: none;
    font-size: 14px;
    -webkit-line-clamp: 4;
  }

  .project-stats {
    display: none;
  }

  .action-row {
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .action-row a,
  .action-row button {
    width: 100%;
  }

  .project-rail {
    height: auto;
    min-height: 0;
    max-height: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rail-item {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .progress-bar.playing,
  .project-screen.active-change img,
  .vault-node,
  .rail-item {
    animation: none;
  }
}

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

/* FINAL FEATURED PROJECT VAULT DARK THEME */
html[data-theme="dark"] {
  --cream: #fff3df;
  --card-soft: #211a2a;
  --ink: #fff3df;
  --muted: rgba(255, 243, 223, 0.76);
  --green: #7ce6af;
  --green-2: #345846;
  --brown: #ff9a62;
  --blue: #8d8cff;
  --mint: #7ce6af;
  --line: rgba(255, 243, 223, 0.22);
  --shadow: rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] body.project-vault-page {
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(124, 230, 175, 0.1),
      transparent 24%
    ),
    radial-gradient(
      circle at 86% 16%,
      rgba(141, 140, 255, 0.14),
      transparent 26%
    ),
    linear-gradient(135deg, #100d17 0%, #171220 46%, #0d1318 100%) !important;
  color: #fff3df !important;
}

html[data-theme="dark"] body.project-vault-page::before {
  background:
    linear-gradient(rgba(255, 243, 223, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 243, 223, 0.045) 1px, transparent 1px) !important;
}

html[data-theme="dark"] .project-vault-page .vault-shell {
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(255, 243, 223, 0.08),
      transparent 28%
    ),
    linear-gradient(145deg, rgba(30, 24, 39, 0.96), rgba(17, 13, 25, 0.98)) !important;
  border-color: rgba(255, 243, 223, 0.28) !important;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 243, 223, 0.04) !important;
}

html[data-theme="dark"] .project-vault-page .vault-shell::before {
  background:
    radial-gradient(
      circle at 14% 12%,
      rgba(255, 243, 223, 0.1),
      transparent 26%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(141, 140, 255, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at 82% 74%,
      rgba(124, 230, 175, 0.08),
      transparent 26%
    ) !important;
}

html[data-theme="dark"] .project-vault-page .vault-brandline {
  background: rgba(255, 243, 223, 0.14) !important;
  border-color: rgba(255, 243, 223, 0.22) !important;
  color: #fff3df !important;
}

html[data-theme="dark"] .project-vault-page .vault-brandline img {
  background: rgba(255, 243, 223, 0.9) !important;
}

html[data-theme="dark"] .project-vault-page .vault-brandcopy strong,
html[data-theme="dark"] .project-vault-page .vault-head h1,
html[data-theme="dark"] .project-vault-page .project-info h2,
html[data-theme="dark"] .project-vault-page .project-stat strong {
  color: #fff3df !important;
}

html[data-theme="dark"] .project-vault-page .vault-brandcopy small,
html[data-theme="dark"] .project-vault-page .vault-head p,
html[data-theme="dark"] .project-vault-page .project-info p,
html[data-theme="dark"] .project-vault-page .project-meta,
html[data-theme="dark"] .project-vault-page .project-stat span {
  color: rgba(255, 243, 223, 0.76) !important;
}

html[data-theme="dark"] .project-vault-page .vault-kicker {
  background: rgba(255, 154, 98, 0.16) !important;
  color: #ffb384 !important;
}

html[data-theme="dark"] .project-vault-page .vault-status {
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(255, 243, 223, 0.14),
      transparent 28%
    ),
    linear-gradient(145deg, #284736, #17261f) !important;
  color: #fff3df !important;
  border-color: rgba(255, 243, 223, 0.18) !important;
}

html[data-theme="dark"] .project-vault-page .orbit-zone {
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(124, 230, 175, 0.1),
      transparent 36%
    ),
    rgba(255, 243, 223, 0.08) !important;
  border-color: rgba(255, 243, 223, 0.2) !important;
}

html[data-theme="dark"] .project-vault-page .orbit-ring {
  border-color: rgba(255, 243, 223, 0.2) !important;
}

html[data-theme="dark"] .project-vault-page .focus-beam {
  background: linear-gradient(
    90deg,
    rgba(124, 230, 175, 0.65),
    transparent
  ) !important;
  filter: none !important;
}

html[data-theme="dark"] .project-vault-page .vault-core {
  background:
    radial-gradient(circle, rgba(255, 243, 223, 0.88) 0 17%, transparent 18%),
    conic-gradient(
      from 90deg,
      rgba(124, 230, 175, 0.42),
      rgba(255, 243, 223, 0.1),
      rgba(124, 230, 175, 0.42)
    ) !important;
  color: #142017 !important;
  border-color: rgba(255, 243, 223, 0.22) !important;
}

html[data-theme="dark"] .project-vault-page .core-text {
  color: #142017 !important;
}

html[data-theme="dark"] .project-vault-page .vault-node {
  background: rgba(255, 243, 223, 0.88) !important;
  color: #171220 !important;
  border-color: rgba(255, 243, 223, 0.18) !important;
}

html[data-theme="dark"] .project-vault-page .vault-node:hover,
html[data-theme="dark"] .project-vault-page .vault-node.active {
  background: linear-gradient(145deg, #8d8cff, #45d694) !important;
  color: #101010 !important;
}

html[data-theme="dark"] .project-vault-page .live-panel {
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(141, 140, 255, 0.16),
      transparent 28%
    ),
    linear-gradient(145deg, #201729, #15101e) !important;
  border-color: rgba(255, 243, 223, 0.22) !important;
  color: #fff3df !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42) !important;
}

html[data-theme="dark"] .project-vault-page .project-screen {
  background: rgba(255, 243, 223, 0.08) !important;
  border-color: rgba(255, 243, 223, 0.2) !important;
}

html[data-theme="dark"] .project-vault-page .screen-label {
  background: rgba(255, 243, 223, 0.92) !important;
  color: #f06a34 !important;
}

html[data-theme="dark"] .project-vault-page .tag-line span,
html[data-theme="dark"] .project-vault-page .project-stat {
  background: rgba(255, 243, 223, 0.11) !important;
  border-color: rgba(255, 243, 223, 0.16) !important;
  color: #fff3df !important;
}

html[data-theme="dark"] .project-vault-page .project-rail {
  background: rgba(255, 243, 223, 0.12) !important;
  border-color: rgba(255, 243, 223, 0.2) !important;
}

html[data-theme="dark"] .project-vault-page .rail-item {
  background: rgba(255, 243, 223, 0.1) !important;
  color: rgba(255, 243, 223, 0.82) !important;
}

html[data-theme="dark"] .project-vault-page .rail-item.active,
html[data-theme="dark"] .project-vault-page .rail-item:hover {
  background: linear-gradient(145deg, #284736, #365846) !important;
  color: #fff3df !important;
}

html[data-theme="dark"] .project-vault-page .next-btn {
  background: rgba(255, 243, 223, 0.1) !important;
  color: #fff3df !important;
  border-color: rgba(255, 243, 223, 0.2) !important;
}

.project-vault-page .vault-card-toggle {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 20 !important;
}

.project-vault-page .vault-brandline {
  padding-right: 72px !important;
}

