body[data-axis-graphite] #flight.axis-form-flight {
  height: 340svh !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
.axis-form-stage { position: sticky; top: 0; height: 100svh; min-height: 420px; overflow: hidden; }
body[data-axis-graphite] #flight.axis-form-flight[data-scene=full] { height: 520svh !important; }
body[data-axis-graphite] #flight.axis-form-flight:is([data-route=polished],[data-route=directed],[data-route=drone],[data-route=orbit]):not(.is-static) { height: 720svh !important; }
body[data-axis-graphite] #flight.axis-form-flight[data-route=orbit][data-intro=blueprint]:not(.is-static) { height: 980svh !important; }
.axis-form-canvas, .axis-form-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.axis-form-canvas { opacity: 0; }
/* Multiply the existing renderer exposure; do not override its hide/idle gates. */
body[data-axis-form-soft] #axis-page-field { filter: opacity(var(--axis-form-field-strength,1)); }
.axis-form-poster { padding: 9svh var(--gutter) 12svh; }
.axis-form-flight[data-state=ready] .axis-form-canvas { opacity: 1; }
.axis-form-flight[data-state=ready] .axis-form-poster { visibility: hidden; }
.axis-form-caption { position: absolute; left: var(--gutter); top: max(100px, 12svh); pointer-events: none; }
.axis-form-caption p { font-size: clamp(24px, 2.8vw, 42px); line-height: 1.08; letter-spacing: -.025em; max-width: 10ch; }
.axis-form-phase { display: block; margin-top: 20px; font-size: 16px; color: var(--muted); }
.axis-form-status { position: absolute; left: var(--gutter); bottom: 44px; max-width: 65%; font-size: 16px; color: var(--muted); }
.axis-form-skip { position: absolute; right: var(--gutter); top: max(100px, 12svh); display: flex; align-items: center; min-height: 44px; font-size: 16px; }
.axis-form-skip:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
/* Local art-direction study: soft architectural depth, behind the sharp model.
   No new WebGL context, idle loop, wheel owner or postprocessing dependency. */
.axis-form-flight[data-ambience=studio] {
  --studio-ink: #e4eeee;
  --studio-muted: #bdd0d1;
  --studio-base: #15242d;
  --studio-glow: #8ad7d6;
}
.axis-form-atmosphere {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background: var(--studio-base); isolation: isolate;
}
.axis-form-depth {
  position: absolute; inset: -3%;
  background: url('/assets/form-v119/studio-depth.svg') center / cover no-repeat;
  transform: translateX(var(--studio-shift, 0px)) scale(1.035);
}
.axis-form-word {
  position: absolute; left: 50%; top: 23%;
  transform: translateX(-50%);
  font: 450 clamp(140px, 28vw, 460px)/1 var(--font-display, sans-serif);
  letter-spacing: .12em; text-indent: .12em;
  color: var(--studio-ink); opacity: calc(var(--studio-reveal, .8) * .32);
  filter: blur(2.2px);
  text-shadow: 0 0 34px var(--studio-glow);
  white-space: nowrap;
}
.axis-form-light {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #15242d66, transparent 25%, transparent 78%, #15242d99);
}
.axis-form-flight[data-ambience=studio] :is(.axis-form-caption, .axis-form-skip) { color: var(--studio-ink); }
.axis-form-flight[data-ambience=studio] :is(.axis-form-phase, .axis-form-status) { color: var(--studio-muted); }
.axis-form-flight[data-ambience=studio].is-static:not([data-backdrop=midwam]):not([data-backdrop=midwam-warm]) .axis-form-word { top: 33%; }
/* Clean alternatives: a single light family and separated silhouettes.
   Their atmosphere is drawn with large surfaces, never a blurred image stack. */
