:root {
  color-scheme: dark;
  --lime: #b1e36a;
  --lime-bright: #c1f27d;
  --graphite: #323033;
  --ink: #121214;
  --bg: #121214;
  --bg-deep: #0c0c0e;
  --panel: #18181b;
  --panel-strong: #202024;
  --text: #f3f3ef;
  --muted: #a3a39d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --shell: min(1400px, calc(100vw - 80px));
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "SF Pro Display", "SF Pro Text", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #edf7dd;
  --bg-deep: #e3f1cf;
  --panel: rgba(255, 255, 255, 0.58);
  --panel-strong: #f5faed;
  --text: #323033;
  --muted: #666568;
  --line: rgba(50, 48, 51, 0.14);
  --line-strong: rgba(50, 48, 51, 0.28);
  --shadow: 0 24px 80px rgba(50, 48, 51, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .45s ease, color .45s ease;
}

body.menu-open, body.dialog-open { overflow: hidden; }

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--lime); color: var(--graphite); }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--lime); color: var(--graphite); padding: 12px 18px;
  font-weight: 800; transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: fixed; z-index: 80; top: 0; left: 0; right: 0;
  height: var(--header-h); display: flex; align-items: center;
  padding-inline: max(40px, calc((100vw - 1400px) / 2));
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, transform .35s var(--ease);
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.brand { width: 154px; position: relative; z-index: 2; }
.brand img { width: 100%; height: auto; }
.brand-light, html[data-theme="light"] .brand-dark { display: none; }
html[data-theme="light"] .brand-light { display: block; }

.desktop-nav { display: flex; gap: clamp(24px, 3vw, 50px); margin-inline: auto; }
.desktop-nav a { position: relative; color: var(--muted); font-size: .82rem; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -8px; background: var(--lime); transition: right .3s var(--ease); }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--text); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle, .header-cta, .menu-toggle {
  border: 0; color: var(--text); background: transparent; cursor: pointer;
}
.theme-toggle { min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 10px; font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.theme-icon { width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; overflow: hidden; }
.theme-icon::after { content: ""; position: absolute; inset: 2px 2px 2px 50%; border-radius: 0 10px 10px 0; background: currentColor; }
.header-cta { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); font-weight: 750; }
.header-cta:hover { border-color: var(--lime); color: var(--lime); }
.header-cta span { margin-left: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 19px; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 70; display: none; padding: calc(var(--header-h) + 48px) 24px 36px; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.mobile-menu nav { display: grid; }
.mobile-menu a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(2rem, 10vw, 4rem); line-height: 1; font-weight: 750; letter-spacing: -.04em; }
.mobile-menu a span { font-size: .72rem; color: var(--lime); letter-spacing: .12em; }
.mobile-menu .button { margin-top: 36px; width: 100%; }

.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); gap: clamp(50px, 7vw, 116px); align-items: center;
  padding-top: calc(var(--header-h) + 60px); padding-bottom: 76px;
}
.hero::before { content: ""; position: absolute; z-index: -1; width: 68vw; height: 68vw; max-width: 980px; max-height: 980px; left: -38vw; top: -34vw; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 90px transparent, 0 0 160px color-mix(in srgb, var(--lime) 6%, transparent); }
.eyebrow { color: var(--lime); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 24px 0 28px; font-size: clamp(3.4rem, 6.4vw, 7.3rem); font-weight: 760; letter-spacing: -.065em; line-height: .92; }
.hero h1 em { color: var(--lime); font-style: normal; font-weight: 560; }
.hero-intro { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 1.55vw, 1.35rem); line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 42px; }
.button { min-height: 54px; padding: 0 22px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 22px; cursor: pointer; font-weight: 780; transition: transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--graphite); background: var(--lime); }
.button-primary:hover { background: var(--lime-bright); box-shadow: 0 14px 38px color-mix(in srgb, var(--lime) 18%, transparent); }
.button-ghost { color: var(--text); background: transparent; border-color: var(--line-strong); }
.button-ghost:hover { border-color: var(--text); }
.button-light { color: var(--graphite); background: #fff; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: 52px; color: var(--muted); font-size: .76rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.hero-proof span { display: flex; align-items: center; gap: 9px; }
.hero-proof i { width: 5px; height: 5px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, var(--lime) 12%, transparent); }

