/* ============================================================
   5. Case documents — /work/*.html and /approach/*.html
   Reuses tokens, base and the section theming from the landing
   page; adds only what a long-form case needs.
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.crumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
}
.crumb a {
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.crumb a:hover {
  color: var(--fg);
}
.crumb span[aria-current] {
  color: var(--fg);
}
.crumb__sep {
  opacity: 0.5;
}

/* ---------- Case hero ---------- */
.case-hero {
  position: relative;
  background: var(--ink-900);
  color: var(--on-dark);
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vh, 7rem));
  padding-bottom: clamp(3rem, 7vh, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.case-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.case-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, 50% 42%);
  opacity: var(--hero-opacity, 0.36);
}
.case-hero--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to right,
      rgba(5, 7, 10, 0.95) 0%,
      rgba(5, 7, 10, 0.78) 48%,
      rgba(5, 7, 10, 0.42) 100%
    ),
    linear-gradient(
      to bottom,
      var(--ink-900) 0%,
      rgba(5, 7, 10, 0.55) 34%,
      rgba(5, 7, 10, 0.72) 74%,
      var(--ink-900) 100%
    );
}
.case-hero__chapter {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue-soft);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.case-hero__chapter::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--blue);
}
.case-hero h1 {
  margin-top: 1.5rem;
  font-size: var(--fs-h2);
  line-height: var(--lh-display);
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 17ch;
  text-wrap: balance;
}
.case-hero__lead {
  margin-top: 1.75rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
  max-width: 46ch;
  letter-spacing: -0.012em;
}

/* ---------- Fact row ---------- */
.facts {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--col-gap);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.75rem;
}
.facts dt {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  font-weight: 500;
}
.facts dd {
  margin: 0.6rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -0.008em;
}
@media (max-width: 820px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem var(--col-gap);
  }
}
@media (max-width: 460px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- Document blocks ---------- */
.doc {
  display: block;
}
.doc__block {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--col-gap);
  padding-block: clamp(3.5rem, 9vh, 7rem);
}
.doc__block + .doc__block {
  border-top: 1px solid var(--rule-soft);
}
.doc > .doc__block:last-child {
  padding-bottom: 0;
}
.doc__label {
  grid-column: 1 / 4;
}
.doc__label-inner {
  position: sticky;
  top: calc(var(--nav-h) + 3rem);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
}
.doc__label-inner b {
  color: var(--blue-soft);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.section--light .doc__label-inner b {
  color: var(--blue-deep);
}
.doc__main {
  grid-column: 4 / 12;
  min-width: 0;
}
.doc__main > * + * {
  margin-top: 1.25rem;
}
.doc__main h2 {
  font-size: var(--fs-h3);
  line-height: var(--lh-title);
  letter-spacing: -0.028em;
  font-weight: 500;
  max-width: 20ch;
  text-wrap: balance;
}
.doc__main h3 {
  font-size: var(--fs-h4);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-top: 2.5rem;
}
.doc__main p {
  color: var(--fg-2);
  max-width: 62ch;
}
.doc__main p strong {
  color: var(--fg);
  font-weight: 500;
}
.doc__main h2 + p {
  margin-top: 1.75rem;
}
@media (max-width: 980px) {
  .doc__label {
    grid-column: 1 / 13;
  }
  .doc__label-inner {
    position: static;
  }
  .doc__main {
    grid-column: 1 / 13;
  }
}

/* ---------- Media figures ---------- */
.media {
  margin-block: clamp(2.5rem, 6vh, 4rem);
}
.media--bleed {
  margin-inline: 0;
}
.media__frame {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--ink-800);
  border: 1px solid var(--rule-soft);
  aspect-ratio: 16 / 9;
}
.media__frame video,
.media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media--contain .media__frame {
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.media--contain .media__frame img {
  height: auto;
  object-fit: contain;
}
.media__caption {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--fg-3);
}
.media__caption b {
  color: var(--fg-2);
  font-weight: 400;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-block: clamp(2.5rem, 6vh, 4rem);
  align-items: start;
}
.media-grid .media {
  margin-block: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.media-grid .media__caption {
  margin-top: auto;
  padding-top: 1rem;
}

/* A plate for artwork that was authored on white and needs it. */
.media--plate .media__frame {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  /* flex, not grid: the container height is definite via aspect-ratio, so
     max-height on the image resolves against it and the art is contained */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.media--plate .media__frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
}
@media (max-width: 760px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* Video play affordance for lazily-loaded clips */
.media__frame[data-clip] {
  cursor: default;
}
.media__badge {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(5, 7, 10, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
  pointer-events: none;
}

/* ---------- Metric band ---------- */
.band {
  padding-block: clamp(3.5rem, 8vh, 6rem);
}
.band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.band__item {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 2rem)
    clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.band__item + .band__item {
  padding-left: clamp(1rem, 2vw, 2rem);
}
.band__item + .band__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule-soft);
}
.band__value {
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: block;
}
.band__label {
  margin-top: 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--fg-2);
  max-width: 22ch;
}

