@font-face{font-family:"Case Credit Regular";src:url("raleway-reference.woff2") format("woff2");font-weight:400;font-display:swap}
@media(max-width:640px){
.project-case .case-heading h1,#comp-mt1prj6s h1{font-size:20pt!important;line-height:1.2!important}
.project-case .credits{font-weight:700}
.project-case .credits span,#comp-mt1ps03z .case-intro-credit-label{font-family:"Case Credit Regular",Raleway,Arial,sans-serif!important;font-weight:400!important;font-size:calc(1em - 2pt)!important}
}

.intro-credit-short{display:none}
@media(max-width:640px){.intro-credit-full{display:none}.intro-credit-short{display:inline}}

/* Rótulos regulares em todas as larguras; nomes permanecem em negrito. */
.project-case .credits span,#comp-mt1ps03z .case-intro-credit-label{font-family:"Case Credit Regular",Raleway,Arial,sans-serif!important;font-weight:400!important}

@media(max-width:640px){
.project-case .case-intro:has(+ .case-film),.haddock-case .case-intro{padding-bottom:150px}
#comp-mt1pr8ts{padding-bottom:96px!important}
}

@media(max-width:640px){
.project-case .case-film + .case-gallery{padding-top:150px}
#comp-mt1oz546{margin-bottom:130px!important}
.haddock-case .haddock-media-row video:first-of-type{margin-bottom:calc(150px - var(--gallery-gap))}
.haddock-case .case-gallery{padding-bottom:150px}
}

/* Mantém o vídeo fixo e reserva rolagem antes da sobreposição da galeria. */
@media(max-width:640px){
#comp-mt1oz546{margin-bottom:calc(130px + 30svh)!important}
.project-case .case-film + .case-gallery{margin-top:30svh}
}

@media(max-width:640px) and (prefers-reduced-motion:no-preference){
.case-gallery-reveal{position:relative}
.case-gallery-reveal::after{content:"";position:absolute;inset:0;z-index:4;background:#fff;opacity:var(--gallery-white,0);pointer-events:none}
}

/* A borda branca que passa sobre o vídeo acompanha a margem lateral.
   O restante do intervalo fica fora do fundo branco da galeria. */
@media(max-width:640px){
.petrah-case .case-film + .case-gallery,
.estancia-case .case-film + .case-gallery{
 padding-top:var(--gallery-edge);
 margin-top:calc(30svh + 150px - var(--gallery-edge));
}
}
