/* A shared reading rail keeps page headings, navigation and long-form content
   aligned as the window moves between laptop and wide desktop sizes. */
:root {
  --editorial-width: 80rem;
  --editorial-gutter: clamp(1.25rem, 5.55vw, 6rem);
  --editorial-rail: min(calc(100% - 2 * var(--editorial-gutter)), var(--editorial-width));
  --editorial-inset: max(var(--editorial-gutter), calc((100% - var(--editorial-width)) / 2));
  --editorial-rule: #bacbd3;
}
h1, h2, h3 { overflow-wrap: break-word; }
section[id], main[id], [role="tabpanel"][id] { scroll-margin-top: 6rem; }

@media (min-width: 961px) {
  .shell, .wrap, .ps-wrap, .ps-product-wrap { width: var(--editorial-rail); }
  #site-navigation, .u-masthead { height: 72px; }
  main { padding-top: 72px; }
  .u-masthead { padding-inline: var(--editorial-inset); gap: clamp(1.5rem, 3vw, 3rem); }
  .u-utilities { gap: clamp(1.25rem, 2.7vw, 2.8rem); }
  .u-footer { padding-inline: var(--editorial-inset); }
  .u-footer-grid { grid-template-columns: 1.12fr 1fr 1.25fr 1fr 1fr; }
  .u-footer-contact { padding-block: 4.5rem 3rem; }
  .u-footer-base { border-top: 1px solid #ffffff26; }

  .u-menu-feature p, .u-eyebrow, .index-title, .sector-intro .eyebrow { letter-spacing: .025em; }
}
/* Interior introductions share a reading rail. The sector photographs use the
   full window; guides and services keep working copy beside a closer crop. */
.route-hero {
  --hero-paper: #edf3f5;
  --hero-ink: #122e43;
  --hero-body: #365367;
  isolation: isolate;
  color: var(--hero-ink);
  background: var(--hero-paper);
}
.route-hero-rail {
  width: var(--editorial-rail); margin: auto; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "crumb image" "copy image";
  column-gap: clamp(2rem, 5.2vw, 5rem); padding-block: clamp(2rem, 4vw, 4.5rem);
}
.route-hero .crumb {
  grid-area: crumb; align-self: start; display: flex; flex-wrap: wrap;
  align-items: center; gap: .35rem .6rem; margin: 0 0 1.5rem; padding: 0;
  font: inherit; font-size: .875rem; line-height: 1.5; color: var(--hero-body);
}
.route-hero .crumb a { color: inherit; text-decoration: none; }
.route-hero .crumb span { color: inherit; }
.route-hero-copy { grid-area: copy; align-self: center; padding-bottom: 1.2rem; min-width: 0; }
.route-hero-copy h1 {
  max-width: 19ch; margin: 0; font-size: clamp(2rem, calc(1.27rem + 3.12vw), 4.35rem);
  line-height: 1.055; font-weight: 490; letter-spacing: -.051em; text-wrap: balance;
  color: var(--hero-ink);
}
.route-hero-copy .lead {
  max-width: 50ch; margin: 1.3rem 0 0; color: var(--hero-body);
  font-size: clamp(1.05rem, 1.28vw, 1.2rem); line-height: 1.58; text-wrap: pretty;
}
.route-hero-copy .action {
  display: inline-flex; width: fit-content; align-items: center; justify-content: center;
  margin-top: 1.6rem; min-height: 46px; padding: .7rem 1.15rem; background: #173d54;
  color: #fff; font-size: 1rem; text-decoration: none;
}
.route-hero-image {
  grid-area: image; position: relative; isolation: isolate; overflow: hidden; margin: 0;
  min-width: 0; min-height: clamp(15rem, 30vw, 29rem); background: #293e49;
}
.route-hero-image img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: var(--image-focal,50% 50%); filter: saturate(.77);
}
.route-hero--ink, .route-hero--panorama {
  --hero-paper: #102b42; --hero-ink: #f4f7fa; --hero-body: #d4e4ed;
}
.route-hero--ink .action, .route-hero--panorama .action {
  background: #e8f1f5; color: #15364a;
}
.route-hero--panorama { position: relative; overflow: hidden; }
.route-hero--panorama .route-hero-rail {
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumb" "copy";
  min-height: clamp(25rem, 54svh, 37rem); padding-block: clamp(1.8rem,3.7vw,3.8rem);
}
.route-hero--panorama .route-hero-copy { align-self: end; max-width: 43rem; z-index: 1; }
.route-hero--panorama .crumb { z-index: 1; }
.route-hero--panorama .route-hero-image { position: absolute; inset: 0; z-index: -1; }
.route-hero--panorama .route-hero-image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,rgba(6,20,33,.95) 0%,rgba(6,20,33,.88) 27%,rgba(6,20,33,.72) 49%,rgba(6,20,33,.12) 80%);
}

