.case-page { min-height: 100vh; }
.case-content { position: relative; isolation: isolate; padding-top: 584px; }
.case-heading { position: fixed; z-index: 1; top: 296px; left: 50%; transform: translateX(-50%); width: min(900px, calc(100% - 64px)); text-align: center; }
.case-heading .case-eyebrow { margin: 0 0 8px; color: var(--secondary); font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: .16px; text-transform: uppercase; }
.case-heading h1 { font-size: 48px; line-height: 64px; font-weight: 400; letter-spacing: 0; }
.case-sidebar { --case-side-inset: 24px; position: fixed; z-index: 3; top: var(--case-side-inset); left: var(--case-side-inset); }
.case-back { position: relative; display: block; width: 24px; height: 24px; }
.case-back img { width: 24px; height: 24px; }
.case-back::after { content: ''; position: absolute; inset: -10px; }
.case-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 128px; width: min(900px, calc(100% - 64px)); min-height: 100vh; margin: 0 auto; padding-bottom: 160px; background: #fff; }
.case-hero { flex: none; }
.case-section { width: 100%; scroll-margin-top: 40px; }
.case-stack { display: flex; flex-direction: column; gap: 80px; }
.case-copy { display: flex; flex-direction: column; gap: 24px; }
.case-statement { font-size: 36px; line-height: 48px; font-weight: 400; letter-spacing: 0; }
.case-supporting { width: min(852px, 100%); font-size: 18px; line-height: 28px; color: var(--secondary); }
.case-understanding { display: flex; flex-direction: column; gap: 96px; }
.case-goals { display: flex; flex-direction: column; gap: 48px; }
.case-detail { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 28px; scroll-margin-top: 40px; }
.case-detail h2 { font-size: inherit; line-height: inherit; font-weight: 500; color: var(--secondary); }
.case-visual { width: 100%; overflow: hidden; border-radius: var(--radius); }
.case-visual img { display: block; width: 100%; height: auto; }
.case-scroll-hint { display: none; }
.case-outcome { display: flex; flex-direction: column; gap: 96px; }
@media (max-width: 1439px) {
  .case-sidebar { position: absolute; }
}
@media (max-width: 999px) { .case-title-break { display: none; } }
@media (max-width: 600px) {
  .case-sidebar { --case-side-inset: 20px; }
  .case-content { padding-top: calc(max(80svh, 540px) - 48px); }
  .case-heading { width: calc(100% - 40px); top: calc(max(36svh, 260px) - 48px); }
  .case-heading .case-eyebrow { font-size: 12px; line-height: 20px; margin-bottom: 16px; }
  .case-heading h1 { font-size: clamp(28px, 7.6vw, 40px); line-height: 1.25; }
  .case-body { width: calc(100% - 40px); gap: 80px; padding-bottom: 80px; }
  .case-hero, .case-visual { border-radius: 12px; }
  .case-section, .case-detail { scroll-margin-top: 24px; }
  .case-stack { gap: 48px; }
  .case-statement { font-size: clamp(26px, 7vw, 34px); line-height: 1.3; }
  .case-supporting, .case-detail { font-size: 16px; line-height: 24px; }
  .case-understanding, .case-outcome { gap: 64px; }
  .case-goals { gap: 32px; }
  .case-visual-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .case-visual-scroll img { width: 900px; max-width: none; }
  .case-visual-group { display: flex; flex-direction: column; gap: 12px; }
  .case-scroll-hint { display: block; color: var(--secondary); font-size: 14px; line-height: 20px; text-align: center; }
}
.case-visual-scroll:focus-visible { outline: 2px solid #1a6097; outline-offset: 4px; }
@media (max-width: 360px) {
  .case-heading h1 { font-size: 27px; }
  .case-statement { font-size: 25px; }
}
@media (max-height: 650px) and (min-width: 601px) {
  .case-heading { top: 152px; }
  .case-content { padding-top: 440px; }
}
