/* ErdoUX Projects v0.14.0: case-study cover with matching studio glass cursor. */
.edx-detail-hero,.edx-detail-hero *{box-sizing:border-box}
.edx-detail-hero{
  position:relative;isolation:isolate;width:100vw;max-width:100vw;
  margin-inline:calc(50% - 50vw);
  margin-top:calc(-1 * var(--edx-detail-header-overlap,0px));
  color:var(--edx-color-heading,#EEF6F2);
  background:var(--edx-color-primary,#0D1726);
  font-family:var(--edx-font-body,Inter,sans-serif);
}
.edx-detail-hero__scene{
  position:sticky;top:0;z-index:0;height:100svh;
  margin-bottom:-100svh;pointer-events:none;overflow:hidden;
  background:var(--edx-color-primary,#0D1726)
}
.edx-detail-hero__image,.edx-detail-hero__image-fallback{
  display:block;width:100%;height:100%;object-fit:cover;object-position:center;
  background:var(--edx-color-primary,#0D1726)
}
.edx-detail-hero__veil{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(6,11,18,.18) 0%,rgba(6,11,18,.1) 25%,rgba(5,10,16,.18) 48%,rgba(3,8,16,.63) 100%)
}
.edx-detail-hero__container{width:min(1440px,calc(100% - 40px));margin-inline:auto}
.edx-detail-hero__cover{position:relative;z-index:1;min-height:100svh;display:flex;align-items:stretch}
.edx-detail-hero__cover-inner{display:flex;align-items:flex-end;padding-top:clamp(110px,16vh,190px);padding-bottom:clamp(44px,7.5vh,96px)}
.edx-detail-hero__cover-bottom{
  display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto;
  gap:24px clamp(32px,5vw,100px);align-items:end
}
.edx-detail-hero__headline{min-width:0;max-width:min(100%,900px)}
.edx-detail-hero h1{
  margin:0!important;padding:0!important;max-width:100%;color:var(--edx-color-heading,#EEF6F2)!important;
  font-family:var(--edx-font-display,Geist,sans-serif)!important;
  font-size:var(--edx-display,clamp(3.25rem,7vw,7rem))!important;
  font-weight:600!important;line-height:var(--edx-lh-display,.96)!important;
  letter-spacing:var(--edx-ls-display,-.045em)!important;
  overflow-wrap:break-word;text-wrap:balance
}
.edx-detail-hero__tagline{
  max-width:56ch;margin:clamp(16px,2.2vw,27px) 0 0!important;
  color:var(--edx-color-heading,#EEF6F2)!important;
  font:400 var(--edx-lead,clamp(1.125rem,1.5vw,1.375rem))/1.5 var(--edx-font-body,Inter,sans-serif)!important;
  letter-spacing:var(--edx-ls-body,0)!important
}
.edx-detail-hero__visit{
  display:inline-flex;align-items:center;justify-content:flex-end;gap:12px;
  min-height:44px;white-space:nowrap;align-self:end;margin-bottom:2px;
  color:var(--edx-color-heading,#EEF6F2)!important;
  font:600 var(--edx-body,clamp(1rem,calc(.94rem + .28vw),1.125rem))/1.3 var(--edx-font-action,'Space Grotesk',sans-serif)!important;
  text-decoration:underline!important;text-underline-offset:6px;text-decoration-thickness:1px!important;
  transition:opacity .25s ease
}
.edx-detail-hero__visit:hover{opacity:.76}
.edx-detail-hero__visit-dot{width:6px;height:6px;flex:none;border:1px solid currentColor;border-radius:50%}
.edx-detail-hero__details{position:relative;z-index:1;min-height:90svh;display:flex;align-items:stretch;scroll-margin-top:0}
.edx-detail-hero__details-inner{
  min-height:90svh;display:flex;flex-direction:column;justify-content:space-between;
  gap:clamp(100px,16vh,210px);
  padding-top:clamp(130px,20vh,240px);padding-bottom:clamp(75px,11vh,148px)
}
.edx-detail-hero__intro{max-width:min(100%,900px)}
.edx-detail-hero__intro p{
  margin:0!important;color:var(--edx-color-heading,#EEF6F2)!important;
  font:400 clamp(1.375rem,2.65vw,2.65rem)/1.28 var(--edx-font-display,Geist,sans-serif)!important;
  letter-spacing:-.035em;text-wrap:pretty;overflow-wrap:break-word
}
.edx-detail-hero__specs{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:32px clamp(20px,3.2vw,56px);width:100%;margin:0
}
.edx-detail-hero__spec{margin:0;min-width:0}
.edx-detail-hero__spec dt{
  margin:0 0 13px;color:var(--edx-color-heading,#EEF6F2);
  font:600 var(--edx-body,clamp(1rem,calc(.94rem + .28vw),1.125rem))/1.4 var(--edx-font-action,'Space Grotesk',sans-serif)
}
.edx-detail-hero__spec dd{
  margin:0;color:var(--edx-color-body,#A6B5B0);
  font:400 var(--edx-body,clamp(1rem,calc(.94rem + .28vw),1.125rem))/1.6 var(--edx-font-body,Inter,sans-serif)
}
.edx-detail-hero__spec dd span{display:block;overflow-wrap:anywhere}
.edx-detail-hero__cursor{
  position:fixed;top:0;left:0;z-index:2147482000;
  display:flex;align-items:center;justify-content:center;
  width:172px;height:172px;border-radius:50%;
  background:rgba(75,95,43,.78);
  border:1px solid rgba(238,246,242,.10);
  box-shadow:inset 0 0 26px rgba(255,255,255,.025),0 14px 35px rgba(0,0,0,.10);
  backdrop-filter:blur(18px) saturate(.85);
  -webkit-backdrop-filter:blur(18px) saturate(.85);
  color:var(--edx-color-heading,#EEF6F2);
  font:600 var(--edx-lead,clamp(1.125rem,1.5vw,1.375rem))/1 var(--edx-font-action,'Space Grotesk',sans-serif);
  letter-spacing:-.02em;
  pointer-events:none;opacity:0;
  transform:translate3d(-250px,-250px,0) translate(-50%,-50%);
  transition:opacity .2s ease;will-change:transform;
}
.edx-detail-hero__cursor.is-visible{opacity:1}
.edx-detail-hero__mobile-next{display:none}
.edx-detail-hero a:focus-visible{outline:3px solid var(--edx-color-secondary,#D6FF0A);outline-offset:6px}
.edx-detail-hero__sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(hover:hover) and (pointer:fine){
  .edx-detail-hero[data-edx-scroll-enabled="true"]{cursor:none}
  .edx-detail-hero[data-edx-scroll-enabled="true"] a{cursor:pointer}
}
@media(max-width:1100px){
  .edx-detail-hero__specs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .edx-detail-hero__headline{max-width:min(100%,750px)}
  .edx-detail-hero__details-inner{padding-top:clamp(100px,16vh,175px)}
}
@media(max-width:767px){
  .edx-detail-hero__container{width:calc(100% - 40px)}
  .edx-detail-hero__cover-inner{padding-top:clamp(110px,16vh,172px);padding-bottom:clamp(42px,6vh,64px)}
  .edx-detail-hero__cover-bottom{grid-template-columns:1fr;gap:18px}
  .edx-detail-hero h1{font-size:var(--edx-h1,clamp(3rem,6vw,5.5rem))!important;line-height:var(--edx-lh-h1,1)!important;letter-spacing:var(--edx-ls-h1,-.04em)!important}
  .edx-detail-hero__tagline{margin-top:14px!important;font-size:var(--edx-body,1rem)!important;line-height:1.5!important}
  .edx-detail-hero__visit{justify-self:end;margin-bottom:0;font-size:var(--edx-body-small,.875rem)!important}
  .edx-detail-hero__details{min-height:auto}
  .edx-detail-hero__details-inner{min-height:70svh;gap:clamp(70px,12vh,130px);padding-top:clamp(110px,16vh,170px);padding-bottom:80px}
  .edx-detail-hero__intro p{font-size:var(--edx-h4,clamp(1.375rem,1.8vw,1.75rem))!important;line-height:1.42!important}
  .edx-detail-hero__specs{gap:28px 22px}
  .edx-detail-hero__spec dt{margin-bottom:8px;font-size:var(--edx-body-small,.875rem)}
  .edx-detail-hero__spec dd{font-size:var(--edx-body-small,.875rem)}
  .edx-detail-hero__cursor{display:none!important}
  .edx-detail-hero__mobile-next{position:absolute;display:flex;align-items:center;justify-content:center;bottom:clamp(20px,5vh,55px);left:20px;width:44px;height:44px;color:var(--edx-color-heading,#EEF6F2)!important;border:1px solid rgba(238,246,242,.48);border-radius:50%;text-decoration:none!important;font-size:20px}
}
@media(max-width:420px){.edx-detail-hero__specs{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}}
@media(prefers-reduced-motion:reduce){
  .edx-detail-hero *,.edx-detail-hero *::before,.edx-detail-hero *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
  .edx-detail-hero__cursor{display:none!important}
}
/* The existing Divi header stays untouched. Restrict spacing resets to this shortcode's own wrapper. */
.et_pb_section:has(.edx-detail-hero),.et_pb_row:has(.edx-detail-hero),.et_pb_column:has(.edx-detail-hero),.et_pb_code:has(.edx-detail-hero),.et_pb_code_inner:has(.edx-detail-hero),.et_pb_text:has(.edx-detail-hero){max-width:none!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}

/* Editorial scroll continuity: scale/background depth and gentle cover exit. */
@media (prefers-reduced-motion:no-preference){
 .edx-detail-hero__image{transform:scale(calc(1.045 + var(--edx-detail-progress,0) * .065));transform-origin:center;will-change:transform}
 .edx-detail-hero__headline,.edx-detail-hero__visit{opacity:calc(1 - var(--edx-detail-progress,0) * 1.15);transform:translate3d(0,calc(var(--edx-detail-progress,0) * -44px),0)}
}

/* v0.15.0: matching translucent studio glass, not opaque green. */
.edx-detail-hero__cursor {
  width: clamp(116px, 10.5vw, 172px);
  height: clamp(116px, 10.5vw, 172px);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(238,246,242,.21) 0%, rgba(92,116,109,.15) 38%, rgba(13,23,38,.20) 100%);
  border: 1px solid rgba(238,246,242,.27);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.21), inset 0 -1px 0 rgba(7,16,24,.12), 0 16px 42px rgba(0,0,0,.12);
  backdrop-filter: blur(19px) saturate(1.35);
  -webkit-backdrop-filter: blur(19px) saturate(1.35);
  color: var(--edx-color-heading,#EEF6F2);
  font: 600 var(--edx-lead,clamp(1.125rem,1.5vw,1.375rem))/1 var(--edx-font-action,'Space Grotesk',sans-serif);
  letter-spacing: -.02em;
  transition: opacity .2s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .edx-detail-hero__cursor {background:rgba(35,54,54,.82)}
}
