:root {
  --bg-primary: #000000;
  --bg-secondary: #080808;
  --bg-card: #0A0A0A;
  --accent: #00FF88;
  --accent-mid: #00CC66;
  --accent-deep: #003320;
  --text-primary: #FFFFFF;
  --text-secondary: #999999;
  --text-muted: #888888;
  --glow-strong: 0 0 15px #00FF88, 0 0 50px #00CC6655, 0 0 100px #00CC6622;
  --glow-subtle: 0 0 8px #00FF8844, 0 0 25px #00CC6622;
  --glow-text: 0 0 20px #00FF88AA;
  --font: 'Gotham', 'Montserrat', sans-serif;
  --font-script: 'Dancing Script', cursive;
}

/* ══════════════════════════════════════
   LOADING SCREEN
══════════════════════════════════════ */
#loader-screen {
  position: fixed; inset: 0; z-index: 999999;
  background: #000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), visibility 0.9s;
}
#loader-screen.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Centre content */
.loader-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
}

/* Logo + spinning rings */
.loader-logo-wrap {
  position: relative;
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.loader-logo {
  width: 350px; height: 350px;
  object-fit: contain;
  animation: loaderLogoPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(0,255,136,0.55));
}
@keyframes loaderLogoPulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(0,255,136,0.4)); transform: scale(1); }
  50%       { filter: drop-shadow(0 0 22px rgba(0,255,136,0.8)); transform: scale(1.04); }
}

/* Outer spinning ring */
.loader-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--accent);
  animation: loaderSpin 1.4s linear infinite;
}
/* Inner ring — counter-spin, dimmer */
.loader-ring-2 {
  inset: 10px;
  border-top-color: rgba(0,255,136,0.3);
  border-right-color: rgba(0,255,136,0.15);
  animation-duration: 2s;
  animation-direction: reverse;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* Percentage */
.loader-percent-wrap {
  display: flex; align-items: baseline; justify-content: center; gap: 3px;
  line-height: 1;
  width: 100%;
}
#loader-percent {
  font-family: var(--font);
  font-size: clamp(52px, 8vw, 80px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}
.loader-pct-sym {
  font-family: var(--font);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0;
}

/* "Loading" label */
.loader-label {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: loaderDots 1.4s steps(4, end) infinite;
}
@keyframes loaderDots {
  0%   { opacity: 0.4; }
  50%  { opacity: 1;   }
  100% { opacity: 0.4; }
}

/* Bottom progress bar */
.loader-bar-track {
  position: fixed; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.06);
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 30px rgba(0,255,136,0.4);
  transition: width 0.25s cubic-bezier(0.16,1,0.3,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; cursor: none !important; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  overflow: hidden;
  height: 100vh;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: none; }

/* ── CUSTOM CURSOR ── */
.cursor-dot {
  position: fixed; top: -100px; left: -100px; z-index: 99999;
  width: 48px; height: 48px;
  background: url('cursor.png') center/contain no-repeat;
  pointer-events: none;
  transition: width 0.25s, height 0.25s, opacity 0.25s;
  transform: translate(-50%, -50%);
  will-change: left, top;
  filter: drop-shadow(0 0 6px rgba(0,255,136,0.5));
}
.cursor-ring {
  display: none;
}
body.cursor-hover .cursor-dot { width: 56px; height: 56px; filter: drop-shadow(0 0 12px rgba(0,255,136,0.8)); }

/* ── GRAIN OVERLAY ── */
.grain-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── SCROLL PROGRESS ── */
.scroll-track {
  position: fixed; right: 16px; top: 10vh; height: 80vh; width: 1px;
  background: #1a1a1a; z-index: 100;
}
.scroll-thumb {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow-strong);
  transition: top 0.05s linear;
}

