:root {
  --bg: #050608;
  --ink: #eceef2;
  --muted: #a9adb6;
  --dim: #6f7480;
  --accent: #6fd3dc;
  --line: rgba(255, 255, 255, .09);
  --pad: clamp(20px, 4.5vw, 72px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* deep space: nebula, sun, orbits, planets (behind the star canvas) */
.space { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #040507; }
.nebula { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; opacity: .55; will-change: transform; }
.sun { position: absolute; left: 30vw; top: 11vh; width: 1px; height: 1px; z-index: 1; }
.sun::before { content: ""; position: absolute; left: -26vmin; top: -26vmin; width: 52vmin; height: 52vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,190,120,.16) 0, rgba(255,160,90,.06) 30%, transparent 60%);
  animation: sunPulse 9s ease-in-out infinite; }
@keyframes sunPulse { 50% { filter: brightness(1.08); } }
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(170,200,230,.10); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbits ellipse { vector-effect: non-scaling-stroke; }
/* planets sit above the vignette so they keep their colour, but under the helmet and text */
.orbitals { position: fixed; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
#planets { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.planet { position: absolute; left: 0; top: 0; will-change: transform; filter: drop-shadow(0 0 18px rgba(120,170,255,.18)); }
.planet.earth { width: clamp(70px, 7.5vw, 150px); }
.planet.moon { width: clamp(20px, 2vw, 40px); z-index: 3; }
.planet.mars { width: clamp(40px, 4vw, 84px); filter: drop-shadow(0 0 14px rgba(255,140,80,.18)); }
#sky { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; pointer-events: none; }
.stage-wrap { position: fixed; inset: 0; z-index: 4; overflow: hidden; perspective: 1400px; pointer-events: none; }
.stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1088px; transform-origin: 0 0; will-change: transform; }
.stage .tilt { position: absolute; inset: 0; }
.hero-img { position: absolute; left: 0; top: 0; width: 1920px; height: 1088px; display: block;
}
.visor { position: absolute; left: 900px; top: 240px; width: 660px; height: 660px; pointer-events: auto; cursor: pointer;
  -webkit-mask-image: url(../img/visor_mask.png); mask-image: url(../img/visor_mask.png);
  -webkit-mask-size: 1920px 1088px; mask-size: 1920px 1088px; -webkit-mask-position: -900px -240px; mask-position: -900px -240px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
#reel { position: absolute; inset: 0; width: 100%; height: 100%; }
.glass { position: absolute; inset: 0; transition: transform 1.1s cubic-bezier(.6,.05,.25,1);
  background: radial-gradient(90% 80% at 40% 35%, rgba(18,14,10,.55), rgba(4,4,6,.82)); }
.glass img { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .95; }
.visor-open .glass { transform: translateY(-104%); }
.vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,6,8,.92) 0%, rgba(5,6,8,.55) 32%, rgba(5,6,8,0) 58%),
              radial-gradient(120% 90% at 70% 50%, transparent 55%, rgba(0,0,0,.6) 100%); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; gap: 28px;
  padding: calc(22px + env(safe-area-inset-top, 0px)) var(--pad) 22px; }
