/* MARTE-D V11.4 — Cinematic image-led secondary hero system.
 * Original/user-supplied imagery and MARTE-D illustrative composites only;
 * no copied institutional branding, never claims operational imagery.
 */
.md-photo-hero{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  display:flex!important;align-items:center!important;
  min-height:clamp(570px,78svh,850px)!important;
  padding:clamp(145px,17vh,200px) 0 clamp(78px,9vh,114px)!important;
  background:#04080c!important;color:#f5f6f6!important;
}
.md-photo-hero .md-hero-photo,
.md-video-hero .md-hero-video{position:absolute!important;inset:0!important;z-index:0!important;overflow:hidden!important;pointer-events:none!important;display:block!important;margin:0!important;padding:0!important;}
.md-hero-photo>img,.md-hero-video>img,.md-hero-video>video{
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:var(--md-photo-position,center center)!important;
}
.md-hero-video>img{z-index:0!important}.md-hero-video>video{z-index:1!important}
.md-photo-hero .md-hero-shade,.md-video-hero .md-hero-shade{
  pointer-events:none!important;position:absolute!important;inset:0!important;z-index:1!important;
  background:linear-gradient(90deg,rgba(2,5,9,.91) 0%,rgba(2,6,10,.78) 31%,rgba(2,6,10,.40) 63%,rgba(2,6,10,.11) 100%),
             linear-gradient(0deg,rgba(3,6,11,.62),transparent 32%,rgba(3,6,11,.22));
}
.md-photo-hero>.container,.md-video-hero>.container,.md-photo-hero>.frontier-hero-copy{
  position:relative!important;z-index:4!important;
}
.md-photo-hero>.container,.md-video-hero>.container{width:min(100% - 2*clamp(24px,5vw,90px),1400px)!important;margin-inline:auto!important;}
.md-photo-hero .container[class*='hero-grid'],.md-photo-hero .container[class*='hero-inner'],
.md-photo-hero .container.v8-hero-layout,.md-photo-hero .container.v9-hero-inner,
.md-photo-hero .container.fp-hero-inner,.md-photo-hero .container.obs-hero-inner,
.md-photo-hero .container.gs-hero-inner{
  display:block!important;max-width:1400px!important;
}
.md-photo-hero .container[class*='hero-grid']>div:first-child,
.md-photo-hero .container[class*='hero-layout']>div:first-child,
.md-photo-hero .container[class*='hero-inner']>div:first-child{
  max-width:820px!important;position:relative!important;z-index:5!important;
}
.md-photo-hero .v5-hero-visual,.md-photo-hero .v10-hero-art,
.md-photo-hero .v3-hero-art,.md-photo-hero .v3-hero-visual,.md-photo-hero .v8-hero-art,
.md-photo-hero .v9-hero-art,.md-photo-hero .fp-hero-visual,.md-photo-hero .obs-hero-visual,
.md-photo-hero .gs-hero-visual,.md-photo-hero .mi-hero-visual,
.md-photo-hero .v5-hero-rings,.md-photo-hero .frontier-hero-overlay,
.md-photo-hero .uap-radar,.md-photo-hero #bh-hero-canvas{display:none!important;}
.md-photo-hero .starfield,.md-photo-hero .md-ambient-canvas{z-index:2!important;opacity:.28!important;pointer-events:none!important;}
.md-photo-hero::before,.md-photo-hero::after{background:none!important;box-shadow:none!important;}
.md-photo-hero h1,.md-photo-hero h2{
  max-width:900px!important;color:#f9f9f7!important;
  font-family:'Manrope',system-ui,sans-serif!important;font-weight:730!important;
  font-size:clamp(45px,5.35vw,84px)!important;line-height:1.05!important;
  letter-spacing:-.055em!important;text-shadow:0 2px 22px rgba(0,0,0,.46)!important;
}
.md-photo-hero h1 em,.md-photo-hero h1 .orange,.md-photo-hero h2 em{color:#f2b391!important;font-style:normal!important;}
.md-photo-hero p{max-width:760px!important;color:#dbe3e9!important;text-shadow:0 2px 12px rgba(0,0,0,.74)!important;}
.md-photo-hero .v5-spec,.md-photo-hero .v10-chips{max-width:810px!important;}
.md-photo-hero .v10-chips span{background:rgba(5,9,14,.39)!important;color:#e5eaf0!important;border-color:rgba(255,255,255,.17)!important;}
.md-photo-hero .eyebrow,.md-photo-hero .section-kicker,.md-photo-hero .v10-eyebrow,
.md-photo-hero .frontier-overline{color:#f4b58a!important;}
.md-photo-hero .frontier-hero-copy{margin-left:clamp(24px,7vw,120px)!important;margin-right:clamp(24px,7vw,120px)!important;width:min(880px,calc(100% - 48px))!important;padding:0!important;}
.md-photo-hero .frontier-bottom-line{z-index:5!important;}
.md-photo-hero .md-hero-photo{transform:scale(1.005);}
.md-photo-hero .md-hero-photo img{will-change:auto;}
.md-photo-hero .v5-research-banner{background:transparent!important;}
/* Main NEWS hero: video first, newsroom content and links preserved. */
.nr-hero.md-video-hero{
 position:relative!important;isolation:isolate!important;overflow:hidden!important;
 display:flex!important;align-items:center!important;
 min-height:clamp(590px,83svh,900px)!important;
 padding:clamp(145px,17vh,194px) 0 clamp(80px,10vh,120px)!important;
 background:#04070c!important;
}
.md-video-hero .md-hero-shade{z-index:2!important;
 background:linear-gradient(90deg,rgba(1,5,9,.94) 0%,rgba(2,6,12,.83) 32%,rgba(1,6,11,.48) 70%,rgba(1,5,9,.20) 100%),
 linear-gradient(0deg,rgba(0,4,9,.62),transparent 54%,rgba(0,4,9,.24))!important;
}
.nr-hero.md-video-hero .nr-hero-grid{display:block!important;position:relative!important;z-index:5!important;}
.nr-hero.md-video-hero .nr-hero-copy{max-width:840px!important;}
.nr-hero.md-video-hero .nr-hero-visual{display:none!important;}
.nr-hero.md-video-hero .starfield{z-index:3!important;opacity:.24!important;pointer-events:none!important;}
.nr-hero.md-video-hero h1{font-size:clamp(45px,5.4vw,84px)!important;line-height:1.04!important;letter-spacing:-.055em!important;}
.nr-hero.md-video-hero p{color:#e0e7ed!important;max-width:710px!important;text-shadow:0 2px 15px rgba(0,0,0,.7)!important;}
.nr-hero.md-video-hero .nr-hero-label{color:#efc3a7!important;}
.md-video-hero video{opacity:1!important;visibility:visible!important;}
@media(max-width:800px){
 .md-photo-hero,.nr-hero.md-video-hero{min-height:620px!important;padding-top:142px!important;padding-bottom:82px!important;}
 .md-photo-hero .md-hero-shade,.md-video-hero .md-hero-shade{
  background:linear-gradient(90deg,rgba(2,5,10,.90),rgba(2,5,10,.54)),
  linear-gradient(0deg,rgba(2,5,10,.66),transparent 60%,rgba(2,5,10,.2))!important;
 }
 .md-photo-hero .md-hero-photo img,.md-video-hero video{object-position:70% center!important;}
 .md-photo-hero h1,.md-photo-hero h2,.nr-hero.md-video-hero h1{font-size:clamp(36px,8.8vw,58px)!important;letter-spacing:-.05em!important;line-height:1.1!important;}
 .md-photo-hero>.container,.md-video-hero>.container{width:calc(100% - 48px)!important;}
}
@media(max-width:440px){
 .md-photo-hero,.nr-hero.md-video-hero{min-height:670px!important;align-items:center!important;padding-top:140px!important;padding-bottom:88px!important;}
 .md-photo-hero .md-hero-photo img,.md-video-hero video{object-position:68% center!important;}
 .md-photo-hero h1,.md-photo-hero h2,.nr-hero.md-video-hero h1{font-size:clamp(35px,9vw,43px)!important;}
 .md-photo-hero p,.md-video-hero p{font-size:13px!important;line-height:1.7!important;}
 .md-photo-hero .frontier-hero-copy{margin:0 24px!important;width:calc(100% - 48px)!important;}
 .md-photo-hero .v5-spec{flex-wrap:wrap!important;gap:10px!important;}
}
@media(prefers-reduced-motion:reduce){.md-video-hero video{display:none!important;}}
@media(prefers-reduced-data:reduce){.md-video-hero video{display:none!important;}}
/* MARTE-D V11.3 — Three photographic interventions in existing open-space sections.
 No decorative cards, numbering, or repeated boxed treatments. */
.cx-manifesto{padding-bottom:clamp(76px,8vw,126px)!important;}
.md-home-wide-photo{position:relative;overflow:hidden;margin:clamp(48px,6vw,90px) auto 0;
 max-width:1500px;min-height:clamp(290px,45vw,575px);height:clamp(290px,44vw,570px);
 background:#080b12;isolation:isolate;}
.md-home-wide-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.88);}
.md-home-wide-photo::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
 background:linear-gradient(0deg,rgba(2,5,9,.74),transparent 58%),linear-gradient(90deg,rgba(2,5,9,.43),transparent 72%);}
.md-home-photo-text{position:absolute;bottom:clamp(24px,3vw,46px);left:clamp(24px,4vw,68px);z-index:3;
 max-width:min(720px,90%);color:#f0f3f5;}
.md-home-photo-text small{display:block;color:#f0b08b;font:700 10px/1.6 'IBM Plex Mono',monospace;letter-spacing:.15em;margin-bottom:12px;}
.md-home-photo-text strong{font:750 clamp(25px,3.7vw,62px)/1.06 'Manrope',sans-serif;letter-spacing:-.055em;}
.md-home-photo-text a{display:inline-block;border-bottom:1px solid rgba(255,255,255,.75);font:750 11px/1.5 'Manrope',sans-serif;letter-spacing:.08em;margin-top:20px;color:#fff!important;padding:6px 0;}
.cx-editorial-index{padding-bottom:clamp(88px,9vw,155px)!important;}
.md-home-index-photo{margin-top:clamp(65px,7vw,112px)!important;height:clamp(310px,44vw,615px)!important;}
.cx-physics-bridge{position:relative;isolation:isolate;overflow:hidden;}
.cx-physics-bridge::before{content:'';position:absolute;inset:0;z-index:-2;
 background:url('/assets/img/hero-scenes/cosmic-field.jpg') 72% center/cover no-repeat;opacity:.57;}
.cx-physics-bridge::after{content:'';position:absolute;inset:0;z-index:-1;
 background:linear-gradient(90deg,rgba(5,8,13,.92),rgba(5,8,13,.73) 65%,rgba(5,8,13,.62));pointer-events:none;}
.cx-closing{position:relative;isolation:isolate;overflow:hidden;background:#07090e!important;}
.cx-closing::before{content:'';position:absolute;inset:0;z-index:-2;
 background:url('/assets/img/hero-scenes/cosmic-field.jpg') center 51%/cover no-repeat;opacity:.54;}
.cx-closing::after{content:'';position:absolute;inset:0;z-index:-1;
 background:linear-gradient(90deg,rgba(4,7,11,.75),rgba(4,7,11,.48),rgba(4,7,11,.75));}
.cx-film-earth .cx-film-background img{filter:brightness(.80) saturate(.95)!important;object-position:65% 55%!important;}
@media(max-width:700px){.md-home-wide-photo{height:400px!important;min-height:320px!important;}
 .md-home-index-photo{height:345px!important;}
 .md-home-photo-text strong{font-size:clamp(28px,7vw,40px)!important;}
 .md-home-wide-photo>img{object-position:60% center;}
}

/* V11.4 — editorial polish. Photographic, not utility-card, presentation. */
.md-photo-hero .md-hero-shade::after{
 content:"";position:absolute;inset:auto 0 0;height:1px;
 background:linear-gradient(90deg,rgba(249,166,125,.48),rgba(255,255,255,.12) 42%,transparent 84%);
}
.md-photo-hero h1,.md-video-hero h1{text-wrap:balance;}
.md-photo-hero .md-hero-photo>img{transform:scale(1.012);}
.md-photo-hero .md-hero-shade{background:
 linear-gradient(90deg,rgba(2,5,9,.91) 0%,rgba(2,6,10,.79) 31%,rgba(2,6,10,.38) 64%,rgba(2,6,10,.10) 100%),
 linear-gradient(0deg,rgba(3,6,11,.71),transparent 34%,rgba(3,6,11,.18));}
/* A genuine photo panel anchors the Newsroom portion of Home when feeds are short/unavailable. */
.md-home-news-photo{margin-top:clamp(60px,7.5vw,118px);min-height:360px;height:clamp(360px,41vw,600px);}
.md-home-news-photo>img{object-position:58% 55%;}
.md-home-news-photo::after{background:linear-gradient(0deg,rgba(2,4,8,.88),transparent 68%),linear-gradient(90deg,rgba(2,5,9,.65),rgba(2,5,9,.06));}
.md-home-news-photo .md-home-photo-text{max-width:min(720px,calc(100% - 48px));}
/* Editorial bridge also becomes a full atmospheric artwork, while links remain actual links. */
.fr-home-bridge{position:relative;isolation:isolate;overflow:hidden;}
.fr-home-bridge::before{content:"";position:absolute;inset:0;z-index:-2;background:url('/assets/img/hero-scenes/black-hole.jpg') 79% 47%/cover no-repeat;opacity:.57;pointer-events:none;}
.fr-home-bridge::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,9,15,.96),rgba(5,9,15,.83) 55%,rgba(5,9,15,.60));pointer-events:none;}
/* Research: one photographic hero followed by an accessible, quiet content introduction. */
.md-research-main-hero .v5-text-link{display:inline-block!important;margin-top:17px!important;color:#eab292!important;text-decoration:none!important;border-bottom:1px solid rgba(234,178,146,.65)!important;padding-bottom:6px!important;}
.md-research-overview{background:#090f18;padding:clamp(60px,7vw,100px) max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid rgba(173,195,210,.15);}
.md-research-overview>.container{max-width:950px!important;margin:0!important;padding:0!important;}
.md-research-overview h2{font:750 clamp(30px,3vw,48px)/1.12 'Manrope',system-ui,sans-serif!important;letter-spacing:-.04em!important;color:#f3f5f6!important;margin:18px 0 24px!important;}
.md-research-overview p{font-size:clamp(14px,1.14vw,17px)!important;line-height:1.85!important;color:#afbdc9!important;max-width:850px;margin:0 0 20px!important;}
.md-research-overview .v5-text-link{display:inline-block;margin-top:12px;color:#f0b28c!important;text-decoration:underline;text-underline-offset:6px;}
@media(max-width:700px){
 .md-home-news-photo{height:370px!important;min-height:340px!important;}
 .md-home-news-photo>img{object-position:70% center!important;}
 .md-home-news-photo .md-home-photo-text{left:24px!important;bottom:30px!important;}
 .fr-home-bridge::before{background-position:67% center;opacity:.35;}
 .fr-home-bridge::after{background:linear-gradient(90deg,rgba(5,9,15,.94),rgba(5,9,15,.77));}
 .md-research-overview{padding:62px 24px;}
}

/* MARTE-D V11.5: command and launches now play silent hero footage on top
   of a real JPG first-frame fallback. The static /other pages stay unchanged. */
.md-photo-hero.md-video-hero .md-hero-video{transform:scale(1.005);}
.md-photo-hero.md-video-hero .md-hero-video>img,
.md-photo-hero.md-video-hero .md-hero-video>video{object-position:var(--md-photo-position,center center)!important;}
@media(max-width:800px){
  .md-photo-hero.md-video-hero .md-hero-video>img,
  .md-photo-hero.md-video-hero .md-hero-video>video{object-position:70% center!important;}
}
@media(max-width:440px){
  .md-photo-hero.md-video-hero .md-hero-video>img,
  .md-photo-hero.md-video-hero .md-hero-video>video{object-position:68% center!important;}
}
