/* Case-specific presentation, layered after the shared portfolio theme. */
.case-orange{--case-accent:#ff9a3d}
.case-orange :is(.portfolio-nav a,.lab-preview-trigger,.theme-button,.theme-more-work>a)::after{background:linear-gradient(135deg,#ffb16dcc,#ff9a3d55 38%,transparent 72%)}
.case-orange :is(.portfolio-nav a,.lab-preview-trigger,.theme-button)::before{background:linear-gradient(190deg,#ff9a3d1c,transparent 65%)}
.case-orange :is(a,button,video,[tabindex]):focus-visible{outline-color:var(--case-accent)}
.site-shared-chrome.case-orange :is(.portfolio-nav a,.lab-preview-trigger):focus-visible{outline-color:var(--case-accent)}
.case-orange .metrics strong,.case-orange .comparison>div:last-child h3{color:var(--case-accent)}
.underage-case .metrics strong{color:#fff}
.underage-case .metrics{border-bottom:0}
.case-orange .home-copy .scroll-note{color:var(--case-accent)!important}
.case-orange .demo-controls>button[aria-pressed="true"]{background:var(--case-accent);border-color:var(--case-accent);color:#24170c}
.case-orange .demo-controls>button:hover{border-color:var(--case-accent)}

/* Same full-width case container as Underage, with a bounded preview height.
   object-fit:contain preserves the full original; the viewer uses that source. */
.compact-media-case .archive-media{height:clamp(20rem,60vw,46rem);display:grid;place-items:center}
.compact-media-case #project-preview{scroll-margin-top:1.5rem}
.compact-media-case .archive-media>img{width:100%;height:100%;min-width:0;min-height:0;max-height:100%;object-fit:contain}

/* Fit the panel to each original photograph: no crop or empty dark strips.
   The longest portrait panels retain the compact preview height limit. */
.complete-media-case .archive-media{width:100%;max-width:min(100%,calc(clamp(20rem,60vw,46rem)*var(--media-ratio)));height:auto;display:block;margin-inline:auto}
.complete-media-case .archive-media>img{width:100%;height:auto;max-height:none;object-fit:contain}

/* Rebuild Roar's original 960px editorial flow with current shared surfaces. */
.portfolio-theme.roar-case main.wrap{width:min(100% - 2.5rem,60rem)}
.portfolio-theme.roar-case .archive-intro{display:block;padding-block:3rem 2rem}
.roar-case .archive-intro h1{font-size:clamp(2.5rem,5.5vw,4rem);margin-bottom:1.5rem}
.roar-case .archive-summary{max-width:60ch}
.roar-case .roar-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;margin-block:1rem}
.roar-case .roar-gallery{display:grid;gap:1rem;min-width:0}
.roar-case .roar-pair .archive-media{margin:0;aspect-ratio:472/450}
.roar-case .roar-note{padding:1.5rem;color:#b8bdbf;line-height:1.7;min-width:0}
.roar-case .roar-note p{max-width:36ch}
.roar-case .roar-note .eyebrow{font-size:.875rem;margin-bottom:1.5rem}
.roar-case .roar-wide{aspect-ratio:12/7;margin-block:1rem}
.roar-case :is(.roar-wide,.roar-pair .archive-media)>img{width:100%;height:100%;object-fit:contain}
.roar-case .roar-type .roar-note{order:-1}
.roar-case .roar-quote{padding:3rem 0;margin-inline:auto;max-width:44rem;color:#c6cacc;font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.45;letter-spacing:-.02em}
@media(min-width:810px){
 .portfolio-theme.roar-case main.wrap{width:min(100% - 5rem,60rem)}
 .portfolio-theme.roar-case .archive-intro{padding-block:4rem 2rem}
 .roar-case .roar-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .roar-case .roar-note{position:sticky;top:2rem;min-height:28.125rem;padding:1.5rem}
 .roar-case .roar-type .roar-note{order:0}
 .roar-case .roar-quote{padding-block:5rem}
}
