*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  display: block;
  padding: 16px 16px 40px;
}

:root {
  --loader-exit-ms: 280ms;
  --gate-enter-ms: 260ms;
  --gate-exit-ms: 240ms;
  --content-enter-ms: 220ms;
}

.home-layout {
  width: min(100%, 1480px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
  justify-content: center;
}

.left-panel {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-card {
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
}

.left {
  width: 160px;
  min-width: 140px;
  text-align: center;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
  color: #051019;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(2, 8, 20, 0.38);
  border: 3px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name-wrapper {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: center;
}

.name {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
}

.handle {
  color: rgba(237, 242, 255, 0.6);
  font-size: 13px;
  margin-top: 4px;
}

.country {
  color: rgba(237, 242, 255, 0.8);
  font-size: 14px;
  margin-top: 4px;
}

.wib-time {
  margin-top: 3px;
  color: rgba(237, 242, 255, 0.72);
}

.discord-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  justify-content: center;
}

.discord-icon {
  width: 20px;
  height: 20px;
}

.status-text {
  font-size: 13px;
}

.right {
  flex: 1;
}

.intro {
  font-size: 18px;
  margin: 12px 0 12px 0;
  min-height: 56px;
  line-height: 1.3;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(237, 242, 255, 0.82);
  border: 1px solid var(--border);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transform-origin: center left;
  will-change: transform, opacity;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(2, 6, 23, 0.45);
}

.link:hover {
  transform: translateX(6px) scale(1.01);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.55);
}

.link .dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.link-icon {
  width: 20px;
  height: 20px;
}

.pulse {
  animation: pulse 2.6s ease-in-out infinite;
}

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

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
}

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

.interest-card {
  width: 100%;
}

.interest-card .boxes {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.interest-card .box {
  text-align: center;
  flex: 1 1 clamp(180px, 30%, 260px);
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  min-width: clamp(180px, 22vw, 220px);
}

.interest-card .box-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 4px;
  display: block;
}

.interest-card h2 {
  font-size: 16px;
  margin-bottom: 8px;
}

.interest-card .box h3 {
  font-size: 13px;
  margin-bottom: 2px;
}

.interest-card .box p {
  font-size: 12px;
  color: rgba(237, 242, 255, 0.8);
}

.orbit-card {
  width: 100%;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.orbit-card h2 {
  margin: 0;
  font-size: 18px;
}

.orbit-subtitle {
  margin: 0 0 6px;
  text-align: center;
}

.orbit-stage {
  --orbit-stage-size: clamp(280px, 33vw, 430px);
  --orbit-track-ratio: 0.13;
  --orbit-track-inset: calc(var(--orbit-stage-size) * var(--orbit-track-ratio));
  --orbit-radius: calc((var(--orbit-stage-size) * 0.5) - var(--orbit-track-inset));
  --orbit-desc-width: 104px;
  position: relative;
  width: var(--orbit-stage-size);
  aspect-ratio: 1 / 1;
}

.orbit-stage::before {
  content: "";
  position: absolute;
  inset: var(--orbit-track-inset);
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.orbit-stage::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.zed-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 114px;
  height: 114px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgba(60, 140, 226, 0.46);
  background: rgba(10, 18, 30, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 24px rgba(3, 10, 22, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.zed-core:hover {
  transform: translate(-50%, -50%) scale(1.04);
  border-color: rgba(60, 140, 226, 0.68);
  box-shadow: 0 14px 30px rgba(3, 10, 22, 0.5);
}

.core-icon {
  width: 42px;
  height: 42px;
}

.zed-core span {
  font-size: 12px;
  font-weight: 700;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 14, 24, 0.92);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(var(--angle) * -1));
  animation: orbit-spin var(--spin-time, 16s) linear infinite;
  animation-duration: 16s;
  will-change: transform;
}

.orbit-link {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.orbit-link:hover {
  border-color: rgba(82, 191, 178, 0.48);
  box-shadow: 0 8px 18px rgba(2, 8, 17, 0.48);
}

.orbit-badge {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(10, 18, 30, 0.82);
}

.orbit-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.orbit-node span {
  font-size: 11px;
  font-weight: 600;
}

.orbit-desc {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  z-index: 6;
  width: max-content;
  max-width: var(--orbit-desc-width);
  padding: 7px 9px;
  border: 1px solid rgba(201, 221, 255, 0.16);
  border-radius: 10px;
  background: rgba(10, 16, 26, 0.96);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(2, 8, 20, 0.4);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-4px, -50%) scale(0.98);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  visibility: hidden;
  white-space: normal;
}

.orbit-desc::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 8px;
  height: 8px;
  border-left: 1px solid rgba(201, 221, 255, 0.16);
  border-bottom: 1px solid rgba(201, 221, 255, 0.16);
  background: rgba(10, 16, 26, 0.96);
  transform: translateY(-50%) rotate(45deg);
}

.zed-core:hover,
.zed-core:focus-visible,
.zed-core.is-desc-open,
.orbit-node:hover,
.orbit-node:focus-visible,
.orbit-node.is-desc-open {
  z-index: 8;
}

.zed-core:hover .orbit-desc,
.zed-core:focus-visible .orbit-desc,
.zed-core.is-desc-open .orbit-desc,
.orbit-node:hover .orbit-desc,
.orbit-node:focus-visible .orbit-desc,
.orbit-node.is-desc-open .orbit-desc {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
  visibility: visible;
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit-radius)) rotate(calc(var(--angle) * -1));
  }

  to {
    transform: translate(-50%, -50%) rotate(calc(var(--angle) + 360deg)) translateX(var(--orbit-radius)) rotate(calc((var(--angle) + 360deg) * -1));
  }
}