.axis-form-depth i { display: none; }
.axis-form-flight[data-backdrop]:where(:not([data-backdrop=original])) {
  --studio-ink: #e7f0f4;
  --studio-muted: #bbccd6;
  --studio-base: #101e2a;
  --studio-wall: #29485d;
  --studio-edge: #5c7c8d;
  --studio-shadow: #0c1721;
  --studio-letter: #c8e4ed;
  --studio-word-alpha: .25;
}
.axis-form-flight[data-backdrop]:where(:not([data-backdrop=original])) .axis-form-depth {
  background: linear-gradient(110deg, var(--studio-shadow), var(--studio-wall) 58%, var(--studio-base));
  transform: translateX(var(--studio-shift, 0px)) scale(1.035);
}
.axis-form-flight[data-backdrop]:where(:not([data-backdrop=original])) .axis-form-light {
  background: linear-gradient(0deg, var(--studio-shadow), transparent 46%);
}
.axis-form-flight[data-backdrop]:where(:not([data-backdrop=original])) .axis-form-word {
  color: var(--studio-letter); text-shadow: none; filter: blur(.45px);
  opacity: calc(var(--studio-reveal, .8) * var(--studio-word-alpha));
  letter-spacing: .065em; text-indent: .065em; font-weight: 350;
}
/* Light wall: a quiet luminous surface, without invented scenery. */
.axis-form-flight[data-backdrop=light] .axis-form-depth::after {
  content: ''; position: absolute; inset: 9% 8% 18% 28%;
  background: linear-gradient(135deg, var(--studio-edge), transparent 70%);
  opacity: .2;
  mask-image: linear-gradient(90deg, transparent, black 35%, black 70%, transparent);
}
/* Planes: three distant architectural surfaces, separated by soft light seams. */
.axis-form-flight[data-backdrop=planes] {
  --studio-base: #13272d; --studio-wall: #31525a;
  --studio-shadow: #112328; --studio-edge: #7faaa9;
  --studio-letter: #c7e2de; --studio-word-alpha: .22;
}
.axis-form-flight[data-backdrop=planes] .axis-form-depth i {
  display: block; position: absolute; top: -10%; bottom: -10%; width: 20%;
  background: linear-gradient(90deg, var(--studio-shadow), var(--studio-base));
  border-right: 1px solid var(--studio-edge); transform: skewY(-8deg);
  filter: blur(1.4px);
}
.axis-form-flight[data-backdrop=planes] .axis-form-depth i:nth-child(1) { left: 3%; }
.axis-form-flight[data-backdrop=planes] .axis-form-depth i:nth-child(2) { left: 25%; width: 9%; opacity: .55; }
.axis-form-flight[data-backdrop=planes] .axis-form-depth i:nth-child(3) { right: -5%; width: 22%; transform: skewY(8deg); }
.axis-form-flight[data-backdrop=planes] .axis-form-word { top: 21%; font-size: clamp(120px, 24vw, 390px); }
/* Graphite: neutral, restrained edge light and engraved outline typography. */
.axis-form-flight[data-backdrop=graphite] {
  --studio-base: #1b232b; --studio-wall: #434f5b;
  --studio-shadow: #131c24; --studio-edge: #8d9da9;
  --studio-letter: #cfdae1; --studio-word-alpha: .4;
}
.axis-form-flight[data-backdrop=graphite] .axis-form-depth {
  background: linear-gradient(180deg, var(--studio-wall), var(--studio-base) 65%, var(--studio-shadow));
}
.axis-form-flight[data-backdrop=graphite] .axis-form-word {
  color: transparent; -webkit-text-stroke: 1px var(--studio-letter);
  filter: none; font-size: clamp(150px, 31vw, 510px); font-weight: 450;
}
.axis-form-variants {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 22px;
  display: flex; gap: 3px; padding: 4px;
  border: 1px solid #647b88; border-radius: 8px;
  background: #11212ef5; color: #e7f0f4;
}
.axis-form-variants button {
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 4px;
  color: inherit; background: transparent; font: 450 14px/1 var(--font-body, sans-serif);
}
.axis-form-variants button:hover { background: #314757; }
.axis-form-variants button[aria-pressed=true] { background: #d6e5ec; color: #152534; }
.axis-form-variants button:focus-visible { outline: 2px solid #e7f0f4; outline-offset: 2px; }
/* Three owner-selected directions. Keep the original depth composition and
   pair each background with the corresponding world-space lighting rig. */
.axis-form-flight[data-backdrop=masar] {
  --studio-base:#202b2d; --studio-shadow:#151e23; --studio-letter:#b4c5c7;
  --studio-word-alpha:.25;
}
.axis-form-flight[data-backdrop=masar] .axis-form-depth {
  background:url('/assets/form-v119/studio-depth.svg') center/cover;
  filter:saturate(.48) brightness(.85);
}
.axis-form-flight[data-backdrop=masar] .axis-form-light {
  background:radial-gradient(ellipse at 48% 45%,#bfceb31a 0%,transparent 31%,#101a2699 78%,#141a20ee 100%);
}
.axis-form-flight[data-backdrop=midwam] {
  --studio-base:#20292c; --studio-letter:#bbd1d3; --studio-word-alpha:.17;
  --studio-ink:#edf0eb; --studio-muted:#c3cfcd;
}
.axis-form-flight[data-backdrop=midwam] .axis-form-depth {
  background:url('/assets/form-v119/studio-depth.svg') center/cover;
  filter:saturate(.45) brightness(.95);
}
.axis-form-flight[data-backdrop=midwam] .axis-form-light {
  background:radial-gradient(ellipse at 24% 28%,#fff1c845,transparent 60%),radial-gradient(ellipse at 78% 25%,#a2dcf04a,transparent 60%),linear-gradient(0deg,#203039,transparent 65%);
}
.axis-form-flight[data-backdrop=midwam] .axis-form-word {
  color:var(--studio-letter); filter:blur(1.2px); text-shadow:none;
}
.axis-form-flight[data-backdrop=igloo] {
  --studio-base:#596b73; --studio-letter:#e2e7e2; --studio-word-alpha:.21;
  --studio-ink:#f2f4ef; --studio-muted:#e1e7e5;
}
.axis-form-flight[data-backdrop=igloo] .axis-form-depth {
  background:url('/assets/form-v119/atmosphere-mineral.svg') center/cover;
}
.axis-form-flight[data-backdrop=igloo] .axis-form-light {
  background:linear-gradient(180deg,#26384266,transparent 32%,transparent 68%,#25333d99),radial-gradient(ellipse at 50% 44%,transparent 36%,#26384477 100%);
}
.axis-form-flight:is([data-backdrop=masar],[data-backdrop=midwam],[data-backdrop=igloo]) .axis-form-word {top:24%;}
.axis-form-flight[data-backdrop=midwam] .axis-form-word {
  top:6%; left:65%; font-size:clamp(64px,10vw,100px);
}
.axis-form-flight[data-backdrop=midwam-warm] {
  --studio-base:#262a36;--studio-letter:#c9c2d2;--studio-word-alpha:.1;
}
.axis-form-flight[data-backdrop=midwam-warm] .axis-form-depth {
  background:url('/assets/form-v119/studio-warm-depth.svg') center/cover;filter:grayscale(.9) brightness(.48);
}
.axis-form-flight[data-backdrop=midwam-warm] .axis-form-light {
  background:radial-gradient(ellipse at 12% 58%,#ca783135,transparent 55%),radial-gradient(ellipse at 89% 34%,#7b70bb35,transparent 55%),linear-gradient(0deg,#161923,transparent 55%);
}
/* Match the hero lettering, but dissolve it into the distant atmosphere. */
.axis-form-flight[data-backdrop=midwam-warm] .axis-form-word {
  top:-2%;left:54%;font-size:min(41vw,68svh);font-weight:450;
  letter-spacing:-.045em;text-indent:-.045em;filter:blur(1.2px);
  opacity:calc(var(--studio-reveal,.8) * var(--studio-word-alpha) * var(--studio-word-depth,1));
  mask-image:radial-gradient(ellipse at 50% 30%,#000 20%,#0009 52%,transparent 78%);
  transform:translateX(calc(-50% + var(--studio-shift,0px)));
}
@media(max-width:1023px) {
  .axis-form-flight[data-backdrop=midwam-warm] .axis-form-word {font-size:min(50vw,60svh);left:50%;}
}
@media(max-height:700px) and (min-width:1024px) {
  .axis-form-flight[data-backdrop=midwam-warm] .axis-form-word {font-size:min(41vw,60svh);}
}
.axis-form-variants {max-width:calc(100% - 32px);flex-wrap:wrap;justify-content:flex-end;}
.axis-form-line-choice {display:flex;align-items:center;gap:10px;font-size:13px;padding:0 8px;}
.axis-form-line-choice[hidden] {display:none;}
.axis-form-line-choice select {min-height:44px;max-width:180px;border:1px solid #647b88;border-radius:4px;background:#203542;color:#e7f0f4;font:inherit;padding:0 8px;}
.axis-form-line-choice select:focus-visible {outline:2px solid #e7f0f4;outline-offset:2px;}
@media(max-width:600px) {
  .axis-form-flight[data-backdrop=midwam-warm] .axis-form-word {top:0;}
  .axis-form-flight[data-backdrop=midwam] .axis-form-word {top:80px;left:58%;font-size:42px;}
  .axis-form-variants { left: 16px; right: 16px; bottom: 14px; display: grid; grid-template-columns: 1fr 1fr; }
  .axis-form-line-choice {grid-column:1/-1;justify-content:space-between;}
  .axis-form-flight[data-ambience=studio] .axis-form-status { bottom: 275px; }
}
body[data-axis-graphite] #flight.axis-form-flight.is-static { height: auto !important; }
.axis-form-flight.is-static .axis-form-stage { position: relative; height: min(90svh, 900px); }
.axis-form-flight.is-static .axis-form-canvas { display: none; }
.axis-form-flight.is-static .axis-form-poster { visibility: visible; }
/* The public scene has no comparison tray and needs no reserved space for it. */
.axis-form-flight[data-form-production] .axis-form-status { bottom:max(24px,env(safe-area-inset-bottom)); }
.axis-form-flight[data-form-production] .axis-form-stage { min-height:0;background:var(--studio-base,#262a36); }
html:not(.motion-enabled) body[data-axis-graphite] #flight.axis-form-flight[data-form-production] { height:auto!important; }
html:not(.motion-enabled) .axis-form-flight[data-form-production] .axis-form-stage { position:relative; }
@media(max-width: 900px) {
  .axis-form-caption { top: 100px; }
  .axis-form-caption p { max-width: 15ch; font-size: 28px; }
  .axis-form-poster { padding: 168px 12px 52px; }
  .axis-form-flight.is-static .axis-form-stage { height: min(85svh, 800px); min-height: 470px; }
  .axis-form-status { bottom: 22px; font-size: 14px; }
}
@media(prefers-reduced-motion: reduce) {
  .axis-form-depth { transform: none; }
  .axis-form-flight[data-backdrop]:where(:not([data-backdrop=original])) .axis-form-depth { transform: none; }
  body[data-axis-graphite] #flight.axis-form-flight[data-route=orbit][data-intro=blueprint]:not(.is-static) { height: auto !important; }
  body[data-axis-graphite] #flight.axis-form-flight:is([data-route=polished],[data-route=directed],[data-route=drone],[data-route=orbit]):not(.is-static) { height: auto !important; }
  body[data-axis-graphite] #flight.axis-form-flight, body[data-axis-graphite] #flight.axis-form-flight[data-scene=full] { height: auto !important; }
  .axis-form-stage { position: relative; }
}
/* The end of the flight has no hard edge: over the last part of the path the lower band of the stage dissolves
   into whatever lies under the page (graphite, field), so the scene hands over to the next section softly.
   The mask exists only from the start of that range; earlier frames are composited exactly as before. */
.axis-form-flight[data-form-production] .axis-form-stage {
  --axis-form-exit-fade: min(34svh, 300px);
  mask-size: 100% calc(100% + var(--axis-form-exit-fade));
  mask-repeat: no-repeat;
}
@keyframes axis-form-exit-fade {
  from, to { mask-image: linear-gradient(#000 calc(100% - var(--axis-form-exit-fade)), #0000); }
  from { mask-position: 0 0; }
  to { mask-position: 0 100%; }
}
@supports (animation-timeline: view()) and (width: hypot(3px, 4px)) {
  @media (prefers-reduced-motion: no-preference) {
    html.motion-enabled #flight[data-form-production]:not(.is-static) .axis-form-stage {
      animation: axis-form-exit-fade 1ms linear forwards;
      animation-timeline: --axis-form-entry;
      animation-range: contain 93% contain 100%;
    }
    /* The entry bridge owns this element's ready-state animation list; the exit joins it instead of replacing it. */
    html.motion-enabled #flight[data-form-production][data-state=ready]:not(.is-static) .axis-form-stage {
      animation: axis-bridge-solid 1ms linear forwards, axis-form-exit-fade 1ms linear forwards;
      animation-timeline: --axis-form-entry, --axis-form-entry;
      animation-range: contain 12% contain 12.1%, contain 93% contain 100%;
    }
  }
}
