/* ════════════════════════════════════════════
   B33JAY — Occult-Futurist Portfolio
   Dark luxury · Liquid glass · Gold & Crimson
   ════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --void:      #080810;
  --deep:      #0d0d1a;
  --panel:     #111124;
  --navy:      #0f0f2a;

  --gold:      #c8972a;
  --gold-lt:   #f0be5a;
  --gold-glow: rgba(200,151,42,0.35);

  --crimson:   #b02020;
  --crimson-lt:#e03030;
  --crimson-glow: rgba(176,32,32,0.4);

  --ash:       #a0a0b8;
  --fog:       #6a6a88;
  --white:     #f0ede8;

  --glass-bg:        rgba(255,255,255,0.04);
  --glass-border:    rgba(255,255,255,0.08);
  --glass-highlight: rgba(255,255,255,0.12);
  --glass-shadow:    rgba(0,0,0,0.6);

  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body:    'Crimson Pro', serif;

  --ease-liquid: cubic-bezier(0.23, 1, 0.32, 1);
  --transition:  0.4s var(--ease-liquid);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: default;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ════════════════════════════════════════════
   INTRO OVERLAY
   ════════════════════════════════════════════ */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.8s var(--ease-liquid), transform 0.8s var(--ease-liquid);
}
#intro-overlay.exit {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

#intro-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
#intro-video.loaded { opacity: 1; }

#intro-fallback {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}

/* Orbital rings animation */
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200,151,42,0.3);
  animation: orbit-spin 6s linear infinite;
}
.ring-1 { width: 300px; height: 120px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotateX(70deg); animation-duration: 4s; }
.ring-2 { width: 460px; height: 185px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotateX(70deg); animation-duration: 7s; animation-direction: reverse; border-color: rgba(176,32,32,0.25); }
.ring-3 { width: 620px; height: 248px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotateX(70deg); animation-duration: 10s; border-color: rgba(200,151,42,0.15); }

@keyframes orbit-spin {
  from { transform: translate(-50%,-50%) rotateX(70deg) rotateZ(0deg); }
  to   { transform: translate(-50%,-50%) rotateX(70deg) rotateZ(360deg); }
}

/* Lightning bolts */
.lightning-bolt {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-lt), transparent);
  animation: lightning-flash 2.5s ease-in-out infinite;
  opacity: 0;
}
.l1 { height: 200px; top: 10%; left: 20%; transform: rotate(-15deg); animation-delay: 0s; }
.l2 { height: 280px; top: 5%; right: 25%; transform: rotate(20deg); animation-delay: 0.8s; background: linear-gradient(180deg, transparent, var(--crimson-lt), transparent); }
.l3 { height: 160px; bottom: 15%; left: 35%; transform: rotate(-8deg); animation-delay: 1.6s; }

@keyframes lightning-flash {
  0%, 90%, 100% { opacity: 0; }
  5%, 10% { opacity: 1; }
  7% { opacity: 0.3; }
}

#intro-logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  color: var(--gold-lt);
  text-shadow:
    0 0 40px var(--gold-glow),
    0 0 80px var(--gold-glow),
    0 0 120px rgba(200,151,42,0.2);
  animation: intro-pulse 3s ease-in-out infinite, intro-appear 1s var(--ease-liquid) 0.3s both;
  position: relative;
  z-index: 2;
  letter-spacing: 0.1em;
}
@keyframes intro-pulse {
  0%, 100% { text-shadow: 0 0 40px var(--gold-glow), 0 0 80px var(--gold-glow); }
  50% { text-shadow: 0 0 60px var(--gold-glow), 0 0 120px var(--gold-glow), 0 0 200px rgba(200,151,42,0.3); }
}
@keyframes intro-appear {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

#intro-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 2.5vw, 1.2rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 1rem;
  animation: intro-appear 1s var(--ease-liquid) 0.6s both;
  position: relative;
  z-index: 2;
}

#intro-skip {
  position: absolute;
  bottom: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: intro-appear 1s var(--ease-liquid) 1.5s both;
  z-index: 2;
}
#intro-skip span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--fog);
}
.skip-pulse {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: skip-pulse 1.5s ease-in-out infinite;
}
@keyframes skip-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ════════════════════════════════════════════
   GLASS CARD COMPONENT
   ════════════════════════════════════════════ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    0 4px 24px var(--glass-shadow),
    inset 0 1px 0 var(--glass-highlight);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(200,151,42,0.05), transparent 60%);
  pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(200,151,42,0.25);
  box-shadow:
    0 8px 40px var(--glass-shadow),
    0 0 0 1px rgba(200,151,42,0.1),
    inset 0 1px 0 var(--glass-highlight);
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════
   DESKTOP NAV
   ════════════════════════════════════════════ */
