/* Case studies: artifact, decision, evidence, system. No card chrome. */
.project-page .case { max-width:1500px; }
.case-heading { position:relative; }
.case-heading h1 { margin-top:.21em; margin-bottom:clamp(24px,4vw,62px); }
.case-heading .case-deck {
  max-width:33ch; margin:-.55em 0 clamp(25px,5vw,65px); color:var(--ink); text-wrap:pretty;
  font-size:clamp(1.2rem,2.8vw,2.6rem); line-height:1.06; letter-spacing:-.052em;
}
.case-heading [data-case-title] { animation:folio-heading .8s cubic-bezier(.17,.66,.23,1) both; }
@keyframes folio-heading { from { opacity:.35; translate:0 18px; clip-path:inset(0 0 23% 0); } }
.case-figure { margin:0; }
.case-figure figcaption, .case-evidence figcaption { color:var(--muted); font-size:.875rem; margin-top:11px; }
.case-story.editorial-story {
  grid-template-columns: .95fr 1fr; width:min(100%,1120px);
  align-items:start; padding-top:1.1rem; border-top:1px solid var(--line);
  gap:clamp(1.45rem,7vw,7rem); margin:clamp(3.4rem,8vw,9rem) auto;
}
.case-notes { display:grid; gap:1.2rem; }
.case-notes h3, .case-eyebrow { color:var(--muted); margin:0 0 .46rem; text-transform:uppercase; letter-spacing:.055em; }
.case-notes p { margin:0; }
.case-evidence {
  display:grid; gap:clamp(1.1rem,3vw,3.75rem);
  grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); align-items:start;
  margin-bottom:clamp(3.4rem,7vw,7rem);
}
.case-evidence figure { min-width:0; }
.case-evidence figure:first-child:nth-last-child(1) { grid-column:1/-1; }
.case-evidence .gallery-piece { margin:0; max-width:none; }
.case-evidence .gallery-visual { margin:0; }
.case-crop { margin-top:clamp(.5rem,9vw,8rem); }
.case-crop-visual { aspect-ratio:1.02; overflow:hidden; position:relative; }
.case-crop-visual img { display:block; width:100%; height:100%; object-fit:cover; object-position:var(--crop-position); scale:1.23; transform-origin:var(--crop-position); transition:scale .65s cubic-bezier(.2,.7,.25,1); }
.case-crop-visual:hover img { scale:1.36; }
.case-crop.is-seen img { animation:folio-crop .76s cubic-bezier(.17,.66,.23,1) both; }
@keyframes folio-crop { from { clip-path:inset(0 8% 0 0); opacity:.55; } }
.system-plate {
  display:grid; grid-template-columns:minmax(9rem,.52fr) minmax(0,1fr); gap:clamp(1.2rem,6vw,7rem); align-items:center;
  background:var(--case-ink); color:var(--case-light); padding:clamp(1.6rem,6vw,6.5rem);
  margin:0 0 clamp(3.4rem,7vw,8rem);
}
.system-plate > svg { width:min(100%,280px); aspect-ratio:1; justify-self:center; }
.system-orbit { opacity:.42; stroke-dasharray:2 6; }
.system-plate.is-seen > svg g { stroke-dasharray:420; animation:folio-draw 1.2s cubic-bezier(.17,.66,.23,1) both; }
@keyframes folio-draw { from { stroke-dashoffset:420; opacity:.24; } to { stroke-dashoffset:0; opacity:1; } }
.system-plate .case-eyebrow { color:inherit; }
.system-plate h2 { font-size:clamp(1.9rem,4.7vw,5rem); font-weight:500; letter-spacing:-.064em; line-height:.95; margin:0 0 .52em; }
.system-plate ul { display:flex; flex-wrap:wrap; gap:.45rem 1.3rem; list-style:none; padding:0; margin:0; }
.system-plate li { display:inline-flex; gap:.45rem; align-items:center; }
.system-plate li::before { content:""; height:.3rem; width:.3rem; background:currentColor; rotate:45deg; }
.case-proof-note { max-width:55ch; margin-top:1.3rem; line-height:1.37; }
.case-closing { display:grid; grid-template-columns:minmax(0,.65fr) minmax(0,1fr); align-items:center; gap:clamp(1.1rem,8vw,8rem); margin:clamp(2.25rem,6vw,6rem) 0; }
.case-closing picture { display:block; overflow:hidden; }
.case-closing img { width:100%; height:auto; display:block; transition:scale .7s cubic-bezier(.2,.7,.25,1); }
.case-closing:hover img { scale:1.04; }
.case-closing .next-title { display:block; margin-top:.3em; }
@media (max-width:700px) {
  .case-heading .case-deck { margin-top:0; }
  .case-story.editorial-story { grid-template-columns:1fr; }
  .case-evidence { grid-template-columns:1fr; }
  .case-crop { margin-top:0; }
  .case-crop-visual { aspect-ratio:1.34; }
  .system-plate { grid-template-columns:1fr; }
  .system-plate > svg { width:112px; justify-self:start; }
  .case-closing { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) { .system-plate.is-seen > svg g { stroke-dasharray:none; } }
