@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ==========================================================================
   VIKNESH VENKATESAN — SCROLL-CHOREOGRAPHED 3D PORTFOLIO
   Typography System & Design Tokens:
     --font-heading:     Space Grotesk (Hero statement, name, project titles, contact email)
     --font-body:        Inter (Project descriptions, about copy, explanatory text)
     --font-mono:        IBM Plex Mono (Categories, dates, counters, stack labels, location)
     --primary-text:     #F1F2F5 (Headings and main copy)
     --secondary-text:   #9299A8 (Metadata and supporting labels)
     --cyan-accent:      #36BDF4 (Company labels and selected technical details)
     --pink-accent:      #FF2D85 (Particle highlights and secondary emphasis)
     --background:       #111216 (Main canvas deep obsidian)
   ========================================================================== */

:root {
  --font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Aliases for broad compatibility */
  --font-sans: var(--font-body);
  --font-display: var(--font-heading);

  /* Design Tokens */
  --primary-text: #F1F2F5;
  --secondary-text: #9299A8;
  --cyan-accent: #36BDF4;
  --pink-accent: #FF2D85;
  --background: #111216;

  --foreground: var(--primary-text);
  --muted: var(--secondary-text);
  --accent: var(--pink-accent);
  --accent-secondary: var(--cyan-accent);
  --accent-pink: var(--pink-accent);
  --accent-cerulean: var(--cyan-accent);

  --portrait-morph: 0;
  --globe-ready: 0;
  --india-ready: 0;
  --work-ready: 0;
}

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--background);
  min-height: 100svh;
  color: var(--primary-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: clip;
}

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

/* Custom Cursor Hide Native */
.has-custom-cursor,
.has-custom-cursor * {
  cursor: none !important;
}

/* ==========================================================================
   1. TYPOGRAPHY SYSTEM SCALE & ROLES (PDF Design Notes)
   ========================================================================== */
h1, h2, h3, h4, .project-title {
  font-family: var(--font-heading);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--primary-text);
}

p {
  font-family: var(--font-body);
  margin: 0;
  font-weight: 400;
}

/* Core Document Helper Classes */
.hero-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.project-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}

