/* Shared homepage navigation; scoped to upgraded service pages. */
body[data-header-style="launch"] .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

body[data-header-style="launch"] .site-header::after { display: none; }

body[data-header-style="launch"] .site-header.is-scrolled {
  background: rgba(7, 14, 22, 0.9);
  box-shadow: 0 1px 0 rgba(237, 244, 248, 0.12);
  backdrop-filter: saturate(130%) blur(14px);
  -webkit-backdrop-filter: saturate(130%) blur(14px);
}

/* Header and navigation follow the delivered package; service routes stay intact. */
body[data-header-style="launch"] .header-inner { max-width: none; padding-block: 20px; }
body[data-header-style="launch"] .brand img { width: auto; height: 32px; }
body[data-header-style="launch"] .site-header .site-nav a { color: #fff; font: 500 14px/1 "Urbanist", sans-serif; letter-spacing: 0; text-transform: none; background-image: none; }
body[data-header-style="launch"] .site-nav small { margin-left: 8px; padding: 3px 8px; border: 1px solid #6cbbc899; border-radius: 99px; font: 500 11px/1 "Urbanist", sans-serif; color: #6cbbc8; }
body[data-header-style="launch"] .nav-toggle { width: 88px; border: 0; margin: 0; padding: 0; }
body[data-header-style="launch"] .nav-toggle span:not(.menu-label) { left: auto; right: 0; width: 22px; }
body[data-header-style="launch"] .nav-toggle span.menu-label { position: static; display: block; height: auto; width: auto; background: none; margin-right: 30px; font: 500 14px/1 "Urbanist", sans-serif; }
@media (min-width: 900px) {
  body[data-header-style="launch"] .nav-toggle { display: none; }
  body[data-header-style="launch"] .brand img { height: 44px; }
  body[data-header-style="launch"] .header-inner { padding-block: 24px; }
  body[data-header-style="launch"] .site-header .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; height: auto; padding: 0; overflow: visible; visibility: visible; opacity: 1; transform: none; background: none; }
  body[data-header-style="launch"] .site-header .site-nav a { border: 0; min-height: 44px; }
  body[data-header-style="launch"] .site-header .site-nav .nav-cta { display: none; }
}
@media (max-width: 899px) {
  body[data-header-style="launch"] .nav-toggle { display: block; z-index: 102; }
  body[data-header-style="launch"] .brand { z-index: 102; }
  body[data-header-style="launch"].nav-open .site-header { background: #0f1d2e; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body[data-header-style="launch"] .site-header .site-nav { position: fixed; inset: 0; height: 100dvh; padding: 100px max(16px, 4vw) max(32px, env(safe-area-inset-bottom)); justify-content: center; background: #0f1d2e; }
  body[data-header-style="launch"] .site-header .site-nav a { min-height: 52px; border: 0; font-size: clamp(1.5rem, 5vw, 2.5rem); }
  body[data-header-style="launch"] .site-header .site-nav .nav-cta { align-self: flex-start; min-height: 48px; margin-top: 20px; padding-inline: 28px; border: 0; border-radius: 99px; background: #226d7a; color: #fff; font-size: 16px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  body[data-page] main .launch-home-hero .launch-home-content { padding-top: max(76px, calc(env(safe-area-inset-top) + 66px)); padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  body[data-page] .launch-home-hero .launch-home-copy { max-width: 72%; }
  body[data-page] .launch-home-hero .launch-home-copy h1 { font-size: clamp(1.8rem, 8.5vh, 2.8rem); }
  .launch-home-subline { margin-top: 10px; font-size: 0.95rem; }
  .launch-home-actions { display: flex; margin-top: 16px; }
  .launch-home-button { min-height: 44px; }
  .launch-home-cue { display: none; }
}

/* Retain the approved mobile clocks below the new full-screen hero. */
.home-time-reference { display: none; }
.aviation-time { display: none; }
@media (max-width: 767px) and (orientation: portrait) {
  .home-time-reference { display: block; padding: 0 16px 24px; background: #050a12; }
  .aviation-time {
    display: block;
    max-width: 440px;
    margin: 0 auto;
    padding: 14px 12px 16px;
    border: 1px solid #29383f;
    border-radius: 4px;
    background: linear-gradient(145deg, #101c23, #091118 70%);
    color: #e0e9e8;
  }
  .aviation-time-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
    color: #94a8ad;
    font: 400 9px/1.4 "IBM Plex Mono", monospace;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  .aviation-time-heading > span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 7px 2px 0;
    border-radius: 50%;
    background: #9acdbf;
  }
  .aviation-time-instruments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 8px; align-items: center; }
  .aviation-clock { display: grid; justify-items: center; min-width: 0; }
  .aviation-clock svg { display: block; width: min(100%, 94px); overflow: visible; }
  .clock-bezel { fill: #0a1015; stroke: #45545b; stroke-width: 1.5; }
  .clock-face { fill: #101b22; stroke: #26363e; stroke-width: 1; }
  .clock-major { stroke: #c1d0d1; stroke-width: 1.5; }
  .clock-minor { stroke: #52636c; stroke-width: 0.7; }
  .clock-numbers { fill: #a8b8be; font: 400 10px "IBM Plex Mono", monospace; text-anchor: middle; }
  .clock-hour, .clock-minute { stroke: #e4eeec; stroke-linecap: round; fill: none; }
  .clock-hour { stroke-width: 3.4; }
  .clock-minute { stroke-width: 2; }
  .clock-second { stroke: #8ed7c0; stroke-width: 1; }
  .clock-pin { fill: #99d5c3; }
  .aviation-clock-label { margin-top: 8px; color: #b4c6ca; font: 400 9px/1.3 "IBM Plex Mono", monospace; letter-spacing: 0.09em; text-transform: uppercase; }
  .aviation-clock-reading { margin-top: 4px; color: #e0e9e8; font: 400 12px/1.2 "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }
  .aviation-zulu { display: grid; justify-items: center; align-content: center; min-width: 0; margin-top: -12px; }
  .aviation-zulu-label { color: #a8d9cb; font: 400 9px/1.5 "IBM Plex Mono", monospace; letter-spacing: 0.11em; text-transform: uppercase; }
  .aviation-zulu > time { display: block; width: 100%; margin: 9px 0 7px; padding-block: 10px; border-block: 1px solid #31474b; color: #daf1e8; text-align: center; font: 400 clamp(17px, 5vw, 25px)/1 "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.05em; }
  .aviation-zulu-detail { color: #7f969e; font: 400 8px/1.5 "IBM Plex Mono", monospace; letter-spacing: 0.04em; text-transform: uppercase; }
  body[data-header-style="launch"] #service-routes { padding-top: 24px; }
  body[data-header-style="launch"] .services-section-heading.reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .clock-second { display: none; }
  .launch-home-hero .launch-home-video { transform: none; }
  .launch-home-hero .launch-home-copy { opacity: 1; transform: none; }
  .launch-home-cue i { animation: none; }
  .launch-home-button { transform: none; transition: none; }
  body.launch-hero-motion .site-header,
  body.launch-hero-motion .launch-home-copy h1 span,
  body.launch-hero-motion .launch-home-subline,
  body.launch-hero-motion .launch-home-button,
  body.launch-hero-motion .launch-home-cue { animation: none; }
}

/* Header and navigation follow the delivered package; service routes stay intact. */
body[data-header-style="launch"] .header-inner { max-width: none; padding-block: 20px; }
body[data-header-style="launch"] .brand img { width: auto; height: 32px; }
body[data-header-style="launch"] .site-header .site-nav a { color: #fff; font: 500 14px/1 "Urbanist", sans-serif; letter-spacing: 0; text-transform: none; background-image: none; }
body[data-header-style="launch"] .site-nav small { margin-left: 8px; padding: 3px 8px; border: 1px solid #6cbbc899; border-radius: 99px; font: 500 11px/1 "Urbanist", sans-serif; color: #6cbbc8; }
body[data-header-style="launch"] .nav-toggle { width: 88px; border: 0; margin: 0; padding: 0; }
body[data-header-style="launch"] .nav-toggle span:not(.menu-label) { left: auto; right: 0; width: 22px; }
body[data-header-style="launch"] .nav-toggle span.menu-label { position: static; display: block; height: auto; width: auto; background: none; margin-right: 30px; font: 500 14px/1 "Urbanist", sans-serif; }
@media (min-width: 900px) {
  body[data-header-style="launch"] .nav-toggle { display: none; }
  body[data-header-style="launch"] .brand img { height: 44px; }
  body[data-header-style="launch"] .header-inner { padding-block: 24px; }
  body[data-header-style="launch"] .site-header .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; height: auto; padding: 0; overflow: visible; visibility: visible; opacity: 1; transform: none; background: none; }
  body[data-header-style="launch"] .site-header .site-nav a { border: 0; min-height: 44px; }
  body[data-header-style="launch"] .site-header .site-nav .nav-cta { display: none; }
}
@media (max-width: 899px) {
  body[data-header-style="launch"] .nav-toggle { display: block; z-index: 102; }
  body[data-header-style="launch"] .brand { z-index: 102; }
  body[data-header-style="launch"].nav-open .site-header { background: #0f1d2e; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body[data-header-style="launch"] .site-header .site-nav { position: fixed; inset: 0; height: 100dvh; padding: 100px max(16px, 4vw) max(32px, env(safe-area-inset-bottom)); justify-content: center; background: #0f1d2e; }
  body[data-header-style="launch"] .site-header .site-nav a { min-height: 52px; border: 0; font-size: clamp(1.5rem, 5vw, 2.5rem); }
  body[data-header-style="launch"] .site-header .site-nav .nav-cta { align-self: flex-start; min-height: 48px; margin-top: 20px; padding-inline: 28px; border: 0; border-radius: 99px; background: #226d7a; color: #fff; font-size: 16px; }
}
@media (min-width: 480px) { .launch-home-actions { display: flex; } }
@media (min-width: 1800px) {
  body[data-page] .launch-home-hero .launch-home-copy h1 { font-size: clamp(4.25rem, 3.6vw, 5.5rem); }
  .launch-home-subline { font-size: 1.25rem; }
  .launch-home-button { min-height: 56px; font-size: 17px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  body[data-header-style="launch"] .header-inner { min-height: 60px; padding-block: 8px; }
  body[data-header-style="launch"] .site-header .site-nav { justify-content: flex-start; padding-top: 68px; }
  body[data-header-style="launch"] .site-header .site-nav a { min-height: 44px; font-size: 1.5rem; }
  body[data-header-style="launch"] .site-header .site-nav .nav-cta { margin-top: 8px; }
}
/* Without scripts, keep navigation reachable alongside the poster. */
html:not(.js) body[data-header-style="launch"] .nav-toggle { display: none; }
@media (max-width: 899px) {
  html:not(.js) body[data-header-style="launch"] .site-header { position: relative; background: #0f1d2e; }
  html:not(.js) body[data-header-style="launch"] .header-inner { flex-wrap: wrap; }
  html:not(.js) body[data-header-style="launch"] .site-header .site-nav { position: static; height: auto; display: flex; flex-flow: row wrap; gap: 12px; padding: 0; visibility: visible; opacity: 1; transform: none; }
  html:not(.js) body[data-header-style="launch"] .site-header .site-nav a { font-size: 14px; }
  html:not(.js) body[data-header-style="launch"] .site-header .site-nav .nav-cta { margin-top: 0; }
}
body[data-header-style="launch"] .site-header .site-nav a.nav-app {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: #050a12;
  font-weight: 600;
  transition: background-color 240ms ease;
}
body[data-header-style="launch"] .site-header .site-nav a.nav-app:is(:hover, :focus-visible) { background: #d9e2ea; }
@media (min-width: 900px) {
  body[data-header-style="launch"] .site-header .site-nav a.nav-signin { margin-left: 8px; }
  body[data-header-style="launch"] .site-header .site-nav a.nav-app { display: inline-flex; align-items: center; margin-left: -8px; }
}
@media (max-width: 899px) {
  body[data-header-style="launch"] .site-header .site-nav a.nav-app { align-self: flex-start; min-height: 52px; margin-top: 20px; padding-inline: 28px; font-size: 17px; }
}


body[data-header-style="launch"] .site-header .brand img { filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(108,187,200,.22)); }
body[data-header-style="launch"] .site-header .nav-toggle span:not(.menu-label) { background: #eaf1f6; }
body[data-header-style="launch"] .site-header .nav-toggle span.menu-label { background: none; }
body[data-header-style="launch"] .site-header .site-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