/* ---------- Inline lists ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.chips li {
  font-size: 0.8125rem;
  color: var(--fg-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  line-height: 1.3;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-top: 2rem;
}
.split > div > * + * {
  margin-top: 0.75rem;
}
@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Project entry (portfolio page) ---------- */
.project {
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}
.project__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--col-gap);
  align-items: end;
}
.project__index {
  grid-column: 1 / 4;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
}
.project__index b {
  color: var(--blue-soft);
  font-weight: 500;
}
.section--light .project__index b {
  color: var(--blue-deep);
}
.project__title {
  grid-column: 4 / 13;
}
.project__title h2 {
  font-size: clamp(1.75rem, 3.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  font-weight: 500;
  max-width: 20ch;
  text-wrap: balance;
}
.project__title .arrow {
  color: var(--blue);
  font-weight: 400;
}
.section--light .project__title .arrow {
  color: var(--blue-deep);
}
@media (max-width: 980px) {
  .project__index,
  .project__title {
    grid-column: 1 / 13;
  }
  .project__title {
    margin-top: 1.25rem;
  }
}

/* ---------- Next case ---------- */
.case-next {
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 7vh, 5rem);
}
.case-next__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--col-gap);
}
.next-card {
  display: block;
  text-decoration: none;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  transition: border-color var(--dur-fast) var(--ease);
}
.next-card:hover {
  border-top-color: var(--blue);
}
.next-card__kicker {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
}
.next-card__title {
  margin-top: 1rem;
  font-size: var(--fs-h4);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--fg);
  max-width: 20ch;
  transition: color var(--dur-fast) var(--ease);
}
.next-card__arrow {
  display: inline-block;
  margin-left: 0.5em;
}
.next-card:hover .next-card__title {
  color: var(--blue-soft);
}
.section--light .next-card:hover .next-card__title {
  color: var(--blue-deep);
}
.next-card__arrow {
  transition: transform var(--dur-fast) var(--ease);
}
.next-card:hover .next-card__arrow {
  transform: translateX(4px);
}
@media (max-width: 700px) {
  .case-next__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ---------- Callout ---------- */
.callout {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 1px solid var(--blue);
  background: linear-gradient(
    90deg,
    rgba(60, 130, 255, 0.07),
    rgba(60, 130, 255, 0)
  );
}
.callout p {
  max-width: 56ch;
}
.callout__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue-soft);
  margin-bottom: 0.9rem;
}
.section--light .callout__label {
  color: var(--blue-deep);
}

/* ---------- Diagram wrappers ---------- */
.dgm {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
[data-diagram="converge"] path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1500ms var(--ease-out);
}
.reveal.is-in [data-diagram="converge"] path {
  stroke-dashoffset: 0;
}

