:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8a94a6;
  --neon-blue: #00aaff;
  --electric-cyan: #00e5ff;
  --deep-blue: #0044ff;
  --font-display: 'Oswald', sans-serif;
  --font-script: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   SCROLL-REACTIVE DISPERSION & FLUTED GLASS
   ========================================= */
.dispersion-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.dispersion-glow {
  display: none;
}

/* Vertical fluted/ribbed refractive glass wall with a clear circular opening in the center */
.fluted-glass {
  position: absolute;
  inset: 0;
  background-image: url('assets/waves-tile.jpg');
  background-repeat: repeat;
  background-size: 100vw auto;
  mix-blend-mode: screen;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(circle at 50% 44%, transparent 0px, transparent 240px, black 270px);
  mask-image: radial-gradient(circle at 50% 44%, transparent 0px, transparent 240px, black 270px);
  will-change: background-position, opacity;
}

/* Frosted refracted glass screen sitting on top of the moving wave background */
.frosted-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(0, 170, 255, 0.04) 50%,
    rgba(0, 0, 0, 0.12) 100%
  );
  backdrop-filter: blur(7.5px) saturate(115%);
  -webkit-backdrop-filter: blur(7.5px) saturate(115%);
  -webkit-mask-image: radial-gradient(circle at 50% 44%, transparent 0px, transparent 240px, black 270px);
  mask-image: radial-gradient(circle at 50% 44%, transparent 0px, transparent 240px, black 270px);
}

/* Single interactive circle with "Available for new opportunities" glass-handle outline */
.chromatic-ring {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(520px, 84vw);
  height: min(520px, 84vw);
  transform: translate(-50%, -50%) rotate(0deg);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(0, 195, 255, 0.22) 0%,
    rgba(0, 85, 255, 0.14) 48%,
    rgba(0, 0, 0, 0) 78%
  );
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.32),
    inset 0 -1px 4px rgba(4, 190, 248, 0.32),
    0 0 16px rgba(4, 190, 248, 0.24);
  opacity: 1;
  will-change: transform;
}

/* =========================================
   HEADER NAVIGATION
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3.5vw;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  backdrop-filter: blur(8px);
}

.brand-mark {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 2.2rem;
  padding: 0.55rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.header-spacer {
  width: 68px;
}

/* =========================================
   HERO SECTION (CENTERED VERTICAL STACK)
   ========================================= */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 4vw 2.5rem;
  overflow: hidden;
}

.hero-stack {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.85rem;
}

/* 1. "Hey, there" */
.hero-greeting {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  pointer-events: none;
  z-index: 4;
}

.greeting-left,
.greeting-right {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 0 32px rgba(0, 170, 255, 0.25);
}

/* Centered Portrait (sits inside the main circular opening, no extra circle) */
.portrait-wrap {
  grid-column: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
  width: clamp(224px, 27vw, 376px);
  margin: 0 auto;
}

.portrait-aura {
  position: absolute;
  inset: 8% -12% 10%;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(0, 212, 255, 0.35),
    rgba(0, 85, 255, 0.18) 45%,
    transparent 72%
  );
  filter: blur(36px);
  z-index: -1;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.hero-portrait {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(0, 170, 255, 0.22));
  transform-origin: bottom center;
  will-change: transform;
}

.portrait-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(to top, #000000 10%, transparent);
  pointer-events: none;
}

/* Left Column: Glass Handle + I AM MARIO */
.hero-left-col {
  grid-column: 1;
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5.5rem;
  padding-bottom: 1.2rem;
}

