:root {
  --ink: #1a0d22;
  --paper: #f0eaf4;
  --paper2: #e8e0ee;
  --accent: #4a2270;
  --gold: #c84b9e;
  --steel: #a06cc0;
  --mist: #d4a8e8;
  --light-ink: #2a1a35;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'DM Mono', monospace;
  overflow-x: hidden;
  cursor: none;
}

/* CUSTOM CURSOR */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(200,75,158,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.3s;
  transform: translate(-50%, -50%);
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, rgba(26,13,34,0.9) 0%, transparent 100%);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 0px 24px rgba(0,0,0,0.85), 0 0px 48px rgba(0,0,0,0.6);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--mist);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 0px 24px rgba(0,0,0,0.85), 0 0px 48px rgba(0,0,0,0.6);
}
.nav-links a:hover { color: var(--gold); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

/* Geometric background */
.hero-geo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.geo-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(210,160,80,0.2);
}
.geo-circle:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -100px; border-color: rgba(210,160,80,0.3); }
.geo-circle:nth-child(2) { width: 900px; height: 900px; top: -350px; right: -250px; border-color: rgba(210,160,80,0.15); }
.geo-circle:nth-child(3) { width: 300px; height: 300px; bottom: 80px; left: -80px; border-color: rgba(200,75,158,0.12); }
.geo-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255,185,0,0.85), transparent);
  height: 1px;
}
.geo-line:nth-child(4) { width: 60%; top: 35%; left: 5%; transform: rotate(-8deg); }
.geo-line:nth-child(5) { width: 40%; top: 65%; right: 0%; transform: rotate(-3deg); background: linear-gradient(90deg, transparent, rgba(255,185,0,0.7), transparent); }

/* Floating dots grid */
.dot-grid {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
  opacity: 0.35;
}
.dot-grid span {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--mist);
  display: block;
}
.dot-grid span:nth-child(3n) { background: var(--gold); }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 860px;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.3s;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--paper);
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.5s;
}
.hero-name em {
  font-style: italic;
  color: var(--gold);
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.08em;
  color: var(--steel);
  text-transform: uppercase;
  margin-top: 24px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.7s;
}
.hero-bio {
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(240,234,244,0.75);
  max-width: 520px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.9s;
}
.hero-cta {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.1s;
}
.btn-primary {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 14px 34px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  transform: translateX(-101%);
  transition: transform 0.3s ease;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-ghost {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid rgba(192,143,212,0.3);
  padding: 14px 34px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-ghost:hover { color: var(--paper); border-color: var(--paper); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(240,234,244,0.68);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* STATS BAR */
.stats-bar {
  background: var(--accent);
  padding: 30px 60px;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(200,75,158,0.2);
  border-bottom: 1px solid rgba(200,75,158,0.2);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: #f07ecb;
  line-height: 1;
  display: inline-block;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--mist);
  text-transform: uppercase;
  margin-top: 6px;
}

/* SECTION COMMONS */
section { position: relative; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ABOUT / PARALLAX */
.parallax-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #221035 0%, #1a0d22 60%, #1e0d20 100%);
  position: relative;
}
.parallax-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(61,26,92,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(200,75,158,0.08) 0%, transparent 60%);
}
.parallax-geo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
}
.pgeo-diamond {
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid rgba(139,79,168,0.25);
  top: 50%; right: -80px;
  transform: translateY(-50%) rotate(45deg);
}
.pgeo-diamond::before {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(200,75,158,0.15);
}
.pgeo-diamond::after {
  content: '';
  position: absolute;
  inset: 80px;
  border: 1px solid rgba(139,79,168,0.1);
}
.pgeo-line-v {
  position: absolute;
  width: 1px;
  height: 100%;
  right: 200px;
  background: linear-gradient(to bottom, transparent, rgba(139,79,168,0.2), transparent);
}
.parallax-content {
  position: relative;
  z-index: 2;
  padding: 100px 60px;
  max-width: 660px;
}
.about-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(240,234,244,0.92);
  margin-top: 36px;
}
.about-text strong {
  color: var(--gold);
  font-weight: 400;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid rgba(192,143,212,0.25);
  padding: 8px 16px;
  transition: all 0.3s;
}
.tag:hover { border-color: var(--gold); color: var(--gold); }

/* EXPERIENCE */
.experience-section {
  background: var(--paper);
  color: var(--ink);
  padding: 120px 60px;
}
.experience-section .section-label { color: var(--accent); }
.experience-section .section-label::before { background: var(--accent); }
.experience-section .section-title { color: var(--ink); }
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 70px;
  background: rgba(61,26,92,0.08);
}
.exp-card {
  background: var(--paper);
  padding: 50px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}
