@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Playfair+Display:wght@400;500&display=swap";
.portrait-wrap {
  z-index: 10;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 400px;
  display: flex;
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  overflow: visible !important;
}

.hover-hint {
  color: var(--ink-muted);
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .8;
  background: var(--bg);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  z-index: 20;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  padding: 8px 24px;
  font-family: DM Mono, monospace;
  font-size: .65rem;
  box-shadow: 0 4px 12px #0000000d;
}

.desktop-hint {
  display: block;
}

.mobile-hint {
  display: none;
}

.card-wrapper {
  perspective: 900px;
  width: 320px;
  height: 400px;
  position: relative;
}

.shadow-blob {
  filter: blur(18px);
  will-change: transform, opacity;
  z-index: 0;
  pointer-events: none;
  background: #50412d38;
  border-radius: 50%;
  width: 75%;
  height: 40px;
  transition: transform .15s, opacity .3s, width .3s;
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
}

.tilt-root {
  z-index: 1;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: none;
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  touch-action: none;
  background: #ffffff73;
  border: 1px solid #ffffffbf;
  border-radius: 22px;
  transition: box-shadow .4s;
  position: relative;
  box-shadow: inset 0 2px #ffffffe6, inset 0 -1px #c8beaf4d, inset 1px 0 #fff9, inset -1px 0 #fff9;
}

.img-layer {
  border-radius: 22px;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tilted-card-img {
  object-fit: cover;
  filter: saturate(.75) brightness(1.05);
  will-change: transform;
  border-radius: 22px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  transition: filter .4s;
  position: absolute;
  top: -20px;
  left: -20px;
}

.tilt-root:hover .tilted-card-img {
  filter: saturate(.9) brightness(1.08);
}

.glass-overlay {
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(160deg, #ffffff61 0%, #ffffff1a 40%, #ffffff0a 60%, #c8beaf1f 100%);
  border-radius: 22px;
  position: absolute;
  inset: 0;
}

.frost-band {
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(#ffffff59 0%, #0000 100%);
  border-radius: 22px 22px 0 0;
  height: 60px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.sheen {
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  will-change: opacity, background;
  border-radius: 22px;
  transition: opacity .3s;
  position: absolute;
  inset: 0;
}

.tilt-root:hover .sheen, .tilt-root:active .sheen {
  opacity: 1;
}

.vignette {
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to top, #1e180c73 0%, #0000 55%);
  border-radius: 22px;
  position: absolute;
  inset: 0;
}

.meta-layer {
  z-index: 6;
  pointer-events: none;
  transform-style: preserve-3d;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  display: flex;
  position: absolute;
  inset: 0;
}

.meta-inner {
  transform: translateZ(22px);
}

.badge {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fffcf599;
  margin-bottom: .4rem;
  font-family: DM Mono, monospace;
  font-size: .6rem;
  display: inline-block;
}

.caption {
  color: #fffcf5;
  letter-spacing: -.01em;
  text-shadow: 0 1px 12px #00000040;
  font-family: Playfair Display, serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  transform: translateY(4px);
}

.custom-cursor {
  pointer-events: none;
  z-index: 20;
  backdrop-filter: blur(4px);
  background: #ffffff1f;
  border: 1px solid #1e180c59;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  display: flex;
  position: absolute;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  background: #1e180c80;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}

.portrait-controls-v2 {
  z-index: 20;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 280px;
  margin-top: 2.5rem;
  display: flex;
  position: relative;
}

.control-fraction {
  color: #8a8478;
  letter-spacing: .05em;
  align-items: center;
  gap: .25rem;
  min-width: 45px;
  font-family: DM Mono, monospace;
  font-size: .65rem;
}

.control-fraction .current-num {
  color: #8a8478;
  font-weight: 500;
}

.control-fraction .slash-divider {
  color: #8a8478;
  opacity: .6;
  margin: 0 4px;
}

.linear-progress-wrap {
  cursor: pointer;
  flex: 1;
  align-items: center;
  height: 24px;
  display: flex;
  position: relative;
}

.linear-track {
  background: var(--border);
  opacity: .4;
  width: 100%;
  height: 1px;
}

.linear-fill {
  will-change: transform;
  background: #8a8478;
  width: 100%;
  height: 1.5px;
  position: absolute;
  left: 0;
}

.pause-text {
  letter-spacing: .2em;
  color: #8a8478;
  pointer-events: none;
  font-family: DM Mono, monospace;
  font-size: .5rem;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.control-nav {
  gap: .5rem;
  display: flex;
}

.elegant-nav-btn {
  color: #8a8478;
  cursor: pointer;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  height: 24px;
  padding: 0 4px;
  transition: color .3s, transform .2s;
  display: flex;
}

.elegant-nav-btn:hover {
  color: var(--ink);
  transform: scaleX(1.1);
}

.elegant-nav-btn:active {
  transform: scaleX(.9);
}

@media (width <= 768px) {
  .portrait-wrap {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  .custom-cursor {
    display: none !important;
  }

  .desktop-hint {
    display: none;
  }

  .mobile-hint {
    opacity: .6;
    box-shadow: none;
    background: none;
    border: none;
    margin-bottom: 0;
    padding: 6px 18px;
    font-size: .6rem;
    display: block;
    position: absolute;
    top: -40px;
    bottom: auto;
  }

  .elegant-nav-btn {
    padding: 0 8px;
  }

  .portrait-controls-v2 {
    max-width: 300px;
  }
}

.lightning-strike-wrap {
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  position: fixed;
  inset: 0;
}

.lightning-strike-wrap.active {
  opacity: 1;
  animation: .5s ease-out screen-flash;
}

@keyframes screen-flash {
  0% {
    background: #7df9ff00;
  }

  10% {
    background: #7df9ff66;
  }

  100% {
    background: #7df9ff00;
  }
}

.lightning-container {
  width: 100%;
  height: 100%;
  display: block;
}

#leaves {
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: -50px;
  left: 0;
  overflow: hidden;
}

#leaves i {
  z-index: 1;
  background: linear-gradient(to bottom right, #309900, #005600);
  border: 1px solid #333;
  border-radius: 5% 40% 70%;
  animation: 25s ease-in-out infinite falling;
  display: block;
  position: absolute;
  transform: skew(20deg);
  box-shadow: inset 0 0 1px #222;
}

#leaves i:nth-of-type(2n) {
  animation: 30s ease-in-out infinite falling2;
}

#leaves i:nth-of-type(3n) {
  animation: 35s ease-in-out infinite falling3;
}

#leaves i:before {
  content: "";
  z-index: 1;
  background: linear-gradient(to right, #006400, #005600);
  border: 1px solid #222;
  border-left-width: 0;
  border-radius: 0% 15% 15% 0%;
  position: absolute;
  transform: rotate(49deg);
}

#leaves i:after {
  content: "";
  background: linear-gradient(to right, #00000026, #0000);
  border-radius: 50%;
  display: block;
  position: absolute;
  transform: rotate(125deg);
}

#leaves i:nth-of-type(n) {
  opacity: .7;
  width: 30px;
  height: 23px;
}

#leaves i:nth-of-type(n):before {
  width: 7px;
  height: 5px;
  top: 17px;
  right: 1px;
}

#leaves i:nth-of-type(n):after {
  width: 2px;
  height: 17px;
  top: 0;
  left: 12px;
}

#leaves i:nth-of-type(odd) {
  width: 16px;
  height: 11px;
}