/* ── NAV CAPSULE (Glass Surface) ── */
.nav-capsule {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  width: min(70vw, 680px);
  border-radius: 999px;
  padding: 9px 16px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000;
  overflow: visible;
  /* Base glass — works everywhere including macOS Safari */
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px) saturate(1.6) brightness(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.6) brightness(1.1);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow:
    0 0 2px 1px color-mix(in oklch, white, transparent 65%) inset,
    0 0 10px 4px color-mix(in oklch, white, transparent 85%) inset,
    0px 4px 16px rgba(17,17,26,0.05),
    0px 8px 24px rgba(17,17,26,0.05),
    0px 16px 56px rgba(17,17,26,0.05);
  transition: opacity 0.26s ease-out;
}
/* Upgrade to the chromatic glass SVG displacement filter on Chromium browsers
   (Chrome, Edge) which fully support url() in backdrop-filter.
   Safari ignores this block — it keeps the blur fallback above. */
@supports (backdrop-filter: url(#x)) {
  .nav-capsule {
    background: hsl(0 0% 0% / 0);
    backdrop-filter: url(#glass-filter) saturate(1);
    -webkit-backdrop-filter: url(#glass-filter) saturate(1);
    border: none;
  }
}
.glass-filter-svg {
  width: 100%; height: 100%;
  pointer-events: none;
  position: absolute; inset: 0;
  opacity: 0; z-index: -1;
}
.nav-hamburger { display: flex; flex-direction: column; gap: 4px; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text-primary); border-radius: 1px; }
.nav-logo { height: 44px; display: flex; align-items: center; margin-left: auto; margin-right: -16px; overflow: visible; }
.nav-logo img { height: 68px; width: auto; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)); }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  border: 1px solid #333;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── SCROLL CONTAINER ── */
#scroll-container { position: fixed; top: 0; left: 0; width: 100%; will-change: transform; contain: layout style; }

/* ── HERO ── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden; background: var(--bg-primary);
}
#heroBg {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; transform: scale(0.95);
  will-change: transform;
  overflow: hidden;
}
#heroBg.loaded { opacity: 1; transform: scale(1); transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1), transform 1.2s cubic-bezier(0.16,1,0.3,1); }
#heroBg.loaded.offscreen { animation: none; }

/* ── HERO VIDEO LAYERS ── */
#heroBg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
#heroVideoIntro {
  z-index: 2;
  opacity: 1;
}
#heroVideoLoop {
  z-index: 1;
  opacity: 0;
}
/* When intro ends, JS adds .loop-active to #heroBg */
#heroBg.loop-active #heroVideoIntro { opacity: 0; }
#heroBg.loop-active #heroVideoLoop  { opacity: 1; }

.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 90% 90% at 50% 30%, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* ── HERO PARTICLES ── */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-glow {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
  background: radial-gradient(circle 350px at var(--mx, 50%) var(--my, 50%), rgba(0,255,136,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.hero:hover .hero-glow { opacity: 1; }

/* ── ORBIT RING ── */
.orbit-wrapper {
  position: absolute; z-index: 3;
  width: 460px; height: 460px;
  top: 45%; left: 50%;
  margin: -230px 0 0 -230px;
  transform-style: preserve-3d;
  animation: orbitSpin 18s linear infinite;
  will-change: transform;
  opacity: 0;
}
.orbit-wrapper.loaded { opacity: 1; transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1) 0.4s; }

@keyframes orbitSpin {
  from { transform: rotateX(72deg) rotateZ(0deg); }
  to   { transform: rotateX(72deg) rotateZ(360deg); }
}

.orbit-thumb {
  position: absolute; top: 50%; left: 50%;
  width: 88px; height: 62px;
  border-radius: 7px; overflow: hidden;
  border: 1px solid rgba(0,255,136,0.45);
  box-shadow: 0 0 12px rgba(0,255,136,0.3), 0 0 30px rgba(0,255,136,0.1);
  backface-visibility: hidden;
}
.orbit-thumb img { width: 100%; height: 100%; object-fit: cover; }

.orbit-glow {
  position: absolute; top: 50%; left: 50%;
  width: 440px; height: 28px;
  margin: -14px 0 0 -220px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.2) 0%, transparent 70%);
  filter: blur(10px);
}

