/* Case-study layout, shared with the quieter portfolio homepage. */
:root{--bg:#fff;--ink:#191919;--muted:#606060;--line:#deded9;--accent:#191919;--panel:#f5f5f3;--strong:#191919;--on-strong:#fff;--focus:#191919}
:root[data-theme=dark]{--bg:#191919;--ink:#f5f5f3;--muted:#bcbcb7;--line:#444440;--accent:#f5f5f3;--panel:#222221;--strong:#f5f5f3;--on-strong:#191919;--focus:#fff}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--bg:#191919;--ink:#f5f5f3;--muted:#bcbcb7;--line:#444440;--accent:#f5f5f3;--panel:#222221;--strong:#f5f5f3;--on-strong:#191919;--focus:#fff}}
html{scroll-padding-top:95px}
body{font-size:16px;line-height:1.75}
.wrap,.wide-wrap{width:min(1200px,88%)}
.header{min-height:94px;height:auto;justify-content:space-between;gap:24px}
.brand{font-size:14px;font-weight:600;letter-spacing:1.1px;line-height:1.5}
.brand span{display:block;font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:4px}
.header nav{gap:25px}.header nav a{font-size:14px}
.theme-toggle{font-size:13px;min-height:44px}
.eyebrow{font-size:12px;letter-spacing:.06em;font-weight:500;line-height:1.6}
.back-link{display:inline-flex;min-height:44px;align-items:center;font-size:13px;color:var(--muted)}
.back-link:hover{color:var(--ink)}
.case-intro{padding:20px 0 30px}
.case-title-row{margin-top:21px;align-items:flex-end;gap:36px}
.case-title-row h1{font-size:clamp(48px,5.8vw,78px);line-height:1.05;letter-spacing:-.045em;margin-top:12px}
.case-title-row>p{font-size:16px;line-height:1.6;max-width:285px;min-width:0;color:var(--muted);padding:0}
.case-summary{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px;margin:30px 0 0;padding-top:20px;border-top:1px solid var(--line)}
.case-summary dt{font-size:12px;color:var(--muted);margin-bottom:3px}
.case-summary dd{margin:0;font-size:14px}
.case-hero .image-link{height:clamp(340px,42vw,540px);aspect-ratio:auto}
.case-hero figcaption{padding:0;font-size:12px}
.image-tag{font-size:12px}
.enlarge{font-size:12px;background:#fff;color:#191919;min-height:44px}
.case-nav{gap:12px;flex-wrap:wrap;padding-block:8px;margin-top:20px}
.case-nav a{font-size:13px;min-height:44px}
.section{padding:70px 0}
h2,.section-heading h2,.case-overview h2{font-size:clamp(30px,3.2vw,43px);line-height:1.16;letter-spacing:-.035em}
.section-heading{margin-bottom:32px;gap:32px}
.section-heading h2,.case-overview h2{margin-top:14px}
.section-note{font-size:14px;line-height:1.65;flex-shrink:0}
.case-overview{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:70px;border-bottom:1px solid var(--line)}
.large-copy{font-size:23px;line-height:1.5;letter-spacing:-.025em}
.case-overview>div>p:not(.large-copy):not(.eyebrow){font-size:15px;margin-top:18px}
.scope-note{padding-top:20px;border-top:1px solid var(--line)}
.scope-note strong{color:var(--ink);font-weight:500}
.route-study{margin:32px 0 38px}
.mission-route{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:0;margin:18px 0 0}
.mission-route li{border-top:1px solid var(--ink);padding-top:14px}
.mission-route li>span{font-size:12px;color:var(--muted)}
.mission-route h3{font-size:22px;line-height:1.3;margin:10px 0}
.mission-route p{font-size:14px;color:var(--muted);line-height:1.65}
.route-note{font-size:13px;color:var(--muted);margin-top:22px;max-width:800px}
.world-gallery{gap:30px}
.world-gallery img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.world-gallery .panorama img{height:auto;aspect-ratio:auto}
.world-gallery figcaption{font-size:12px;line-height:1.65;display:block}
.world-gallery figcaption>span{display:block;font-weight:500;margin-bottom:3px}
.scene-pin{position:absolute;z-index:1;display:grid;place-items:center;width:28px;height:28px;transform:translate(-50%,-50%);border:1px solid #fff;border-radius:50%;background:#191919;color:#fff;font-size:13px;line-height:1;box-shadow:0 1px 8px #0005;pointer-events:none}
.pin-one{left:28%;top:22%}.pin-two{left:55%;top:38%}.pin-three{left:79%;top:20%}
.scene-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;margin:22px 0 0;padding:0}
.scene-notes li{border-top:1px solid var(--line);padding-top:13px}
.scene-notes strong{font-size:14px;font-weight:500}
.scene-notes p{font-size:14px;color:var(--muted);line-height:1.7;margin-top:6px}
.early-study,.process-credits{border-block:1px solid var(--line);margin-top:32px}
.early-study summary,.process-credits summary{cursor:pointer;padding:18px 0;font-size:14px;min-height:55px}
.early-study summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px}
.early-study summary::-webkit-details-marker{display:none}
.early-study summary span{font-size:24px;line-height:1}
.early-study[open] summary span{transform:rotate(45deg)}
summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.process-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:40px;padding:14px 0 28px}
.process-layout h3{font-size:29px;margin:14px 0 18px}
.process-layout p:not(.eyebrow){font-size:15px}
.process-layout figcaption{font-size:12px}
.gameplay-section{padding:65px 0;background:var(--panel)}
.story-row,.story-row.reverse{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:44px;margin-top:45px}
.story-row.reverse figure{order:0}
.story-row img{width:100%;height:auto;aspect-ratio:auto}
.story-copy{padding:0}
.story-number{font:500 13px/1.5 'DM Sans',Arial,sans-serif;position:static;color:var(--muted)}
.story-copy .eyebrow{font-size:12px;margin-top:8px}
.story-copy h3{font-size:30px;line-height:1.2;margin:12px 0 17px}
.story-copy>p:not(.eyebrow){font-size:15px;line-height:1.75}
.story-detail{font-size:12px;line-height:1.7;padding-top:14px;margin-top:19px}
.development-note{font-size:13px;line-height:1.7;margin-top:36px;max-width:750px}
.revision{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:70px;border-top:1px solid var(--line);padding:28px 0 30px}
.revision-number{font-size:12px;color:var(--muted)}
.revision h3{font-size:27px;line-height:1.25;max-width:340px;margin-top:12px}
.revision dl{margin:0}.revision dl>div+div{margin-top:20px}
.revision dt{font-size:12px;font-weight:500;color:var(--ink);margin-bottom:5px}
.revision dd{font-size:15px;line-height:1.75;color:var(--muted);margin:0}
.next-pass{padding:24px 28px;background:var(--panel);margin-top:10px}
.next-pass h3{font-size:22px;line-height:1.4;margin-bottom:9px}
.next-pass p{font-size:15px;line-height:1.75;color:var(--muted);max-width:850px}
.gameplay-video{padding-top:0;padding-bottom:50px;border-bottom:0}
.gameplay-video-footer p{font-size:13px}
.gameplay-video-footer .text-link{font-size:13px;min-height:44px}
.documents-band{padding:65px 0;background:var(--panel)}
.document-card{padding:28px}
.document-card h3{font-size:34px;line-height:1.15;margin:22px 0}
.document-card>p{font-size:15px;line-height:1.7}
.document-actions{gap:24px;margin-top:25px}
.document-actions a{font-size:13px;min-height:44px}
.small-note{font-size:13px;line-height:1.7;margin-top:22px}
.process-credits{margin-top:24px}
.process-credits p{font-size:14px;line-height:1.75;color:var(--muted);max-width:900px;margin:0 0 20px}
.case .contact{margin-top:55px;padding-bottom:30px}
.contact-top .text-link{font-size:13px;min-height:44px}
.contact-title{font-size:clamp(32px,4vw,52px);line-height:1.15;letter-spacing:-.035em;padding:30px 55px 30px 0}
.contact-title>span{font-size:42px;top:30px}
.contact-bottom{font-size:13px;line-height:1.6}
.contact-bottom a{display:flex;align-items:center;min-height:44px}
.footer{font-size:12px}
.image-viewer{background:#191919;color:#fff;border-color:#555}
.image-viewer::backdrop{background:rgba(0,0,0,.92)}
.viewer-toolbar button,.viewer-bottom button{border-color:#777;color:#fff}
.viewer-caption{font-size:13px}
@media(max-width:1000px){
  .wrap,.wide-wrap{width:90%}
  .case-title-row h1{font-size:58px}.case-title-row>p{font-size:15px}
  .case-overview,.revision{gap:36px}
  .story-row,.story-row.reverse{gap:28px}
  .story-copy h3{font-size:27px}
  .mission-route{gap:18px}.mission-route h3{font-size:20px}
}
@media(max-width:700px){
  html{scroll-padding-top:24px}
  .header{display:block;padding:17px 0 10px;min-height:0}.brand{display:inline-block;font-size:13px;letter-spacing:.8px}.brand span{font-size:12px;line-height:1.4;max-width:none}
  .header nav{gap:24px;margin-top:9px}.header nav a{font-size:13px}.header .theme-toggle{margin-left:auto;font-size:12px;padding-inline:13px}
  .case-intro{padding:13px 0 25px}.case-title-row{display:block;margin-top:17px}.case-title-row h1{font-size:clamp(43px,10vw,60px);margin-top:10px}.case-title-row>p{font-size:15px;line-height:1.65;margin-top:17px;max-width:none}
  .case-title-row>p br{display:none}.case-title-row .eyebrow{max-width:290px}
  .case-summary{grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;padding-top:18px}.case-summary>div:first-child{grid-column:1/-1}.case-summary dd{font-size:14px}
  .case-hero .image-link{height:auto;aspect-ratio:1.15}.case-hero img{height:100%}.case-hero figcaption{font-size:12px;line-height:1.65}
  .hero-tag{font-size:12px}.enlarge{font-size:12px;min-height:44px;bottom:12px;right:12px}
  .case-nav{position:static;justify-content:flex-start;gap:0 24px;padding-block:8px;margin-top:18px}.case-nav a{font-size:13px;min-height:44px}
  .section{padding:48px 0}.section-heading,.section-heading:has(.section-note){display:block;margin-bottom:26px}
  h2,.section-heading h2,.case-overview h2{font-size:31px;line-height:1.18}.section-note{font-size:14px;margin-top:16px}.section-note br{display:none}
  .case-overview{grid-template-columns:1fr;gap:24px}.case-overview h2 br{display:none}.large-copy{font-size:21px}.case-overview>div>p:not(.large-copy):not(.eyebrow){font-size:15px}
  .route-study{margin:27px 0 30px}.mission-route{grid-template-columns:1fr 1fr;gap:24px 20px}.mission-route h3{font-size:21px}.mission-route p{font-size:14px}.route-note{font-size:13px;line-height:1.7}
  .world-gallery{grid-template-columns:1fr;gap:28px}.world-gallery img{aspect-ratio:16/9}.world-gallery .panorama img{aspect-ratio:auto}
  .world-gallery figcaption{font-size:12px}.scene-pin{width:23px;height:23px;font-size:12px}
  .scene-notes{grid-template-columns:1fr;gap:15px;margin-top:20px}.scene-notes li{padding-top:12px}.scene-notes p{margin-top:3px}
  .early-study summary{font-size:14px;line-height:1.6}.early-study summary span{flex-shrink:0}.process-layout{grid-template-columns:1fr;gap:24px;padding-top:12px}.process-layout h3{font-size:27px}
  .gameplay-section{padding:48px 0}.story-row,.story-row.reverse{grid-template-columns:1fr;gap:22px;margin-top:35px}.story-copy{padding:0}.story-number{font-size:13px}.story-copy .eyebrow{font-size:12px;margin-top:8px}.story-copy h3{font-size:28px}.story-copy>p:not(.eyebrow){font-size:15px}.story-detail{font-size:12px}
  .revision{grid-template-columns:1fr;gap:23px;padding:24px 0 28px}.revision h3{font-size:26px;margin-top:8px;max-width:none}.revision dl>div+div{margin-top:18px}
  .next-pass{padding:21px}.next-pass h3{font-size:22px}.next-pass p{font-size:15px}
  .gameplay-video{padding-top:0;padding-bottom:45px}.gameplay-video-footer{flex-direction:column;align-items:flex-start;gap:7px}
  .documents-band{padding:48px 0}.document-grid{grid-template-columns:1fr;gap:20px}.document-card{padding:23px}.document-card h3{font-size:32px}.document-card>p{min-height:0}.document-actions{gap:16px}
  .case .contact{margin-top:40px}.contact-top{gap:8px}.contact-title{font-size:34px;padding-right:45px}.contact-title>span{font-size:32px}.contact-bottom{font-size:13px;flex-direction:column;gap:0}.footer{font-size:12px;gap:15px;padding-bottom:calc(17px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:360px){
  .header nav{gap:18px}.header .theme-toggle{padding-inline:11px}.case-title-row h1{font-size:42px}.case-nav{gap:0 18px}.mission-route{gap:22px 17px}.mission-route h3{font-size:19px}
  .document-actions{align-items:flex-start;flex-direction:column;gap:10px}.contact-title{font-size:31px}.footer{align-items:flex-start;flex-direction:column;gap:0}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.image-link img,.contact-title>span{transition:none}}
