:root {
  --bg:     #080b0f;
  --surface:#0d1117;
  --ink:    #ddd8cc;
  --muted:  #6b7280;
  --dim:    #1e2530;
  --glow:   #7ecfb3;
  --glow2:  #c9a96e;
  --glow3:  #6e8fc9;
  --glow4:  #7b6ec9;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom cursor ──────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}
.cursor.expand {
  width: 32px;
  height: 32px;
  background: rgba(126,207,179,0.3);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  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.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: drift 20s ease-in-out infinite alternate;
}
.orb1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(126,207,179,0.07) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-duration: 25s;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(110,143,201,0.06) 0%, transparent 70%);
  bottom: -150px; right: -150px;
  animation-duration: 30s;
  animation-direction: alternate-reverse;
}
.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,169,110,0.05) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 18s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 30px) scale(0.95); }
  100% { transform: translate(10px, 10px) scale(1.02); }
}

.wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.hero {
  text-align: center;
  max-width: 600px;
  margin-bottom: 5rem;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 1.5rem;
  animation: fadeUp 1.2s ease 0.1s both;
}

.hero-name {
  width: clamp(280px, 70vw, 600px);
  height: auto;
  margin-bottom: 1.8rem;
  animation: fadeUp 1.2s ease 0.2s both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-name:hover {
  animation: glitch 0.4s steps(2) infinite;
}


@keyframes glitch {
  0%   { text-shadow:  2px 0 var(--glow),  -2px 0 var(--glow3); }
  25%  { text-shadow: -3px 0 var(--glow3),  3px 0 var(--glow);  clip-path: inset(20% 0 60% 0); }
  50%  { text-shadow:  2px 0 var(--glow2), -2px 0 var(--glow); }
  75%  { text-shadow: -2px 0 var(--glow),   2px 0 var(--glow2); clip-path: inset(60% 0 10% 0); }
  100% { text-shadow:  2px 0 var(--glow),  -2px 0 var(--glow3); }
}

.hero-bio {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  line-height: 1.65;
  color: #a09890;
  max-width: 420px;
  margin: 0 auto;
  letter-spacing: 0.01em;
  animation: fadeUp 1.2s ease 0.35s both;
}

.divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--glow), transparent);
  margin: 0 auto 3rem;
  animation: fadeUp 1.2s ease 0.45s both;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 380px;
  animation: fadeUp 1.2s ease 0.55s both;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}

.link-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  transition: width 0.3s ease;
}

.link-item:hover {
  border-color: var(--glow);
  background: rgba(126,207,179,0.04);
  color: #fff;
}
.link-item:hover::before { width: 2px; background: var(--glow); }

.link-item.bandcamp:hover { border-color: var(--glow2); background: rgba(201,169,110,0.04); }
.link-item.bandcamp:hover::before { background: var(--glow2); }

.link-item.youtube:hover { border-color: #c96e6e; background: rgba(201,110,110,0.04); }
.link-item.youtube:hover::before { background: #c96e6e; }

.link-item.bsky:hover { border-color: var(--glow3); background: rgba(110,143,201,0.04); }
.link-item.bsky:hover::before { background: var(--glow3); }

.link-item.substack:hover { border-color: var(--glow4); background: rgba(176,110,201,0.04); }
.link-item.substack:hover::before { background: var(--glow4); }

.link-name {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.link-icon {
  font-size: 0.9rem;
  opacity: 0.7;
}

.link-arrow {
  font-size: 0.65rem;
  opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s;
}
.link-item:hover .link-arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

.email-section {
  margin-top: 3.5rem;
  width: 100%;
  max-width: 380px;
  animation: fadeUp 1.2s ease 0.7s both;
}

.email-label {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
  text-align: center;
}

.email-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  transition: border-color 0.2s;
}

.email-form:focus-within {
  border-color: var(--glow);
}

.email-input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: none;
  outline: none;
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  padding: 0.85rem 1rem;
  letter-spacing: 0.03em;
}

.email-input::placeholder { color: var(--muted); }

.email-btn {
  background: var(--glow);
  border: none;
  color: #080b0f;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 1.2rem;
  cursor: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.email-btn:hover { background: #a5e8d0; }

.email-note {
  font-size: 0.58rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.email-thanks {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--glow);
  padding: 1rem;
  border: 1px solid rgba(126,207,179,0.2);
  background: rgba(126,207,179,0.04);
  margin-bottom: 0.5rem;
}

.email-thanks.exists {
  color: var(--glow2);
  border-color: rgba(201,169,110,0.2);
  background: rgba(201,169,110,0.04);
}

.email-error {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #c96e6e;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(201,110,110,0.2);
  background: rgba(201,110,110,0.04);
  margin-bottom: 0.5rem;
}

footer {
  margin-top: 5rem;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.1);
  text-align: center;
  text-transform: uppercase;
  animation: fadeUp 1.2s ease 0.85s both;
}

.scanline {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(126,207,179,0.15);
  pointer-events: none;
  z-index: 999;
  animation: scan 8s linear infinite;
}

@keyframes scan {
  0%   { top: -2px; }
  100% { top: 100vh; }
}