.projects-section {
  width: min(100%, 1480px);
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.projects-section h2 {
  margin: 0;
  font-size: 20px;
}

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

.projects-more {
  margin: 4px 0 0;
  color: rgba(237, 242, 255, 0.76);
  font-size: 14px;
}

.project-card {
  text-align: left;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  color: var(--text);
  padding: 14px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  transition: transform 0.24s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 140, 226, 0.42);
  box-shadow: 0 10px 22px rgba(2, 8, 17, 0.42);
}

.project-card:focus-visible,
.project-modal-close:focus-visible,
.project-modal-cta:focus-visible {
  outline: 2px solid rgba(60, 140, 226, 0.68);
  outline-offset: 2px;
}

.project-card h3 {
  margin: 0;
  font-size: 15px;
}

.project-card p {
  margin: 0;
  font-size: 13px;
  color: rgba(237, 242, 255, 0.78);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.project-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s, 0s;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 20, 0.68);
  backdrop-filter: blur(3px);
}

.project-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.24s ease;
}

.project-modal.is-open .project-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.project-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  color: var(--text);
  padding: 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  font-size: 18px;
}

.project-modal-close:hover {
  border-color: rgba(60, 140, 226, 0.45);
  box-shadow: 0 8px 16px rgba(2, 8, 17, 0.4);
}

#project-modal-title {
  margin: 0 0 8px;
}

#project-modal-description {
  margin: 0;
  color: rgba(237, 242, 255, 0.85);
  line-height: 1.5;
}

.project-modal-cta {
  margin-top: 18px;
  width: 100%;
}

.project-modal-cta.is-disabled {
  opacity: 0.58;
  pointer-events: none;
}

.audio-stack {
  width: min(100%, 1480px);
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}

.lyrics-card {
  padding: 12px 14px;
}

.lyrics-window {
  position: relative;
  height: clamp(68px, 10vw, 110px);
  overflow: hidden;
}

.lyrics-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin: 0;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Noto Sans KR", "Noto Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", "Arial Unicode MS", "Space Grotesk", sans-serif;
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.24s ease, filter 0.24s ease;
}

.lyrics-current {
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 700;
  opacity: 1;
}

.lyrics-prev,
.lyrics-next {
  font-size: 13px;
  opacity: 0.46;
  filter: blur(0.6px);
}

.lyrics-prev {
  transform: translateY(calc(-50% - 28px));
  clip-path: inset(50% 0 0 0);
}

.lyrics-next {
  transform: translateY(calc(-50% + 28px));
  clip-path: inset(0 0 50% 0);
}

.lyrics-card.is-collapsed .lyrics-prev,
.lyrics-card.is-collapsed .lyrics-next {
  transform: translateY(-50%);
  opacity: 0;
  filter: blur(2px);
}

.lyrics-card.is-collapsed .lyrics-current {
  transform: translateY(-50%) scale(0.98);
}