.nav { transition: background .35s, padding .35s, backdrop-filter .35s; }
.nav.scrolled { background: rgba(5,6,8,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto;
  font: 700 23px/1 "DM Sans", system-ui, sans-serif; letter-spacing: .02em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand b { font-weight: inherit; }
.links { display: flex; gap: 34px; font-weight: 500; font-size: 15px; color: #c9ccd3; }
.links a:hover { color: #fff; }
.lang { display: flex; gap: 6px; font-size: 13px; color: var(--dim); }
.lang button { font-size: 13px; color: var(--dim); }
.lang .on { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 28px; border-radius: 99px;
  font-weight: 600; font-size: 16px; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 12px; height: 14px; fill: currentColor; }
.btn-light { background: #f0f0f3; color: #0c0c0e; }
.btn-ghost { border: 1.5px solid rgba(220, 223, 230, .7); }
.talk { height: 46px; }
.sound { display: flex; align-items: flex-end; gap: 3px; height: 22px; width: 26px; opacity: .55; }
.sound i { width: 3px; height: 4px; background: var(--ink); border-radius: 2px; }
.sound.on { opacity: 1; }
.sound.on i { animation: eq 1s ease-in-out infinite; }
.sound.on i:nth-child(2) { animation-delay: -.3s; } .sound.on i:nth-child(3) { animation-delay: -.6s; } .sound.on i:nth-child(4) { animation-delay: -.8s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 20px; } }
.houston { position: fixed; right: var(--pad); bottom: 96px; z-index: 6; text-align: right; pointer-events: none;
  opacity: 0; transform: translateY(14px); transition: opacity .6s .9s, transform .6s .9s; }
.visor-open .houston { opacity: 1; transform: none; }
.houston .radio { font: 500 15px/1.4 "Courier New", monospace; color: var(--accent); letter-spacing: .06em; }
.houston .answer { font-size: clamp(34px, 3.6vw, 60px); margin-top: 6px; }
.burger { display: none; width: 34px; height: 24px; position: relative; }
.burger i { position: absolute; left: 0; right: 0; height: 3px; background: var(--ink); border-radius: 2px; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 10px; } .burger i:nth-child(3) { top: 20px; }

/* hero */
.hero { position: relative; z-index: 5; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 140px; max-width: 900px; pointer-events: none; }
.hero > * { pointer-events: auto; }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .12em; margin-bottom: 14px; }
.chrome { font: 700 clamp(56px, 7.6vw, 132px)/.92 "DM Sans", system-ui, sans-serif; letter-spacing: -.005em; }
.chrome span { display: block;
  background: linear-gradient(180deg, #ffffff 0%, #d4d8de 40%, #5e636c 52%, #e3e6ea 63%, #a4a9b2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)); }
.sub { margin-top: 28px; max-width: 520px; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.55; color: #bfc3cb; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hint { margin-top: 26px; font-size: 13px; color: var(--dim); letter-spacing: .04em; }

.ticker { position: absolute; top: calc(100vh - 64px); left: 0; right: 0; z-index: 5; height: 64px; overflow: hidden;
  border-top: 1px solid var(--line); display: flex; align-items: center; }
.ticker .track { display: flex; gap: 46px; white-space: nowrap; animation: tick 40s linear infinite;
  font-weight: 600; font-size: 14px; letter-spacing: .08em; color: #858a95; padding-left: var(--pad); }
@keyframes tick { to { transform: translateX(-50%); } }

.spacer { position: relative; z-index: 5; height: 120vh; display: flex; align-items: center; justify-content: center; color: var(--dim); }

.loader { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: grid; place-items: center; transition: opacity .8s; }
.loader.done { opacity: 0; pointer-events: none; }
.loader .bar { width: 160px; height: 2px; background: #1b1d22; overflow: hidden; }
.loader .bar i { display: block; height: 100%; width: 0; background: #e8eaee; transition: width .3s; }

@media (max-width: 1100px) { .links, .lang { display: none; } }
@media (max-width: 760px) {
  .talk { display: none; }
  .burger { display: block; }
  .brand { font-size: 21px; } .brand img { width: 38px; height: 38px; } .brand b { display: none; }
  .sound { margin-left: auto; }
  .vignette { background: linear-gradient(180deg, rgba(5,6,8,0) 0%, rgba(5,6,8,.15) 40%, rgba(5,6,8,.92) 68%); }
  .hero { justify-content: flex-end; padding-bottom: 110px; }
  .chrome { font-size: clamp(54px, 15vw, 84px); }
  .sub { margin-top: 18px; }
  .cta .btn { flex: 1; justify-content: center; padding: 0 18px; }
  .hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ticker .track { animation: none; } }

/* ===== sections below the hero ===== */
html { scroll-behavior: smooth; }
.ticker { position: relative; top: auto; margin-top: -64px; }
.content { position: relative; z-index: 5; background: linear-gradient(180deg, rgba(5,6,8,0) 0, rgba(5,6,8,.86) 140px, rgba(5,6,8,.94) 100%); }
.content > section { padding: clamp(80px, 12vw, 160px) var(--pad); }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .16em; margin-bottom: 22px; }
.big { font: 700 clamp(34px, 4.6vw, 76px)/1.04 "DM Sans", system-ui, sans-serif; max-width: 1150px; letter-spacing: -.005em; }
.title { font: 700 clamp(36px, 4.2vw, 68px)/1 "DM Sans", system-ui, sans-serif; margin-bottom: 48px; }
.statement .btn { margin-top: 40px; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* three directions */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 28px; background: rgba(255,255,255,.02);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s, background .4s; overflow: hidden; }
.card:hover { transform: translateY(-6px); border-color: rgba(111,211,220,.4); background: rgba(255,255,255,.04); }
.card img { width: 100%; height: auto; aspect-ratio: 640/396; object-fit: cover; border-radius: 14px; display: block; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.04); }
.card .num { display: block; margin: 22px 6px 6px; color: var(--dim); font-weight: 600; font-size: 13px; letter-spacing: .1em; }
.card h3 { margin: 0 6px 10px; font: 700 34px/1 "DM Sans", system-ui, sans-serif; }
.card p { margin: 0 6px; color: var(--muted); line-height: 1.6; font-size: 16px; }

/* industries list with cursor peek */
.industries { position: relative; }
.ind-list { list-style: none; border-top: 1px solid var(--line); }
.ind-list li { display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 20px; padding: 26px 6px; border-bottom: 1px solid var(--line); cursor: default;
  transition: padding .4s, color .3s; }
.ind-list .n { color: var(--dim); font-size: 13px; font-weight: 600; }
.ind-list b { font: 700 clamp(30px, 3.6vw, 56px)/1 "DM Sans", system-ui, sans-serif; color: #d8dbe0; transition: color .3s; }
.ind-list em { font-style: normal; color: var(--dim); font-size: 15px; text-align: right; }
.ind-list li:hover { padding-left: 22px; }
.ind-list li:hover b { color: #fff; }
.ind-peek { position: fixed; left: 0; top: 0; width: 340px; height: 210px; object-fit: cover; border-radius: 16px; pointer-events: none; z-index: 20;
  opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .25s, transform .35s; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.ind-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: #07080b; border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px 38px; min-height: 220px; }
.steps span { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .1em; }
.steps b { display: block; margin: 18px 0 10px; font: 700 34px/1 "DM Sans", system-ui, sans-serif; }
.steps p { color: var(--muted); line-height: 1.6; }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 70px !important; padding-bottom: 70px !important; }
.numbers b { display: block; font: 700 clamp(40px, 4.6vw, 72px)/1 "DM Sans", system-ui, sans-serif;
  background: linear-gradient(180deg, #fff 0%, #d4d8de 40%, #5e636c 52%, #e3e6ea 63%, #a4a9b2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { color: var(--muted); font-size: 15px; }

/* live demo chat */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.demo-text p:not(.eyebrow) { color: var(--muted); line-height: 1.7; font-size: 18px; max-width: 520px; }
.chat { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.025); padding: 18px; }
.chat-log { height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 6px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; line-height: 1.5; font-size: 15px; white-space: pre-wrap; }
.msg.bot { background: #11141a; border: 1px solid var(--line); align-self: flex-start; }
.msg.me { background: #e9ebef; color: #0c0c0e; align-self: flex-end; }
.msg.typing { color: var(--dim); }
.chat-form { display: flex; gap: 10px; margin-top: 12px; }
.chat-form input { flex: 1; height: 52px; border-radius: 99px; border: 1px solid var(--line); background: #0b0d11; color: var(--ink); padding: 0 20px; font: inherit; }
.chat-form input:focus, .lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; border-color: rgba(111,211,220,.6); }

/* contact form */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.direct { margin-top: 26px; color: var(--muted); font-size: 18px; } .direct a { color: var(--ink); border-bottom: 1px solid var(--line); }
.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.lead .wide { grid-column: 1 / -1; }
.lead input, .lead select, .lead textarea { background: #0b0d11; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font: inherit; font-size: 16px; padding: 14px 16px; }
.lead textarea { resize: vertical; }
.lead .btn { grid-column: 1 / -1; justify-content: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { grid-column: 1 / -1; color: var(--accent); min-height: 1.4em; }

/* footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 40px var(--pad) calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 12px; font: 700 20px/1 "DM Sans", system-ui, sans-serif; }
.foot-brand img { border-radius: 50%; }
.foot-links { display: flex; flex-wrap: wrap; gap: 26px; color: var(--muted); font-size: 14px; } .foot-links a:hover { color: #fff; }
.copy { width: 100%; color: var(--dim); font-size: 13px; }

/* reel modal */
.reel-modal { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
.reel-modal::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(6px); }
.reel-modal video { width: 100%; border-radius: 18px; display: block; background: #000; }
.reel-modal .close { position: absolute; top: -48px; right: 0; font-size: 38px; color: #fff; line-height: 1; }

@media (max-width: 980px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .demo, .contact { grid-template-columns: 1fr; gap: 36px; }
  .ind-list li { grid-template-columns: 44px 1fr; } .ind-list em { grid-column: 2; text-align: left; }
  .ind-peek { display: none; }
}
@media (max-width: 560px) { .lead { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* comet cursor (mouse only) */
.comet { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1000; pointer-events: none; }
.comet-on, .comet-on body, .comet-on a, .comet-on button, .comet-on .visor, .comet-on select, .comet-on label { cursor: none; }
.comet-on input, .comet-on textarea { cursor: text; }
