:root {
  --bg: #0e1012;
  --panel: #16191c;
  --panel-2: #1d2125;
  --line: #2a2f35;
  --lime: #d4ff3a;
  --text: #eef0f2;
  --muted: #8b939c;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Space Grotesk", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 760px; }
.label { color: var(--lime); font-size: .8rem; margin-bottom: 1rem; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 520px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 1.5rem; font-weight: 600; font-family: inherit; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: .25s; }
.btn-lime { background: var(--lime); color: #0e1012; }
.btn-lime:hover { box-shadow: 0 0 0 4px rgba(212,255,58,.25), 0 0 40px rgba(212,255,58,.35); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.full { width: 100%; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.solid { background: rgba(14,16,18,.9); backdrop-filter: blur(10px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 78px; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; display: flex; align-items: center; gap: .4rem; }
.bolt { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--lime); color: #0e1012; font-size: 1rem; }
.dot { color: var(--lime); }
.nav { display: flex; gap: 2rem; margin-left: auto; font-size: .95rem; }
.nav i { font-style: normal; font-family: var(--mono); font-size: .7rem; color: var(--lime); margin-right: .35rem; vertical-align: super; }
.nav a:hover { color: var(--lime); }
.header-call { font-family: var(--mono); border: 1px solid var(--lime); color: var(--lime); padding: .55rem 1rem; font-size: .9rem; }
.header-call:hover { background: var(--lime); color: var(--bg); }
.menu { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; }
.menu span { display: block; width: 26px; height: 2px; background: var(--text); margin: 5px 0; }

/* Hero */
.hero { position: relative; padding: 140px 0 40px; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); opacity: .55; }
.circuit { position: absolute; right: -60px; top: 0; width: 700px; height: 100%; opacity: .5; }
.circuit .trace { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 4s ease forwards; }
.circuit .t2 { animation-delay: .8s; }
.circuit .t3 { animation-delay: 1.6s; }
.circuit circle { fill: var(--bg); stroke: var(--lime); stroke-width: 2; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.status { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--muted); border: 1px solid var(--line); padding: .4rem .8rem; margin-bottom: 1.8rem; background: var(--panel); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); margin-bottom: 1.5rem; }
.hl { color: var(--bg); background: var(--lime); padding: 0 .15em; display: inline-block; transform: skew(-6deg); }
.ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-card { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 10px; }
.hero-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; filter: grayscale(.3) contrast(1.05); }
.readout { position: absolute; left: -40px; bottom: 30px; background: rgba(14,16,18,.95); border: 1px solid var(--lime); padding: 1rem 1.2rem; font-size: .78rem; min-width: 260px; }
.readout div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.readout div:last-child { border: 0; }
.readout span { color: var(--muted); }
.pass { color: var(--lime); }
.accred { position: relative; display: flex; flex-wrap: wrap; gap: .6rem 2.5rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .78rem; text-transform: uppercase; }
.accred span::before { content: "\25A0  "; color: var(--lime); }

/* Sections */
.section { padding: 7rem 0; }
.sec-head { margin-bottom: 3.5rem; }
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 80px 1fr 1.3fr 140px; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; position: relative; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--lime); transition: width .35s; z-index: -1; }
.svc:hover { padding-left: 1.5rem; color: var(--bg); }
.svc:hover::before { width: 100%; }
.svc > span { color: var(--lime); }
.svc:hover > span, .svc:hover p { color: var(--bg); }
.svc h3 { font-size: 1.6rem; }
.svc p { color: var(--muted); }
.svc b { text-align: right; font-weight: 600; }
.svc-list { position: relative; z-index: 0; }

/* Estimator */
.quote-sec { background: var(--panel); border-block: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.quote-img { margin-top: 2rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.estimator { background: var(--bg); border: 1px solid var(--line); padding: 2rem; display: grid; gap: 1.6rem; }
fieldset { border: 0; }
legend { font-weight: 600; margin-bottom: .7rem; display: flex; justify-content: space-between; width: 100%; }
legend output { color: var(--lime); }
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: block; text-align: center; padding: .8rem .3rem; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; transition: .2s; }
.opts input:checked + span { background: var(--lime); color: var(--bg); border-color: var(--lime); font-weight: 600; }
.opts input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
input[type=range] { width: 100%; accent-color: var(--lime); }
select, .contact-form input, .contact-form textarea { width: 100%; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); padding: .9rem 1rem; font: inherit; }
select:focus, .contact-form :is(input, textarea):focus { outline: none; border-color: var(--lime); }
.total { border: 1px dashed var(--lime); padding: 1.3rem; display: flex; flex-direction: column; }
.total span { font-size: .75rem; color: var(--muted); }
.total strong { font-size: 3rem; color: var(--lime); letter-spacing: -.03em; line-height: 1.1; }
.total small { color: var(--muted); }

/* Work */
.work-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: 620px; }
.work { position: relative; overflow: hidden; border: 1px solid var(--line); }
.work.big { grid-row: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .6s; filter: grayscale(.6); }
.work:hover img { transform: scale(1.05); filter: none; }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; flex-direction: column; }
.work figcaption span { font-size: .75rem; color: var(--lime); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; border: 1px solid var(--line); }
.stats div { padding: 2rem; border-right: 1px solid var(--line); }
.stats div:last-child { border: 0; }
.stats b { font-size: 2.6rem; color: var(--lime); display: block; font-weight: 600; }
.stats span { color: var(--muted); font-size: .9rem; }

/* Marquee */
.marquee { background: var(--lime); color: var(--bg); overflow: hidden; padding: 1.4rem 0; }
.track { display: flex; gap: 4rem; width: max-content; animation: scroll 30s linear infinite; }
.track p { white-space: nowrap; font-size: 1.25rem; font-weight: 600; }
.track b { font-weight: 400; font-family: var(--mono); font-size: .9rem; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-list { list-style: none; margin-top: 2.5rem; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; font-size: .9rem; word-break: break-word; }
.contact-list span { color: var(--lime); font-size: .75rem; }
.contact-list a:hover { color: var(--lime); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.contact-form textarea, .contact-form button, .form-msg { grid-column: 1 / -1; }
.form-msg { color: var(--lime); font-size: .85rem; }

.footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .78rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer a { color: var(--lime); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-grid, .quote-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 440px; }
  .readout { left: 10px; }
  .svc { grid-template-columns: 50px 1fr; gap: .5rem 1rem; }
  .svc p, .svc b { grid-column: 2; text-align: left; }
  .menu { display: block; }
  .header-call { display: none; }
  .nav { position: fixed; inset: 78px 0 auto 0; background: var(--bg); flex-direction: column; padding: 2rem 20px; border-bottom: 1px solid var(--line); display: none; font-size: 1.4rem; }
  .nav.open { display: flex; }
  .header:has(.nav.open) { background: var(--bg); }
}
@media (max-width: 640px) {
  .opts { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .work.big { grid-row: auto; }
  .work { height: 260px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-form { grid-template-columns: 1fr; }
  .readout { position: static; margin-top: 10px; }
}
