 :root {
  --ink: #111827; --panel: #202b40; --panel-light: #2e3a51; --white: #f7f8fc;
  --muted: #aab3c2; --green: #13e66b; --line: rgba(255,255,255,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: Montserrat, Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.site-header { height: 82px; padding: 0 7.2%; position: absolute; z-index: 10; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.22); background: rgba(17,24,39,.3); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; letter-spacing: .1em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--green); transform: rotate(-8deg); font-weight: 900; font-size: 13px; line-height: 1; }
.brand-mark span { color: var(--green); }
.brand-name { font-weight: 900; font-size: 17px; letter-spacing: .08em; }
.nav { display: flex; gap: clamp(15px, 2.5vw, 38px); }
.nav a { color: #c0c7d2; font-size: 10px; font-weight: 600; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--green); }
.menu-toggle { display: none; color: white; background: none; border: 0; font-size: 26px; }
.hero { min-height: 780px; height: min(900px, 100vh); position: relative; display: flex; align-items: center; padding: 120px 7.2% 80px; overflow: hidden; background: #4b5b70 url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=2200&q=85') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,34,54,.88), rgba(29,43,65,.62)), rgba(38,51,74,.36); }
.hero-content { z-index: 2; width: 72%; max-width: 900px; position: relative; margin-top: 20px; }
.eyebrow, .section-kicker { font-family: 'Space Mono', monospace; color: var(--green); font-size: 11px; letter-spacing: .16em; }
.hero h1 { margin: 20px 0; font-size: clamp(42px, 5.4vw, 83px); line-height: 1.15; font-weight: 900; letter-spacing: .12em; }
.hero h1 span { color: var(--green); }
.hero-subtitle { color: #e0e5ed; max-width: 500px; font-size: 15px; margin: 25px 0 30px; }
.button { display: inline-flex; align-items: center; gap: 24px; padding: 15px 20px; border: 0; font: 700 10px Montserrat, sans-serif; letter-spacing: .08em; cursor: pointer; }
.button-green { background: var(--green); color: #102034; transition: transform .2s, background .2s; }
.button-green:hover { transform: translateY(-3px); background: #6dffa4; }
.button span { font-size: 18px; line-height: 1; }
.hero-code { position: absolute; z-index: 3; right: 7.2%; bottom: -5px; width: 37%; max-width: 520px; min-height: 255px; background: #202b40; box-shadow: 0 25px 60px rgba(0,0,0,.25); padding: 0 26px 26px; }
.code-top { height: 42px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); margin-bottom: 20px; color: #aab3c2; font: 11px 'Space Mono', monospace; }
.code-top i { width: 7px; height: 7px; border-radius: 50%; background: #617087; }
.code-top span { margin-left: auto; }
.hero-code pre { font: 12px/1.8 'Space Mono', monospace; color: #e0e6ef; white-space: pre-wrap; }
.code-purple { color: #c59cff; } .code-blue { color: #7ed9ff; } .code-green { color: var(--green); }
.code-stamp { position: absolute; right: 24px; bottom: 25px; font-weight: 900; font-size: 23px; line-height: 1.05; color: var(--green); letter-spacing: .1em; border-right: 2px solid var(--green); padding-right: 12px; text-align: right; }
.code-stamp span { color: white; font-size: 11px; letter-spacing: .3em; }
.scroll-cue { position: absolute; left: 7.2%; bottom: 35px; z-index: 2; color: #e3e8ef; font: 9px 'Space Mono', monospace; letter-spacing: .14em; display: flex; gap: 12px; align-items: center; }
.scroll-cue span { height: 32px; width: 1px; background: var(--green); }
.section { padding: 110px 7.2%; }
.intro { background: var(--panel); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8%; margin: 38px 0 70px; align-items: start; }
h2 { font-size: clamp(34px, 4.5vw, 64px); line-height: 1.12; letter-spacing: .06em; margin: 0; font-weight: 900; }
h2 span { color: var(--green); }
.intro-grid p { color: var(--muted); font-size: 14px; }
.intro-grid .lead { color: white; font-size: 19px; font-weight: 600; margin-top: 0; }
.text-link { display: inline-flex; gap: 18px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .12em; margin-top: 15px; }
.text-link span { font-size: 16px; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.skill-card { position: relative; border: 1px solid var(--line); padding: 28px; min-height: 260px; background: rgba(255,255,255,.025); }
.card-number { position: absolute; top: 20px; right: 22px; color: #66738a; font: 11px 'Space Mono', monospace; }
.skill-icon { color: var(--green); font-size: 30px; margin-bottom: 23px; }
.skill-card h3, .project-info h3, .timeline-item h3 { font-size: 14px; letter-spacing: .08em; margin: 0 0 10px; }
.skill-card p, .project-info p, .timeline-item p { font-size: 12px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tags span { border: 1px solid #4d5a70; padding: 4px 7px; color: #c9d2df; font: 8px 'Space Mono', monospace; }
.experience { background: #151e2e; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin: 32px 0 55px; }
.section-heading h2 { font-size: clamp(38px, 5vw, 70px); }
.section-heading h2 span { color: var(--green); }
.section-heading p { color: var(--muted); font-size: 12px; margin: 0 4% 5px 0; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 190px 1fr 15px; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.timeline-date { color: var(--green); font: 10px 'Space Mono', monospace; padding-top: 4px; }
.timeline-place { color: #e1e7f0 !important; margin: 0 0 12px; }
.timeline-item p:last-child { max-width: 650px; margin-bottom: 0; }
.timeline-dot { margin-top: 5px; width: 9px; height: 9px; border: 2px solid var(--green); border-radius: 50%; }
.portfolio { background: var(--panel); }
.project-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.project-card { background: #172234; }
.project-art { height: 280px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.project-art > span { position: absolute; top: 20px; left: 22px; color: var(--green); font: 12px 'Space Mono', monospace; }
.art-one { background: radial-gradient(circle at 55% 50%, #33445c, #182234 65%); }
.orb { width: 150px; height: 150px; border: 1px solid var(--green); border-radius: 50%; box-shadow: 0 0 0 22px rgba(19,230,107,.05), 0 0 0 44px rgba(19,230,107,.035); position: relative; }
.orb:after { content: ''; position: absolute; inset: 26px; border: 1px dashed rgba(19,230,107,.6); border-radius: 50%; }
.art-caption { position: absolute; bottom: 18px; right: 20px; color: #c4cedb; font: 9px 'Space Mono', monospace; letter-spacing: .1em; }
.art-two { background: linear-gradient(135deg, #26354b, #0d1727); }
.grid-symbol { font-size: 85px; line-height: .8; font-weight: 900; color: transparent; -webkit-text-stroke: 1px var(--green); transform: rotate(-8deg); }
.project-info { padding: 22px; display: flex; justify-content: space-between; gap: 15px; }
.project-info p { margin-bottom: 0; }
.project-arrow { color: var(--green); font-size: 23px; }
.portfolio-note { color: #8e9bb0; font: 9px 'Space Mono', monospace; letter-spacing: .1em; margin-top: 25px; }
.contact { background: #111827; }
.contact-layout { display: grid; grid-template-columns: 1fr .7fr; gap: 10%; margin-top: 35px; }
.contact-layout h2 { font-size: clamp(35px, 4.6vw, 65px); }
.contact-layout > div > p { color: var(--muted); max-width: 360px; font-size: 13px; margin-top: 28px; }
form { display: flex; flex-direction: column; }
form label { font: 10px 'Space Mono', monospace; color: var(--green); margin: 16px 0 8px; }
input, textarea { background: transparent; border: 0; border-bottom: 1px solid #4a566a; padding: 12px 0; color: white; font: 13px Montserrat, sans-serif; outline: none; resize: vertical; }
input:focus, textarea:focus { border-color: var(--green); }
form .button { align-self: flex-start; margin-top: 22px; }
.form-hint { color: #7f8ba0; font-size: 10px; }
.footer { background: #0b111c; padding: 30px 7.2%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-brand { font-size: 19px; font-weight: 900; letter-spacing: .1em; }
.footer-brand span { color: var(--green); }
.footer p, .footer a:not(.footer-brand), .footer small { font: 9px 'Space Mono', monospace; letter-spacing: .08em; color: #8793a6; }
.footer small { width: 100%; border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 900px) {
  .site-header { padding: 0 5%; } .nav { gap: 14px; } .nav a { font-size: 9px; }
  .hero { padding-left: 5%; padding-right: 5%; } .hero-content { width: 90%; } .hero-code { right: 5%; width: 40%; opacity: .9; }
  .section { padding: 85px 5%; } .scroll-cue { left: 5%; }
}
@media (max-width: 680px) {
  .site-header { height: 70px; } .menu-toggle { display: block; z-index: 12; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 22px 6%; background: #111827; flex-direction: column; gap: 20px; }
  .nav.open { display: flex; } .nav a { font-size: 11px; }
  .hero { height: auto; min-height: 790px; padding-top: 130px; align-items: flex-start; }
  .hero-content { width: 100%; margin-top: 25px; } .hero h1 { font-size: clamp(37px, 10vw, 60px); letter-spacing: .07em; }
  .hero-subtitle { max-width: 390px; } .hero-code { width: 86%; right: 7%; bottom: 40px; min-height: 190px; padding: 0 18px 18px; }
  .hero-code pre { font-size: 10px; } .code-stamp { font-size: 18px; right: 15px; bottom: 18px; }
  .scroll-cue { bottom: 15px; font-size: 8px; } .intro-grid, .contact-layout { grid-template-columns: 1fr; gap: 25px; }
  .skill-grid, .project-grid { grid-template-columns: 1fr; } .skill-card { min-height: 230px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 35px; }
  .timeline-item { grid-template-columns: 1fr 12px; gap: 15px; } .timeline-date { grid-column: 1 / -1; }
  .project-art { height: 230px; } .footer { align-items: flex-start; flex-direction: column; }
}