.lyrics-card.is-line-transition .lyrics-current {
  animation: lyrics-current-in 280ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

.lyrics-card.is-line-transition .lyrics-prev,
.lyrics-card.is-line-transition .lyrics-next {
  animation: lyrics-side-in 260ms ease;
}

@keyframes lyrics-current-in {
  from {
    opacity: 0.42;
    transform: translateY(calc(-50% + 6px));
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@keyframes lyrics-side-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.46;
  }
}

.audio-player {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta time"
    "seek seek"
    "controls controls";
  align-items: center;
  gap: 10px 12px;
  padding: 12px 14px;
}

.audio-toggle {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.audio-toggle:hover {
  border-color: rgba(60, 140, 226, 0.42);
  box-shadow: 0 8px 16px rgba(2, 8, 17, 0.36);
}

.audio-toggle.is-animating {
  animation: audio-toggle-press 220ms ease;
}

.audio-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.audio-icon-svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.audio-icon-svg .icon-play,
.audio-icon-svg .icon-pause {
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.audio-icon-svg .icon-pause {
  opacity: 0;
  transform: scale(0.6);
}

.audio-toggle.is-playing .audio-icon-svg .icon-play {
  opacity: 0;
  transform: scale(0.6);
}

.audio-toggle.is-playing .audio-icon-svg .icon-pause {
  opacity: 1;
  transform: scale(1);
}

.audio-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes audio-toggle-press {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

.audio-meta {
  grid-area: meta;
  min-width: 0;
}

.audio-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.audio-artist {
  line-height: 1.2;
}

.audio-seek {
  grid-area: seek;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  outline: none;
}

.audio-time {
  grid-area: time;
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: right;
}

.audio-controls {
  grid-area: controls;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 2px;
}

.audio-skip {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.audio-skip:hover {
  border-color: rgba(60, 140, 226, 0.42);
  box-shadow: 0 6px 14px rgba(2, 8, 17, 0.3);
}

.audio-skip-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.audio-seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}

.audio-seek::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid rgba(5, 16, 25, 0.6);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.16s ease, transform 0.16s ease;
  margin-top: -4px;
}

.audio-player:hover .audio-seek::-webkit-slider-thumb,
.audio-seek:active::-webkit-slider-thumb,
.audio-seek:focus-visible::-webkit-slider-thumb {
  opacity: 1;
  transform: scale(1);
}

.audio-seek::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.audio-seek::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(82, 191, 178, 0.9);
}

.audio-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid rgba(5, 16, 25, 0.6);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.audio-player:hover .audio-seek::-moz-range-thumb,
.audio-seek:active::-moz-range-thumb,
.audio-seek:focus-visible::-moz-range-thumb {
  opacity: 1;
  transform: scale(1);
}

#fluxx-audio {
  display: none;
}

@media (max-width: 1080px) {
  .home-layout {
    width: 100%;
    max-width: 980px;
    padding-inline: 14px;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .left-panel {
    width: 100%;
    justify-self: center;
  }

  .orbit-card {
    width: 100%;
    height: auto;
    min-height: 430px;
  }

  .orbit-stage {
    --orbit-stage-size: clamp(280px, 90vw, 420px);
    width: var(--orbit-stage-size);
  }

  .projects-section {
    max-width: 980px;
    padding-inline: 14px;
  }

  .audio-stack {
    width: 100%;
    max-width: 980px;
    padding-inline: 14px;
    box-sizing: border-box;
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-layout {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 14px;
    box-sizing: border-box;
  }

  .left-panel {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .home-layout,
  .left-panel,
  .profile-card,
  .right,
  .interest-card,
  .orbit-card {
    min-width: 0;
  }

  .profile-card,
  .interest-card,
  .orbit-card {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  body {
    padding: 14px 0 32px;
  }

  .profile-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .left {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    text-align: left;
  }

  .profile-info {
    align-items: flex-start;
  }

  .name-wrapper {
    justify-content: flex-start;
  }

  .avatar {
    width: 72px;
    height: 72px;
    font-size: 18px;
  }

  .name {
    font-size: 18px;
    margin-top: 0;
  }

  .handle {
    font-size: 12px;
  }

  .country {
    font-size: 13px;
    margin-top: 2px;
  }

  .wib-time {
    margin-top: 2px;
  }

  .discord-status {
    margin-top: 4px;
    justify-content: flex-start;
  }

  .discord-icon {
    width: 18px;
    height: 18px;
  }

  .status-text {
    font-size: 12px;
  }

  .right {
    width: 100%;
  }

  .intro {
    font-size: 16px;
    margin: 10px 0 8px 0;
    line-height: 1.2;
  }

  .tags {
    margin-bottom: 8px;
  }

  .tag {
    font-size: 11px;
    padding: 4px 8px;
  }

  .links {
    gap: 6px;
  }

  .link {
    gap: 6px;
    padding: 6px 10px;
  }

  .link .dot {
    width: 32px;
    height: 32px;
  }

  .link-icon {
    width: 18px;
    height: 18px;
  }

  .interest-card {
    padding: 12px;
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .interest-card .boxes {
    flex-direction: column;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .interest-card .box {
    flex: none;
    width: 100%;
    min-width: auto;
    padding: 14px;
    margin: 0;
    border-radius: 14px;
  }

  .interest-card .box-icon {
    width: 36px;
    height: 36px;
  }

  .interest-card h2 {
    font-size: 15px;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
  }

  .interest-card .box h3 {
    font-size: 12px;
  }

  .interest-card .box p {
    font-size: 11px;
  }

  .orbit-card {
    min-height: 370px;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .orbit-stage {
    --orbit-stage-size: min(320px, 86vw);
    --orbit-desc-width: 86px;
    width: var(--orbit-stage-size);
    min-width: 0;
    margin: 0 auto;
  }

  .zed-core {
    width: 96px;
    height: 96px;
  }

  .orbit-node {
    width: 70px;
    height: 70px;
  }

  .orbit-icon {
    width: 22px;
    height: 22px;
  }

  .orbit-node span {
    font-size: 10px;
  }

  .orbit-desc {
    left: calc(100% + 7px);
    padding: 6px 7px;
    font-size: 9px;
  }

  .audio-player {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "meta time"
      "seek seek"
      "controls controls";
    gap: 8px;
    padding: 10px 12px;
  }

  .audio-toggle {
    width: 48px;
    height: 48px;
  }

  .audio-skip {
    width: 38px;
    height: 38px;
  }

  .audio-stack {
    width: 100%;
    margin: 12px auto 0;
    padding-inline: 14px;
    grid-template-columns: 1fr;
  }

  .lyrics-card {
    padding: 10px 12px;
  }

  .lyrics-window {
    height: 64px;
  }

  .lyrics-current {
    font-size: 14px;
  }

  .lyrics-prev,
  .lyrics-next {
    font-size: 12px;
  }

  .projects-section {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    margin-top: 16px;
  }

  .projects-section h2 {
    font-size: 18px;
  }

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

  .project-modal {
    padding: 12px;
  }

}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition:
    opacity var(--loader-exit-ms) ease,
    transform var(--loader-exit-ms) cubic-bezier(0.22, 0.61, 0.36, 1),
    filter var(--loader-exit-ms) ease;
}

#loader.is-leaving {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  filter: blur(2px);
  pointer-events: none;
}

.loader-progress {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(237, 242, 255, 0.78);
  letter-spacing: 0.04em;
}

body.pre-open .home-layout,
body.pre-open .projects-section,
body.pre-open .audio-stack,
body.pre-open #particleField {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.home-layout,
.projects-section,
.audio-stack,
#particleField {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--content-enter-ms) ease,
    transform var(--content-enter-ms) cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.stage-open .home-layout,
body.stage-open .projects-section,
body.stage-open .audio-stack,
body.stage-open #particleField {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.open-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  background: var(--bg-2);
  opacity: 0;
  transform: scale(1.012);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--gate-enter-ms) ease,
    transform var(--gate-enter-ms) cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0s linear var(--gate-enter-ms);
}

.open-gate-content {
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--gate-enter-ms) ease,
    transform var(--gate-enter-ms) cubic-bezier(0.22, 0.61, 0.36, 1);
}

.open-gate-title {
  margin: 0;
  font-size: clamp(2.4rem, 10vw, 5.8rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(237, 242, 255, 0.96);
}

.open-gate-subtitle {
  margin: 14px 0 0;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  color: rgba(237, 242, 255, 0.76);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--gate-enter-ms) ease, transform var(--gate-enter-ms) ease;
}

.open-gate-subtitle.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.open-gate.is-visible {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s, 0s, 0s;
}

.open-gate.is-hidden {
  opacity: 0;
  transform: scale(1.012);
  visibility: hidden;
  pointer-events: none;
}

.open-gate.is-opening {
  opacity: 0;
  transform: scale(0.99);
  visibility: visible;
  pointer-events: none;
  transition-duration: var(--gate-exit-ms), var(--gate-exit-ms), 0s;
  transition-delay: 0s, 0s, var(--gate-exit-ms);
}

.open-gate.is-visible .open-gate-content {
  opacity: 1;
  transform: translateY(0);
}

.open-gate.is-opening .open-gate-content {
  opacity: 0;
  transform: translateY(-8px);
  transition-duration: var(--gate-exit-ms), var(--gate-exit-ms);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse,
  .orbit-node {
    animation: none;
  }

  .link,
  .orbit-link,
  .zed-core {
    transition: none;
  }

  #loader,
  .home-layout,
  .projects-section,
  .audio-stack,
  #particleField,
  .open-gate,
  .open-gate-content,
  .open-gate-subtitle,
  .project-modal,
  .project-modal-dialog,
  .lyrics-line {
    transition: none;
  }

  .lyrics-card.is-line-transition .lyrics-current,
  .lyrics-card.is-line-transition .lyrics-prev,
  .lyrics-card.is-line-transition .lyrics-next {
    animation: none;
  }
}