/* ── HERO PHOTO (removed — replaced by video) ── */
/* #heroPhoto intentionally removed */

/* ── FLOATING ORBS ── */
.orb {
  position: absolute; z-index: 5; border-radius: 50%;
  opacity: 0;
}
.orb.loaded { opacity: 1; transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1) 0.9s; }

.orb-a {
  width: 96px; height: 96px; top: 15%; right: 12%;
  background: radial-gradient(circle at 35% 35%, #2a2a2a, #111);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 6px 30px rgba(0,0,0,0.8);
  animation: floatA 5s ease-in-out infinite alternate;
}
.orb-b {
  width: 66px; height: 76px; top: 55%; left: 8%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: radial-gradient(circle at 40% 30%, #1e1e1e, #0a0a0a);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.7);
  animation: floatB 7s ease-in-out infinite alternate;
}

@keyframes floatA { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-18px) rotate(8deg); } }
@keyframes floatB { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(14px) rotate(5deg); } }

/* ── HERO TEXT ── */
#heroText {
  position: absolute; bottom: 3vh; left: 50%; z-index: 6;
  text-align: center; will-change: transform;
  opacity: 0; transform: translateX(-50%) translateY(22px);
}
#heroText.loaded { opacity: 1; transform: translateX(-50%) translateY(0); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1) 0.6s, transform 0.7s cubic-bezier(0.16,1,0.3,1) 0.6s; }

.hero-firstname {
  font-weight: 900; font-size: clamp(48px,9.5vw,108px);
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 0.9; color: var(--text-primary);
  position: relative;
}
.hero-lastname {
  font-family: var(--font-script); font-weight: 700;
  font-size: clamp(28px,4.5vw,58px);
  color: #ffffff; margin-top: -15px;
  text-shadow:
    0 0 10px rgba(0,255,136,1),
    0 0 30px rgba(0,255,136,0.8),
    0 0 60px rgba(0,255,136,0.5),
    0 0 100px rgba(0,255,136,0.35),
    0 0 150px rgba(0,255,136,0.2);
}
.online-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(10px);
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  font-weight: 400; color: var(--text-secondary);
  opacity: 0;
}
.online-badge.loaded { opacity: 1; transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1) 0.8s; }

.online-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 5px #00FF88, 0 0 14px rgba(0,255,136,0.6); }
  50%     { box-shadow: 0 0 10px #00FF88, 0 0 30px rgba(0,255,136,0.9), 0 0 60px rgba(0,255,136,0.3); }
}

/* ── GLITCH ── */
.glitch-clone {
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none; font-weight: 900;
  font-size: clamp(48px,9.5vw,108px); text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 0.9;
}
.glitch-clone-1 { color: #00CC66; animation: glitch1 0.18s steps(1) forwards; }
.glitch-clone-2 { color: #00FF88; animation: glitch2 0.18s steps(1) forwards; }

@keyframes glitch1 {
  0%  { clip-path: inset(0 0 90% 0); transform: translateX(-3px); }
  20% { clip-path: inset(40% 0 50% 0); transform: translateX(3px); }
  40% { clip-path: inset(70% 0 20% 0); transform: translateX(-2px); }
  60% { clip-path: inset(20% 0 70% 0); transform: translateX(2px); }
  80% { clip-path: inset(60% 0 10% 0); transform: translateX(-3px); }
  100%{ clip-path: inset(0 0 90% 0); transform: translateX(0); }
}
@keyframes glitch2 {
  0%  { clip-path: inset(80% 0 5% 0); transform: translateX(3px); }
  25% { clip-path: inset(10% 0 80% 0); transform: translateX(-3px); }
  50% { clip-path: inset(50% 0 30% 0); transform: translateX(2px); }
  75% { clip-path: inset(25% 0 55% 0); transform: translateX(-2px); }
  100%{ clip-path: inset(80% 0 5% 0); transform: translateX(3px); }
}

/* ── TAGLINE SECTION ── */
.tagline-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}
.tagline-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  z-index: 0;
  pointer-events: none;
}
.tagline-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
}
.tagline-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 6vw;
  text-align: left;
}