/* Clear Refracted Glass Handle */
.glass-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding: 0.62rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(0, 170, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px rgba(0, 170, 255, 0.25),
    0 8px 28px rgba(0, 140, 255, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #04bef8;
  box-shadow: 0 0 12px #04bef8, 0 0 24px #04bef8;
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.25); }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.hero-name {
  font-family: var(--font-display);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.name-prefix {
  display: block;
  font-weight: 300;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  color: rgba(255, 255, 255, 0.85);
}

.name-main {
  display: block;
  font-weight: 700;
  font-size: clamp(4.2rem, 8.2vw, 7.6rem);
  color: var(--text);
  text-shadow: 0 0 40px rgba(0, 170, 255, 0.22);
}

/* Right Column: Bio + 3D ARTIST */
.hero-right-col {
  grid-column: 3;
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5.5rem;
  padding-bottom: 1.2rem;
  text-align: right;
}

.bio-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.hero-bio {
  max-width: 270px;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}

/* 4. 3D ARTIST — Same Frosted Glass Shape as "Available for new opportunities" */
.hero-role.glass-role {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.62rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(0, 170, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px rgba(0, 170, 255, 0.25),
    0 8px 28px rgba(0, 140, 255, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  font-family: var(--font-display);
  line-height: 1;
  text-transform: uppercase;
}

.role-top,
.role-bottom {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.96);
}

.scroll-cue {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--neon-blue), transparent);
}

/* =========================================
   CLIENTS SECTION (CARD STACK + RIGHT LANE)
   ========================================= */
.clients-section {
  position: relative;
  z-index: 2;
  padding: 5rem 4vw 14rem;
  max-width: 1320px;
  margin: 0 auto;
}

.clients-header {
  position: relative;
  z-index: 6;
  text-align: center;
  margin-bottom: 9rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-sub {
  margin-top: 0.45rem;
  font-size: 0.6rem;
  color: var(--muted);
}

.clients-stage-layout {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 2rem;
  align-items: center;
}

.stack-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 760px;
  user-select: none;
  touch-action: pan-x;
  cursor: grab;
  overflow: visible;
}

.stack-zone:active {
  cursor: grabbing;
}

.card-stack {
  position: relative;
  width: min(344px, 76vw);
  height: 194px;
}

.client-card {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(0, 170, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px rgba(0, 170, 255, 0.25),
    0 8px 28px rgba(0, 140, 255, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  will-change: transform, opacity, filter;
}

.client-card.is-active {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.92),
    0 0 32px rgba(0, 170, 255, 0.18);
}

.client-card img {
  width: 100%;
  height: 70%;
  object-fit: contain;
  display: block;
  background: transparent;
}

.client-card-meta {
  flex: 1;
  min-height: 0;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(0, 170, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.client-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.client-card-handle {
  font-size: 0.78rem;
  color: var(--electric-cyan);
}

.stack-controls {
  position: relative;
  z-index: 6;
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-counter {
  color: var(--text);
  font-weight: 600;
}

/* Right Scroll Lane */
.right-scroll-lane {
  height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px dashed rgba(255, 255, 255, 0.12);
  padding-left: 1rem;
}

.lane-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lane-label {
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.lane-track {
  width: 2px;
  height: 140px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.lane-thumb {
  width: 100%;
  height: 40px;
  background: var(--electric-cyan);
  box-shadow: 0 0 12px var(--neon-blue);
  border-radius: 2px;
  transform: translateY(0);
}

.lane-skip {
  font-size: 0.72rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lane-skip:hover {
  border-color: var(--electric-cyan);
  color: var(--electric-cyan);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 4vw 2rem;
  background: rgba(0, 0, 0, 0.92);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-note {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.glass-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.glass-icon svg {
  width: 22px;
  height: 22px;
}

.glass-icon:hover {
  transform: translateY(-2px);
  color: var(--electric-cyan);
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6));
}

.footer-bottom {
  max-width: 1320px;
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--muted);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .site-header {
    padding: 1rem 4vw;
  }

  .main-nav {
    gap: 1.1rem;
    padding: 0.45rem 1rem;
  }

  .nav-link {
    font-size: 0.72rem;
  }

  .nav-cta {
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
  }

  .hero {
    padding: 5.5rem 5vw 2rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    min-height: auto;
  }

  .hero-greeting {
    position: relative;
    top: auto;
    padding: 0;
    justify-content: center;
    gap: 1rem;
  }

  .portrait-wrap {
    width: clamp(176px, 50vw, 272px);
  }

  .clients-section {
    padding: 3.5rem 5vw 4.5rem;
  }

  .clients-stage-layout {
    grid-template-columns: 1fr;
  }

  .stack-zone {
    min-height: 660px;
  }

  .card-stack {
    width: min(245px, 76vw);
    height: 144px;
  }

  .right-scroll-lane {
    display: none;
  }
}
