/* ==================================================================== *
 * STARTUP WORLD: content floats over the hologram Earth.
 *
 * No backdrop-filter here: blurring a canvas that redraws every frame
 * made the scroll stutter, and it smeared the hologram's bright stripes
 * into its dark body, so the planet showed as a black disc behind cards.
 * ==================================================================== */
html[data-world="startup"] body { background: #03060a; color: #e6f7ff; }
html[data-world="startup"] body.no-gl { background: radial-gradient(60% 50% at 75% 30%, rgba(76,233,255,.18), transparent 70%), #03060a; }

.su { --acc: #4ce9ff; --ink: #e6f7ff; --dim: #7c97a6; --glass: rgba(6,14,22,.86); font-family: Onest, sans-serif; color: var(--ink); position: relative; }
.su ::selection { background: var(--acc); color: #02141a; }

.su-top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 26px; padding: 18px max(20px, 5vw);
  background: rgba(3,6,10,.9);
  border-bottom: 1px solid rgba(76,233,255,.1);
}
.su-logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; font-size: 24px; line-height: 1; color: #f4efe4; }
.su-nav { display: flex; gap: 24px; }
.su-nav a { text-decoration: none; font-size: 14.5px; color: var(--dim); transition: color .2s; }
.su-nav a:hover { color: var(--acc); }
.su-langs { margin-left: -8px; font: 500 12.5px/1 "JetBrains Mono", monospace; color: var(--ink); }
.su-langs button[aria-pressed="true"] { color: var(--acc); }
.su-clock { font: 500 13px/1 "JetBrains Mono", monospace; color: var(--acc); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .su-nav, .su-clock { display: none; } }
@media (max-width: 900px) { .su::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(3,6,10,.72), rgba(3,6,10,.5) 60%, rgba(3,6,10,.72)); } }
@media (max-aspect-ratio: 85/100) {
  .su-hero { justify-content: flex-end; padding-bottom: 56px; min-height: calc(100svh - 60px); }
  .su-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; z-index: -1; pointer-events: none; background: linear-gradient(transparent, rgba(3,6,10,.86) 30%); }
  .su-hero { position: relative; max-width: none; }
  .su-lede { font-size: 16.5px; color: #cfe0e8; }
}

.su-btn {
  display: inline-flex; align-items: center; padding: 16px 24px; border-radius: 12px; text-decoration: none;
  background: var(--acc); color: #02141a; font-weight: 600; font-size: 15.5px; transition: box-shadow .25s, transform .2s;
}
.su-btn:hover { box-shadow: 0 0 40px rgba(76,233,255,.5); transform: translateY(-2px); }
.su-btn-2 { background: rgba(76,233,255,.08); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(76,233,255,.35); }
.su-btn-2:hover { box-shadow: inset 0 0 0 1px var(--acc), 0 0 30px rgba(76,233,255,.2); }

/* altitude scale */
.su-alt { position: fixed; left: max(12px, 1.4vw); top: 18vh; bottom: 18vh; width: 2px; background: rgba(76,233,255,.18); z-index: 5; }
.alt-scale span { position: absolute; left: 12px; transform: translateY(-50%); white-space: nowrap; font: 500 11px/1 "JetBrains Mono", monospace; color: var(--dim); }
.alt-scale span::before { content: ""; position: absolute; left: -14px; top: 50%; width: 8px; height: 1px; background: var(--dim); }
.alt-mark { position: absolute; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 14px var(--acc); transform: translateY(-50%); transition: top .15s linear; }
.alt-read { position: absolute; left: -4px; bottom: -34px; margin: 0; white-space: nowrap; font: 500 12px/1 "JetBrains Mono", monospace; color: var(--acc); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .su-alt { display: none; } }
/* while the altitude scale shows, its labels need a clear strip on the left */
@media (min-width: 1101px) { .su-hero, .su-sec { padding-left: max(7vw, 120px); } }

/* hero */
.su-hero { min-height: calc(100svh - 70px); display: flex; flex-direction: column; justify-content: center; padding: 40px max(20px, 5vw) 100px max(20px, 7vw); max-width: 820px; }
.su-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 500 14px/1 "JetBrains Mono", monospace; color: var(--acc); }
.su-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: su-pulse 1.8s ease-in-out infinite; }
@keyframes su-pulse { 50% { box-shadow: 0 0 0 7px rgba(76,233,255,0); opacity: .5; } 0% { box-shadow: 0 0 0 0 rgba(76,233,255,.5); } }
.su-h1 { margin: 0; font: 400 clamp(40px, 5.6vw, 88px)/1.04 Unbounded, sans-serif; letter-spacing: -.045em; }
.rot { display: inline-block; vertical-align: bottom; height: 1.12em; overflow: hidden; transition: width .5s cubic-bezier(.7,0,.2,1); color: var(--acc); }
.rot-in { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.7,0,.2,1); }
.rot-in span { display: block; height: 1.12em; white-space: nowrap; width: max-content; }
.su-lede { margin: 26px 0 0; max-width: 46ch; font-size: 18px; line-height: 1.6; color: #b4c9d4; }
.su-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* sections */
.su-sec { padding: clamp(80px, 12vw, 160px) max(20px, 5vw) clamp(60px, 8vw, 100px) max(20px, 7vw); max-width: 1100px; }
.su-h2 { margin: 0; font: 400 clamp(34px, 4.6vw, 68px)/1.05 Unbounded, sans-serif; letter-spacing: -.045em; }
.su-sub { margin: 16px 0 50px; max-width: 48ch; font-size: 17px; color: var(--dim); }
.su-sec .su-h2, .su-sec .su-sub { transition: opacity .9s, transform 1s cubic-bezier(.2,.8,.2,1); }
.su-sec:not(.in) .su-h2, .su-sec:not(.in) .su-sub { opacity: 0; transform: translateY(30px); }

.missions { display: grid; gap: 34px; max-width: 900px; }
.mission {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 18px;
  background: var(--glass); border: 1px solid rgba(76,233,255,.14); border-radius: 20px;
  opacity: 0; transform: translateY(50px) perspective(900px) rotateX(10deg); transition: opacity .8s, transform 1s cubic-bezier(.2,.8,.2,1);
}
.mission.in { opacity: 1; transform: none; }
.mission:nth-child(even) { margin-left: clamp(0px, 8vw, 110px); }
.ms-art { position: relative; isolation: isolate; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(76,233,255,.2); }
.ms-art .mock, .ms-art .cv-img { border-radius: 0; }
.ms-scan { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(76,233,255,.18) 50%, transparent 60%) 0 0 / 100% 300%; animation: scanline 4s linear infinite; pointer-events: none; mix-blend-mode: screen; }
@keyframes scanline { from { background-position: 0 100%; } to { background-position: 0 -200%; } }
.ms-no { margin: 0 0 8px; font: 500 12.5px/1 "JetBrains Mono", monospace; color: var(--acc); }
.ms-txt h3 { margin: 0 0 10px; font: 500 24px/1.15 Unbounded, sans-serif; letter-spacing: -.03em; }
.ms-txt > p { margin: 0 0 14px; color: #b4c9d4; font-size: 15.5px; line-height: 1.55; }
.ms-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-stack span { padding: 5px 10px; border-radius: 8px; background: rgba(76,233,255,.08); color: var(--acc); font: 500 12px/1 "JetBrains Mono", monospace; }
.ms-link { color: var(--acc); font-weight: 600; text-decoration: none; }
.ms-req { font-size: 13.5px !important; color: var(--dim) !important; margin: 0 !important; }
@media (max-width: 760px) { .mission { grid-template-columns: 1fr; } .mission:nth-child(even) { margin-left: 0; } }

.seq { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.seq::before { content: ""; position: absolute; left: 0; right: 0; top: 43px; height: 2px; background: linear-gradient(90deg, var(--acc), rgba(76,233,255,.1)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.6,0,.2,1); }
.seq.in::before { transform: scaleX(1); }
.seq li { position: relative; padding: 70px 18px 20px; border-radius: 16px; background: var(--glass);
  opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .7s; transition-delay: calc(var(--i) * .35s + .2s); }
.seq.in li { opacity: 1; transform: none; }
.seq-t { position: absolute; left: 18px; top: 16px; font: 500 14px/1 "JetBrains Mono", monospace; color: var(--acc); }
.seq li i { position: absolute; left: 18px; top: 36px; width: 14px; height: 14px; border-radius: 50%; background: #03060a; box-shadow: inset 0 0 0 2px var(--acc); transition: background .3s; transition-delay: calc(var(--i) * .35s + .5s); }
.seq.in li i { background: var(--acc); box-shadow: 0 0 16px var(--acc); }
.seq b { display: block; font: 500 19px/1.2 Unbounded, sans-serif; letter-spacing: -.03em; margin-bottom: 8px; }
.seq p { margin: 0; color: #b4c9d4; font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) { .seq { grid-template-columns: 1fr 1fr; } .seq::before { display: none; } }
@media (max-width: 520px) { .seq { grid-template-columns: 1fr; } }

.orbit { height: 360px; perspective: 900px; display: grid; place-items: center; margin-top: -10px; overflow: hidden; }
@media (max-width: 600px) { .orbit { height: 260px; perspective: 600px; } .orbit-ring span { font-size: 12px; padding: 6px 10px; } }
.orbit-ring { position: relative; width: 0; height: 0; transform-style: preserve-3d; animation: ring 34s linear infinite; }
@keyframes ring { from { transform: rotateX(-14deg) rotateY(0); } to { transform: rotateX(-14deg) rotateY(-360deg); } }
.orbit-ring span {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) rotateY(var(--a)) translateZ(min(330px, 38vw));
  padding: 8px 14px; border-radius: 10px; white-space: nowrap; font: 500 14px/1 "JetBrains Mono", monospace; color: var(--acc);
  background: rgba(6,14,22,.75); box-shadow: inset 0 0 0 1px rgba(76,233,255,.3); backface-visibility: visible;
}

.su-launch { text-align: left; padding-bottom: 150px; }
.su-launch .su-sub { margin-bottom: 34px; }

/* the launch manifest: three GO / NO-GO checks and the launch key */
/* slim enough that the planet sits beside it, not behind it (scene.js startupCam) */
.mf {
  max-width: 680px; padding: 6px 24px 24px; border-radius: 20px; background: var(--glass);
  box-shadow: inset 0 0 0 1px rgba(76,233,255,.16);
}
.mf-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0 14px; border-bottom: 1px solid rgba(76,233,255,.14);
  font: 500 12.5px/1 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.mf-id { color: var(--dim); }
.mf-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 96px; align-items: center; gap: 12px 18px; margin: 0; padding: 16px 0; border: 0; border-bottom: 1px solid rgba(76,233,255,.1); min-width: 0; }
.mf-name { float: left; padding: 0; display: flex; gap: 10px; font: 500 15px/1.2 Unbounded, sans-serif; letter-spacing: -.02em; color: var(--ink); }
.mf-name span { font: 500 12px/1.5 "JetBrains Mono", monospace; color: var(--dim); }
.mf-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.mf-opts label { position: relative; cursor: pointer; }
.mf-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mf-opts span { display: inline-block; padding: 8px 12px; border-radius: 8px; background: rgba(76,233,255,.06); box-shadow: inset 0 0 0 1px rgba(76,233,255,.18);
  font: 500 13px/1 "JetBrains Mono", monospace; color: #b4c9d4; transition: background .2s, color .2s, box-shadow .2s; }
.mf-opts label:hover span { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(76,233,255,.45); }
.mf-opts input:checked + span { background: var(--acc); color: #02141a; box-shadow: 0 0 18px rgba(76,233,255,.35); }
.mf-opts input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.mf-st { justify-self: end; display: flex; align-items: center; gap: 8px; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.mf-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e0a43a; box-shadow: 0 0 8px rgba(224,164,58,.6); animation: su-pulse 1.8s ease-in-out infinite; }
.mf-row.go .mf-st { color: var(--acc); }
.mf-row.go .mf-st::before { background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: none; }
.mf-row.need { animation: mf-need .5s; }
.mf-row.need .mf-st { color: #e0a43a; }
@keyframes mf-need { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.mf-note { width: 100%; margin: 18px 0 0; padding: 14px 16px; border: 0; border-radius: 12px; outline: none; background: rgba(76,233,255,.05); box-shadow: inset 0 0 0 1px rgba(76,233,255,.16);
  color: var(--ink); font: 400 15.5px/1.4 Onest, sans-serif; }
.mf-note:focus { box-shadow: inset 0 0 0 1px var(--acc); }
.mf-note::placeholder { color: var(--dim); }
/* the key: locked behind hazard stripes until all three are GO */
.mf-key {
  position: relative; width: 100%; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 64px; padding: 0 22px;
  border-radius: 14px; color: var(--dim); font: 500 15px/1.2 Unbounded, sans-serif; letter-spacing: -.01em;
  background: repeating-linear-gradient(-45deg, rgba(224,164,58,.08) 0 12px, transparent 12px 24px), rgba(6,14,22,.6);
  box-shadow: inset 0 0 0 1px rgba(224,164,58,.28); transition: background .3s, color .3s, box-shadow .3s, transform .15s;
}
.mf-key.armed { color: #02141a; background: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 0 40px rgba(76,233,255,.35); }
.mf-key.armed:hover { box-shadow: 0 0 0 1px var(--acc), 0 0 60px rgba(76,233,255,.55); }
.mf-key.armed:active { transform: scale(.985); }
.mf-key.counting { font: 500 26px/1 "JetBrains Mono", monospace; }
.mf-key.done { color: var(--acc); background: rgba(76,233,255,.08); box-shadow: inset 0 0 0 1px var(--acc); cursor: default; }
.mf-lights { display: flex; gap: 6px; }
.mf-lights i { width: 10px; height: 10px; border-radius: 50%; background: rgba(224,164,58,.35); transition: background .3s, box-shadow .3s; }
.mf-lights i.on { background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.mf-key.armed .mf-lights i.on { background: #02141a; box-shadow: none; }
.su-done { min-height: 1.4em; margin: 14px 0 0; font-size: 15px; color: var(--acc); }
.su-done a { color: var(--acc); font-weight: 600; }
@media (max-width: 680px) {
  .mf { padding: 4px 16px 16px; }
  .mf-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mf-opts { grid-column: 1 / -1; grid-row: 2; }
  .mf-key { font-size: 14px; }
}
.su-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; max-width: 680px; }
.su-contacts a { padding: 20px 22px; border-radius: 16px; background: var(--glass); box-shadow: inset 0 0 0 1px rgba(76,233,255,.18); text-decoration: none; font: 500 clamp(16px, 2vw, 22px)/1.2 Unbounded, sans-serif; letter-spacing: -.03em; overflow-wrap: anywhere; transition: box-shadow .3s; }
.su-contacts a:hover { box-shadow: inset 0 0 0 1px var(--acc), 0 0 40px rgba(76,233,255,.2); }
.su-contacts small { display: block; margin-bottom: 8px; font: 500 12px/1 "JetBrains Mono", monospace; color: var(--dim); letter-spacing: 0; }
.su-launch.launched .su-contacts a { box-shadow: inset 0 0 0 1px var(--acc), 0 0 40px rgba(76,233,255,.25); }
@media (max-width: 600px) { .su-contacts { grid-template-columns: 1fr; } }
