/* Case frames — editorial study page. Tokens inspired by stageshow restraint:
   one paper ground, one ink, one muted, no decorative purple, no fake chrome. */

:root {
  --bg: #f3f0ea;
  --paper: #faf8f4;
  --ink: #1c1917;
  --muted: #6a655e;
  --line: #ddd8ce;
  --btn: #1c1917;
  --btn-ink: #faf8f4;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: var(--pad);
  top: 8px;
  background: var(--paper);
  padding: 6px 10px;
  z-index: 10;
}

header.site,
footer.site,
main {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

header.site {
  padding-top: 28px;
  padding-bottom: 8px;
}
.credit {
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.lead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.lead-copy { max-width: 34rem; }
h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.lead-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  max-width: 38em;
}
.btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  background: var(--btn);
  color: var(--btn-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 3px;
  min-height: 44px;
}
.btn:hover { filter: brightness(1.15); text-decoration: none; }

main { padding-top: 8px; padding-bottom: 64px; }

.case {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--line);
}
.case:last-child { border-bottom: 0; }
.case-head { margin-bottom: 20px; }
.case-head h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.meta, .sound {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.meta { display: flex; flex-wrap: wrap; gap: 0 0.2em; align-items: baseline; }
.meta .dot { padding: 0 0.35em; color: var(--muted); }
.sound { margin-top: 4px; }

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) {
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lead { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .shots { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.shot { margin: 0; }
.shot-img {
  display: block;
  background: #e7e2d8;
  overflow: hidden;
  border-radius: 2px;
}
.shot-img img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
}
figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
}
.moment { font-weight: 500; }
.dl {
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
}
.dl:hover { color: var(--ink); text-decoration: underline; }

footer.site {
  padding-top: 8px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 13px;
}
footer.site p { margin: 0; border-top: 1px solid var(--line); padding-top: 20px; }