.metadata, .category-label, .navigation-counter {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.contact-email {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.t-16 {
  font-size: clamp(0.76rem, 0.833333vw, 1.05rem);
  line-height: 1.14583vw;
}
@media (orientation: portrait) {
  .t-16 {
    font-size: 1.62963vh;
    line-height: 2.24074vh;
  }
}

.t-20 {
  letter-spacing: 0.0260417vw;
  font-size: clamp(0.9rem, 1.04167vw, 1.35rem);
  line-height: 1.30208vw;
}
@media (orientation: portrait) {
  .t-20 {
    letter-spacing: 0.0509259vh;
    font-size: 2.03704vh;
    line-height: 2.5463vh;
  }
}

.t-30 {
  font-size: clamp(1.25rem, 1.5625vw, 2.25rem);
  line-height: 1.82292vw;
}
@media (orientation: portrait) {
  .t-30 {
    font-size: 3.05556vh;
    line-height: 3.56481vh;
  }
}

.t-60 {
  font-size: clamp(2.1rem, 3.125vw, 4.2rem);
  line-height: 3.38542vw;
}
@media (orientation: portrait) {
  .t-60 {
    font-size: 6.11111vh;
    line-height: 6.62037vh;
  }
}

.t-85 {
  font-size: clamp(2rem, 4.42708vw, 5.6rem);
  line-height: 5.72917vw;
}
@media (orientation: portrait) {
  .t-85 {
    font-size: 6.4vw;
    line-height: 9.8vw;
  }
}

.label {
  color: var(--foreground);
  margin: 0;
  font-weight: 400;
  display: block;
}

.label--muted {
  color: var(--muted);
}

.accent-gradient {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   2. WORD-SPLIT & CHAR-BLUR ANIMATIONS (Exact ingrassiadaniel.it)
   ========================================================================== */
.split,
.blur-anim {
  --anim-delay: 0s;
  --anim-stagger: 50ms;
  --anim-duration: 0.9s;
  --anim-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.blur-anim {
  --anim-duration: 0.95s;
  --anim-stagger: 28ms;
}

.split:not(.is-split),
.blur-anim:not(.is-split) {
  opacity: 0;
}

.split .word-wrapper {
  vertical-align: top;
  margin: -7px 0;
  padding: 7px 0;
  display: inline-block;
  overflow: hidden;
}

.split .word {
  opacity: 0;
  transition: transform var(--anim-duration) var(--anim-ease),
              opacity var(--anim-duration) var(--anim-ease);
  transition-delay: calc(var(--anim-delay) + var(--anim-index, 0) * var(--anim-stagger));
  will-change: transform, opacity;
  display: inline-block;
  transform: translateY(35%);
}

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

.blur-anim .char {
  white-space: pre;
  filter: blur(18px) brightness(0);
  opacity: 0;
  transition: filter var(--anim-duration) cubic-bezier(0.16, 1, 0.3, 1),
              opacity calc(var(--anim-duration) * 0.6) ease-out;
  transition-delay: calc(var(--anim-delay) + var(--anim-index, 0) * var(--anim-stagger));
  will-change: filter, opacity;
  display: inline-block;
}

.blur-anim.is-visible .char {
  filter: blur(0px) brightness(1);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .split .word,
  .blur-anim .char {
    filter: none;
    opacity: 1;
    transition: none;
    transform: none;
  }
}

/* ==========================================================================
   3. FIXED AMBIENT LAYERS: NOISE GRAIN, 3D PARTICLE SCENE, PRELOADER, CURSOR
   ========================================================================== */
.noise-layer {
  z-index: 10;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(#ffffff40 1px, #0000 0),
                    radial-gradient(#ffffff2e 1px, #0000 0);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  width: 300%;
  height: 300%;
  animation: 3s steps(5, end) infinite grain-shift;
  position: fixed;
  top: -110%;
  left: -50%;
}

@keyframes grain-shift {
  0%, 100% { transform: translate(0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

.particle-scene {
  z-index: 0;
  background: var(--background);
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.preloader {
  z-index: 30;
  pointer-events: none;
  opacity: 1;
  filter: blur(0px);
  justify-content: center;
  align-items: center;
  transition: opacity 0.7s ease, filter 0.7s ease;
  display: flex;
  position: fixed;
  inset: 0;
}

.preloader[data-dismissing="true"] {
  opacity: 0;
  filter: blur(10px);
}

.preloader__count {
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.preloader__count[data-entered="true"] {
  opacity: 1;
  filter: blur(0px);
}

.content {
  z-index: 1;
  transition: opacity 0.8s ease, filter 0.8s ease;
  position: relative;
}

body[data-preloading="true"] .content {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Custom Comet Cursor (Exact ingrassiadaniel.it) */
.custom-cursor {
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
}

.custom-cursor[data-visible="true"] {
  opacity: 1;
}

.custom-cursor__canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.custom-cursor__head {
  --s: 8px;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background: var(--foreground);
  box-shadow: 0 0 10px 2px var(--foreground);
  will-change: transform;
  border-radius: 50%;
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-cursor[data-hover="true"] .custom-cursor__head {
  --s: 40px;
  box-shadow: inset 0 0 0 1.5px var(--foreground), 0 0 12px 1px var(--foreground);
  background: #0000;
}

/* ==========================================================================
   4. SCROLL-CHOREOGRAPHED SECTIONS (Exact ingrassiadaniel.it dimensions)
   ========================================================================== */

/* SECTION 1: HERO (100svh) */
.hero {
  z-index: 1;
  justify-content: flex-end;
  align-items: center;
  width: 90vw;
  height: 100svh;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.hero__copy {
  pointer-events: auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  width: auto;
  max-width: min(640px, 48vw);
  text-align: right;
  display: flex;
  position: relative;
}

/* Staggered Luminous Blur Entrance (Exact Contacts Section Animation) */
.hero__row {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(12px);
  will-change: opacity, filter, transform;
  text-align: right;
  align-self: flex-end;
  width: auto;
}

.hero__copy[data-entered="true"] .hero__row {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

.hero__copy[data-entered="true"] .hero__row--1 {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.hero__copy[data-entered="true"] .hero__row--2 {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

.hero__copy[data-entered="true"] .hero__row--3 {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s,
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s;
}

/* Fast silent reset when scrolled away so it primes cleanly for next arrival */
.hero__copy:not([data-entered="true"]) .hero__row {
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  transition-delay: 0s !important;
}

.hero__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--primary-text);
  margin: 0;
  text-align: right;
  align-self: flex-end;
}

.hero__job {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.22vw, 19.5px);
  line-height: 1.45;
  color: var(--secondary-text);
  letter-spacing: 0.005em;
  margin: 0;
  text-align: right;
  align-self: flex-end;
}

.hero__jobPart {
  display: inline-block;
}

.hero__jobDot {
  color: var(--cyan-accent);
  margin: 0 4px;
  opacity: 0.85;
  font-weight: 600;
  display: inline-block;
}

/* Row 3 CTA Link Group — Identical style to Contacts sublinks with no outline boxes */
.hero__ctaGroup {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
  pointer-events: auto;
  text-align: right;
  align-self: flex-end;
}

.hero__ctaLink {
  color: var(--primary-text);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 500;
  text-decoration: none;
  padding: 0.06em 0.24em;
  display: inline-block;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.25s ease, color 0.25s ease;
  user-select: none;
}

.hero__ctaLink:hover,
.hero__ctaLink::selection {
  background-color: var(--cyan-accent);
  color: var(--background);
}

.hero__ctaSep {
  color: var(--secondary-text);
  margin: 0 8px;
  font-weight: 400;
  user-select: none;
  display: inline-block;
}

@media (orientation: portrait), (max-width: 820px) {
  .hero {
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 7vh;
  }
  .hero__copy {
    max-width: 100%;
    align-items: center;
    text-align: center;
    margin-left: 0;
    gap: 12px;
  }
  .hero__row {
    text-align: center;
    align-self: center;
  }
  .hero__name,
  .hero__job {
    text-align: center;
    align-self: center;
  }
  .hero__ctaGroup {
    justify-content: center;
    align-self: center;
    margin-top: 4px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__name {
    font-size: clamp(28px, 7.5vw, 36px);
  }
  .hero__job {
    font-size: 15px;
    line-height: 1.4;
  }
  .hero__ctaLink {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__row {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* SECTION 2: STATEMENT / ABOUT (100svh) */
.statement {
  z-index: 1;
  align-items: center;
  width: 90vw;
  height: 100svh;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.statement__copy {
  pointer-events: auto;
  flex-direction: column;
  gap: 16px;
  max-width: min(580px, 46vw);
  display: flex;
}

.statement__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin: 0;
}

.statement__text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--primary-text);
  margin: 0;
}

.statement__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.65;
  color: var(--secondary-text);
  margin: 0;
}

@media (orientation: portrait) {
  .statement {
    padding-block: 5vw;
  }
  .statement__copy {
    max-width: 100%;
    gap: 12px;
  }
}

/* SECTION 3: UNIFIED LOCATION & GLOBAL PRESENCE (100svh) */
.location-section,
.world {
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: clamp(24px, 7vw, 110px);
  padding-right: clamp(24px, 7vw, 110px);
  box-sizing: border-box;
}

.location__copy {
  max-width: min(540px, 46vw);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vh, 22px);
  pointer-events: auto;
  opacity: var(--location-ready, 0);
  filter: blur(calc((1 - var(--location-ready, 0)) * 12px)) brightness(var(--location-ready, 0));
  transform: translateY(calc((1 - var(--location-ready, 0)) * 24px));
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
  z-index: 15;
}

.location__kicker {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A855F7;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.location__kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 10px #A855F7;
}

.location__title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--primary-text, #fff);
  margin: 0;
}

.location__desc {
  font-family: var(--font-body, inherit);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.location__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location__metaItem {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.location__metaDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 6px #A855F7;
  margin-top: 6px;
  flex-shrink: 0;
}

.location__metaLabel {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.location__metaValue {
  font-family: var(--font-body, inherit);
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.location__coords {
  color: #c084fc;
  font-size: 12px;
  margin-left: 4px;
}

@media (max-width: 820px), (orientation: portrait) {
  .location-section,
  .world {
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8svh;
    padding-inline: 6vw;
  }
  .location__copy {
    max-width: 100%;
    background: rgba(10, 12, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(168, 85, 247, 0.22);
  }
}

.world__ring {
  width: var(--globe-ring-size, 88vh);
  height: var(--globe-ring-size, 88vh);
  opacity: var(--globe-ready, 0);
  filter: blur(calc((1 - var(--globe-ready, 0)) * 10px)) brightness(var(--globe-ready, 0));
  position: fixed;
  top: var(--globe-center-y, 50%);
  left: var(--globe-center-x, 50%);
  transform: translate(-50%, -50%) rotate(var(--globe-ring-rot, 0deg));
  transform-origin: center center;
  overflow: visible;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.world__ringOrbit {
  stroke: rgba(56, 189, 248, 0.28);
  stroke-dasharray: 4 10;
  stroke-width: 1.2px;
}

.world__ringOuter {
  stroke: rgba(168, 85, 247, 0.20);
  stroke-dasharray: 2 12;
  stroke-width: 0.8px;
}

.world__ringText {
  fill: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
}

@media (orientation: portrait) {
  .world__ringText {
    font-size: 10.5px;
    letter-spacing: 0.14em;
  }
}

/* 3D GLOBE CITY LABELS (Minimal Clean Name Labels Only) */
.globe-cities {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
}

.globe-city-tag {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  user-select: none;
  will-change: transform, opacity;
  transition: opacity 0.25s ease;
}

.globe-city-tag__name {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* EXPANDED CITY CARD (Image 3 HUD Card opened on interaction) */
.globe-city-card {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 25;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  width: min(300px, 80vw);
  background: rgba(12, 16, 22, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(54, 189, 244, 0.55);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.75), 0 0 24px rgba(54, 189, 244, 0.22);
}

.globe-city-card[data-active="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.globe-city-card__header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.globe-city-card__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(54, 189, 244, 0.22);
  border: 1px solid rgba(54, 189, 244, 0.65);
  color: var(--cyan-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.globe-city-card__header:hover .globe-city-card__toggle {
  background: rgba(54, 189, 244, 0.4);
  border-color: var(--cyan-accent);
}

.globe-city-card__name {
  color: var(--primary-text);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.globe-city-card__body {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.globe-city-card__coords {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-accent);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.globe-city-card__desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--primary-text);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin: 0;
}

/* CHENNAI 3D TRACKED RADAR BEACON & CARD (Violet glowing marker on Globe) */
.chennai-globe-beacon,
.chennai-beacon {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 20;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.chennai-beacon__radar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chennai-beacon__core,
.chennai-beacon__core--violet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #A855F7;
  position: absolute;
  transform: translate(-50%, -50%);
}

.chennai-beacon__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.7);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.chennai-beacon__ring--1,
.chennai-beacon__ring--violet1 {
  width: 22px;
  height: 22px;
  animation: chennai-pulse 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.chennai-beacon__ring--2,
.chennai-beacon__ring--violet2 {
  width: 40px;
  height: 40px;
  animation: chennai-pulse 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 0.7s;
}

@keyframes chennai-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

.chennai-beacon__card,
.chennai-beacon__card--violet {
  position: absolute;
  left: 28px;
  top: -38px;
  background: rgba(14, 13, 24, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 85, 247, 0.48);
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 170px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 24px rgba(168, 85, 247, 0.28);
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chennai-beacon__card:hover,
.chennai-beacon__card--violet:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 32px rgba(168, 85, 247, 0.45);
}

.chennai-beacon__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.chennai-beacon__badge,
.chennai-beacon__badge--violet {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c084fc;
}

.chennai-beacon__pulse,
.chennai-beacon__pulse--violet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 6px #A855F7;
  animation: beacon-blink 1.4s ease-in-out infinite;
}

@keyframes beacon-blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.chennai-beacon__city {
  color: var(--primary-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}

.chennai-beacon__coords {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: #c084fc;
  letter-spacing: 0.04em;
  margin: 2px 0 0 0;
}

@media (orientation: portrait) {
  .chennai-beacon__card,
  .chennai-beacon__card--violet {
    left: -75px;
    top: 24px;
  }
}

/* ==========================================================================
   SCENE 04: SKILLS & TECHNICAL ARCHITECTURE (Concept 3: Spec Matrix on Left, 3D Core on Right)
   ========================================================================== */
.skills {
  z-index: 2;
  width: 100%;
  height: 220svh;
  position: relative;
}

.skills__stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.skills__stage[data-active="true"] {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.skills__container {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* Left 58% Content, Right 42% Negative Space for 3D Particle Matrix */
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4.5vh, 48px) clamp(24px, 4vw, 64px);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.skills__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.2vh, 22px);
  max-width: 740px;
  pointer-events: auto;
}

.skills__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skills__kickerRow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c084fc;
}

.skills__kickerDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 8px #A855F7;
  display: inline-block;
}

.skills__kicker {
  font-weight: 600;
}

.skills__kickerSep {
  opacity: 0.35;
}

.skills__kickerTag {
  color: rgba(255, 255, 255, 0.5);
}

.skills__title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills__desc {
  font-family: var(--font-sans, inherit);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 660px;
}

/* 4 Engineering Pillars Grid */
.skills__filterRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
}

.skills__filterBtn {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.skills__filterBtn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.skills__filterBtn.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.skills__filterBtn.is-active[data-filter="gameplay"] {
  border-color: #A855F7;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.28);
  color: #f3e8ff;
}

.skills__filterBtn.is-active[data-filter="ai"] {
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.28);
  color: #e0f2fe;
}

.skills__filterBtn.is-active[data-filter="graphics"] {
  border-color: #ff2a85;
  box-shadow: 0 0 14px rgba(255, 42, 133, 0.28);
  color: #fce7f3;
}

.skills__filterBtn.is-active[data-filter="ops"] {
  border-color: #67e8f9;
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.28);
  color: #cffafe;
}

.skills__filterBtn.is-active[data-filter="tools"] {
  border-color: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.28);
  color: #fef3c7;
}

.skills__filterDot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

.skills__filterDot--violet { background: #A855F7; }
.skills__filterDot--cyan { background: #38bdf8; }
.skills__filterDot--magenta { background: #ff2a85; }
.skills__filterDot--cerulean { background: #67e8f9; }
.skills__filterDot--amber { background: #f59e0b; }

.skills__filterCount {
  font-size: 8.5px;
  opacity: 0.45;
  padding: 0 2px;
}

.skills__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.skills__pillar {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.skills__pillar:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.skills__pillar[data-accent="violet"] {
  border-left-color: #A855F7;
}
.skills__pillar[data-accent="violet"]:hover {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.12);
}

.skills__pillar[data-accent="cyan"] {
  border-left-color: #38bdf8;
}
.skills__pillar[data-accent="cyan"]:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.12);
}

.skills__pillar[data-accent="magenta"] {
  border-left-color: #ff2a85;
}
.skills__pillar[data-accent="magenta"]:hover {
  border-color: rgba(255, 42, 133, 0.35);
  box-shadow: 0 4px 20px rgba(255, 42, 133, 0.12);
}

.skills__pillar[data-accent="cerulean"] {
  border-left-color: #67e8f9;
}
.skills__pillar[data-accent="cerulean"]:hover {
  border-color: rgba(103, 232, 249, 0.35);
  box-shadow: 0 4px 20px rgba(103, 232, 249, 0.12);
}

.skills__pillar[data-accent="amber"] {
  border-left-color: #f59e0b;
}
.skills__pillar[data-accent="amber"]:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}

.skills__pillar--tools {
  display: none;
}

/* Domain Filtering Rules */
.skills__pillars[data-active-domain="tools"] .skills__pillar--tools {
  display: flex;
  grid-column: 1 / -1;
  border-left-color: #f59e0b;
}

.skills__pillars[data-active-domain="tools"] .skills__pillar:not(.skills__pillar--tools) {
  opacity: 0.22;
  transform: scale(0.98);
  pointer-events: none;
}

.skills__pillars[data-active-domain="gameplay"] .skills__pillar:not([data-domain="gameplay"]),
.skills__pillars[data-active-domain="ai"] .skills__pillar:not([data-domain="ai"]),
.skills__pillars[data-active-domain="graphics"] .skills__pillar:not([data-domain="graphics"]),
.skills__pillars[data-active-domain="ops"] .skills__pillar:not([data-domain="ops"]) {
  opacity: 0.22;
  transform: scale(0.98);
  filter: grayscale(35%);
}

.skills__pillars[data-active-domain="gameplay"] .skills__pillar[data-domain="gameplay"],
.skills__pillars[data-active-domain="ai"] .skills__pillar[data-domain="ai"],
.skills__pillars[data-active-domain="graphics"] .skills__pillar[data-domain="graphics"],
.skills__pillars[data-active-domain="ops"] .skills__pillar[data-domain="ops"] {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.skills__pillarHeader {
  display: flex;
  align-items: center;
  gap: 7px;
}

.skills__pillarRingIndicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.skills__pillarRingIndicator--violet { background: #A855F7; box-shadow: 0 0 6px #A855F7; }
.skills__pillarRingIndicator--cyan { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }
.skills__pillarRingIndicator--magenta { background: #ff2a85; box-shadow: 0 0 6px #ff2a85; }
.skills__pillarRingIndicator--cerulean { background: #67e8f9; box-shadow: 0 0 6px #67e8f9; }
.skills__pillarRingIndicator--amber { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

.skills__pillarTitle {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin: 0;
}

.skills__pillarDesc {
  font-family: var(--font-sans, inherit);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}

.skills__pillarTags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.skills__pillarTags span,
.skills__pillarTags .skills__tag {
  font-size: 9.5px;
  letter-spacing: 0.04em;
  padding: 2px 6.5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  user-select: none;
}

.skills__pillarTags .skills__tag:hover,
.skills__pillarTags .skills__tag.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.skills__pillar[data-accent="violet"] .skills__tag:hover,
.skills__pillar[data-accent="violet"] .skills__tag.is-active {
  border-color: #A855F7;
  color: #f3e8ff;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.28);
}

.skills__pillar[data-accent="cyan"] .skills__tag:hover,
.skills__pillar[data-accent="cyan"] .skills__tag.is-active {
  border-color: #38bdf8;
  color: #e0f2fe;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.28);
}

.skills__pillar[data-accent="magenta"] .skills__tag:hover,
.skills__pillar[data-accent="magenta"] .skills__tag.is-active {
  border-color: #ff2a85;
  color: #fce7f3;
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.28);
}

.skills__pillar[data-accent="cerulean"] .skills__tag:hover,
.skills__pillar[data-accent="cerulean"] .skills__tag.is-active {
  border-color: #67e8f9;
  color: #cffafe;
  box-shadow: 0 0 10px rgba(103, 232, 249, 0.28);
}

.skills__pillar[data-accent="amber"] .skills__tag:hover,
.skills__pillar[data-accent="amber"] .skills__tag.is-active {
  border-color: #f59e0b;
  color: #fef3c7;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.28);
}

/* Interactive Telemetry Inspector Box */
.skills__telemetry {
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(12, 10, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid #38bdf8;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.2s ease;
}

.skills__telemetryHead {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skills__telemetryPulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.skills__telemetryBadge {
  color: #38bdf8;
  font-weight: 600;
}

.skills__telemetrySep {
  color: rgba(255, 255, 255, 0.25);
}

.skills__telemetrySubject {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.skills__telemetryProof {
  margin: 0;
  font-family: var(--font-sans, inherit);
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

/* Verifiable Production Benchmarks Telemetry Row */
.skills__benchmarks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.skills__benchmarkVal {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.skills__benchmark:nth-child(1) .skills__benchmarkVal { color: #4ade80; }
.skills__benchmark:nth-child(2) .skills__benchmarkVal { color: #38bdf8; }
.skills__benchmark:nth-child(3) .skills__benchmarkVal { color: #c084fc; }
.skills__benchmark:nth-child(4) .skills__benchmarkVal { color: #f472b6; }

.skills__benchmarkLbl {
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

/* Dedicated Negative Framing Space on the Right for the 3D Particle Matrix & 4 Rings */
.skills__visualSpace {
  width: 100%;
  height: 100%;
  position: relative;
  pointer-events: none;
}

@media (max-width: 900px), (orientation: portrait) {
  .skills__container {
    grid-template-columns: 1fr;
    padding: clamp(14px, 2.5vh, 24px) clamp(14px, 3vw, 24px);
    align-items: center;
    overflow-y: auto;
  }
  .skills__visualSpace {
    display: none;
  }
  .skills__content {
    max-width: 100%;
    gap: 10px;
  }
  .skills__pillars {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .skills__filterRow {
    gap: 4px;
  }
  .skills__filterBtn {
    font-size: 8.5px;
    padding: 3px 6px;
  }
  .skills__benchmarks {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding-top: 6px;
  }
}

/* SECTION 5: THE JOURNEY — CAREER & EDUCATION CONSTELLATION */
.journey {
  z-index: 2;
  width: 100%;
  height: 320svh;
  position: relative;
}

.journey__stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  opacity: var(--journey-ready, 0);
  transition: opacity 0.25s ease;
  z-index: 10;
}

.journey__stage[data-active="true"] {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.journey__stage:not([data-active="true"]) * {
  pointer-events: none !important;
}

/* Floating Borderless Cosmic Stage Container */
.journey__riverContainer {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3.5vh, 42px) clamp(24px, 4vw, 64px);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* Top Header Row (Heading top-left, Navigation top-right) */
.journey__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  flex-shrink: 0;
}

.journey__headerCopy {
  max-width: 760px;
}

.journey__kickerRow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 4px;
}

.journey__kickerDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 8px #A855F7;
  display: inline-block;
}

.journey__kicker {
  font-weight: 600;
}

.journey__kickerSep {
  opacity: 0.35;
}

.journey__kickerTag {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.journey__title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--primary-text, #ffffff);
  margin: 0 0 4px 0;
}

.journey__desc {
  font-family: var(--font-body, inherit);
  font-size: clamp(12.5px, 0.92vw, 14px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Top-Right Navigation Controls */
.journey__topNav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-top: 4px;
}

.journey__counter {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 4px;
}

.journey__counterCur {
  color: #c084fc;
  font-weight: 700;
}

.journey__counterSep {
  opacity: 0.35;
}

.journey__counterTotal {
  opacity: 0.55;
}

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

.journey__navBtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.journey__navBtn:hover:not(:disabled) {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.65);
  color: #ffffff;
  transform: scale(1.06);
}

.journey__navBtn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Main Split View: Left is 3D Particle River Space; Right is Editorial Story */
.journey__main {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  flex: 1;
  min-height: 0;
  margin-block: clamp(8px, 1.6vh, 20px);
}

.journey__visualSpace {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Right Floating Borderless Editorial Narrative (Zero Panels, Zero Cards) */
.journey__story {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  overflow-y: visible;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* Ethereal Watermark Numeral in Background Void */
.journey__watermark {
  position: absolute;
  top: -44px;
  right: 0;
  font-family: var(--font-mono, monospace);
  font-size: clamp(74px, 8.5vw, 120px);
  font-weight: 800;
  line-height: 0.8;
  color: rgba(168, 85, 247, 0.14);
  text-shadow: 0 0 35px rgba(168, 85, 247, 0.08);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.journey__story[data-accent="cyan"] .journey__watermark {
  color: rgba(56, 189, 248, 0.14);
  text-shadow: 0 0 35px rgba(56, 189, 248, 0.08);
}

/* Story Meta Row */
.journey__metaLine {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.journey__categoryBadge {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #c084fc;
  transition: color 0.25s ease;
}

.journey__story[data-accent="cyan"] .journey__categoryBadge {
  color: #38bdf8;
}

.journey__livePill {
  font-family: var(--font-mono, monospace);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1.5px 4.5px;
  border-radius: 3px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.45);
  animation: liveBlink 2.2s ease-in-out infinite;
}

.journey__metaSep {
  opacity: 0.35;
}

.journey__periodText {
  color: rgba(255, 255, 255, 0.7);
}

.journey__locationText {
  color: rgba(255, 255, 255, 0.45);
}

/* Title & Org */
.journey__storyTitleGroup {
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.journey__role {
  font-family: var(--font-heading, inherit);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 45%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.journey__story[data-accent="cyan"] .journey__role {
  background: linear-gradient(135deg, #ffffff 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.journey__org {
  font-family: var(--font-mono, monospace);
  font-size: 13.5px;
  color: #c084fc;
  margin: 3px 0 0 0;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.journey__story[data-accent="cyan"] .journey__org {
  color: #38bdf8;
}

.journey__summary {
  font-family: var(--font-body, inherit);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px 0;
  max-width: 660px;
  position: relative;
  z-index: 1;
}

/* Key Contributions List */
.journey__contributionsWrap {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.journey__sectionHeading {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 6px 0;
}

.journey__contributions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 6px 20px;
}

.journey__contributions li {
  font-family: var(--font-body, inherit);
  font-size: 12.5px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-left: 14px;
}

.journey__contributions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 5px #A855F7;
}

.journey__story[data-accent="cyan"] .journey__contributions li::before {
  background: #38bdf8;
  box-shadow: 0 0 5px #38bdf8;
}

/* Highlights Stat Pills */
.journey__highlightsWrap {
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.journey__highlights {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.journey__highlightPill {
  display: flex;
  flex-direction: column;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2.5px solid #A855F7;
  border-top: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.journey__highlightPill:hover {
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
}

.journey__story[data-accent="cyan"] .journey__highlightPill {
  border-left-color: #38bdf8;
}

.journey__story[data-accent="cyan"] .journey__highlightPill:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
}

.journey__highlightVal {
  font-family: var(--font-heading, inherit);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.journey__highlightLbl {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

/* Bottom Floating Timeline Scrubber */
.journey__scrubber {
  position: relative;
  width: 100%;
  padding-top: 8px;
  pointer-events: auto;
  flex-shrink: 0;
}

.journey__scrubberTrack {
  position: absolute;
  top: 16px;
  left: 8%;
  right: 8%;
  height: 2px;
  pointer-events: none;
}

.journey__scrubberLine {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 1px;
}

.journey__scrubberFill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #A855F7, #38bdf8);
  box-shadow: 0 0 8px #A855F7;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 1px;
}

.journey__nodes {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.journey__scrubberNode {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
  user-select: none;
  pointer-events: auto;
  min-width: 90px;
  max-width: 160px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.journey__scrubberNode:focus-visible {
  outline: 2px solid #A855F7;
  outline-offset: 4px;
  border-radius: 6px;
}

.journey__scrubberNode:hover {
  transform: translateY(-2px);
}

.journey__scrubberPip {
  position: relative;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.journey__pipHalo {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(168, 85, 247, 0.4);
  opacity: 0.5;
  transition: all 0.3s ease;
  pointer-events: none;
}

.journey__scrubberNode[data-education="true"] .journey__pipHalo {
  border-radius: 3px;
  transform: rotate(45deg);
  border-color: rgba(56, 189, 248, 0.45);
}

.journey__pipCore {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(225, 205, 255, 0.65);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.journey__scrubberNode[data-education="true"] .journey__pipCore {
  background: rgba(186, 230, 253, 0.75);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* Active Scrubber Node */
.journey__scrubberNode[data-active="true"] {
  transform: translateY(-3px);
}

.journey__scrubberNode[data-active="true"] .journey__pipHalo {
  width: 26px;
  height: 26px;
  opacity: 1;
  border-style: solid;
  border-width: 1.5px;
  border-color: rgba(192, 132, 252, 0.95);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
  animation: haloSpin 8s linear infinite;
}

.journey__scrubberNode[data-active="true"][data-education="true"] .journey__pipHalo {
  border-color: rgba(56, 189, 248, 0.95);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  animation: haloSpinDiamond 8s linear infinite;
}

.journey__scrubberNode[data-active="true"] .journey__pipCore {
  width: 11px;
  height: 11px;
  background: #ffffff;
  box-shadow: 0 0 16px 4px #A855F7, 0 0 4px #ffffff;
}

.journey__scrubberNode[data-active="true"][data-education="true"] .journey__pipCore {
  box-shadow: 0 0 16px 4px #38bdf8, 0 0 4px #ffffff;
}

.journey__scrubberCopy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
}

.journey__scrubberIndexRow {
  display: flex;
  align-items: center;
  gap: 4px;
}

.journey__scrubberIndex {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.journey__scrubberNode[data-active="true"] .journey__scrubberIndex {
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.7);
}

.journey__scrubberNode[data-active="true"][data-education="true"] .journey__scrubberIndex {
  color: #38bdf8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

.journey__scrubberLive {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1px 3.5px;
  border-radius: 2px;
  background: rgba(34, 197, 94, 0.22);
  color: #4ade80;
}

.journey__scrubberRole {
  font-family: var(--font-heading, inherit);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  transition: color 0.2s ease;
}

.journey__scrubberNode[data-active="true"] .journey__scrubberRole {
  color: #ffffff;
  font-weight: 600;
}

.journey__scrubberOrg {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
  transition: color 0.2s ease;
}

.journey__scrubberNode[data-active="true"] .journey__scrubberOrg {
  color: rgba(192, 132, 252, 0.95);
}

.journey__scrubberNode[data-active="true"][data-education="true"] .journey__scrubberOrg {
  color: rgba(56, 189, 248, 0.95);
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 900px), (orientation: portrait) {
  .journey {
    height: auto;
    min-height: 100svh;
    padding-block: 4svh;
  }

  .journey__stage {
    position: relative;
    inset: auto;
    height: auto;
    min-height: auto;
    padding: 16px 12px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    filter: none !important;
  }

  .journey__riverContainer {
    padding: 16px 12px;
  }

  .journey__header {
    flex-direction: column;
    gap: 12px;
  }

  .journey__main {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .journey__visualSpace {
    display: none;
  }

  .journey__galaxyFocus {
    display: none;
  }

  .journey__story {
    max-height: none;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .journey__scrubberRole,
  .journey__scrubberOrg {
    display: none;
  }

  .journey__scrubberNode {
    min-width: 44px;
  }

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

/* SECTION 6: PLAYGROUND / VERTICAL STACKED-CARD CAROUSEL (5 Featured Star Projects) */
.playground {
  z-index: 2;
  width: 100%;
  height: 340svh;
  position: relative;
}

.playground__kicker {
  z-index: 24;
  position: fixed;
  top: 6vh;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  filter: blur(10px);
  transition: opacity 0.4s ease, filter 0.4s ease, visibility 0.4s ease;
}

.playground__kicker[data-active="true"] {
  opacity: 1;
  visibility: visible;
  filter: blur(0px);
}

.playground__kicker:not([data-active="true"]) * {
  pointer-events: none !important;
}

.playground__kickerLeft {
  display: flex;
  align-items: center;
  gap: 1.5vw;
  flex-wrap: wrap;
}

.playground__kickerLabel {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: var(--primary-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}

.playground__legend {
  display: inline-flex;
  align-items: center;
  gap: 1.2vw;
}

.playground__legendItem {
  display: inline-flex;
  align-items: center;
  gap: 0.45vw;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--secondary-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.playground__legendDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.playground__legendDot--company {
  background: var(--cyan-accent);
  box-shadow: 0 0 8px var(--cyan-accent);
}

.playground__legendDot--self {
  background: var(--pink-accent);
  box-shadow: 0 0 8px var(--pink-accent);
}

.playground__instructions {
  color: var(--secondary-text);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.playground__closingWrap {
  z-index: 22;
  pointer-events: none;
  justify-content: flex-start;
  align-items: center;
  width: 90vw;
  margin: 0 auto;
  display: flex;
  position: fixed;
  inset: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.playground__closingLine {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(26px, 2.3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-align: left;
  text-wrap: balance;
  color: var(--primary-text);
  max-width: 34vw;
  opacity: 0;
  filter: blur(10px);
  margin: 0;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.playground__closingLine[data-active="true"] {
  opacity: 1;
  filter: blur(0px);
}

@media (orientation: portrait) {
  .playground__closingLine {
    max-width: 100%;
  }
  .playground__kicker {
    top: 3vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 1vh;
  }
}

.playground__stage {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  align-items: center;
  justify-content: center;
  height: 100svh;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.playground__stage[data-active="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.playground__stage:not([data-active="true"]) * {
  pointer-events: none !important;
}

/* 2-Column Split Layout (Desktop ~50% / ~50%) */
.playground__split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90vw;
  max-width: 1520px;
  height: 80vh;
  margin: 7vh auto 0;
  gap: 5vw;
  position: relative;
}

/* LEFT COLUMN: Vertically Stacked Image Carousel */
.playground__stackCol {
  flex: 0 0 47%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1200px;
}

/* Cybernetic Engine HUD Viewport Reticles & Frame (Direction 2) */
.playground__hudFrame {
  position: absolute;
  width: 100%;
  max-width: 576px;
  aspect-ratio: 16 / 9;
  pointer-events: none;
  z-index: 30;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
  transition: border-color 0.4s ease;
}

.playground__hudReticle {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--hud-accent, #f59e0b);
  border-style: solid;
  transition: border-color 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 8px var(--hud-accent, #f59e0b));
}

.playground__hudReticle--tl {
  top: -8px;
  left: -8px;
  border-width: 2.5px 0 0 2.5px;
  border-top-left-radius: 6px;
}

.playground__hudReticle--tr {
  top: -8px;
  right: -8px;
  border-width: 2.5px 2.5px 0 0;
  border-top-right-radius: 6px;
}

.playground__hudReticle--bl {
  bottom: -8px;
  left: -8px;
  border-width: 0 0 2.5px 2.5px;
  border-bottom-left-radius: 6px;
}

.playground__hudReticle--br {
  bottom: -8px;
  right: -8px;
  border-width: 0 2.5px 2.5px 0;
  border-bottom-right-radius: 6px;
}

.playground__hudMeta {
  position: absolute;
  top: -36px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 10px;
  border-radius: 6px;
  background: rgba(14, 13, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.75), 0 0 1px rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  pointer-events: auto;
}

.playground__hudTag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.90);
  font-weight: 500;
}

.playground__hudDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hud-accent, #f59e0b);
  box-shadow: 0 0 8px var(--hud-accent, #f59e0b);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  animation: hudDotPulse 1.8s ease-in-out infinite alternate;
}

@keyframes hudDotPulse {
  0% { opacity: 0.55; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.25); }
}

.playground__hudSep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.playground__hudTag--spec {
  color: var(--hud-accent, #f59e0b);
  transition: color 0.4s ease;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.playground__stackViewport {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.playground__stackTrack {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Individual Stack Card */
.playground__stackCard {
  position: absolute;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #18171b;
  will-change: transform, opacity, filter;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.68s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.68s ease,
              border-color 0.68s ease;
  user-select: none;
}

.playground__stackCardImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Active Project Image */
.playground__stackCard[data-active="true"] {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.playground__stackCard[data-active="true"][data-origin="company"] {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9),
              0 0 45px rgba(56, 189, 248, 0.28);
}

.playground__stackCard[data-active="true"][data-origin="self"] {
  border-color: rgba(255, 42, 133, 0.6);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9),
              0 0 45px rgba(255, 42, 133, 0.28);
}

.playground__stackCardBadge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(18, 17, 21, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.playground__stackCardBadgeDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.playground__stackCardBadgeDot--company {
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.playground__stackCardBadgeDot--self {
  background: #ff2a85;
  box-shadow: 0 0 6px #ff2a85;
}

/* Inactive Card states */
.playground__stackCard:not([data-active="true"]) {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.playground__stackCard:not([data-active="true"])::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.48);
  pointer-events: none;
  border-radius: 16px;
  transition: opacity 0.4s ease;
}

.playground__stackCard:not([data-active="true"]):hover {
  filter: grayscale(35%) brightness(0.9) !important;
  opacity: 0.75 !important;
}

.playground__stackCard:not([data-active="true"]):hover::after {
  opacity: 0.2;
}

/* RIGHT COLUMN: Project Information Panel */
.playground__infoCol {
  flex: 0 0 48%;
  height: auto;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  scrollbar-width: none;
}

.playground__infoCol::-webkit-scrollbar {
  display: none;
}

.playground__infoCard {
  display: flex;
  flex-direction: column;
  gap: 1.3vh;
  transition: opacity 0.32s ease, filter 0.32s ease, transform 0.32s ease;
  will-change: opacity, filter, transform;
}

.playground__infoCard.is-animating {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
}

/* Navigation bar */
.playground__navBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.2vh;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.4vh;
}

.playground__counterWrap {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
}

.playground__counterCurrent {
  color: var(--primary-text);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.playground__counterDivider {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--secondary-text);
  opacity: 0.6;
}

.playground__counterTotal {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--secondary-text);
  letter-spacing: 0.04em;
}

.playground__arrowBtns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.playground__arrowBtn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(34, 33, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.playground__arrowBtn:hover {
  border-color: var(--cyan-accent);
  color: var(--cyan-accent);
  box-shadow: 0 0 14px rgba(54, 189, 244, 0.35);
  transform: scale(1.06);
}

.playground__arrowBtn:active {
  transform: scale(0.96);
}

/* Meta row */
.playground__metaRow {
  display: flex;
  align-items: center;
  gap: 1vw;
}

.playground__originBadge {
  display: inline-flex;
  align-items: center;
  gap: 0.45vw;
  padding: 0.4vh 0.75vw;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(240, 242, 240, 0.25);
  background: rgba(34, 33, 36, 0.85);
}

.playground__originBadge[data-origin="company"] {
  border-color: rgba(54, 189, 244, 0.45);
  color: var(--cyan-accent);
}

.playground__originBadge[data-origin="self"] {
  border-color: rgba(255, 45, 133, 0.45);
  color: var(--pink-accent);
}

.playground__originDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.playground__year {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: var(--secondary-text);
  letter-spacing: 0.04em;
}

/* Title & Tagline */
.playground__infoTitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 2.3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--primary-text);
  margin: 0;
  min-height: 2.4em;
  display: flex;
  align-items: center;
}

.playground__infoTagline {
  color: var(--cyan-accent);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0;
}

/* Description */
.playground__infoDesc {
  color: var(--primary-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sections */
.playground__infoSection {
  display: flex;
  flex-direction: column;
  gap: 0.6vh;
}

.playground__infoSectionLabel {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary-text);
  margin: 0;
}

.playground__infoSectionText {
  color: #d1d5db;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* Tags */
.playground__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.playground__tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--primary-text);
  letter-spacing: 0.02em;
}

/* Action row */
.playground__actionRow {
  display: flex;
  align-items: center;
  gap: 1vw;
  flex-wrap: wrap;
  margin-top: 0.8vh;
  padding-top: 1.2vh;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.playground__exploreBtn {
  background: #ffffff;
  color: #121115;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.playground__exploreBtn:hover {
  background: var(--cyan-accent);
  color: #0b0b12;
  box-shadow: 0 8px 24px rgba(54, 189, 244, 0.4);
  transform: translateY(-2px);
}

.playground__exploreBtn .playground__btnArrow {
  transition: transform 0.25s ease;
}

.playground__exploreBtn:hover .playground__btnArrow {
  transform: translateX(4px);
}

.playground__liveLinks {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.playground__liveLink {
  background: rgba(34, 33, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--primary-text);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.playground__liveLink:hover {
  border-color: var(--pink-accent);
  color: var(--pink-accent);
  box-shadow: 0 0 12px rgba(255, 45, 133, 0.3);
}

/* Responsive (Tablet & Mobile) */
@media (max-width: 960px), (orientation: portrait) {
  .playground__kicker {
    top: 2.2vh;
    left: 4vw;
    right: 4vw;
    gap: 0.6vh;
  }

  .playground__kickerLabel {
    font-size: 0.75rem;
  }

  .playground__legend {
    gap: 0.8rem;
  }

  .playground__legendItem {
    font-size: 0.72rem;
  }

  .playground__instructions {
    display: none;
  }

  .playground__split {
    flex-direction: column;
    height: 100svh;
    gap: 2vh;
    padding-top: 13vh;
    padding-bottom: 4vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .playground__split::-webkit-scrollbar {
    display: none;
  }

  .playground__stackCol {
    flex: 0 0 32vh;
    width: 100%;
    height: 32vh;
  }

  .playground__stackCard {
    max-width: 86vw;
  }

  .playground__hudFrame {
    max-width: 88vw;
  }
  .playground__hudMeta {
    top: -26px;
    font-size: 8.5px;
    gap: 6px;
    padding: 3px 8px 3px 7px;
  }
  .playground__hudReticle {
    width: 18px;
    height: 18px;
  }
  .playground__hudReticle--tl { top: -6px; left: -6px; }
  .playground__hudReticle--tr { top: -6px; right: -6px; }
  .playground__hudReticle--bl { bottom: -6px; left: -6px; }
  .playground__hudReticle--br { bottom: -6px; right: -6px; }

  .playground__infoCol {
    flex: 1 1 auto;
    width: 100%;
    max-height: none;
    padding-bottom: 4vh;
  }

  .playground__infoTitle {
    font-size: 1.65rem;
  }

  .playground__infoTagline {
    font-size: 0.95rem;
  }

  .playground__infoDesc {
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   5. PARTICLE DISINTEGRATE HOVER COMPONENT (Exact ingrassiadaniel.it)
   ========================================================================== */
.p-disintegrate {
  display: inline-block;
  position: relative;
}

.p-disintegrate__wrapper {
  will-change: transform;
  transition: opacity 0.4s ease, filter 0.4s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
}

.p-disintegrate__el {
  will-change: transform;
  display: inline-block;
}

.p-disintegrate__canvas {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* ==========================================================================
   SCENE 06B: PROTOTYPE LAB & ADDITIONAL WORKS (Archive Grid)
   ========================================================================== */
/* ==========================================================================
   SCENE 06B: PROTOTYPE LAB & ADDITIONAL WORKS (3D Arc Carousel - Glide.js Style)
   ========================================================================== */
.archive {
  z-index: 2;
  width: 100%;
  min-height: 100svh;
  position: relative;
  background: transparent;
  padding: clamp(40px, 7vh, 72px) 0 clamp(40px, 6vh, 60px);
  box-sizing: border-box;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.archive__container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.archive__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 820px;
}

.archive__kickerRow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
}

.archive__kickerDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.archive__kickerSep {
  color: rgba(255, 255, 255, 0.3);
}

.archive__kickerTag {
  color: rgba(255, 255, 255, 0.75);
}

.archive__title {
  font-family: var(--font-headline, sans-serif);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.archive__desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 680px;
}

.archive__filterRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.archive__filterBtn {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.archive__filterBtn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.archive__filterBtn.is-active {
  background: rgba(168, 85, 247, 0.16);
  border-color: #c084fc;
  color: #f3e8ff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35);
}

/* --------------------------------------------------------------------------
   3D Cylindrical Arc Carousel (Glide.js Style 3D Cover Flow)
   -------------------------------------------------------------------------- */
.archive__arcWrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  overflow: visible;
}

.archive__arcStage {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1300px;
  perspective-origin: 50% 50%;
  overflow: visible;
  user-select: none;
  cursor: grab;
  touch-action: pan-y;
}

.archive__arcStage:active {
  cursor: grabbing;
}

.archive__arcTrack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.archive__arcCard {
  position: absolute;
  width: 460px;
  max-width: 82vw;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #110f1c;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  will-change: transform, opacity, filter;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  transform-origin: center center;
  cursor: pointer;
}

.archive__arcCardMedia {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.archive__arcCardGlow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(192, 132, 252, 0.25) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.archive__arcCardImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.archive__arcCardBadge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(12, 10, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #38bdf8;
  z-index: 3;
}

.archive__arcCardOverlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 15, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.archive__arcCardHint {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.archive__arcCard[data-active="true"],
.archive__arcCard.is-active {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.95),
              0 0 38px rgba(192, 132, 252, 0.35);
  cursor: pointer;
}

.archive__arcCard[data-active="true"] .archive__arcCardGlow,
.archive__arcCard.is-active .archive__arcCardGlow {
  opacity: 1;
}

.archive__arcCard[data-active="true"]:hover .archive__arcCardOverlay,
.archive__arcCard.is-active:hover .archive__arcCardOverlay {
  opacity: 1;
}

.archive__arcCard[data-active="true"]:hover .archive__arcCardHint,
.archive__arcCard.is-active:hover .archive__arcCardHint {
  transform: translateY(0);
}

.archive__arcCard:not([data-active="true"]):not(.is-active):hover {
  border-color: rgba(255, 255, 255, 0.3);
  filter: brightness(1.1) !important;
}

/* Floating Circular Navigation Arrows (Glide Style) */
.archive__arcNavBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 14, 28, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive__arcNavBtn--prev {
  left: clamp(8px, 2.5vw, 28px);
}

.archive__arcNavBtn--next {
  right: clamp(8px, 2.5vw, 28px);
}

.archive__arcNavBtn:hover {
  background: rgba(255, 42, 133, 0.25);
  border-color: #ff2a85;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 42, 133, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.archive__arcNavBtn:active {
  transform: translateY(-50%) scale(0.96);
}

/* --------------------------------------------------------------------------
   Centered Project Information Deck (Below the 3D Arc)
   -------------------------------------------------------------------------- */
.archive__infoDeck {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-top: 8px;
  padding: 0 16px;
  box-sizing: border-box;
}

.archive__deckMeta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive__deckCounter {
  color: #ffffff;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.archive__deckSep {
  opacity: 0.35;
  color: #ffffff;
}

.archive__deckOrigin {
  color: #38bdf8;
  font-weight: 500;
}

.archive__deckYear {
  color: rgba(255, 255, 255, 0.5);
}

.archive__deckTitle {
  font-family: var(--font-headline, sans-serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
  transition: opacity 0.25s ease;
}

.archive__deckTagline {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 620px;
  transition: opacity 0.25s ease;
}

.archive__deckTags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}

.archive__deckTag {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.archive__deckActions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* Primary CTA Button (Matching Glide.js 'Get started' high-impact pill) */
.archive__deckCtaBtn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2a85 0%, #a855f7 100%);
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(255, 42, 133, 0.45);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.archive__deckCtaBtn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 42, 133, 0.7);
  background: linear-gradient(135deg, #ff4095 0%, #b865ff 100%);
}

.archive__deckArrow {
  transition: transform 0.25s ease;
}

.archive__deckCtaBtn--primary:hover .archive__deckArrow {
  transform: translateX(4px);
}

/* Secondary CTA Link Pills (Matching Glide.js 'Visit Github' pill) */
.archive__deckLinks {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.archive__deckLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-family: var(--font-mono, monospace);
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive__deckLink:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .archive__arcStage {
    height: 300px;
  }
  .archive__arcCard {
    width: 360px;
  }
  .archive__arcNavBtn {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .archive {
    padding: 8vh 0 10vh;
  }
  .archive__arcStage {
    height: 240px;
  }
  .archive__arcCard {
    width: 290px;
  }
  .archive__arcNavBtn {
    width: 38px;
    height: 38px;
  }
  .archive__deckActions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .archive__deckCtaBtn--primary,
  .archive__deckLink {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   6. CONTACTS & FOOTER WITH VK MONOGRAM (Exact ingrassiadaniel.it)
   ========================================================================== */
.contacts-wrap {
  position: relative;
  z-index: 2;
  background: transparent;
}

.contacts {
  z-index: 1;
  justify-content: center;
  align-items: center;
  width: 90vw;
  height: 100svh;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.contacts__copy {
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6.5vh;
  display: flex;
  width: 100%;
}

.contacts__kicker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary-text);
  margin: 0;
}

.contacts__boxShell {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.6s ease, filter 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3.2vh;
  padding: 5.5vh 5.8vw;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5), inset 0 0 24px rgba(255, 255, 255, 0.02);
}

.contacts__boxShell[data-entered="true"] {
  opacity: 1;
  filter: blur(0px);
}

.contacts__boxShell:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 70px rgba(168, 85, 247, 0.2), inset 0 0 30px rgba(168, 85, 247, 0.06);
}

.contacts__boxItem {
  text-decoration: none;
  color: var(--primary-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contacts__email {
  color: var(--primary-text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-align: center;
  display: inline-block;
  padding: 0.08em 0.14em;
  word-break: break-word;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.contacts__emailLink:hover .contacts__email,
.contacts__email::selection {
  background-color: var(--pink-accent);
  color: var(--background);
}

.contacts__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65vw;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 17px);
  color: var(--secondary-text);
  margin: 0;
}

@media (max-width: 600px), (orientation: portrait) {
  .contacts__boxShell {
    padding: 4vh 4vw;
    gap: 2.5vh;
  }
  .contacts__email {
    font-size: clamp(20px, 5.8vw, 28px);
    letter-spacing: -0.035em;
  }
  .contacts__details {
    font-size: 14px;
    gap: 1.5vw;
  }
}

.contacts__reachPrefix,
.contacts__reachSep {
  color: var(--secondary-text);
  font-weight: 400;
}

.contacts__sublink {
  color: var(--primary-text);
  font-weight: 500;
  text-decoration: none;
  padding: 0.06em 0.16em;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.contacts__sublink:hover {
  background-color: var(--pink-accent);
  color: var(--background);
}

/* ============================================================================
   SCENE 08: INTERACTIVE GAME DEV COCKPIT FOOTER (Replaces old monogram & static text)
   ============================================================================ */
.footer {
  z-index: 10;
  width: 90vw;
  margin: 0 auto;
  padding: 2.2vh 0 2.8vh 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 5vw;
  right: 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Left Telemetry */
.footer__telemetry {
  display: flex;
  flex-direction: column;
  gap: 0.6vh;
  align-items: flex-start;
}

.footer__statusPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.28);
  border-radius: 999px;
  padding: 4px 11px;
}

.footer__statusDot {
  position: relative;
  display: inline-flex;
  width: 7px;
  height: 7px;
}

.footer__statusDotCore {
  width: 7px;
  height: 7px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e676;
}

.footer__statusDotPing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #00e676;
  animation: radarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(3.2); opacity: 0; }
}

.footer__statusText {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #a7f3d0;
  text-transform: uppercase;
}

.footer__timeRow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--secondary-text);
  letter-spacing: 0.04em;
  padding-left: 2px;
}

.footer__cityLabel {
  color: var(--primary-text);
  font-weight: 500;
}

.footer__clock {
  color: #93c5fd;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer__timeZone {
  color: var(--muted);
  font-size: 10.5px;
}

/* Center Warp Thruster */
.footer__warpCenter {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__warpBtn {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(59, 130, 246, 0.14));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 999px;
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.22);
  outline: none;
}

.footer__warpBtn:hover {
  border-color: rgba(216, 180, 254, 0.85);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.55), 0 0 14px rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.26), rgba(59, 130, 246, 0.26));
}

.footer__warpBtn:active {
  transform: translateY(0);
}

.footer__warpIcon {
  font-size: 10px;
  color: #c084fc;
  transition: transform 0.3s ease;
}

.footer__warpBtn:hover .footer__warpIcon {
  transform: translateY(-2px);
  color: #ffffff;
}

.footer__warpCoords {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.04em;
}

/* Right Engine Specs & Credit */
.footer__engineSpecs {
  display: flex;
  flex-direction: column;
  gap: 0.6vh;
  align-items: flex-end;
  text-align: right;
}

.footer__specRow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.footer__specTag {
  color: #c4b5fd;
  font-weight: 500;
}

.footer__specSep {
  color: var(--muted);
}

.footer__creditRow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--secondary-text);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .footer {
    flex-direction: column;
    gap: 1.8vh;
    padding: 2.5vh 0 3.5vh 0;
    text-align: center;
  }
  .footer__telemetry {
    align-items: center;
  }
  .footer__engineSpecs {
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   7. PROJECT CASE STUDY VIEW (Exact ingrassiadaniel.it /projects/[slug])
   ========================================================================== */
.overlay-page {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--background);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  filter: blur(12px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.overlay-page[data-open="true"] {
  opacity: 1;
  visibility: visible;
  filter: blur(0px);
  pointer-events: auto;
}

.project-content__intro {
  width: 90vw;
  max-width: 60vw;
  margin: 0 auto;
  padding: 5vh 0 2vh;
  position: relative;
}

.project-content__backShell {
  cursor: pointer;
  background: transparent;
  border: none;
  margin: 0 0 6vh;
  padding: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-text);
  display: inline-flex;
  align-items: center;
  gap: 0.5vw;
}

.project-content__tagline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: var(--cyan-accent);
  margin-bottom: 1vh;
  display: block;
}

.project-content__titleRow {
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25vw;
  margin: 0 0 2vh;
  display: flex;
  flex-wrap: wrap;
}

.project-content__titleRow h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--primary-text);
  margin: 0;
}

.project-content__meta {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--secondary-text);
}

.project-content__heroWrap {
  width: 90vw;
  max-width: 60vw;
  margin: 0 auto;
  position: relative;
}

.project-content__heroFrame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #19181b;
  overflow: hidden;
  position: relative;
}

.project-content__heroImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-content__thumbs {
  display: flex;
  gap: 0.8vw;
  margin-top: 1.5vh;
  overflow-x: auto;
  padding-bottom: 0.5vh;
}

.project-content__thumb {
  width: 7.5vw;
  min-width: 82px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(240, 242, 240, 0.2);
  background: #19181b;
  padding: 0;
  opacity: 0.5;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.project-content__thumb.is-active,
.project-content__thumb:hover {
  opacity: 1;
  border-color: var(--foreground);
}

.project-content__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-content__body {
  width: 90vw;
  max-width: 60vw;
  margin: 0 auto;
  padding: 5vh 0 15vh;
  position: relative;
}

.project-content__paragraph {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--primary-text);
  max-width: 68ch;
  margin: 0 0 2.5vh;
  display: block;
}

.project-content__leadParagraph {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  padding-bottom: 2.5vh;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 3.5vh;
}

.project-content__deepDive {
  margin: 2.8vh 0;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #38bdf8;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.project-content__deepDive:hover {
  background: rgba(255, 255, 255, 0.038);
  border-color: rgba(56, 189, 248, 0.35);
}

.project-content__deepDiveTag {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}

.project-content__deepDiveDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.project-content__deepDiveBody {
  margin: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.project-content__section {
  margin: 10vh 0;
}

.project-content__sectionLabel {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary-text);
  margin: 0 0 1.5vh;
  display: block;
}

.project-content__collaboration {
  text-align: right;
}

.project-content__collaboration .project-content__paragraph {
  margin-left: auto;
}

.project-content__stackList {
  flex-wrap: wrap;
  gap: 0.6vw;
  margin: 0 0 3vh;
  padding: 0;
  list-style: none;
  display: flex;
}

.project-content__stackItem {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: var(--primary-text);
  padding: 0.6vh 0.8vw;
  background: rgba(255, 255, 255, 0.04);
}

.project-content__linksRow {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5vw;
  margin-top: 4vh;
}

.project-content__link {
  color: var(--primary-text);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 0.9vh 1.3vw;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5vw;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.project-content__link:hover {
  border-color: var(--pink-accent);
  color: var(--pink-accent);
}

.project-content__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (orientation: portrait) {
  .project-content__intro,
  .project-content__heroWrap,
  .project-content__body {
    max-width: 100%;
  }
  .project-content__titleRow {
    flex-direction: column;
    align-items: flex-start;
  }
  .project-content__paragraph {
    max-width: 100%;
  }
}