#leaves i:nth-of-type(odd):before {
  width: 4px;
  height: 3px;
  top: 7px;
  right: 0;
}

#leaves i:nth-of-type(odd):after {
  width: 2px;
  height: 6px;
  top: 1px;
  left: 5px;
}

#leaves i:nth-of-type(3n+2) {
  opacity: .3;
  width: 23px;
  height: 17px;
}

#leaves i:nth-of-type(3n+2):before {
  width: 4px;
  height: 4px;
  top: 12px;
  right: 1px;
}

#leaves i:nth-of-type(3n+2):after {
  width: 2px;
  height: 10px;
  top: 1px;
  left: 8px;
}

#leaves i:nth-of-type(3n+1) {
  opacity: .5;
}

#leaves i:nth-of-type(n) {
  background: linear-gradient(to bottom right, #309900, #005600);
}

#leaves i:nth-of-type(2n+2) {
  background: linear-gradient(to bottom right, #5e9900, #2b5600);
}

#leaves i:nth-of-type(4n+1) {
  background: linear-gradient(to bottom right, #990, #564500);
}

#leaves i:nth-of-type(n) {
  animation-delay: 1.9s;
}

#leaves i:nth-of-type(2n) {
  animation-delay: 3.9s;
}

#leaves i:nth-of-type(3n) {
  animation-delay: 2.3s;
}

#leaves i:nth-of-type(4n) {
  animation-delay: 4.4s;
}

#leaves i:nth-of-type(5n) {
  animation-delay: 5s;
}

#leaves i:nth-of-type(6n) {
  animation-delay: 3.5s;
}

#leaves i:nth-of-type(7n) {
  animation-delay: 2.8s;
}

#leaves i:nth-of-type(8n) {
  animation-delay: 1.5s;
}

#leaves i:nth-of-type(9n) {
  animation-delay: 3.3s;
}

