:root {
  --bg: #0b0d10;
  --bg-2: #101318;
  --panel: #14181e;
  --line: rgba(255,255,255,.11);
  --text: #f5f3ee;
  --muted: #9ba0a8;
  --accent: #bafc43;
  --accent-2: #d6ff87;
  --ink: #111318;
  --paper: #ecebe5;
  --max: 1240px;
  --radius: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .025;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(11,13,16,.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .14em; font-size: 13px; }
.brand-mark {
  width: 36px; height: 36px; display: inline-grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28); font-size: 15px; letter-spacing: 0;
}
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; color: #c7c9cd; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--text); }
.nav-cta { padding: 11px 15px; border: 1px solid rgba(255,255,255,.26); color: var(--text) !important; display: flex; gap: 22px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; position: relative; }
.menu-toggle span { position: absolute; left: 9px; width: 26px; height: 1px; background: #fff; transition: .25s ease; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }

.section-dark { position: relative; background: var(--bg); }
.hero { min-height: 760px; padding: 158px 0 84px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, black 65%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; width: 650px; height: 650px; right: -180px; top: 40px;
  background: radial-gradient(circle, rgba(186,252,67,.13), rgba(186,252,67,0) 68%); filter: blur(10px);
}
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 74px; align-items: center; }
.eyebrow, .section-index { text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; }
.eyebrow { color: #c8ccd1; display: flex; align-items: center; gap: 10px; margin: 0 0 26px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px rgba(186,252,67,.7); }
.hero h1, .statement h2, .section-heading h2, .approach h2, .contact h2 {
  margin: 0; font-weight: 580; letter-spacing: -.055em; line-height: .95;
}
.hero h1 { font-size: clamp(58px, 7.1vw, 106px); max-width: 810px; }
.hero h1 span, .statement h2 span, .section-heading h2 span, .approach h2 span, .contact h2 span { color: #878d95; }
.hero-lead { margin: 34px 0 0; color: #adb1b8; font-size: 18px; max-width: 660px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { min-height: 54px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; font-size: 13px; font-weight: 700; border: 1px solid transparent; }
.button-primary { background: var(--accent); color: #0d1008; }
.button-primary:hover { background: var(--accent-2); }
.button-ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.button-ghost:hover { border-color: rgba(255,255,255,.48); }
.hero-meta { margin-top: 48px; display: flex; gap: 0; flex-wrap: wrap; color: #8f949c; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.hero-meta span { padding-right: 18px; margin-right: 18px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-meta span:last-child { border-right: 0; }

.visual-shell { border: 1px solid rgba(255,255,255,.13); background: rgba(10,12,15,.55); backdrop-filter: blur(8px); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.visual-topbar { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); color: #7f858d; font-size: 9px; letter-spacing: .13em; }
.live { display: inline-flex; align-items: center; gap: 7px; color: #aeb4ba; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.system-map { position: relative; height: 475px; overflow: hidden; }
.system-map::before, .system-map::after { content: ""; position: absolute; background: rgba(255,255,255,.06); }
.system-map::before { width: 1px; height: 100%; left: 50%; }
.system-map::after { height: 1px; width: 100%; top: 50%; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.085); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.orbit-a { width: 290px; height: 290px; }
.orbit-b { width: 390px; height: 390px; border-style: dashed; animation: rotate 30s linear infinite; }
.core-node { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 114px; height: 114px; border: 1px solid var(--accent); background: #11150e; display: grid; place-items: center; align-content: center; z-index: 3; box-shadow: 0 0 40px rgba(186,252,67,.11); }
.core-node strong { color: var(--accent); font-size: 37px; line-height: 1; }
.core-node span { color: #777f6d; font-size: 8px; letter-spacing: .18em; margin-top: 8px; }
.node { position: absolute; width: 116px; height: 58px; border: 1px solid rgba(255,255,255,.14); background: #101318; padding: 10px 11px; z-index: 3; }
.node b { display: block; color: var(--accent); font-size: 8px; font-weight: 700; }
.node span { color: #9ba0a7; font-size: 8px; letter-spacing: .09em; }
.node-1 { left: 38px; top: 65px; }
.node-2 { right: 33px; top: 78px; }
.node-3 { right: 34px; bottom: 60px; }
.node-4 { left: 34px; bottom: 58px; }
.connector-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.connector-lines path { fill: none; stroke: rgba(186,252,67,.4); stroke-width: 1; stroke-dasharray: 6 8; animation: dash 12s linear infinite; }
.visual-footer { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; padding: 12px 16px; gap: 7px 20px; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.visual-footer span { color: #656b73; }
.visual-footer b { color: #adb2b8; font-weight: 700; }
@keyframes rotate { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -140; } }

.statement { padding: 120px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.section-index { color: #6e747c; margin: 8px 0 0; }
.statement h2, .section-heading h2, .approach h2, .contact h2 { font-size: clamp(43px, 5vw, 72px); }
.statement p:not(.section-index) { max-width: 740px; color: #9fa4ab; font-size: 18px; line-height: 1.72; margin: 34px 0 0; }

.capabilities { padding: 120px 0 130px; }
.section-heading { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; margin-bottom: 60px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { min-height: 330px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .25s ease, transform .25s ease; }
.capability-card:hover { background: #101318; }
.card-top { display: flex; justify-content: space-between; color: #666c74; font-size: 10px; }
.card-arrow { font-size: 18px; color: #5b6169; transition: color .25s ease, transform .25s ease; }
.capability-card:hover .card-arrow { color: var(--accent); transform: translate(3px,-3px); }
.capability-card h3 { margin: 72px 0 16px; font-size: 25px; letter-spacing: -.025em; font-weight: 600; }
.capability-card p { color: #8f959d; margin: 0; font-size: 14px; line-height: 1.7; }
.tags { display: flex; gap: 7px; margin-top: auto; padding-top: 28px; flex-wrap: wrap; }
.tags span { border: 1px solid rgba(255,255,255,.1); padding: 5px 7px; color: #686f77; font-size: 8px; letter-spacing: .08em; }

.section-light { background: var(--paper); color: var(--ink); }
.approach { padding: 120px 0; }
.approach-head { display: grid; grid-template-columns: 220px 1fr 340px; gap: 40px; align-items: end; }
.approach .section-index { color: #73777a; align-self: start; }
.approach h2 span { color: #888b8a; }
.approach-head > p:last-child { margin: 0 0 4px; color: #676b6d; line-height: 1.7; font-size: 15px; }
.steps { margin-top: 72px; border-top: 1px solid rgba(15,17,19,.18); }
.step { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid rgba(15,17,19,.18); align-items: center; }
.step-number { font-size: 11px; color: #7f8385; }
.step > div { display: grid; grid-template-columns: 270px 1fr; gap: 50px; align-items: center; }
.step h3 { font-size: 30px; margin: 0; letter-spacing: -.025em; font-weight: 600; }
.step p { margin: 0; color: #696d6f; max-width: 550px; }

.work { padding: 125px 0; }
.work-list { border-top: 1px solid var(--line); }
.work-row { min-height: 138px; display: grid; grid-template-columns: 120px 1.2fr .8fr 40px; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); transition: background .25s ease, padding .25s ease; }
.work-row:hover { background: rgba(255,255,255,.025); padding-inline: 14px; }
.work-code { color: #646a72; font-size: 10px; letter-spacing: .1em; }
.work-title h3 { margin: 0 0 8px; font-size: 22px; font-weight: 580; letter-spacing: -.02em; }
.work-title p, .work-meta { margin: 0; color: #858b93; font-size: 13px; }
.work-meta { line-height: 1.7; }
.work-arrow { color: #656b73; font-size: 20px; }
.work-row:hover .work-arrow { color: var(--accent); }

.contact { padding: 0 0 110px; }
.contact-shell { min-height: 470px; border: 1px solid rgba(255,255,255,.15); display: grid; grid-template-columns: 1.2fr .8fr; }
.contact-copy { padding: 60px; border-right: 1px solid var(--line); }
.contact h2 { margin-top: 50px; }
.contact-copy > p:last-child { color: #91979e; max-width: 630px; margin: 30px 0 0; line-height: 1.75; }
.contact-action { padding: 60px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, rgba(186,252,67,.045), transparent 55%); }
.contact-link { display: flex; justify-content: space-between; gap: 25px; border-bottom: 1px solid rgba(255,255,255,.3); padding: 0 0 17px; font-size: 17px; }
.contact-link b { color: var(--accent); font-size: 21px; }
.contact-action p { color: #777d85; font-size: 12px; line-height: 1.6; max-width: 340px; margin: 18px 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 42px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr .7fr auto; gap: 30px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.footer-brand .brand-mark { width: 28px; height: 28px; font-size: 11px; }
.site-footer p, .back-top { color: #70767d; font-size: 11px; margin: 0; }
.back-top:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }

@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; }
  .hero h1 { font-size: clamp(64px, 10vw, 100px); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-head { grid-template-columns: 180px 1fr; }
  .approach-head > p:last-child { grid-column: 2; max-width: 600px; }
  .section-heading, .statement-grid { grid-template-columns: 180px 1fr; }
  .step { grid-template-columns: 180px 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-action { min-height: 250px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 30px), var(--max)); }
  .nav-wrap { height: 70px; }
  .menu-toggle { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 0; background: #0b0d10; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 35px; gap: 24px; font-size: 28px; transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .main-nav.open { transform: none; }
  .nav-cta { font-size: 16px; margin-top: 16px; }
  .hero { padding-top: 125px; min-height: auto; }
  .hero-layout { gap: 58px; }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta { gap: 10px 0; }
  .hero-meta span { width: 50%; margin: 0; padding: 0; border-right: 0; }
  .system-map { height: 390px; }
  .orbit-a { width: 240px; height: 240px; }
  .orbit-b { width: 320px; height: 320px; }
  .node { width: 104px; }
  .node-1 { left: 13px; top: 48px; }
  .node-2 { right: 12px; top: 58px; }
  .node-3 { right: 12px; bottom: 45px; }
  .node-4 { left: 12px; bottom: 43px; }
  .connector-lines { display: none; }
  .statement, .capabilities, .approach, .work { padding: 90px 0; }
  .statement-grid, .section-heading, .approach-head { grid-template-columns: 1fr; gap: 20px; }
  .statement h2, .section-heading h2, .approach h2, .contact h2 { font-size: clamp(40px, 12vw, 58px); }
  .statement p:not(.section-index) { font-size: 16px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 300px; }
  .approach-head > p:last-child { grid-column: auto; }
  .step { grid-template-columns: 60px 1fr; gap: 10px; padding: 28px 0; }
  .step > div { grid-template-columns: 1fr; gap: 9px; }
  .step h3 { font-size: 25px; }
  .work-row { grid-template-columns: 75px 1fr 24px; gap: 12px; padding: 28px 0; }
  .work-meta { grid-column: 2; }
  .work-arrow { grid-column: 3; grid-row: 1; }
  .contact { padding-bottom: 70px; }
  .contact-copy, .contact-action { padding: 34px 26px; }
  .contact h2 { margin-top: 36px; }
  .contact-link { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Contact form */
.contact-section { border: 1px solid rgba(255,255,255,.15); display: grid; grid-template-columns: .82fr 1.18fr; background: #0d1014; }
.contact-intro { padding: 60px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-intro h2 { margin-top: 50px; }
.contact-intro > p:nth-of-type(2) { color: #91979e; max-width: 560px; margin: 30px 0 0; line-height: 1.75; }
.contact-direct { margin-top: auto; padding-top: 54px; }
.contact-direct > span { display: block; color: #626870; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.contact-direct a { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.22); color: #cfd2d5; font-size: 14px; }
.contact-direct a b { color: var(--accent); }
.contact-form-shell { background: linear-gradient(145deg, rgba(186,252,67,.035), transparent 36%); }
.form-kicker { height: 52px; border-bottom: 1px solid var(--line); padding: 0 28px; display: flex; justify-content: space-between; align-items: center; color: #697079; font-size: 9px; letter-spacing: .13em; }
.secure-label { display: inline-flex; align-items: center; gap: 8px; color: #8d9486; }
.secure-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(186,252,67,.55); }
.contact-form { padding: 36px 40px 42px; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two-cols { grid-template-columns: repeat(2, minmax(0,1fr)); }
.field { margin-bottom: 21px; }
.field label { display: block; margin-bottom: 9px; color: #8f959d; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; }
.field label span, .consent b { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 0; outline: 0; background: #101318; color: #f0f1ee; font: inherit; font-size: 14px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.field input, .field select { height: 52px; padding: 0 14px; }
.field textarea { padding: 14px; resize: vertical; min-height: 150px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #555c65; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(186,252,67,.62); background: #11161a; box-shadow: 0 0 0 3px rgba(186,252,67,.055); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d97878; }
.select-wrap { position: relative; }
.select-wrap::after { content: "↓"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #777e86; pointer-events: none; font-size: 11px; }
.field select { appearance: none; padding-right: 38px; }
.field select option { background: #101318; color: #fff; }
.field-meta { display: flex; justify-content: space-between; margin-top: 7px; color: #555c65; font-size: 9px; letter-spacing: .04em; }
.consent { display: flex; gap: 11px; align-items: flex-start; color: #777f87; font-size: 11px; line-height: 1.6; cursor: pointer; }
.consent input { appearance: none; width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; border: 1px solid rgba(255,255,255,.23); background: #101318; display: grid; place-content: center; }
.consent input::before { content: ""; width: 8px; height: 8px; transform: scale(0); background: var(--accent); transition: transform .15s ease; }
.consent input:checked::before { transform: scale(1); }
.consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-submit-row { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.form-submit-row > p { margin: 0; color: #535a63; font-size: 9px; max-width: 280px; line-height: 1.55; text-transform: uppercase; letter-spacing: .07em; }
.submit-button { min-width: 190px; cursor: pointer; }
.submit-button:disabled { opacity: .55; cursor: wait; }
.submit-button.loading .submit-icon { animation: submitSpin .7s linear infinite; }
@keyframes submitSpin { to { transform: rotate(360deg); } }
.form-status { display: none; margin-top: 20px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.12); font-size: 12px; line-height: 1.6; }
.form-status.show { display: block; }
.form-status.success { border-color: rgba(186,252,67,.35); background: rgba(186,252,67,.055); color: #cce99a; }
.form-status.error { border-color: rgba(217,120,120,.35); background: rgba(217,120,120,.06); color: #e2a1a1; }
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 1080px) {
  .contact-section { grid-template-columns: 1fr; }
  .contact-intro { border-right: 0; border-bottom: 1px solid var(--line); min-height: 420px; }
}
@media (max-width: 760px) {
  .contact-intro { padding: 34px 26px; min-height: 390px; }
  .contact-intro h2 { margin-top: 36px; }
  .contact-form { padding: 28px 22px 32px; }
  .form-kicker { padding: 0 22px; }
  .form-grid.two-cols { grid-template-columns: 1fr; gap: 0; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; }
}