#desktop-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(8,8,16,0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(200,151,42,0.1);
  transition: var(--transition);
}
#desktop-nav.scrolled {
  padding: 0.8rem 4rem;
  background: rgba(8,8,16,0.92);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: 0.1em;
}
#desktop-nav ul {
  display: flex;
  gap: 2.5rem;
}
#desktop-nav .nav-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  position: relative;
  transition: color 0.3s;
}
#desktop-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
#desktop-nav .nav-link:hover,
#desktop-nav .nav-link.active {
  color: var(--gold-lt);
}
#desktop-nav .nav-link:hover::after,
#desktop-nav .nav-link.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.55rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold-lt);
  border-radius: 40px;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--void);
  box-shadow: 0 0 24px var(--gold-glow);
}

/* ════════════════════════════════════════════
   MOBILE NAV (FIXED: clickable & crisp)
   ════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   MOBILE NAV (FIXED – no full-page blur, clickable)
   ════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   MOBILE NAV (NO BLUR, FULLY CLICKABLE)
   ════════════════════════════════════════════ */

/* ════════════════════════════════════════════
   SECTION COMMONS
   ════════════════════════════════════════════ */
section {
  padding: 8rem 0;
  position: relative;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
  opacity: 0.8;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--white);
  margin-bottom: 4rem;
}
.section-title em {
  font-style: italic;
  color: var(--gold-lt);
}

/* ════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════ */
#hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: rgba(176,32,32,0.12); top: -10%; right: -5%; }
.orb-2 { width: 400px; height: 400px; background: rgba(200,151,42,0.08); bottom: -5%; left: -8%; }
.orb-3 { width: 600px; height: 300px; background: rgba(13,13,42,0.6); top: 30%; left: 20%; }

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  max-width: 50px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 0.5rem;
  position: relative;
}
.title-line {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-lt);
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 50%, var(--crimson-lt) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px var(--gold-glow));
  animation: title-shimmer 4s ease-in-out infinite;
}
@keyframes title-shimmer {
  0%, 100% { filter: drop-shadow(0 0 30px var(--gold-glow)); }
  50% { filter: drop-shadow(0 0 60px var(--gold-glow)) drop-shadow(0 0 100px rgba(200,151,42,0.2)); }
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--ash);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.hero-subtitle em { color: var(--gold-lt); font-style: italic; }

.hero-description {
  font-size: 1.1rem;
  color: rgba(160,160,184,0.85);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold), var(--crimson));
  color: var(--void);
  border-radius: 40px;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--gold-glow), 0 4px 40px var(--crimson-glow);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px var(--gold-glow), 0 8px 60px var(--crimson-glow);
}

.btn-ghost {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(200,151,42,0.4);
  color: var(--gold-lt);
  border-radius: 40px;
  background: transparent;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: rgba(200,151,42,0.08);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(200,151,42,0.15);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-lt);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  vertical-align: top;
  margin-left: 2px;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fog);
  margin-top: 0.25rem;
}
.stat-divider {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* Hero image column */
.hero-image-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-frame {
  position: relative;
  width: 340px; height: 400px;
}
.hero-avatar {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}
.avatar-fallback {
  display: none;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--panel), var(--navy));
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  z-index: 1;
  position: relative;
  border: 1px solid rgba(200,151,42,0.2);
}
.image-ring {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(200,151,42,0.3);
  border-radius: 20px;
  animation: ring-rotate 8s linear infinite;
}
.ring-b {
  inset: -16px;
  border-color: rgba(176,32,32,0.2);
  animation-direction: reverse;
  animation-duration: 12s;
}
@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.image-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(200,151,42,0.15), transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.floating-badge {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  color: var(--gold-lt);
  white-space: nowrap;
  animation: badge-float 3s ease-in-out infinite;
}
.badge-cm { top: 8%; right: -10%; animation-delay: 0s; }
.badge-ba { bottom: 12%; left: -12%; animation-delay: 1.5s; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--fog);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════ */
#about { background: linear-gradient(180deg, var(--void) 0%, var(--deep) 100%); }

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.about-card-main {
  padding: 2.5rem;
}
.card-inner-glow {
  position: absolute;
  top: -1px; left: -1px; right: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 16px 16px 0 0;
}
.about-card-main h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-lt);
  margin-bottom: 1.2rem;
}
.about-card-main p {
  color: var(--ash);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.about-card-main p:last-child { margin-bottom: 0; }

.about-side-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.mini-card {
  padding: 1.5rem;
}
.mini-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.mini-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold-lt);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.mini-card p { font-size: 0.9rem; color: var(--fog); }

