/* Case study V2, shared by every case page that sets body.case-v2.
   Base reading styles (zero-specificity scope) first, then the V2 system: 1120 wide / 820 reading
   measure, seven text styles, processed figures, stacked opening, next-case card.
   Page folders keep only page-specific components. Change here = all V2 cases change. */

/* Rule Agent — reading styles, V1.
   Loaded only by this case. Text, assets, order and shared styles stay intact. */
:where(.case-v2) .case {
  --reading-body: #4F514C;
  --reading-caption: #6C6D67;
  --reading-section-gap: 72px;
  color: var(--reading-body);
}

/* Preserve the current face and reading measure; clarify the hierarchy. */
:where(.case-v2) .case .case-head h1 {
  font-size: 39px;
  text-wrap: pretty;
}
:where(.case-v2) .case .case-dek {
  color: var(--reading-body);
}
:where(.case-v2) .case .case-meta,
:where(.case-v2) .case .mobile-hint {
  color: var(--reading-caption);
}
:where(.case-v2) .case .prose > p {
  font-size: 16.5px;
  line-height: 1.68;
  margin-bottom: 20px;
}
:where(.case-v2) .case .prose > .eyebrow {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .10em;
  margin: var(--reading-section-gap) auto 10px;
}
:where(.case-v2) .case .prose > h2 {
  font-size: 30px;
  line-height: 1.2;
  text-wrap: pretty;
  margin: 0 auto 24px;
}
:where(.case-v2) .case .prose > h3 {
  margin-bottom: 24px;
}

/* Chapter breaks are generous; figures and their captions stay together. */
:where(.case-v2) .case .prose > figure {
  margin: 40px 0;
}
:where(.case-v2) .case .prose > h2 + figure,
:where(.case-v2) .case .prose > h3 + figure {
  margin-top: 24px;
}
:where(.case-v2) .case figcaption {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--reading-caption);
  margin: 12px auto 0;
}

