:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --line: #282828;
  --text: #f1f0eb;
  --muted: #8b8b85;
  --acid: #c8ff2e;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.noise { position: fixed; inset: 0; opacity: .035; pointer-events: none; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' 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='.7'/%3E%3C/svg%3E"); }

.site-header { height: 84px; max-width: 1440px; margin: auto; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.logo { font-size: 25px; font-weight: 700; letter-spacing: -2px; }
.logo span { color: #aaa; }.logo i { color: var(--acid); font-style: normal; }
nav { display: flex; gap: 38px; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
nav a { color: #aaa; transition: color .2s; } nav a:hover { color: var(--text); }
.header-cta { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.header-cta span { color: var(--acid); margin-left: 8px; }

.hero { min-height: calc(100vh - 84px); max-width: 1440px; margin: auto; padding: 12vh 5vw 7vh; position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 6vw; }
.eyebrow { font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: #aaa; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--acid); border-radius: 50%; margin-right: 9px; box-shadow: 0 0 12px var(--acid); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 2px var(--acid); } }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -.06em; line-height: .96; }
h1 { font-size: clamp(62px, 7vw, 112px); margin: 28px 0 34px; }
h1 em, h2 em { color: var(--acid); font-style: normal; }
.intro { color: #a5a59f; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.75; max-width: 570px; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.button { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 17px 20px; display: inline-flex; gap: 35px; }
.button.primary { background: var(--acid); color: #0a0a0a; }
.text-link { font: 400 12px var(--mono); border-bottom: 1px solid #444; padding: 10px 0; }.text-link span { color: var(--acid); }

.terminal-card { background: #0d0d0d; border: 1px solid #30302d; position: relative; min-height: 430px; box-shadow: 0 30px 100px rgba(0,0,0,.4); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); transition: border-color .4s, box-shadow .4s; }
.terminal-card::before { content: ""; position: absolute; inset: 50px 0 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(200,255,46,.035) 48%, rgba(200,255,46,.09) 50%, transparent 53%); background-size: 100% 210%; animation: terminalScan 5s linear infinite; }
.terminal-card.is-running { border-color: #465523; box-shadow: 0 30px 100px rgba(0,0,0,.4), 0 0 45px rgba(200,255,46,.045); }
.terminal-head { height: 50px; border-bottom: 1px solid #262626; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 17px; font: 300 10px var(--mono); color: #62625e; text-transform: uppercase; letter-spacing: .1em; }
.terminal-head > span:last-child { text-align: right; }.terminal-dots { display: flex; gap: 6px; }.terminal-dots i { width: 6px; height: 6px; border-radius: 50%; background: #383834; }
.terminal-body { display: grid; grid-template-columns: 35px 1fr; row-gap: 8px; padding: 45px 35px; font: 300 clamp(11px, 1vw, 14px) var(--mono); color: #a4a49d; }
.terminal-body code { width: max-content; max-width: 100%; min-height: 1em; overflow: hidden; white-space: nowrap; }
.terminal-body .line-number { transition: opacity .15s ease; }
.terminal-body.is-typing .line-number { opacity: .18; }
.terminal-body.is-typing .line-number.active { color: var(--acid); opacity: 1; }
.terminal-body.is-typing code::after { content: ""; display: none; width: 7px; height: 15px; margin-left: 4px; background: var(--acid); vertical-align: middle; animation: blink 1s step-end infinite; }
.terminal-body.is-typing code.active::after { display: inline-block; }
@keyframes terminalScan { from { background-position: 0 120%; } to { background-position: 0 -110%; } }
.line-number { color: #41413d; user-select: none; }.terminal-body b { color: #e7e6df; font-weight: 400; }.terminal-body strong { color: #a5c85a; font-weight: 300; }.terminal-body mark { color: var(--acid); background: none; }.cursor { display: inline-block; width: 7px; height: 15px; margin-left: 5px; background: var(--acid); vertical-align: middle; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.orbit { position: absolute; border: 1px solid #343430; border-radius: 50%; pointer-events: none; }.orbit-one { width: 160px; height: 160px; right: -70px; bottom: -55px; }.orbit-two { width: 110px; height: 110px; right: -45px; bottom: -30px; border-color: var(--acid); opacity: .4; }
.scroll-note { position: absolute; bottom: 35px; left: 5vw; color: #545450; text-transform: uppercase; letter-spacing: .15em; font: 300 9px var(--mono); display: flex; align-items: center; gap: 16px; }.scroll-note span { width: 70px; height: 1px; background: #353532; }

.section { max-width: 1440px; margin: auto; padding: 130px 5vw; border-top: 1px solid var(--line); }
.section-index { font: 400 10px var(--mono); color: var(--acid); margin-right: 28px; }.kicker { font: 400 11px var(--mono); color: #787873; text-transform: uppercase; letter-spacing: .13em; }
.section-heading { display: grid; grid-template-columns: .7fr 1.4fr 1fr; gap: 4vw; align-items: end; margin-bottom: 70px; }
.section-heading h2, .about h2 { font-size: clamp(44px, 5.5vw, 80px); }.section-heading p { color: var(--muted); line-height: 1.7; font-size: 14px; max-width: 390px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px 22px; }.project-featured { grid-column: 1 / -1; }
.project-visual { height: 410px; border: 1px solid #222; position: relative; overflow: hidden; display: grid; place-items: center; }
.project-featured .project-visual { height: 560px; }
.visual-dashboard { background: radial-gradient(circle at 50% 80%, #27320c, #151710 50%, #0d0e0c); }
.mock-window { width: min(76%, 800px); height: 65%; background: #dcded7; border-radius: 8px; box-shadow: 0 30px 80px #000; transform: rotate(-2deg); overflow: hidden; }
.mock-top { height: 28px; background: #eff0eb; display: flex; gap: 5px; align-items: center; padding: 0 12px; }.mock-top span { width: 6px; height: 6px; background: #aaa; border-radius: 50%; }.mock-content { height: calc(100% - 28px); display: flex; padding: 18px; gap: 20px; }.mock-side { width: 17%; border-radius: 4px; background: #191a18; }.mock-main { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.mock-stat { background: #f2f3ed; border: 1px solid #c7c8c2; border-radius: 4px; }.mock-chart { grid-column: span 2; background: #22241f; display: flex; align-items: end; gap: 6%; padding: 25px; }.mock-chart i { flex: 1; background: var(--acid); opacity: .8; }.mock-chart i:nth-child(1) {height:25%}.mock-chart i:nth-child(2) {height:45%}.mock-chart i:nth-child(3) {height:37%}.mock-chart i:nth-child(4) {height:70%}.mock-chart i:nth-child(5) {height:55%}.mock-chart i:nth-child(6) {height:85%}
.project-number { position: absolute; right: 18px; top: 17px; font: 300 10px var(--mono); color: #777; }
.project-info { padding: 22px 2px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; border-bottom: 1px solid #2b2b29; align-items: start; }.project-info h3 { margin: 7px 0; font-size: 23px; font-weight: 500; }.project-type { font: 300 9px var(--mono); color: var(--acid); text-transform: uppercase; letter-spacing: .12em; }.project-info p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; max-width: 350px; }.arrow { color: var(--acid); }
.visual-mobile { background: radial-gradient(circle at 50% 50%, #2e2612, #15120c 60%, #0d0d0c); }.phone { height: 80%; aspect-ratio: .51; border: 5px solid #292925; border-radius: 32px; background: #deded5; padding: 25px 18px; position: relative; transform: rotate(5deg); box-shadow: 0 28px 50px #000; }.phone-pill { width: 35%; height: 10px; background: #222; border-radius: 8px; margin: -18px auto 20px; }.phone-sun { width: 80px; height: 80px; background: #d5ff66; border-radius: 50%; margin: 35px auto; box-shadow: 0 0 0 16px #c6d99b; }.phone-lines { width: 70%; height: 36px; border-top: 6px solid #333; border-bottom: 6px solid #aaa; margin: auto; }.phone button { border: 0; background: #171714; color: var(--acid); width: 100%; padding: 10px; margin-top: 30px; border-radius: 12px; font: 8px var(--mono); }
.visual-api { background: radial-gradient(circle, #19200e, #0c0d0b 60%); }.api-ring { width: 140px; height: 140px; border: 1px solid var(--acid); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 60px rgba(200,255,46,.1); }.api-ring:before, .api-ring:after { content:""; position:absolute; width:230px; height:230px; border:1px solid #2e3422; border-radius:50%; }.api-ring:after { width:330px; height:330px; }.api-ring span { font: 400 20px var(--mono); color: var(--acid); }.api-node { position: absolute; width: 9px; height: 9px; border: 2px solid var(--acid); border-radius: 50%; background: #111; }.n1 { top: 14%; left: 27%; }.n2 { bottom: 20%; right: 20%; }.n3 { top: 28%; right: 24%; }

.about { display: grid; grid-template-columns: .7fr 2.4fr; gap: 5vw; }.about-copy { max-width: 900px; }.about-copy p { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.8; margin-top: 38px; }.services { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }.services > div { padding: 30px 30px 20px 0; border-right: 1px solid var(--line); }.services > div + div { padding-left: 30px; }.services span { font: 300 10px var(--mono); color: var(--acid); }.services h3 { font-size: 16px; margin: 28px 0 14px; }.services p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.contact { text-align: center; padding-top: 170px; padding-bottom: 170px; }.contact h2 { font-size: clamp(55px, 7vw, 105px); margin: 28px 0 55px; }.contact > a { display: inline-block; font: 400 15px var(--mono); padding-bottom: 10px; border-bottom: 1px solid var(--acid); }.contact > a span { color: var(--acid); margin-left: 30px; }
footer { max-width: 1440px; margin: auto; border-top: 1px solid var(--line); padding: 35px 5vw; display: flex; align-items: center; justify-content: space-between; color: #646460; font: 300 9px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  .site-header nav { display:none; }.header-cta { font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 120px; }.terminal-card { margin-top: 30px; min-height: 370px; transform: none; }.scroll-note { display:none; }
  .section { padding: 90px 6vw; }.section-heading { grid-template-columns: 1fr; }.section-heading > div { margin-bottom: 15px; }.project-grid { grid-template-columns: 1fr; }.project-featured { grid-column: auto; }.project-featured .project-visual, .project-visual { height: 370px; }.mock-window { width: 88%; height: 55%; }
  .project-info { grid-template-columns: 1fr auto; }.project-info p { grid-row: 2; }.project-info .arrow { grid-column: 2; grid-row: 1; }
  .about { grid-template-columns: 1fr; }.services { grid-column: 1; grid-template-columns: 1fr; }.services > div, .services > div + div { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { gap: 25px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }.status-dot, .terminal-card::before { animation: none; } }
