.case-story .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.case-story-grid,
.case-story-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 6vw, 88px);
  align-items: center;
}

.case-story-grid { margin-top: clamp(16px, 3vw, 40px); }
.case-story-heading h1 { font-size: clamp(40px, 6.5vw, 96px); margin-top: 12px; }
.case-story-heading .lead { margin-top: 16px; }
.case-story-detail {
  grid-template-areas: 'frame notes';
  margin-top: clamp(32px, 7vw, 104px);
  padding-top: clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

@media (min-width: 761px) {
  [data-story="muzz-fest"] .case-story-detail { grid-template-areas: 'notes frame'; }
}
.case-story-notes { grid-area: notes; max-width: 52ch; }
.case-story-notes section { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.case-story-notes section + section { margin-top: 20px; }
.case-story-notes h2 { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; margin-bottom: 8px; }
.case-story-notes p { color: var(--muted); }
.case-story-notes .link-action { font-size: 14px; margin-top: 8px; }
.case-story-cover, .case-story-frame { width: 100%; margin: 0; }
.case-story-frame { grid-area: frame; }
.case-stage {
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 40px);
  border: 1px solid var(--line);
  background: var(--frame);
}
.case-stage img { width: min(100%, 432px); height: auto; object-fit: contain; }
.case-stage svg { display: block; width: min(100%, 272px); height: auto; overflow: hidden; }
.case-story figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .js-motion [data-case-reveal] .case-stage { transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
  .js-motion [data-case-reveal]:not(.visible) .case-stage { opacity: 0; transform: translateY(10px); }
}

.case-story-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: clamp(24px, 4vw, 56px);
}
.case-service-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 14px; }
.case-service-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.case-work-section { margin: clamp(36px, 5vw, 72px) 0; }
.case-work-section h2 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; margin-bottom: 18px; }
.case-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.case-work-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
.case-work-thumb { display: block; }
.case-work-thumb img { width: 100%; height: auto; object-fit: contain; }
.case-work-copy { display: grid; gap: 4px; }
.case-work-copy strong { font-size: 18px; font-weight: 500; }
.case-work-copy > span { color: var(--muted); font-size: 14px; }
.case-work-link:is(:hover, :focus-visible) strong { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: .22em; }

@media (max-width: 760px) {
  .case-story-grid, .case-story-detail { grid-template-columns: minmax(0, 1fr); }
  .case-story-detail { grid-template-areas: 'frame' 'notes'; }
  .case-stage { padding: 12px; }
  .case-work-grid { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 650px) {
  .case-story-grid { row-gap: 16px; }
  .case-story-detail { margin-top: 24px; padding-top: 16px; row-gap: 20px; }
  .case-story-notes section + section { margin-top: 16px; }
  .case-story-actions > .link-action { min-width: 0; max-width: 100%; text-align: left; }
  .case-story > .case-work-section { margin: 24px 0 0; }
  .case-story .case-work-section h2 { margin-bottom: 12px; }
}
