:root{--muted:#565656;--line:rgba(0,0,0,.18)}
html{scrollbar-gutter:stable}
.case-replay{position:absolute;left:var(--gutter);bottom:24px;z-index:2;font-size:10px;padding:10px 14px;border:1px solid #888;background:#ffffffb0;text-decoration:none}.case-entering .case-replay{visibility:hidden}
body{background:#fff;color:#080808}
main{padding-top:0!important}
.case-landing{position:relative;height:100svh;min-height:0;overflow:hidden;background:#f7f7f7}
.case-landing>img,.case-motion{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right top}
.case-start{z-index:3}.case-motion{z-index:4;opacity:0}.case-video-ready .case-motion{opacity:1}.case-entering .case-landing-copy{opacity:0}.case-landing-copy{transition:opacity .45s}.case-arrived .case-motion,.case-arrived .case-start{opacity:0;transition:opacity .35s}body:has(.case-entering){overflow:hidden}body:has(.case-entering)>.cp-site-wordmark{opacity:0}
.case-opening-background{position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(90deg,transparent 46%,#f5f5f5 68%);mask-image:linear-gradient(#000 40%,transparent 58%);-webkit-mask-image:linear-gradient(#000 40%,transparent 58%)}
.case-arrived .case-opening-background{opacity:0!important;transition:opacity .35s}
.case-landing-copy{position:absolute;left:var(--gutter);top:42%;width:48%;z-index:1}
.case-landing h1{font-size:clamp(70px,10.5vw,180px)}
.case-landing p{max-width:40ch;margin:24px 0;font-family:'Playfair Display',serif;font-size:clamp(20px,2vw,30px);line-height:1.45}
.case-landing .eyebrow{display:block;margin-bottom:18px}
.case-explore{display:inline-flex;align-items:center;gap:16px;min-height:44px;text-decoration:none;text-transform:uppercase;letter-spacing:.12em;border-bottom:1px solid currentColor}
main>.cp-chapter-strip{position:relative!important;background:#fff;color:#080808}
.case-projects{max-width:2000px;margin:auto}
.case-projects h2{font-size:clamp(44px,5vw,76px);margin-bottom:18px}
.case-projects .pill{border:1px solid #555;color:#080808;padding:10px 18px}
@media(max-width:700px){.case-landing-copy{top:24%;width:43%;left:22px}.case-landing h1{font-size:clamp(48px,12vw,84px)}.case-landing p{font-size:17px;max-width:26ch;margin:14px 0}.case-landing .eyebrow{font-size:9px}.case-explore{font-size:9px;letter-spacing:.05em}}
@media(max-width:700px){.case-landing>img,.case-motion{inset:auto -12% 0 auto;width:190%;height:65%;object-fit:contain;object-position:right bottom!important}.case-landing-copy{top:110px;width:calc(100% - 44px)}.case-landing p{max-width:30ch}.case-landing{background:#f7f7f7}}
@media(max-width:700px){.cp-journey-launch{left:22px;right:auto;bottom:24px}}
@media(max-width:700px){.case-replay{left:auto;right:22px}}
/* Match the incoming Experience camera canvas throughout playback and landing. */
html{scrollbar-gutter:auto;scrollbar-width:none}
html::-webkit-scrollbar{display:none}
@media(max-width:700px){.case-landing>img,.case-motion{inset:0;width:100%;height:100%;object-fit:cover;object-position:right top!important}.case-landing>.case-start{object-position:20% top!important}.case-entering .case-motion{object-position:var(--case-camera,20% top)!important}}

/* Put the selected case studies directly beneath the introduction. */
.case-landing{height:auto;min-height:100svh;padding:120px var(--gutter) 76px}.case-landing-copy{position:relative;left:auto;top:auto;width:53%;max-width:900px}.case-landing h1{font-size:clamp(62px,7.7vw,124px);margin:12px 0 16px}.case-landing-copy>p{font-size:clamp(17px,1.45vw,23px);margin:12px 0 22px}.case-projects.section{padding:0;margin:0;display:flex;flex-direction:column}.case-projects>.gallery{order:0;display:grid;grid-template-columns:1fr 1fr;gap:22px}.case-projects>.cp-chapter-strip{order:1;margin:22px 0 0;padding:16px 0}.case-projects .gallery-card{min-width:0;background:#f7f7f7}.case-projects .image-button{display:block;height:130px;overflow:hidden}.case-projects .image-button img{width:100%;height:100%;object-fit:cover}.case-projects .card-caption{padding:14px 0 0}.case-projects h2{font-size:clamp(27px,2.5vw,40px);margin:0 0 9px}.case-projects .card-caption p{font-family:inherit;font-size:12px;line-height:1.5;margin:0}.case-projects .card-caption .pill{margin-top:14px;padding:8px 10px;font-size:10px}.case-entering{height:100svh;padding-top:120px}.case-landing>img,.case-motion{height:100svh}.case-replay{bottom:18px}
@media(max-width:700px){.case-landing{padding:110px 22px 70px}.case-landing-copy{width:100%;max-width:none}.case-landing h1{font-size:60px}.case-landing-copy>p{max-width:27ch;font-size:16px}.case-projects>.gallery{gap:14px}.case-projects .image-button{height:100px}.case-projects h2{font-size:26px}.case-projects .card-caption p{font-size:11px}.case-projects .card-caption .pill{font-size:9px;padding:8px}.case-projects{background:#f7f7f7}.case-entering{padding-top:110px}}
.case-projects .gallery-card{grid-column:auto;grid-row:auto}.case-projects .gallery{width:100%}
.case-projects .gallery-card{margin-top:0;transform:none;align-self:start}@media(max-width:700px){.case-landing:not(.case-entering)>img:not(.case-start){top:70px;bottom:auto;height:235px;width:100%;object-fit:contain;object-position:right top!important}.case-landing-copy>.eyebrow,.case-landing-copy>h1,.case-landing-copy>p{position:relative;background:#f7f7f7;width:fit-content;max-width:75%}.case-landing-copy>h1{font-size:48px}.case-projects .card-caption p{font-family:inherit!important}}
/* Let case study entries sit directly on the landing background. */ .case-projects,.case-projects .gallery,.case-projects .gallery-card,.case-projects .card-caption{background:transparent}
/* Square featured images for the inline case study entries. */ .case-projects .image-button{height:auto;aspect-ratio:1 / 1}.case-projects .image-button img{display:block;width:100%;height:100%;object-fit:cover}

/* Phone Case Studies: full-height right portrait, stacked left-column entries. */
@media (max-width:720px) and (orientation:portrait) {
  .case-landing {padding:144px 16px 80px;min-height:100svh;}
  .case-landing .case-landing-copy {width:54%;max-width:none;}
  .case-landing .case-landing-copy > .eyebrow,
  .case-landing .case-landing-copy > h1,
  .case-landing .case-landing-copy > p {max-width:100%;background:transparent;}
  .case-landing .case-landing-copy > h1 {font-size:44px;}
  .case-landing .case-landing-copy > p {font-size:14px;line-height:1.5;}
  .case-landing .case-projects > .gallery {display:grid;grid-template-columns:minmax(0,1fr);gap:28px;}
  .case-landing .case-projects .gallery-card {margin:0;}
  .case-landing .case-projects .image-button {height:auto;aspect-ratio:1;}
  .case-landing .case-projects h2 {font-size:27px;}
  .case-landing .case-projects .card-caption p {font-size:12px;line-height:1.6;}
  .case-landing .case-projects .pill {white-space:normal;min-height:44px;}
  .case-landing > img,
  .case-landing:not(.case-entering) > img:not(.case-start),
  .case-landing > .case-motion {
    inset:0;
    width:100%;
    height:100svh;
    object-fit:cover;
    object-position:right top!important;
  }
  .case-landing.case-entering > .case-start {object-position:20% top!important;}
  .case-landing.case-entering > .case-motion {object-position:var(--case-camera,20% top)!important;}
}

/* Shift the subject itself right, leaving a distinct left reading column. */
@media (max-width:720px) and (orientation:portrait) {
  .case-landing {--case-subject-shift:27.7svh;}
  .case-landing .case-landing-copy {width:52%;}
  .case-landing > img:not(.case-start),
  .case-landing:not(.case-entering) > img:not(.case-start),
  .case-landing:not(.case-entering) > .case-motion {
    object-position:calc(100% + var(--case-subject-shift)) top!important;
  }
}

/* Tablet portrait: keep the subject against the right frame. */
@media (min-width:721px) and (max-width:1100px) and (orientation:portrait) {
 .case-landing {--case-subject-shift:27.7svh;}
 .case-landing > img:not(.case-start) {object-position:calc(100% + var(--case-subject-shift)) top!important;}
}
