:root {
  --ink: #f1f5ef;
  --muted: #8f9890;
  --bg: #090b0a;
  --panel: #101310;
  --line: rgba(237, 244, 235, 0.14);
  --acid: #c8ff36;
  --acid-soft: rgba(200, 255, 54, 0.12);
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--sans); overflow-x: hidden; cursor: none; }
a { color: inherit; text-decoration: none; }
button, a { cursor: none; }
::selection { color: #0b0d0b; background: var(--acid); }

.noise { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .022; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.spotlight { position: fixed; width: 50rem; height: 50rem; left: 0; top: 0; z-index: 0; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,54,.065), transparent 66%); transform: translate(-50%, -50%); }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 5px; height: 5px; background: var(--acid); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(200,255,54,.6); transition: width .25s, height .25s, background .25s; }
body.cursor-active .cursor-ring { width: 58px; height: 58px; background: rgba(200,255,54,.1); }

.boot-screen { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; gap: 1.5rem; background: #070907; text-align: center; }
.boot-mark, .brand { font: 900 1.25rem/1 var(--display); letter-spacing: -.06em; }
.boot-mark { font-size: clamp(3rem, 7vw, 6rem); }
.boot-mark span, .brand span { color: var(--acid); }
.boot-line { width: min(280px, 70vw); height: 1px; background: rgba(255,255,255,.15); overflow: hidden; }
.boot-line span { display: block; width: 100%; height: 100%; background: var(--acid); transform: scaleX(0); transform-origin: left; }
.boot-screen p { margin: 0; color: var(--muted); font-size: .56rem; letter-spacing: .35em; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 3.5vw; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s; }
.site-header.scrolled { background: rgba(9,11,10,.82); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { font-size: 1.5rem; justify-self: start; }
nav { display: flex; gap: 2.2rem; }
nav a, .header-contact { color: #bdc4bd; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; transition: color .2s; }
nav a:hover, .header-contact:hover { color: var(--acid); }
.header-contact { justify-self: end; }
.header-contact span { color: var(--acid); margin-left: .35rem; }

.section { position: relative; z-index: 1; padding: 9rem 5vw; }
.section-tag { color: var(--acid); font-size: .65rem; letter-spacing: .22em; font-weight: 700; }
.section-head { display: grid; grid-template-columns: 1fr 2.2fr; align-items: start; margin-bottom: 5rem; }
.section-head h2 { margin: 0; font: 800 clamp(2.8rem, 6vw, 6.5rem)/.9 var(--display); letter-spacing: -.065em; text-transform: uppercase; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 8.5rem 5vw 4rem; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 43%, rgba(36,52,24,.42), transparent 27%), linear-gradient(115deg, #0b0e0c 0%, #080a09 65%); }
#network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 95%); opacity: .14; }
.hero-orbit { position: absolute; border: 1px solid rgba(200,255,54,.15); border-radius: 50%; }
.orbit-one { width: 38vw; height: 38vw; right: -10vw; top: 17%; }
.orbit-two { width: 23vw; height: 23vw; right: -2.5vw; top: 29%; }
.hero-copy { position: relative; z-index: 3; width: min(76%, 1240px); }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 2rem; color: #b6beb6; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 16px var(--acid); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 4px var(--acid); } }
h1 { margin: 0; font: 900 clamp(3.15rem, 7.25vw, 8.25rem)/.79 var(--display); letter-spacing: -.072em; text-transform: uppercase; }
.title-line { display: block; overflow: hidden; padding: .04em 0 .09em; }
.title-line > span { display: block; transform: translateY(110%); }
.title-line em { color: var(--acid); font-style: normal; font-weight: 300; }
.title-line:nth-child(3) { padding-left: 12%; }
.title-outline { color: transparent; -webkit-text-stroke: 1px rgba(241,245,239,.48); }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; max-width: 760px; margin-top: 2.5rem; padding-left: 12%; }
.hero-bottom > p { width: min(450px, 60%); margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.scroll-cue { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue i { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--acid); font-style: normal; }
.hero-card { position: absolute; z-index: 4; right: 6vw; top: 50%; width: clamp(190px, 18vw, 285px); padding: .65rem; border: 1px solid rgba(241,245,239,.18); background: rgba(15,19,16,.7); box-shadow: 0 35px 90px rgba(0,0,0,.42); backdrop-filter: blur(12px); transform: translateY(-39%) rotate(1.5deg); }
.profile-label { display: flex; justify-content: space-between; align-items: center; padding: .1rem .15rem .65rem; color: #737b74; font-size: .46rem; letter-spacing: .16em; }
.profile-label i { display: flex; align-items: center; gap: .35rem; color: var(--acid); font-style: normal; }
.profile-label i::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px var(--acid); }
.portrait-wrap { position: relative; overflow: hidden; aspect-ratio: 1; border: 1px solid rgba(241,245,239,.16); background: #f3f1ed; }
.portrait-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; image-rendering: pixelated; }
.portrait-scan { position: absolute; z-index: 2; left: 0; right: 0; height: 2px; top: 0; background: white; box-shadow: 0 0 16px 4px rgba(255,255,255,.6); animation: scan 3.5s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 0; opacity: 0; } 10%, 90% { opacity: 1; } 50% { top: 100%; } }
.profile-meta { display: flex; justify-content: space-between; align-items: flex-end; padding: .85rem .15rem .25rem; color: var(--muted); font-size: .43rem; line-height: 1.55; letter-spacing: .1em; }
.profile-meta strong { color: var(--ink); font: 800 .68rem/1 var(--display); letter-spacing: .04em; }
.hero-index { position: absolute; right: 5vw; bottom: 2.2rem; color: #565d57; font-size: .55rem; letter-spacing: .2em; }

.manifesto { display: grid; grid-template-columns: 1fr 2.2fr; padding-top: 12rem; padding-bottom: 12rem; }
.manifesto-copy .kicker { margin: 0 0 2rem; color: var(--muted); font-size: .9rem; }
.manifesto h2 { max-width: 1100px; margin: 0; font: 500 clamp(2.5rem, 5.4vw, 6rem)/1.02 var(--display); letter-spacing: -.06em; }
.manifesto h2 .word { display: inline-block; opacity: .16; }
.about-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 850px; margin: 5rem 0 0 auto; }
.about-detail p { margin: 0; color: var(--muted); line-height: 1.75; font-size: .9rem; }
.personal-note { max-width: 850px; margin: 3rem 0 0 auto; padding: 1.25rem 0 1.25rem 1.5rem; border-left: 1px solid var(--acid); color: #c3cac3; font-size: .82rem; line-height: 1.7; }
.personal-note span { display: block; margin-bottom: .35rem; color: var(--acid); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.work { background: #dfe6dc; color: #0b0d0b; }
.work .section-tag { color: #4b6500; }
.project-card { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 620px; background: #0a0d0a; color: var(--ink); overflow: hidden; }
.project-visual { display: grid; place-items: center; padding: 7%; background: radial-gradient(circle at 50% 50%, rgba(200,255,54,.18), transparent 45%), repeating-linear-gradient(0deg, transparent 0 35px, rgba(200,255,54,.04) 36px), #111511; }
.system-window { width: 100%; max-width: 700px; border: 1px solid rgba(200,255,54,.35); box-shadow: 0 35px 100px rgba(0,0,0,.4); transform: perspective(1000px) rotateY(0deg); }
.window-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid rgba(200,255,54,.2); }
.window-bar span { width: 7px; height: 7px; border-radius: 50%; background: #4a514b; }
.window-bar span:first-child { background: var(--acid); }
.window-bar b { margin-left: auto; color: #707970; font-size: .45rem; letter-spacing: .2em; }
.system-body { display: grid; grid-template-columns: 55px 1fr; min-height: 370px; }
.system-side { border-right: 1px solid rgba(200,255,54,.13); background: repeating-linear-gradient(to bottom, transparent 0 40px, rgba(200,255,54,.1) 41px); }
.system-content { padding: 2.2rem; }
.metric small { display: block; color: #727b73; font-size: .5rem; letter-spacing: .2em; }
.metric strong { font: 300 clamp(4rem, 8vw, 7rem)/1 var(--display); letter-spacing: -.08em; }
.metric sup { margin-left: .55rem; color: var(--acid); font-size: .7rem; letter-spacing: .15em; }
.chart { display: flex; align-items: flex-end; gap: 7px; height: 100px; margin-top: 2rem; }
.chart i { flex: 1; height: var(--h, 30%); background: var(--acid); transform-origin: bottom; }
.chart i:nth-child(1) { --h: 28%; }.chart i:nth-child(2) { --h: 48%; }.chart i:nth-child(3) { --h: 38%; }.chart i:nth-child(4) { --h: 70%; }.chart i:nth-child(5) { --h: 55%; }.chart i:nth-child(6) { --h: 82%; }.chart i:nth-child(7) { --h: 75%; }.chart i:nth-child(8) { --h: 95%; }
.system-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .7rem; margin-top: 1rem; }
.system-grid span { height: 38px; border: 1px solid rgba(200,255,54,.16); }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.project-number { color: var(--acid); font-size: .58rem; letter-spacing: .18em; }
.project-copy h3 { margin: 1.5rem 0 2rem; font: 700 clamp(2rem, 3vw, 3.8rem)/1 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.project-copy > p:not(.project-number) { color: var(--muted); line-height: 1.7; font-size: .9rem; }
.project-copy ul { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.project-copy li { padding: .85rem 0; border-bottom: 1px solid var(--line); color: #c0c7c0; font-size: .75rem; }

.stack { padding-bottom: 13rem; }
.stack-list { border-top: 1px solid var(--line); }
.stack-row { display: grid; grid-template-columns: .35fr 1fr 1.5fr; align-items: center; min-height: 108px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; }
.stack-row:hover { padding: 0 1.5rem; background: var(--acid-soft); }
.stack-row > span { color: var(--acid); font-size: .58rem; }
.stack-row h3 { margin: 0; font: 700 clamp(1.4rem, 2.2vw, 2.5rem)/1 var(--display); text-transform: uppercase; }
.stack-row p { margin: 0; color: var(--muted); text-align: right; font-size: .8rem; }

.contact { min-height: 90svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-top: 1px solid var(--line); }
.contact-glow { position: absolute; width: 60vw; height: 60vw; left: 20%; top: 20%; border-radius: 50%; background: rgba(200,255,54,.12); filter: blur(120px); pointer-events: none; }
.contact-kicker { margin: 4rem 0 1rem; color: var(--muted); }
.contact-title { position: relative; margin: 0; font: 900 clamp(4.7rem, 14.5vw, 15rem)/.73 var(--display); letter-spacing: -.08em; text-transform: uppercase; }
.contact-title span { display: block; }
.contact-title span:last-child { margin-left: 14%; }
.contact-title em { color: var(--acid); font-style: normal; }
.contact-link { position: relative; width: min(600px, 100%); display: flex; justify-content: space-between; margin: 5rem 0 0 auto; padding: 1.2rem 0; border-bottom: 1px solid var(--acid); font-size: clamp(1rem, 2vw, 1.7rem); }
.contact-link i { color: var(--acid); font-style: normal; }

footer { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; padding: 4rem 5vw; border-top: 1px solid var(--line); }
footer > div { display: flex; align-items: flex-end; gap: 2rem; }
footer p, footer a:not(.brand) { margin: 0; color: var(--muted); font-size: .62rem; line-height: 1.7; }
.footer-right { text-align: right; }

@media (max-width: 900px) {
  body, a, button { cursor: auto; }
  .cursor-dot, .cursor-ring, .spotlight { display: none; }
  .site-header { height: 68px; padding-inline: 5vw; }
  nav { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 8rem; align-items: flex-start; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.35rem, 12.5vw, 6.5rem); line-height: .82; }
  .title-line:nth-child(3) { padding-left: 0; }
  .hero-bottom { margin-top: 2rem; padding-left: 0; }
  .hero-bottom > p { width: 78%; }
  .hero-card { width: 145px; right: 5vw; top: auto; bottom: 5rem; transform: rotate(1.5deg); }
  .profile-label { font-size: .35rem; }
  .profile-meta { display: none; }
  .section, .manifesto { padding: 7rem 5vw; }
  .section-head, .manifesto { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-head { margin-bottom: 3rem; }
  .about-detail { gap: 2rem; margin-top: 3.5rem; }
  .project-card { grid-template-columns: 1fr; }
  .project-visual { min-height: 430px; }
  .system-body { min-height: 280px; }
  .stack-row { grid-template-columns: 40px 1fr; padding: 1.5rem 0; }
  .stack-row p { grid-column: 2; margin-top: .55rem; text-align: left; }
  footer, footer > div, .footer-right { align-items: flex-start; flex-direction: column; text-align: left; }
  footer { gap: 2rem; }
}

@media (max-width: 560px) {
  .header-contact { font-size: .62rem; }
  .hero { min-height: 820px; }
  .eyebrow { font-size: .55rem; }
  h1 { font-size: 10.4vw; }
  .title-line:first-child { font-size: 13vw; }
  .title-line:nth-child(2) { font-size: 10.4vw; }
  .title-line:nth-child(3) { font-size: 13vw; }
  .title-line:nth-child(4) { font-size: 9.7vw; }
  .title-line > span { max-width: 100%; }
  .hero-bottom { align-items: flex-start; }
  .hero-bottom > p { width: 70%; font-size: .75rem; }
  .scroll-cue span { display: none; }
  .hero-card { bottom: 5.2rem; width: 118px; padding: .4rem; }
  .about-detail { grid-template-columns: 1fr; }
  .project-visual { min-height: 330px; padding: 1rem; }
  .system-side { display: none; }
  .system-body { grid-template-columns: 1fr; min-height: 240px; }
  .system-content { padding: 1.4rem; }
  .section-head h2 { font-size: 2.7rem; }
  .contact { min-height: 700px; }
  .contact-title { font-size: 20vw; }
  .contact-title span:last-child { margin-left: 7%; }
  .contact-link { margin-top: 3rem; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .boot-screen { display: none; }
  .title-line > span { transform: none; }
}