/* ── ScrollFloat Effect ── */
.scroll-float {
  overflow: hidden;
}
.scroll-float-text {
  display: inline-block;
  line-height: 1.5;
}
.sf-char {
  display: inline-block;
}
.tagline-text {
  font-size: clamp(20px,2.4vw,32px); font-weight: 700;
  line-height: 1.28; color: var(--text-primary);
  margin-bottom: 32px;
}
.tagline-text .scroll-float-text {
  font-size: clamp(20px,2.4vw,32px); font-weight: 700;
  line-height: 1.35; color: var(--text-primary);
}

/* ── CTA BUTTON ── */
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--accent); border-radius: 999px;
  padding: 13px 30px; background: transparent;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-primary); font-weight: 400;
  box-shadow: var(--glow-subtle);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s cubic-bezier(0.23,1,0.32,1);
  will-change: transform;
  overflow: visible;
}
.cta-btn:hover { background: rgba(0,255,136,0.07); box-shadow: var(--glow-strong); }
.cta-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ffffff;
  position: relative;
  z-index: 2;
  filter:
    drop-shadow(0 0 4px #00FF88)
    drop-shadow(0 0 10px #00FF88)
    drop-shadow(0 0 20px rgba(0,255,136,0.7));
  animation: ctaDotPulse 2s ease-in-out infinite;
}
@keyframes ctaDotPulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 4px #00FF88)
      drop-shadow(0 0 10px #00FF88)
      drop-shadow(0 0 20px rgba(0,255,136,0.7));
  }
  50% {
    filter:
      drop-shadow(0 0 6px #00FF88)
      drop-shadow(0 0 16px #00FF88)
      drop-shadow(0 0 30px rgba(0,255,136,0.9))
      drop-shadow(0 0 50px rgba(0,255,136,0.4));
  }
}

/* ── SHOWCASE (Selected Work — split layout) ── */
.showcase-section {
  position: relative;
  background: #030303;
  overflow: hidden;
  /* height set by JS: 100vh + scrollDist */
}
.showcase-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Neon beam canvas */
#neon-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Section label */
.showcase-header {
  position: absolute;
  top: 30px; left: 6vw;
  z-index: 10;
  font-weight: 300; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Split container */
.showcase-split {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: stretch;
}

/* ─ Left: text panel ─ */
.showcase-text-panel {
  width: 40%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3vw 0 6vw;
}
.showcase-project {
  position: absolute;
  left: 6vw; right: 3vw;
  will-change: transform, opacity;
  pointer-events: none;
}
.project-number {
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
  color: rgba(0,255,136,0.05);
  letter-spacing: -0.03em;
}
.project-title {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.project-category {
  display: inline-block;
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 999px;
  padding: 5px 18px;
  margin-bottom: 22px;
  text-shadow: 0 0 12px rgba(0,255,136,0.4);
}
.project-desc {
  font-size: 14px; font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 380px;
}

/* ─ Right: flying posters canvas panel ─ */
.showcase-canvas-panel {
  width: 60%;
  position: relative;
  overflow: hidden;
}
.showcase-canvas-panel::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(3,3,3,0.55) 100%);
  pointer-events: none;
}
#showcase-canvas {
  display: block;
  width: 100%; height: 100%;
  position: relative; z-index: 1;
}

/* ─ Progress dots ─ */
.showcase-progress-dots {
  position: absolute;
  bottom: 60px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.sdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
  cursor: pointer;
}
.sdot.active {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(0,255,136,0.4);
  transform: scale(1.3);
}

/* ─ Progress bar ─ */
.showcase-progress {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  z-index: 10;
  overflow: hidden;
}
.showcase-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: 0 0 10px var(--accent);
}

