*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4f2ef;
  --bg2: #ede9e3;
  --glass-bg: rgba(255,255,255,0.45);
  --glass-border: rgba(160,140,220,0.18);
  --glass-shadow: 0 8px 48px rgba(100,80,180,0.10), 0 1.5px 0 rgba(255,255,255,0.7) inset;
  --accent: #7c5cbf;
  --accent2: #a78bda;
  --accent3: #c4b5f4;
  --muted: #9490a8;
  --ink: #1e1b2e;
  --ink2: #3d3852;
  --line: rgba(130,110,200,0.13);
  --radius: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

/* CUSTOM CURSOR */
#cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, opacity .2s;
  mix-blend-mode: multiply;
}
#cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .12s cubic-bezier(.25,.46,.45,.94), width .2s, height .2s;
  opacity: 0.5;
}

/* CANVAS */
#bg-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* NOISE OVERLAY */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

/* LAYOUT */
main {
  position: relative; z-index: 2;
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5vw;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 5vw;
  background: rgba(244,242,239,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s;
}
nav.scrolled {
  padding: 16px 5vw;
  background: rgba(244,242,239,0.85);
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-logo span {
  color: var(--accent);
  font-weight: 800;
  margin-right: 1px;
}
.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

/* HERO */
#hero {
  flex-direction: column;
  text-align: center;
  position: relative;
  min-height: 100vh;
  gap: 0;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards;
}
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-name em {
  font-style: italic;
  color: var(--accent);
}
.hero-title {
  margin-top: 20px;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 500;
  color: var(--ink2);
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeUp 1s 0.75s forwards;
}
.hero-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent2), transparent);
  margin: 40px auto 0;
  opacity: 0;
  animation: fadeUp 1s 1s forwards;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s 1.4s forwards;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--accent2), transparent);
  animation: scrollPulse 2s 2s infinite;
}

/* GLASS CARD */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}

/* ABOUT */
#about {
  padding: 120px 5vw;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 1100px;
  width: 100%;
  align-items: start;
}
.about-left {
  position: sticky;
  top: 120px;
}
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 20px;
}
.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
}
.about-heading em {
  font-style: italic;
  color: var(--accent);
}
.about-subtext {
  margin-top: 20px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink2);
  line-height: 1.75;
}
.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-card {
  padding: 32px 36px;
  transition: transform .3s;
}
.about-card:hover {
  transform: translateY(-3px);
}
.about-card p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink2);
  font-weight: 400;
}
.about-card p strong {
  font-weight: 700;
  color: var(--accent);
}

/* MANIFESTO */
#manifesto {
  padding: 120px 5vw;
  flex-direction: column;
  gap: 64px;
}
.manifesto-header {
  text-align: center;
  max-width: 600px;
}
.manifesto-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.manifesto-header h2 em { color: var(--accent); font-style: italic; }

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  width: 100%;
}
.manifesto-card {
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: default;
}
.manifesto-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent3));
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity .3s;
}
.manifesto-card:hover { transform: translateY(-4px); }
.manifesto-card:hover::before { opacity: 1; }
.manifesto-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent3);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.6;
}
.manifesto-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}

/* SKILLS */
#skills {
  padding: 120px 5vw;
  flex-direction: column;
  gap: 60px;
}
.skills-header { text-align: center; }
.skills-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--ink);
}
.skills-header h2 em { color: var(--accent); font-style: italic; }
.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 860px;
  justify-content: center;
}
.skill-chip {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink2);
  transition: transform .2s, background .2s;
  cursor: default;
}
.skill-chip:hover {
  background: rgba(124,92,191,0.12);
  transform: translateY(-2px);
  color: var(--accent);
}
.skills-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  width: 100%;
}
.skill-cat {
  padding: 28px 28px;
  transition: transform .3s;
}
.skill-cat:hover { transform: translateY(-3px); }
.skill-cat-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
}
.skill-cat ul { list-style: none; }
.skill-cat ul li {
  font-size: 0.88rem;
  color: var(--ink2);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.skill-cat ul li::before {
  content: '—';
  color: var(--accent3);
  font-size: 0.7rem;
}

/* HUSTLE TIMELINE */
#hustle {
  padding: 120px 5vw;
  flex-direction: column;
  gap: 60px;
}
.hustle-header { text-align: center; }
.hustle-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--ink);
}
.hustle-header h2 em { color: var(--accent); font-style: italic; }
.timeline {
  max-width: 700px;
  width: 100%;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 19px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent2), transparent);
}
.t-item {
  display: flex; gap: 32px;
  margin-bottom: 40px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .6s, transform .6s;
}
.t-item.visible { opacity: 1; transform: translateX(0); }
.t-dot {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  color: var(--accent);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(124,92,191,0.12);
  letter-spacing: 0;
}
.t-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.t-content p {
  font-size: 0.88rem;
  color: var(--ink2);
  line-height: 1.75;
  font-weight: 400;
}

/* CONTACT */
#contact {
  padding: 120px 5vw;
  flex-direction: column;
  gap: 48px;
  text-align: center;
}
.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.contact-heading em { color: var(--accent); font-style: italic; }
.contact-sub {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink2);
  max-width: 440px;
  line-height: 1.75;
}
.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .25s;
}
.contact-btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124,92,191,0.3);
}
.contact-btn.primary:hover {
  background: #6748b0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,92,191,0.4);
}
.contact-btn.secondary {
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  backdrop-filter: blur(12px);
}
.contact-btn.secondary:hover {
  background: rgba(124,92,191,0.08);
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 32px 5vw;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* REVEAL ON SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-left { position: static; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .skills-categories { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
