/* Astrabeam — site styles */
:root {
  --bg: #0a0b0d;
  --bg-2: #111317;
  --line: #22262c;
  --fg: #ecedef;
  --dim: #8a9099;
  --accent: #ff6600;
  --live: #3dffa8;
  --light-bg: #f1f0ec;
  --light-fg: #15171a;
  --light-dim: #5d636b;
  --light-line: #d9d7d1;
  --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: "Inter Tight", system-ui, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .04em; }
.dim { color: var(--dim); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* TYPE */
h1, h2, .legal h1 {
  font-family: "Archivo", "Inter Tight", system-ui, sans-serif;
  font-stretch: 112%; font-weight: 600; letter-spacing: -.02em;
}
h1 { font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(34px, 4.8vw, 68px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.kicker { font-size: 15px; font-weight: 500; color: var(--accent); margin-bottom: 18px; }
.note { font-size: 13px; color: var(--dim); }

.btn {
  display: inline-block; padding: 14px 24px; background: var(--accent); color: #0a0b0d;
  font: 500 16px "Inter Tight", system-ui, sans-serif; border: 0; cursor: pointer; transition: background .2s;
}
.btn:hover { background: #ff8533; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(10,11,13,.92); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { height: 32px; width: auto; }
.logo-word { height: 13px; width: auto; }
.nav nav { display: flex; gap: 34px; font-size: 15px; color: #c3c7cd; }
.nav nav a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid #3a3f47; color: var(--fg); font: 500 14px "Inter Tight", sans-serif; padding: 8px 14px; cursor: pointer; }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #000 url(assets/hero-poster.jpg) center / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(10,11,13,.8) 0%, rgba(10,11,13,.35) 50%, rgba(10,11,13,0) 80%),
    linear-gradient(to top, rgba(10,11,13,.9) 0%, rgba(10,11,13,0) 45%),
    linear-gradient(to bottom, rgba(10,11,13,.5) 0%, rgba(10,11,13,0) 20%);
}
.hero-copy { position: absolute; z-index: 2; left: 32px; bottom: 13vh; max-width: min(1000px, calc(100% - 64px)); }
.hero .kicker { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.lede { margin: 24px 0 32px; font-size: 19px; line-height: 1.5; color: #d6d9dd; max-width: 540px; }
.video-toggle { position: absolute; z-index: 2; right: 32px; bottom: 28px; background: none; border: 0; color: #b5bac1; font: 500 13px "Inter Tight", sans-serif; cursor: pointer; }
.video-toggle:hover { color: #fff; }

/* SECTIONS */
.section { padding: 120px 0; }
.split-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.split-head > * { min-width: 0; }
.split-head p { color: #b5bac1; font-size: 18px; }
.split-head p + p { margin-top: 16px; }
.split-head a { text-decoration: underline; text-underline-offset: 3px; }

/* VISION */
.vision { border-bottom: 1px solid var(--line); }
.vision-lead { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.22; letter-spacing: -.02em; font-weight: 500; max-width: 1040px; }
.vision-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; max-width: 1040px; color: #b5bac1; font-size: 18px; }

/* POV */
.pov-frame { border: 1px solid var(--line); background: #000; }
.pov-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.pov-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 14px; }
.pov-toggle { flex: none; background: none; border: 1px solid var(--line); color: #b5bac1; font: 500 13px "Inter Tight", sans-serif; padding: 7px 12px; cursor: pointer; }
.pov-toggle:hover { color: #fff; }

/* PLATFORM */
.platform { background: var(--bg-2); border-block: 1px solid var(--line); }
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 48px; }
.layer { min-width: 0; }
.diag { border: 1px solid var(--line); background: #0b0c0f; }
.diag-svg { display: block; width: 100%; height: auto; }
.layer-body { padding-top: 24px; }
.layer-label { font-size: 14px; color: var(--accent); font-weight: 500; }
.layer h3 { font-size: 26px; margin: 6px 0 12px; }
.layer p { color: #b5bac1; font-size: 16px; }
.layer p + p { margin-top: 12px; }

/* IMAGE BAND */
.band { position: relative; margin: 0; }
.band img { display: block; width: 100%; height: min(78vh, 760px); object-fit: cover; }
.band figcaption { position: absolute; left: 0; right: 0; bottom: 24px; color: #c3c7cd; font-size: 14px; }

/* USE CASES */
.uc-list { list-style: none; border-bottom: 1px solid var(--line); }
.uc {
  display: grid; grid-template-columns: 56px 1fr 1.45fr 220px; gap: 28px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.uc > * { min-width: 0; }
.uc-n { color: var(--dim); font-size: 14px; padding-top: 4px; font-variant-numeric: tabular-nums; }
.uc h3 { font-size: 24px; }
.uc-text p { color: #b5bac1; font-size: 16px; }
.uc-tag { display: block; font-size: 13px; color: var(--dim); margin-top: 10px; }
.uc img { grid-column: 4; grid-row: 1; width: 100%; height: auto; aspect-ratio: 800 / 520; object-fit: cover; filter: saturate(.8) brightness(.9); transition: filter .4s; }
.uc:hover img { filter: none; }
.uc:hover h3 { color: var(--accent); }

/* QUOTES */
.quotes-sec { border-top: 1px solid var(--line); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 72px; margin-top: 56px; }
.quote blockquote { font-size: clamp(21px, 2vw, 27px); line-height: 1.35; letter-spacing: -.015em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.quote figcaption img { width: 44px; height: 44px; object-fit: contain; background: #fff; padding: 5px; }
.quote figcaption span { display: flex; flex-direction: column; font-size: 14px; color: var(--dim); }
.quote figcaption b { color: var(--fg); font-weight: 500; font-size: 15px; }

/* LIGHT SECTIONS */
.light { background: var(--light-bg); color: var(--light-fg); }
.light .split-head p { color: #3c4148; }
.light .section + .section { padding-top: 0; }
.group { font-size: 15px; font-weight: 500; color: var(--light-dim); margin: 64px 0 22px; padding-top: 20px; border-top: 1px solid var(--light-line); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.person { margin: 0; min-width: 0; }
.person img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #ddd; filter: grayscale(1) contrast(1.03); transition: filter .4s; }
.person:hover img, .person:focus-within img { filter: none; }
.person figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--light-dim); }
.person b { color: var(--light-fg); font-size: 17px; font-weight: 500; }
.p-org { font-size: 14px; }
.p-li { font-size: 14px; color: var(--light-fg); margin-top: 4px; }
.p-li:hover { color: var(--accent); }

.news { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.news li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--light-line); }
.news img { flex: none; width: 76px; height: 76px; object-fit: contain; background: #fff; border: 1px solid var(--light-line); padding: 4px; }
.news b { font-size: 17px; font-weight: 500; }
.news p { font-size: 15px; color: var(--light-dim); margin-top: 2px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-intro { color: #b5bac1; font-size: 18px; margin-top: 20px; max-width: 460px; }
.contact-list { display: grid; grid-template-columns: 80px 1fr; gap: 12px 16px; margin-top: 36px; font-size: 17px; }
.contact-list dd a { border-bottom: 1px solid #3a3f47; }
.contact-list dt { color: var(--dim); }
.contact-list a:hover { color: var(--accent); }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; color: var(--dim); font-size: 15px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-logo { width: 150px; height: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 64px; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols b { color: var(--fg); font-weight: 500; margin-bottom: 4px; }
.foot-cols a:hover { color: var(--fg); }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-bottom a:hover, .foot a:hover { color: var(--fg); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }

/* LEGAL / 404 */
.legal { padding-top: 160px; min-height: 80vh; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 18px; text-transform: none; font-stretch: 112%; }
.legal h2 { font-size: 20px; margin: 44px 0 12px; }
.legal p, .legal li { color: #b5bac1; font-size: 17px; line-height: 1.65; }
.legal ul { margin: 12px 0 12px 20px; }
.legal a:not(.btn) { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.legal .eyebrow { color: var(--accent); font-size: 14px; margin-bottom: 16px; }
.legal .tiny { font-size: 12px; color: var(--dim); }
.notfound p { margin-bottom: 28px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .nav nav#site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(10,11,13,.97); border-bottom: 1px solid var(--line);
  }
  .nav nav#site-nav.open { display: flex; }
  .nav nav#site-nav a { padding: 16px 32px; border-top: 1px solid var(--line); color: var(--fg); font-size: 17px; }
  .nav-toggle { display: block; }
  .split-head, .vision-cols, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .layers, .quotes, .news { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .uc { grid-template-columns: 40px 1fr 180px; }
  .uc-text { grid-column: 2; }
  .uc img { grid-column: 3; grid-row: 1 / span 2; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 14px 16px; }
  .nav nav#site-nav a { padding: 16px; }
  .hero-copy { left: 16px; right: 16px; }
  .section { padding: 80px 0; }
  .uc { grid-template-columns: 1fr; gap: 10px; }
  .uc-n, .uc h3, .uc-text, .uc img { grid-column: 1; grid-row: auto; }
  .uc img { order: -1; }
    .foot-cols { grid-template-columns: 1fr; }
  .diag-svg text { font-size: 13px; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* FLIGHT REPLAY */
.fl-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.fl-head h2 { margin-bottom: 0; }
.fl-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fl-panel { position: relative; background: #050608; overflow: hidden; }
.fl-cam video { display: block; width: 100%; height: auto; aspect-ratio: 960 / 1080; object-fit: cover; background: #000; }
.fl-3d { min-height: 480px; }
#fl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#fl-canvas:active { cursor: grabbing; }
.fl-tag { position: absolute; z-index: 2; top: 14px; left: 14px; font-size: 10px; padding: 5px 8px; background: rgba(5,6,8,.75); color: var(--fg); }
.fl-tag-depth { top: auto; bottom: calc(33.33% - 30px); }
.fl-tag-depth2 { top: auto; left: calc(50% + 14px); bottom: calc(33.33% - 30px); }
.fl-mode { position: absolute; z-index: 2; top: 14px; right: 14px; font-size: 10px; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.fl-mode::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4e545c; }
.fl-mode.on { color: var(--live); }
.fl-mode.on::before { background: var(--live); box-shadow: 0 0 10px var(--live); }
.fl-legend { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 10px; color: var(--dim); }
.fl-legend span { display: flex; align-items: center; gap: 7px; }
.fl-legend i { width: 14px; height: 2px; display: inline-block; }
.fl-legend b { color: var(--fg); font-weight: 500; }
.lg-red { background: #ff4d3d; height: 10px !important; width: 10px !important; border-radius: 50%; border: 1px solid #ff4d3d; background: transparent !important; }
.lg-green { background: #3dffa8; }
.lg-blue { background: #4da3ff; }
.fl-hint { position: absolute; z-index: 2; right: 14px; bottom: 14px; font-size: 10px; color: #4e545c; }

.fl-bar { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.fl-play { width: 44px; height: 44px; flex: none; background: var(--accent); color: #000; border: 0; font-size: 14px; cursor: pointer; }
.fl-play:hover { background: #ff8533; }
.fl-track { position: relative; flex: 1; height: 44px; }
#fl-band { position: absolute; left: 0; right: 0; top: 14px; width: 100%; height: 16px; display: block; }
#fl-scrub { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
#fl-scrub::-webkit-slider-runnable-track { height: 44px; background: transparent; }
#fl-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 44px; background: var(--fg); box-shadow: 0 0 0 3px rgba(236,238,241,.15); }
#fl-scrub::-moz-range-track { height: 44px; background: transparent; }
#fl-scrub::-moz-range-thumb { width: 2px; height: 44px; border: 0; border-radius: 0; background: var(--fg); }
.fl-time { font-size: 12px; color: var(--dim); min-width: 110px; text-align: right; }
.fl-key { display: flex; gap: 22px; margin: 10px 0 0 62px; font-size: 10px; color: var(--dim); }
.fl-key span { display: flex; align-items: center; gap: 7px; }
.fl-key i { width: 14px; height: 6px; display: inline-block; }
.k-off { background: rgba(61,255,168,.55); }
.k-obs { background: rgba(255,77,61,.8); }

.fl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.fl-stats div { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.fl-stats span { font-size: 10px; color: var(--dim); }
.fl-stats b { font-size: 44px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fl-stats em { font-style: normal; font-size: 10px; color: var(--dim); }

.fl-loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.fl-loop div { background: var(--bg-2); padding: 24px 22px; }
.fl-loop span { font-size: 11px; color: var(--accent); }
.fl-loop p { margin-top: 10px; color: #a9afb8; font-size: 14px; line-height: 1.5; }
.fl-loop .fl-next { background: rgba(255,102,0,.08); }
.fl-note { margin-top: 18px; }

@media (max-width: 960px) {
  .fl-head { grid-template-columns: 1fr; gap: 24px; }
  .fl-grid { grid-template-columns: 1fr; }
  .fl-3d { min-height: 380px; }
  .fl-stats { grid-template-columns: 1fr 1fr; }
  .fl-loop { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fl-stats b { font-size: 32px; }
  .fl-loop { grid-template-columns: 1fr; }
  .fl-key { margin-left: 0; flex-wrap: wrap; }
  .fl-legend { gap: 10px; }
  .fl-hint { display: none; }
}

/* flight section sits on the redesigned type scale */
.flight .fl-head h2 { font-size: clamp(28px, 3.2vw, 44px); }
.flight .body { color: #b5bac1; font-size: 18px; }
.flight .fl-loop span { font-size: 12px; color: var(--accent); }
.flight .tiny { font-size: 12px; color: var(--dim); }
@media (max-width: 1000px) { .fl-head { grid-template-columns: 1fr; gap: 24px; } }

/* USE CASES: card grid (first design) */
.uc-title { font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.06; }
.apps-intro { color: #b5bac1; font-size: 18px; max-width: 560px; margin-top: 22px; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 50px; }
.app { background: var(--bg); display: flex; flex-direction: column; padding-bottom: 26px; transition: background .3s; min-width: 0; }
.app:hover { background: var(--bg-2); }
.app img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 520; object-fit: cover; filter: saturate(.85) brightness(.85); transition: filter .4s; }
.app:hover img { filter: none; }
.app .idx { font-size: 12px; color: var(--dim); margin: 18px 24px 8px; }
.app h3 { font-size: 20px; margin: 0 24px; }
.app p { color: var(--dim); font-size: 15px; line-height: 1.5; margin: 10px 24px 0; }
.app .tag { margin: auto 24px 0; padding-top: 22px; font-size: 11px; color: var(--accent); }
@media (max-width: 1100px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .apps { grid-template-columns: 1fr; } }
.news-link { display: flex; gap: 20px; align-items: flex-start; width: 100%; }
.news-link:hover b { color: var(--accent); }
.news-link b::after { content: " ↗"; color: var(--light-dim); font-weight: 400; }
.band-inline img { height: auto; aspect-ratio: 16 / 9; max-height: 680px; border: 1px solid var(--line); }
.band-inline figcaption { position: static; margin-top: 14px; color: var(--dim); font-size: 13px; }
.p-bio { font-size: 14px; line-height: 1.5; color: var(--light-dim); margin-top: 8px; }

/* CONTACT FORM (mirrors the restyled Squarespace Form Block) */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form > * { min-width: 0; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--dim); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: var(--bg-2); border: 1px solid #2c3138; color: var(--fg);
  font: 16px "Inter Tight", sans-serif; padding: 12px 14px; border-radius: 0; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form [aria-invalid="true"] { border-color: #ff4d4d; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot .note { flex: 1; min-width: 200px; }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; } }

/* Dropdown: match the text fields, custom chevron */
.contact-form select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  height: 46px; line-height: 1.2; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23ff6600' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.contact-form input { height: 46px; }
.contact-form select:invalid, .contact-form select.is-empty { color: var(--dim); }
.contact-form select option { background: var(--bg-2); color: var(--fg); }
.contact-form select:hover, .contact-form input:hover, .contact-form textarea:hover { border-color: #3d434b; }

.contact-grid.contact-only { grid-template-columns: 1.2fr 1fr; align-items: end; }
