/* =========================================================
   V39 · Seamless white editorial scene
   Team photograph dissolves into the page instead of reading as
   a rectangular crop. Typography gets a calm staggered reveal.
   ========================================================= */

/* ---- Team scene: one continuous white canvas ---- */
body.cinematic-home .cinema-scene-white-blend,
body.cinematic-home .cinema-scene-white-blend .cinema-sticky{
  background:#fff!important;
}

body.cinematic-home .cinema-scene-white-blend .cinema-sticky::before{
  background:#fff!important;
}

/* The photograph starts well behind the copy and fades into transparency.
   Transparency reveals the white page, so there is no visible image edge. */
body.cinematic-home .cinema-scene-white-blend .cinema-media{
  inset:0 0 0 25%!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden!important;
  -webkit-mask-image:linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.06) 5%,
    rgba(0,0,0,.30) 13%,
    rgba(0,0,0,.74) 25%,
    #000 39%,
    #000 100%);
  mask-image:linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,.06) 5%,
    rgba(0,0,0,.30) 13%,
    rgba(0,0,0,.74) 25%,
    #000 39%,
    #000 100%);
}

body.cinematic-home .cinema-scene-white-blend .cinema-media img{
  object-position:64% 50%!important;
  filter:
    saturate(.92)
    contrast(1.01)
    brightness(var(--v38-photo-brightness,1))
    blur(var(--v38-photo-blur,0px))!important;
}

/* White feathering across the left, top and bottom makes the photography
   feel printed into the page rather than placed inside a panel. */