#leaves i:nth-of-type(10n) {
  animation-delay: 2.5s;
}

#leaves i:nth-of-type(11n) {
  animation-delay: 1.2s;
}

#leaves i:nth-of-type(12n) {
  animation-delay: 4.1s;
}

#leaves i:nth-of-type(13n) {
  animation-delay: 1s;
}

#leaves i:nth-of-type(14n) {
  animation-delay: 4.7s;
}

#leaves i:nth-of-type(15n) {
  animation-delay: 3s;
}

#leaves i:nth-of-type(16n) {
  animation-delay: 2.1s;
}

#leaves i:nth-of-type(17n) {
  animation-delay: 4.9s;
}

#leaves i:nth-of-type(18n) {
  animation-delay: .5s;
}

#leaves i:first-of-type {
  left: 2%;
}

#leaves i:nth-of-type(2) {
  left: 15%;
}

#leaves i:nth-of-type(3) {
  left: 28%;
}

#leaves i:nth-of-type(4) {
  left: 42%;
}

#leaves i:nth-of-type(5) {
  left: 55%;
}

#leaves i:nth-of-type(6) {
  left: 68%;
}

#leaves i:nth-of-type(7) {
  left: 81%;
}

#leaves i:nth-of-type(8) {
  left: 94%;
}

#leaves i:nth-of-type(9) {
  left: 8%;
}

#leaves i:nth-of-type(10) {
  left: 22%;
}

#leaves i:nth-of-type(11) {
  left: 35%;
}

#leaves i:nth-of-type(12) {
  left: 48%;
}

#leaves i:nth-of-type(13) {
  left: 62%;
}

#leaves i:nth-of-type(14) {
  left: 75%;
}

#leaves i:nth-of-type(15) {
  left: 88%;
}

#leaves i:nth-of-type(16) {
  left: 5%;
}

#leaves i:nth-of-type(17) {
  left: 50%;
}

#leaves i:nth-of-type(18) {
  left: 90%;
}

@keyframes falling {
  0% {
    transform: translate3d(150px, 0, 0) rotate(0);
  }

  100% {
    opacity: 0;
    transform: translate3d(-350px, 120vh, 0) rotate(90deg);
  }
}

