:root {
  --bg: #0a150f;
  --bg-2: #102117;
  --panel: #14271b;
  --panel-2: #183120;
  --line: rgba(166, 255, 77, .18);
  --line-strong: rgba(166, 255, 77, .42);
  --text: #f4fff2;
  --muted: #C2D3BF;
  --soft: #dff2df;
  --green: #9FE642;
  --green-2: #CFFF68;
  --green-dark: #406d17;
  --white: #ffffff;
  --black: #030604;
  --paper: #f6fbf1;
  --ink: #122015;
  --shadow: 0 30px 90px rgba(0, 0, 0, .36);
  --container: min(1180px, calc(100vw - 42px));
  --header-h: 86px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -2; background: radial-gradient(circle at 18% 12%, rgba(159,230,66,.28), transparent 29%), radial-gradient(circle at 82% 18%, rgba(207,255,104,.16), transparent 31%), linear-gradient(180deg, #0a150f 0%, #102117 46%, #0a150f 100%); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .18; background-image: linear-gradient(rgba(182,255,77,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(182,255,77,.12) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 14px; top: 14px; z-index: 100; transform: translateY(-140%); padding: 10px 14px; border: 1px solid var(--green); background: var(--black); color: var(--green-2); font-weight: 900; }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90; background: linear-gradient(90deg, var(--green), var(--green-2)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 22px rgba(182,255,77,.65); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,19,13,.58); border-bottom: 1px solid rgba(207,255,104,.12); backdrop-filter: blur(22px); transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled, .site-header.solid { background: rgba(6,13,9,.88); box-shadow: 0 18px 50px rgba(0,0,0,.30); border-color: var(--line); }
.nav-shell { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; padding: 0; background: transparent; border: 0; box-shadow: none; }
.brand img { width: min(326px, 54vw); filter: drop-shadow(0 0 22px rgba(159,230,66,.22)) drop-shadow(0 12px 28px rgba(0,0,0,.42)); }
.main-nav { display: flex; align-items: center; gap: 22px; color: var(--soft); font-size: .88rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.main-nav a:not(.nav-cta) { opacity: .82; position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--green); transition: right .22s ease; }
.main-nav a:hover { color: var(--green-2); opacity: 1; }
.main-nav a:hover::after { right: 0; }
.nav-cta { border: 1px solid var(--green); color: var(--green-2); padding: 11px 14px; box-shadow: inset 0 0 0 1px rgba(182,255,77,.08), 0 0 30px rgba(139,211,49,.12); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); }
.nav-toggle span { display: block; height: 2px; background: var(--green-2); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.section-pad { padding: 104px 0; }
.hero-lab { position: relative; min-height: min(940px, calc(100svh - 0px)); display: grid; align-items: center; padding: 74px 0 96px; overflow: hidden; }
.circuit-bg { position: absolute; inset: 0; pointer-events: none; opacity: .75; background: linear-gradient(115deg, transparent 0 44%, rgba(139,211,49,.2) 44.15% 44.45%, transparent 44.6% 100%), radial-gradient(circle at 75% 58%, rgba(139,211,49,.18), transparent 20%); }
.circuit-bg::before, .circuit-bg::after { content: ""; position: absolute; border: 1px solid var(--line); }
.circuit-bg::before { width: 34vw; height: 34vw; right: -10vw; top: 16vh; transform: rotate(22deg); animation: drift 14s ease-in-out infinite alternate; }
.circuit-bg::after { width: 20vw; height: 1px; left: 6vw; bottom: 18vh; box-shadow: 170px -80px 0 var(--line), 380px -20px 0 rgba(182,255,77,.2); }
.hero-lab-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(380px, 1.06fr); gap: 66px; align-items: center; position: relative; z-index: 1; }
.status-pill, .eyebrow { margin: 0 0 18px; color: var(--green-2); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 950; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); background: rgba(139,211,49,.07); }
.status-pill span { width: 9px; height: 9px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 8px rgba(182,255,77,.08), 0 0 22px rgba(182,255,77,.8); }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -.05em; }
h1 { font-size: clamp(3rem, 7.1vw, 6.9rem); max-width: 980px; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.8vw, 4.7rem); }
h3 { font-size: 1.22rem; letter-spacing: -.03em; }
.hero-lead { margin-top: 26px; color: var(--muted); font-size: clamp(1.07rem, 1.62vw, 1.32rem); max-width: 680px; }
.hero-actions, .contact-band-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 20px; border: 1px solid var(--line-strong); color: var(--text); font-weight: 950; text-transform: uppercase; letter-spacing: .045em; background: rgba(255,255,255,.03); transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); border-color: var(--green-2); box-shadow: 0 0 36px rgba(139,211,49,.22); }
.btn.primary { color: #07100c; background: linear-gradient(135deg, var(--green), var(--green-2)); border-color: transparent; }
.btn.ghost { background: transparent; color: var(--green-2); }
.micro-stats { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: rgba(255,255,255,.035); max-width: 650px; }
.micro-stats div { padding: 18px; border-right: 1px solid var(--line); }
.micro-stats div:last-child { border-right: 0; }
.micro-stats strong { display: block; color: var(--green-2); font-size: 1.28rem; line-height: 1; }
.micro-stats span { display: block; margin-top: 7px; color: var(--muted); font-size: .9rem; }
.energy-console { border: 1px solid rgba(207,255,104,.48); background: linear-gradient(180deg, rgba(20,39,27,.95), rgba(10,22,15,.95)); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.055), 0 0 80px rgba(159,230,66,.10); position: relative; overflow: hidden; transform: translateY(calc(var(--parallax, 0) * -1px)); }
.energy-console::before { content: ""; position: absolute; inset: -2px; background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(139,211,49,.32), transparent 32%); animation: rotateGlow 8s linear infinite; opacity: .5; }
.energy-console > * { position: relative; z-index: 1; }
.console-top { height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; }
.console-top span { width: 8px; height: 8px; border-radius: 50%; background: var(--green-dark); }
.console-top span:first-child { background: var(--green-2); box-shadow: 0 0 12px var(--green); }
.console-image { position: relative; margin: 18px; height: min(48vw, 430px); overflow: hidden; border: 1px solid var(--line); }
.console-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.08); }
.scan-line { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(182,255,77,.35), transparent); height: 28%; animation: scan 4.8s ease-in-out infinite; mix-blend-mode: screen; }
.console-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.console-grid div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.console-grid div:nth-child(2n) { border-right: 0; }
.console-grid small, .service-tile span, .path-card span, .timeline-item span { color: var(--green-2); font-weight: 950; letter-spacing: .11em; }
.console-grid b { display: block; margin-top: 8px; }
.console-grid em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: .88rem; }
.split-manifest { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.split-manifest::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(139,211,49,.14), transparent 45%), linear-gradient(rgba(18,32,21,.06) 1px, transparent 1px); background-size: auto, 100% 42px; }
.manifest-grid { position: relative; display: grid; grid-template-columns: .44fr 1.05fr .85fr; gap: 40px; align-items: center; }
.split-manifest .eyebrow, .services-panel .eyebrow { color: #4f821c; }
.manifest-marker { min-height: 280px; display: grid; place-items: center; border: 1px solid rgba(18,32,21,.12); background: #fff; overflow: hidden; }
.manifest-marker span { writing-mode: vertical-rl; color: rgba(79,130,28,.16); font-size: clamp(3rem, 8vw, 7rem); font-weight: 1000; letter-spacing: .08em; }
.manifest-text { color: #4a594d; font-size: 1.09rem; }
.services-panel { background: var(--paper); color: var(--ink); }
.section-head { max-width: 790px; margin-bottom: 44px; }
.section-head p:last-child { margin-top: 16px; color: #516150; font-size: 1.08rem; }
.service-matrix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-tile { min-height: 248px; padding: 24px; background: #fff; border: 1px solid rgba(18,32,21,.12); color: var(--ink); position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-tile:hover { transform: translateY(-5px); border-color: rgba(139,211,49,.58); box-shadow: 0 22px 70px rgba(35,63,36,.14); }
.service-tile::after { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: var(--green); transition: height .25s ease; }
.service-tile:hover::after { height: 100%; }
.service-tile.feature { grid-column: span 2; display: grid; grid-template-columns: .9fr 1fr; gap: 22px; padding: 12px; }
.service-tile.feature img, .service-tile.image-card img { height: 100%; width: 100%; object-fit: cover; }
.service-tile.feature div { padding: 14px 12px 14px 0; }
.service-tile.image-card { padding: 0; }
.service-tile p { margin-top: 13px; color: #5c6a5e; }
.service-tile span { display: inline-block; margin-bottom: 18px; color: #4f821c; }
.energy-map { background: linear-gradient(180deg, #07100c, #0d1712); }
.energy-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 62px; align-items: start; }
.energy-copy { position: sticky; top: 120px; }
.energy-copy p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 1.08rem; }
.text-link { display: inline-flex; margin-top: 26px; color: var(--green-2); font-weight: 950; border-bottom: 2px solid var(--green); }
.path-stack { display: grid; gap: 16px; }
.path-card { min-height: 178px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); box-shadow: 0 18px 54px rgba(0,0,0,.18); transform: translateX(var(--path-offset, 0)); }
.path-card:nth-child(even) { margin-left: 52px; }
.path-card p { margin-top: 12px; color: var(--muted); }
.proof-strip { border-block: 1px solid var(--line); background: #050906; overflow: hidden; }
.proof-track { display: flex; gap: 28px; align-items: center; width: max-content; padding: 18px 0; color: var(--green-2); font-weight: 1000; text-transform: uppercase; letter-spacing: .12em; animation: marquee 28s linear infinite; }
.proof-track span, .proof-track i { flex: 0 0 auto; }
.proof-track i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.workflow { background: var(--bg); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.timeline-item { min-height: 250px; padding: 28px; border-right: 1px solid var(--line); background: rgba(255,255,255,.035); position: relative; }
.timeline-item:last-child { border-right: 0; }
.timeline-item::before { content: ""; position: absolute; left: 28px; right: 28px; top: 70px; height: 1px; background: linear-gradient(90deg, var(--green), transparent); }
.timeline-item h3 { margin-top: 46px; }
.timeline-item p { margin-top: 12px; color: var(--muted); }
.contact-band { background: radial-gradient(circle at 70% 30%, rgba(139,211,49,.24), transparent 28%), var(--bg-2); }
.contact-band-card { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; padding: 48px; border: 1px solid rgba(207,255,104,.48); background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(159,230,66,.06)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08); }
.contact-band-card p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 690px; }
.site-footer { border-top: 1px solid var(--line); background: #030604; color: var(--muted); padding: 46px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 28px; align-items: start; }
.site-footer img { width: 240px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 14px; }
.site-footer a { color: var(--soft); }
.site-footer nav { display: grid; gap: 8px; }
address { font-style: normal; }
.page-main { background: var(--paper); color: var(--ink); }
.page-hero { padding: 112px 0 72px; background: linear-gradient(135deg, #07100c, #142019); color: var(--text); }
.page-hero p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: end; }
.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: start; }
.contact-card, .contact-form, .legal-card { background: #fff; color: var(--ink); border: 1px solid rgba(18,32,21,.12); box-shadow: 0 22px 70px rgba(35,63,36,.12); padding: 34px; }
.contact-card p { margin-top: 18px; color: #5c6a5e; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: var(--ink); font-weight: 850; }
input, textarea { width: 100%; border: 1px solid rgba(18,32,21,.16); background: #f8fcf4; color: var(--ink); padding: 14px 16px; font: inherit; border-radius: 0; }
input:focus, textarea:focus, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(139,211,49,.52); outline-offset: 3px; }
.form-note { color: #657366; font-size: .92rem; }
.legal-card { max-width: 920px; }
.legal-card h2 { font-size: clamp(2rem, 4.2vw, 4.2rem); overflow-wrap: normal; hyphens: none; }
.legal-card h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.legal-card h2:not(:first-child), .legal-card h3 { margin-top: 28px; }
.legal-card p { margin-top: 12px; color: #5c6a5e; }
.mobile-break { display: none; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 1; transform: translateY(22px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
@keyframes scan { 0%,100% { transform: translateY(-80%); opacity: .2; } 50% { transform: translateY(310%); opacity: .75; } }
@keyframes rotateGlow { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(-28px, 18px) rotate(34deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 1040px) {
  :root { --container: min(100vw - 32px, 780px); }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 76px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: rgba(5,10,7,.97); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .hero-lab-grid, .manifest-grid, .energy-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-lab { min-height: auto; padding-top: 54px; }
  .energy-copy { position: static; }
  .service-matrix { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline-item:nth-child(2) { border-right: 0; }
  .timeline-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-band-card, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --container: calc(100vw - 28px); --header-h: 76px; }
  .section-pad { padding: 66px 0; }
  .brand img { width: min(250px, 66vw); }
  h1 { font-size: clamp(2.35rem, 13vw, 3.45rem); overflow-wrap: normal; }
  .legal-page .page-hero h1 { font-size: clamp(2rem, 10vw, 2.55rem); overflow-wrap: normal; hyphens: none; }
  .mobile-break { display: block; }
  .legal-card h2 { font-size: clamp(1.65rem, 8.3vw, 2.18rem); overflow-wrap: normal; hyphens: none; }
  .legal-card strong { overflow-wrap: anywhere; }
  h2 { font-size: clamp(1.85rem, 9.4vw, 2.72rem); overflow-wrap: anywhere; }
  .hero-lab-grid { gap: 34px; }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions .btn, .contact-band-actions .btn { width: 100%; }
  .micro-stats { grid-template-columns: 1fr; }
  .micro-stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .micro-stats div:last-child { border-bottom: 0; }
  .console-image { height: 310px; margin: 12px; }
  .console-grid { grid-template-columns: 1fr; }
  .console-grid div { border-right: 0; }
  .manifest-marker { min-height: 160px; }
  .manifest-marker span { writing-mode: horizontal-tb; font-size: 3rem; }
  .service-matrix { grid-template-columns: 1fr; }
  .service-tile.feature { grid-column: auto; grid-template-columns: 1fr; }
  .service-tile.feature div { padding: 6px; }
  .service-tile.image-card { min-height: 220px; }
  .path-card:nth-child(even) { margin-left: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item, .timeline-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline-item:last-child { border-bottom: 0; }
  .contact-band-card, .contact-card, .contact-form, .legal-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .energy-console { transform: none !important; }
}

/* Premium finale refinements */
.hero-copy { position: relative; }
.hero-copy::after { content: ""; position: absolute; width: 180px; height: 180px; right: 4%; top: -9%; border: 1px solid rgba(207,255,104,.20); transform: rotate(45deg); opacity: .55; pointer-events: none; }
.service-tile h3::before, .path-card h3::before, .timeline-item h3::before { content: ""; display: inline-block; width: .66em; height: .66em; margin-right: .48em; border: 2px solid currentColor; border-left-color: transparent; transform: rotate(45deg); color: #5f9e20; }
.services-panel { background: linear-gradient(180deg, #f8fff2 0%, #eef8e7 100%); }
.split-manifest { background: linear-gradient(135deg, #fbfff6, #eef8e7); }
.service-tile { box-shadow: 0 18px 60px rgba(35,63,36,.10); }
.service-tile.feature, .service-tile:nth-child(3), .service-tile:nth-child(7) { background: linear-gradient(135deg, #ffffff 0%, #f1faea 100%); }
.path-card { backdrop-filter: blur(14px); }
.footer-grid img { width: 285px; filter: drop-shadow(0 0 18px rgba(159,230,66,.22)) drop-shadow(0 12px 28px rgba(0,0,0,.38)); opacity: 1; }
@media (max-width: 1040px) { .hero-copy::after { display: none; } }

.footer-credit { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.footer-credit a { color: var(--green-2); font-weight: 800; }