body.cinematic-home .cinema-scene-white-blend .cinema-overlay{
  opacity:1!important;
  background:
    linear-gradient(90deg,
      #fff 0%,
      #fff 25%,
      rgba(255,255,255,.985) 33%,
      rgba(255,255,255,.90) 42%,
      rgba(255,255,255,.62) 51%,
      rgba(255,255,255,.22) 62%,
      rgba(255,255,255,0) 73%),
    linear-gradient(180deg,
      #fff 0%,
      rgba(255,255,255,.90) 5%,
      rgba(255,255,255,.28) 14%,
      rgba(255,255,255,0) 27%,
      rgba(255,255,255,0) 76%,
      rgba(255,255,255,.36) 89%,
      #fff 100%),
    linear-gradient(270deg,
      rgba(255,255,255,.22) 0%,
      rgba(255,255,255,0) 7%)!important;
}

/* Remove the old local halo. The image-to-white blend itself provides
   readability and avoids any cloud/card contour around the copy. */
body.cinematic-home .cinema-scene-white-blend .cinema-copy::after{
  display:none!important;
}

body.cinematic-home .cinema-scene-white-blend .cinema-content{
  width:min(1460px,calc(100% - 112px))!important;
  align-items:center!important;
  padding-bottom:0!important;
}

body.cinematic-home .cinema-scene-white-blend .cinema-copy{
  width:min(690px,45vw)!important;
  padding:28px 0;
}

body.cinematic-home .cinema-scene-white-blend .cinema-kicker{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:13px;
  margin-bottom:22px;
  color:#1671ad!important;
  font-size:clamp(.72rem,.78vw,.86rem)!important;
  font-weight:720!important;
  letter-spacing:.145em!important;
  text-shadow:none!important;
}
body.cinematic-home .cinema-scene-white-blend .cinema-kicker::before{
  content:"";
  width:34px;
  height:2px;
  flex:0 0 auto;
  border-radius:999px;
  background:linear-gradient(90deg,#2278B5,#6bb7e8);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .78s .08s cubic-bezier(.22,1,.36,1);
}
body.cinematic-home .cinema-scene-white-blend.is-v36-visible .cinema-kicker::before{
  transform:scaleX(1);
}

body.cinematic-home .cinema-scene-white-blend .cinema-copy h2{
  max-width:700px;
  color:#0b2738!important;
  font-size:clamp(3.1rem,4.35vw,5.15rem)!important;
  font-weight:565!important;
  line-height:.985!important;
  letter-spacing:-.052em!important;
  text-wrap:balance;
  text-shadow:none!important;
}
body.cinematic-home .cinema-scene-white-blend .cinema-copy h2 span{
  text-shadow:none!important;
}
body.cinematic-home .cinema-scene-white-blend .cinema-copy p{
  max-width:620px;
  margin-top:26px;
  color:#395261!important;
  font-size:clamp(1.02rem,1.18vw,1.18rem)!important;
  line-height:1.65!important;
  font-weight:465!important;
  text-shadow:none!important;
}
body.cinematic-home .cinema-scene-white-blend .cinema-text-link{
  position:relative;
  margin-top:24px;
  padding-bottom:9px;
  color:#12344a!important;
  border-bottom:0!important;
  text-shadow:none!important;
  font-weight:700!important;
}
body.cinematic-home .cinema-scene-white-blend .cinema-text-link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,#2278B5,rgba(34,120,181,.16));
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .72s .52s cubic-bezier(.22,1,.36,1);
}
body.cinematic-home .cinema-scene-white-blend.is-v36-visible .cinema-text-link::after{
  transform:scaleX(1);
}

/* ---- Typography reveal: elegant, not shaky ---- */
body.cinematic-home .cinema-scene-white-blend [data-cinema-line]{
  opacity:0!important;
  transform:translate3d(0,32px,0)!important;
  filter:blur(8px)!important;
  transition:
    opacity .72s cubic-bezier(.22,1,.36,1),
    transform .94s cubic-bezier(.16,1,.3,1),
    filter .78s ease!important;
}
body.cinematic-home .cinema-scene-white-blend .cinema-kicker[data-cinema-line]{
  transform:translate3d(-16px,0,0)!important;
  filter:blur(5px)!important;
  transition-delay:.02s!important;
}
body.cinematic-home .cinema-scene-white-blend h2 [data-cinema-line]:nth-child(1){
  transition-delay:.10s!important;
}
body.cinematic-home .cinema-scene-white-blend h2 [data-cinema-line]:nth-child(2){
  transition-delay:.20s!important;
}
body.cinematic-home .cinema-scene-white-blend p[data-cinema-line]{
  transform:translate3d(0,22px,0)!important;
  transition-delay:.31s!important;
}
body.cinematic-home .cinema-scene-white-blend .cinema-text-link[data-cinema-line]{
  transform:translate3d(0,16px,0)!important;
  transition-delay:.41s!important;
}
body.cinematic-home .cinema-scene-white-blend.is-v36-visible [data-cinema-line]{
  opacity:1!important;
  transform:translate3d(0,0,0)!important;
  filter:blur(0)!important;
}

/* Tiny resting movement on the arrow only; the words stay perfectly still. */
body.cinematic-home .cinema-scene-white-blend .cinema-text-link span{
  display:inline-block;
  transition:transform .28s cubic-bezier(.22,1,.36,1);
}
body.cinematic-home .cinema-scene-white-blend .cinema-text-link:hover span{
  transform:translate3d(3px,-3px,0);
}

@media(max-width:1000px){
  body.cinematic-home .cinema-scene-white-blend .cinema-media{
    inset:0 0 0 18%!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-copy{
    width:min(610px,58vw)!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-copy h2{
    font-size:clamp(2.75rem,5.8vw,4.4rem)!important;
  }
}

@media(max-width:700px){
  body.cinematic-home .cinema-scene-white-blend .cinema-sticky{
    height:clamp(650px,88svh,760px)!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-media{
    inset:0!important;
    -webkit-mask-image:none;
    mask-image:none;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-media img{
    object-position:58% 30%!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-overlay{
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.12) 0%,
        rgba(255,255,255,.04) 28%,
        rgba(255,255,255,.54) 50%,
        rgba(255,255,255,.94) 64%,
        #fff 78%,
        #fff 100%),
      linear-gradient(90deg,#fff 0%,rgba(255,255,255,.16) 18%,rgba(255,255,255,0) 76%,rgba(255,255,255,.48) 100%)!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-content{
    width:calc(100% - 38px)!important;
    align-items:flex-end!important;
    padding-bottom:48px!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-copy{
    width:100%!important;
    padding:0!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-copy h2{
    font-size:clamp(2.25rem,10.6vw,3.5rem)!important;
    line-height:1!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-copy p{
    font-size:.96rem!important;
    line-height:1.55!important;
    margin-top:18px!important;
  }
  body.cinematic-home .cinema-scene-white-blend .cinema-kicker{
    margin-bottom:14px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.cinematic-home .cinema-scene-white-blend [data-cinema-line],
  body.cinematic-home .cinema-scene-white-blend .cinema-kicker::before,
  body.cinematic-home .cinema-scene-white-blend .cinema-text-link::after{
    opacity:1!important;
    transform:none!important;
    filter:none!important;
    transition:none!important;
  }
}
