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

.wip-banner {
  position: fixed;
  bottom: 1.2rem; right: 1.2rem;
  z-index: 200;
  background: #f59e0b;
  color: #1a1a00;
  font-size: .78rem;
  font-weight: 700;
  padding: .45rem 1rem;
  border-radius: 999px;
  letter-spacing: .02em;
  box-shadow: 0 4px 16px #f59e0b50;
}

:root {
  --bg: #0f0f13;
  --bg2: #16161d;
  --surface: #1e1e2a;
  --border: #2a2a3a;
  --accent: #7c6ef2;
  --accent2: #a78bfa;
  --text: #e8e8f0;
  --muted: #888899;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ── NAV ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,15,19,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; color: var(--accent2); }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { text-decoration: none; color: var(--muted); font-size: .9rem; transition: color .2s; }
nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #3d2fa020, transparent);
}
.hero-eyebrow { color: var(--accent2); font-size: .95rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .5rem; }
#hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 40%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.hero-sub { color: var(--muted); font-size: 1.15rem; margin-top: .75rem; }
.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: .75rem 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 24px #7c6ef240;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 32px #7c6ef260; }

/* ── SHARED ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 40px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── ABOUT ── */
#about { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: start; }
.avatar-placeholder {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: #fff;
}
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.skills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.skill-tag {
  padding: .3rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--accent2);
  background: #7c6ef210;
}

/* ── WORKS ── */
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px #0008; }
.work-thumb {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.work-icon { font-size: 3rem; }
.work-info { padding: 1.4rem; }
.work-info h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.work-info p { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.work-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.work-tags span {
  font-size: .75rem; padding: .2rem .6rem;
  background: var(--border); border-radius: 4px; color: var(--muted);
}
.work-link { font-size: .88rem; color: var(--accent2); text-decoration: none; font-weight: 600; }
.work-link:hover { text-decoration: underline; }

/* ── CONTACT ── */
#contact { background: var(--bg2); }
.contact-lead { color: var(--muted); margin-bottom: 2.5rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; max-width: 400px; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.contact-item:hover { border-color: var(--accent); background: #7c6ef210; }
.contact-icon { font-size: 1.3rem; }

/* ── FOOTER ── */
footer { text-align: center; padding: 2rem; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--border); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav ul { display: none; }
  nav ul.open { display: flex; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: var(--bg2); padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); gap: 1.2rem; }
  .nav-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-avatar { display: flex; justify-content: center; }
}
