:root {
  --void: #050706;
  --carbon: #0a0d0c;
  --graphite: #111513;
  --paper: #e9e7df;
  --paper-dim: #cbc9c1;
  --white: #f3f3ed;
  --muted: #8b938d;
  --blue: #6baeff;
  --acid: #baff3c;
  --wick: #ff3d55;
  --line: rgba(225, 235, 227, .14);
  --line-dark: rgba(7, 10, 8, .16);
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Iowan Old Style, Baskerville, serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --page: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body { margin: 0; overflow-x: hidden; color: var(--white); background: var(--void); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::selection, ::selection { color: var(--void); background: var(--acid); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: var(--void); background: var(--acid); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.cursor-aura { position: fixed; z-index: 80; width: 260px; height: 260px; pointer-events: none; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(107,174,255,.09), transparent 65%); transform: translate3d(-50%, -50%, 0); transition: opacity .3s; mix-blend-mode: screen; }
@media (pointer: fine) { body:hover .cursor-aura { opacity: 1; } }

.site-header { position: fixed; inset: 0 0 auto; z-index: 30; background: rgba(5, 7, 6, .72); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px) saturate(130%); transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(5,7,6,.91); border-color: rgba(186,255,60,.14); }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: var(--page); height: 68px; margin: auto; }
.mark { font-family: var(--mono); font-size: 20px; font-weight: 500; letter-spacing: -.08em; }
.mark span, .hero h1 i { color: var(--blue); font-style: normal; }
.system-status { display: flex; align-items: center; gap: 10px; margin: 0; color: #879089; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.system-status i, .live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px rgba(186,255,60,.72); animation: pulse 2.4s ease-in-out infinite; }
.nav-links { display: flex; justify-content: flex-end; gap: 28px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a { position: relative; color: #a8afa9; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--acid); transition: right .25s; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.active::after { right: 0; }

.hero { position: relative; min-height: 92svh; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 75% 42%, rgba(21,40,32,.38), transparent 33%), var(--void); }
.network, .hero-grid, .hero-scan { position: absolute; inset: 0; width: 100%; height: 100%; }
.network { z-index: -3; }
.hero-grid { z-index: -2; opacity: .45; pointer-events: none; background-image: linear-gradient(rgba(186,255,60,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(186,255,60,.035) 1px, transparent 1px), radial-gradient(rgba(255,255,255,.34) .35px, transparent .5px); background-size: 56px 56px, 56px 56px, 5px 5px; mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.55) 75%, transparent); }
.hero-scan { z-index: -1; pointer-events: none; opacity: .28; background: linear-gradient(to bottom, transparent 0, rgba(186,255,60,.12) 49.8%, transparent 50.2%); background-size: 100% 420px; animation: scan 9s linear infinite; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: 2; width: 54px; height: 54px; pointer-events: none; }
.hero::before { top: 100px; left: max(32px, calc((100vw - 1240px) / 2)); border-top: 1px solid rgba(107,174,255,.55); border-left: 1px solid rgba(107,174,255,.55); }
.hero::after { right: max(32px, calc((100vw - 1240px) / 2)); bottom: 56px; border-right: 1px solid rgba(255,61,85,.42); border-bottom: 1px solid rgba(255,61,85,.42); }
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 10vw; width: var(--page); min-height: 92svh; margin: auto; padding: 148px 0 110px; }
.hero-copy { align-self: center; }
.overline, .section-index, .section-code { font-family: var(--mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.overline { margin: 0 0 28px; color: var(--blue); }
.overline span { margin-right: 24px; color: var(--acid); }
.hero h1 { display: grid; margin: 0; width: max-content; font-size: clamp(86px, 10.4vw, 160px); font-weight: 600; line-height: .78; letter-spacing: -.09em; }
.hero h1 span:last-child { margin-left: -.035em; }
.hero-deck { max-width: 650px; margin: 52px 0 0; color: #bac0bb; font-size: clamp(16px, 1.55vw, 22px); line-height: 1.55; letter-spacing: -.025em; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.action-primary { display: inline-flex; justify-content: space-between; align-items: center; min-width: 188px; padding: 14px 16px; color: var(--void); background: var(--acid); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; transition: color .22s, background .22s, transform .22s; }
.action-primary:hover { color: white; background: var(--blue); transform: translateY(-2px); }
.action-primary span { font-size: 15px; }
.action-quiet { padding-bottom: 5px; border-bottom: 1px solid #48504b; color: #a5aca7; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; transition: color .2s, border-color .2s; }
.action-quiet:hover { color: white; border-color: var(--blue); }
.telemetry { position: relative; margin-bottom: 4px; border: 1px solid var(--line); background: rgba(8,12,10,.64); backdrop-filter: blur(10px); }
.telemetry::before { content: ""; position: absolute; top: -1px; left: -1px; width: 42px; height: 1px; background: var(--acid); box-shadow: 0 0 12px rgba(186,255,60,.45); }
.telemetry-head { display: flex; justify-content: space-between; margin: 0; padding: 13px 15px; border-bottom: 1px solid var(--line); color: #929a94; font-family: var(--mono); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.telemetry dl { margin: 0; }
.telemetry dl div { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding: 14px 15px; border-bottom: 1px solid rgba(255,255,255,.07); }
.telemetry dl div:last-child { border: 0; }
.telemetry dt { color: #7f8781; font-family: var(--mono); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.telemetry dd { margin: 0; color: #d5d8d4; font-size: 12px; }
.hero-rail { position: absolute; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 14px; color: #758078; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.hero-rail i { display: block; width: 62px; height: 1px; overflow: hidden; background: #333b36; }
.hero-rail i::after { content: ""; display: block; width: 22px; height: 1px; background: var(--acid); animation: rail 2.6s ease-in-out infinite; }
.hero-rail b { color: var(--white); font-weight: 400; }

.section-pad { padding: clamp(88px, 8vw, 128px) max(32px, calc((100vw - 1240px) / 2)); }
.section-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 64px; }
.section-index { margin: 0; color: #1e2521; }
.section-index span { margin-right: 16px; color: #70776f; }
.section-code { margin: 0; color: #737a73; }
.about { color: var(--void); background: var(--paper); }
.about-title { margin-left: 23%; }
.about h2, .work h2, .manifesto h2, .contact h2 { margin: 0; font-size: clamp(54px, 6.7vw, 104px); font-weight: 500; line-height: .88; letter-spacing: -.06em; }
.about h2 em, .work h2 em, .manifesto h2 em, .contact h2 em { font-family: var(--serif); font-weight: 400; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 9vw; align-items: center; margin: 72px 0 0 23%; }
.portrait-wrap { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; }
.portrait { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; filter: saturate(.7) contrast(1.07); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; }
.portrait-wrap:hover .portrait { transform: scale(1.025); filter: saturate(.92) contrast(1.02); }
.bio .lead { margin: 0 0 34px; max-width: 620px; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.3; letter-spacing: -.04em; }
.bio-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bio-columns p, .bio-note { margin: 0; color: #505650; font-size: 13px; line-height: 1.8; }
.bio-note { margin-top: 24px; color: #252b27; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 80px; margin-top: 38px; padding: 10px 0; border-bottom: 1px solid #202722; font-family: var(--mono); font-size: 10px; }
.text-link b { font-size: 17px; font-weight: 400; transition: transform .2s; }
.text-link:hover b { transform: translate(4px, -4px); }
.principle-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 78px 0 0; padding: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); list-style: none; }
.principle-preview li { position: relative; min-height: 164px; padding: 26px 30px 28px 0; border-right: 1px solid var(--line-dark); }
.principle-preview li + li { padding-left: 30px; }
.principle-preview li:last-child { border: 0; }
.principle-preview li > span { display: block; margin-bottom: 28px; color: #70776f; font-family: var(--mono); font-size: 9px; }
.principle-preview strong { display: block; margin-bottom: 8px; font-size: 15px; }
.principle-preview p { margin: 0; max-width: 280px; color: #565d57; font-size: 12px; line-height: 1.65; }

.work { background: var(--void); }
.work .section-index { color: #d8dcd8; }
.work .section-index span { color: #69716a; }
.work-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 10vw; margin-bottom: 76px; }
.work h2 { font-size: clamp(58px, 7.2vw, 112px); }
.work-heading > p { max-width: 410px; margin: 0 0 6px; color: #8f9791; font-size: 13px; line-height: 1.8; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 290px; gap: 1px; background: rgba(186,255,60,.15); border: 1px solid rgba(186,255,60,.15); }
.project { position: relative; overflow: hidden; padding: 0; border: 0; cursor: pointer; background: #151816; text-align: left; }
.project-a { grid-column: span 7; grid-row: span 2; }
.project-b { grid-column: span 5; }
.project-c { grid-column: span 5; }
.project-d, .project-e, .project-f { grid-column: span 4; }
.project-g { grid-column: span 7; }
.project-h { grid-column: span 5; }
.project > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.68) contrast(1.06); transition: transform .85s cubic-bezier(.18,.7,.16,1), filter .45s; }
.project-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(2,5,3,.04) 20%, rgba(2,5,3,.8) 100%); transition: background .4s; }
.project::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .3s; }
.project-meta { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 8px; }
.project-meta small { color: #d0d5d1; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.project-meta strong { max-width: 540px; color: white; font-size: clamp(19px, 2vw, 31px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.project-open { position: absolute; z-index: 2; top: 20px; right: 20px; padding: 8px 10px; color: var(--void); background: var(--acid); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translate(-8px, 8px); transition: opacity .3s, transform .3s, background .2s; }
.project:hover > img, .project:focus-visible > img { transform: scale(1.035); filter: saturate(.9) brightness(.82) contrast(1.02); }
.project:hover .project-shade, .project:focus-visible .project-shade { background: linear-gradient(to bottom, rgba(2,5,3,.02), rgba(2,5,3,.67)); }
.project:hover::after, .project:focus-visible::after { border-color: rgba(186,255,60,.62); }
.project:hover .project-open, .project:focus-visible .project-open { opacity: 1; transform: none; }

.manifesto { position: relative; overflow: hidden; color: var(--void); background: var(--acid); }
.manifesto::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px); background-size: 52px 52px; }
.manifesto-grid { position: relative; z-index: 1; }
.manifesto .section-top { margin-bottom: 88px; }
.manifesto-copy { display: grid; grid-template-columns: .32fr .68fr; align-items: start; }
.manifesto-copy .overline { margin-top: 14px; color: #26351a; }
.manifesto h2 { font-size: clamp(56px, 7.1vw, 108px); }
.manifesto h2 em { color: #244724; }
.doctrine { display: grid; grid-template-columns: repeat(3, 1fr); margin: 100px 0 0 32%; padding: 0; border-top: 1px solid rgba(0,0,0,.28); list-style: none; }
.doctrine li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; min-height: 168px; padding: 24px 24px 24px 0; border-right: 1px solid rgba(0,0,0,.22); }
.doctrine li + li { padding-left: 24px; }
.doctrine li:last-child { border: 0; }
.doctrine li > span { font-family: var(--mono); font-size: 9px; }
.doctrine strong { display: block; margin-bottom: 10px; font-size: 14px; }
.doctrine p { margin: 0; color: #28351d; font-size: 12px; line-height: 1.7; }
.manifesto-mark { position: absolute; right: -2vw; bottom: -4vw; color: rgba(0,0,0,.06); font-family: var(--mono); font-size: clamp(100px, 18vw, 290px); font-weight: 500; letter-spacing: -.1em; pointer-events: none; }
.manifesto-mark span { color: rgba(0,0,0,.12); }

.contact { position: relative; padding-bottom: 30px; background: radial-gradient(circle at 75% 52%, rgba(107,174,255,.11), transparent 25%), var(--void); }
.contact .section-index { color: #d8dcd8; }
.contact-main { margin: 80px 0 0 16%; }
.contact-main > p { margin: 0 0 24px; color: var(--blue); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.contact h2 { max-width: 980px; font-size: clamp(58px, 8vw, 122px); }
.contact h2 em { color: #a6aba7; }
.contact-main > a { display: inline-flex; align-items: center; gap: 70px; margin-top: 52px; padding-bottom: 8px; border-bottom: 1px solid #58615b; color: #dfe3df; font-family: var(--mono); font-size: clamp(12px, 1.2vw, 17px); transition: border-color .2s, color .2s; }
.contact-main > a span { color: var(--acid); font-size: 22px; transition: transform .2s; }
.contact-main > a:hover { color: white; border-color: var(--acid); }
.contact-main > a:hover span { transform: translate(4px, -4px); }
footer { display: flex; justify-content: space-between; align-items: center; margin-top: 110px; padding-top: 20px; border-top: 1px solid var(--line); color: #8b948d; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
footer p { margin: 0; }
footer a { transition: color .2s; }
footer a:hover { color: var(--acid); }

.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 64px 5vw 28px; color: white; background: rgba(3,5,4,.96); backdrop-filter: blur(18px); }
.lightbox[hidden] { display: none; }
.lightbox-image { width: 100%; height: 78vh; }
.lightbox-image img { width: 100%; height: 100%; object-fit: contain; }
.lightbox > p { display: flex; gap: 12px; margin: 15px 0 0; font-size: 12px; }
.lightbox > p span { color: #89918b; }
.close { position: absolute; top: 22px; right: 30px; padding: 7px 0; border: 0; border-bottom: 1px solid #626a64; color: #dfe2df; background: none; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

.motion-ready .reveal-target { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.65,.2,1); }
.motion-ready .reveal-target.in-view { opacity: 1; transform: none; }

@keyframes pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes scan { from { background-position: 0 -420px; } to { background-position: 0 420px; } }
@keyframes rail { 0%,100% { transform: translateX(-24px); } 50% { transform: translateX(62px); } }

@media (max-width: 980px) {
  :root { --page: calc(100vw - 48px); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 90px; }
  .telemetry { width: min(500px, 70vw); margin-left: auto; }
  .about-title { margin-left: 12%; }
  .about-grid { margin-left: 12%; grid-template-columns: .75fr 1.25fr; gap: 7vw; }
  .principle-preview { margin-top: 78px; }
  .gallery { grid-auto-rows: 240px; }
  .project-a { grid-column: span 7; }
  .project-b, .project-c { grid-column: span 5; }
  .project-d, .project-e, .project-f { grid-column: span 4; }
  .manifesto-copy { grid-template-columns: .22fr .78fr; }
  .doctrine { margin-left: 22%; }
}

@media (max-width: 700px) {
  :root { --page: calc(100vw - 36px); }
  .site-header { backdrop-filter: blur(14px); }
  .topbar { grid-template-columns: 1fr auto; height: 60px; }
  .system-status { display: none; }
  .nav-links { gap: 15px; font-size: 8px; }
  .nav-links a:nth-child(3) { display: none; }
  .hero { min-height: 88svh; }
  .hero::before, .hero::after { width: 34px; height: 34px; }
  .hero::before { top: 82px; left: 18px; }
  .hero::after { right: 18px; bottom: 28px; }
  .hero-inner { min-height: 88svh; padding: 112px 0 66px; }
  .overline { margin-bottom: 24px; font-size: 8px; line-height: 1.7; }
  .overline span { display: block; margin: 0 0 5px; }
  .hero h1 { font-size: clamp(72px, 25vw, 112px); line-height: .78; }
  .hero-deck { margin-top: 34px; max-width: 330px; font-size: 14px; }
  .hero-actions { gap: 20px; margin-top: 28px; }
  .action-primary { min-width: 160px; padding: 12px 13px; font-size: 8px; }
  .action-quiet { font-size: 7px; }
  .telemetry { width: 100%; margin: 0; }
  .telemetry dl div { padding: 11px 13px; }
  .hero-rail { display: none; }
  .section-pad { padding: 82px 18px; }
  .section-top { align-items: flex-start; gap: 24px; margin-bottom: 45px; }
  .section-code { max-width: 52%; line-height: 1.7; text-align: right; }
  .about-title, .about-grid, .contact-main { margin-left: 0; }
  .about h2, .work h2, .manifesto h2, .contact h2 { font-size: clamp(46px, 14vw, 70px); line-height: .91; }
  .about-grid { grid-template-columns: 1fr; gap: 54px; margin-top: 46px; }
  .portrait-wrap { width: 88%; aspect-ratio: 4 / 4.7; }
  .bio .lead { font-size: 25px; }
  .bio-columns { grid-template-columns: 1fr; gap: 18px; }
  .principle-preview { grid-template-columns: 1fr; margin-top: 70px; }
  .principle-preview li, .principle-preview li + li { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .principle-preview li:last-child { border-bottom: 0; }
  .principle-preview li > span { margin-bottom: 15px; }
  .work-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .work-heading > p { max-width: 340px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .project, .project-a, .project-b, .project-c, .project-d, .project-e, .project-f, .project-g, .project-h { grid-column: 1; grid-row: auto; aspect-ratio: 1.3 / 1; }
  .project-a { aspect-ratio: 1 / 1; }
  .project-e, .project-f, .project-g, .project-h { aspect-ratio: 1.65 / 1; }
  .project-open { opacity: 1; transform: none; color: white; background: rgba(5,7,6,.76); }
  .project-meta { left: 18px; right: 18px; bottom: 18px; }
  .manifesto .section-top { margin-bottom: 62px; }
  .manifesto-copy { display: block; }
  .manifesto-copy .overline { margin: 0 0 24px; }
  .doctrine { grid-template-columns: 1fr; margin: 70px 0 0; }
  .doctrine li, .doctrine li + li { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.22); }
  .doctrine li:last-child { border: 0; }
  .manifesto-mark { bottom: 0; }
  .contact-main { margin-top: 64px; }
  .contact-main > a { gap: 30px; margin-top: 38px; font-size: 11px; }
  footer { align-items: flex-start; gap: 18px; margin-top: 92px; line-height: 1.6; }
  footer p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .motion-ready .reveal-target { opacity: 1; transform: none; }
  .cursor-aura { display: none; }
}
