* { box-sizing: border-box; }
body { margin: 0; background: #f8fafb; color: #213743; font: 16px/1.55 Arial, sans-serif; }
.case-detail { --ink: #213743; --muted: #475d68; --line: #bccbd2; --steel: #edf2f4; --red: #a81e27; }
.case-wrap { width: min(1320px, 100% - clamp(34px, 9vw, 156px)); margin-inline: auto; }
.case-preview-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; padding: 10px 14px; background: #edf2f4; color: #213743; font-size: 13px; }
.case-preview-bar a { color: inherit; text-underline-offset: 3px; }
.case-preview-bar a[aria-current] { color: #a81e27; font-weight: 700; }
.case-detail section { padding-block: clamp(34px, 6vw, 85px); }
.case-detail section + section:not(.case-tint) { border-top: 1px solid var(--line); }
.case-detail .case-tint { background: var(--steel); }
.case-detail :is(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
.case-detail h1, .case-detail h2 { color: var(--ink); font-weight: 600; line-height: 1.07; letter-spacing: -.045em; }
.case-detail h1 { font-size: clamp(38px, 5.2vw, 76px); margin: 11px 0 18px; }
.case-detail h2 { font-size: clamp(28px, 3.7vw, 50px); margin: 7px 0 13px; }
.case-detail h3 { font-size: clamp(17px, 2vw, 25px); line-height: 1.2; margin: 9px 0 5px; }
.case-detail p { max-width: 63ch; color: var(--muted); }
.case-detail p + p { margin-top: 10px; }
.case-breadcrumb { display: inline-block; color: var(--ink); font-size: 13px; margin-bottom: 20px; text-underline-offset: 3px; }
.case-kicker, .case-caption { display: block; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-caption { margin-top: 7px; color: var(--muted); letter-spacing: .06em; }
.case-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(22px, 5vw, 72px); }
.case-approach { align-items: start; }
.case-detail figure img { display: block; width: 100%; height: auto; background: #e2e9ec; }
.case-hero-wide figure { margin-top: 24px; }
.case-hero-wide figure img { max-height: min(560px, 65vw); object-fit: cover; }
.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-block: 20px; margin-top: 27px !important; border-block: 1px solid var(--line); }
.case-facts div { display: flex; flex-direction: column-reverse; }
.case-facts dt { font-size: 13px; color: var(--muted); }
.case-facts dd { font-size: clamp(20px, 3.2vw, 43px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.case-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 36px); margin-top: 18px; }
.case-gallery img { aspect-ratio: 4/3; object-fit: contain; }
.case-video-layout { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.case-player { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #17242c; }
.case-player.is-active { min-height: 200px; }
.case-player :is(img, iframe) { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.case-player img { object-fit: contain; }
.case-video-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); background: #d82127; color: #fff; width: 74px; height: 50px; border: 0; border-radius: 9px; cursor: pointer; font-size: 19px; }
.case-video-provider { position: absolute; top: 11px; left: 11px; color: #fff; background: #17242cd9; padding: 4px 7px; font-weight: 700; font-size: 12px; }
.case-watch { display: inline-block; margin-top: 13px; color: var(--ink); text-underline-offset: 3px; }
.case-table { width: 100%; border-collapse: collapse; text-align: left; margin-top: 15px; }
.case-table :is(th, td) { border-bottom: 1px solid var(--line); padding: 11px 9px 11px 0; vertical-align: top; }
.case-table td:first-child { width: 40%; color: var(--muted); }
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 19px; }
.case-actions a { color: var(--ink); text-underline-offset: 3px; }
.case-actions .case-primary { display: inline-block; min-height: 44px; padding: 11px 14px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 760px) {
  .case-split { grid-template-columns: minmax(0, 1fr); }
  .case-hero-reverse > figure { order: 2; }
  .case-gallery { grid-template-columns: minmax(0, 1fr); }
  .case-gallery figure { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 12px; }
  .case-gallery img { aspect-ratio: auto; }
}
