/* Large-format art direction. Section backgrounds, imagery and copy share one surface. */
.nebesa-type .tone-dark {
  --ink: #f2f5fb;
  --muted: #a5b1c2;
  --line: #a5bbd52b;
  background: #050a12;
  color: var(--ink);
}
.nebesa-type .tone-dark .heading-accent { color: #a5beff; }
.nebesa-type .tone-dark :is(p,.page-deck) { color: #b6c1d1; }
.nebesa-type .tone-dark .lead { color: #ecf1fa; }
.nebesa-type .tone-dark .section-kicker { color: #acb9cf; border-color: var(--line); }
.nebesa-type .tone-dark :is(.page-breadcrumb,.editorial-note) { color: #9aabc1; }
.nebesa-type .tone-dark .text-link { color: #e9effa; border-color: #a5bbd552; }
.nebesa-type .tone-dark .text-link:hover { color: #aac4ff; border-color: #aac4ff; }
.nebesa-type .tone-dark .button.dark { background: #ecf1f9; color: #0b1421; border-color: #ecf1f9; }
.nebesa-type .tone-dark .button.dark:hover { background: #b9ceff; border-color: #b9ceff; }
.nebesa-type.subpage .header.premium-header { background: #050a12; color: #eff4ff; border-color: #a5bbd526; }
.nebesa-type.subpage .header-chapters a > span { color: #a4b2c7; }
.nebesa-type.subpage :is(.header-chapters a,.header-contact):hover { color: #aac4ff; }
.nebesa-type.subpage .page-hero.tone-dark { padding-bottom: 100px; }
.nebesa-type .immersive-section { position: relative; isolation: isolate; overflow: hidden; }
.nebesa-type .immersive-section > :not(.immersive-media) { position: relative; z-index: 1; }
.nebesa-type .immersive-section > .immersive-media {
  position: absolute;
  z-index: 0;
  top: 0;
  right: -4%;
  bottom: 0;
  width: 76%;
  height: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  aspect-ratio: auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 28%,#000 92%,transparent 100%);
  mask-image: linear-gradient(90deg,transparent 0%,#000 28%,#000 92%,transparent 100%);
}
.nebesa-type .immersive-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.nebesa-type .immersive-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,#050a12d9,transparent 50%),linear-gradient(180deg,#050a12 0%,transparent 25%,transparent 72%,#050a12 100%);
}
.nebesa-type.subpage .immersive-hero { min-height: min(790px,calc(100svh - 88px)); padding-top: 44px; display: flex; flex-direction: column; }
.nebesa-type .immersive-hero .page-breadcrumb { margin-bottom: 60px; }
.nebesa-type .immersive-hero .page-hero-grid { flex: 1; width: 100%; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8%; min-height: 460px; }
.nebesa-type .immersive-hero .page-deck { max-width: 43ch; }
.nebesa-type .immersive-hero .page-hero-grid > :first-child { padding-bottom: 24px; }
.nebesa-type.about-page .immersive-hero > .immersive-media { width: 67%; right: -5%; }
.nebesa-type.about-page .immersive-media img { object-position: 50% 52%; }
.nebesa-type.applications-page .immersive-hero > .immersive-media { right: -5%; width: 70%; }
.nebesa-type .immersive-hero .editorial-aside { align-self: end; justify-self: end; width: min(100%,290px); padding: 24px 0 0; border: 0; }
.nebesa-type .immersive-hero .audience-list li { font-size: 15px; padding: 11px 0; color: #d2dcec; border-color: #b0c9ef33; }
.nebesa-type .immersive-hero .editorial-aside::before { content: ""; position: absolute; inset: -24px; background: radial-gradient(ellipse,#050a12e6 20%,#050a1200 75%); z-index: -1; pointer-events: none; }
/* A portrait-size engine detail anchors the roadmap; the copy remains on a clear dark field. */
.nebesa-type .media-left > .immersive-media { left: -5%; right: auto; width: 60%; -webkit-mask-image: linear-gradient(90deg,transparent,#000 12%,#000 58%,transparent 100%); mask-image: linear-gradient(90deg,transparent,#000 12%,#000 58%,transparent 100%); }
.nebesa-type .media-left > .immersive-media::after { background: linear-gradient(180deg,#050a12 0%,#050a12d9 17%,transparent 44%,#050a1255 75%,#050a12 100%); }
.nebesa-type .immersive-roadmap { min-height: 850px; padding-bottom: 140px; }
.nebesa-type .immersive-roadmap .engineering-roadmap { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10%; }
.nebesa-type .immersive-roadmap .roadmap-copy { padding-top: 95px; }
.nebesa-type .immersive-roadmap .roadmap-copy > p:first-child { color: #ecf1fa; }
.nebesa-type .immersive-roadmap .engineering-sequence > li::before { color: #9cbbff; }
.nebesa-type .immersive-approach { min-height: 740px; }
.nebesa-type .immersive-approach .split-intro > :last-child { padding-top: 200px; }
.nebesa-type .immersive-systems { min-height: 800px; }
.nebesa-type .immersive-systems .split-intro > :last-child { padding-top: 140px; }
/* Full-width images replace the little picture-under-heading treatment. */
.nebesa-type .has-panorama { padding-bottom: 0; }
.nebesa-type .has-panorama > .hardware-panorama {
  position: relative;
  width: calc(100% + var(--pad) * 2);
  max-width: none;
  margin: clamp(60px,7vw,110px) calc(var(--pad) * -1) 0;
  height: clamp(380px,52vw,760px);
  background: #050a12;
}
.nebesa-type .hardware-panorama img { width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent); mask-image: linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent); }
.nebesa-type .hardware-panorama::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#050a12 0%,transparent 17%,transparent 75%,#050a12 100%); }
.nebesa-type .immersed-tracks .tracks-with-media { gap: 4%; margin-top: 70px; }
.nebesa-type .immersed-tracks .hardware-figure { background: transparent; aspect-ratio: 1.15; margin: 0 -3% 28px; width: 106%; max-width: none; }
.nebesa-type .immersed-tracks .hardware-figure img { -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 48%,#000 43%,transparent 77%); mask-image: radial-gradient(ellipse 72% 64% at 50% 48%,#000 43%,transparent 77%); }
.nebesa-type .immersed-tracks h3 { color: #f2f5fb; }
.nebesa-type .blended-card { background: transparent; aspect-ratio: 1.15; margin: 18px -7% 0; width: 114%; max-width: none; }
.nebesa-type .blended-card img { -webkit-mask-image: radial-gradient(ellipse 68% 65% at 50% 50%,#000 42%,transparent 78%); mask-image: radial-gradient(ellipse 68% 65% at 50% 50%,#000 42%,transparent 78%); }
.nebesa-type .tone-dark .photo-slot { color: #d5e0f3; }
.nebesa-type .tone-dark .photo-slot-field { background: radial-gradient(ellipse at 50% 85%,#132b50,#080f1b 72%); border-color: #7b99c52b; }
.nebesa-type .tone-dark .platform-hero-art { background: transparent; }
.nebesa-type .tone-dark .platform-hero-art figcaption { color: #a4b4cb; }
.nebesa-type .tone-dark .platform-hero-art img { filter: drop-shadow(0 18px 48px #1b4b9633); }
.nebesa-type.contact-page .contact-hero-brand { background: radial-gradient(ellipse at center,#0f2853 0%,#050a12 70%); aspect-ratio: 1; padding: 30px; }
.nebesa-type.contact-page .contact-hero-brand > img { width: 73%; opacity: .8; }
.nebesa-type.contact-page .contact-direct-email { color: #dce8ff; }
/* Future team photograph: a full-bleed section with a quiet, visibly empty placeholder. */
.nebesa-type .team-section { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(500px,66vw,900px); display: flex; align-items: end; padding: 70px var(--pad); }
.nebesa-type .team-photo-space { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse 65% 65% at 58% 45%,#18325699,transparent 75%),linear-gradient(155deg,#050a12 10%,#0e1a2b 53%,#050a12 90%); }
.nebesa-type .team-photo-space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#050a12,transparent 25%,transparent 55%,#050a12); }
.nebesa-type .team-focus { position: absolute; top: 45%; left: 50%; width: 24px; height: 24px; opacity: .35; }
.nebesa-type .team-focus::before,.nebesa-type .team-focus::after { content: ""; position: absolute; background: #a8c1e8; }
.nebesa-type .team-focus::before { width: 24px; height: 1px; top: 12px; }
.nebesa-type .team-focus::after { width: 1px; height: 24px; left: 12px; }
.nebesa-type .team-caption { display: flex; align-items: end; justify-content: space-between; gap: 32px; width: 100%; }
.nebesa-type .team-caption .heading-frame { max-width: 600px; }
.nebesa-type .team-caption p { flex: 0 0 auto; margin: 0; font-size: 12px; line-height: 1.7; color: #d2deee; }
.nebesa-type .team-caption p span { display: block; color: #93a6c0; }
@media (max-width: 1100px) {
  .nebesa-type .immersive-roadmap,.nebesa-type .immersive-systems { min-height: 740px; }
  .nebesa-type .immersive-roadmap .roadmap-copy { padding-top: 60px; }
  .nebesa-type .immersive-systems .split-intro > :last-child { padding-top: 90px; }
}
@media (max-width: 720px) {
  .nebesa-type.subpage .page-hero.tone-dark { padding-bottom: 55px; }
  .nebesa-type.subpage .immersive-hero { display: block; min-height: 0; padding-top: 30px; padding-bottom: 0; }
  .nebesa-type .immersive-hero .page-breadcrumb { margin-bottom: 40px; }
  .nebesa-type .immersive-hero .page-hero-grid { display: block; min-height: 0; }
  .nebesa-type .immersive-hero .page-hero-grid > :first-child { padding-bottom: 0; }
  .nebesa-type .immersive-section > .immersive-media,
  .nebesa-type.about-page .immersive-hero > .immersive-media,
  .nebesa-type.applications-page .immersive-hero > .immersive-media {
    position: relative; inset: auto; width: calc(100% + var(--pad) * 2); height: clamp(370px,108vw,650px); max-width: none;
    margin: 24px calc(var(--pad) * -1) 0; -webkit-mask-image: none; mask-image: none;
  }
  .nebesa-type .immersive-section > .immersive-media::after { background: linear-gradient(180deg,#050a12,transparent 23%,transparent 68%,#050a12); }
  .nebesa-type .immersive-media img { object-fit: cover; }
  .nebesa-type .immersive-hero .editorial-aside { width: 100%; margin-top: 32px; padding: 0; }
  .nebesa-type .immersive-hero .editorial-aside::before { display: none; }
  .nebesa-type .immersive-hero .audience-list li { font-size: 14px; padding: 9px 0; }
  .nebesa-type :is(.immersive-roadmap,.immersive-approach,.immersive-systems) { min-height: 0; padding-bottom: 0; }
  .nebesa-type .immersive-roadmap .engineering-roadmap { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .nebesa-type .immersive-roadmap .roadmap-copy,
  .nebesa-type .immersive-approach .split-intro > :last-child,
  .nebesa-type .immersive-systems .split-intro > :last-child { padding-top: 0; }
  .nebesa-type .has-panorama > .hardware-panorama { height: clamp(300px,90vw,550px); margin-top: 42px; }
  .nebesa-type .hardware-panorama img { object-fit: cover; -webkit-mask-image: none; mask-image: none; }
  .nebesa-type .immersed-tracks .tracks-with-media { margin-top: 40px; gap: 50px; }
  .nebesa-type .team-section { min-height: 560px; padding: 42px var(--pad); }
  .nebesa-type .team-caption { flex-direction: column; align-items: start; gap: 28px; }
  .nebesa-type .team-caption p { font-size: 11px; }
}
.nebesa-type .tone-dark .stage-list .mono { color: #a1b5d2; }
.nebesa-type .tone-dark .stage-list > a:hover h3 { color: #a5beff; }

/* Composition pass: hardware has its own space; the information never sits on metal. */
.nebesa-type .framed-card {
  width: 100%; max-width: 100%; margin: 24px 0 0; aspect-ratio: 1.75;
  border: 1px solid #607a9c55; background: #020711;
}
.nebesa-type .framed-card img { height: 100%; object-fit: cover; object-position: 50% 70%; -webkit-mask-image: none; mask-image: none; }
.nebesa-type :is(.immersive-roadmap,.immersive-approach,.immersive-systems).composed-section { min-height: 0; padding-bottom: clamp(70px,7vw,110px); }
.nebesa-type .composed-section .visual-column { position: relative; min-width: 0; }
.nebesa-type .composed-section .visual-column > .composed-media {
  position: relative; width: 118%; max-width: none; height: auto;
  margin: 40px 0 0 -12%; aspect-ratio: 1.48; background: transparent;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 12%,#000 85%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 12%,#000 85%,transparent);
}
.nebesa-type .composed-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.nebesa-type .composed-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,#050a12 0%,transparent 18%,transparent 80%,#050a12 100%);
}
.nebesa-type .composed-section .split-intro { align-items: start; }
.nebesa-type .composed-section.immersive-systems .split-intro > :last-child,
.nebesa-type .composed-section.immersive-approach .split-intro > :last-child { padding-top: clamp(140px,13vw,200px); }
.nebesa-type .composed-section .defense-rows { margin-top: clamp(40px,5vw,75px); }
.nebesa-type .composed-section.immersive-roadmap .roadmap-visual > .composed-media {
  width: 106%; margin: 34px 0 0 -6%; height: clamp(340px,40vw,560px); aspect-ratio: auto;
}
.nebesa-type .composed-section.immersive-roadmap .roadmap-copy { padding-top: 105px; }
/* Keep the portrait's full mark and the hero hardware clear of the copy column. */
.nebesa-type.about-page .immersive-hero > .immersive-media,
.nebesa-type.applications-page .immersive-hero > .immersive-media { width: 57%; right: 0; }
.nebesa-type.about-page .immersive-hero .immersive-media img,
.nebesa-type.applications-page .immersive-hero .immersive-media img { object-fit: contain; object-position: right center; }
.nebesa-type.engineering-page .immersive-hero > .immersive-media { width: 66%; right: -4%; }
.nebesa-type.engineering-page .immersive-hero .immersive-media img { object-fit: contain; object-position: right center; }
.nebesa-type.applications-page .immersive-hero .editorial-aside {
  grid-column: 1; justify-self: start; align-self: start; width: 100%; padding-top: 0;
}
.nebesa-type.applications-page .immersive-hero .page-hero-grid { align-content: center; row-gap: 16px; }
.nebesa-type.applications-page .immersive-hero .page-hero-grid > :first-child { padding-bottom: 0; }
.nebesa-type.applications-page .immersive-hero .editorial-aside::before { display: none; }
.nebesa-type.applications-page .immersive-hero .audience-list { display: flex; flex-wrap: wrap; gap: 7px 20px; }
.nebesa-type.applications-page .immersive-hero .audience-list li { border: 0; padding: 0; font-size: 11px; line-height: 1.65; color: #a3b5d0; }
@media (max-width: 720px) {
  .nebesa-type .framed-card { margin-top: 18px; }
  .nebesa-type .composed-section .visual-column > .composed-media,
  .nebesa-type .composed-section.immersive-roadmap .roadmap-visual > .composed-media {
    width: calc(100% + var(--pad) * 2); max-width: none; height: auto; aspect-ratio: 1.48;
    margin: 28px calc(var(--pad) * -1) 20px;
  }
  .nebesa-type .composed-section.immersive-roadmap .roadmap-visual > .composed-media { height: clamp(340px,100vw,500px); aspect-ratio: auto; }
  .nebesa-type .composed-section.immersive-systems .split-intro > :last-child,
  .nebesa-type .composed-section.immersive-approach .split-intro > :last-child,
  .nebesa-type .composed-section.immersive-roadmap .roadmap-copy { padding-top: 0; }
  .nebesa-type.about-page .immersive-hero > .immersive-media,
  .nebesa-type.applications-page .immersive-hero > .immersive-media,
  .nebesa-type.engineering-page .immersive-hero > .immersive-media {
    width: calc(100% + var(--pad) * 2); right: auto;
  }
  .nebesa-type.about-page .immersive-hero .immersive-media img,
  .nebesa-type.applications-page .immersive-hero .immersive-media img,
  .nebesa-type.engineering-page .immersive-hero .immersive-media img { object-position: center; }
  .nebesa-type.applications-page .immersive-hero .editorial-aside { margin-top: 26px; }
}