.blueprint {
  display: grid;
  grid-template-columns: minmax(120px, 168px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}
.blueprint__lanes {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  border-right: 1px solid var(--rule-soft);
}
.blueprint__lanes li {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
  line-height: 1.3;
  padding-right: 1rem;
}
.blueprint__lanes li:first-child {
  color: var(--fg);
}
@media (max-width: 620px) {
  .blueprint {
    grid-template-columns: minmax(88px, 108px) minmax(0, 1fr);
    gap: 0.75rem;
  }
  .blueprint__lanes li {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    padding-right: 0.5rem;
  }
}

/* ---------- Reduced-motion play control ---------- */
.media__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(5, 7, 10, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  padding: 0.85rem 1.5rem;
  min-height: 48px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease);
}
.media__play:hover {
  border-color: var(--blue);
  background: rgba(60, 130, 255, 0.24);
}

/* ---------- Converge diagram labels ---------- */
.converge {
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
.converge__labels {
  display: grid;
  /* Column count comes from --converge-count, set on the wrapper, so the
     labels and the lines below them can never fall out of step. */
  grid-template-columns: repeat(var(--converge-count, 5), minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 1rem;
}
.converge__labels li {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-2);
  line-height: 1.35;
  text-align: center;
}
.converge__chart {
  height: clamp(120px, 18vh, 200px);
}
.converge__resolve {
  margin-top: 0.5rem;
  text-align: center;
}

/* The quote is what the lines converge on, so it sits under the point they
   converge at rather than hard against the left margin. */
.converge__quote {
  margin-inline: auto;
  max-width: 34rem;
}
@media (max-width: 700px) {
  .converge__quote {
    margin-inline: 0;
  }
}
@media (max-width: 700px) {
  .converge__labels {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem 1rem;
    text-align: left;
  }
  .converge__labels li {
    text-align: left;
  }
  .converge__chart {
    display: none;
  }
}

/* From → to arrows inside document headings */
.doc__main h2 .arrow {
  color: var(--blue);
  font-weight: 400;
}
.section--light .doc__main h2 .arrow {
  color: var(--blue-deep);
}

/* ---------- Before / after schematic ---------- */
.ba {
  margin-block: clamp(2.5rem, 6vh, 4rem);
  /* held to the same measure as the copy above it, so the pair reads as
     belonging to that paragraph rather than floating in the column */
  max-width: 46rem;
}
.ba__labels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 0.75rem;
}
.ba__labels li {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-3);
  text-align: center;
}
.ba__labels li:last-child {
  color: var(--blue-soft);
}
.section--light .ba__labels li:last-child {
  color: var(--blue-deep);
}
.ba__chart {
  width: 100%;
  height: auto;
}
/* captions sit under their own screen, not spread edge to edge */
.ba__caption {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  justify-content: initial;
  margin-top: 1rem;
}
.ba__caption span {
  text-align: center;
}
@media (max-width: 620px) {
  .ba__caption {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .ba__caption span,
  .ba__labels li {
    text-align: left;
  }
}

/* ---------- Portrait media, and text beside media ---------- */
.media--portrait .media__frame {
  aspect-ratio: 1206 / 2622;
}
.doc__with-media {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.doc__with-media > div > * + * {
  margin-top: 1.25rem;
}
.doc__with-media .media {
  margin-block: 0;
}
@media (max-width: 900px) {
  .doc__with-media {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .doc__with-media .media {
    max-width: 22rem;
  }
}

/* ---------- Real before / after screenshots ---------- */
.ba__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.ba__pair img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--rule-soft);
}
@media (max-width: 620px) {
  .ba__pair {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   Method — how the work was run

   A numbered list of moves. The numeral is set in the accent and
   hangs outside the text column, so the section reads as a
   sequence at a glance without the numbers competing with the
   move names for attention.
   ============================================================ */
.method {
  list-style: none;
  counter-reset: method;
  margin: clamp(2rem, 4vh, 2.75rem) 0 0;
  padding: 0;
  max-width: 46rem;
}
.method li {
  counter-increment: method;
  position: relative;
  padding: 1.5rem 0 1.5rem 3.25rem;
  border-top: 1px solid var(--rule-soft);
}
.method li::before {
  content: counter(method, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--blue-soft);
}
.section--light .method li::before {
  color: var(--blue-deep);
}
.method__name {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
}
.method__why {
  margin: 0.5rem 0 0;
  color: var(--fg-2);
  max-width: 60ch;
}
.method__close {
  margin-top: clamp(1.75rem, 3.5vh, 2.5rem);
}

@media (max-width: 600px) {
  .method li {
    padding-left: 2.5rem;
  }
}

/* ============================================================
   Motion — the hero, and the supporting elements around it

   The case hero used to appear fully formed on load: crumb,
   chapter, headline, lead and facts all at once. That is the
   one moment on a case page where a reader has nothing else to
   look at, so it is the one place worth staging.

   These run on load rather than on an observer: the hero is
   above the fold by definition, and an IntersectionObserver for
   something already on screen only adds a frame of delay.
   ============================================================ */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
}

.case-hero .crumb,
.case-hero__chapter,
.case-hero h1,
.case-hero__lead,
.facts > div {
  /* `backwards`, so the from-state holds through the delay and nothing
     flashes at full opacity before its turn. */
  animation: hero-in 900ms var(--ease-out) backwards;
}
.case-hero .crumb {
  animation-delay: 40ms;
}
.case-hero__chapter {
  animation-delay: 130ms;
}
.case-hero h1 {
  animation-delay: 210ms;
}
.case-hero__lead {
  animation-delay: 330ms;
}
/* The facts read as one row, so they arrive as one — offset just enough to
   travel left to right rather than land as a block. */
.facts > div:nth-child(1) { animation-delay: 450ms; }
.facts > div:nth-child(2) { animation-delay: 510ms; }
.facts > div:nth-child(3) { animation-delay: 570ms; }
.facts > div:nth-child(4) { animation-delay: 630ms; }

/* The background settles behind all of it, slower and further, so the hero
   has depth rather than a single plane sliding up. */
.case-hero__bg img {
  animation: hero-bg 1800ms var(--ease-out) backwards;
}
@keyframes hero-bg {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}

/* ---------- supporting elements ---------- */

/* Chips arrive as a sweep. They are the least important thing in the block,
   so they move least and last. */
.chips li {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 480ms var(--ease), transform 560ms var(--ease-out),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chips.is-in li,
.reveal.is-in .chips li {
  opacity: 1;
  transform: none;
}
.chips li:nth-child(1) { transition-delay: 0ms; }
.chips li:nth-child(2) { transition-delay: 55ms; }
.chips li:nth-child(3) { transition-delay: 110ms; }
.chips li:nth-child(4) { transition-delay: 165ms; }
.chips li:nth-child(5) { transition-delay: 220ms; }
.chips li:nth-child(n + 6) { transition-delay: 275ms; }

/* The numeral is the only thing in the label column; letting it settle a
   beat after its heading keeps the eye on the heading first. */
.doc__label-inner b {
  display: inline-block;
  animation: hero-in 700ms var(--ease-out) backwards;
}
.reveal:not(.is-in) .doc__label-inner b {
  animation-play-state: paused;
}

/* A caption is an aside; it should follow its figure rather than share the
   same arrival. */
.media__caption {
  transition: opacity 600ms var(--ease) 180ms;
}
.reveal:not(.is-in) .media__caption {
  opacity: 0;
}

/* A callout interrupts the argument on purpose, so it earns a slightly
   larger move than the paragraphs around it. */
.callout {
  transition: transform 800ms var(--ease-out), opacity 600ms var(--ease);
}
.reveal:not(.is-in) .callout {
  transform: translate3d(0, 14px, 0);
}

/* Same reasoning as the reveal fallback in base.css: these hide themselves
   and wait for a class that only JavaScript can add. */
html.no-js .chips li {
  opacity: 1;
  transform: none;
}
html.no-js .media__caption,
html.no-js .reveal:not(.is-in) .media__caption {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .case-hero .crumb,
  .case-hero__chapter,
  .case-hero h1,
  .case-hero__lead,
  .facts > div,
  .case-hero__bg img,
  .doc__label-inner b {
    animation: none;
  }
  .chips li {
    opacity: 1;
    transform: none;
  }
  .reveal:not(.is-in) .media__caption {
    opacity: 1;
  }
}
