@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: #09090b;
  --surface: #111114;
  --surface-2: #15151a;
  --text: #f4f4f5;
  --muted: #9898a4;
  --line: #27272d;
  --accent: #c8ff4d;
  --accent-soft: rgba(200, 255, 77, .10);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.site-shell { min-height: 100vh; overflow: hidden; }
.nav {
  max-width: var(--max);
  margin: 0 auto;
  height: 84px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.04em; font-size: 18px; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); border-radius: 10px;
  font-family: "DM Mono", monospace; color: var(--accent);
}
.brand-dot { color: var(--accent); }
.nav nav { display: flex; gap: 30px; }
.nav nav a, .nav-github { font-size: 13px; color: var(--muted); transition: color .2s; }
.nav nav a:hover, .nav-github:hover { color: var(--text); }
.nav-github { color: var(--text); font-weight: 700; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 690px;
  padding: 100px 28px 90px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 70px;
  align-items: center;
}
.eyebrow, .section-label, .card-kicker, .floating-tag {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
}
.eyebrow { color: var(--muted); display: flex; align-items: center; gap: 9px; margin-bottom: 25px; }
.status-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 18px var(--accent); }
h1, h2, h3 { line-height: 1.03; letter-spacing: -.055em; }
h1 { font-size: clamp(52px, 7vw, 90px); max-width: 760px; }
h1 em, h2 span { color: var(--accent); font-style: normal; }
.hero-text { color: var(--muted); max-width: 590px; font-size: 17px; margin: 30px 0 35px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  min-height: 50px; padding: 0 20px; border-radius: 8px; font-size: 13px; font-weight: 800;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #0a0a0a; }
.button-primary:hover { background: #d8ff7d; }
.button-ghost { border: 1px solid var(--line); color: var(--text); }
.button-ghost:hover { border-color: #4a4a54; background: var(--surface); }

.hero-card {
  height: 500px; position: relative; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 35%, #1c1f13 0%, #101012 40%, #0b0b0d 80%);
  border-radius: 18px;
}
.card-grid {
  position: absolute; inset: 0; opacity: .26;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 250px; height: 250px; background: rgba(200,255,77,.08); top: 80px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 120px rgba(200,255,77,.10); }
.orb-two { width: 90px; height: 90px; border: 1px solid rgba(200,255,77,.25); top: 160px; left: 50%; transform: translateX(-50%); }
.terminal {
  position: absolute; left: 11%; right: 11%; top: 27%; border: 1px solid #303036;
  border-radius: 12px; background: rgba(9,9,11,.86); box-shadow: 0 25px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}
.terminal-top { height: 31px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #24242a; }
.terminal-top span { width: 6px; height: 6px; border-radius: 50%; background: #45454d; }
.terminal-body { padding: 24px; font-family: "DM Mono", monospace; font-size: 12px; line-height: 2; color: #e5e5e8; }
.terminal-body p { margin: 0; }
.muted { color: #666670; }
.accent { color: var(--accent); }
.success { color: #a5d67a; }
.floating-tag { position: absolute; border: 1px solid #34343b; background: rgba(12,12,14,.8); padding: 8px 11px; color: var(--muted); }
.tag-top { top: 8%; right: 8%; }
.tag-bottom { bottom: 9%; left: 8%; color: var(--accent); border-color: rgba(200,255,77,.22); }

.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); height: 58px;
  display: flex; align-items: center; justify-content: center; gap: 28px; color: #777780;
  font: 11px "DM Mono", monospace; letter-spacing: .12em; white-space: nowrap;
}
.ticker b { color: var(--accent); font-weight: 400; }

.section { max-width: var(--max); margin: 0 auto; padding: 120px 28px; border-bottom: 1px solid var(--line); }
.section-label { color: var(--accent); margin-bottom: 55px; }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
h2 { font-size: clamp(42px, 5vw, 68px); }
.about-copy { max-width: 600px; }
.about-copy p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.about-copy .lead { color: var(--text); font-size: 20px; line-height: 1.55; margin-bottom: 28px; }
.text-link { display: inline-flex; gap: 16px; color: var(--accent); font-weight: 800; margin-top: 12px; font-size: 13px; }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.section-heading > p { color: var(--muted); font-size: 14px; max-width: 390px; }
.work-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.work-card {
  position: relative; min-height: 330px; border: 1px solid var(--line); border-radius: 14px;
  padding: 30px; background: var(--surface); overflow: hidden; transition: border-color .25s, transform .25s;
}
.work-card:hover { border-color: #44444d; transform: translateY(-4px); }
.work-card.featured { grid-row: span 2; min-height: 676px; background: linear-gradient(145deg, #151719, #0e0e10); }
.work-number { font: 11px "DM Mono", monospace; color: #55555e; }
.work-content { position: absolute; left: 30px; right: 30px; bottom: 30px; }
.card-kicker { color: var(--accent); margin-bottom: 13px; }
.work-content h3 { font-size: 29px; margin-bottom: 12px; }
.work-content p:not(.card-kicker) { color: var(--muted); font-size: 13px; max-width: 420px; margin-bottom: 19px; }
.work-content a { font-size: 12px; font-weight: 800; color: var(--text); }
.coming { font: 11px "DM Mono", monospace; color: #666670; }
.arrow-box {
  position: absolute; right: 30px; top: 30px; width: 40px; height: 40px; border: 1px solid var(--line);
  display: grid; place-items: center; border-radius: 50%; color: var(--accent);
}
.skills-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.skill-list { border-top: 1px solid var(--line); }
.skill-row {
  display: grid; grid-template-columns: 50px 1fr 1.1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.skill-row span { font: 10px "DM Mono", monospace; color: #55555e; }
.skill-row strong { font-size: 14px; }
.skill-row p { color: var(--muted); font-size: 12px; }
.contact { border-bottom: 0; }
.contact-box {
  position: relative; overflow: hidden; text-align: center; padding: 100px 30px;
  border: 1px solid var(--line); border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, rgba(200,255,77,.10), transparent 45%), var(--surface);
}
.contact-box .eyebrow { justify-content: center; }
.contact-box h2 { margin-bottom: 25px; }
.contact-box > p:not(.eyebrow) { max-width: 480px; margin: 0 auto 30px; color: var(--muted); font-size: 14px; }
footer {
  max-width: var(--max); margin: 0 auto; padding: 28px; display: flex; justify-content: space-between;
  color: #5f5f68; font: 10px "DM Mono", monospace; letter-spacing: .04em;
}
footer a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .nav { height: 70px; padding: 0 20px; }
  .nav nav { display: none; }
  .hero { padding: 75px 20px; grid-template-columns: 1fr; gap: 55px; }
  .hero-card { height: 420px; }
  .section { padding: 85px 20px; }
  .about-layout, .skills-layout, .section-heading { grid-template-columns: 1fr; gap: 45px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.featured { grid-row: auto; min-height: 420px; }
  .skill-row { grid-template-columns: 35px 1fr; }
  .skill-row p { grid-column: 2; }
  footer { padding: 25px 20px; gap: 10px; flex-wrap: wrap; }
}
@media (max-width: 460px) {
  h1 { font-size: 50px; }
  .hero-text { font-size: 15px; }
  .hero-card { height: 360px; }
  .terminal { left: 7%; right: 7%; top: 25%; }
  .terminal-body { padding: 17px; font-size: 10px; }
  .ticker { overflow: hidden; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .work-card { transition: none; }
}
