@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b0b0d;
  --surface: #131318;
  --text: #f4f2ed;
  --muted: #98979d;
  --accent: #c9ff4a;
  --line: rgba(255,255,255,.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: Manrope, sans-serif;
  overflow-x: hidden; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  height: 78px; padding: 0 7vw; display: flex; align-items: center;
  justify-content: space-between; backdrop-filter: blur(14px);
  background: rgba(11,11,13,.65); border-bottom: 1px solid var(--line);
}
.logo { font-size: 25px; font-weight: 800; letter-spacing: -2px; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 34px; font: 12px "DM Mono", monospace; text-transform: uppercase; }
nav a { color: #bbb; transition: color .25s; }
nav a:hover { color: var(--accent); }
.menu { display: none; background: none; border: 0; color: white; font-size: 24px; }
.hero {
  min-height: 100vh; padding: 150px 7vw 70px; display: flex; align-items: center;
  position: relative; isolation: isolate;
}
.hero-content { max-width: 900px; position: relative; z-index: 2; }
.eyebrow { font: 11px "DM Mono", monospace; color: var(--accent); letter-spacing: 2px; margin-bottom: 22px; }
h1 {
  font-size: clamp(48px, 7.4vw, 108px); line-height: .98; letter-spacing: -5px;
  max-width: 1000px;
}
h1 span {
  color: transparent; -webkit-text-stroke: 1px #eee;
}
.intro { max-width: 580px; margin: 30px 0; color: var(--muted); font-size: 17px; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; gap: 18px; padding: 14px 20px; border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; transition: transform .25s, background .25s;
}
.btn:hover { transform: translateY(-3px); }
.primary { background: var(--accent); color: #090909; border-color: var(--accent); }
.secondary:hover { background: var(--surface); }
.hero-orb {
  position: absolute; right: 8vw; top: 24%; width: 300px; height: 300px;
  border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 35% 30%, #eaffaa, #91b82e 30%, #252a15 58%, transparent 70%);
  filter: blur(1px); opacity: .7; animation: float 5s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .22;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 70px 70px; mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.scroll { position: absolute; bottom: 28px; left: 7vw; color: #666; font: 10px "DM Mono", monospace; letter-spacing: 2px; }
.scroll span { color: var(--accent); margin-left: 10px; }
.section { padding: 130px 7vw; border-top: 1px solid var(--line); }
.section-head { margin-bottom: 60px; }
h2 { font-size: clamp(38px, 5vw, 70px); line-height: 1; letter-spacing: -3px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: center; }
.about-copy { font-size: 23px; line-height: 1.5; color: #c6c5c9; }
.skills { font: 12px "DM Mono", monospace; }
.skills div:not(.bar) { display: flex; justify-content: space-between; margin-top: 25px; }
.skills b { color: var(--accent); font-weight: 400; }
.bar { height: 2px; background: #28282d; margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.project-card { background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s, border-color .35s; }
.project-card:hover { transform: translateY(-8px); border-color: rgba(201,255,74,.45); }
.project-image { height: 320px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 18px; overflow: hidden; }
.project-image span { font: 12px "DM Mono", monospace; color: rgba(255,255,255,.7); }
.image-one { background: radial-gradient(circle at 70% 35%, #d6ff62 0 7%, transparent 8%), linear-gradient(135deg,#242b18,#111); }
.image-two { background: radial-gradient(circle at 35% 65%, #8c7aff 0 12%, transparent 13%), linear-gradient(135deg,#171422,#0c0c10); }
.image-three { background: radial-gradient(circle at 60% 40%, #ffbf75 0 9%, transparent 10%), linear-gradient(135deg,#291d17,#101010); }
.project-info { padding: 24px; }
.project-info p { font: 10px "DM Mono", monospace; color: #777; letter-spacing: 1px; }
.project-info h3 { font-size: 25px; margin: 8px 0 20px; }
.project-info a { color: var(--accent); font: 12px "DM Mono", monospace; }
.contact { min-height: 65vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.contact-box { max-width: 800px; }
.contact-box h2 { font-size: clamp(45px,7vw,90px); }
.contact-box > p:not(.eyebrow) { color: var(--muted); margin: 22px 0 32px; }
.email { display: inline-block; font-size: clamp(20px,3vw,35px); border-bottom: 1px solid var(--accent); padding-bottom: 5px; }
footer { padding: 30px 7vw; border-top: 1px solid var(--line); display:flex; justify-content:space-between; color:#666; font:10px "DM Mono", monospace; text-transform:uppercase; }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.cursor-glow {
  width: 180px; height: 180px; position: fixed; border-radius: 50%; pointer-events: none;
  background: rgba(201,255,74,.06); filter: blur(35px); transform: translate(-50%,-50%); z-index: -1;
}
@keyframes float { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-25px) rotate(8deg)} }

@media(max-width: 800px) {
  nav { display:none; position:absolute; top:78px; left:0; right:0; padding:25px 7vw; background:#0b0b0d; flex-direction:column; border-bottom:1px solid var(--line); }
  nav.open { display:flex; }
  .menu { display:block; }
  .hero { padding-top:130px; }
  .hero-orb { right:-100px; top:30%; width:260px; height:260px; opacity:.4; }
  h1 { letter-spacing:-3px; }
  .about-grid, .project-grid { grid-template-columns:1fr; }
  .project-image { height:260px; }
  .section { padding:90px 7vw; }
  footer { gap:10px; flex-direction:column; }
}
