/* V43: photographic foreground stays vivid; reading veil is fixed to the screen. */
#hero.cam40 .cam-original{mask-image:linear-gradient(#000 97%,transparent 100%)}
#hero.cam40 .cam-teachers{mask-image:url(assets/professores-mask.svg)}
#hero.cam40 .cam-backdrop:after{background:linear-gradient(90deg,#F5F7FA 0%,#F5F7FAb8 18%,transparent 53%),linear-gradient(0deg,#F5F7FA 4%,transparent 32%)}
:is(#hero.cam40.motion,.hc-pending #hero.cam40) .cam-light{display:none}
:is(#hero.cam40.motion,.hc-pending #hero.cam40) .cam-shade{
 --read-end:calc(var(--site-edge,20px) + min(33vw,410px));
 background:linear-gradient(90deg,#F5F7FA 0px,#F5F7FA calc(var(--read-end) - 32px),#F5F7FAdd var(--read-end),#F5F7FA00 calc(var(--read-end) + 120px));
 opacity:1;transform:none;pointer-events:none
}
@media(min-width:1200px){
 :is(#hero.cam40.motion,.hc-pending #hero.cam40) .cam-shade{--read-end:calc(var(--site-edge,20px) + min(35vw,450px))}
}
@media(min-width:560px) and (max-height:560px){
 :is(#hero.cam40.motion,.hc-pending #hero.cam40) .cam-shade{--read-end:calc(var(--site-edge,20px) + 37vw)}
}
@media(max-width:760px) and (min-height:561px),(max-width:900px) and (orientation:portrait){
 :is(#hero.cam40.motion,.hc-pending #hero.cam40) .cam-shade{display:none}
 #hero.cam40 .cam-original{mask-image:linear-gradient(#000 97%,transparent 100%)}
 #hero.cam40 .cam-backdrop:after{background:linear-gradient(0deg,#F5F7FA 0%,transparent 22%)}
}

/* The screen-aligned reading veil sits below the untouched photographic foreground. */
#hero.cam40 .cam-original{z-index:9}
:is(#hero.cam40.motion,.hc-pending #hero.cam40) .cam-read-shield{position:absolute;inset:auto;left:0;top:0;width:100vw;height:100svh;z-index:8;transform-origin:0 0;will-change:transform;mask-image:linear-gradient(transparent 10%,#000 24%,#000 76%,transparent 94%)}
@media(max-width:760px) and (min-height:561px),(max-width:900px) and (orientation:portrait){
 :is(#hero.cam40.motion,.hc-pending #hero.cam40) .cam-read-shield{display:none}
}

/* Keep opening copy clear of the teachers without fading their bodies. */
@media(min-width:901px){#hero.cam40 .cam-scene:first-child .cam-words p{max-inline-size:min(23vw,330px)}}