.philosophy-strip {
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  margin-top: 2rem;
}
.phi-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ash);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   SKILLS SECTION
   ════════════════════════════════════════════ */
#skills { background: var(--deep); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.skill-card { padding: 1.8rem; }
.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
.skill-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.skill-pct {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
}
.skill-bar-track {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--crimson), var(--gold-lt));
  border-radius: 2px;
  transition: width 1.2s var(--ease-liquid);
  position: relative;
}
.skill-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: -2px;
  width: 6px; height: 7px;
  background: var(--gold-lt);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-glow);
}
.skill-desc { font-size: 0.88rem; color: var(--fog); line-height: 1.7; }

.tools-row {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2.5rem;
}
.tools-row h3 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tool-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(200,151,42,0.2);
  border-radius: 30px;
  color: var(--ash);
  background: rgba(200,151,42,0.04);
  transition: var(--transition);
}
.tool-tag:hover {
  border-color: var(--gold);
  color: var(--gold-lt);
  background: rgba(200,151,42,0.08);
}

/* ════════════════════════════════════════════
   EXPERIENCE SECTION
   ════════════════════════════════════════════ */
#experience { background: linear-gradient(180deg, var(--deep) 0%, var(--void) 100%); }

.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.3;
}
.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 2rem;
}
.timeline-dot {
  position: absolute;
  left: -2.4rem;
  top: 1.5rem;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--gold-glow);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.timeline-card { padding: 2rem 2.5rem; }
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.exp-role {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 600;
}
.exp-company {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}
.exp-badge {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(200,151,42,0.3);
  border-radius: 20px;
  color: var(--gold-lt);
  white-space: nowrap;
}
.exp-overview {
  color: var(--ash);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.exp-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.exp-bullets li {
  font-size: 0.95rem;
  color: var(--fog);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.7;
}
.exp-bullets li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.4rem;
  color: var(--gold);
}

/* ════════════════════════════════════════════
   SERVICES SECTION
   ════════════════════════════════════════════ */
#services { background: var(--void); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  transition: var(--transition);
}
.service-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.service-card p {
  font-size: 0.93rem;
  color: var(--fog);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-tags span {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  background: rgba(200,151,42,0.06);
  border: 1px solid rgba(200,151,42,0.15);
  border-radius: 20px;
  color: var(--ash);
}

/* ════════════════════════════════════════════
   CONTACT SECTION
   ════════════════════════════════════════════ */
#contact { background: linear-gradient(180deg, var(--void) 0%, var(--deep) 100%); }

.contact-intro {
  max-width: 600px;
  margin: -2rem auto 3rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--ash);
  line-height: 1.8;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  cursor: pointer;
}
.contact-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.discord-icon { background: rgba(88,101,242,0.15); color: #7289da; }
.telegram-icon { background: rgba(0,136,204,0.15); color: #0088cc; }
.x-icon { background: rgba(255,255,255,0.06); color: var(--ash); }
.email-icon { background: rgba(200,151,42,0.1); color: var(--gold-lt); }

.contact-info { flex: 1; }
.contact-platform {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 0.2rem;
}
.contact-handle {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--white);
}
.contact-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.contact-card:hover .contact-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.availability-banner {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.avail-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(74,222,128,0.6);
  animation: avail-blink 2s ease-in-out infinite;
}
@keyframes avail-blink {
  0%, 100% { box-shadow: 0 0 10px rgba(74,222,128,0.6); }
  50% { box-shadow: 0 0 20px rgba(74,222,128,0.9); }
}
.availability-banner p { font-size: 0.95rem; color: var(--ash); }
.availability-banner strong { color: var(--white); }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
  background: var(--void);
  border-top: 1px solid rgba(200,151,42,0.1);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-lt);
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
.footer-sub {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1rem;
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--fog);
  opacity: 0.6;
}