/* Keep the geometry visible on the entire world scene so orbit trails,
   overlays and the underlying image meet the same diagonal. */
.front-hero, .route-hero-image, .route-hero--panorama,
.u-cinema-image, .u-cinema-wide, .ground-frame, .sector-tile img, .sector-cinematic, .coast-cinema {
  --cut-x: min(23%, 19rem); --cut-y: min(30%, 9rem);
  /* Both diagonal tangent points advance the same fraction of its vector. */
  --join-x: calc(var(--cut-x) * .035);
  --join-y: calc(var(--cut-y) * .035);
  clip-path: polygon(0 0,100% 0,100% calc(100% - var(--cut-y)),calc(100% - var(--cut-x)) 100%,0 100%) !important;
}
.route-hero-image { --cut-x:clamp(1.5rem,4.8vw,5.5rem); --cut-y:var(--cut-x); }
.front-hero, .route-hero--panorama { --cut-x:clamp(2.6rem,7.6vw,9rem); --cut-y:var(--cut-x); }
.u-cinema-wide, .coast-cinema { --cut-x:min(30%,32rem); --cut-y:min(34%,12rem); }
.u-cinema-people .u-cinema-image, .ground-frame { --cut-x:min(18%,15rem); --cut-y:min(40%,14rem); }
.sector-tile img { --cut-x:min(22%,15rem); --cut-y:min(36%,10rem); }
@supports (clip-path: shape(from 0 0, line to 100% 0, line to 0 100%, close)) {
  .front-hero, .route-hero-image, .route-hero--panorama,
  .u-cinema-image, .u-cinema-wide, .ground-frame, .sector-tile img, .sector-cinematic, .coast-cinema {
    clip-path: shape(from 0 0, line to 100% 0,
      line to 100% calc(100% - var(--cut-y) - 6px),
      curve to calc(100% - var(--join-x)) calc(100% - var(--cut-y) + var(--join-y)) with 100% calc(100% - var(--cut-y)),
      line to calc(100% - var(--cut-x) + var(--join-x)) calc(100% - var(--join-y)),
      curve to calc(100% - var(--cut-x) - 6px) 100% with calc(100% - var(--cut-x)) 100%,
      line to 0 100%, close) !important;
  }
}
.route-hero--panorama .route-hero-image { clip-path: none!important; }

/* Apply the rail at every viewport. Grid tracks below use their content width
   to choose a column count, including when users enlarge their text. */
.shell, .wrap, .ps-wrap, .ps-product-wrap { width: var(--editorial-rail); }
main :where(.cards,.sector-grid,.u-platforms,.product-comparison,.product-steps,.module-head,.sector-layout,.value-inputs,.entry-list article) > * { min-width: 0; }
main :where(p,dd,li,a,button,summary) { overflow-wrap: break-word; }

.front-hero {
  display: grid; grid-template-columns: minmax(0,1fr) clamp(13rem,20vw,18rem);
  align-items: end; align-content: center; column-gap: clamp(1.5rem,5vw,6rem);
  box-sizing: border-box; min-height: 100vh; min-height: 100dvh;
  padding: calc(var(--uie-mast-height,5rem) + clamp(2.75rem,7svh,7rem)) var(--editorial-inset) clamp(3.25rem,9svh,7rem);
}
.front-intro, .orbital-footer { min-width: 0; width: auto; margin: 0; padding: 0; }
.front-intro { max-width: 45rem; }
.front-intro h1 {
  font-size: clamp(2.35rem,calc(1.38rem + 3.95vw),5.3rem); line-height: 1.025;
  letter-spacing: -.055em; text-wrap: balance;
}
.front-intro p { max-width: 48ch; font-size: clamp(1.06rem,calc(.98rem + .3vw),1.26rem); line-height: 1.55; margin-top: 1.2rem; }
.front-actions { margin-top: clamp(1rem,2vw,1.7rem); }
.hero-index { display:grid; gap:0; padding:clamp(.85rem,1.4vw,1.2rem) clamp(1rem,1.5vw,1.4rem); }
.hero-index .index-title { margin-bottom: .4rem; }
.hero-index a { font-size: clamp(1rem,1.15vw,1.08rem); min-height: 44px; }