.system-visual { align-self: center; position: relative; min-height: 590px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--panel) 86%, transparent); box-shadow: var(--shadow); overflow: hidden; }
.system-visual::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000 0%, transparent 68%); opacity: .55; }
.visual-head, .visual-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 20px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .15em; border-bottom: 1px solid var(--line); }
.live-status { display: flex; align-items: center; gap: 8px; color: var(--lime); }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s infinite; }
.visual-core { position: relative; height: 470px; overflow: hidden; }
.core-gear { position: absolute; z-index: 4; width: 98px; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 0 24px color-mix(in srgb, var(--lime) 24%, transparent)); }
.core-gear img { animation: spin 16s linear infinite; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid var(--line-strong); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit::before { content: ""; position: absolute; width: 8px; height: 8px; top: -4.5px; left: 50%; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.orbit-one { width: 228px; height: 228px; animation: spin 13s linear infinite; }
.orbit-two { width: 344px; height: 344px; border-style: dashed; animation: spin-reverse 24s linear infinite; }
.node { position: absolute; z-index: 3; min-width: 96px; padding: 9px 12px; border: 1px solid var(--line-strong); background: var(--panel-strong); color: var(--muted); font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-align: center; }
.node::before { content: ""; position: absolute; width: 5px; height: 5px; background: var(--lime); border-radius: 50%; }
.node-data { top: 38px; left: 20px; }
.node-data::before { right: -3px; top: 50%; }
.node-ai { top: 50px; right: 18px; }
.node-ai::before { left: -3px; top: 50%; }
.node-software { left: 50%; bottom: 20px; transform: translateX(-50%); }
.node-software::before { left: 50%; top: -3px; }
.connection-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.connection-map path { fill: none; stroke: var(--lime); stroke-width: 1.2; opacity: .5; stroke-dasharray: 6 9; animation: dash 7s linear infinite; }
.visual-foot { border-top: 1px solid var(--line); border-bottom: 0; min-height: 62px; padding: 0; }
.visual-foot div { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; height: 62px; border-right: 1px solid var(--line); }
.visual-foot div:last-child { border: 0; }
.visual-foot span { color: var(--lime); }
.visual-foot strong { color: var(--text); font-size: .68rem; }
.scroll-cue { position: absolute; left: 0; bottom: 26px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .68rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue span { width: 34px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: translateX(-100%); animation: scan 2.2s infinite; }

.profile, .capabilities, .engagements, .approach { padding-block: clamp(105px, 13vw, 190px); border-top: 1px solid var(--line); }
.section-index { display: flex; align-items: center; gap: 18px; margin-bottom: 56px; color: var(--muted); font-size: .72rem; font-weight: 820; letter-spacing: .17em; }
.section-index span { color: var(--lime); }
.section-index::after { content: ""; width: 68px; height: 1px; background: var(--line-strong); }
.section-title { margin: 0; max-width: 940px; font-size: clamp(2.5rem, 5vw, 5.7rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 690; }
.profile-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(50px, 9vw, 150px); align-items: start; }
.profile-copy { padding-top: 8px; }
.profile-copy p { margin: 0 0 24px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.profile-copy p:first-child { color: var(--text); font-size: 1.25rem; }
.principle-rail { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 100px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.principle-rail article { min-height: 230px; padding: 30px; border-right: 1px solid var(--line); }
.principle-rail article:last-child { border: 0; }
.principle-rail span { display: block; margin-bottom: 52px; color: var(--lime); font-size: .72rem; font-weight: 800; }
.principle-rail h3 { margin: 0 0 10px; font-size: 1.15rem; }
.principle-rail p { margin: 0; max-width: 300px; color: var(--muted); }

.section-heading-row { display: grid; grid-template-columns: 1.15fr .55fr; align-items: end; gap: 80px; margin-bottom: 74px; }
.section-lede { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.capability-list { border-top: 1px solid var(--line-strong); }
.capability-card { display: grid; grid-template-columns: 70px 86px minmax(0, 1fr) 46px; gap: 26px; align-items: center; min-height: 166px; padding: 24px 18px; border-bottom: 1px solid var(--line); outline: none; transition: background .35s ease, padding .35s var(--ease); }
.capability-card:hover, .capability-card:focus-visible { padding-inline: 30px; background: var(--panel); }
.cap-number { color: var(--lime); font-size: .72rem; font-weight: 800; }
.cap-icon { width: 66px; height: 66px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--lime); font-size: .72rem; font-weight: 850; letter-spacing: .12em; position: relative; }
.cap-icon::before, .cap-icon::after { content: ""; position: absolute; background: var(--lime); opacity: .6; }
.cap-icon::before { width: 11px; height: 1px; left: -6px; top: 50%; }
.cap-icon::after { height: 11px; width: 1px; top: -6px; left: 50%; }
.cap-copy { display: grid; grid-template-columns: minmax(240px, .85fr) 1.15fr; gap: 40px; align-items: center; }
.cap-copy h3 { margin: 0; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
.cap-copy p { margin: 0; max-width: 620px; color: var(--muted); }
.cap-arrow { justify-self: end; color: var(--muted); font-size: 1.35rem; transition: color .2s ease, transform .25s var(--ease); }
.capability-card:hover .cap-arrow { color: var(--lime); transform: translate(4px, -4px); }

.solution-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 16px; }
.solution-card { min-height: 590px; padding: 28px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s ease; }
.solution-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.solution-featured { background: var(--graphite); color: #fff; }
.solution-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; font-weight: 820; letter-spacing: .14em; }
.solution-featured .solution-top { color: rgba(255,255,255,.58); }
.solution-card h3 { margin: auto 0 16px; font-size: clamp(1.7rem, 2.5vw, 2.7rem); line-height: 1.05; letter-spacing: -.04em; }
.solution-card p { min-height: 82px; margin: 0 0 28px; color: var(--muted); }
.solution-featured p { color: rgba(255,255,255,.64); }
.solution-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.solution-card li { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 700; }
.solution-featured li { color: #fff; border-color: rgba(255,255,255,.2); }
.solution-diagram { height: 210px; margin: 76px 0 34px; display: flex; align-items: center; justify-content: center; }
.solution-diagram img { width: 72px; animation: spin 13s linear infinite; }
.diagram-source { padding: 7px 9px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.55); font-size: .62rem; letter-spacing: .1em; }
.diagram-line { width: clamp(30px, 5vw, 94px); border-top: 1px dashed var(--lime); animation: dash-x 1.8s linear infinite; }
.data-bars { height: 245px; display: flex; align-items: end; gap: 8px; padding: 60px 10px 25px; }
.data-bars i { flex: 1; min-width: 10px; height: var(--h); background: color-mix(in srgb, var(--lime) 76%, var(--panel)); transform-origin: bottom; animation: bars 4.2s ease-in-out infinite; }
.data-bars i:nth-child(1) { --h: 28%; animation-delay: -.2s; }.data-bars i:nth-child(2) { --h: 45%; animation-delay: -.8s; }.data-bars i:nth-child(3) { --h: 68%; animation-delay: -1.1s; }.data-bars i:nth-child(4) { --h: 51%; animation-delay: -1.8s; }.data-bars i:nth-child(5) { --h: 82%; animation-delay: -2.2s; }.data-bars i:nth-child(6) { --h: 96%; animation-delay: -2.8s; }
.platform-window { height: 245px; margin: 0 -4px; padding: 58px 14px 22px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 8px 1fr; gap: 9px; }
.platform-window span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.platform-window i { grid-row: 2; border: 1px solid var(--line); background: linear-gradient(145deg, transparent, color-mix(in srgb, var(--lime) 12%, transparent)); position: relative; }
.platform-window i:first-of-type { grid-column: 1 / 3; }
.platform-window i::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px; height: 2px; background: var(--lime); transform-origin: left; animation: load-line 3.8s var(--ease) infinite; }

.approach-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 90px; }
.rotating-seal { flex: 0 0 140px; width: 140px; height: 140px; position: relative; }
.rotating-seal svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.rotating-seal text { fill: var(--muted); font: 800 8.8px var(--font); letter-spacing: 1.55px; }
.rotating-seal img { position: absolute; width: 48px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-strong); }
.process-step { min-height: 360px; padding: 28px; border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.process-step:last-child { border: 0; }
.process-step::after { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 50%; right: -98px; top: -98px; transition: width .5s var(--ease), height .5s var(--ease), border-color .5s ease; }
.process-step:hover::after { width: 280px; height: 280px; border-color: var(--lime); }
.process-step span { color: var(--lime); font-size: .7rem; font-weight: 820; }
.process-step h3 { margin: 132px 0 14px; font-size: 2rem; letter-spacing: -.04em; }
.process-step p { margin: 0; color: var(--muted); }

.contact { padding-block: clamp(80px, 10vw, 140px); }
.contact-panel { position: relative; min-height: 430px; padding: clamp(40px, 7vw, 94px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 60px; overflow: hidden; background: var(--lime); color: var(--graphite); }
.contact-panel::before { content: ""; position: absolute; width: 540px; height: 540px; right: -160px; top: -260px; border: 1px solid rgba(50,48,51,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(50,48,51,.04), 0 0 0 140px rgba(50,48,51,.04); }
.contact-panel .eyebrow { color: var(--graphite); opacity: .66; }
.contact-panel h2 { margin: 18px 0 18px; max-width: 850px; font-size: clamp(3rem, 6vw, 6.8rem); line-height: .93; letter-spacing: -.06em; }
.contact-panel p { max-width: 620px; margin: 0; font-size: 1.16rem; }
.contact-panel .button { position: relative; z-index: 2; align-self: end; white-space: nowrap; }
.contact-gear { position: absolute; right: -42px; top: -56px; width: 280px; opacity: .08; }
.contact-gear img { filter: brightness(0); animation: spin 24s linear infinite; }

.site-footer { padding-top: 80px; padding-bottom: 28px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.15fr .7fr 1fr; gap: 70px; padding-bottom: 78px; }
.footer-brand img { width: 190px; }
.footer-brand p { color: var(--muted); font-weight: 720; line-height: 1.35; }
.footer-links { display: grid; align-content: start; gap: 12px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--lime); }
.footer-action p { margin-top: 0; color: var(--muted); }
.text-link { padding: 0 0 7px; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; font-weight: 760; }
.text-link span { margin-left: 28px; color: var(--lime); }
.footer-bottom { min-height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.footer-gear { justify-self: end; width: 28px; padding: 0; border: 0; background: transparent; cursor: default; }
.footer-gear img { transition: transform .5s var(--ease); }
.footer-gear:hover img { transform: rotate(45deg); }

.brief-dialog { width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: auto; padding: 0; border: 1px solid var(--line-strong); background: var(--panel-strong); color: var(--text); box-shadow: var(--shadow); }
.brief-dialog::backdrop { background: rgba(4,4,5,.78); backdrop-filter: blur(12px); }
.dialog-shell { padding: clamp(24px, 5vw, 54px); }
.dialog-head { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.dialog-head span { color: var(--lime); font-size: .7rem; font-weight: 820; letter-spacing: .15em; }
.dialog-head h2 { margin: 12px 0 0; max-width: 560px; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.02; letter-spacing: -.045em; }
.dialog-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1.6rem; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid label > span, .form-grid legend { display: block; margin-bottom: 8px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-grid input, .form-grid textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); padding: 13px 0; border-radius: 0; outline: 0; background: transparent; color: var(--text); }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--lime); }
.form-grid textarea { resize: vertical; }
.field-wide { grid-column: 1 / -1; }
.form-grid fieldset { margin: 0; padding: 0; border: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-grid label { position: relative; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: block; padding: 13px 14px; border: 1px solid var(--line); cursor: pointer; color: var(--muted); font-size: .88rem; }
.choice-grid input:checked + span { border-color: var(--lime); color: var(--text); background: color-mix(in srgb, var(--lime) 8%, transparent); }
.dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; }
.dialog-foot p { margin: 0; max-width: 270px; color: var(--muted); font-size: .78rem; }
.toast { position: fixed; z-index: 120; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line-strong); background: var(--panel-strong); color: var(--text); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast img { width: 22px; animation: spin 4s linear infinite; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.boot-screen { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--bg); transition: opacity .65s ease, visibility .65s ease; }
.boot-screen.is-complete { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-noise { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle, #000 0, transparent 72%); }
.boot-lockup { --w: min(64vw, 670px); position: relative; width: var(--w); aspect-ratio: 2343 / 451; transform: translateY(-18px); }
.boot-gear { position: absolute; z-index: 2; left: 0; top: 0; width: 19.25%; height: auto; opacity: 0; transform-origin: center; }
.boot-gear-light, .boot-letters-light, html[data-theme="light"] .boot-gear-dark, html[data-theme="light"] .boot-letters-dark { display: none; }
html[data-theme="light"] .boot-gear-light, html[data-theme="light"] .boot-letters-light { display: block; }
.boot-letter-mask { position: absolute; z-index: 1; left: 20.7%; top: 0; width: 79.3%; height: 100%; overflow: hidden; clip-path: inset(0 100% 0 0); }
.boot-letters { position: absolute; width: 100%; height: 100%; object-fit: fill; }
.boot-tagline { position: absolute; top: 132%; right: 0; display: grid; justify-items: end; color: var(--text); font-weight: 820; font-size: clamp(.86rem, 1.8vw, 1.22rem); line-height: 1.22; letter-spacing: .01em; }
.boot-tagline span { display: block; width: 0; overflow: hidden; white-space: nowrap; border-right: 2px solid transparent; }
.boot-status { position: absolute; bottom: 42px; margin: 0; color: var(--muted); font-size: .65rem; font-weight: 780; letter-spacing: .18em; text-transform: uppercase; }
.boot-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.boot-progress span { display: block; width: 0; height: 100%; background: var(--lime); }
.boot-screen.is-running .boot-gear { animation: boot-gear 1.55s .12s var(--ease) forwards; }
.boot-screen.is-running .boot-letter-mask { animation: boot-letters .95s 1s var(--ease) forwards; }
.boot-screen.is-running .boot-tagline span:first-child { animation: type-line .62s 2.05s steps(15, end) forwards, caret .45s 2.05s 2; }
.boot-screen.is-running .boot-tagline span:last-child { animation: type-line .68s 2.72s steps(16, end) forwards, caret .45s 2.72s 3; }
.boot-screen.is-running .boot-progress span { animation: boot-progress 3.75s linear forwards; }

@keyframes boot-gear {
  0% { opacity: 0; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(2.45) rotate(-650deg); }
  12% { opacity: 1; }
  78% { opacity: 1; left: 0; top: 0; transform: translate(0, 0) scale(1.05) rotate(9deg); }
  100% { opacity: 1; left: 0; top: 0; transform: translate(0, 0) scale(1) rotate(0); }
}
@keyframes boot-letters { to { clip-path: inset(0 0 0 0); } }
@keyframes type-line { from { width: 0; } to { width: 100%; } }
@keyframes caret { 0%,100% { border-color: transparent; } 50% { border-color: currentColor; } }
@keyframes boot-progress { 0% { width: 0; } 40% { width: 48%; } 78% { width: 86%; } 100% { width: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { from { transform: translate(-50%, -50%) rotate(360deg); } to { transform: translate(-50%, -50%) rotate(0); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 55%, transparent); } 50% { box-shadow: 0 0 0 7px transparent; } }
@keyframes dash { to { stroke-dashoffset: -120; } }
@keyframes dash-x { to { background-position: 28px 0; } }
@keyframes scan { 50%,100% { transform: translateX(100%); } }
@keyframes bars { 0%,100% { transform: scaleY(.72); opacity: .52; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes load-line { 0% { transform: scaleX(.1); } 55%,100% { transform: scaleX(1); } }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 48px, 940px); }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: block; }
  .menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 150px; padding-bottom: 120px; }
  .hero-copy { max-width: 850px; }
  .system-visual { width: 100%; min-height: 540px; }
  .visual-core { height: 420px; }
  .scroll-cue { display: none; }
  .profile-grid, .section-heading-row { grid-template-columns: 1fr; gap: 38px; }
  .section-heading-row { align-items: start; }
  .section-lede { max-width: 650px; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .solution-featured { grid-column: 1 / -1; min-height: 540px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); --header-h: 70px; }
  body { background: var(--bg); }
  .site-header { padding-inline: 16px; }
  .brand { width: 124px; }
  .theme-label { display: none; }
  .theme-toggle { width: 42px; justify-content: center; padding: 0; }
  .hero { min-height: auto; padding-top: 132px; padding-bottom: 104px; gap: 70px; }
  .hero h1 { font-size: clamp(3rem, 14.5vw, 5.2rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-proof { margin-top: 36px; gap: 15px; }
  .system-visual { min-height: 470px; }
  .visual-core { height: 350px; }
  .orbit-two { width: 278px; height: 278px; }.orbit-one { width: 190px; height: 190px; }
  .core-gear { width: 82px; }.node { min-width: 74px; font-size: .56rem; }.node-data { top: 24px; left: 12px; }.node-ai { top: 34px; right: 10px; }
  .visual-foot strong { display: none; }
  .profile, .capabilities, .engagements, .approach { padding-block: 104px; }
  .section-index { margin-bottom: 36px; }
  .section-title { font-size: clamp(2.7rem, 12vw, 4.5rem); }
  .principle-rail { grid-template-columns: 1fr; margin-top: 60px; }
  .principle-rail article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-rail article:last-child { border-bottom: 0; }
  .principle-rail span { margin-bottom: 28px; }
  .capability-card { grid-template-columns: 36px 58px 1fr; gap: 14px; padding: 24px 0; }
  .capability-card:hover { padding-inline: 8px; }
  .cap-icon { width: 52px; height: 52px; }
  .cap-copy { display: block; }
  .cap-copy h3 { margin-bottom: 10px; }
  .cap-copy p { font-size: .92rem; }
  .cap-arrow { display: none; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-featured { grid-column: auto; }
  .solution-card { min-height: 520px; }
  .approach-intro { align-items: start; }
  .rotating-seal { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: 270px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: 0; }
  .process-step h3 { margin-top: 72px; }
  .contact-panel { min-height: 580px; grid-template-columns: 1fr; align-content: space-between; padding: 38px 26px; }
  .contact-panel h2 { font-size: clamp(3.3rem, 15vw, 5rem); }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 12px; }
  .footer-bottom > span:nth-child(2) { display: none; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .dialog-foot { display: grid; }
  .boot-lockup { --w: min(82vw, 520px); }
  .boot-tagline { top: 145%; }
}

@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; }
}