.exp-card:hover { background: var(--paper2); }
.exp-card:hover::before { height: 100%; }
.exp-card.featured { grid-column: 1 / -1; }
.exp-company {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.exp-company .badge {
  background: var(--accent);
  color: var(--paper);
  font-size: 0.58rem;
  padding: 3px 9px;
  letter-spacing: 0.1em;
}
.exp-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 6px;
}
.exp-date {
  font-size: 0.68rem;
  color: rgba(26,13,34,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.exp-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(26,13,34,0.65);
}
.exp-bullets {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exp-bullets li {
  font-size: 0.78rem;
  color: rgba(26,13,34,0.6);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.exp-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.exp-skill {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(61,26,92,0.2);
  padding: 5px 12px;
}

/* SKILLS */
.skills-section {
  background: var(--ink);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}
.skills-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(61,26,92,0.2) 0%, transparent 70%);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 70px;
  background: rgba(255,255,255,0.04);
  position: relative;
  z-index: 2;
}
.skill-cat {
  background: var(--ink);
  padding: 44px 38px;
  transition: background 0.3s;
}
.skill-cat:hover { background: #241530; }
.skill-cat-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: inline-block;
}
.skill-cat-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(240,234,244,0.82);
}
.skill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--steel);
  flex-shrink: 0;
}
.skill-item.highlight .skill-dot { background: var(--gold); }
.skill-item.highlight { color: var(--paper); }

/* EDUCATION */
.education-section {
  background: linear-gradient(180deg, #221035 0%, var(--ink) 100%);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}
.edu-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(139,79,168,0.2) 20%, rgba(139,79,168,0.2) 80%, transparent);
}
.edu-timeline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 70px;
}
.edu-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
}
.edu-item:nth-child(odd) .edu-body { grid-column: 1; }
.edu-item:nth-child(odd) .edu-dot-wrap { grid-column: 2; }
.edu-item:nth-child(odd) .edu-empty { grid-column: 3; }
.edu-item:nth-child(even) .edu-empty { grid-column: 1; }
.edu-item:nth-child(even) .edu-dot-wrap { grid-column: 2; }
.edu-item:nth-child(even) .edu-body { grid-column: 3; }
.edu-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}
.edu-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--ink);
  position: relative;
  display: inline-block;
}
.edu-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.edu-school {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.edu-degree {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 8px;
}
.edu-date {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(240,234,244,0.55);
  margin-bottom: 14px;
}
.edu-note {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(240,234,244,0.68);
}
.edu-grade {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,75,158,0.3);
  padding: 4px 12px;
}

/* CONTACT / FOOTER */
.contact-section {
  background: var(--accent);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(139,79,168,0.3) 0%, transparent 70%);
}
.contact-geo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.contact-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200,75,158,0.1);
}
.contact-circle:nth-child(1) { width: 500px; height: 500px; top: -200px; left: -100px; }
.contact-circle:nth-child(2) { width: 400px; height: 400px; bottom: -150px; right: -80px; }
.contact-content { position: relative; z-index: 2; }
.contact-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--paper);
  margin: 20px 0 40px;
}
.contact-tagline em { font-style: italic; color: var(--gold); display: inline-block; }
.contact-email {
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  color: var(--mist);
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid rgba(192,143,212,0.3);
  padding-bottom: 4px;
  transition: all 0.3s;
}
.contact-email:hover { color: var(--gold); border-color: var(--gold); }
.contact-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}
.contact-link {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,234,244,0.6);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-link:hover { color: var(--gold); }
footer {
  background: var(--ink);
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
footer p { font-size: 0.65rem; letter-spacing: 0.1em; color: rgba(240,234,244,0.38); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.8); }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.4s; }

@media (max-width: 900px) {
  nav { padding: 22px 28px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 28px; }
  .stats-bar { padding: 28px; flex-wrap: wrap; gap: 24px; }
  .parallax-content { padding: 80px 28px; }
  .experience-section, .skills-section, .education-section { padding: 80px 28px; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-card.featured { grid-column: 1; }
  .skills-grid { grid-template-columns: 1fr; }
  .edu-item { grid-template-columns: 1fr; gap: 12px; }
  .edu-item:nth-child(odd) .edu-body,
  .edu-item:nth-child(even) .edu-body { grid-column: 1; }
  .edu-item:nth-child(odd) .edu-dot-wrap,
  .edu-item:nth-child(even) .edu-dot-wrap { display: none; }
  .edu-item:nth-child(odd) .edu-empty,
  .edu-item:nth-child(even) .edu-empty { display: none; }
  .edu-line { display: none; }
  .contact-section { padding: 80px 28px; }
  footer { padding: 24px 28px; flex-direction: column; gap: 10px; text-align: center; }
  .dot-grid { display: none; }
}

/* ── REVEAL/FLOAT SEPARATION ───────────────────────────────────────────────
   .reveal uses the individual `translate` property so it never conflicts
   with JS writing `style.transform` on .float elements. Both can coexist
   on the same element without fighting over the transform shorthand.      */
.reveal {
  opacity: 0;
  translate: 0 40px;
  transform: none;
  transition: opacity 0.8s ease, translate 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  translate: 0 0;
  transform: none;
}