@media (max-width: 900px) {
  :where(.case-v2) .case {
    --reading-section-gap: 56px;
  }
  :where(.case-v2) .case .case-head h1 {
    font-size: 28px;
  }
  :where(.case-v2) .case .prose > h2 {
    font-size: 24px;
  }
  :where(.case-v2) .case .prose > figure {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  :where(.case-v2) .case .prose > h2 + figure,
  :where(.case-v2) .case .prose > h3 + figure {
    margin-top: 24px;
  }
}

@media (prefers-color-scheme: dark) {
  :where(.case-v2) .case {
    --reading-body: #B8B9B2;
    --reading-caption: #A3A59C;
  }
}

/* Local case exploration: a wider, left-anchored reading grid.
   No capsule navigation. Existing copy and image assets stay intact. */
.case-v2 .case{
  --reading-measure: 820px;
  --a-panel: #f2f3ed;
  --a-panel-2: #f3f1e9;
  --a-border: #e1e3d9;
}

/* One shared left edge for the page title, reading blocks and image stages. */
.case-v2 .prose{ max-width: none; margin: 88px 0 0; }
.case-v2 .prose > p,
.case-v2 .prose > h2,
.case-v2 .prose > h3,
.case-v2 .prose > blockquote,
.case-v2 .prose > .eyebrow{
  margin-left: 0;
  margin-right: 0;
}
.case-v2 .prose > p,
.case-v2 .prose > blockquote{ max-width: var(--reading-measure); }
.case-v2 .prose p{ font-size: 18px; line-height: 1.7; }
.case-v2 .prose p:not(.eyebrow){ letter-spacing: 0; }
.case-v2 .prose > p{ margin-bottom: 24px; }
.case-v2 .prose > p:first-child{ margin-top: 0; }
.case-v2 .case .prose > .eyebrow{
  margin-top: 108px;
  margin-bottom: 18px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .14em;
}
.case-v2 .case .prose > h2{
  max-width: 1040px;
  font-size: 36px;
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: pretty;
  margin-bottom: 28px;
}
.case-v2 .case .prose > h3{
  max-width: 940px;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: 0;
  margin-top: 68px;
  margin-bottom: 26px;
}
/* Key sentence: a statement, not a quote. No side bar; a short accent rule above, larger type. */
.case-v2 .prose blockquote{
  margin: 56px 0 56px;
  padding: 0;
  border: 0;
  max-width: var(--reading-measure);
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
.case-v2 .prose blockquote::before{ content: ""; display: block; width: 40px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: var(--acc); }
/* No one-word last lines: headings and text wrap normally but never end on a lone word. */
.case-v2 .prose h2, .case-v2 .prose .fig-title, .case-v2 .prose .tp-title, .case-v2 .case-head h1{ text-wrap: pretty; }
.case-v2 .prose p, .case-v2 .prose li, .case-v2 .prose td, .case-v2 .prose th, .case-v2 figcaption{ text-wrap: pretty; }
.case-v2 .prose [id],
.case-v2 #overview{ scroll-margin-top: 40px; }

/* A calm hero on the same grid; project context no longer sits in a narrow rail. */
.case-v2 .a-hero{ padding-top: 72px; }
.case-v2 .project-kicker{
  margin: 0 0 22px;
  color: var(--acc);
  font-size: 14px;
  font-weight: 500;
}
.case-v2 .hero-heading{ display: block; }
.case-v2 .case-head h1{
  max-width: 920px;
  margin: 0;
  font-size: clamp(36px, 3.4vw, 44px);
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: pretty;
}
.case-v2 .hero-visual{ margin: 46px 0 0; }
.case-v2 .case figcaption{
  max-width: var(--reading-measure);
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  text-align: left;
}
.case-v2 .hero-visual figcaption{ font-size: 12px; }
.case-v2 .case-head .mobile-hint{ margin: 16px 0 0; }

/* Additive scan aids: factual, quiet, and subordinate to the existing story. */
.case-v2 .case-facts{
  max-width: 920px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.case-v2 .case-facts dt{
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--reading-caption);
}
.case-v2 .case-facts dd{
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.case-v2 .release-summary{
  max-width: var(--reading-measure);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin: 42px 0 0;
}
.case-v2 .release-summary > div{
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.case-v2 .release-summary h3,
.case-v2 .next-validation h3{
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--acc);
}
.case-v2 .release-summary p{
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--reading-body);
}
.case-v2 .next-validation{
  max-width: var(--reading-measure);
  margin: 34px 0 30px;
  padding: 3px 0 3px 20px;
  border-left: 2px solid var(--acc);
}
.case-v2 .next-validation p{
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}

/* Wide, quiet image stages; captions are below, not squeezed beside them. */
.case-v2 .case .prose > figure{ margin: 44px 0 58px; }
.case-v2 .case .prose > h2 + figure,
.case-v2 .case .prose > h3 + figure{ margin-top: 34px; }
.case-v2 .prose > figure .frame{
  max-width: none;
  margin-left: 0;
  padding: 24px;
  background: var(--a-panel);
  border-color: var(--a-border);
  border-radius: 3px;
  box-shadow: none;
}

/* Mapping follows the same top-to-bottom, left-aligned rhythm. */

.case-v2 .case-return{
  max-width: var(--reading-measure);
  margin: 64px 0 0;
}

@media (max-width: 900px) {
  .case-v2 .case .prose > h2 { font-size: 32px; }
  .case-v2 .a-hero{ padding-top: 56px; }
  .case-v2 .case .prose > .eyebrow{ margin-top: 84px; }
  .case-v2 .prose{ margin-top: 68px; }
  .case-v2 .case-facts{ grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .case-v2 .case-facts > div:last-child{ grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .case-v2 .a-hero{ padding-top: 42px; }
  .case-v2 .case-head h1{ font-size: 32px; }
  .case-v2 .hero-visual{ margin-top: 32px; }
  .case-v2 .prose{ margin-top: 56px; }
  .case-v2 .prose p{ font-size: 17px; line-height: 1.7; }
  .case-v2 .case .prose > h2 { font-size: 27px; line-height: 1.24; }
  .case-v2 .case .prose > h3{ font-size: 23px; margin-top: 48px; }
  .case-v2 .case .prose > .eyebrow{ margin-top: 72px; margin-bottom: 16px; }
  .case-v2 .case .prose > figure{ margin: 32px 0 42px; }
  .case-v2 .prose > figure .frame{ padding: 12px; }
  .case-v2 .case figcaption{ font-size: 14px; margin-top: 14px; }
  .case-v2 .hero-visual figcaption{ font-size: 12px; }
  .case-v2 .case-facts{ grid-template-columns: 1fr; gap: 16px; margin-top: 26px; padding-top: 18px; }
  .case-v2 .case-facts > div:last-child{ grid-column: auto; }
  .case-v2 .release-summary{ grid-template-columns: 1fr; gap: 18px; margin-top: 34px; }
  .case-v2 .release-summary p{ font-size: 16px; }
  .case-v2 .next-validation{ margin: 30px 0 26px; padding-left: 17px; }
  .case-v2 .next-validation p{ font-size: 17px; }
  .case-v2 .case-return{ margin-top: 48px; }
}
@media (prefers-color-scheme: dark) {
  .case-v2 .case{ --a-panel: #242a25; --a-panel-2: #2c2b25; --a-border: #3d443c; }
}

/* Local review control: show each original screenshot without cropping. */

/* V2 opening: a plain-language overview replaces the dek, meta line and old facts. */
.case-v2 .case-overview{
  max-width: var(--reading-measure);
  margin: 26px 0 0;
}
.case-v2 .case-overview p{
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--reading-body);
  text-wrap: pretty;
}
.case-v2 .case-overview p:last-child{ margin-bottom: 0; }
.case-v2 .case-head .case-facts{ max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .case-v2 .case-head .case-facts{ grid-template-columns: 1fr 1fr; }
  .case-v2 .case-head .case-facts > div:last-child{ grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .case-v2 .case-overview p{ font-size: 17px; }
  .case-v2 .case-head .case-facts{ grid-template-columns: 1fr 1fr; gap: 16px 20px; }
}
.case-v2 .overview-row{
  display: grid;
  grid-template-columns: 140px minmax(0, var(--reading-measure));
  gap: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.case-v2 .overview-row:first-child{ border-top: 0; padding-top: 4px; }
.case-v2 .case-overview{ max-width: none; }
.case-v2 .overview-label{
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--acc);
}
.case-v2 .case-overview .overview-row p{ margin: 0; }
@media (max-width: 600px) {
  .case-v2 .overview-row{ grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
}
.case-v2 .case .prose > .eyebrow:first-child{ margin-top: 0; }
.case-v2 .next-validation ul{ margin: 0; padding: 0; list-style: none; }
.case-v2 .next-validation li{
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--reading-body);
}
.case-v2 .next-validation li:last-child{ margin-bottom: 0; }
.case-v2 .next-validation li strong{ font-weight: 600; color: var(--ink); }

/* V2 processed screenshots: the image carries its own focus; no panel, labels or crop tricks. */
.case-v2 .fig-shot{ margin: 40px 0 0; }
.case-v2 .fig-shot figcaption{ margin-top: 14px; }
.case-v2 .fig-shot .zoom{ display: block; }
.case-v2 .fig-shot img{ display: block; width: 100%; height: auto; border: 1px solid var(--fig-border); border-radius: 6px; }
.case-v2{ --fig-border: #CFCBBF; }
@media (prefers-color-scheme: dark) { .case-v2{ --fig-border: #5B5F58; } }
.case-v2 .fig-narrow{ max-width: var(--reading-measure); }
.case-v2 .story-strip{ margin: 40px 0 0; }
.case-v2 .story-strip .strip-row{ display: grid; gap: 24px; }
.case-v2 .story-strip .strip-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-v2 .story-strip .strip-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: calc((100% - 48px) * 2 / 3 + 24px); }
.case-v2 .prose .story-strip .strip-k{ margin: 0 0 10px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.case-v2 .prose .story-strip .strip-row + .strip-k{ margin-top: 40px; }
.case-v2 .story-strip .zoom{ display: block; }
/* a small name tag on the first picture of a person who is hard to tell apart by dress alone */
.case-v2 .story-strip .tagged{ position: relative; }
.case-v2 .story-strip .who-tag{ position: absolute; transform: none; padding: 3px 8px 4px; border-radius: 4px; background: rgba(255,255,255,.9); color: #2E3A3A; font-size: 12px; line-height: 1.2; font-weight: 500; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 2px 6px rgba(30,50,50,.10), 0 0 0 1px rgba(30,50,50,.06); pointer-events: none; }
.case-v2 .story-strip img{ display: block; width: 100%; height: auto; border: 1px solid var(--fig-border); border-radius: 6px; }
.case-v2 .prose .story-strip p{ margin: 12px 0 0; font-size: 16px; line-height: 1.45; font-weight: 400; color: var(--ink); }
@media (max-width: 600px) { .case-v2 .story-strip .who-tag{ font-size: 11px; padding: 3px 8px 4px; } .case-v2 .story-strip .strip-row{ gap: 20px 14px; } .case-v2 .story-strip .strip-3, .case-v2 .story-strip .strip-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } .case-v2 .prose .story-strip p{ font-size: 14px; } }
.case-v2 .fig-bare img{ border: 0; border-radius: 10px; }
/* Text inside figures, one scale for all of them: title 20/600, item heading 16/600, item text 16/400, label 14/400 muted. */
/* Thought panel: the designer's questions as cards beside a small cut-out figure. */
.case-v2 .think-panel{ --tp-bg: #F3F1EA; --tp-card: #FFFFFF; margin: 40px 0 0; max-width: var(--reading-measure); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 28px; align-items: end; padding: 28px 32px 0; background: var(--tp-bg); border-radius: 8px; }
.case-v2 .prose .fig-title{ margin: 0 0 16px; max-width: var(--reading-measure); font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.case-v2 .prose .tp-title{ grid-column: 1 / -1; margin: 0; font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.case-v2 .tp-cards{ align-self: center; display: grid; gap: 10px; padding-bottom: 28px; }
.case-v2 .prose .tp-card{ margin: 0; padding: 10px 14px; background: var(--tp-card); border: 1px solid var(--line); border-radius: 8px; font-size: 16px; line-height: 1.45; font-weight: 400; color: var(--ink); }
.case-v2 .tp-card span{ display: block; margin-bottom: 2px; font-size: 14px; font-weight: 400; color: var(--mut); }
.case-v2 .tp-fig{ display: block; height: calc(var(--h) / 1120 * 300px); width: auto; }
.case-v2 .tp-steps{ list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.case-v2 .prose .tp-steps li{ margin: 0; padding-left: 26px; position: relative; font-size: 16px; font-weight: 400; color: var(--mut); }
.case-v2 .tp-steps li::before{ content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border: 1.5px solid var(--faint); border-radius: 3px; }
.case-v2 .prose .tp-steps li.ok{ color: var(--ink); }
.case-v2 .tp-steps li.ok::before{ border: 0; top: 3px; width: 8px; height: 13px; border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); border-radius: 0; transform: translateX(3px) rotate(40deg); }
.case-v2 .prose .tp-again{ margin: 10px 0 0; font-size: 16px; font-weight: 600; color: var(--acc); }
@media (prefers-color-scheme: dark) { .case-v2 .think-panel{ --tp-bg: #1E2123; --tp-card: #16181A; } }
@media (max-width: 600px) { .case-v2 .prose .fig-title{ font-size: 18px; } }
@media (max-width: 600px) { .case-v2 .think-panel{ grid-template-columns: 1fr; padding: 20px 18px 0; gap: 14px; } .case-v2 .prose .tp-title{ font-size: 18px; } .case-v2 .tp-cards{ padding-bottom: 0; } .case-v2 .tp-fig{ justify-self: end; height: calc(var(--h) / 1120 * 200px); } }
.case-v2 .habits{ margin: 40px 0 0; }
.case-v2 .habits-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-v2 .habits-grid .zoom{ display: block; }
.case-v2 .habits-grid img{ display: block; width: 100%; height: auto; border: 1px solid var(--fig-border); border-radius: 6px; }
.case-v2 .prose .habits-grid p{ margin: 12px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.case-v2 .habits-grid p span{ display: block; font-size: 14px; color: var(--mut); }
.case-v2 .habits-grid p b{ display: block; margin-top: 2px; font-weight: 400; }
.case-v2 .hb-img{ position: relative; }
.case-v2 .prose .habits-grid .hb-say{ position: absolute; top: 5%; left: 5%; right: 5%; margin: 0; padding: 8px 12px; background: #fff; color: #14161A; border: 1px solid #E3E0D7; border-radius: 10px; font-size: 14px; line-height: 1.35; box-shadow: 0 2px 8px rgba(20,22,26,.08); pointer-events: none; }
.case-v2 .hb-say::after{ content: ""; position: absolute; bottom: -7px; right: 26%; width: 12px; height: 12px; background: #fff; border-right: 1px solid #E3E0D7; border-bottom: 1px solid #E3E0D7; transform: rotate(45deg); }
@media (max-width: 700px) { .case-v2 .habits-grid{ grid-template-columns: 1fr; gap: 28px; } .case-v2 .habits-grid img{ max-width: 420px; } }
.case-v2 .case-head .fig-shot{ margin-top: 44px; }
.case-v2 .fig-rec{ display: block; width: 100%; height: auto; border: 1px solid var(--fig-border); border-radius: 6px; background: #F7F5F0; }
.case-v2 .fig-rec-steps{ list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.case-v2 .fig-rec-steps li{ position: relative; padding-top: 12px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ink); opacity: .38; transition: opacity .35s ease; }
.case-v2 .fig-rec-steps li::before, .case-v2 .fig-rec-steps li::after{ content: ""; position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; }
.case-v2 .fig-rec-steps li::before{ right: 0; background: var(--line); }
.case-v2 .fig-rec-steps li::after{ width: calc(var(--p, 0) * 100%); background: var(--acc); }
.case-v2 .fig-rec-steps li.on{ opacity: 1; color: var(--acc); }
@media (max-width: 600px) { .case-v2 .fig-rec-steps{ grid-template-columns: 1fr 1fr; gap: 14px 16px; } .case-v2 .fig-rec-steps li{ font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .case-v2 .fig-rec-steps li{ transition: none; } }
.case-v2 .fig-compare-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.case-v2 .prose .fig-compare .fig-col-label, .case-v2 .fig-col-label{ margin: 0 0 10px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.case-v2 .fig-compare img{ display: block; width: 100%; height: auto; border: 1px solid var(--fig-border); border-radius: 6px; }
@media (max-width: 700px) { .case-v2 .fig-compare-grid{ grid-template-columns: 1fr; gap: 24px; } }

/* V2 opening, round 4: title, facts and summaries share one 3-column grid; two text sizes only. */
.case-v2 .case-head h1{ max-width: none; font-size: clamp(32px, 3vw, 42px); }
.case-v2 .case-head .case-facts,
.case-v2 .case-head .case-overview{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.case-v2 .case-head .case-facts{ margin-top: 32px; padding-top: 0; border-top: 0; }
.case-v2 .case-head .case-facts > div:last-child{ grid-column: auto; }
.case-v2 .case-head .hero-visual{ margin-top: 40px; }
.case-v2 .case-head .hero-visual img{ display: block; width: 100%; height: auto; border: 1px solid var(--fig-border); border-radius: 6px; }
.case-v2 .case-head .case-overview{ margin-top: 40px; }
.case-v2 .case-head .overview-row{ display: block; padding: 0; border: 0; }
.case-v2 .case-head .overview-label{ margin: 0 0 8px; font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--acc); }
.case-v2 .case-overview .overview-row p{ font-size: 17px; line-height: 1.6; color: var(--reading-body); }
.case-v2 .case-overview .overview-row p.overview-sum{ margin: 0 0 4px; font-weight: 600; color: var(--ink); }
.case-v2 .case-head .fig-video{ margin-top: 48px; }
@media (max-width: 900px) {
  .case-v2 .case-head .case-overview{ grid-template-columns: 1fr; gap: 28px; }
  .case-v2 .case-head .case-facts{ grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .case-v2 .case-head .case-facts > div:nth-child(2){ grid-column: 1 / -1; order: 3; }
}
@media (max-width: 600px) {
  .case-v2 .case-head .hero-visual{ margin-top: 28px; }
}

/* V2 type system: seven styles on the whole page.
   1 H1 · 2 H2 · 3 H3 · 4 label (sans, 14px semibold, accent) · 5 body 18 (bold for leads)
   6 pull quote (one) · 7 small 15 (captions, fact values, recording steps, column labels) */
.case-v2 .project-kicker,
.case-v2 .case .prose > .eyebrow,
.case-v2 .case-head .overview-label,
.case-v2 .case-head .case-facts dt,
.case-v2 .release-summary h3,
.case-v2 .next-validation h3{
  font-family: inherit;
  text-transform: none;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--acc);
}
.case-v2 .case-head .case-facts dt{ margin-bottom: 6px; }
.case-v2 .case-head .overview-label{ margin-bottom: 8px; }
.case-v2 .case .prose > p:not(.eyebrow),
.case-v2 .case-overview .overview-row p,
.case-v2 .release-summary p,
.case-v2 .next-validation li{ font-size: 18px; line-height: 1.65; color: var(--reading-body); }
.case-v2 .case-overview .overview-row p.overview-sum{ color: var(--ink); }
.case-v2 .case figcaption,
.case-v2 .case-head .case-facts dd,
.case-v2 .case-head .mobile-hint{ font-size: 15px; line-height: 1.55; }
.case-v2 .case figcaption{ color: var(--reading-caption); border: 0; padding-left: 0; }
.case-v2 .case-head .case-facts dd{ color: var(--ink); }
@media (max-width: 600px) {
  .case-v2 .case .prose > p:not(.eyebrow),
  .case-v2 .case-overview .overview-row p,
  .case-v2 .release-summary p,
  .case-v2 .next-validation li{ font-size: 17px; }
}
/* Recording steps: upcoming steps in caption grey (5:1), current step in accent. */
.case-v2 .fig-rec-steps li { opacity: 1; color: var(--reading-caption); transition: color .35s ease; }
.case-v2 .fig-rec-steps li.on { color: var(--acc); }
.case-v2 .case-overview .overview-row p.overview-label { font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--acc); margin: 0 0 8px; }

/* V2 opening, round 5: a rule under the title; the three summaries stack in the reading column. */
.case-v2 .case-head .case-facts { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.case-v2 .case-head .case-overview { grid-template-columns: 1fr; max-width: var(--reading-measure); gap: 32px; margin-top: 44px; }
/* Overview as one block: thin rules between the three items, tighter inner spacing. */
.case-v2 .case-head .case-overview { gap: 0; }
.case-v2 .case-head .overview-row { padding: 20px 0; border-top: 1px solid var(--line); }
.case-v2 .case-head .overview-row:first-child { border-top: 0; padding-top: 0; }
.case-v2 .case-head .overview-row:last-child { padding-bottom: 0; }
.case-v2 .case-overview .overview-row p.overview-label { margin: 0 0 2px; }
.case-v2 .case-overview .overview-row p.overview-sum { margin: 0 0 2px; }
.case-v2 .case-head .case-facts { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 72px; }
@media (max-width: 900px) { .case-v2 .case-head .case-facts { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.case-v2 .case-overview .overview-row p:not(.overview-label):not(.overview-sum) { line-height: 1.5; }

/* Comparison stacked full width, for screens that are unreadable at half width. */
.case-v2 .fig-compare--stack .fig-compare-grid { grid-template-columns: 1fr; gap: 32px; }

/* Grid of small exploration frames: three across, two on mobile. */
.case-v2 .fig-grid3__cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.case-v2 .fig-grid3 .fig-col-label { margin: 0 0 8px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ink); }
@media (max-width: 700px) { .case-v2 .fig-grid3__cells { grid-template-columns: 1fr 1fr; gap: 18px 14px; } }

/* Rhythm, shared by every case page. Three levels of space:
   chapter (label + 40px title) opens after a small centred three-dot divider in a wide gap;
   section (28px h3) opens after a medium gap with no divider;
   inside a section, figures and key sentences sit close to their text. */
.case-v2 .case .prose > .eyebrow{ margin-top: 88px; }
.case-v2 .case .prose > .eyebrow::before{
  content: ""; display: block; width: 42px; height: 4px; margin: 0 0 88px calc(min(100%, var(--reading-measure)) / 2 - 21px);
  background: radial-gradient(circle, var(--mut) 1.8px, transparent 2.3px) 0 0 / 14px 4px repeat-x;
}
.case-v2 .case .prose > .eyebrow:first-child{ margin-top: 0; }
.case-v2 .case .prose > .eyebrow:first-child::before{ display: none; }
.case-v2 .case .prose > h2{ font-size: 40px; line-height: 1.2; }
.case-v2 .case .prose > h3{ font-size: 28px; line-height: 1.25; font-weight: 600; margin: 72px 0 16px; text-wrap: pretty; }
.case-v2 .case .prose > figure{ margin: 32px 0 40px; }
.case-v2 .case .prose > h3 + figure{ margin-top: 20px; }
.case-v2 .prose blockquote{ margin: 40px 0; font-size: clamp(21px, 2vw, 24px); }
@media (max-width: 900px) {
  .case-v2 .case .prose > .eyebrow{ margin-top: 64px; }
  .case-v2 .case .prose > .eyebrow::before{ margin-bottom: 64px; }
  .case-v2 .case .prose > h2{ font-size: 34px; }
}
@media (max-width: 600px) {
  .case-v2 .case .prose > .eyebrow{ margin-top: 52px; }
  .case-v2 .case .prose > .eyebrow::before{ margin-bottom: 52px; }
  .case-v2 .case .prose > h2{ font-size: 28px; }
  .case-v2 .case .prose > h3{ font-size: 23px; margin-top: 56px; }
  .case-v2 .case .prose > figure{ margin: 28px 0 32px; }
  .case-v2 .prose blockquote{ margin: 32px 0; }
}

/* Step player: frames stacked in one stage, crossfaded; labels reuse the recording step style. */
.case-v2 .fs-stage{ position: relative; border: 1px solid var(--fig-border); border-radius: 6px; overflow: hidden; background: #F7F5F0; }
.case-v2 .fs-stage img{ display: block; width: 100%; height: auto; opacity: 0; transition: opacity .35s ease; }
.case-v2 .fs-stage img + img{ position: absolute; inset: 0; }
.case-v2 .fs-stage img.on{ opacity: 1; }
.case-v2 .fs-labels button{ all: unset; cursor: pointer; display: block; }
.case-v2 .fs-labels button:focus-visible{ outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .case-v2 .fs-stage img{ transition: none; } }

/* Lightbox: full-screen view for figure images (case-lightbox.js). Fit first; select to see actual size. */
.lightbox{ position: fixed; inset: 0; z-index: 100; background: rgba(20,22,26,.88); display: flex; }
.lightbox[hidden]{ display: none; }
.lightbox-scroll{ flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 56px 24px 24px; }
.lightbox-scroll img{ display: block; max-width: 100%; max-height: calc(100vh - 80px); width: auto; height: auto; border-radius: 4px; cursor: zoom-in; background: #fff; }
.lightbox.is-actual .lightbox-scroll{ display: block; }
.lightbox.is-actual .lightbox-scroll img{ max-width: none; max-height: none; width: auto; margin: 0 auto; cursor: zoom-out; }
.lightbox-close{ position: absolute; top: 12px; right: 16px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 40px; cursor: pointer; }
.lightbox-close:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
html.lightbox-open{ overflow: hidden; }
.case-v2 .fs-stage{ cursor: zoom-in; }

/* Tagged screen: a short label sits on the top edge of each highlighted part, so the screen explains itself. */
.case-v2 .fig-tagged .fig-col-label{ margin: 20px 0 8px; }
.case-v2 .fig-tagged .fig-title + .fig-col-label{ margin-top: 0; }
.case-v2 .shot-tags{ position: relative; }
.case-v2 .shot-tags img{ display: block; width: 100%; height: auto; border: 1px solid var(--fig-border); border-radius: 6px; }
.case-v2 .shot-tag{ position: absolute; margin-left: 10px; transform: translateY(-50%); padding: 3px 10px; border-radius: 999px; background: #145C61; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; pointer-events: none; box-shadow: 0 2px 6px rgba(20,22,26,.18); }
@media (max-width: 700px) { .case-v2 .shot-tag{ margin-left: 4px; padding: 1px 7px; font-size: 11px; } }
/* Plain list in running text: body size, a short accent dash, no indent beyond the dash. */
.case-v2 .prose > .plain-list{ max-width: var(--reading-measure); margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; }
.case-v2 .prose .plain-list li{ position: relative; margin: 0; padding-left: 22px; font-size: 18px; line-height: 1.6; color: var(--reading-body); }
.case-v2 .prose .plain-list li::before{ content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 2px; background: var(--acc); }
.case-v2 .prose .plain-list strong{ font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { .case-v2 .prose .plain-list li{ font-size: 17px; } }

.case-v2 .fig-compare-zoom{ margin-top: 24px; }
.case-v2 .fig-compare .shot-tags img{ border: 1px solid var(--fig-border); border-radius: 6px; }

/* Paired player: two screens change together; column labels above, tags shown only on their step. */
.case-v2 .fig-steps-pair .fs-stage{ border: 0; border-radius: 0; background: transparent; }
.case-v2 .fs-cols{ display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.7%; }
.case-v2 .fs-cols .fig-col-label{ margin: 0 0 8px; }
.case-v2 .fs-tag{ opacity: 0; transition: opacity .25s ease; }
.case-v2 .fs-stage[data-step="0"] .fs-tag[data-step="0"], .case-v2 .fs-stage[data-step="1"] .fs-tag[data-step="1"]{ opacity: 1; }
.case-v2 .fig-steps-pair .fs-stage img{ border: 0; border-radius: 0; }

/* Paired recording: column labels over the two halves; step labels are buttons that seek. */
.case-v2 .fig-video-pair .fs-cols{ column-gap: 1.8%; }
.case-v2 .fig-rec-steps button{ all: unset; cursor: pointer; display: block; }
.case-v2 .fig-rec-steps button:focus-visible{ outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 2px; }
.case-v2 .fig-video-pair .fig-rec-steps{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Paired recording, three beats: native controls off; short tags name each half; a small pause button. */
.case-v2 .vstage{ position: relative; }
.case-v2 .vstage video{ display: block; width: 100%; height: auto; background: #FCFBF7; cursor: pointer; }
.case-v2 .vstage::after{ content: ""; position: absolute; top: 0; bottom: 0; left: 48.39%; width: 3.23%; background: var(--paper); pointer-events: none; }
.case-v2 .vframe{ position: absolute; top: 0; bottom: 0; width: 48.39%; border: 1px solid var(--fig-border); border-radius: 6px; pointer-events: none; }
.case-v2 .vframe-l{ left: 0; } .case-v2 .vframe-r{ right: 0; }
.case-v2 .vtag{ position: absolute; top: -34px; z-index: 1; padding: 3px 10px; border-radius: 999px; background: #145C61; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.case-v2 .vtag-l{ right: 51.62%; } .case-v2 .vtag-r{ right: 0; }
.case-v2 .vtag.on{ opacity: 1; }
.case-v2 .vpause{ position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 4px 12px; border: 0; border-radius: 999px; background: rgba(20,22,26,.6); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.case-v2 .vpause:focus-visible{ outline: 2px solid var(--acc); outline-offset: 2px; }
@media (max-width: 600px) { .case-v2 .vtag{ top: -28px; padding: 1px 7px; font-size: 11px; } }

/* Checkpoint flow: her spec to the draft along one track; the three stops lift a small card above the line. */
/* One 16-column grid: endpoints and six checkpoints each take two columns, so every node sits on an even step;
   each card spans the four columns centred on its stop, so its stem drops straight onto the ring. */
.case-v2 .cpf{ --line-y: 22px; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); padding-top: 4px; }
.case-v2 .cpf-card{ grid-row: 1; position: relative; display: flex; flex-direction: column; align-items: flex-start; margin: 0 6px 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--plate); box-shadow: 0 4px 14px rgba(20,22,26,.05); }
.case-v2 .prose .cpf-card p{ margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.case-v2 .cpf-tap{ margin-top: auto; padding: 3px 10px; border-radius: 6px; background: var(--a-panel); font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.case-v2 .cpf-card::after{ content: ""; position: absolute; left: 50%; top: 100%; height: calc(24px + var(--line-y) - 7px); border-left: 1.5px dashed var(--faint); }
.case-v2 .cpf-k{ display: none; font-size: 13px; font-weight: 600; color: var(--acc); margin-bottom: 4px; }
.case-v2 .cpf-track{ grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; position: relative; }
.case-v2 .cpf-track::before{ content: ""; position: absolute; left: 6.25%; right: 6.25%; top: calc(var(--line-y) - 1px); height: 2px; background: var(--acc); opacity: .45; }
.case-v2 .cpf-n{ position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: calc(var(--line-y) * 2 + 10px); font-size: 14px; line-height: 1.3; text-align: center; color: var(--mut); }
.case-v2 .cpf-dot{ position: absolute; left: 50%; top: var(--line-y); width: 9px; height: 9px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--acc); }
.case-v2 .cpf-stop{ font-weight: 600; color: var(--acc); }
.case-v2 .cpf-stop .cpf-dot{ width: 14px; height: 14px; background: var(--paper); border: 2px solid var(--acc); box-sizing: border-box; }
.case-v2 .cpf-ic{ position: absolute; left: 50%; top: var(--line-y); transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--plate); border: 1px solid var(--line); color: var(--acc); font-style: normal; }
.case-v2 .cpf-end{ font-weight: 600; color: var(--acc); }
.case-v2 .cpf-end-r .cpf-ic{ background: #145C61; border-color: #145C61; color: #fff; }
@media (prefers-color-scheme: dark) { .case-v2 .cpf-card, .case-v2 .cpf-ic{ background: #1E2123; } .case-v2 .cpf-tap{ background: #2A2D2F; } .case-v2 .cpf-stop .cpf-dot{ background: var(--paper); } }
@media (max-width: 760px) {
  .case-v2 .cpf{ grid-template-columns: 1fr; }
  .case-v2 .cpf-card{ grid-row: auto; grid-column: 1 !important; margin: 0 0 12px; }
  .case-v2 .cpf-card::after{ display: none; }
  .case-v2 .cpf-k{ display: block; }
  .case-v2 .cpf-track{ grid-row: 1; grid-column: 1; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-bottom: 16px; }
  .case-v2 .cpf-track > *{ grid-column: auto !important; }
  .case-v2 .cpf-end{ display: none; }
  .case-v2 .cpf-track{ row-gap: 14px; }
  .case-v2 .cpf-track::before{ display: none; }
  .case-v2 .cpf-n{ padding-top: 20px; }
  .case-v2 .cpf-dot{ top: 6px; }
}
.case-v2 .fq-focus{ margin-left: -6px !important; padding: 4px 6px 4px 20px !important; border-radius: 6px; background: var(--a-panel); }
.case-v2 .four-q ul li.fq-focus::before{ left: 8px; top: 1em; }
@media (prefers-color-scheme: dark) { .case-v2 .cpf-card, .case-v2 .cpf-ic{ background: #1E2123; } .case-v2 .fq-focus{ background: #1E2123; } .case-v2 .cpf-tap{ background: #2A2D2F; } }
/* Timeline: icon nodes on one line; the first and last steps carry the point, the middle three are quiet. */
.case-v2 .fig-stand{ margin-top: 32px; }
.case-v2 .stand-line{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; position: relative; }
.case-v2 .stand-line::before{ content: ""; position: absolute; left: 18px; right: calc(20% - 34px); top: 18px; height: 2px; background: var(--acc); opacity: .35; }
.case-v2 .prose .stand-line li{ position: relative; margin: 0; padding-top: 50px; font-size: 16px; line-height: 1.4; color: var(--reading-body); }
.case-v2 .sl-ic{ position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-sizing: border-box; background: var(--paper); border: 1.5px solid var(--line); color: var(--mut); font-style: normal; }
.case-v2 .sl-key .sl-ic{ background: #145C61; border-color: #145C61; color: #fff; }
.case-v2 .sl-next .sl-ic{ background: var(--paper); border: 2px dashed var(--acc); color: var(--acc); }
.case-v2 .sl-when{ display: block; font-size: 14px; color: var(--mut); }
.case-v2 .stand-line b{ display: block; margin-top: 2px; font-weight: 600; color: var(--mut); }
.case-v2 .sl-key .sl-when{ color: var(--acc); font-weight: 600; }
.case-v2 .sl-key b{ color: var(--ink); }
.case-v2 .sl-d{ display: block; margin-top: 6px; font-size: 15px; color: var(--reading-body); }
@media (max-width: 900px) {
  .case-v2 .stand-line{ grid-template-columns: 1fr; gap: 20px; }
  .case-v2 .stand-line::before{ display: none; }
  .case-v2 .prose .stand-line li:not(:last-child)::after{ content: ""; position: absolute; left: 17px; top: 36px; bottom: -20px; width: 2px; background: var(--acc); opacity: .35; }
  .case-v2 .prose .stand-line li{ padding: 6px 0 0 52px; min-height: 36px; }
}
/* On this page: one quiet row of section links under the overview, shared by the case pages. */
.case-v2 .case-toc{ margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.case-v2 .case-toc-label{ margin: 0; font-size: 14px; font-weight: 400; color: var(--mut); }
.case-v2 .case-toc ol{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.case-v2 .case-toc li{ font-size: 15px; line-height: 1.5; }
/* a faint middle dot between chapter names; no numbers, since the chapters themselves are not numbered */
.case-v2 .case-toc li + li::before{ content: "\00B7"; margin: 0 12px; color: var(--faint); }
.case-v2 .case-toc a{ color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.case-v2 .case-toc a:hover{ color: var(--acc); text-decoration-color: currentColor; }
.case-v2 .case-toc a:focus-visible{ outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 2px; }
@media (max-width: 600px) { .case-v2 .case-toc{ gap: 6px 12px; } .case-v2 .case-toc li{ font-size: 14px; } .case-v2 .case-toc ol{ gap: 4px 16px; } .case-v2 .case-toc li + li::before{ content: none; } }

/* Four questions: one row of four columns, question first, then what was made; open items marked. */
.case-v2 .prose > .four-q{ list-style: none; margin: 32px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.case-v2 .prose .four-q > li{ margin: 0; padding-top: 14px; border-top: 2px solid var(--acc); font-size: 16px; line-height: 1.4; color: var(--ink); }
.case-v2 .fq-k{ display: block; font-size: 14px; font-weight: 600; color: var(--acc); }
.case-v2 .four-q b{ display: block; margin: 2px 0 10px; font-weight: 600; }
.case-v2 .four-q ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.case-v2 .prose .four-q ul li{ margin: 0; padding-left: 14px; position: relative; font-size: 15px; line-height: 1.4; color: var(--reading-body); }
.case-v2 .four-q ul li::before{ content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.case-v2 .four-q ul li.fq-open::before{ background: transparent; border: 1.5px solid var(--faint); box-sizing: border-box; }
.case-v2 .four-q em{ font-style: normal; font-size: 13px; color: var(--faint); }
@media (max-width: 900px) { .case-v2 .prose > .four-q{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .case-v2 .prose > .four-q{ grid-template-columns: 1fr; } }
.case-v2 .four-q ul a{ color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: 3px; }
.case-v2 .four-q ul a:hover{ color: var(--acc); }

/* Eval cases: one compact table, a row per failure kind. */
.case-v2 .ev-table{ width: 100%; max-width: var(--reading-measure); border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.case-v2 .ev-table th, .case-v2 .ev-table td{ padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.case-v2 .ev-table thead th{ padding-top: 0; font-size: 14px; font-weight: 600; color: var(--mut); border-bottom-color: var(--acc); }
.case-v2 .ev-table tbody th{ width: 18%; font-weight: 600; color: var(--acc); }
.case-v2 .ev-table td{ color: var(--reading-body); }
.case-v2 .ev-table td:last-child{ width: 44%; color: var(--ink); }
@media (max-width: 600px) {
  .case-v2 .ev-table thead{ display: none; }
  .case-v2 .ev-table tr{ display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .case-v2 .ev-table th, .case-v2 .ev-table td{ display: block; width: auto !important; padding: 2px 0; border: 0; }
}

/* Hero facts: four columns at desktop (product, role, speed, outcome). */
.case-v2 .case-head .case-facts{ grid-template-columns: 1.1fr 1fr 0.8fr 1.3fr; column-gap: 40px; }
@media (max-width: 900px) { .case-v2 .case-head .case-facts{ grid-template-columns: 1fr 1fr; column-gap: 24px; } .case-v2 .case-head .case-facts > div:nth-child(2){ grid-column: auto; order: 0; } }
@media (max-width: 600px) { .case-v2 .case-head .case-facts{ grid-template-columns: 1fr; } }
