:root {
  --bg: #050608;
  --text: #f5f5f7;
  --muted: #86868b;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #7eb6ff;
  --header: rgba(5, 6, 8, 0.72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 0.7rem; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
p { margin: 0 0 1rem; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4d8dff, #f5f5f7);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 40;
}
.orb {
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.orb-a {
  top: -12vw;
  left: 28vw;
  background: rgba(70, 130, 255, 0.22);
  animation: drift 22s ease-in-out infinite;
}
.orb-b {
  top: 40vh;
  right: -12vw;
  background: rgba(40, 80, 180, 0.16);
  animation: drift 28s ease-in-out infinite reverse;
}
@keyframes drift {
  50% { transform: translate3d(6vw, 8vh, 0) scale(1.08); }
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.lead, .section-head p, .about p, .pilot p, .cta p, .statement blockquote p {
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 5vw;
  background: transparent;
}
.site-header.scrolled {
  background: var(--header);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { position: relative; z-index: 2; }
.brand img { height: 48px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; color: var(--muted); font-size: 0.92rem; }
.site-nav a:hover { color: white; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 980px;
  padding: 0.72rem 1.15rem;
  font-weight: 500;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.nav-cta, .btn-primary { background: #f5f5f7; color: #0b0c0f; }
.nav-cta:hover, .btn-primary:hover { background: white; transform: scale(1.03); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 0;
  border-radius: 980px;
  padding: 0.45rem 0.9rem;
  position: relative;
  z-index: 2;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

.wrap, .hero, .audience, .capabilities, .statement, .tela, .roles, .pilot, .about, .faq, .cta, .site-footer {
  width: min(1180px, calc(100% - 10vw));
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6.2rem 0 1.5rem;
  text-align: center;
}
.hero h1 span { color: #6e6e73; }
.hero .lead { max-width: 680px; margin: 0.4rem auto 1.6rem; }
.hero-actions { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }

.stage {
  position: relative;
  margin-top: 1.8rem;
  perspective: 1400px;
}
.stage-glow {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 8%;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(90, 150, 255, 0.45), transparent 68%);
  filter: blur(8px);
}
.stage-floor {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 240px;
  background-image:
    linear-gradient(rgba(140, 180, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 180, 255, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: rotateX(68deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  pointer-events: none;
}
.stage-slab {
  position: relative;
  margin: 0 auto;
  width: min(920px, 100%);
  border-radius: 22px;
  overflow: hidden;
  transform: rotateX(8deg);
  transform-style: preserve-3d;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #0b0d12;
  transition: transform 0.45s ease;
}
.stage-slab img {
  display: block;
  width: 100%;
  height: min(44vh, 460px);
  object-fit: cover;
  object-position: center 22%;
}
.sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: sweep 7.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
.stage-caption {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.audience { padding: 1rem 0 2rem; text-align: center; }
.audience > p { color: var(--muted); margin-bottom: 1rem; font-size: 0.92rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  margin: 0;
  padding: 0.4rem 0 1rem;
  list-style: none;
  animation: ticker 36s linear infinite;
}
.marquee-track li {
  color: #d2d2d7;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.marquee-track li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 2.4rem;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: middle;
  box-shadow: 0 0 12px var(--blue);
}
@keyframes ticker { to { transform: translateX(-50%); } }

.capabilities, .tela, .roles, .faq { padding: 5.5rem 0 1rem; }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.section-head p:last-child { margin-bottom: 0; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.cap-grid article {
  min-height: 250px;
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: transform 0.45s ease, border-color 0.45s ease, background 0.45s ease;
}
.cap-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 182, 255, 0.45);
  background: linear-gradient(180deg, rgba(80, 130, 255, 0.16), rgba(255, 255, 255, 0.02));
}
.cap-grid span {
  display: block;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}
.cap-grid h3 { font-size: 1.35rem; }
.cap-grid p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.statement {
  margin-top: 5rem;
  padding: 6rem 0;
  width: min(1180px, calc(100% - 10vw));
}
.statement h2 { max-width: 16ch; }
.statement blockquote { margin: 1.5rem 0 2.2rem; max-width: 640px; }
.statement blockquote p { margin: 0; font-size: 1.2rem; }
.spec-list { margin: 0; padding: 0; list-style: none; }
.spec-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}
.spec-list strong { font-weight: 500; }
.spec-list span { color: var(--muted); }

.film { margin: 0; }
.film video {
  display: block;
  width: 100%;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}
.film figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.2rem 0;
}
.film figcaption span { color: var(--muted); }
.film-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.reel-wrap { margin-top: 3rem; }
.reel-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.8rem;
}
.reel-label p { margin: 0; }
.reel {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.reel figure {
  flex: 0 0 min(460px, 82vw);
  margin: 0;
  scroll-snap-align: start;
}
.reel a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.reel a:hover { transform: translateY(-4px); border-color: rgba(126, 182, 255, 0.4); }
.reel img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #0b0d12;
}
.reel figcaption { padding: 0.7rem 0.15rem 0; color: var(--muted); font-size: 0.92rem; }

.role-list article {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.role-list h3 { margin: 0; font-size: 1.35rem; }
.role-list p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.pilot {
  position: relative;
  margin-top: 5rem;
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}
.pilot-light {
  position: absolute;
  left: 50%;
  top: 10%;
  width: 70%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(80, 140, 255, 0.22), transparent 68%);
  pointer-events: none;
}
.pilot h2, .cta h2 { margin-left: auto; margin-right: auto; }
.pilot p, .cta p { max-width: 640px; margin-left: auto; margin-right: auto; }
.pilot .btn, .cta .btn { margin-top: 0.6rem; }

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: end;
  padding: 4rem 0 2rem;
}
.about p { margin: 0; }

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1.15rem 0;
}
.faq-list summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--muted); max-width: 68ch; margin: 0.8rem 0 0.2rem; }

.cta { padding: 5rem 0 4rem; text-align: center; }

.site-footer {
  padding: 2rem 0 2.6rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-brand, .footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer-brand p, .footer-base p { margin: 0; }
.footer-brand .brand img { height: 42px; }
.footer-brand a, .footer-base a:hover { color: white; }
.footer-products { margin: 1.6rem 0 1.2rem; }
.footer-products p {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-products nav, .footer-base nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.footer-products a, .footer-products .is-current { color: var(--muted); }
.footer-products a:hover { color: white; }
.footer-products .is-current { color: white; font-weight: 500; }
.footer-base { padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.92rem; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }
.cap-grid article:nth-child(2) { transition-delay: 0.08s; }
.cap-grid article:nth-child(3) { transition-delay: 0.16s; }
.cap-grid article:nth-child(4) { transition-delay: 0.24s; }
.cap-grid article.is-in:hover { transform: translateY(-8px); }

@media (max-height: 760px) {
  .hero { padding-top: 4.8rem; }
  .hero .lead { font-size: 1rem; margin-bottom: 1rem; }
  .stage { margin-top: 1.1rem; }
  .stage-slab img { height: 250px; }
}

@media (max-width: 900px) {
  .cap-grid, .film-grid, .about, .role-list article, .spec-list li { grid-template-columns: 1fr; }
  .role-list article, .spec-list li { gap: 0.35rem; }
  .hero { min-height: auto; padding-top: 5.5rem; text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .hero .lead { margin-left: 0; }
  .stage { min-height: 0; }
  .stage-slab img, .reel img { height: auto; max-height: 360px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.3rem;
    z-index: 1;
    padding: 6rem 8vw;
    background: #050608;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav .nav-cta { font-size: 1rem; }
  .footer-brand, .footer-base { flex-direction: column; align-items: flex-start; }
  .capabilities, .tela, .roles, .faq { padding-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .sweep, .marquee-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .stage-slab { transition: none; }
}