@keyframes falling2 {
  0% {
    transform: translate3d(0, 0, 0) rotate(90deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(-400px, 120vh, 0) rotate(0);
  }
}

@keyframes falling3 {
  0% {
    transform: translate3d(0, 0, 0) rotate(-20deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(-230px, 120vh, 0) rotate(-70deg);
  }
}

#snow-stage {
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.winter-bg-layer {
  z-index: -1;
  background: radial-gradient(at 50% 30%, #1a2a4a 0%, #0a0f1e 100%);
  position: absolute;
  inset: 0;
}

.aurora {
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(80% 60% at 20% 0, #2db4822e 0%, #0000 70%), radial-gradient(70% 50% at 80% 10%, #5064dc26 0%, #0000 65%), radial-gradient(50% 40% at 50% 5%, #a050c81a 0%, #0000 60%);
  height: 40vh;
  animation: 12s ease-in-out infinite alternate aurora-shift;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

@keyframes aurora-shift {
  0% {
    opacity: .7;
    transform: scaleX(1);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.08);
  }

  100% {
    opacity: .6;
    transform: scaleX(.96);
  }
}

.mountains {
  pointer-events: none;
  z-index: -1;
  width: 100%;
  height: clamp(150px, 20vh, 300px);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

#snow-canvas {
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.stars {
  pointer-events: none;
  z-index: -1;
  position: absolute;
  inset: 0;
}

.star {
  animation: twinkle var(--dur) ease-in-out infinite alternate;
  animation-delay: var(--delay);
  opacity: 0;
  background: #fff;
  border-radius: 50%;
  position: absolute;
}

@keyframes twinkle {
  0% {
    opacity: 0;
  }

  100% {
    opacity: var(--max-op);
  }
}

.bg-music-wrap {
  z-index: 999999;
  background: var(--bg);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 99px;
  align-items: center;
  max-width: 44px;
  padding: 6px;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: fixed;
  bottom: 24px;
  left: 32px;
  overflow: hidden;
  box-shadow: 0 4px 16px #00000014;
}

.bg-music-wrap.playing, .bg-music-wrap:hover {
  border-color: var(--accent);
  max-width: 300px;
  padding: 6px 16px 6px 6px;
}

.music-toggle-btn {
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: background .3s;
  display: flex;
}

.music-toggle-btn:hover {
  background: var(--rule);
}

.equalizer {
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  display: flex;
}

.bar {
  background: var(--ink-muted);
  transform-origin: bottom;
  border-radius: 1px;
  width: 2px;
  height: 100%;
  transition: background .3s;
  transform: scaleY(.3);
}

.playing .bar {
  background: var(--accent);
  animation: 1s ease-in-out infinite equalize;
}

.playing .bar:first-child {
  animation-delay: -.4s;
}

.playing .bar:nth-child(2) {
  animation-delay: -.2s;
}

.playing .bar:nth-child(3) {
  animation-delay: -.6s;
}

@keyframes equalize {
  0%, 100% {
    transform: scaleY(.3);
  }

  50% {
    transform: scaleY(1);
  }
}

.music-info-panel {
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  transform: translateX(-10px);
}

.bg-music-wrap.playing .music-info-panel, .bg-music-wrap:hover .music-info-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.music-text-group {
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  display: flex;
}

.music-title {
  letter-spacing: .1em;
  color: var(--ink);
  text-transform: uppercase;
  font-family: DM Mono, monospace;
  font-size: 10px;
  line-height: 1;
}

.music-subtitle {
  color: var(--ink-muted);
  font-family: Syne, sans-serif;
  font-size: 9px;
  line-height: 1;
}

.youtube-link {
  color: var(--ink-muted);
  justify-content: center;
  align-items: center;
  transition: color .2s, transform .2s;
  display: flex;
}

.youtube-link:hover {
  color: red;
  transform: scale(1.1);
}

.yt-icon {
  width: 14px;
  height: 14px;
}

@media (width <= 768px) {
  .bg-music-wrap {
    bottom: 24px;
    left: 24px;
    right: auto;
  }

  .bg-music-wrap.playing, .bg-music-wrap:hover {
    max-width: 240px;
  }

  .music-title {
    font-size: 9px;
  }
}

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

:root {
  --bg: #f3f6f4;
  --ink: #141f1a;
  --ink-muted: #6a9080;
  --ink-faint: #b0c8bc;
  --accent: #1d9e75;
  --border: #c8dcd2;
  --rule: #dde8e2;
  --silver-gradient: linear-gradient(180deg, #666 0%, #333 100%);
  --aura-glow: 0 0 12px #0000000d;
}

body.theme-winter {
  --bg: #0a0f1e;
  --ink: #fffffff2;
  --ink-muted: #fff9;
  --ink-faint: #fff3;
  --border: #ffffff40;
  --rule: #ffffff1a;
  --glass-bg: #ffffff1a;
  --silver-gradient: linear-gradient(180deg, #fff 0%, #b0b0b0 100%);
  --aura-glow: 0 0 15px #ffffff26;
}

body.force-light-theme {
  --bg: #f3f6f4 !important;
  --ink: #141f1a !important;
  --ink-muted: #6a9080 !important;
  --border: #c8dcd2 !important;
}

body.theme-winter.force-light-theme .theme-toggle-btn, body.theme-winter.force-light-theme .back-to-menu-btn, body.theme-winter.force-light-theme .skills-close-btn, body.theme-winter.force-light-theme .theme-toggle-btn .theme-label, body.theme-winter.force-light-theme .back-to-menu-btn .back-label {
  color: #141f1a !important;
}

html {
  scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--ink-faint);
  border-radius: 10px;
  transition: background .3s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

html, body {
  background: var(--bg);
  height: 100%;
  color: var(--ink);
  caret-color: #0000;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: default;
  font-family: Syne, sans-serif;
  overflow: hidden;
}

.selectable-text {
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
}

.scene {
  background: none;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

.scene:before {
  content: "";
  background-image: linear-gradient(135deg, var(--rule) .4px, transparent .4px),
    linear-gradient(45deg,  var(--rule) .4px, transparent .4px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
  background-size: 72px 72px;
  position: absolute;
  inset: 0;
}

.portrait-wrap {
  border: .5px solid var(--border);
  z-index: 10;
  border-bottom: none;
  border-radius: 190px 190px 0 0;
  width: 380px;
  height: 95vh;
  position: absolute;
  bottom: 0;
  right: 10%;
  overflow: hidden;
}

.portrait-wrap img {
  object-fit: cover;
  object-position: center 5%;
  filter: contrast(1.05) saturate(1.05);
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: opacity 1.5s ease-in-out;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.portrait-wrap img.active {
  opacity: 1;
}

.portrait-fade {
  background: linear-gradient(to top, var(--bg) 0%, transparent 20%);
  position: absolute;
  inset: 0;
}

.nav-panel {
  z-index: 20;
  flex-direction: column;
  justify-content: center;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56px;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.nav-panel:before {
  content: "";
  background: var(--ink-faint);
  width: 1px;
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: -20px;
}

.sys-label {
  letter-spacing: .28em;
  color: var(--ink-muted);
  margin-bottom: 10px;
  font-family: DM Mono, monospace;
  font-size: 9px;
}

.name {
  letter-spacing: .12em;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.05;
}

.title {
  letter-spacing: .3em;
  color: var(--ink-muted);
  margin-bottom: 48px;
  font-family: DM Mono, monospace;
  font-size: 10px;
}

.divider {
  background: var(--border);
  width: 200px;
  height: .5px;
  margin-bottom: 40px;
}

.main-nav {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.nav-item {
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  transition: all .18s;
  display: flex;
  position: relative;
}

.nav-bar {
  background: var(--ink-faint);
  border-radius: 2px;
  flex-shrink: 0;
  width: 3px;
  height: 22px;
  transition: background .18s, height .18s;
}

.nav-item.active .nav-bar {
  background: var(--accent);
  height: 28px;
}

.nav-label {
  letter-spacing: .22em;
  color: var(--ink-faint);
  font-family: Syne, sans-serif;
  font-size: 22px;
  font-weight: 400;
  transition: color .18s, font-weight .18s;
}

.nav-item.active .nav-label {
  color: var(--ink);
  font-weight: 500;
}

.nav-item:hover .nav-label {
  color: var(--ink-muted);
}

.nav-item:hover .nav-bar {
  background: var(--accent);
  opacity: .5;
}

.status {
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  display: flex;
}

.status-dot {
  background: var(--accent);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 2.4s ease-in-out infinite pulse;
}

@keyframes pulse {
  0%, 100% {
    opacity: .9;
  }

  50% {
    opacity: .25;
  }
}

.status-label {
  letter-spacing: .22em;
  color: var(--ink-muted);
  font-family: DM Mono, monospace;
  font-size: 9px;
}

.data-analysis-wrap {
  opacity: 1;
  filter: grayscale(.2) contrast(1.1);
  pointer-events: none;
  margin-top: 32px;
  transition: opacity .5s, transform .5s;
}

.data-analysis-wrap.hidden {
  visibility: hidden;
  transition: opacity .6s, transform .6s, visibility .6s;
  transform: translateY(10px);
  opacity: 0 !important;
}

.skills-overlay {
  z-index: 5;
  backdrop-filter: blur(5px);
  pointer-events: none;
  opacity: 0;
  background: #f3f6f4e6;
  justify-content: center;
  align-items: center;
  transition: opacity .5s;
  display: flex;
  position: absolute;
  inset: 0;
}

.skills-overlay.active {
  pointer-events: auto;
  opacity: 1;
}

canvas.particles {
  pointer-events: none;
  z-index: 1;
  position: absolute;
  inset: 0;
}

.hint {
  letter-spacing: .28em;
  color: #6a9080;
  white-space: nowrap;
  font-family: DM Mono, monospace;
  font-size: 10px;
  transition: opacity .6s;
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.blossom-root {
  z-index: 2;
  justify-content: center;
  align-items: center;
  width: 0;
  height: 0;
  display: flex;
  position: relative;
}

.petal-wrap {
  transform-origin: 50% 100%;
  opacity: 0;
  will-change: transform, opacity;
  width: 110px;
  height: 210px;
  position: absolute;
  top: -210px;
  left: -55px;
}

.petal-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.petal-label {
  letter-spacing: .16em;
  color: #054034;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  font-family: Syne, sans-serif;
  font-size: 8px;
  font-weight: 600;
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%) rotate(0);
}

.core {
  z-index: 10;
  opacity: 0;
  will-change: transform, opacity;
  background: #1d9e75;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  position: absolute;
  transform: scale(0);
}

.core-ring {
  z-index: 9;
  opacity: 0;
  border: 1.5px solid #1d9e7540;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  position: absolute;
  transform: scale(0);
}

.reset-btn {
  letter-spacing: .2em;
  color: #6a9080;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: .5px solid #c8dcd2;
  border-radius: 4px;
  padding: 6px 14px;
  font-family: DM Mono, monospace;
  font-size: 9px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.reset-btn:hover {
  background: #c8dcd233;
}

.legacy-wrapper {
  z-index: 4;
  background: var(--bg);
  position: absolute;
  inset: 0;
  overflow-y: auto;
}

@media (width <= 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .portrait-wrap {
    z-index: 0;
    border: none;
    border-radius: 0;
    width: 100%;
    height: 50vh;
    bottom: 0;
    right: 0;
  }

  .portrait-fade {
    background: linear-gradient(to top, var(--bg) 0%, transparent 30%);
  }

  .mobile-hero-info {
    z-index: 20;
    pointer-events: none;
    position: absolute;
    top: 12vh;
    left: 24px;
  }

  .mobile-name {
    letter-spacing: .12em;
    color: var(--ink);
    margin-bottom: 6px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
  }

  .mobile-title {
    letter-spacing: .3em;
    color: var(--ink-muted);
    text-transform: uppercase;
    font-family: DM Mono, monospace;
    font-size: 9px;
  }

  .fab-main {
    background: var(--accent);
    border: 3px solid var(--bg);
    cursor: pointer;
    z-index: 40;
    border-radius: 50%;
    outline: none;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    transition: transform .4s cubic-bezier(.175, .885, .32, 1.275), background .3s;
    display: flex;
    position: fixed;
    bottom: 24px;
    right: 24px;
    box-shadow: 0 8px 32px #00000026;
  }

  .fab-main:active {
    transform: scale(.9);
  }

  .fab-main.open {
    background: var(--bg);
    border-color: var(--accent);
    transform: rotate(135deg);
  }

  .fab-icon-wrap {
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    display: flex;
    position: relative;
  }

  .fab-line {
    background: var(--bg);
    border-radius: 2px;
    width: 100%;
    height: 2px;
    transition: all .3s;
    display: block;
  }

  .fab-main.open .fab-line {
    background: var(--accent);
  }

  .fab-main.open .l1 {
    transform: translateY(8px) rotate(45deg);
  }

  .fab-main.open .l2 {
    opacity: 0;
  }

  .fab-main.open .l3 {
    transform: translateY(-8px) rotate(-45deg);
  }

  .fab-dim {
    -webkit-backdrop-filter: blur(8px);
    z-index: 30;
    background: #f3f6f466;
    position: fixed;
    inset: 0;
  }

  .fab-pills {
    z-index: 35;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    display: flex;
    position: fixed;
    bottom: 100px;
    right: 24px;
  }

  .fab-pill {
    background: var(--bg);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    cursor: pointer;
    border-radius: 99px;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 12px 14px;
    transition: all .2s;
    display: flex;
    box-shadow: 0 4px 20px #00000014;
  }

  .fab-pill:active {
    transform: scale(.95);
  }

  .fab-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateX(-5px);
  }

  .fab-pill:hover .pill-txt, .fab-pill:hover .pill-bar {
    color: #fff;
    background: #fff;
  }

  .pill-bar {
    background: var(--accent);
    border-radius: 2px;
    width: 3px;
    height: 18px;
  }

  .pill-txt {
    letter-spacing: .2em;
    color: var(--ink);
    white-space: nowrap;
    font-family: Syne, sans-serif;
    font-size: 11px;
    font-weight: 500;
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-18px);
  }
}

.view-wrap {
  z-index: 10;
  min-height: 100%;
  position: relative;
}

.view-enter {
  animation: .45s cubic-bezier(.22, 1, .36, 1) both fadeSlideIn;
}

.view-exit {
  pointer-events: none;
  animation: .4s both fadeSlideOut;
}

.back-to-menu-btn {
  z-index: 999999;
  appearance: none;
  background: var(--bg);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 99px;
  outline: none;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 14px;
  transition: all .3s;
  display: flex;
  position: fixed;
  top: 28px;
  left: 32px;
  box-shadow: 0 4px 16px #00000014;
}

.back-to-menu-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px #0000001f;
}

@media (width <= 768px) {
  .back-to-menu-btn {
    gap: 8px;
    padding: 8px 16px 8px 12px;
    top: 24px;
    left: auto;
    right: 24px;
  }
}

.back-bar {
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
  width: 3px;
  height: 18px;
  display: inline-block;
}

.back-label {
  letter-spacing: .24em;
  color: var(--ink);
  font-family: DM Mono, monospace;
  font-size: 10px;
  font-weight: 400;
}

.theme-picker-container {
  flex-direction: column;
  align-items: flex-end;
  display: flex;
  position: relative;
}

.theme-picker-trigger {
  appearance: none;
  background: var(--bg);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--ink);
  z-index: 10;
  border-radius: 99px;
  outline: none;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 14px;
  font-family: Syne, sans-serif;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  box-shadow: 0 4px 16px #00000014;
}

.theme-bar {
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
  width: 3px;
  height: 16px;
}

.theme-label {
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: DM Mono, monospace;
  font-size: 10px;
  font-weight: 500;
}

.theme-picker-trigger:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px #0000001f;
}

.theme-picker-trigger.open {
  border-color: var(--accent);
  background: var(--bg);
}

.theme-chevron {
  border-right: 1.5px solid var(--ink-muted);
  border-bottom: 1.5px solid var(--ink-muted);
  width: 6px;
  height: 6px;
  margin-top: -3px;
  margin-left: 2px;
  transition: transform .3s;
  transform: rotate(45deg);
}

.theme-picker-trigger.open .theme-chevron {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.theme-dropdown {
  background: var(--bg);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  z-index: 1000;
  border-radius: 16px;
  width: 240px;
  padding: 8px;
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  overflow: hidden;
  box-shadow: 0 12px 40px #00000026;
}

.dropdown-header {
  letter-spacing: .2em;
  color: var(--ink-muted);
  text-transform: uppercase;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px 8px;
  font-family: DM Mono, monospace;
  font-size: 9px;
  display: flex;
}

.info-icon-hint {
  opacity: .6;
  color: var(--accent);
  justify-content: center;
  align-items: center;
  display: flex;
}

.theme-options {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.theme-option {
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px;
  transition: all .2s;
  display: flex;
  position: relative;
}

.theme-option.active:hover {
  background: var(--rule);
}

.theme-option.selected {
  background: #1d9e7514;
}

.theme-option.pending {
  cursor: not-allowed;
  opacity: .6;
}

.option-info {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.option-label {
  letter-spacing: .05em;
  color: var(--ink);
  font-family: Syne, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.option-desc {
  color: var(--ink-muted);
  font-family: DM Mono, monospace;
  font-size: 9px;
}

.pending-badge {
  background: var(--rule);
  color: var(--ink-muted);
  letter-spacing: .1em;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: DM Mono, monospace;
  font-size: 8px;
}

.selected-dot {
  background: var(--accent);
  width: 6px;
  height: 6px;
  box-shadow: 0 0 8px var(--accent);
  border-radius: 50%;
}

.dropdown-footer {
  border-top: 1px solid var(--rule);
  background: #00000005;
  margin-top: 8px;
  padding: 12px;
}

body.theme-winter .dropdown-footer {
  background: #ffffff08;
}

.sync-info {
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.sync-dot {
  background: var(--accent);
  width: 6px;
  height: 6px;
  box-shadow: 0 0 6px var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.sync-info p {
  color: var(--ink-muted);
  letter-spacing: .02em;
  margin: 0;
  font-family: DM Mono, monospace;
  font-size: 8.5px;
  line-height: 1.4;
}

.bg-switcher-wrap {
  z-index: 999999;
  position: fixed;
  bottom: 24px;
  right: 32px;
}

@media (width <= 768px) {
  .bg-switcher-wrap {
    inset: 24px auto auto 24px;
  }

  .theme-dropdown {
    inset: calc(100% + 12px) auto auto 0;
  }
}

body {
  transition: background-color .8s, color .8s;
}

.scene:before {
  transition: opacity .8s;
}

.sys-label-container {
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}

.sys-label-container .sys-label {
  margin-bottom: 0 !important;
}

@media (width <= 768px) {
  .mobile-sys-container {
    pointer-events: auto;
    margin-bottom: 6px;
  }
}

.sys-insp-trigger {
  appearance: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: opacity .2s;
  display: flex;
  position: relative;
}

.sys-insp-icon {
  letter-spacing: 0;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 14px;
  height: 14px;
  padding-left: .5px;
  font-family: DM Mono, monospace;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  transition: all .2s;
  animation: 2.4s ease-in-out infinite border-pulse;
  display: flex;
}

@keyframes border-pulse {
  0%, 100% {
    border-color: #1d9e7573;
    box-shadow: 0 0 2px #1d9e7526;
  }

  50% {
    border-color: #1d9e75;
    box-shadow: 0 0 8px #1d9e75b3;
  }
}

.sys-insp-trigger:hover .sys-insp-icon {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  background: #1d9e751f;
}

.insp-modal-portal {
  z-index: 9999999;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  inset: 0;
}

.insp-modal-dim {
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  background: #f3f6f480;
  position: absolute;
  inset: 0;
}

body.theme-winter .insp-modal-dim {
  background: #0a0f1e99;
}

.insp-modal-container {
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--border);
  z-index: 10;
  background: #f3f6f4eb;
  border-radius: 20px;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  padding: 32px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px #00000014, inset 0 1px #fff6;
}

body.theme-winter .insp-modal-container {
  background: #0a0f1edb;
  box-shadow: 0 24px 64px #00000059, inset 0 1px #ffffff1a;
}

.insp-modal-header {
  border-bottom: 1px solid var(--rule);
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  display: flex;
}

@media (width <= 768px) {
  .insp-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding-bottom: 14px;
    position: relative;
  }
}

.header-meta {
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  display: flex;
}

.meta-tag {
  letter-spacing: .22em;
  color: var(--accent);
  font-family: DM Mono, monospace;
  font-size: 9px;
}

.meta-pulse {
  background: var(--accent);
  width: 5px;
  height: 5px;
  box-shadow: 0 0 6px var(--accent);
  border-radius: 50%;
  animation: 1.8s infinite pulse-dot;
}

.header-title {
  letter-spacing: .08em;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 4px #00000008;
  background: linear-gradient(#2d3748 30%, #718096 100%);
  -webkit-background-clip: text;
  margin: 0;
  font-family: Rajdhani, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

body.theme-winter .header-title {
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px #ffffff14;
  background: linear-gradient(#fff 30%, #a2aab5 100%);
  -webkit-background-clip: text;
}

.insp-close-btn {
  appearance: none;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 99px;
  outline: none;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  transition: all .2s;
  display: flex;
}

.insp-close-btn:hover {
  border-color: var(--accent);
  background: var(--rule);
}

@media (width <= 768px) {
  .insp-close-btn {
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
  }
}

.btn-close-lbl {
  letter-spacing: .15em;
  color: var(--ink);
  font-family: DM Mono, monospace;
  font-size: 9px;
  font-weight: 500;
}

@media (width <= 768px) {
  .btn-close-lbl {
    display: none;
  }
}

.btn-close-bar {
  background: var(--accent);
  border-radius: 1px;
  width: 3px;
  height: 12px;
}

@media (width <= 768px) {
  .btn-close-bar {
    border-radius: 0;
    width: 12px;
    height: 2px;
    position: relative;
    transform: rotate(45deg);
  }

  .btn-close-bar:before {
    content: "";
    background: var(--accent);
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
  }
}

.insp-modal-content {
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  gap: 40px;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

@media (width <= 768px) {
  .insp-modal-content {
    grid-template-columns: 1fr;
    gap: 20px;
    max-height: 68vh;
    padding-right: 4px;
    overflow-y: auto;
  }
}

.insp-narrative-panel {
  flex-direction: column;
  gap: 24px;
  max-height: 52vh;
  padding-right: 20px;
  display: flex;
  overflow-y: auto;
}

@media (width <= 768px) {
  .insp-narrative-panel {
    order: 2;
    max-height: none;
    padding-right: 0;
    overflow-y: visible;
  }
}

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

.section-subtitle {
  letter-spacing: .15em;
  color: var(--accent);
  text-transform: uppercase;
  font-family: Share Tech Mono, monospace;
  font-size: 11px;
  font-weight: 500;
}

.section-text {
  color: var(--ink);
  opacity: .9;
  font-size: 13.5px;
  line-height: 1.6;
}

.section-text strong {
  color: var(--accent);
  font-weight: 600;
}

.insp-carousel-panel {
  flex-direction: column;
  gap: 16px;
  width: 100%;
  display: flex;
}

@media (width <= 768px) {
  .insp-carousel-panel {
    order: 1;
    gap: 12px;
  }
}

.carousel-view-wrapper {
  border: 1px solid var(--border);
  background: #0000000d;
  border-radius: 14px;
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

body.theme-winter .carousel-view-wrapper {
  background: #0003;
}

.carousel-slider-track {
  width: 100%;
  height: 100%;
}

.carousel-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.slide-tag {
  background: var(--bg);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  letter-spacing: .15em;
  color: var(--ink);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: DM Mono, monospace;
  font-size: 8.5px;
  position: absolute;
  bottom: 12px;
  left: 12px;
  box-shadow: 0 4px 12px #00000026;
}

.carousel-nav-btn {
  appearance: none;
  background: var(--bg);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  color: var(--ink);
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;
  outline: none;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px #0000001a;
}

.carousel-nav-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav-btn.prev {
  left: 12px;
}

.carousel-nav-btn.next {
  right: 12px;
}

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

.details-header {
  align-items: center;
  gap: 12px;
  display: flex;
}

.slide-num {
  color: var(--accent);
  letter-spacing: .1em;
  font-family: DM Mono, monospace;
  font-size: 10px;
}

.slide-title {
  letter-spacing: .06em;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(#2d3748 30%, #718096 100%);
  -webkit-background-clip: text;
  margin: 0;
  font-family: Rajdhani, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

body.theme-winter .slide-title {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(#fff 30%, #a2aab5 100%);
  -webkit-background-clip: text;
}

.slide-caption {
  color: var(--ink-muted);
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.carousel-pagination {
  border-top: 1.5px dashed var(--rule);
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 12px;
  display: flex;
}

.pagination-tab {
  appearance: none;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  cursor: pointer;
  border-radius: 4px;
  outline: none;
  padding: 4px 8px;
  font-family: DM Mono, monospace;
  font-size: 9px;
  transition: all .15s;
}

.pagination-tab:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.pagination-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 8px #1d9e754d;
  color: #fff !important;
}
/*# sourceMappingURL=portfolio-v1.9f367d21.css.map */
