/* Restore the original electric-blue optical crystals for each case-study hero.
   Remove only disconnected grey 3D geometry, orbs and generic rings. */
body[data-page="project"] .case-banner--clean > .prism-stage{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  width:100%;height:100%;
  opacity:1!important;
  border-radius:inherit;
  overflow:hidden;
  pointer-events:none;
}
body[data-page="project"] .case-banner--clean .prism-stage > .entry-cinema__shards{
  right:-6%;
  top:2%;bottom:0;
  width:min(70vw,1030px);
  opacity:.98;
}
body[data-page="project"] .case-banner--clean > .case-banner__meta,
body[data-page="project"] .case-banner--clean > .case-banner__layout{
  position:relative;
  z-index:3!important;
}

/* Case study detail / editorial brand frames.
   No fake floating planets, prisms or WebGL; actual project logos fit inside
   a contained composition in every slug. Home/Projects tabs are untouched. */
body[data-page="project"] .case-banner.case-banner--clean{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;flex-direction:column;justify-content:space-between;
  width:100%;
  min-height:clamp(465px,52vw,700px);
  padding:clamp(30px,4vw,65px);
  border:1px solid rgba(147,189,255,.32)!important;
  border-radius:clamp(25px,3.3vw,48px);
  background-color:#060e25!important;
  background-image:
    linear-gradient(120deg,rgba(12,35,84,.7),rgba(3,9,24,.97) 63%),
    radial-gradient(ellipse 48% 72% at 86% 43%,color-mix(in srgb,var(--accent) 20%,transparent),transparent 90%)!important;
  box-shadow:inset 0 1px rgba(205,227,255,.13),0 22px 80px rgba(0,7,32,.31)!important;
}
body[data-page="project"] .case-banner.case-banner--clean::before{
  content:"";position:absolute;inset:0;z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(1,8,26,.21),transparent 70%);
  mask-image:none;opacity:1;
}
body[data-page="project"] .case-banner.case-banner--clean::after{content:none!important;}
body[data-page="project"] .case-banner--clean .case-banner__meta{
  width:100%;max-width:100%;
  padding-bottom:20px;border-bottom:1px solid rgba(158,194,255,.24);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;
  color:#acc8fa;
  font:780 10px/1.5 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.10em;text-transform:uppercase;
}
body[data-page="project"] .case-banner--clean .case-banner__layout{
  position:relative;z-index:3;
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.72fr);
  align-items:center;gap:clamp(35px,4.4vw,90px);
  width:100%;min-width:0;
  margin-top:clamp(35px,5vw,80px);
}
body[data-page="project"] .case-banner--clean .case-banner__copy{position:relative;z-index:3;min-width:0;max-width:100%;align-self:center;}
body[data-page="project"] .case-banner--clean .case-banner__overline{
  display:block;margin-bottom:clamp(18px,2.6vw,33px);color:#9ebfff;
  font:800 10px/1.5 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.16em;
}
body[data-page="project"] .case-banner--clean .case-banner__copy h1{
  position:relative;z-index:3;
  max-width:100%;margin:0;
  color:#f7fbff;
  font:900 clamp(55px,7.5vw,125px)/.99 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.079em;
  text-transform:uppercase;text-wrap:balance;overflow-wrap:anywhere;
  text-shadow:none;
}
body[data-page="project"] .case-banner--letters-to-2040 .case-banner__copy h1,
body[data-page="project"] .case-banner--changemaker .case-banner__copy h1{
  font-size:clamp(43px,5.6vw,96px);
  letter-spacing:-.07em;
}
body[data-page="project"] .case-banner--clean .case-banner__intro{
  position:relative;z-index:3;
  margin:clamp(19px,2vw,29px) 0 0;
  max-width:560px;
  font:580 clamp(17px,1.55vw,23px)/1.55 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.022em;color:#c5d7f4;
  text-wrap:pretty;
}
body[data-page="project"] .case-banner--clean .case-banner__brand-panel{
  position:relative;z-index:3;
  display:flex;flex-direction:column;align-items:stretch;justify-content:center;
  min-width:0;width:100%;max-width:510px;
  justify-self:center;
  gap:13px;
}
body[data-page="project"] .case-banner--clean .case-banner__brand-frame{
  position:relative;isolation:isolate;overflow:hidden;
  width:100%;height:clamp(250px,27vw,364px);
  min-width:0;min-height:0;
  padding:clamp(29px,4vw,65px);
  box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;
  border-radius:clamp(22px,2.7vw,34px);
  border:1px solid rgba(164,195,244,.29);
  background:linear-gradient(140deg,rgba(20,37,72,.77),rgba(8,19,42,.96));
  box-shadow:inset 0 1px rgba(205,229,255,.1),0 18px 45px rgba(0,7,28,.22);
}
body[data-page="project"] .case-banner--clean .case-banner__brand-frame.is-wordmark{
  padding:clamp(26px,3.2vw,48px);
}
body[data-page="project"] .case-banner--clean .case-banner__brand-logo,
body[data-page="project"] .case-banner--clean img.case-banner__brand-logo{
  position:static!important;inset:auto!important;top:auto!important;right:auto!important;
  display:block;flex:0 1 auto;
  width:100%!important;height:100%!important;
  min-width:0;min-height:0;
  max-width:100%!important;max-height:100%!important;
  margin:0!important;padding:0!important;
  object-fit:contain!important;object-position:center!important;
  transform:none!important;filter:none!important;
  opacity:1;
}
body[data-page="project"] .case-banner--clean .case-banner__brand-caption{
  text-align:center;color:#8fa9d6;
  font:750 10px/1.5 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.15em;text-transform:uppercase;
}
body[data-page="project"] .case-art-proof{
  position:relative;z-index:2;flex:1 1 auto;
  display:flex;align-items:center;justify-content:center;
  min-width:0;min-height:350px;
  margin:5px 28px 29px;
  padding:clamp(20px,3vw,39px);
  overflow:hidden;
  border:1px solid rgba(161,192,242,.24);
  border-radius:20px;
  background:linear-gradient(135deg,#101d3b,#091226);
}
body[data-page="project"] .case-art-proof img{
  display:block;width:100%;height:100%;
  max-width:100%;max-height:430px;
  object-fit:contain;object-position:center;
  filter:none;transform:none;
}
body[data-page="project"] .case-art-proof--eternal{background:linear-gradient(135deg,#161034,#0c1431);}
body[data-page="project"] .case-art-proof--changemaker{background:linear-gradient(135deg,#13133d,#08152b);}
body[data-page="project"] .case-art-proof>span{
  color:#e8f3ff;font:850 clamp(30px,5vw,78px)/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.05em;
}
@media(max-width:990px){
  body[data-page="project"] .case-banner--clean .case-banner__layout{
    grid-template-columns:minmax(0,1.1fr) minmax(0,.82fr);gap:27px;
  }
  body[data-page="project"] .case-banner--clean .case-banner__brand-frame{height:clamp(220px,27vw,320px);padding:28px;}
  body[data-page="project"] .case-banner--clean .case-banner__copy h1{font-size:clamp(45px,7.4vw,85px);}
  body[data-page="project"] .case-banner--letters-to-2040 .case-banner__copy h1,
  body[data-page="project"] .case-banner--changemaker .case-banner__copy h1{font-size:clamp(38px,5.7vw,75px);}
}
@media(max-width:720px){
  body[data-page="project"] .case-banner.case-banner--clean{min-height:0;padding:clamp(24px,5vw,32px);}
  body[data-page="project"] .case-banner--clean .case-banner__layout{
    grid-template-columns:minmax(0,1fr);gap:31px;margin-top:42px;
  }
  body[data-page="project"] .case-banner--clean .case-banner__copy h1{
    font-size:clamp(46px,11vw,74px);line-height:1.02;
  }
  body[data-page="project"] .case-banner--letters-to-2040 .case-banner__copy h1,
  body[data-page="project"] .case-banner--changemaker .case-banner__copy h1{
    font-size:clamp(38px,9vw,61px);
  }
  body[data-page="project"] .case-banner--clean .case-banner__intro{
    margin-top:20px;font-size:clamp(16px,4.2vw,20px);line-height:1.52;
  }
  body[data-page="project"] .case-banner--clean .case-banner__brand-panel{
    width:100%;max-width:none;
  }
  body[data-page="project"] .case-banner--clean .case-banner__brand-frame{
    height:clamp(192px,51vw,265px);padding:clamp(27px,8vw,46px);
  }
  body[data-page="project"] .case-banner--clean .case-banner__brand-frame.is-wordmark{padding:clamp(24px,7vw,36px);}
  body[data-page="project"] .case-art-proof{margin:4px 12px 15px;padding:17px;min-height:265px;}
  body[data-page="project"] .case-art-proof img{max-height:320px;}
}
@media(prefers-reduced-motion:reduce){
  body[data-page="project"] .case-banner--clean *,body[data-page="project"] .case-art-proof *{
    animation:none!important;transition:none!important;
  }
}