/* ── About portrait overlay (in showcase canvas panel) ── */
.showcase-about-portrait {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1);
}
.showcase-about-portrait.visible {
  opacity: 1;
}
.showcase-about-portrait img {
  height: 92%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 40px rgba(0,255,136,0.3));
}
.portrait-glow-ring {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 120px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.25) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* ── About Slide (inside showcase) ── */
.showcase-about-slide {
  pointer-events: none;
}
.about-slide-label {
  display: block;
  font-weight: 300; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(0,255,136,0.5);
}
.about-slide-title {
  font-family: var(--font-script) !important;
  font-weight: 700 !important;
  font-size: clamp(32px, 3.8vw, 54px) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-shadow:
    0 0 10px rgba(0,255,136,0.9),
    0 0 30px rgba(0,255,136,0.6),
    0 0 60px rgba(0,255,136,0.35);
}
.about-slide-bio {
  color: #aaaaaa !important;
  margin-bottom: 28px !important;
  max-width: 400px !important;
}
.about-slide-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}
.about-slide-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.astat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.astat-number {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.astat-suffix {
  color: var(--accent);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1;
}
.astat-label {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 6px;
}
.about-slide-quote {
  font-family: var(--font-script);
  font-size: clamp(14px, 1.4vw, 18px);
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(0,255,136,0.8),
    0 0 30px rgba(0,255,136,0.5);
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  line-height: 1.5;
  max-width: 380px;
}

/* ── ABOUT STORY BEATS — initial hidden state, JS drives opacity+transform in ── */
#about-beat-label,
#about-beat-title,
#about-beat-bio,
.about-beat-stat,
#about-beat-quote {
  opacity: 0;
  will-change: opacity, transform;
}

/* Canvas panel: no JS transform any more, keep position relative for stacking */
#showcase-canvas-panel {
  position: relative;
}

/* ── ABOUT FULLSCREEN OVERLAY ── */
.about-fullscreen {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: transparent;
  opacity: 1;
  pointer-events: none;
  overflow: hidden; /* hide stats before they slide in */
}

/* Connector dots removed — neon beams serve as the visual backdrop */

/* Individual stat block — floats over the neon beams */
.about-fs-stat {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  opacity: 0;
  will-change: opacity, transform;
}
.about-fs-stat--left {
  text-align: right;
  padding-right: calc(50% + 30px);
}
.about-fs-stat--right {
  text-align: left;
  padding-left: calc(50% + 30px);
}

/* Number row — number + suffix sit together on one line */
.about-fs-number {
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  font-size: clamp(100px, 15vw, 220px);
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  text-shadow:
    0 4px 20px rgba(0,0,0,1),
    0 0  60px rgba(0,0,0,0.85);
}
/* The actual counter digits */
.about-fs-number .astat-number {
  display: block;
}
/* Suffix (+, %) — sits at the top-right of the number, much smaller */
.about-fs-suffix {
  font-size: 0.3em;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-top: 0.15em;
  margin-left: 0.05em;
  text-shadow:
    0 0 20px rgba(0,255,136,0.8),
    0 0 40px rgba(0,255,136,0.4);
}

/* Label below the number */
.about-fs-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

/* Quote at the bottom center */
.about-fs-quote {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(15px, 1.6vw, 22px);
  color: rgba(255,255,255,0.5);
  opacity: 0;
  will-change: opacity, transform;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.95);
}

/* ── ABOUT (styles kept minimal as it lives inside showcase) ── */
.about-section { display: none; }



