/* Portrait-led composition on laptops; mobile retains its existing layout. */
.case-sequence{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:42px;padding-top:24px;border-top:1px solid var(--line)}
.case-sequence a{font-size:13px;color:var(--muted);padding:10px 0;line-height:1.5}
.case-sequence a:hover{color:var(--ink)}
@media(min-width:901px){
 .section{max-width:1600px;margin-inline:auto}
 .scene-media,.scene-paulo .scene-media,.scene-rafael .scene-media,.scene-intro .scene-media{inset:75px 3vw 65px auto;width:52%;height:calc(100% - 140px);object-fit:contain;object-position:center;filter:none}
 .scene-copy{right:auto;width:43%;max-width:650px;bottom:17vh}
 .scene-copy h1,.scene-intro .scene-copy h1{font-size:clamp(58px,6.3vw,106px);line-height:1.02;letter-spacing:-.055em}
 .scene-copy h1 .second{margin-left:0}
 .scene-copy h2,.scene-paulo .scene-copy h2,.scene-rafael .scene-copy h2{font-size:clamp(48px,5.5vw,90px)}
 .scene-copy p{max-width:360px;font-size:clamp(15px,1.3vw,18px)}
 .scene-shade,.scene-intro .scene-shade{background:linear-gradient(90deg,#080b12 0%,#080b12 42%,transparent 60%)}
 .scene-credit{right:4vw;bottom:76px;max-width:40%;background:#080b12b0;padding:6px 10px}
 .cinema-tools{top:105px;justify-content:flex-start}
 .case-hero{height:85svh;min-height:580px;max-height:900px;background:#090b12}
 .case-cover,.case-4life-esportes .case-cover,.case-engenho-de-dentro .case-cover{width:49%;right:3vw;top:105px;height:calc(100% - 145px);padding:0;object-fit:contain;object-position:center;filter:none;background:transparent}
 .case-shade,.case-engenho-de-dentro .case-shade{background:linear-gradient(90deg,#090b12 0%,#090b12 40%,transparent 58%)}
 .case-title{width:44%;right:auto;bottom:60px}
 .case-title h1{font-size:clamp(48px,5.6vw,88px);line-height:1.03}
 .case-title .back-link{margin-bottom:30px}
 .role-label{font-size:12px;line-height:1.6}
 .project-visual{height:clamp(340px,40vw,580px);background:#10131b}
 .project-visual>img,.project-visual .card-loop{width:100%;height:100%;object-fit:contain;filter:none}
 .project-card[data-project="engenho-de-dentro"] .project-visual img{padding:24px}
 .editorial-gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1060px;margin-inline:auto;align-items:start}
 .editorial-gallery figure:nth-child(n){padding-top:0;max-width:100%}
 .editorial-gallery .image-open img{max-height:580px;object-fit:contain}
 .photo-gallery{max-width:1100px;margin-inline:auto}
 .photo-gallery .image-open img,.photo-gallery figure:last-child img{max-height:620px;object-fit:contain}
 .sports-gallery.edited-gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1100px;margin-inline:auto}
 .sports-gallery.edited-gallery figure:first-child{grid-column:1 / -1}
 .sports-gallery.edited-gallery img{max-height:600px;object-fit:contain}
 .application-gallery.edited-gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1100px;margin-inline:auto}
 .application-gallery.edited-gallery figure:first-child{grid-column:1 / -1;max-width:950px;margin-inline:auto}
 .application-gallery.edited-gallery img{max-height:620px;object-fit:contain}
 .teams-gallery img{max-height:620px;object-fit:contain}
 .video-piece video{max-height:620px}
}

/* Keep the two-line label centered inside the circular case link. */
.view-pill{display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.2;padding:12px;box-sizing:border-box;white-space:normal;flex-shrink:0}

/* The card image is the finished poster artwork, including its title. */
.project-visual{height:auto!important;aspect-ratio:4/5;background:#090b12!important}
.project-visual:after{display:none}
.project-visual img.project-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover!important;object-position:center;padding:0!important;filter:none!important;transition:transform .65s,filter .65s}
.project-card:hover .project-visual img.project-poster{transform:scale(1.02);filter:saturate(1.06)!important}
.project-meta{padding:13px 0 17px}
.project-meta p{margin:0;font-size:12px;line-height:1.6;color:#a8b0c2}
.project-card[data-project="engenho-de-dentro"] .project-visual{background:#090b12!important}
.garment-gallery{grid-template-columns:minmax(0,1fr);max-width:760px;margin-inline:auto}
.case-hero.case-engenho-de-dentro .case-cover{object-fit:cover;width:49%;padding:0;background:transparent;filter:saturate(.92) brightness(.76)}
@media(max-width:900px){.case-hero.case-engenho-de-dentro{height:90svh;min-height:680px}.case-hero.case-engenho-de-dentro .case-cover{width:100%;height:100%;padding:0;object-fit:cover;object-position:center 30%;filter:saturate(.92) brightness(.72)}.case-hero.case-engenho-de-dentro .case-shade{background:linear-gradient(0deg,#090b12 0%,#090b12d9 16%,#090b1240 67%,#090b1220)}}
