/* Scoped to the eight expanded case studies. */
body.secondary-case{--panel:#16161a;--line:#38363c}
.secondary-case .project-hero{min-height:clamp(560px,83svh,990px)}
.secondary-case .project-hero:before{background:linear-gradient(90deg,#06060ce8 0%,#08080bc9 28%,#08080b44 64%,#08080b22),linear-gradient(0deg,#0c0e12b8,transparent 40%)}
.secondary-case .hero-content{width:min(950px,78%)}
.secondary-case .hero-topline{margin-top:clamp(36px,9vh,125px)}
.secondary-case .project-hero h1{font-size:clamp(55px,7vw,130px);max-width:13ch}
.secondary-case .hero-brand{display:block;width:max-content;max-width:100%;max-height:56px;object-fit:contain;object-position:left}
.secondary-case .hero-word{font-size:clamp(21px,2.2vw,36px);font-weight:760;letter-spacing:-.045em}
.secondary-case .case-read{font-size:14px;color:var(--accent)}
.secondary-case .case-read:hover{color:#fff}
.secondary-case .exhibit-menu a{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-weight:650}
.secondary-case .exhibit-menu a span:last-child{color:var(--accent)}
.secondary-case .exhibit-art{height:100%;min-height:300px;display:grid;place-items:center;overflow:hidden;background:var(--panel);padding:clamp(14px,2.4vw,40px)}
.secondary-case .exhibit-art img{width:auto;max-height:540px;object-fit:contain;border-radius:12px}
.secondary-case .chapter-media{margin:0 max(16px,calc(var(--pad)*.52));border:1px solid var(--line);border-radius:clamp(12px,1.7vw,27px);overflow:hidden;background:#101014;min-width:0}
.secondary-case .chapter-media .viewer-tools{padding:10px clamp(12px,2.7vw,42px)}
.secondary-case .chapter-media .view-caption{padding:16px clamp(14px,2.7vw,42px) 20px;align-items:center}
.secondary-case .scene{background:linear-gradient(#11111a38,#101015bb),var(--scene) 50% 50%/cover;display:grid;place-items:center;padding:clamp(20px,6vw,115px) clamp(13px,8.5vw,160px);min-height:240px}
.secondary-case .scene[data-mode-visible="original"]{padding:14px clamp(5px,1.2vw,20px);background:#151519}
.secondary-case .scene[data-mode-visible="original"] .screen-frame{padding:0;border:0;box-shadow:none;border-radius:0;max-height:min(77svh,940px);overflow:auto}
.secondary-case .screen-frame{display:block;width:min(100%,1348px);border-radius:clamp(7px,1.2vw,19px);border:0;background:#0a0a0e;box-shadow:0 24px 80px #000d;padding:0;overflow:hidden}
.secondary-case .screen-frame img{display:block;width:100%;height:auto;border-radius:clamp(4px,.7vw,12px);margin:auto}
.secondary-case .scene:not([data-mode-visible="original"]) .screen-frame.is-tall img{object-fit:contain;width:auto;max-height:min(74svh,850px)}
.secondary-case .art-frame{display:grid;place-items:center;padding:clamp(10px,2vw,30px);background:#101014}
.secondary-case .art-frame img{width:auto;max-width:100%;max-height: min(76svh,1000px);object-fit:contain;border-radius:12px}
.secondary-case .secondary-gallery{padding:0 var(--pad) clamp(50px,6vw,110px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.4vw,24px)}
.secondary-case .secondary-gallery a {display:grid;grid-template-rows:1fr auto;gap:8px;padding:8px;background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.secondary-case .secondary-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#0b0b0e;border-radius:7px}
.secondary-case .secondary-gallery span{padding:2px 6px 5px;font-size:14px;font-weight:550}
.secondary-case .case-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:20px var(--pad);gap:18px 28px;border-bottom:1px solid var(--line)}
.secondary-case .case-facts dt{color:var(--accent);font-size:13px;margin-bottom:2px}
.secondary-case .case-facts dd{margin:0;font-size:16px}
.secondary-case .film video{border-radius:12px;background:#09090b}
.secondary-case .film .credits{gap:16px}
.secondary-case .closing:before{background:linear-gradient(90deg,#08080ce6,#08080c6e)}
@media (max-width:700px){
 .secondary-case .tour-nav{flex-wrap:wrap;gap:0 10px;padding-left:30px}
 .secondary-case .tour-nav div{gap:13px;flex-wrap:wrap}
 .secondary-case .project-hero{padding-left:30px}
 .secondary-case .hero-content{width:100%}
 .secondary-case .project-hero h1{font-size:clamp(43px,10.8vw,66px);max-width:12ch}
 .secondary-case .case-facts{grid-template-columns:1fr 1fr}
 .secondary-case .secondary-gallery{grid-template-columns:1fr 1fr}
 .secondary-case .exhibit-art{min-height:0}
 .secondary-case .scene{min-height:0;padding:24px 10px}
 .secondary-case .chapter-media .view-caption{flex-wrap:wrap}
 .secondary-case .caption-actions{justify-content:flex-start}
}