/* ════════════════════════════════════════════
   ANIMATIONS & REVEAL
   ════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-liquid), transform 0.7s var(--ease-liquid);
}
.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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #desktop-nav { display: none; }
  #mobile-nav { display: block !important; }
  #mobile-nav.hidden { display: block !important; }
}
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-text-col { order: 2; }
  .hero-image-col { order: 1; }
  .hero-eyebrow { justify-content: center; }
  .hero-description { margin: 0 auto 2.5rem; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .badge-cm { top: 4%; right: 2%; }
  .badge-ba { bottom: 4%; left: 2%; }

  .about-grid { grid-template-columns: 1fr; }
  .about-side-cards { flex-direction: row; flex-wrap: wrap; }
  .mini-card { flex: 1 1 calc(50% - 0.6rem); min-width: 160px; }

  .skills-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  section { padding: 5rem 0; }
  .timeline { padding-left: 1rem; }
  .timeline-item { padding-left: 1.5rem; }
  .timeline-dot { left: -1.8rem; }
  .image-frame { width: 260px; height: 300px; }


@media (max-width: 480px) {
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
  .exp-header { flex-direction: column; }
  .about-side-cards { flex-direction: column; }
  .mini-card { flex: 1 1 100%; }
}
/* Fix blurry text & click issues */
#nav-drawer {
  backdrop-filter: none !important;
  filter: none !important;
  pointer-events: auto;
  z-index: 1001;
}

#nav-drawer ul,
#nav-drawer li,
#nav-drawer a {
  pointer-events: auto;
}

#nav-overlay {
  z-index: 1000;
}

/* Ensure text is sharp */
#nav-drawer a {
  color: #fff;
  font-weight: 500;
  letter-spacing: normal;
  text-shadow: none;
}
#nav-overlay.show {
  display: block;
  pointer-events: auto; /* overlay catches clicks to close */
}

#nav-drawer {
  pointer-events: auto;
}

#nav-toggle {
  pointer-events: auto;
}
/* ════════════════════════════════════════════
   MOBILE NAV FIX — paste at bottom of styles.css
   ════════════════════════════════════════════ */

/* Z-index hierarchy:
   overlay  = 1000
   drawer   = 1050
   toggle   = 1100
*/

#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  cursor: pointer;
}
#nav-overlay.show {
  display: block;
}

#nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 260px;
  background: #0d0d1a !important;   /* solid, no blur */
  border-right: 1px solid rgba(200,151,42,0.3);
  padding: 4.5rem 1.8rem 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 30px rgba(0,0,0,0.9);
  /* Kill ALL blur/filter on the drawer */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  will-change: transform;
}
#nav-drawer.open {
  transform: translateX(0);
}

/* Every child of drawer must be clickable */
#nav-drawer *,
#nav-drawer ul,
#nav-drawer li,
#nav-drawer a,
#nav-drawer .nav-link {
  pointer-events: auto !important;
  cursor: pointer;
  position: relative;
  z-index: 1051;
}

#nav-drawer .nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c8c8dc;
  padding: 1rem 0;
  transition: color 0.2s, padding-left 0.2s;
  text-shadow: none;
  backdrop-filter: none !important;
}
#nav-drawer .nav-link:hover,
#nav-drawer .nav-link.active {
  color: #f0be5a;
  padding-left: 0.5rem;
}

#nav-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 1100;            /* always on top */
  background: rgba(8, 8, 20, 0.95);
  border: 1px solid rgba(200,151,42,0.4);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f0be5a;
  transition: 0.3s ease;
  transform-origin: center;
  pointer-events: none;     /* spans must not intercept clicks */
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile breakpoint override */
@media (max-width: 768px) {
  #desktop-nav { display: none !important; }
  #mobile-nav  { display: block !important; }
  #mobile-nav.hidden { display: block !important; } /* 
}
/* ────────────────────────────────────────────
   Remove blue flash on tap / click
   ──────────────────────────────────────────── */
/* Remove blue flash on EVERY interactive element */
button,
a,
.nav-link,
.btn-primary,
.btn-ghost,
#nav-toggle,
.contact-card,
.tool-tag,
.nav-cta,
[role="button"],
#nav-drawer a,
#nav-drawer .nav-link,
#nav-drawer * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Optional: clean focus ring for accessibility */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--void), 0 0 0 4px var(--gold);
  border-radius: 4px;
}