.principle { grid-template-columns: minmax(8rem,1fr) minmax(0,2fr); gap: clamp(1rem,4vw,3rem); padding-block:clamp(4.5rem,8vw,8rem) clamp(2rem,4vw,4rem); }
.principle h2 { font-size: clamp(2.1rem,calc(1.55rem + 2.6vw),3.8rem); line-height:1.06; max-width:22ch; }
.principle p:not(.label) { margin-block:1.35rem .9rem; max-width:48ch; }
.u-platforms, .product-comparison {
  display:grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,19rem),1fr));
  gap:clamp(1rem,1.8vw,1.6rem);
}
.u-platforms { padding-bottom: clamp(3rem,7vw,7rem); }
.u-platform { gap:clamp(.75rem,1.8vw,1.7rem); min-height:0; padding:clamp(1.25rem,2.6vw,2.8rem); }
.u-platform h2 { margin: .85rem 0; }
.product-comparison, .product-steps { padding-block:clamp(2.5rem,5.5vw,5.5rem); }
.product-steps { display:grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap:clamp(1.25rem,3vw,3rem); }

.u-cinema-split, .u-cinema-split.u-cinema-people, .u-domains #domain-panel {
  width:var(--editorial-rail); display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  align-items:center; gap:clamp(1.75rem,4.6vw,5rem); margin:0 auto clamp(3.5rem,7vw,7rem); padding:0;
}
.u-cinema-split > .u-cinema-image, .u-domains .u-domain-art.u-cinema-image {
  width:100%; height:auto; min-height:0; aspect-ratio:1.5; padding:0;
}
.u-cinema-split .u-cinema-copy { display:block; min-width:0; width:100%; padding:0; }
.u-cinema-copy h2, .u-cinema-brief h2 { font-size:clamp(1.95rem,3.2vw,3.1rem); max-width:18ch; line-height:1.08; }
.u-cinema-copy > p:not(.label) { max-width:42ch; margin:1.1rem 0; }
.ground-sequence { height:auto; min-height:0; }
.ground-frame { position:relative; height:clamp(23rem,53vw,40rem); min-height:0; padding:clamp(1.25rem,3.5vw,3.5rem) var(--editorial-inset); }
.u-domains.wrap { width:var(--editorial-rail); margin:auto; padding-block:clamp(3rem,7vw,7rem); }
.u-domain-intro, .u-domain-tabs, .u-domain-copy { width:100%; }
.u-domains #domain-panel { width:100%; margin:0; min-height:0; }
.u-domains .u-domain-copy { padding-bottom:0; }
.u-domain-tabs { display:flex; flex-wrap:wrap; max-width:100%; margin-block:1.4rem 1.8rem; }
.u-domain-tabs button { min-width:0; }
.u-cinema-defence { margin-bottom:clamp(3rem,7vw,7rem); }
.u-cinema-wide { height:clamp(20rem,42vw,36rem); min-height:0; }
.u-cinema-brief { margin-right:var(--editorial-inset); }
.u-photo-credit, .sector-caption { margin-left:var(--editorial-inset); margin-right:var(--editorial-inset); }
.sector-grid.shell {
  width:var(--editorial-rail); display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,clamp(19rem,35vw,38rem)),1fr));
  gap:clamp(2rem,4vw,3.3rem) clamp(1rem,3vw,2.8rem); padding-block:clamp(1.5rem,3vw,3rem) clamp(3rem,6vw,6rem);
}
.sector-tile img { width:100%; height:auto; min-height:0; aspect-ratio:2.05; }
.sector-tile h2, .sector-tile p { width:auto; max-width:53ch; margin-inline:0; padding:0; }
.sector-tile h2 { margin-block:1rem .55rem; }
.cards { grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap:clamp(.9rem,1.7vw,1.8rem); }
.module { padding-top:clamp(2.75rem,5vw,5.25rem); }
.module-head { align-items:start; margin-bottom:clamp(1.3rem,2vw,1.9rem); }
.module h2,.pilot h2,.sector-support h2 { font-size:clamp(1.9rem,3vw,3rem); line-height:1.12; }
.entry-list article { padding-block:clamp(1rem,2vw,1.45rem); }
.sector-layout { column-gap:clamp(2rem,6vw,7rem); padding-block:clamp(3rem,5.5vw,5.5rem); }
.sector-support { padding-bottom:clamp(3rem,5vw,5rem); }
.industry-crosslinks { margin-top:clamp(2.5rem,5vw,4.5rem); }
.workflow + .workflow { padding-top:1.6rem; border-top:1px solid var(--editorial-rule); }
.value-inputs { grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr)); }
.value-inputs label { align-content:start; }
.pilot { margin-block:clamp(3rem,5.5vw,5rem); padding:clamp(1.35rem,3.3vw,3.5rem); }