/* ── CONTACT ── */
.contact-section {
  text-align: center; padding: 100px 6vw 120px;
  background: var(--bg-primary);
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.contact-heading {
  font-weight: 900; font-size: clamp(40px,8vw,96px);
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 1; margin-bottom: 30px;
  overflow: hidden;
}
.contact-heading .char {
  display: inline-block;
  opacity: 0; transform: translateY(50px) rotateX(90deg);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.contact-heading.visible .char {
  opacity: 1; transform: translateY(0) rotateX(0);
}
.contact-email {
  display: inline-block; position: relative;
  font-size: clamp(14px,1.6vw,20px); font-weight: 300;
  color: var(--text-secondary); margin-bottom: 36px;
  transition: color 0.3s;
}
.contact-email:hover { color: var(--text-primary); }
.contact-email::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 0 10px var(--accent);
}
.contact-email:hover::after { transform: scaleX(1); transform-origin: left; }

.contact-cta { margin-bottom: 40px; }

.social-links { display: flex; justify-content: center; gap: 16px; }
.social-link {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #222; display: flex;
  align-items: center; justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.social-link:hover {
  border-color: var(--accent);
  box-shadow: var(--glow-subtle);
  transform: translateY(-3px);
}
.social-link svg { width: 18px; height: 18px; fill: var(--text-secondary); transition: fill 0.3s; }
.social-link:hover svg { fill: var(--text-primary); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── TRUSTED BY ── */
.trusted-section {
  padding: 100px 6vw;
  background: var(--bg-primary);
  overflow: hidden;
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}
.trusted-label {
  font-weight: 300; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 32px;
}
.trusted-line {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-mid), transparent);
  margin-bottom: 40px;
  box-shadow: 0 0 10px rgba(0,255,136,0.3);
}
.marquee-wrap {
  display: flex; flex-direction: column; gap: 24px;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}
.marquee-reverse {
  animation-direction: reverse;
}
.marquee-content {
  display: flex; align-items: center; gap: 48px;
  padding-right: 48px;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.3s, text-shadow 0.3s, filter 0.3s;
  color: var(--text-muted);
}
.marquee-item.marquee-logo svg {
  height: clamp(28px, 3.5vw, 44px);
  width: auto;
  display: block;
}
.marquee-item:hover {
  color: var(--accent);
  text-shadow: var(--glow-text);
  filter: drop-shadow(0 0 8px rgba(0,255,136,0.3));
}
.marquee-sep {
  color: var(--accent-mid);
  font-size: 10px;
  opacity: 0.4;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

/* ── SERVICES ── */
.services-section {
  padding: 100px 6vw;
  background: var(--bg-secondary);
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
.services-label {
  font-weight: 300; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  grid-template-rows: repeat(2, minmax(240px, auto));
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  padding: 40px 28px 36px;
  transition: border-color 0.4s, box-shadow 0.4s;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* ── Bento card placement ── */
.service-card:nth-child(1) {
  grid-column: 1; grid-row: 1 / 3;
  padding: 48px 36px 44px;
}
.service-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.service-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.service-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.service-card:nth-child(5) { grid-column: 3; grid-row: 2; }
/* ── Hero card (card 1) enlarged ── */
.service-card:nth-child(1) .service-number {
  font-size: 72px; font-weight: 900;
  color: rgba(0,255,136,0.04);
  top: 24px; right: 28px;
  letter-spacing: -0.02em;
}
.service-card:nth-child(1) .service-icon {
  width: 56px; height: 56px;
  margin-bottom: 32px;
}
.service-card:nth-child(1) .service-title {
  font-size: 22px;
  margin-bottom: 16px;
}
.service-card:nth-child(1) .service-desc {
  font-size: 14px;
  max-width: 340px;
  line-height: 1.8;
}
.service-number {
  position: absolute; top: 16px; right: 18px; z-index: 2;
  color: var(--accent-mid); font-size: 10px;
  letter-spacing: 0.1em; font-weight: 400;
}
.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--accent);
  position: relative; z-index: 2;
}
.service-icon svg {
  width: 100%; height: 100%;
}
.service-title {
  font-size: 16px; font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  position: relative; z-index: 2;
}
.service-desc {
  font-size: 13px; font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative; z-index: 2;
}

/* ── LOGO SHOWCASE ── */
.logos-section {
  padding: 60px 0 0;
  background: var(--bg-primary);
  overflow: hidden;
}
.logos-label {
  padding: 0 6vw;
  font-weight: 300; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 24px;
}
#dome-gallery-container {
  width: 100%;
  height: 80vh;
  min-height: 500px;
  position: relative;
}

/* ── CIRCULAR GALLERY ── */
.gallery-section {
  padding: 60px 0 100px;
  background: var(--bg-secondary);
  overflow: hidden;
  contain: layout style;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
.gallery-label {
  padding: 0 6vw;
  font-weight: 300; font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 32px;
}
.circular-gallery {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
  cursor: grab;
}
.circular-gallery:active {
  cursor: grabbing;
}
.circular-gallery canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* ── Gallery Arc Line ── */
.gallery-arc-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.gallery-swipe-hint {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}
.swipe-icon {
  width: 36px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* ── BORDER GLOW EFFECT (adapted from React Bits) ── */
.border-glow {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 25;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --glow-padding: 30px;
  --cone-spread: 25;
  --fill-opacity: 0.5;
  --glow-color: hsl(152deg 100% 50% / 100%);
  --glow-color-60: hsl(152deg 100% 50% / 60%);
  --glow-color-50: hsl(152deg 100% 50% / 50%);
  --glow-color-40: hsl(152deg 100% 50% / 40%);
  --glow-color-30: hsl(152deg 100% 50% / 30%);
  --glow-color-20: hsl(152deg 100% 50% / 20%);
  --glow-color-10: hsl(152deg 100% 50% / 10%);
  --gradient-one: radial-gradient(at 80% 55%, #00FF88 0px, transparent 50%);
  --gradient-two: radial-gradient(at 69% 34%, #00CC66 0px, transparent 50%);
  --gradient-three: radial-gradient(at 8% 6%, #22d3ee 0px, transparent 50%);
  --gradient-four: radial-gradient(at 41% 38%, #00FF88 0px, transparent 50%);
  --gradient-five: radial-gradient(at 86% 85%, #00CC66 0px, transparent 50%);
  --gradient-six: radial-gradient(at 82% 18%, #22d3ee 0px, transparent 50%);
  --gradient-seven: radial-gradient(at 51% 4%, #00CC66 0px, transparent 50%);
  --gradient-base: linear-gradient(#00FF88 0 100%);
  isolation: isolate;
  transform: translate3d(0, 0, 0.01px);
}
.border-glow::before,
.border-glow::after,
.border-glow > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease-out;
  z-index: -1;
  pointer-events: none;
}
.border-glow:not(:hover)::before,
.border-glow:not(:hover)::after,
.border-glow:not(:hover) > .edge-light {
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}
/* mesh-gradient border */
.border-glow::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    var(--gradient-one) border-box,
    var(--gradient-two) border-box,
    var(--gradient-three) border-box,
    var(--gradient-four) border-box,
    var(--gradient-five) border-box,
    var(--gradient-six) border-box,
    var(--gradient-seven) border-box,
    var(--gradient-base) border-box;
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%)
  );
}
/* mesh-gradient fill */
.border-glow::after {
  border: 1px solid transparent;
  background:
    var(--gradient-one) padding-box,
    var(--gradient-two) padding-box,
    var(--gradient-three) padding-box,
    var(--gradient-four) padding-box,
    var(--gradient-five) padding-box,
    var(--gradient-six) padding-box,
    var(--gradient-seven) padding-box,
    var(--gradient-base) padding-box;
  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
  mask-composite: subtract, add, add, add, add, add;
  -webkit-mask-composite: source-out, source-over, source-over, source-over, source-over, source-over;
  opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}
/* outer glow */
.border-glow > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  z-index: 1;
  mask-image: conic-gradient(
    from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
  );
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}
.border-glow > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 1px 0 var(--glow-color-60),
    inset 0 0 3px 0 var(--glow-color-50),
    inset 0 0 6px 0 var(--glow-color-40),
    inset 0 0 15px 0 var(--glow-color-30),
    inset 0 0 25px 2px var(--glow-color-20),
    inset 0 0 50px 2px var(--glow-color-10),
    0 0 1px 0 var(--glow-color-60),
    0 0 3px 0 var(--glow-color-50),
    0 0 6px 0 var(--glow-color-40),
    0 0 15px 0 var(--glow-color-30),
    0 0 25px 2px var(--glow-color-20),
    0 0 50px 2px var(--glow-color-10);
}
/* Cards with overflow:hidden get border-only glow (no outer bleed) */
.logo-cell.border-glow { --glow-padding: 0px; }
.logo-cell.border-glow > .edge-light { inset: 0; z-index: 5; }
.logo-cell.border-glow > .edge-light::before { inset: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .tagline-section { min-height: 60vh; }
  .tagline-content { padding: 50px 5vw; }
  .showcase-text-panel { width: 100%; height: 35%; padding: 80px 5vw 0; }
  .showcase-project { left: 5vw; right: 5vw; }
  .showcase-canvas-panel { width: 100%; height: 65%; }
  .nav-capsule { width: 88vw; }
  .scroll-track { display: none; }
  .services-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .service-card:nth-child(1) {
    grid-column: 1 / 3; grid-row: auto;
  }
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto; grid-row: auto;
  }
  .logo-cell { width: 180px; height: 135px; }
  .circular-gallery { height: 450px; }
  .marquee-item.marquee-logo svg { height: clamp(22px, 5vw, 32px); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(1) { grid-column: 1; }
  .circular-gallery { height: 350px; }
  .logo-cell { width: 160px; height: 120px; }
}

/* ══════════════════════════════════════
   FULLSCREEN NAV MENU
══════════════════════════════════════ */

/* Hamburger → X animation */
.nav-hamburger {
  position: relative;
  z-index: 1002;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-hamburger span {
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.2s ease,
              background 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
  background: var(--accent);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
  background: var(--accent);
}

/* Nav capsule when menu is open — accent border glow */
.nav-capsule.menu-open {
  border-color: rgba(0, 255, 136, 0.25) !important;
  box-shadow:
    0 0 2px 1px color-mix(in oklch, white, transparent 65%) inset,
    0 0 10px 4px color-mix(in oklch, white, transparent 85%) inset,
    0 0 20px rgba(0, 255, 136, 0.15),
    0 0 40px rgba(0, 255, 136, 0.08) !important;
}

/* Overlay container */
.nav-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}
.nav-menu-overlay.active {
  pointer-events: auto;
  visibility: visible;
}

/* Dark glass background */
.nav-menu-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-menu-overlay.active .nav-menu-bg {
  opacity: 1;
}

/* Content wrapper */
.nav-menu-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  padding: 120px 10vw 80px;
}

/* Links container */
.nav-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Individual link */
.nav-menu-link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  text-decoration: none;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.nav-menu-link.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Link number */
.nav-menu-link-number {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--accent);
  opacity: 0.5;
  min-width: 28px;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
}

/* Link text */
.nav-menu-link-text {
  font-family: var(--font);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover effect */
.nav-menu-link:hover .nav-menu-link-text {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.4), 0 0 60px rgba(0, 255, 136, 0.15);
  transform: translateX(10px);
}
.nav-menu-link:hover .nav-menu-link-number {
  opacity: 1;
}

/* Underline on hover */
.nav-menu-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 48px;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 255, 136, 0.4), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-menu-link:hover::after {
  transform: scaleX(1);
}

/* Footer */
.nav-menu-footer {
  position: absolute;
  bottom: 40px;
  left: 10vw;
  right: 10vw;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.nav-menu-overlay.active .nav-menu-footer {
  opacity: 1;
}
.nav-menu-footer-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 255, 136, 0.3), transparent 80%);
}
.nav-menu-footer-text {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Prevent scroll when menu is open */
body.menu-open {
  overflow: hidden;
}
