/* ARABISK V19.41 — recovery + layout polish only. No redesign. */
:root{--a1941-gold:#d4aa4f;--a1941-ink:#090a08;--a1941-ivory:#eeeae0;--a1941-max:1240px}

/* ---------------------------------------------------------
   HERO RECOVERY — About / Careers / Insights
   Restores the missing positioning foundation that V19.39 removed.
   --------------------------------------------------------- */
.a1941-hero-fixed{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:#080907!important;
  color:#fff!important;
  display:flex!important;
  align-items:flex-end!important;
  width:100%!important;
}
.a1941-hero-fixed>.a1938-video-media,
.a1941-hero-fixed .a1938-video-media{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.a1941-hero-fixed .a1938-video-media video,
.a1941-hero-fixed video.a1938-bg-video,
.a1941-hero-fixed video.a1939-bg-video{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  margin:0!important;
  opacity:.73!important;
  filter:saturate(.82) contrast(1.04)!important;
  transform:translateZ(0)!important;
}
.a1941-hero-fixed>.a1938-video-shade,
.a1941-hero-fixed .a1938-video-shade{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,rgba(5,6,5,.82) 0%,rgba(5,6,5,.48) 54%,rgba(5,6,5,.67) 100%),
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.58))!important;
}
.a1941-hero-fixed>.wrap,
.a1941-hero-fixed .wrap{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:min(calc(100% - 48px),var(--a1941-max))!important;
  max-width:var(--a1941-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  text-align:left!important;
}
.a1941-hero-fixed .eyebrow{position:relative;z-index:2}
.a1941-hero-fixed h1{position:relative;z-index:2;max-width:980px!important;color:#fff!important}
.a1941-hero-fixed h1 em{color:var(--a1941-gold)!important}
.a1941-hero-fixed .lead,
.a1941-hero-fixed>.wrap>p:not(.eyebrow){max-width:850px!important;color:rgba(255,255,255,.77)!important}

.v1937-insights-hero.a1941-hero-fixed{
  min-height:clamp(560px,72vh,780px)!important;
  padding:clamp(150px,14vw,190px) 0 clamp(70px,8vw,100px)!important;
}
.a1938-about-hero.a1941-hero-fixed{
  min-height:clamp(590px,78vh,820px)!important;
  padding:clamp(155px,16vw,215px) 0 clamp(72px,8vw,108px)!important;
}
.a1938-career-hero.a1941-hero-fixed,
.career-hero.a1941-hero-fixed{
  min-height:clamp(590px,75vh,800px)!important;
  padding:clamp(155px,15vw,205px) 0 clamp(72px,8vw,105px)!important;
}
.a1938-career-hero.a1941-hero-fixed h1,
.career-hero.a1941-hero-fixed h1{font-size:clamp(52px,7vw,102px)!important;line-height:.9!important;letter-spacing:-.052em!important}
.v1937-insights-hero.a1941-hero-fixed h1{font-size:clamp(52px,7vw,102px)!important;line-height:.9!important;letter-spacing:-.052em!important}
.a1938-about-hero.a1941-hero-fixed h1{font-size:clamp(52px,7vw,102px)!important;line-height:.9!important;letter-spacing:-.052em!important}

/* ---------------------------------------------------------
   HOMEPAGE MEP LOGO — same visual behavior as every other logo
   JS also strips the pale baked-in background into alpha via canvas.
   --------------------------------------------------------- */
img.a1941-mep-logo{
  background:transparent!important;
  mix-blend-mode:normal!important;
  filter:grayscale(1) saturate(0) opacity(.42)!important;
  opacity:1!important;
  transition:filter .28s ease,opacity .28s ease,transform .28s ease!important;
}
.a1941-mep-logo-wrap,
.a1941-mep-logo-wrap::before,
.a1941-mep-logo-wrap::after{
  background:transparent!important;
  background-color:transparent!important;
}
.a1941-mep-logo-wrap:hover img.a1941-mep-logo,
img.a1941-mep-logo:hover{
  filter:grayscale(0) saturate(1) opacity(1)!important;
  opacity:1!important;
}
img.a1941-mep-pending{opacity:0!important}

/* ---------------------------------------------------------
   INSIGHTS HUB — stable editorial geometry
   --------------------------------------------------------- */
body[data-page="insights"] .v1937-editorial,
.v1937-editorial{overflow:hidden}
.v1937-editorial>.wrap,
.v1937-editorial .wrap{
  width:min(calc(100% - 48px),var(--a1941-max))!important;
  max-width:var(--a1941-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.v1937-editorial-top{
  display:grid!important;
  grid-template-columns:minmax(0,1.48fr) minmax(330px,.78fr)!important;
  gap:24px!important;
  align-items:stretch!important;
  height:680px!important;
  min-height:0!important;
}
.v1937-feature-story{
  position:relative!important;
  display:block!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}
.v1937-feature-story>img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 48%!important;
}
.v1937-story-stack{
  display:grid!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
  height:100%!important;
  min-height:0!important;
}
.v1937-latest-story{
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(0,44%) minmax(0,56%)!important;
  background:#f4f1e8!important;
  color:var(--a1941-ink)!important;
  text-decoration:none!important;
}
.v1937-latest-story .v1937-story-media{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
}
.v1937-latest-story .v1937-story-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.v1937-latest-story .v1937-card-copy{
  min-width:0!important;
  min-height:0!important;
  padding:18px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
}
.v1937-latest-story h3{
  margin:.45em 0 .55em!important;
  font-size:clamp(18px,1.35vw,24px)!important;
  line-height:1.03!important;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.v1937-latest-story .v1937-card-copy>p{
  font-size:12.5px!important;
  line-height:1.45!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.v1937-latest-story .v1937-story-meta,
.v1937-latest-story .v1937-read{margin-top:auto!important}

.v1937-story-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:28px 24px!important;
  align-items:stretch!important;
  margin-top:28px!important;
}
.v1937-story-grid .v1937-story-card{
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  background:#f4f1e8!important;
  color:var(--a1941-ink)!important;
  text-decoration:none!important;
  overflow:hidden!important;
  border:0!important;
  padding:0!important;
}
.v1937-story-grid .v1937-story-media{
  width:100%!important;
  aspect-ratio:16/10!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.v1937-story-grid .v1937-story-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.v1937-story-grid .v1937-card-copy{
  min-height:285px!important;
  padding:26px!important;
  display:flex!important;
  flex-direction:column!important;
}
.v1937-story-grid .v1937-card-copy h3{
  font-size:clamp(24px,2.25vw,34px)!important;
  line-height:1.04!important;
  margin:.4em 0 .55em!important;
}
.v1937-story-grid .v1937-card-copy>p{line-height:1.55!important}
.v1937-story-grid .v1937-story-meta,
.v1937-story-grid .v1937-read{margin-top:auto!important}
/* With the current three lower stories, the final one becomes an intentional wide editorial card. */
.v1937-story-grid .v1937-story-card:last-child:nth-child(odd){
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr)!important;
  grid-template-rows:1fr!important;
  min-height:360px!important;
}
.v1937-story-grid .v1937-story-card:last-child:nth-child(odd) .v1937-story-media{
  aspect-ratio:auto!important;
  height:100%!important;
}
.v1937-story-grid .v1937-story-card:last-child:nth-child(odd) .v1937-card-copy{
  min-height:360px!important;
  justify-content:center!important;
}

/* ---------------------------------------------------------
   ABOUT — actual Homepage component reuse bridge / safe shell
   --------------------------------------------------------- */
.a1941-home-reuse-mount{margin:0!important;position:relative;overflow:hidden}
.a1941-home-reuse-mount>section{margin:0!important}
.a1941-numbers-mount{background:#090a08;color:#fff}
.a1941-connected-mount{background:#e8e4d9;color:#090a08}
.a1941-home-reuse-mount .wrap{
  width:min(calc(100% - 48px),var(--a1941-max));
  max-width:var(--a1941-max);
  margin-left:auto;
  margin-right:auto;
}
/* Defensive contrast only; native Homepage rules still win for inner composition. */
.a1941-numbers-mount .eyebrow{color:var(--a1941-gold)!important}
.a1941-numbers-mount h2,.a1941-numbers-mount h3{color:#fff!important}
.a1941-connected-mount .eyebrow{color:#8f6721!important}
.a1941-connected-mount h2,.a1941-connected-mount h3,.a1941-connected-mount p{color:var(--a1941-ink)}
.a1941-home-reuse-mount img{max-width:100%}

/* ---------------------------------------------------------
   CAPABILITY FINAL CTA — restore video-backed treatment
   --------------------------------------------------------- */
.v1941-capability-cta{
  position:relative!important;
  min-height:570px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:#070806!important;
  color:#fff!important;
  text-align:center!important;
}
.v1941-capability-cta .v1941-cta-video{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  opacity:0!important;
  transition:opacity .75s ease!important;
  transform:translateZ(0)!important;
}
.v1941-capability-cta.video-ready .v1941-cta-video{opacity:.58!important}
.v1941-capability-cta::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(5,6,5,.52),rgba(5,6,5,.84)),radial-gradient(circle at center,rgba(212,170,79,.06),rgba(0,0,0,.38));
  pointer-events:none;
}
.v1941-capability-cta .wrap{
  position:relative!important;
  z-index:2!important;
  width:min(calc(100% - 48px),1000px)!important;
  margin:auto!important;
  text-align:center!important;
}
.v1941-capability-cta .eyebrow{color:#fff!important;opacity:.72!important}
.v1941-capability-cta h2{
  margin:.2em 0 .34em!important;
  color:#fff!important;
  font-size:clamp(50px,7vw,100px)!important;
  line-height:.9!important;
  letter-spacing:-.05em!important;
}
.v1941-capability-cta h2 em{color:var(--a1941-gold)!important;font-style:normal!important}
.v1941-capability-cta .button{position:relative;z-index:3}

/* About final reused sections should not collide with the closing CTA. */
.a1939-about-close{clear:both!important;position:relative!important}

@media(max-width:980px){
  .v1937-editorial-top{grid-template-columns:1fr!important;height:auto!important}
  .v1937-feature-story{height:620px!important}
  .v1937-story-stack{height:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:1fr!important}
  .v1937-latest-story{grid-template-columns:1fr!important;grid-template-rows:190px 1fr!important;min-height:420px!important}
  .v1937-story-grid .v1937-story-card:last-child:nth-child(odd){grid-template-columns:1fr!important;grid-template-rows:auto 1fr!important}
  .v1937-story-grid .v1937-story-card:last-child:nth-child(odd) .v1937-story-media{aspect-ratio:16/10!important;height:auto!important}
  .v1937-story-grid .v1937-story-card:last-child:nth-child(odd) .v1937-card-copy{min-height:285px!important;justify-content:flex-start!important}
}
@media(max-width:700px){
  .a1941-hero-fixed>.wrap,.a1941-hero-fixed .wrap{width:calc(100% - 32px)!important}
  .v1937-insights-hero.a1941-hero-fixed,.a1938-about-hero.a1941-hero-fixed,.a1938-career-hero.a1941-hero-fixed,.career-hero.a1941-hero-fixed{min-height:620px!important;padding:145px 0 70px!important}
  .a1941-hero-fixed h1{font-size:clamp(46px,13vw,70px)!important}
  .v1937-editorial>.wrap,.v1937-editorial .wrap{width:calc(100% - 32px)!important}
  .v1937-feature-story{height:540px!important}
  .v1937-story-stack{grid-template-columns:1fr!important}
  .v1937-latest-story{min-height:0!important;grid-template-rows:220px 1fr!important}
  .v1937-story-grid{grid-template-columns:1fr!important;gap:22px!important}
  .v1937-story-grid .v1937-story-card:last-child:nth-child(odd){grid-column:auto!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto 1fr!important;min-height:0!important}
  .v1937-story-grid .v1937-card-copy{min-height:0!important}
  .a1941-home-reuse-mount .wrap{width:calc(100% - 32px)}
  .v1941-capability-cta{min-height:500px!important}
  .v1941-capability-cta .wrap{width:calc(100% - 32px)!important}
}
@media(prefers-reduced-motion:reduce){
  .v1941-capability-cta .v1941-cta-video,img.a1941-mep-logo{transition:none!important}
}