@media (max-width: 42.5rem) {
  .front-hero { grid-template-columns:minmax(0,1fr); gap:1.7rem; padding-bottom:3.75rem; }
  .orbital-footer { width:fit-content; max-width:100%; }
  .hero-index { display:flex; flex-wrap:wrap; gap:0 clamp(.65rem,3vw,1.25rem); padding:.65rem 1rem; }
  .hero-index .index-title { width:100%; margin:0; }
  .hero-index a { padding-inline:0; }
  .principle { grid-template-columns: minmax(0,1fr); }
  .u-cinema-split, .u-cinema-split.u-cinema-people, .u-domains #domain-panel { grid-template-columns:minmax(0,1fr); gap:1.5rem; }
  .u-cinema-split > .u-cinema-image, .u-domains .u-domain-art.u-cinema-image { aspect-ratio:1.8; }
  .route-hero-rail {
    grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto;
    grid-template-areas:"crumb" "copy" "image"; gap:0; padding:1.4rem 0 1.8rem;
  }
  .route-hero-copy { padding-bottom:0; }
  .route-hero-copy .lead { margin-top:1rem; }
  .route-hero-image { margin-top:1.5rem; min-height:0; aspect-ratio:1.85; }
  .route-hero--panorama .route-hero-rail { min-height:clamp(22rem,70svh,28rem); grid-template-rows:auto 1fr; padding-block:1.4rem 2.5rem; }
  .route-hero--panorama .route-hero-image { margin:0; aspect-ratio:auto; }
  .route-hero--panorama .route-hero-image::after { background:linear-gradient(90deg,#081c2ce8,#081c2ca8),linear-gradient(0deg,#081c2c8c,transparent 90%); }
}
@media (orientation:landscape) and (max-height:34rem) {
  .front-hero { padding-block:calc(var(--uie-mast-height,5rem) + 1.5rem) 2.7rem; }
  .route-hero-rail { padding-block:1.25rem; }
  .route-hero--panorama .route-hero-rail { min-height:20rem; }
  .route-hero-image { min-height:0; }
}

/* Full-bleed film frames, with editorial copy on the shared reading rail. */
.route-hero--panorama {
  --seam:clamp(1rem,3.4vw,4rem);
}
.route-hero--panorama .route-hero-rail {
  box-sizing:border-box;min-height:clamp(28rem,72svh,52rem);
  padding-block:clamp(1.3rem,3.5vw,3.5rem) calc(var(--seam) + clamp(2rem,4.2vw,5rem));
}
.route-hero--panorama .route-hero-image {width:100%;height:100%;border-radius:0}
@media(prefers-reduced-motion:no-preference) {
  .route-hero-image img {animation:uie-camera-settle 16s cubic-bezier(.19,.56,.27,1) both}
  @keyframes uie-camera-settle {from{transform:scale(1.045)}to{transform:scale(1)}}
}
.u-cinema-split,.u-cinema-split.u-cinema-people {
  width:100%;max-width:none;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0
}
.u-cinema-split>.u-cinema-image,.u-cinema-defence .u-cinema-wide {
  width:100%;height:clamp(18rem,62svh,49rem);aspect-ratio:auto;border-radius:0;
}
.u-cinema-split .u-cinema-copy {
  box-sizing:border-box;width:var(--editorial-rail);margin:0 auto;
  padding-block:clamp(1.5rem,3.5vw,4rem) 0;
}
@media(min-width:54em) {
  .u-cinema-split .u-cinema-copy {display:grid;grid-template-columns:1fr 1.25fr;column-gap:clamp(2rem,6vw,7rem);align-items:start}
  .u-cinema-split .u-cinema-copy>.label {grid-column:1;grid-row:1}
  .u-cinema-split .u-cinema-copy>h2 {grid-column:1;grid-row:2/5}
  .u-cinema-split .u-cinema-copy>p:not(.label),.u-cinema-split .u-cinema-copy>:is(a,button) {grid-column:2;justify-self:start}
  .u-cinema-people .u-cinema-copy {grid-template-columns:.7fr 1.1fr 1.25fr}
  .u-cinema-people .u-cinema-copy>.label,.u-cinema-people .u-cinema-copy>h2 {grid-column:2}
  .u-cinema-people .u-cinema-copy>p:not(.label),.u-cinema-people .u-cinema-copy>:is(a,button) {grid-column:3}
}
@media(orientation:landscape) and (max-height:34rem) {
  .route-hero--panorama .route-hero-rail {min-height:21rem}
}

.partnership {color:#edf7ff;background:linear-gradient(112deg,#091f30,#15374a);padding:clamp(2.5rem,6vw,6rem) 0}
.partnership-inner {width:min(94%,84rem);margin:auto;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;column-gap:clamp(.25rem,4vw,4rem);row-gap:clamp(.8rem,2vw,1.8rem)}
.partnership h2,.partnership-notes {grid-column:2;text-align:center}
.partnership h2 {grid-row:1;display:flex;align-items:center;justify-content:center;gap:.4em;margin:0;color:#c4dbe8;font-size:clamp(1.1rem,1.6vw,1.5rem);font-weight:500}
.partnership h2 img {width:3.4em;height:auto;display:block;margin:0;filter:brightness(0) invert(1)}
.partnership-notes {grid-row:2;display:grid;max-width:56rem;width:100%;justify-self:center}
.partnership-note {grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility 0s linear .55s}
.partnership-note.is-current {opacity:1;visibility:visible;transition-delay:0s}
.partnership-note h3 {margin:0 0 .6em;color:#f5f9ff;font-size:clamp(1.35rem,2.35vw,2.25rem);line-height:1.09;text-wrap:balance}
.partnership-note p {margin:0 auto;max-width:58ch;color:#d3e4ec;font-size:clamp(1rem,1.45vw,1.3rem);line-height:1.55;text-wrap:pretty}
.partnership-inner>button {display:grid;place-items:center;grid-row:2;width:44px;min-height:44px;padding:0;border:0;background:transparent;color:#c5def0;cursor:pointer}
.partnership-inner>button[hidden]{display:none}
.partnership-inner>[data-prev]{grid-column:1}.partnership-inner>[data-next]{grid-column:3}
.partnership-inner>button svg {width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.5}
.partnership-inner>button:is(:hover,:focus-visible){color:white}
.partnership-inner>button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.partnership-status {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:32rem){.partnership-inner{width:100%;column-gap:0}.partnership h2{grid-column:1/-1}.partnership-note h3{font-size:1.35rem}}
@media(prefers-reduced-motion:reduce){.partnership-note{transition:none}}

/* Align the drawn wordmark baseline, allowing for the q descender. */
h2:has(> .qlaas-lockup),h3:has(> .qlaas-lockup) {
  font-size:clamp(1.625rem,calc(1.4rem + .55vw),2rem);line-height:1.18;
}
.qlaas-lockup {display:inline;white-space:nowrap}
.qlaas-lockup .qlaas-descriptor {font-size:1em;letter-spacing:-.035em}
.qlaas-lockup img.qlaas-wordmark {
  display:inline-block;width:2.98em;height:1.15em;max-width:none;
  vertical-align:-.26em;margin-inline-end:.24em;object-fit:contain;
}
@supports (mask-image:url("")) {
  .qlaas-lockup img.qlaas-wordmark {
    object-position:-999em;background:currentColor;color:inherit;
    mask:url("/assets/qlaas-wordmark.svg") center/contain no-repeat;
  }
}
@media(max-width:30rem) {
  .qlaas-lockup {white-space:normal}
}

.journey-phrase {
  display: inline-block;
  white-space: nowrap;
  color: #dae8ff;
}
.editorial-emphasis {
  --sheen-base: #174783;
  --sheen-mid: #275b99;
  --sheen-light: #35669e;
}
:is(.route-hero--panorama, .front-hero) .editorial-emphasis {
  --sheen-base: #82acff;
  --sheen-mid: #bedaff;
  --sheen-light: #fff;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  :is(.journey-phrase, .editorial-emphasis) {
    background-image: linear-gradient(105deg, var(--sheen-base, #82acff) 25%, var(--sheen-mid, #a9caff) 37%, var(--sheen-light, #fff) 50%, var(--sheen-mid, #bedaff) 61%, var(--sheen-base, #82acff) 75%);
    background-size: 300% 100%;
    background-position: 50% center;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  @media (prefers-reduced-motion: no-preference) {
    .editorial-emphasis.is-visible { animation: partnership-sheen 6s ease-in-out both }
    .is-current .journey-phrase { animation: partnership-sheen 6s ease-in-out infinite }
    @keyframes partnership-sheen {
      0%, 10% { background-position: 100% center }
      90%, 100% { background-position: 0% center }
    }
  }
  @media (forced-colors: active) {
    :is(.journey-phrase, .editorial-emphasis) { background-image: none; color: CanvasText }
  }
}
